@wppconnect/wa-proto 2.3000.1048949391 → 2.3000.1048989295
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 +12 -1
- package/dist/index.d.ts +250 -0
- package/dist/index.js +645 -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.1048989295
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1110,9 +1110,14 @@ message CallLogRecord {
|
|
|
1110
1110
|
SCHEDULED_CALL = 1;
|
|
1111
1111
|
VOICE_CHAT = 2;
|
|
1112
1112
|
}
|
|
1113
|
+
message GuestInfo {
|
|
1114
|
+
optional string pushName = 1;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1113
1117
|
message ParticipantInfo {
|
|
1114
1118
|
optional string userJid = 1;
|
|
1115
1119
|
optional CallLogRecord.CallResult callResult = 2;
|
|
1120
|
+
optional CallLogRecord.GuestInfo guestInfo = 3;
|
|
1116
1121
|
}
|
|
1117
1122
|
|
|
1118
1123
|
enum SilenceReason {
|
|
@@ -4761,6 +4766,7 @@ enum MutationProps {
|
|
|
4761
4766
|
CONTACT_MANAGER_METADATA_ACTION = 95;
|
|
4762
4767
|
BUSINESS_FOLDER_ACTIVATION_ACTION = 96;
|
|
4763
4768
|
GROUP_HISTORY_TOGGLE_ACTION = 97;
|
|
4769
|
+
BB_PRO_PENDING_CUSTOMER_BASE_ACTION = 98;
|
|
4764
4770
|
SHARE_OWN_PN = 10001;
|
|
4765
4771
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
4766
4772
|
AI_THREAD_DELETE_ACTION = 10003;
|
|
@@ -5487,6 +5493,7 @@ message SyncActionValue {
|
|
|
5487
5493
|
optional ContactManagerMetadataAction contactManagerMetadataAction = 95;
|
|
5488
5494
|
optional BusinessFolderActivationAction businessFolderActivationAction = 96;
|
|
5489
5495
|
optional GroupHistoryToggleAction groupHistoryToggleAction = 97;
|
|
5496
|
+
optional BBProPendingCustomerBaseAction bbProPendingCustomerBaseAction = 98;
|
|
5490
5497
|
message AgentAction {
|
|
5491
5498
|
optional string name = 1;
|
|
5492
5499
|
optional int32 deviceId = 2;
|
|
@@ -5520,6 +5527,10 @@ message SyncActionValue {
|
|
|
5520
5527
|
}
|
|
5521
5528
|
}
|
|
5522
5529
|
|
|
5530
|
+
message BBProPendingCustomerBaseAction {
|
|
5531
|
+
optional bool pending = 1;
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5523
5534
|
message BizAISettingsNudgeAction {
|
|
5524
5535
|
optional BizAISettingsCategory category = 1;
|
|
5525
5536
|
optional int64 version = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -15548,6 +15548,123 @@ export namespace waproto {
|
|
|
15548
15548
|
VOICE_CHAT = 2
|
|
15549
15549
|
}
|
|
15550
15550
|
|
|
15551
|
+
/**
|
|
15552
|
+
* Properties of a GuestInfo.
|
|
15553
|
+
* @deprecated Use waproto.CallLogRecord.GuestInfo.$Properties instead.
|
|
15554
|
+
*/
|
|
15555
|
+
interface IGuestInfo extends waproto.CallLogRecord.GuestInfo.$Properties {
|
|
15556
|
+
}
|
|
15557
|
+
|
|
15558
|
+
/** Represents a GuestInfo. */
|
|
15559
|
+
class GuestInfo {
|
|
15560
|
+
|
|
15561
|
+
/**
|
|
15562
|
+
* Constructs a new GuestInfo.
|
|
15563
|
+
* @param [properties] Properties to set
|
|
15564
|
+
*/
|
|
15565
|
+
constructor(properties?: waproto.CallLogRecord.GuestInfo.$Properties);
|
|
15566
|
+
|
|
15567
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
15568
|
+
$unknowns?: Uint8Array[];
|
|
15569
|
+
|
|
15570
|
+
/** GuestInfo pushName. */
|
|
15571
|
+
pushName?: (string|null);
|
|
15572
|
+
|
|
15573
|
+
/**
|
|
15574
|
+
* Creates a new GuestInfo instance using the specified properties.
|
|
15575
|
+
* @param [properties] Properties to set
|
|
15576
|
+
* @returns GuestInfo instance
|
|
15577
|
+
*/
|
|
15578
|
+
static create(properties: waproto.CallLogRecord.GuestInfo.$Shape): waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape;
|
|
15579
|
+
static create(properties?: waproto.CallLogRecord.GuestInfo.$Properties): waproto.CallLogRecord.GuestInfo;
|
|
15580
|
+
|
|
15581
|
+
/**
|
|
15582
|
+
* Encodes the specified GuestInfo message. Does not implicitly {@link waproto.CallLogRecord.GuestInfo.verify|verify} messages.
|
|
15583
|
+
* @param message GuestInfo message or plain object to encode
|
|
15584
|
+
* @param [writer] Writer to encode to
|
|
15585
|
+
* @returns Writer
|
|
15586
|
+
*/
|
|
15587
|
+
static encode(message: waproto.CallLogRecord.GuestInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15588
|
+
|
|
15589
|
+
/**
|
|
15590
|
+
* Encodes the specified GuestInfo message, length delimited. Does not implicitly {@link waproto.CallLogRecord.GuestInfo.verify|verify} messages.
|
|
15591
|
+
* @param message GuestInfo message or plain object to encode
|
|
15592
|
+
* @param [writer] Writer to encode to
|
|
15593
|
+
* @returns Writer
|
|
15594
|
+
*/
|
|
15595
|
+
static encodeDelimited(message: waproto.CallLogRecord.GuestInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15596
|
+
|
|
15597
|
+
/**
|
|
15598
|
+
* Decodes a GuestInfo message from the specified reader or buffer.
|
|
15599
|
+
* @param reader Reader or buffer to decode from
|
|
15600
|
+
* @param [length] Message length if known beforehand
|
|
15601
|
+
* @returns {waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape} GuestInfo
|
|
15602
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15603
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15604
|
+
*/
|
|
15605
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape;
|
|
15606
|
+
|
|
15607
|
+
/**
|
|
15608
|
+
* Decodes a GuestInfo message from the specified reader or buffer, length delimited.
|
|
15609
|
+
* @param reader Reader or buffer to decode from
|
|
15610
|
+
* @returns {waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape} GuestInfo
|
|
15611
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15612
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15613
|
+
*/
|
|
15614
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape;
|
|
15615
|
+
|
|
15616
|
+
/**
|
|
15617
|
+
* Verifies a GuestInfo message.
|
|
15618
|
+
* @param message Plain object to verify
|
|
15619
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15620
|
+
*/
|
|
15621
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
15622
|
+
|
|
15623
|
+
/**
|
|
15624
|
+
* Creates a GuestInfo message from a plain object. Also converts values to their respective internal types.
|
|
15625
|
+
* @param object Plain object
|
|
15626
|
+
* @returns GuestInfo
|
|
15627
|
+
*/
|
|
15628
|
+
static fromObject(object: { [k: string]: any }): waproto.CallLogRecord.GuestInfo;
|
|
15629
|
+
|
|
15630
|
+
/**
|
|
15631
|
+
* Creates a plain object from a GuestInfo message. Also converts values to other types if specified.
|
|
15632
|
+
* @param message GuestInfo
|
|
15633
|
+
* @param [options] Conversion options
|
|
15634
|
+
* @returns Plain object
|
|
15635
|
+
*/
|
|
15636
|
+
static toObject(message: waproto.CallLogRecord.GuestInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15637
|
+
|
|
15638
|
+
/**
|
|
15639
|
+
* Converts this GuestInfo to JSON.
|
|
15640
|
+
* @returns JSON object
|
|
15641
|
+
*/
|
|
15642
|
+
toJSON(): { [k: string]: any };
|
|
15643
|
+
|
|
15644
|
+
/**
|
|
15645
|
+
* Gets the type url for GuestInfo
|
|
15646
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
15647
|
+
* @returns The type url
|
|
15648
|
+
*/
|
|
15649
|
+
static getTypeUrl(prefix?: string): string;
|
|
15650
|
+
}
|
|
15651
|
+
|
|
15652
|
+
namespace GuestInfo {
|
|
15653
|
+
|
|
15654
|
+
/** Properties of a GuestInfo. */
|
|
15655
|
+
interface $Properties {
|
|
15656
|
+
|
|
15657
|
+
/** GuestInfo pushName */
|
|
15658
|
+
pushName?: (string|null);
|
|
15659
|
+
|
|
15660
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
15661
|
+
$unknowns?: Uint8Array[];
|
|
15662
|
+
}
|
|
15663
|
+
|
|
15664
|
+
/** Shape of a GuestInfo. */
|
|
15665
|
+
type $Shape = waproto.CallLogRecord.GuestInfo.$Properties;
|
|
15666
|
+
}
|
|
15667
|
+
|
|
15551
15668
|
/**
|
|
15552
15669
|
* Properties of a ParticipantInfo.
|
|
15553
15670
|
* @deprecated Use waproto.CallLogRecord.ParticipantInfo.$Properties instead.
|
|
@@ -15573,6 +15690,9 @@ export namespace waproto {
|
|
|
15573
15690
|
/** ParticipantInfo callResult. */
|
|
15574
15691
|
callResult?: (waproto.CallLogRecord.CallResult|null);
|
|
15575
15692
|
|
|
15693
|
+
/** ParticipantInfo guestInfo. */
|
|
15694
|
+
guestInfo?: (waproto.CallLogRecord.GuestInfo.$Properties|null);
|
|
15695
|
+
|
|
15576
15696
|
/**
|
|
15577
15697
|
* Creates a new ParticipantInfo instance using the specified properties.
|
|
15578
15698
|
* @param [properties] Properties to set
|
|
@@ -15663,6 +15783,9 @@ export namespace waproto {
|
|
|
15663
15783
|
/** ParticipantInfo callResult */
|
|
15664
15784
|
callResult?: (waproto.CallLogRecord.CallResult|null);
|
|
15665
15785
|
|
|
15786
|
+
/** ParticipantInfo guestInfo */
|
|
15787
|
+
guestInfo?: (waproto.CallLogRecord.GuestInfo.$Properties|null);
|
|
15788
|
+
|
|
15666
15789
|
/** Unknown fields preserved while decoding when enabled */
|
|
15667
15790
|
$unknowns?: Uint8Array[];
|
|
15668
15791
|
}
|
|
@@ -64030,6 +64153,9 @@ export namespace waproto {
|
|
|
64030
64153
|
/** GROUP_HISTORY_TOGGLE_ACTION value */
|
|
64031
64154
|
GROUP_HISTORY_TOGGLE_ACTION = 97,
|
|
64032
64155
|
|
|
64156
|
+
/** BB_PRO_PENDING_CUSTOMER_BASE_ACTION value */
|
|
64157
|
+
BB_PRO_PENDING_CUSTOMER_BASE_ACTION = 98,
|
|
64158
|
+
|
|
64033
64159
|
/** SHARE_OWN_PN value */
|
|
64034
64160
|
SHARE_OWN_PN = 10001,
|
|
64035
64161
|
|
|
@@ -73945,6 +74071,9 @@ export namespace waproto {
|
|
|
73945
74071
|
/** SyncActionValue groupHistoryToggleAction. */
|
|
73946
74072
|
groupHistoryToggleAction?: (waproto.SyncActionValue.GroupHistoryToggleAction.$Properties|null);
|
|
73947
74073
|
|
|
74074
|
+
/** SyncActionValue bbProPendingCustomerBaseAction. */
|
|
74075
|
+
bbProPendingCustomerBaseAction?: (waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties|null);
|
|
74076
|
+
|
|
73948
74077
|
/**
|
|
73949
74078
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
73950
74079
|
* @param [properties] Properties to set
|
|
@@ -74293,6 +74422,9 @@ export namespace waproto {
|
|
|
74293
74422
|
/** SyncActionValue groupHistoryToggleAction */
|
|
74294
74423
|
groupHistoryToggleAction?: (waproto.SyncActionValue.GroupHistoryToggleAction.$Properties|null);
|
|
74295
74424
|
|
|
74425
|
+
/** SyncActionValue bbProPendingCustomerBaseAction */
|
|
74426
|
+
bbProPendingCustomerBaseAction?: (waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties|null);
|
|
74427
|
+
|
|
74296
74428
|
/** Unknown fields preserved while decoding when enabled */
|
|
74297
74429
|
$unknowns?: Uint8Array[];
|
|
74298
74430
|
}
|
|
@@ -74387,6 +74519,7 @@ export namespace waproto {
|
|
|
74387
74519
|
contactManagerMetadataAction?: waproto.SyncActionValue.ContactManagerMetadataAction.$Shape|null;
|
|
74388
74520
|
businessFolderActivationAction?: waproto.SyncActionValue.BusinessFolderActivationAction.$Shape|null;
|
|
74389
74521
|
groupHistoryToggleAction?: waproto.SyncActionValue.GroupHistoryToggleAction.$Shape|null;
|
|
74522
|
+
bbProPendingCustomerBaseAction?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape|null;
|
|
74390
74523
|
$unknowns?: Uint8Array[];
|
|
74391
74524
|
};
|
|
74392
74525
|
|
|
@@ -75129,6 +75262,123 @@ export namespace waproto {
|
|
|
75129
75262
|
}
|
|
75130
75263
|
}
|
|
75131
75264
|
|
|
75265
|
+
/**
|
|
75266
|
+
* Properties of a BBProPendingCustomerBaseAction.
|
|
75267
|
+
* @deprecated Use waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties instead.
|
|
75268
|
+
*/
|
|
75269
|
+
interface IBBProPendingCustomerBaseAction extends waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties {
|
|
75270
|
+
}
|
|
75271
|
+
|
|
75272
|
+
/** Represents a BBProPendingCustomerBaseAction. */
|
|
75273
|
+
class BBProPendingCustomerBaseAction {
|
|
75274
|
+
|
|
75275
|
+
/**
|
|
75276
|
+
* Constructs a new BBProPendingCustomerBaseAction.
|
|
75277
|
+
* @param [properties] Properties to set
|
|
75278
|
+
*/
|
|
75279
|
+
constructor(properties?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties);
|
|
75280
|
+
|
|
75281
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
75282
|
+
$unknowns?: Uint8Array[];
|
|
75283
|
+
|
|
75284
|
+
/** BBProPendingCustomerBaseAction pending. */
|
|
75285
|
+
pending?: (boolean|null);
|
|
75286
|
+
|
|
75287
|
+
/**
|
|
75288
|
+
* Creates a new BBProPendingCustomerBaseAction instance using the specified properties.
|
|
75289
|
+
* @param [properties] Properties to set
|
|
75290
|
+
* @returns BBProPendingCustomerBaseAction instance
|
|
75291
|
+
*/
|
|
75292
|
+
static create(properties: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape): waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape;
|
|
75293
|
+
static create(properties?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties): waproto.SyncActionValue.BBProPendingCustomerBaseAction;
|
|
75294
|
+
|
|
75295
|
+
/**
|
|
75296
|
+
* Encodes the specified BBProPendingCustomerBaseAction message. Does not implicitly {@link waproto.SyncActionValue.BBProPendingCustomerBaseAction.verify|verify} messages.
|
|
75297
|
+
* @param message BBProPendingCustomerBaseAction message or plain object to encode
|
|
75298
|
+
* @param [writer] Writer to encode to
|
|
75299
|
+
* @returns Writer
|
|
75300
|
+
*/
|
|
75301
|
+
static encode(message: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
75302
|
+
|
|
75303
|
+
/**
|
|
75304
|
+
* Encodes the specified BBProPendingCustomerBaseAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BBProPendingCustomerBaseAction.verify|verify} messages.
|
|
75305
|
+
* @param message BBProPendingCustomerBaseAction message or plain object to encode
|
|
75306
|
+
* @param [writer] Writer to encode to
|
|
75307
|
+
* @returns Writer
|
|
75308
|
+
*/
|
|
75309
|
+
static encodeDelimited(message: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
75310
|
+
|
|
75311
|
+
/**
|
|
75312
|
+
* Decodes a BBProPendingCustomerBaseAction message from the specified reader or buffer.
|
|
75313
|
+
* @param reader Reader or buffer to decode from
|
|
75314
|
+
* @param [length] Message length if known beforehand
|
|
75315
|
+
* @returns {waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape} BBProPendingCustomerBaseAction
|
|
75316
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
75317
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
75318
|
+
*/
|
|
75319
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape;
|
|
75320
|
+
|
|
75321
|
+
/**
|
|
75322
|
+
* Decodes a BBProPendingCustomerBaseAction message from the specified reader or buffer, length delimited.
|
|
75323
|
+
* @param reader Reader or buffer to decode from
|
|
75324
|
+
* @returns {waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape} BBProPendingCustomerBaseAction
|
|
75325
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
75326
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
75327
|
+
*/
|
|
75328
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape;
|
|
75329
|
+
|
|
75330
|
+
/**
|
|
75331
|
+
* Verifies a BBProPendingCustomerBaseAction message.
|
|
75332
|
+
* @param message Plain object to verify
|
|
75333
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
75334
|
+
*/
|
|
75335
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
75336
|
+
|
|
75337
|
+
/**
|
|
75338
|
+
* Creates a BBProPendingCustomerBaseAction message from a plain object. Also converts values to their respective internal types.
|
|
75339
|
+
* @param object Plain object
|
|
75340
|
+
* @returns BBProPendingCustomerBaseAction
|
|
75341
|
+
*/
|
|
75342
|
+
static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BBProPendingCustomerBaseAction;
|
|
75343
|
+
|
|
75344
|
+
/**
|
|
75345
|
+
* Creates a plain object from a BBProPendingCustomerBaseAction message. Also converts values to other types if specified.
|
|
75346
|
+
* @param message BBProPendingCustomerBaseAction
|
|
75347
|
+
* @param [options] Conversion options
|
|
75348
|
+
* @returns Plain object
|
|
75349
|
+
*/
|
|
75350
|
+
static toObject(message: waproto.SyncActionValue.BBProPendingCustomerBaseAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
75351
|
+
|
|
75352
|
+
/**
|
|
75353
|
+
* Converts this BBProPendingCustomerBaseAction to JSON.
|
|
75354
|
+
* @returns JSON object
|
|
75355
|
+
*/
|
|
75356
|
+
toJSON(): { [k: string]: any };
|
|
75357
|
+
|
|
75358
|
+
/**
|
|
75359
|
+
* Gets the type url for BBProPendingCustomerBaseAction
|
|
75360
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
75361
|
+
* @returns The type url
|
|
75362
|
+
*/
|
|
75363
|
+
static getTypeUrl(prefix?: string): string;
|
|
75364
|
+
}
|
|
75365
|
+
|
|
75366
|
+
namespace BBProPendingCustomerBaseAction {
|
|
75367
|
+
|
|
75368
|
+
/** Properties of a BBProPendingCustomerBaseAction. */
|
|
75369
|
+
interface $Properties {
|
|
75370
|
+
|
|
75371
|
+
/** BBProPendingCustomerBaseAction pending */
|
|
75372
|
+
pending?: (boolean|null);
|
|
75373
|
+
|
|
75374
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
75375
|
+
$unknowns?: Uint8Array[];
|
|
75376
|
+
}
|
|
75377
|
+
|
|
75378
|
+
/** Shape of a BBProPendingCustomerBaseAction. */
|
|
75379
|
+
type $Shape = waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties;
|
|
75380
|
+
}
|
|
75381
|
+
|
|
75132
75382
|
/**
|
|
75133
75383
|
* Properties of a BizAISettingsNudgeAction.
|
|
75134
75384
|
* @deprecated Use waproto.SyncActionValue.BizAISettingsNudgeAction.$Properties instead.
|
package/dist/index.js
CHANGED
|
@@ -43743,6 +43743,288 @@ $root.waproto = (function() {
|
|
|
43743
43743
|
return values;
|
|
43744
43744
|
})();
|
|
43745
43745
|
|
|
43746
|
+
CallLogRecord.GuestInfo = (function() {
|
|
43747
|
+
|
|
43748
|
+
/**
|
|
43749
|
+
* Properties of a GuestInfo.
|
|
43750
|
+
* @typedef {Object} waproto.CallLogRecord.GuestInfo.$Properties
|
|
43751
|
+
* @property {string|null} [pushName] GuestInfo pushName
|
|
43752
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
43753
|
+
*/
|
|
43754
|
+
|
|
43755
|
+
/**
|
|
43756
|
+
* Properties of a GuestInfo.
|
|
43757
|
+
* @memberof waproto.CallLogRecord
|
|
43758
|
+
* @interface IGuestInfo
|
|
43759
|
+
* @augments waproto.CallLogRecord.GuestInfo.$Properties
|
|
43760
|
+
* @deprecated Use waproto.CallLogRecord.GuestInfo.$Properties instead.
|
|
43761
|
+
*/
|
|
43762
|
+
|
|
43763
|
+
/**
|
|
43764
|
+
* Shape of a GuestInfo.
|
|
43765
|
+
* @typedef {waproto.CallLogRecord.GuestInfo.$Properties} waproto.CallLogRecord.GuestInfo.$Shape
|
|
43766
|
+
*/
|
|
43767
|
+
|
|
43768
|
+
/**
|
|
43769
|
+
* Constructs a new GuestInfo.
|
|
43770
|
+
* @memberof waproto.CallLogRecord
|
|
43771
|
+
* @classdesc Represents a GuestInfo.
|
|
43772
|
+
* @constructor
|
|
43773
|
+
* @param {waproto.CallLogRecord.GuestInfo.$Properties=} [properties] Properties to set
|
|
43774
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
43775
|
+
*/
|
|
43776
|
+
var GuestInfo = function (properties) {
|
|
43777
|
+
if (properties)
|
|
43778
|
+
for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
43779
|
+
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
43780
|
+
this[keys[i]] = properties[keys[i]];
|
|
43781
|
+
};
|
|
43782
|
+
|
|
43783
|
+
/**
|
|
43784
|
+
* GuestInfo pushName.
|
|
43785
|
+
* @member {string|null|undefined} pushName
|
|
43786
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43787
|
+
* @instance
|
|
43788
|
+
*/
|
|
43789
|
+
GuestInfo.prototype.pushName = null;
|
|
43790
|
+
|
|
43791
|
+
// OneOf field names bound to virtual getters and setters
|
|
43792
|
+
var $oneOfFields;
|
|
43793
|
+
|
|
43794
|
+
// Virtual OneOf for proto3 optional field
|
|
43795
|
+
$Object.defineProperty(GuestInfo.prototype, "_pushName", {
|
|
43796
|
+
get: $util.oneOfGetter($oneOfFields = ["pushName"]),
|
|
43797
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
43798
|
+
});
|
|
43799
|
+
|
|
43800
|
+
/**
|
|
43801
|
+
* Creates a new GuestInfo instance using the specified properties.
|
|
43802
|
+
* @function create
|
|
43803
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43804
|
+
* @static
|
|
43805
|
+
* @param {waproto.CallLogRecord.GuestInfo.$Properties=} [properties] Properties to set
|
|
43806
|
+
* @returns {waproto.CallLogRecord.GuestInfo} GuestInfo instance
|
|
43807
|
+
* @type {{
|
|
43808
|
+
* (properties: waproto.CallLogRecord.GuestInfo.$Shape): waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape;
|
|
43809
|
+
* (properties?: waproto.CallLogRecord.GuestInfo.$Properties): waproto.CallLogRecord.GuestInfo;
|
|
43810
|
+
* }}
|
|
43811
|
+
*/
|
|
43812
|
+
GuestInfo.create = function(properties) {
|
|
43813
|
+
return new GuestInfo(properties);
|
|
43814
|
+
};
|
|
43815
|
+
|
|
43816
|
+
/**
|
|
43817
|
+
* Encodes the specified GuestInfo message. Does not implicitly {@link waproto.CallLogRecord.GuestInfo.verify|verify} messages.
|
|
43818
|
+
* @function encode
|
|
43819
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43820
|
+
* @static
|
|
43821
|
+
* @param {waproto.CallLogRecord.GuestInfo.$Properties} message GuestInfo message or plain object to encode
|
|
43822
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
43823
|
+
* @returns {$protobuf.Writer} Writer
|
|
43824
|
+
*/
|
|
43825
|
+
GuestInfo.encode = function (message, writer, _depth) {
|
|
43826
|
+
if (!writer)
|
|
43827
|
+
writer = $Writer.create();
|
|
43828
|
+
if (_depth === $undefined)
|
|
43829
|
+
_depth = 0;
|
|
43830
|
+
if (_depth > $util.recursionLimit)
|
|
43831
|
+
throw $Error("max depth exceeded");
|
|
43832
|
+
if (message.pushName != null && $Object.hasOwnProperty.call(message, "pushName"))
|
|
43833
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.pushName);
|
|
43834
|
+
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
43835
|
+
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
43836
|
+
writer.raw(message.$unknowns[i]);
|
|
43837
|
+
return writer;
|
|
43838
|
+
};
|
|
43839
|
+
|
|
43840
|
+
/**
|
|
43841
|
+
* Encodes the specified GuestInfo message, length delimited. Does not implicitly {@link waproto.CallLogRecord.GuestInfo.verify|verify} messages.
|
|
43842
|
+
* @function encodeDelimited
|
|
43843
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43844
|
+
* @static
|
|
43845
|
+
* @param {waproto.CallLogRecord.GuestInfo.$Properties} message GuestInfo message or plain object to encode
|
|
43846
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
43847
|
+
* @returns {$protobuf.Writer} Writer
|
|
43848
|
+
*/
|
|
43849
|
+
GuestInfo.encodeDelimited = function(message, writer) {
|
|
43850
|
+
return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
|
|
43851
|
+
};
|
|
43852
|
+
|
|
43853
|
+
/**
|
|
43854
|
+
* Decodes a GuestInfo message from the specified reader or buffer.
|
|
43855
|
+
* @function decode
|
|
43856
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43857
|
+
* @static
|
|
43858
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
43859
|
+
* @param {number} [length] Message length if known beforehand
|
|
43860
|
+
* @returns {waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape} GuestInfo
|
|
43861
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43862
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43863
|
+
*/
|
|
43864
|
+
GuestInfo.decode = function (reader, length, _end, _depth, _target) {
|
|
43865
|
+
if (!(reader instanceof $Reader))
|
|
43866
|
+
reader = $Reader.create(reader);
|
|
43867
|
+
if (_depth === $undefined)
|
|
43868
|
+
_depth = 0;
|
|
43869
|
+
if (_depth > $Reader.recursionLimit)
|
|
43870
|
+
throw $Error("max depth exceeded");
|
|
43871
|
+
var end, message;
|
|
43872
|
+
if (length === $undefined)
|
|
43873
|
+
end = reader.len;
|
|
43874
|
+
else {
|
|
43875
|
+
end = reader.pos + length;
|
|
43876
|
+
if (end > reader.len)
|
|
43877
|
+
throw $RangeError("index out of range");
|
|
43878
|
+
length = reader.len;
|
|
43879
|
+
reader.len = end;
|
|
43880
|
+
}
|
|
43881
|
+
message = _target || new $root.waproto.CallLogRecord.GuestInfo();
|
|
43882
|
+
while (reader.pos < end) {
|
|
43883
|
+
var start = reader.pos;
|
|
43884
|
+
var tag = reader.tag();
|
|
43885
|
+
if (tag === _end) {
|
|
43886
|
+
_end = $undefined;
|
|
43887
|
+
break;
|
|
43888
|
+
}
|
|
43889
|
+
var wireType = tag & 7;
|
|
43890
|
+
switch (tag >>>= 3) {
|
|
43891
|
+
case 1: {
|
|
43892
|
+
if (wireType !== 2)
|
|
43893
|
+
break;
|
|
43894
|
+
message.pushName = reader.stringVerify();
|
|
43895
|
+
message._pushName = "pushName";
|
|
43896
|
+
continue;
|
|
43897
|
+
}
|
|
43898
|
+
}
|
|
43899
|
+
reader.skipType(wireType, _depth, tag);
|
|
43900
|
+
if (!reader.discardUnknown) {
|
|
43901
|
+
$util.makeProp(message, "$unknowns", false);
|
|
43902
|
+
(message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
|
|
43903
|
+
}
|
|
43904
|
+
}
|
|
43905
|
+
if (length !== $undefined) {
|
|
43906
|
+
if (reader.pos !== end)
|
|
43907
|
+
throw $RangeError("index out of range");
|
|
43908
|
+
reader.len = length;
|
|
43909
|
+
}
|
|
43910
|
+
if (_end !== $undefined)
|
|
43911
|
+
throw $Error("missing end group");
|
|
43912
|
+
return message;
|
|
43913
|
+
};
|
|
43914
|
+
|
|
43915
|
+
/**
|
|
43916
|
+
* Decodes a GuestInfo message from the specified reader or buffer, length delimited.
|
|
43917
|
+
* @function decodeDelimited
|
|
43918
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43919
|
+
* @static
|
|
43920
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
43921
|
+
* @returns {waproto.CallLogRecord.GuestInfo & waproto.CallLogRecord.GuestInfo.$Shape} GuestInfo
|
|
43922
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43923
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43924
|
+
*/
|
|
43925
|
+
GuestInfo.decodeDelimited = function(reader) {
|
|
43926
|
+
if (!(reader instanceof $Reader))
|
|
43927
|
+
reader = new $Reader(reader);
|
|
43928
|
+
return this.decode(reader, reader.uint32());
|
|
43929
|
+
};
|
|
43930
|
+
|
|
43931
|
+
/**
|
|
43932
|
+
* Verifies a GuestInfo message.
|
|
43933
|
+
* @function verify
|
|
43934
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43935
|
+
* @static
|
|
43936
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
43937
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
43938
|
+
*/
|
|
43939
|
+
GuestInfo.verify = function (message, _depth) {
|
|
43940
|
+
if (typeof message !== "object" || message === null)
|
|
43941
|
+
return "object expected";
|
|
43942
|
+
if (_depth === $undefined)
|
|
43943
|
+
_depth = 0;
|
|
43944
|
+
if (_depth > $util.recursionLimit)
|
|
43945
|
+
return "max depth exceeded";
|
|
43946
|
+
var properties = {};
|
|
43947
|
+
if (message.pushName != null && $Object.hasOwnProperty.call(message, "pushName")) {
|
|
43948
|
+
properties._pushName = 1;
|
|
43949
|
+
if (!$util.isString(message.pushName))
|
|
43950
|
+
return "pushName: string expected";
|
|
43951
|
+
}
|
|
43952
|
+
return null;
|
|
43953
|
+
};
|
|
43954
|
+
|
|
43955
|
+
/**
|
|
43956
|
+
* Creates a GuestInfo message from a plain object. Also converts values to their respective internal types.
|
|
43957
|
+
* @function fromObject
|
|
43958
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43959
|
+
* @static
|
|
43960
|
+
* @param {Object.<string,*>} object Plain object
|
|
43961
|
+
* @returns {waproto.CallLogRecord.GuestInfo} GuestInfo
|
|
43962
|
+
*/
|
|
43963
|
+
GuestInfo.fromObject = function (object, _depth) {
|
|
43964
|
+
if (object instanceof $root.waproto.CallLogRecord.GuestInfo)
|
|
43965
|
+
return object;
|
|
43966
|
+
if (!$util.isObject(object))
|
|
43967
|
+
throw $TypeError(".waproto.CallLogRecord.GuestInfo: object expected");
|
|
43968
|
+
if (_depth === $undefined)
|
|
43969
|
+
_depth = 0;
|
|
43970
|
+
if (_depth > $util.recursionLimit)
|
|
43971
|
+
throw $Error("max depth exceeded");
|
|
43972
|
+
var message = new $root.waproto.CallLogRecord.GuestInfo();
|
|
43973
|
+
if (object.pushName != null)
|
|
43974
|
+
message.pushName = $String(object.pushName);
|
|
43975
|
+
return message;
|
|
43976
|
+
};
|
|
43977
|
+
|
|
43978
|
+
/**
|
|
43979
|
+
* Creates a plain object from a GuestInfo message. Also converts values to other types if specified.
|
|
43980
|
+
* @function toObject
|
|
43981
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
43982
|
+
* @static
|
|
43983
|
+
* @param {waproto.CallLogRecord.GuestInfo} message GuestInfo
|
|
43984
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
43985
|
+
* @returns {Object.<string,*>} Plain object
|
|
43986
|
+
*/
|
|
43987
|
+
GuestInfo.toObject = function (message, options, _depth) {
|
|
43988
|
+
if (!options)
|
|
43989
|
+
options = {};
|
|
43990
|
+
if (_depth === $undefined)
|
|
43991
|
+
_depth = 0;
|
|
43992
|
+
if (_depth > $util.recursionLimit)
|
|
43993
|
+
throw $Error("max depth exceeded");
|
|
43994
|
+
var object = {};
|
|
43995
|
+
if (message.pushName != null && $Object.hasOwnProperty.call(message, "pushName"))
|
|
43996
|
+
object.pushName = message.pushName;
|
|
43997
|
+
return object;
|
|
43998
|
+
};
|
|
43999
|
+
|
|
44000
|
+
/**
|
|
44001
|
+
* Converts this GuestInfo to JSON.
|
|
44002
|
+
* @function toJSON
|
|
44003
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
44004
|
+
* @instance
|
|
44005
|
+
* @returns {Object.<string,*>} JSON object
|
|
44006
|
+
*/
|
|
44007
|
+
GuestInfo.prototype.toJSON = function() {
|
|
44008
|
+
return GuestInfo.toObject(this, $protobuf.util.toJSONOptions);
|
|
44009
|
+
};
|
|
44010
|
+
|
|
44011
|
+
/**
|
|
44012
|
+
* Gets the type url for GuestInfo
|
|
44013
|
+
* @function getTypeUrl
|
|
44014
|
+
* @memberof waproto.CallLogRecord.GuestInfo
|
|
44015
|
+
* @static
|
|
44016
|
+
* @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
44017
|
+
* @returns {string} The type url
|
|
44018
|
+
*/
|
|
44019
|
+
GuestInfo.getTypeUrl = function(prefix) {
|
|
44020
|
+
if (prefix === $undefined)
|
|
44021
|
+
prefix = "type.googleapis.com";
|
|
44022
|
+
return prefix + "/waproto.CallLogRecord.GuestInfo";
|
|
44023
|
+
};
|
|
44024
|
+
|
|
44025
|
+
return GuestInfo;
|
|
44026
|
+
})();
|
|
44027
|
+
|
|
43746
44028
|
CallLogRecord.ParticipantInfo = (function() {
|
|
43747
44029
|
|
|
43748
44030
|
/**
|
|
@@ -43750,6 +44032,7 @@ $root.waproto = (function() {
|
|
|
43750
44032
|
* @typedef {Object} waproto.CallLogRecord.ParticipantInfo.$Properties
|
|
43751
44033
|
* @property {string|null} [userJid] ParticipantInfo userJid
|
|
43752
44034
|
* @property {waproto.CallLogRecord.CallResult|null} [callResult] ParticipantInfo callResult
|
|
44035
|
+
* @property {waproto.CallLogRecord.GuestInfo.$Properties|null} [guestInfo] ParticipantInfo guestInfo
|
|
43753
44036
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
43754
44037
|
*/
|
|
43755
44038
|
|
|
@@ -43797,6 +44080,14 @@ $root.waproto = (function() {
|
|
|
43797
44080
|
*/
|
|
43798
44081
|
ParticipantInfo.prototype.callResult = null;
|
|
43799
44082
|
|
|
44083
|
+
/**
|
|
44084
|
+
* ParticipantInfo guestInfo.
|
|
44085
|
+
* @member {waproto.CallLogRecord.GuestInfo.$Properties|null|undefined} guestInfo
|
|
44086
|
+
* @memberof waproto.CallLogRecord.ParticipantInfo
|
|
44087
|
+
* @instance
|
|
44088
|
+
*/
|
|
44089
|
+
ParticipantInfo.prototype.guestInfo = null;
|
|
44090
|
+
|
|
43800
44091
|
// OneOf field names bound to virtual getters and setters
|
|
43801
44092
|
var $oneOfFields;
|
|
43802
44093
|
|
|
@@ -43812,6 +44103,12 @@ $root.waproto = (function() {
|
|
|
43812
44103
|
set: $util.oneOfSetter($oneOfFields)
|
|
43813
44104
|
});
|
|
43814
44105
|
|
|
44106
|
+
// Virtual OneOf for proto3 optional field
|
|
44107
|
+
$Object.defineProperty(ParticipantInfo.prototype, "_guestInfo", {
|
|
44108
|
+
get: $util.oneOfGetter($oneOfFields = ["guestInfo"]),
|
|
44109
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
44110
|
+
});
|
|
44111
|
+
|
|
43815
44112
|
/**
|
|
43816
44113
|
* Creates a new ParticipantInfo instance using the specified properties.
|
|
43817
44114
|
* @function create
|
|
@@ -43848,6 +44145,8 @@ $root.waproto = (function() {
|
|
|
43848
44145
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userJid);
|
|
43849
44146
|
if (message.callResult != null && $Object.hasOwnProperty.call(message, "callResult"))
|
|
43850
44147
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.callResult);
|
|
44148
|
+
if (message.guestInfo != null && $Object.hasOwnProperty.call(message, "guestInfo"))
|
|
44149
|
+
$root.waproto.CallLogRecord.GuestInfo.encode(message.guestInfo, writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim();
|
|
43851
44150
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
43852
44151
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
43853
44152
|
writer.raw(message.$unknowns[i]);
|
|
@@ -43919,6 +44218,13 @@ $root.waproto = (function() {
|
|
|
43919
44218
|
message._callResult = "callResult";
|
|
43920
44219
|
continue;
|
|
43921
44220
|
}
|
|
44221
|
+
case 3: {
|
|
44222
|
+
if (wireType !== 2)
|
|
44223
|
+
break;
|
|
44224
|
+
message.guestInfo = $root.waproto.CallLogRecord.GuestInfo.decode(reader, reader.uint32(), $undefined, _depth + 1, message.guestInfo);
|
|
44225
|
+
message._guestInfo = "guestInfo";
|
|
44226
|
+
continue;
|
|
44227
|
+
}
|
|
43922
44228
|
}
|
|
43923
44229
|
reader.skipType(wireType, _depth, tag);
|
|
43924
44230
|
if (!reader.discardUnknown) {
|
|
@@ -43978,6 +44284,14 @@ $root.waproto = (function() {
|
|
|
43978
44284
|
if (typeof message.callResult !== "number" || (message.callResult | 0) !== message.callResult)
|
|
43979
44285
|
return "callResult: enum value expected";
|
|
43980
44286
|
}
|
|
44287
|
+
if (message.guestInfo != null && $Object.hasOwnProperty.call(message, "guestInfo")) {
|
|
44288
|
+
properties._guestInfo = 1;
|
|
44289
|
+
{
|
|
44290
|
+
var error = $root.waproto.CallLogRecord.GuestInfo.verify(message.guestInfo, _depth + 1);
|
|
44291
|
+
if (error)
|
|
44292
|
+
return "guestInfo." + error;
|
|
44293
|
+
}
|
|
44294
|
+
}
|
|
43981
44295
|
return null;
|
|
43982
44296
|
};
|
|
43983
44297
|
|
|
@@ -44050,6 +44364,11 @@ $root.waproto = (function() {
|
|
|
44050
44364
|
if (typeof object.callResult === "number" && (object.callResult | 0) === object.callResult)
|
|
44051
44365
|
message.callResult = object.callResult;
|
|
44052
44366
|
}
|
|
44367
|
+
if (object.guestInfo != null) {
|
|
44368
|
+
if (!$util.isObject(object.guestInfo))
|
|
44369
|
+
throw $TypeError(".waproto.CallLogRecord.ParticipantInfo.guestInfo: object expected");
|
|
44370
|
+
message.guestInfo = $root.waproto.CallLogRecord.GuestInfo.fromObject(object.guestInfo, _depth + 1);
|
|
44371
|
+
}
|
|
44053
44372
|
return message;
|
|
44054
44373
|
};
|
|
44055
44374
|
|
|
@@ -44074,6 +44393,8 @@ $root.waproto = (function() {
|
|
|
44074
44393
|
object.userJid = message.userJid;
|
|
44075
44394
|
if (message.callResult != null && $Object.hasOwnProperty.call(message, "callResult"))
|
|
44076
44395
|
object.callResult = options.enums === $String ? $root.waproto.CallLogRecord.CallResult[message.callResult] === $undefined ? message.callResult : $root.waproto.CallLogRecord.CallResult[message.callResult] : message.callResult;
|
|
44396
|
+
if (message.guestInfo != null && $Object.hasOwnProperty.call(message, "guestInfo"))
|
|
44397
|
+
object.guestInfo = $root.waproto.CallLogRecord.GuestInfo.toObject(message.guestInfo, options, _depth + 1);
|
|
44077
44398
|
return object;
|
|
44078
44399
|
};
|
|
44079
44400
|
|
|
@@ -192388,6 +192709,7 @@ $root.waproto = (function() {
|
|
|
192388
192709
|
* @property {number} CONTACT_MANAGER_METADATA_ACTION=95 CONTACT_MANAGER_METADATA_ACTION value
|
|
192389
192710
|
* @property {number} BUSINESS_FOLDER_ACTIVATION_ACTION=96 BUSINESS_FOLDER_ACTIVATION_ACTION value
|
|
192390
192711
|
* @property {number} GROUP_HISTORY_TOGGLE_ACTION=97 GROUP_HISTORY_TOGGLE_ACTION value
|
|
192712
|
+
* @property {number} BB_PRO_PENDING_CUSTOMER_BASE_ACTION=98 BB_PRO_PENDING_CUSTOMER_BASE_ACTION value
|
|
192391
192713
|
* @property {number} SHARE_OWN_PN=10001 SHARE_OWN_PN value
|
|
192392
192714
|
* @property {number} BUSINESS_BROADCAST_ACTION=10002 BUSINESS_BROADCAST_ACTION value
|
|
192393
192715
|
* @property {number} AI_THREAD_DELETE_ACTION=10003 AI_THREAD_DELETE_ACTION value
|
|
@@ -192485,6 +192807,7 @@ $root.waproto = (function() {
|
|
|
192485
192807
|
values[valuesById[95] = "CONTACT_MANAGER_METADATA_ACTION"] = 95;
|
|
192486
192808
|
values[valuesById[96] = "BUSINESS_FOLDER_ACTIVATION_ACTION"] = 96;
|
|
192487
192809
|
values[valuesById[97] = "GROUP_HISTORY_TOGGLE_ACTION"] = 97;
|
|
192810
|
+
values[valuesById[98] = "BB_PRO_PENDING_CUSTOMER_BASE_ACTION"] = 98;
|
|
192488
192811
|
values[valuesById[10001] = "SHARE_OWN_PN"] = 10001;
|
|
192489
192812
|
values[valuesById[10002] = "BUSINESS_BROADCAST_ACTION"] = 10002;
|
|
192490
192813
|
values[valuesById[10003] = "AI_THREAD_DELETE_ACTION"] = 10003;
|
|
@@ -220055,6 +220378,7 @@ $root.waproto = (function() {
|
|
|
220055
220378
|
* @property {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties|null} [contactManagerMetadataAction] SyncActionValue contactManagerMetadataAction
|
|
220056
220379
|
* @property {waproto.SyncActionValue.BusinessFolderActivationAction.$Properties|null} [businessFolderActivationAction] SyncActionValue businessFolderActivationAction
|
|
220057
220380
|
* @property {waproto.SyncActionValue.GroupHistoryToggleAction.$Properties|null} [groupHistoryToggleAction] SyncActionValue groupHistoryToggleAction
|
|
220381
|
+
* @property {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties|null} [bbProPendingCustomerBaseAction] SyncActionValue bbProPendingCustomerBaseAction
|
|
220058
220382
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
220059
220383
|
*/
|
|
220060
220384
|
|
|
@@ -220157,6 +220481,7 @@ $root.waproto = (function() {
|
|
|
220157
220481
|
* contactManagerMetadataAction?: waproto.SyncActionValue.ContactManagerMetadataAction.$Shape|null;
|
|
220158
220482
|
* businessFolderActivationAction?: waproto.SyncActionValue.BusinessFolderActivationAction.$Shape|null;
|
|
220159
220483
|
* groupHistoryToggleAction?: waproto.SyncActionValue.GroupHistoryToggleAction.$Shape|null;
|
|
220484
|
+
* bbProPendingCustomerBaseAction?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape|null;
|
|
220160
220485
|
* $unknowns?: Array.<Uint8Array>;
|
|
220161
220486
|
* }} waproto.SyncActionValue.$Shape
|
|
220162
220487
|
*/
|
|
@@ -220880,6 +221205,14 @@ $root.waproto = (function() {
|
|
|
220880
221205
|
*/
|
|
220881
221206
|
SyncActionValue.prototype.groupHistoryToggleAction = null;
|
|
220882
221207
|
|
|
221208
|
+
/**
|
|
221209
|
+
* SyncActionValue bbProPendingCustomerBaseAction.
|
|
221210
|
+
* @member {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties|null|undefined} bbProPendingCustomerBaseAction
|
|
221211
|
+
* @memberof waproto.SyncActionValue
|
|
221212
|
+
* @instance
|
|
221213
|
+
*/
|
|
221214
|
+
SyncActionValue.prototype.bbProPendingCustomerBaseAction = null;
|
|
221215
|
+
|
|
220883
221216
|
// OneOf field names bound to virtual getters and setters
|
|
220884
221217
|
var $oneOfFields;
|
|
220885
221218
|
|
|
@@ -221411,6 +221744,12 @@ $root.waproto = (function() {
|
|
|
221411
221744
|
set: $util.oneOfSetter($oneOfFields)
|
|
221412
221745
|
});
|
|
221413
221746
|
|
|
221747
|
+
// Virtual OneOf for proto3 optional field
|
|
221748
|
+
$Object.defineProperty(SyncActionValue.prototype, "_bbProPendingCustomerBaseAction", {
|
|
221749
|
+
get: $util.oneOfGetter($oneOfFields = ["bbProPendingCustomerBaseAction"]),
|
|
221750
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
221751
|
+
});
|
|
221752
|
+
|
|
221414
221753
|
/**
|
|
221415
221754
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
221416
221755
|
* @function create
|
|
@@ -221619,6 +221958,8 @@ $root.waproto = (function() {
|
|
|
221619
221958
|
$root.waproto.SyncActionValue.BusinessFolderActivationAction.encode(message.businessFolderActivationAction, writer.uint32(/* id 96, wireType 2 =*/770).fork(), _depth + 1).ldelim();
|
|
221620
221959
|
if (message.groupHistoryToggleAction != null && $Object.hasOwnProperty.call(message, "groupHistoryToggleAction"))
|
|
221621
221960
|
$root.waproto.SyncActionValue.GroupHistoryToggleAction.encode(message.groupHistoryToggleAction, writer.uint32(/* id 97, wireType 2 =*/778).fork(), _depth + 1).ldelim();
|
|
221961
|
+
if (message.bbProPendingCustomerBaseAction != null && $Object.hasOwnProperty.call(message, "bbProPendingCustomerBaseAction"))
|
|
221962
|
+
$root.waproto.SyncActionValue.BBProPendingCustomerBaseAction.encode(message.bbProPendingCustomerBaseAction, writer.uint32(/* id 98, wireType 2 =*/786).fork(), _depth + 1).ldelim();
|
|
221622
221963
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
221623
221964
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
221624
221965
|
writer.raw(message.$unknowns[i]);
|
|
@@ -222292,6 +222633,13 @@ $root.waproto = (function() {
|
|
|
222292
222633
|
message._groupHistoryToggleAction = "groupHistoryToggleAction";
|
|
222293
222634
|
continue;
|
|
222294
222635
|
}
|
|
222636
|
+
case 98: {
|
|
222637
|
+
if (wireType !== 2)
|
|
222638
|
+
break;
|
|
222639
|
+
message.bbProPendingCustomerBaseAction = $root.waproto.SyncActionValue.BBProPendingCustomerBaseAction.decode(reader, reader.uint32(), $undefined, _depth + 1, message.bbProPendingCustomerBaseAction);
|
|
222640
|
+
message._bbProPendingCustomerBaseAction = "bbProPendingCustomerBaseAction";
|
|
222641
|
+
continue;
|
|
222642
|
+
}
|
|
222295
222643
|
}
|
|
222296
222644
|
reader.skipType(wireType, _depth, tag);
|
|
222297
222645
|
if (!reader.discardUnknown) {
|
|
@@ -223042,6 +223390,14 @@ $root.waproto = (function() {
|
|
|
223042
223390
|
return "groupHistoryToggleAction." + error;
|
|
223043
223391
|
}
|
|
223044
223392
|
}
|
|
223393
|
+
if (message.bbProPendingCustomerBaseAction != null && $Object.hasOwnProperty.call(message, "bbProPendingCustomerBaseAction")) {
|
|
223394
|
+
properties._bbProPendingCustomerBaseAction = 1;
|
|
223395
|
+
{
|
|
223396
|
+
var error = $root.waproto.SyncActionValue.BBProPendingCustomerBaseAction.verify(message.bbProPendingCustomerBaseAction, _depth + 1);
|
|
223397
|
+
if (error)
|
|
223398
|
+
return "bbProPendingCustomerBaseAction." + error;
|
|
223399
|
+
}
|
|
223400
|
+
}
|
|
223045
223401
|
return null;
|
|
223046
223402
|
};
|
|
223047
223403
|
|
|
@@ -223507,6 +223863,11 @@ $root.waproto = (function() {
|
|
|
223507
223863
|
throw $TypeError(".waproto.SyncActionValue.groupHistoryToggleAction: object expected");
|
|
223508
223864
|
message.groupHistoryToggleAction = $root.waproto.SyncActionValue.GroupHistoryToggleAction.fromObject(object.groupHistoryToggleAction, _depth + 1);
|
|
223509
223865
|
}
|
|
223866
|
+
if (object.bbProPendingCustomerBaseAction != null) {
|
|
223867
|
+
if (!$util.isObject(object.bbProPendingCustomerBaseAction))
|
|
223868
|
+
throw $TypeError(".waproto.SyncActionValue.bbProPendingCustomerBaseAction: object expected");
|
|
223869
|
+
message.bbProPendingCustomerBaseAction = $root.waproto.SyncActionValue.BBProPendingCustomerBaseAction.fromObject(object.bbProPendingCustomerBaseAction, _depth + 1);
|
|
223870
|
+
}
|
|
223510
223871
|
return message;
|
|
223511
223872
|
};
|
|
223512
223873
|
|
|
@@ -223708,6 +224069,8 @@ $root.waproto = (function() {
|
|
|
223708
224069
|
object.businessFolderActivationAction = $root.waproto.SyncActionValue.BusinessFolderActivationAction.toObject(message.businessFolderActivationAction, options, _depth + 1);
|
|
223709
224070
|
if (message.groupHistoryToggleAction != null && $Object.hasOwnProperty.call(message, "groupHistoryToggleAction"))
|
|
223710
224071
|
object.groupHistoryToggleAction = $root.waproto.SyncActionValue.GroupHistoryToggleAction.toObject(message.groupHistoryToggleAction, options, _depth + 1);
|
|
224072
|
+
if (message.bbProPendingCustomerBaseAction != null && $Object.hasOwnProperty.call(message, "bbProPendingCustomerBaseAction"))
|
|
224073
|
+
object.bbProPendingCustomerBaseAction = $root.waproto.SyncActionValue.BBProPendingCustomerBaseAction.toObject(message.bbProPendingCustomerBaseAction, options, _depth + 1);
|
|
223711
224074
|
return object;
|
|
223712
224075
|
};
|
|
223713
224076
|
|
|
@@ -225611,6 +225974,288 @@ $root.waproto = (function() {
|
|
|
225611
225974
|
return AvatarUpdatedAction;
|
|
225612
225975
|
})();
|
|
225613
225976
|
|
|
225977
|
+
SyncActionValue.BBProPendingCustomerBaseAction = (function() {
|
|
225978
|
+
|
|
225979
|
+
/**
|
|
225980
|
+
* Properties of a BBProPendingCustomerBaseAction.
|
|
225981
|
+
* @typedef {Object} waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties
|
|
225982
|
+
* @property {boolean|null} [pending] BBProPendingCustomerBaseAction pending
|
|
225983
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
225984
|
+
*/
|
|
225985
|
+
|
|
225986
|
+
/**
|
|
225987
|
+
* Properties of a BBProPendingCustomerBaseAction.
|
|
225988
|
+
* @memberof waproto.SyncActionValue
|
|
225989
|
+
* @interface IBBProPendingCustomerBaseAction
|
|
225990
|
+
* @augments waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties
|
|
225991
|
+
* @deprecated Use waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties instead.
|
|
225992
|
+
*/
|
|
225993
|
+
|
|
225994
|
+
/**
|
|
225995
|
+
* Shape of a BBProPendingCustomerBaseAction.
|
|
225996
|
+
* @typedef {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties} waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape
|
|
225997
|
+
*/
|
|
225998
|
+
|
|
225999
|
+
/**
|
|
226000
|
+
* Constructs a new BBProPendingCustomerBaseAction.
|
|
226001
|
+
* @memberof waproto.SyncActionValue
|
|
226002
|
+
* @classdesc Represents a BBProPendingCustomerBaseAction.
|
|
226003
|
+
* @constructor
|
|
226004
|
+
* @param {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties=} [properties] Properties to set
|
|
226005
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
226006
|
+
*/
|
|
226007
|
+
var BBProPendingCustomerBaseAction = function (properties) {
|
|
226008
|
+
if (properties)
|
|
226009
|
+
for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
226010
|
+
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
226011
|
+
this[keys[i]] = properties[keys[i]];
|
|
226012
|
+
};
|
|
226013
|
+
|
|
226014
|
+
/**
|
|
226015
|
+
* BBProPendingCustomerBaseAction pending.
|
|
226016
|
+
* @member {boolean|null|undefined} pending
|
|
226017
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226018
|
+
* @instance
|
|
226019
|
+
*/
|
|
226020
|
+
BBProPendingCustomerBaseAction.prototype.pending = null;
|
|
226021
|
+
|
|
226022
|
+
// OneOf field names bound to virtual getters and setters
|
|
226023
|
+
var $oneOfFields;
|
|
226024
|
+
|
|
226025
|
+
// Virtual OneOf for proto3 optional field
|
|
226026
|
+
$Object.defineProperty(BBProPendingCustomerBaseAction.prototype, "_pending", {
|
|
226027
|
+
get: $util.oneOfGetter($oneOfFields = ["pending"]),
|
|
226028
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
226029
|
+
});
|
|
226030
|
+
|
|
226031
|
+
/**
|
|
226032
|
+
* Creates a new BBProPendingCustomerBaseAction instance using the specified properties.
|
|
226033
|
+
* @function create
|
|
226034
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226035
|
+
* @static
|
|
226036
|
+
* @param {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties=} [properties] Properties to set
|
|
226037
|
+
* @returns {waproto.SyncActionValue.BBProPendingCustomerBaseAction} BBProPendingCustomerBaseAction instance
|
|
226038
|
+
* @type {{
|
|
226039
|
+
* (properties: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape): waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape;
|
|
226040
|
+
* (properties?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties): waproto.SyncActionValue.BBProPendingCustomerBaseAction;
|
|
226041
|
+
* }}
|
|
226042
|
+
*/
|
|
226043
|
+
BBProPendingCustomerBaseAction.create = function(properties) {
|
|
226044
|
+
return new BBProPendingCustomerBaseAction(properties);
|
|
226045
|
+
};
|
|
226046
|
+
|
|
226047
|
+
/**
|
|
226048
|
+
* Encodes the specified BBProPendingCustomerBaseAction message. Does not implicitly {@link waproto.SyncActionValue.BBProPendingCustomerBaseAction.verify|verify} messages.
|
|
226049
|
+
* @function encode
|
|
226050
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226051
|
+
* @static
|
|
226052
|
+
* @param {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties} message BBProPendingCustomerBaseAction message or plain object to encode
|
|
226053
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
226054
|
+
* @returns {$protobuf.Writer} Writer
|
|
226055
|
+
*/
|
|
226056
|
+
BBProPendingCustomerBaseAction.encode = function (message, writer, _depth) {
|
|
226057
|
+
if (!writer)
|
|
226058
|
+
writer = $Writer.create();
|
|
226059
|
+
if (_depth === $undefined)
|
|
226060
|
+
_depth = 0;
|
|
226061
|
+
if (_depth > $util.recursionLimit)
|
|
226062
|
+
throw $Error("max depth exceeded");
|
|
226063
|
+
if (message.pending != null && $Object.hasOwnProperty.call(message, "pending"))
|
|
226064
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.pending);
|
|
226065
|
+
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
226066
|
+
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
226067
|
+
writer.raw(message.$unknowns[i]);
|
|
226068
|
+
return writer;
|
|
226069
|
+
};
|
|
226070
|
+
|
|
226071
|
+
/**
|
|
226072
|
+
* Encodes the specified BBProPendingCustomerBaseAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BBProPendingCustomerBaseAction.verify|verify} messages.
|
|
226073
|
+
* @function encodeDelimited
|
|
226074
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226075
|
+
* @static
|
|
226076
|
+
* @param {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties} message BBProPendingCustomerBaseAction message or plain object to encode
|
|
226077
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
226078
|
+
* @returns {$protobuf.Writer} Writer
|
|
226079
|
+
*/
|
|
226080
|
+
BBProPendingCustomerBaseAction.encodeDelimited = function(message, writer) {
|
|
226081
|
+
return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
|
|
226082
|
+
};
|
|
226083
|
+
|
|
226084
|
+
/**
|
|
226085
|
+
* Decodes a BBProPendingCustomerBaseAction message from the specified reader or buffer.
|
|
226086
|
+
* @function decode
|
|
226087
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226088
|
+
* @static
|
|
226089
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
226090
|
+
* @param {number} [length] Message length if known beforehand
|
|
226091
|
+
* @returns {waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape} BBProPendingCustomerBaseAction
|
|
226092
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
226093
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
226094
|
+
*/
|
|
226095
|
+
BBProPendingCustomerBaseAction.decode = function (reader, length, _end, _depth, _target) {
|
|
226096
|
+
if (!(reader instanceof $Reader))
|
|
226097
|
+
reader = $Reader.create(reader);
|
|
226098
|
+
if (_depth === $undefined)
|
|
226099
|
+
_depth = 0;
|
|
226100
|
+
if (_depth > $Reader.recursionLimit)
|
|
226101
|
+
throw $Error("max depth exceeded");
|
|
226102
|
+
var end, message;
|
|
226103
|
+
if (length === $undefined)
|
|
226104
|
+
end = reader.len;
|
|
226105
|
+
else {
|
|
226106
|
+
end = reader.pos + length;
|
|
226107
|
+
if (end > reader.len)
|
|
226108
|
+
throw $RangeError("index out of range");
|
|
226109
|
+
length = reader.len;
|
|
226110
|
+
reader.len = end;
|
|
226111
|
+
}
|
|
226112
|
+
message = _target || new $root.waproto.SyncActionValue.BBProPendingCustomerBaseAction();
|
|
226113
|
+
while (reader.pos < end) {
|
|
226114
|
+
var start = reader.pos;
|
|
226115
|
+
var tag = reader.tag();
|
|
226116
|
+
if (tag === _end) {
|
|
226117
|
+
_end = $undefined;
|
|
226118
|
+
break;
|
|
226119
|
+
}
|
|
226120
|
+
var wireType = tag & 7;
|
|
226121
|
+
switch (tag >>>= 3) {
|
|
226122
|
+
case 1: {
|
|
226123
|
+
if (wireType !== 0)
|
|
226124
|
+
break;
|
|
226125
|
+
message.pending = reader.bool();
|
|
226126
|
+
message._pending = "pending";
|
|
226127
|
+
continue;
|
|
226128
|
+
}
|
|
226129
|
+
}
|
|
226130
|
+
reader.skipType(wireType, _depth, tag);
|
|
226131
|
+
if (!reader.discardUnknown) {
|
|
226132
|
+
$util.makeProp(message, "$unknowns", false);
|
|
226133
|
+
(message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
|
|
226134
|
+
}
|
|
226135
|
+
}
|
|
226136
|
+
if (length !== $undefined) {
|
|
226137
|
+
if (reader.pos !== end)
|
|
226138
|
+
throw $RangeError("index out of range");
|
|
226139
|
+
reader.len = length;
|
|
226140
|
+
}
|
|
226141
|
+
if (_end !== $undefined)
|
|
226142
|
+
throw $Error("missing end group");
|
|
226143
|
+
return message;
|
|
226144
|
+
};
|
|
226145
|
+
|
|
226146
|
+
/**
|
|
226147
|
+
* Decodes a BBProPendingCustomerBaseAction message from the specified reader or buffer, length delimited.
|
|
226148
|
+
* @function decodeDelimited
|
|
226149
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226150
|
+
* @static
|
|
226151
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
226152
|
+
* @returns {waproto.SyncActionValue.BBProPendingCustomerBaseAction & waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape} BBProPendingCustomerBaseAction
|
|
226153
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
226154
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
226155
|
+
*/
|
|
226156
|
+
BBProPendingCustomerBaseAction.decodeDelimited = function(reader) {
|
|
226157
|
+
if (!(reader instanceof $Reader))
|
|
226158
|
+
reader = new $Reader(reader);
|
|
226159
|
+
return this.decode(reader, reader.uint32());
|
|
226160
|
+
};
|
|
226161
|
+
|
|
226162
|
+
/**
|
|
226163
|
+
* Verifies a BBProPendingCustomerBaseAction message.
|
|
226164
|
+
* @function verify
|
|
226165
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226166
|
+
* @static
|
|
226167
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
226168
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
226169
|
+
*/
|
|
226170
|
+
BBProPendingCustomerBaseAction.verify = function (message, _depth) {
|
|
226171
|
+
if (typeof message !== "object" || message === null)
|
|
226172
|
+
return "object expected";
|
|
226173
|
+
if (_depth === $undefined)
|
|
226174
|
+
_depth = 0;
|
|
226175
|
+
if (_depth > $util.recursionLimit)
|
|
226176
|
+
return "max depth exceeded";
|
|
226177
|
+
var properties = {};
|
|
226178
|
+
if (message.pending != null && $Object.hasOwnProperty.call(message, "pending")) {
|
|
226179
|
+
properties._pending = 1;
|
|
226180
|
+
if (typeof message.pending !== "boolean")
|
|
226181
|
+
return "pending: boolean expected";
|
|
226182
|
+
}
|
|
226183
|
+
return null;
|
|
226184
|
+
};
|
|
226185
|
+
|
|
226186
|
+
/**
|
|
226187
|
+
* Creates a BBProPendingCustomerBaseAction message from a plain object. Also converts values to their respective internal types.
|
|
226188
|
+
* @function fromObject
|
|
226189
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226190
|
+
* @static
|
|
226191
|
+
* @param {Object.<string,*>} object Plain object
|
|
226192
|
+
* @returns {waproto.SyncActionValue.BBProPendingCustomerBaseAction} BBProPendingCustomerBaseAction
|
|
226193
|
+
*/
|
|
226194
|
+
BBProPendingCustomerBaseAction.fromObject = function (object, _depth) {
|
|
226195
|
+
if (object instanceof $root.waproto.SyncActionValue.BBProPendingCustomerBaseAction)
|
|
226196
|
+
return object;
|
|
226197
|
+
if (!$util.isObject(object))
|
|
226198
|
+
throw $TypeError(".waproto.SyncActionValue.BBProPendingCustomerBaseAction: object expected");
|
|
226199
|
+
if (_depth === $undefined)
|
|
226200
|
+
_depth = 0;
|
|
226201
|
+
if (_depth > $util.recursionLimit)
|
|
226202
|
+
throw $Error("max depth exceeded");
|
|
226203
|
+
var message = new $root.waproto.SyncActionValue.BBProPendingCustomerBaseAction();
|
|
226204
|
+
if (object.pending != null)
|
|
226205
|
+
message.pending = $Boolean(object.pending);
|
|
226206
|
+
return message;
|
|
226207
|
+
};
|
|
226208
|
+
|
|
226209
|
+
/**
|
|
226210
|
+
* Creates a plain object from a BBProPendingCustomerBaseAction message. Also converts values to other types if specified.
|
|
226211
|
+
* @function toObject
|
|
226212
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226213
|
+
* @static
|
|
226214
|
+
* @param {waproto.SyncActionValue.BBProPendingCustomerBaseAction} message BBProPendingCustomerBaseAction
|
|
226215
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
226216
|
+
* @returns {Object.<string,*>} Plain object
|
|
226217
|
+
*/
|
|
226218
|
+
BBProPendingCustomerBaseAction.toObject = function (message, options, _depth) {
|
|
226219
|
+
if (!options)
|
|
226220
|
+
options = {};
|
|
226221
|
+
if (_depth === $undefined)
|
|
226222
|
+
_depth = 0;
|
|
226223
|
+
if (_depth > $util.recursionLimit)
|
|
226224
|
+
throw $Error("max depth exceeded");
|
|
226225
|
+
var object = {};
|
|
226226
|
+
if (message.pending != null && $Object.hasOwnProperty.call(message, "pending"))
|
|
226227
|
+
object.pending = message.pending;
|
|
226228
|
+
return object;
|
|
226229
|
+
};
|
|
226230
|
+
|
|
226231
|
+
/**
|
|
226232
|
+
* Converts this BBProPendingCustomerBaseAction to JSON.
|
|
226233
|
+
* @function toJSON
|
|
226234
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226235
|
+
* @instance
|
|
226236
|
+
* @returns {Object.<string,*>} JSON object
|
|
226237
|
+
*/
|
|
226238
|
+
BBProPendingCustomerBaseAction.prototype.toJSON = function() {
|
|
226239
|
+
return BBProPendingCustomerBaseAction.toObject(this, $protobuf.util.toJSONOptions);
|
|
226240
|
+
};
|
|
226241
|
+
|
|
226242
|
+
/**
|
|
226243
|
+
* Gets the type url for BBProPendingCustomerBaseAction
|
|
226244
|
+
* @function getTypeUrl
|
|
226245
|
+
* @memberof waproto.SyncActionValue.BBProPendingCustomerBaseAction
|
|
226246
|
+
* @static
|
|
226247
|
+
* @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
226248
|
+
* @returns {string} The type url
|
|
226249
|
+
*/
|
|
226250
|
+
BBProPendingCustomerBaseAction.getTypeUrl = function(prefix) {
|
|
226251
|
+
if (prefix === $undefined)
|
|
226252
|
+
prefix = "type.googleapis.com";
|
|
226253
|
+
return prefix + "/waproto.SyncActionValue.BBProPendingCustomerBaseAction";
|
|
226254
|
+
};
|
|
226255
|
+
|
|
226256
|
+
return BBProPendingCustomerBaseAction;
|
|
226257
|
+
})();
|
|
226258
|
+
|
|
225614
226259
|
SyncActionValue.BizAISettingsNudgeAction = (function() {
|
|
225615
226260
|
|
|
225616
226261
|
/**
|