@wppconnect/wa-proto 2.3000.1055538507 → 2.3000.1055640952
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 +13 -1
- package/dist/index.d.ts +143 -0
- package/dist/index.js +361 -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.1055640952
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -5141,6 +5141,7 @@ enum MutationProps {
|
|
|
5141
5141
|
COMMUNITY_NESTING_STATE_ACTION = 99;
|
|
5142
5142
|
SHARED_DEVICE_SECRET_ACTION = 100;
|
|
5143
5143
|
HATCH_CVM_SECRET_ACTION = 101;
|
|
5144
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION = 102;
|
|
5144
5145
|
SHARE_OWN_PN = 10001;
|
|
5145
5146
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
5146
5147
|
AI_THREAD_DELETE_ACTION = 10003;
|
|
@@ -5926,6 +5927,7 @@ message SyncActionValue {
|
|
|
5926
5927
|
optional CommunityNestingStateAction communityNestingStateAction = 99;
|
|
5927
5928
|
optional SharedDeviceSecretAction sharedDeviceSecretAction = 100;
|
|
5928
5929
|
optional HatchCVMSecretAction hatchCvmSecretAction = 101;
|
|
5930
|
+
optional BusinessFolderChatPreferenceAction businessFolderChatPreferenceAction = 102;
|
|
5929
5931
|
message AgentAction {
|
|
5930
5932
|
optional string name = 1;
|
|
5931
5933
|
optional int32 deviceId = 2;
|
|
@@ -6049,6 +6051,16 @@ message SyncActionValue {
|
|
|
6049
6051
|
optional bool activated = 1;
|
|
6050
6052
|
}
|
|
6051
6053
|
|
|
6054
|
+
message BusinessFolderChatPreferenceAction {
|
|
6055
|
+
optional BusinessFolderChatPreference preference = 1;
|
|
6056
|
+
enum BusinessFolderChatPreference {
|
|
6057
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN = 0;
|
|
6058
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC = 1;
|
|
6059
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX = 2;
|
|
6060
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS = 3;
|
|
6061
|
+
}
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6052
6064
|
message CallLogAction {
|
|
6053
6065
|
optional CallLogRecord callLogRecord = 1;
|
|
6054
6066
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -68962,6 +68962,9 @@ export namespace waproto {
|
|
|
68962
68962
|
/** HATCH_CVM_SECRET_ACTION value */
|
|
68963
68963
|
HATCH_CVM_SECRET_ACTION = 101,
|
|
68964
68964
|
|
|
68965
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION value */
|
|
68966
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION = 102,
|
|
68967
|
+
|
|
68965
68968
|
/** SHARE_OWN_PN value */
|
|
68966
68969
|
SHARE_OWN_PN = 10001,
|
|
68967
68970
|
|
|
@@ -79644,6 +79647,9 @@ export namespace waproto {
|
|
|
79644
79647
|
/** SyncActionValue hatchCvmSecretAction. */
|
|
79645
79648
|
hatchCvmSecretAction?: (waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null);
|
|
79646
79649
|
|
|
79650
|
+
/** SyncActionValue businessFolderChatPreferenceAction. */
|
|
79651
|
+
businessFolderChatPreferenceAction?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties|null);
|
|
79652
|
+
|
|
79647
79653
|
/**
|
|
79648
79654
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
79649
79655
|
* @param [properties] Properties to set
|
|
@@ -80004,6 +80010,9 @@ export namespace waproto {
|
|
|
80004
80010
|
/** SyncActionValue hatchCvmSecretAction */
|
|
80005
80011
|
hatchCvmSecretAction?: (waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null);
|
|
80006
80012
|
|
|
80013
|
+
/** SyncActionValue businessFolderChatPreferenceAction */
|
|
80014
|
+
businessFolderChatPreferenceAction?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties|null);
|
|
80015
|
+
|
|
80007
80016
|
/** Unknown fields preserved while decoding when enabled */
|
|
80008
80017
|
$unknowns?: Uint8Array[];
|
|
80009
80018
|
}
|
|
@@ -80102,6 +80111,7 @@ export namespace waproto {
|
|
|
80102
80111
|
communityNestingStateAction?: waproto.SyncActionValue.CommunityNestingStateAction.$Shape|null;
|
|
80103
80112
|
sharedDeviceSecretAction?: waproto.SyncActionValue.SharedDeviceSecretAction.$Shape|null;
|
|
80104
80113
|
hatchCvmSecretAction?: waproto.SyncActionValue.HatchCVMSecretAction.$Shape|null;
|
|
80114
|
+
businessFolderChatPreferenceAction?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape|null;
|
|
80105
80115
|
$unknowns?: Uint8Array[];
|
|
80106
80116
|
};
|
|
80107
80117
|
|
|
@@ -82224,6 +82234,139 @@ export namespace waproto {
|
|
|
82224
82234
|
type $Shape = waproto.SyncActionValue.BusinessFolderActivationAction.$Properties;
|
|
82225
82235
|
}
|
|
82226
82236
|
|
|
82237
|
+
/**
|
|
82238
|
+
* Properties of a BusinessFolderChatPreferenceAction.
|
|
82239
|
+
* @deprecated Use waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties instead.
|
|
82240
|
+
*/
|
|
82241
|
+
interface IBusinessFolderChatPreferenceAction extends waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties {
|
|
82242
|
+
}
|
|
82243
|
+
|
|
82244
|
+
/** Represents a BusinessFolderChatPreferenceAction. */
|
|
82245
|
+
class BusinessFolderChatPreferenceAction {
|
|
82246
|
+
|
|
82247
|
+
/**
|
|
82248
|
+
* Constructs a new BusinessFolderChatPreferenceAction.
|
|
82249
|
+
* @param [properties] Properties to set
|
|
82250
|
+
*/
|
|
82251
|
+
constructor(properties?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties);
|
|
82252
|
+
|
|
82253
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
82254
|
+
$unknowns?: Uint8Array[];
|
|
82255
|
+
|
|
82256
|
+
/** BusinessFolderChatPreferenceAction preference. */
|
|
82257
|
+
preference?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference|null);
|
|
82258
|
+
|
|
82259
|
+
/**
|
|
82260
|
+
* Creates a new BusinessFolderChatPreferenceAction instance using the specified properties.
|
|
82261
|
+
* @param [properties] Properties to set
|
|
82262
|
+
* @returns BusinessFolderChatPreferenceAction instance
|
|
82263
|
+
*/
|
|
82264
|
+
static create(properties: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape): waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape;
|
|
82265
|
+
static create(properties?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties): waproto.SyncActionValue.BusinessFolderChatPreferenceAction;
|
|
82266
|
+
|
|
82267
|
+
/**
|
|
82268
|
+
* Encodes the specified BusinessFolderChatPreferenceAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderChatPreferenceAction.verify|verify} messages.
|
|
82269
|
+
* @param message BusinessFolderChatPreferenceAction message or plain object to encode
|
|
82270
|
+
* @param [writer] Writer to encode to
|
|
82271
|
+
* @returns Writer
|
|
82272
|
+
*/
|
|
82273
|
+
static encode(message: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
82274
|
+
|
|
82275
|
+
/**
|
|
82276
|
+
* Encodes the specified BusinessFolderChatPreferenceAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderChatPreferenceAction.verify|verify} messages.
|
|
82277
|
+
* @param message BusinessFolderChatPreferenceAction message or plain object to encode
|
|
82278
|
+
* @param [writer] Writer to encode to
|
|
82279
|
+
* @returns Writer
|
|
82280
|
+
*/
|
|
82281
|
+
static encodeDelimited(message: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
82282
|
+
|
|
82283
|
+
/**
|
|
82284
|
+
* Decodes a BusinessFolderChatPreferenceAction message from the specified reader or buffer.
|
|
82285
|
+
* @param reader Reader or buffer to decode from
|
|
82286
|
+
* @param [length] Message length if known beforehand
|
|
82287
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape} BusinessFolderChatPreferenceAction
|
|
82288
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82289
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82290
|
+
*/
|
|
82291
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape;
|
|
82292
|
+
|
|
82293
|
+
/**
|
|
82294
|
+
* Decodes a BusinessFolderChatPreferenceAction message from the specified reader or buffer, length delimited.
|
|
82295
|
+
* @param reader Reader or buffer to decode from
|
|
82296
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape} BusinessFolderChatPreferenceAction
|
|
82297
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82298
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82299
|
+
*/
|
|
82300
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape;
|
|
82301
|
+
|
|
82302
|
+
/**
|
|
82303
|
+
* Verifies a BusinessFolderChatPreferenceAction message.
|
|
82304
|
+
* @param message Plain object to verify
|
|
82305
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
82306
|
+
*/
|
|
82307
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
82308
|
+
|
|
82309
|
+
/**
|
|
82310
|
+
* Creates a BusinessFolderChatPreferenceAction message from a plain object. Also converts values to their respective internal types.
|
|
82311
|
+
* @param object Plain object
|
|
82312
|
+
* @returns BusinessFolderChatPreferenceAction
|
|
82313
|
+
*/
|
|
82314
|
+
static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessFolderChatPreferenceAction;
|
|
82315
|
+
|
|
82316
|
+
/**
|
|
82317
|
+
* Creates a plain object from a BusinessFolderChatPreferenceAction message. Also converts values to other types if specified.
|
|
82318
|
+
* @param message BusinessFolderChatPreferenceAction
|
|
82319
|
+
* @param [options] Conversion options
|
|
82320
|
+
* @returns Plain object
|
|
82321
|
+
*/
|
|
82322
|
+
static toObject(message: waproto.SyncActionValue.BusinessFolderChatPreferenceAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
82323
|
+
|
|
82324
|
+
/**
|
|
82325
|
+
* Converts this BusinessFolderChatPreferenceAction to JSON.
|
|
82326
|
+
* @returns JSON object
|
|
82327
|
+
*/
|
|
82328
|
+
toJSON(): { [k: string]: any };
|
|
82329
|
+
|
|
82330
|
+
/**
|
|
82331
|
+
* Gets the type url for BusinessFolderChatPreferenceAction
|
|
82332
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
82333
|
+
* @returns The type url
|
|
82334
|
+
*/
|
|
82335
|
+
static getTypeUrl(prefix?: string): string;
|
|
82336
|
+
}
|
|
82337
|
+
|
|
82338
|
+
namespace BusinessFolderChatPreferenceAction {
|
|
82339
|
+
|
|
82340
|
+
/** Properties of a BusinessFolderChatPreferenceAction. */
|
|
82341
|
+
interface $Properties {
|
|
82342
|
+
|
|
82343
|
+
/** BusinessFolderChatPreferenceAction preference */
|
|
82344
|
+
preference?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference|null);
|
|
82345
|
+
|
|
82346
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
82347
|
+
$unknowns?: Uint8Array[];
|
|
82348
|
+
}
|
|
82349
|
+
|
|
82350
|
+
/** Shape of a BusinessFolderChatPreferenceAction. */
|
|
82351
|
+
type $Shape = waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties;
|
|
82352
|
+
|
|
82353
|
+
/** BusinessFolderChatPreference enum. */
|
|
82354
|
+
enum BusinessFolderChatPreference {
|
|
82355
|
+
|
|
82356
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN value */
|
|
82357
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN = 0,
|
|
82358
|
+
|
|
82359
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC value */
|
|
82360
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC = 1,
|
|
82361
|
+
|
|
82362
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX value */
|
|
82363
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX = 2,
|
|
82364
|
+
|
|
82365
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS value */
|
|
82366
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS = 3
|
|
82367
|
+
}
|
|
82368
|
+
}
|
|
82369
|
+
|
|
82227
82370
|
/**
|
|
82228
82371
|
* Properties of a CallLogAction.
|
|
82229
82372
|
* @deprecated Use waproto.SyncActionValue.CallLogAction.$Properties instead.
|
package/dist/index.js
CHANGED
|
@@ -207246,6 +207246,7 @@ $root.waproto = (function() {
|
|
|
207246
207246
|
* @property {number} COMMUNITY_NESTING_STATE_ACTION=99 COMMUNITY_NESTING_STATE_ACTION value
|
|
207247
207247
|
* @property {number} SHARED_DEVICE_SECRET_ACTION=100 SHARED_DEVICE_SECRET_ACTION value
|
|
207248
207248
|
* @property {number} HATCH_CVM_SECRET_ACTION=101 HATCH_CVM_SECRET_ACTION value
|
|
207249
|
+
* @property {number} BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION=102 BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION value
|
|
207249
207250
|
* @property {number} SHARE_OWN_PN=10001 SHARE_OWN_PN value
|
|
207250
207251
|
* @property {number} BUSINESS_BROADCAST_ACTION=10002 BUSINESS_BROADCAST_ACTION value
|
|
207251
207252
|
* @property {number} AI_THREAD_DELETE_ACTION=10003 AI_THREAD_DELETE_ACTION value
|
|
@@ -207347,6 +207348,7 @@ $root.waproto = (function() {
|
|
|
207347
207348
|
values[valuesById[99] = "COMMUNITY_NESTING_STATE_ACTION"] = 99;
|
|
207348
207349
|
values[valuesById[100] = "SHARED_DEVICE_SECRET_ACTION"] = 100;
|
|
207349
207350
|
values[valuesById[101] = "HATCH_CVM_SECRET_ACTION"] = 101;
|
|
207351
|
+
values[valuesById[102] = "BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION"] = 102;
|
|
207350
207352
|
values[valuesById[10001] = "SHARE_OWN_PN"] = 10001;
|
|
207351
207353
|
values[valuesById[10002] = "BUSINESS_BROADCAST_ACTION"] = 10002;
|
|
207352
207354
|
values[valuesById[10003] = "AI_THREAD_DELETE_ACTION"] = 10003;
|
|
@@ -237263,6 +237265,7 @@ $root.waproto = (function() {
|
|
|
237263
237265
|
* @property {waproto.SyncActionValue.CommunityNestingStateAction.$Properties|null} [communityNestingStateAction] SyncActionValue communityNestingStateAction
|
|
237264
237266
|
* @property {waproto.SyncActionValue.SharedDeviceSecretAction.$Properties|null} [sharedDeviceSecretAction] SyncActionValue sharedDeviceSecretAction
|
|
237265
237267
|
* @property {waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null} [hatchCvmSecretAction] SyncActionValue hatchCvmSecretAction
|
|
237268
|
+
* @property {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties|null} [businessFolderChatPreferenceAction] SyncActionValue businessFolderChatPreferenceAction
|
|
237266
237269
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
237267
237270
|
*/
|
|
237268
237271
|
|
|
@@ -237369,6 +237372,7 @@ $root.waproto = (function() {
|
|
|
237369
237372
|
* communityNestingStateAction?: waproto.SyncActionValue.CommunityNestingStateAction.$Shape|null;
|
|
237370
237373
|
* sharedDeviceSecretAction?: waproto.SyncActionValue.SharedDeviceSecretAction.$Shape|null;
|
|
237371
237374
|
* hatchCvmSecretAction?: waproto.SyncActionValue.HatchCVMSecretAction.$Shape|null;
|
|
237375
|
+
* businessFolderChatPreferenceAction?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape|null;
|
|
237372
237376
|
* $unknowns?: Array.<Uint8Array>;
|
|
237373
237377
|
* }} waproto.SyncActionValue.$Shape
|
|
237374
237378
|
*/
|
|
@@ -238124,6 +238128,14 @@ $root.waproto = (function() {
|
|
|
238124
238128
|
*/
|
|
238125
238129
|
SyncActionValue.prototype.hatchCvmSecretAction = null;
|
|
238126
238130
|
|
|
238131
|
+
/**
|
|
238132
|
+
* SyncActionValue businessFolderChatPreferenceAction.
|
|
238133
|
+
* @member {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties|null|undefined} businessFolderChatPreferenceAction
|
|
238134
|
+
* @memberof waproto.SyncActionValue
|
|
238135
|
+
* @instance
|
|
238136
|
+
*/
|
|
238137
|
+
SyncActionValue.prototype.businessFolderChatPreferenceAction = null;
|
|
238138
|
+
|
|
238127
238139
|
// OneOf field names bound to virtual getters and setters
|
|
238128
238140
|
var $oneOfFields;
|
|
238129
238141
|
|
|
@@ -238679,6 +238691,12 @@ $root.waproto = (function() {
|
|
|
238679
238691
|
set: $util.oneOfSetter($oneOfFields)
|
|
238680
238692
|
});
|
|
238681
238693
|
|
|
238694
|
+
// Virtual OneOf for proto3 optional field
|
|
238695
|
+
$Object.defineProperty(SyncActionValue.prototype, "_businessFolderChatPreferenceAction", {
|
|
238696
|
+
get: $util.oneOfGetter($oneOfFields = ["businessFolderChatPreferenceAction"]),
|
|
238697
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
238698
|
+
});
|
|
238699
|
+
|
|
238682
238700
|
/**
|
|
238683
238701
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
238684
238702
|
* @function create
|
|
@@ -238895,6 +238913,8 @@ $root.waproto = (function() {
|
|
|
238895
238913
|
$root.waproto.SyncActionValue.SharedDeviceSecretAction.encode(message.sharedDeviceSecretAction, writer.uint32(/* id 100, wireType 2 =*/802).fork(), _depth + 1).ldelim();
|
|
238896
238914
|
if (message.hatchCvmSecretAction != null && $Object.hasOwnProperty.call(message, "hatchCvmSecretAction"))
|
|
238897
238915
|
$root.waproto.SyncActionValue.HatchCVMSecretAction.encode(message.hatchCvmSecretAction, writer.uint32(/* id 101, wireType 2 =*/810).fork(), _depth + 1).ldelim();
|
|
238916
|
+
if (message.businessFolderChatPreferenceAction != null && $Object.hasOwnProperty.call(message, "businessFolderChatPreferenceAction"))
|
|
238917
|
+
$root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction.encode(message.businessFolderChatPreferenceAction, writer.uint32(/* id 102, wireType 2 =*/818).fork(), _depth + 1).ldelim();
|
|
238898
238918
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
238899
238919
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
238900
238920
|
writer.raw(message.$unknowns[i]);
|
|
@@ -239596,6 +239616,13 @@ $root.waproto = (function() {
|
|
|
239596
239616
|
message._hatchCvmSecretAction = "hatchCvmSecretAction";
|
|
239597
239617
|
continue;
|
|
239598
239618
|
}
|
|
239619
|
+
case 102: {
|
|
239620
|
+
if (wireType !== 2)
|
|
239621
|
+
break;
|
|
239622
|
+
message.businessFolderChatPreferenceAction = $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction.decode(reader, reader.size(), $undefined, _depth + 1, message.businessFolderChatPreferenceAction);
|
|
239623
|
+
message._businessFolderChatPreferenceAction = "businessFolderChatPreferenceAction";
|
|
239624
|
+
continue;
|
|
239625
|
+
}
|
|
239599
239626
|
}
|
|
239600
239627
|
reader.skipType(wireType, _depth, tag);
|
|
239601
239628
|
if (!reader.discardUnknown) {
|
|
@@ -240378,6 +240405,14 @@ $root.waproto = (function() {
|
|
|
240378
240405
|
return "hatchCvmSecretAction." + error;
|
|
240379
240406
|
}
|
|
240380
240407
|
}
|
|
240408
|
+
if (message.businessFolderChatPreferenceAction != null && $Object.hasOwnProperty.call(message, "businessFolderChatPreferenceAction")) {
|
|
240409
|
+
properties._businessFolderChatPreferenceAction = 1;
|
|
240410
|
+
{
|
|
240411
|
+
var error = $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction.verify(message.businessFolderChatPreferenceAction, _depth + 1);
|
|
240412
|
+
if (error)
|
|
240413
|
+
return "businessFolderChatPreferenceAction." + error;
|
|
240414
|
+
}
|
|
240415
|
+
}
|
|
240381
240416
|
return null;
|
|
240382
240417
|
};
|
|
240383
240418
|
|
|
@@ -240863,6 +240898,11 @@ $root.waproto = (function() {
|
|
|
240863
240898
|
throw $TypeError(".waproto.SyncActionValue.hatchCvmSecretAction: object expected");
|
|
240864
240899
|
message.hatchCvmSecretAction = $root.waproto.SyncActionValue.HatchCVMSecretAction.fromObject(object.hatchCvmSecretAction, _depth + 1);
|
|
240865
240900
|
}
|
|
240901
|
+
if (object.businessFolderChatPreferenceAction != null) {
|
|
240902
|
+
if (!$util.isObject(object.businessFolderChatPreferenceAction))
|
|
240903
|
+
throw $TypeError(".waproto.SyncActionValue.businessFolderChatPreferenceAction: object expected");
|
|
240904
|
+
message.businessFolderChatPreferenceAction = $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction.fromObject(object.businessFolderChatPreferenceAction, _depth + 1);
|
|
240905
|
+
}
|
|
240866
240906
|
return message;
|
|
240867
240907
|
};
|
|
240868
240908
|
|
|
@@ -241072,6 +241112,8 @@ $root.waproto = (function() {
|
|
|
241072
241112
|
object.sharedDeviceSecretAction = $root.waproto.SyncActionValue.SharedDeviceSecretAction.toObject(message.sharedDeviceSecretAction, options, _depth + 1);
|
|
241073
241113
|
if (message.hatchCvmSecretAction != null && $Object.hasOwnProperty.call(message, "hatchCvmSecretAction"))
|
|
241074
241114
|
object.hatchCvmSecretAction = $root.waproto.SyncActionValue.HatchCVMSecretAction.toObject(message.hatchCvmSecretAction, options, _depth + 1);
|
|
241115
|
+
if (message.businessFolderChatPreferenceAction != null && $Object.hasOwnProperty.call(message, "businessFolderChatPreferenceAction"))
|
|
241116
|
+
object.businessFolderChatPreferenceAction = $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction.toObject(message.businessFolderChatPreferenceAction, options, _depth + 1);
|
|
241075
241117
|
return object;
|
|
241076
241118
|
};
|
|
241077
241119
|
|
|
@@ -246756,6 +246798,325 @@ $root.waproto = (function() {
|
|
|
246756
246798
|
return BusinessFolderActivationAction;
|
|
246757
246799
|
})();
|
|
246758
246800
|
|
|
246801
|
+
SyncActionValue.BusinessFolderChatPreferenceAction = (function() {
|
|
246802
|
+
|
|
246803
|
+
/**
|
|
246804
|
+
* Properties of a BusinessFolderChatPreferenceAction.
|
|
246805
|
+
* @typedef {Object} waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties
|
|
246806
|
+
* @property {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference|null} [preference] BusinessFolderChatPreferenceAction preference
|
|
246807
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
246808
|
+
*/
|
|
246809
|
+
|
|
246810
|
+
/**
|
|
246811
|
+
* Properties of a BusinessFolderChatPreferenceAction.
|
|
246812
|
+
* @memberof waproto.SyncActionValue
|
|
246813
|
+
* @interface IBusinessFolderChatPreferenceAction
|
|
246814
|
+
* @augments waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties
|
|
246815
|
+
* @deprecated Use waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties instead.
|
|
246816
|
+
*/
|
|
246817
|
+
|
|
246818
|
+
/**
|
|
246819
|
+
* Shape of a BusinessFolderChatPreferenceAction.
|
|
246820
|
+
* @typedef {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties} waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape
|
|
246821
|
+
*/
|
|
246822
|
+
|
|
246823
|
+
/**
|
|
246824
|
+
* Constructs a new BusinessFolderChatPreferenceAction.
|
|
246825
|
+
* @memberof waproto.SyncActionValue
|
|
246826
|
+
* @classdesc Represents a BusinessFolderChatPreferenceAction.
|
|
246827
|
+
* @constructor
|
|
246828
|
+
* @param {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties=} [properties] Properties to set
|
|
246829
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
246830
|
+
*/
|
|
246831
|
+
var BusinessFolderChatPreferenceAction = function (properties) {
|
|
246832
|
+
if (properties)
|
|
246833
|
+
for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
246834
|
+
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
246835
|
+
this[keys[i]] = properties[keys[i]];
|
|
246836
|
+
};
|
|
246837
|
+
|
|
246838
|
+
/**
|
|
246839
|
+
* BusinessFolderChatPreferenceAction preference.
|
|
246840
|
+
* @member {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference|null|undefined} preference
|
|
246841
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
246842
|
+
* @instance
|
|
246843
|
+
*/
|
|
246844
|
+
BusinessFolderChatPreferenceAction.prototype.preference = null;
|
|
246845
|
+
|
|
246846
|
+
// OneOf field names bound to virtual getters and setters
|
|
246847
|
+
var $oneOfFields;
|
|
246848
|
+
|
|
246849
|
+
// Virtual OneOf for proto3 optional field
|
|
246850
|
+
$Object.defineProperty(BusinessFolderChatPreferenceAction.prototype, "_preference", {
|
|
246851
|
+
get: $util.oneOfGetter($oneOfFields = ["preference"]),
|
|
246852
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
246853
|
+
});
|
|
246854
|
+
|
|
246855
|
+
/**
|
|
246856
|
+
* Creates a new BusinessFolderChatPreferenceAction instance using the specified properties.
|
|
246857
|
+
* @function create
|
|
246858
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
246859
|
+
* @static
|
|
246860
|
+
* @param {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties=} [properties] Properties to set
|
|
246861
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction} BusinessFolderChatPreferenceAction instance
|
|
246862
|
+
* @type {{
|
|
246863
|
+
* (properties: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape): waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape;
|
|
246864
|
+
* (properties?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties): waproto.SyncActionValue.BusinessFolderChatPreferenceAction;
|
|
246865
|
+
* }}
|
|
246866
|
+
*/
|
|
246867
|
+
BusinessFolderChatPreferenceAction.create = function(properties) {
|
|
246868
|
+
return new BusinessFolderChatPreferenceAction(properties);
|
|
246869
|
+
};
|
|
246870
|
+
|
|
246871
|
+
/**
|
|
246872
|
+
* Encodes the specified BusinessFolderChatPreferenceAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderChatPreferenceAction.verify|verify} messages.
|
|
246873
|
+
* @function encode
|
|
246874
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
246875
|
+
* @static
|
|
246876
|
+
* @param {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties} message BusinessFolderChatPreferenceAction message or plain object to encode
|
|
246877
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
246878
|
+
* @returns {$protobuf.Writer} Writer
|
|
246879
|
+
*/
|
|
246880
|
+
BusinessFolderChatPreferenceAction.encode = function (message, writer, _depth) {
|
|
246881
|
+
if (!writer)
|
|
246882
|
+
writer = $Writer.create();
|
|
246883
|
+
if (_depth === $undefined)
|
|
246884
|
+
_depth = 0;
|
|
246885
|
+
if (_depth > $util.recursionLimit)
|
|
246886
|
+
throw $Error("max depth exceeded");
|
|
246887
|
+
if (message.preference != null && $Object.hasOwnProperty.call(message, "preference"))
|
|
246888
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.preference);
|
|
246889
|
+
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
246890
|
+
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
246891
|
+
writer.raw(message.$unknowns[i]);
|
|
246892
|
+
return writer;
|
|
246893
|
+
};
|
|
246894
|
+
|
|
246895
|
+
/**
|
|
246896
|
+
* Encodes the specified BusinessFolderChatPreferenceAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderChatPreferenceAction.verify|verify} messages.
|
|
246897
|
+
* @function encodeDelimited
|
|
246898
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
246899
|
+
* @static
|
|
246900
|
+
* @param {waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties} message BusinessFolderChatPreferenceAction message or plain object to encode
|
|
246901
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
246902
|
+
* @returns {$protobuf.Writer} Writer
|
|
246903
|
+
*/
|
|
246904
|
+
BusinessFolderChatPreferenceAction.encodeDelimited = function(message, writer) {
|
|
246905
|
+
return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
|
|
246906
|
+
};
|
|
246907
|
+
|
|
246908
|
+
/**
|
|
246909
|
+
* Decodes a BusinessFolderChatPreferenceAction message from the specified reader or buffer.
|
|
246910
|
+
* @function decode
|
|
246911
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
246912
|
+
* @static
|
|
246913
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
246914
|
+
* @param {number} [length] Message length if known beforehand
|
|
246915
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape} BusinessFolderChatPreferenceAction
|
|
246916
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
246917
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
246918
|
+
*/
|
|
246919
|
+
BusinessFolderChatPreferenceAction.decode = function (reader, length, _end, _depth, _target) {
|
|
246920
|
+
if (!(reader instanceof $Reader))
|
|
246921
|
+
reader = $Reader.create(reader);
|
|
246922
|
+
if (_depth === $undefined)
|
|
246923
|
+
_depth = 0;
|
|
246924
|
+
if (_depth > $Reader.recursionLimit)
|
|
246925
|
+
throw $Error("max depth exceeded");
|
|
246926
|
+
var end, message, value;
|
|
246927
|
+
if (length === $undefined)
|
|
246928
|
+
end = reader.len;
|
|
246929
|
+
else {
|
|
246930
|
+
end = reader.pos + length;
|
|
246931
|
+
if (end > reader.len)
|
|
246932
|
+
throw $RangeError("index out of range");
|
|
246933
|
+
length = reader.len;
|
|
246934
|
+
reader.len = end;
|
|
246935
|
+
}
|
|
246936
|
+
message = _target || new $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction();
|
|
246937
|
+
while (reader.pos < end) {
|
|
246938
|
+
var start = reader.pos;
|
|
246939
|
+
var tag = reader.tag();
|
|
246940
|
+
if (tag === _end) {
|
|
246941
|
+
_end = $undefined;
|
|
246942
|
+
break;
|
|
246943
|
+
}
|
|
246944
|
+
var wireType = tag & 7;
|
|
246945
|
+
switch (tag >>>= 3) {
|
|
246946
|
+
case 1: {
|
|
246947
|
+
if (wireType !== 0)
|
|
246948
|
+
break;
|
|
246949
|
+
message.preference = reader.int32();
|
|
246950
|
+
message._preference = "preference";
|
|
246951
|
+
continue;
|
|
246952
|
+
}
|
|
246953
|
+
}
|
|
246954
|
+
reader.skipType(wireType, _depth, tag);
|
|
246955
|
+
if (!reader.discardUnknown) {
|
|
246956
|
+
$util.makeProp(message, "$unknowns", false);
|
|
246957
|
+
(message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
|
|
246958
|
+
}
|
|
246959
|
+
}
|
|
246960
|
+
if (length !== $undefined) {
|
|
246961
|
+
if (reader.pos !== end)
|
|
246962
|
+
throw $RangeError("index out of range");
|
|
246963
|
+
reader.len = length;
|
|
246964
|
+
}
|
|
246965
|
+
if (_end !== $undefined)
|
|
246966
|
+
throw $Error("missing end group");
|
|
246967
|
+
return message;
|
|
246968
|
+
};
|
|
246969
|
+
|
|
246970
|
+
/**
|
|
246971
|
+
* Decodes a BusinessFolderChatPreferenceAction message from the specified reader or buffer, length delimited.
|
|
246972
|
+
* @function decodeDelimited
|
|
246973
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
246974
|
+
* @static
|
|
246975
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
246976
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape} BusinessFolderChatPreferenceAction
|
|
246977
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
246978
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
246979
|
+
*/
|
|
246980
|
+
BusinessFolderChatPreferenceAction.decodeDelimited = function(reader) {
|
|
246981
|
+
if (!(reader instanceof $Reader))
|
|
246982
|
+
reader = new $Reader(reader);
|
|
246983
|
+
return this.decode(reader, reader.size());
|
|
246984
|
+
};
|
|
246985
|
+
|
|
246986
|
+
/**
|
|
246987
|
+
* Verifies a BusinessFolderChatPreferenceAction message.
|
|
246988
|
+
* @function verify
|
|
246989
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
246990
|
+
* @static
|
|
246991
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
246992
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
246993
|
+
*/
|
|
246994
|
+
BusinessFolderChatPreferenceAction.verify = function (message, _depth) {
|
|
246995
|
+
if (typeof message !== "object" || message === null)
|
|
246996
|
+
return "object expected";
|
|
246997
|
+
if (_depth === $undefined)
|
|
246998
|
+
_depth = 0;
|
|
246999
|
+
if (_depth > $util.recursionLimit)
|
|
247000
|
+
return "max depth exceeded";
|
|
247001
|
+
var properties = {};
|
|
247002
|
+
if (message.preference != null && $Object.hasOwnProperty.call(message, "preference")) {
|
|
247003
|
+
properties._preference = 1;
|
|
247004
|
+
if (typeof message.preference !== "number" || (message.preference | 0) !== message.preference)
|
|
247005
|
+
return "preference: enum value expected";
|
|
247006
|
+
}
|
|
247007
|
+
return null;
|
|
247008
|
+
};
|
|
247009
|
+
|
|
247010
|
+
/**
|
|
247011
|
+
* Creates a BusinessFolderChatPreferenceAction message from a plain object. Also converts values to their respective internal types.
|
|
247012
|
+
* @function fromObject
|
|
247013
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
247014
|
+
* @static
|
|
247015
|
+
* @param {Object.<string,*>} object Plain object
|
|
247016
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction} BusinessFolderChatPreferenceAction
|
|
247017
|
+
*/
|
|
247018
|
+
BusinessFolderChatPreferenceAction.fromObject = function (object, _depth) {
|
|
247019
|
+
if (object instanceof $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction)
|
|
247020
|
+
return object;
|
|
247021
|
+
if (!$util.isObject(object))
|
|
247022
|
+
throw $TypeError(".waproto.SyncActionValue.BusinessFolderChatPreferenceAction: object expected");
|
|
247023
|
+
if (_depth === $undefined)
|
|
247024
|
+
_depth = 0;
|
|
247025
|
+
if (_depth > $util.recursionLimit)
|
|
247026
|
+
throw $Error("max depth exceeded");
|
|
247027
|
+
var message = new $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction();
|
|
247028
|
+
switch (object.preference) {
|
|
247029
|
+
case "BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN":
|
|
247030
|
+
case 0:
|
|
247031
|
+
message.preference = 0;
|
|
247032
|
+
break;
|
|
247033
|
+
case "BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC":
|
|
247034
|
+
case 1:
|
|
247035
|
+
message.preference = 1;
|
|
247036
|
+
break;
|
|
247037
|
+
case "BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX":
|
|
247038
|
+
case 2:
|
|
247039
|
+
message.preference = 2;
|
|
247040
|
+
break;
|
|
247041
|
+
case "BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS":
|
|
247042
|
+
case 3:
|
|
247043
|
+
message.preference = 3;
|
|
247044
|
+
break;
|
|
247045
|
+
default:
|
|
247046
|
+
if (typeof object.preference === "number" && (object.preference | 0) === object.preference)
|
|
247047
|
+
message.preference = object.preference;
|
|
247048
|
+
}
|
|
247049
|
+
return message;
|
|
247050
|
+
};
|
|
247051
|
+
|
|
247052
|
+
/**
|
|
247053
|
+
* Creates a plain object from a BusinessFolderChatPreferenceAction message. Also converts values to other types if specified.
|
|
247054
|
+
* @function toObject
|
|
247055
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
247056
|
+
* @static
|
|
247057
|
+
* @param {waproto.SyncActionValue.BusinessFolderChatPreferenceAction} message BusinessFolderChatPreferenceAction
|
|
247058
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
247059
|
+
* @returns {Object.<string,*>} Plain object
|
|
247060
|
+
*/
|
|
247061
|
+
BusinessFolderChatPreferenceAction.toObject = function (message, options, _depth) {
|
|
247062
|
+
if (!options)
|
|
247063
|
+
options = {};
|
|
247064
|
+
if (_depth === $undefined)
|
|
247065
|
+
_depth = 0;
|
|
247066
|
+
if (_depth > $util.recursionLimit)
|
|
247067
|
+
throw $Error("max depth exceeded");
|
|
247068
|
+
var object = {};
|
|
247069
|
+
if (message.preference != null && $Object.hasOwnProperty.call(message, "preference"))
|
|
247070
|
+
object.preference = options.enums === $String ? $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference[message.preference] === $undefined ? message.preference : $root.waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference[message.preference] : message.preference;
|
|
247071
|
+
return object;
|
|
247072
|
+
};
|
|
247073
|
+
|
|
247074
|
+
/**
|
|
247075
|
+
* Converts this BusinessFolderChatPreferenceAction to JSON.
|
|
247076
|
+
* @function toJSON
|
|
247077
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
247078
|
+
* @instance
|
|
247079
|
+
* @returns {Object.<string,*>} JSON object
|
|
247080
|
+
*/
|
|
247081
|
+
BusinessFolderChatPreferenceAction.prototype.toJSON = function() {
|
|
247082
|
+
return BusinessFolderChatPreferenceAction.toObject(this, $protobuf.util.toJSONOptions);
|
|
247083
|
+
};
|
|
247084
|
+
|
|
247085
|
+
/**
|
|
247086
|
+
* Gets the type url for BusinessFolderChatPreferenceAction
|
|
247087
|
+
* @function getTypeUrl
|
|
247088
|
+
* @memberof waproto.SyncActionValue.BusinessFolderChatPreferenceAction
|
|
247089
|
+
* @static
|
|
247090
|
+
* @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
247091
|
+
* @returns {string} The type url
|
|
247092
|
+
*/
|
|
247093
|
+
BusinessFolderChatPreferenceAction.getTypeUrl = function(prefix) {
|
|
247094
|
+
if (prefix === $undefined)
|
|
247095
|
+
prefix = "type.googleapis.com";
|
|
247096
|
+
return prefix + "/waproto.SyncActionValue.BusinessFolderChatPreferenceAction";
|
|
247097
|
+
};
|
|
247098
|
+
|
|
247099
|
+
/**
|
|
247100
|
+
* BusinessFolderChatPreference enum.
|
|
247101
|
+
* @name waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference
|
|
247102
|
+
* @enum {number}
|
|
247103
|
+
* @property {number} BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN=0 BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN value
|
|
247104
|
+
* @property {number} BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC=1 BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC value
|
|
247105
|
+
* @property {number} BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX=2 BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX value
|
|
247106
|
+
* @property {number} BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS=3 BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS value
|
|
247107
|
+
*/
|
|
247108
|
+
BusinessFolderChatPreferenceAction.BusinessFolderChatPreference = (function() {
|
|
247109
|
+
var valuesById = $Object.create(null), values = $Object.create(valuesById);
|
|
247110
|
+
values[valuesById[0] = "BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN"] = 0;
|
|
247111
|
+
values[valuesById[1] = "BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC"] = 1;
|
|
247112
|
+
values[valuesById[2] = "BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX"] = 2;
|
|
247113
|
+
values[valuesById[3] = "BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS"] = 3;
|
|
247114
|
+
return values;
|
|
247115
|
+
})();
|
|
247116
|
+
|
|
247117
|
+
return BusinessFolderChatPreferenceAction;
|
|
247118
|
+
})();
|
|
247119
|
+
|
|
246759
247120
|
SyncActionValue.CallLogAction = (function() {
|
|
246760
247121
|
|
|
246761
247122
|
/**
|