@wppconnect/wa-proto 2.3000.1023780065 → 2.3000.1023970185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/WAProto.proto +7 -1
- package/dist/index.d.ts +105 -1
- package/dist/index.js +262 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3000.1023970185](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1023888953...v2.3000.1023970185) (2025-06-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1023888953](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1023780065...v2.3000.1023888953) (2025-06-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1023780065](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1023759987...v2.3000.1023780065) (2025-06-12)
|
|
2
10
|
|
|
3
11
|
|
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1023970185
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -328,6 +328,7 @@ message BotCapabilityMetadata {
|
|
|
328
328
|
RICH_RESPONSE_UNIFIED_RESPONSE = 34;
|
|
329
329
|
PROMOTION_MESSAGE = 35;
|
|
330
330
|
SIMPLIFIED_PROFILE_PAGE = 36;
|
|
331
|
+
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
|
|
331
332
|
}
|
|
332
333
|
}
|
|
333
334
|
|
|
@@ -3908,6 +3909,7 @@ message SyncActionValue {
|
|
|
3908
3909
|
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
|
3909
3910
|
optional PaymentTosAction paymentTosAction = 63;
|
|
3910
3911
|
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
3912
|
+
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
3911
3913
|
message AgentAction {
|
|
3912
3914
|
optional string name = 1;
|
|
3913
3915
|
optional int32 deviceID = 2;
|
|
@@ -3927,6 +3929,10 @@ message SyncActionValue {
|
|
|
3927
3929
|
optional bool isSent = 1;
|
|
3928
3930
|
}
|
|
3929
3931
|
|
|
3932
|
+
message BusinessBroadcastAssociationAction {
|
|
3933
|
+
optional bool deleted = 1;
|
|
3934
|
+
}
|
|
3935
|
+
|
|
3930
3936
|
message CallLogAction {
|
|
3931
3937
|
optional CallLogRecord callLogRecord = 1;
|
|
3932
3938
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -3994,7 +3994,8 @@ export namespace waproto {
|
|
|
3994
3994
|
PROACTIVE_MESSAGE = 33,
|
|
3995
3995
|
RICH_RESPONSE_UNIFIED_RESPONSE = 34,
|
|
3996
3996
|
PROMOTION_MESSAGE = 35,
|
|
3997
|
-
SIMPLIFIED_PROFILE_PAGE = 36
|
|
3997
|
+
SIMPLIFIED_PROFILE_PAGE = 36,
|
|
3998
|
+
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37
|
|
3998
3999
|
}
|
|
3999
4000
|
}
|
|
4000
4001
|
|
|
@@ -44681,6 +44682,9 @@ export namespace waproto {
|
|
|
44681
44682
|
|
|
44682
44683
|
/** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction */
|
|
44683
44684
|
privacySettingChannelsPersonalisedRecommendationAction?: (waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
|
|
44685
|
+
|
|
44686
|
+
/** SyncActionValue businessBroadcastAssociationAction */
|
|
44687
|
+
businessBroadcastAssociationAction?: (waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
|
|
44684
44688
|
}
|
|
44685
44689
|
|
|
44686
44690
|
/** Represents a SyncActionValue. */
|
|
@@ -44866,6 +44870,9 @@ export namespace waproto {
|
|
|
44866
44870
|
/** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction. */
|
|
44867
44871
|
public privacySettingChannelsPersonalisedRecommendationAction?: (waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
|
|
44868
44872
|
|
|
44873
|
+
/** SyncActionValue businessBroadcastAssociationAction. */
|
|
44874
|
+
public businessBroadcastAssociationAction?: (waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
|
|
44875
|
+
|
|
44869
44876
|
/**
|
|
44870
44877
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
44871
44878
|
* @param [properties] Properties to set
|
|
@@ -45352,6 +45359,103 @@ export namespace waproto {
|
|
|
45352
45359
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
45353
45360
|
}
|
|
45354
45361
|
|
|
45362
|
+
/** Properties of a BusinessBroadcastAssociationAction. */
|
|
45363
|
+
interface IBusinessBroadcastAssociationAction {
|
|
45364
|
+
|
|
45365
|
+
/** BusinessBroadcastAssociationAction deleted */
|
|
45366
|
+
deleted?: (boolean|null);
|
|
45367
|
+
}
|
|
45368
|
+
|
|
45369
|
+
/** Represents a BusinessBroadcastAssociationAction. */
|
|
45370
|
+
class BusinessBroadcastAssociationAction implements IBusinessBroadcastAssociationAction {
|
|
45371
|
+
|
|
45372
|
+
/**
|
|
45373
|
+
* Constructs a new BusinessBroadcastAssociationAction.
|
|
45374
|
+
* @param [properties] Properties to set
|
|
45375
|
+
*/
|
|
45376
|
+
constructor(properties?: waproto.SyncActionValue.IBusinessBroadcastAssociationAction);
|
|
45377
|
+
|
|
45378
|
+
/** BusinessBroadcastAssociationAction deleted. */
|
|
45379
|
+
public deleted?: (boolean|null);
|
|
45380
|
+
|
|
45381
|
+
/**
|
|
45382
|
+
* Creates a new BusinessBroadcastAssociationAction instance using the specified properties.
|
|
45383
|
+
* @param [properties] Properties to set
|
|
45384
|
+
* @returns BusinessBroadcastAssociationAction instance
|
|
45385
|
+
*/
|
|
45386
|
+
public static create(properties?: waproto.SyncActionValue.IBusinessBroadcastAssociationAction): waproto.SyncActionValue.BusinessBroadcastAssociationAction;
|
|
45387
|
+
|
|
45388
|
+
/**
|
|
45389
|
+
* Encodes the specified BusinessBroadcastAssociationAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages.
|
|
45390
|
+
* @param message BusinessBroadcastAssociationAction message or plain object to encode
|
|
45391
|
+
* @param [writer] Writer to encode to
|
|
45392
|
+
* @returns Writer
|
|
45393
|
+
*/
|
|
45394
|
+
public static encode(message: waproto.SyncActionValue.IBusinessBroadcastAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
45395
|
+
|
|
45396
|
+
/**
|
|
45397
|
+
* Encodes the specified BusinessBroadcastAssociationAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages.
|
|
45398
|
+
* @param message BusinessBroadcastAssociationAction message or plain object to encode
|
|
45399
|
+
* @param [writer] Writer to encode to
|
|
45400
|
+
* @returns Writer
|
|
45401
|
+
*/
|
|
45402
|
+
public static encodeDelimited(message: waproto.SyncActionValue.IBusinessBroadcastAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
45403
|
+
|
|
45404
|
+
/**
|
|
45405
|
+
* Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer.
|
|
45406
|
+
* @param reader Reader or buffer to decode from
|
|
45407
|
+
* @param [length] Message length if known beforehand
|
|
45408
|
+
* @returns BusinessBroadcastAssociationAction
|
|
45409
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45410
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45411
|
+
*/
|
|
45412
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessBroadcastAssociationAction;
|
|
45413
|
+
|
|
45414
|
+
/**
|
|
45415
|
+
* Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer, length delimited.
|
|
45416
|
+
* @param reader Reader or buffer to decode from
|
|
45417
|
+
* @returns BusinessBroadcastAssociationAction
|
|
45418
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45419
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45420
|
+
*/
|
|
45421
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessBroadcastAssociationAction;
|
|
45422
|
+
|
|
45423
|
+
/**
|
|
45424
|
+
* Verifies a BusinessBroadcastAssociationAction message.
|
|
45425
|
+
* @param message Plain object to verify
|
|
45426
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
45427
|
+
*/
|
|
45428
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
45429
|
+
|
|
45430
|
+
/**
|
|
45431
|
+
* Creates a BusinessBroadcastAssociationAction message from a plain object. Also converts values to their respective internal types.
|
|
45432
|
+
* @param object Plain object
|
|
45433
|
+
* @returns BusinessBroadcastAssociationAction
|
|
45434
|
+
*/
|
|
45435
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessBroadcastAssociationAction;
|
|
45436
|
+
|
|
45437
|
+
/**
|
|
45438
|
+
* Creates a plain object from a BusinessBroadcastAssociationAction message. Also converts values to other types if specified.
|
|
45439
|
+
* @param message BusinessBroadcastAssociationAction
|
|
45440
|
+
* @param [options] Conversion options
|
|
45441
|
+
* @returns Plain object
|
|
45442
|
+
*/
|
|
45443
|
+
public static toObject(message: waproto.SyncActionValue.BusinessBroadcastAssociationAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
45444
|
+
|
|
45445
|
+
/**
|
|
45446
|
+
* Converts this BusinessBroadcastAssociationAction to JSON.
|
|
45447
|
+
* @returns JSON object
|
|
45448
|
+
*/
|
|
45449
|
+
public toJSON(): { [k: string]: any };
|
|
45450
|
+
|
|
45451
|
+
/**
|
|
45452
|
+
* Gets the default type url for BusinessBroadcastAssociationAction
|
|
45453
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
45454
|
+
* @returns The default type url
|
|
45455
|
+
*/
|
|
45456
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
45457
|
+
}
|
|
45458
|
+
|
|
45355
45459
|
/** Properties of a CallLogAction. */
|
|
45356
45460
|
interface ICallLogAction {
|
|
45357
45461
|
|
package/dist/index.js
CHANGED
|
@@ -11147,6 +11147,7 @@ $root.waproto = (function() {
|
|
|
11147
11147
|
case 34:
|
|
11148
11148
|
case 35:
|
|
11149
11149
|
case 36:
|
|
11150
|
+
case 37:
|
|
11150
11151
|
break;
|
|
11151
11152
|
}
|
|
11152
11153
|
}
|
|
@@ -11324,6 +11325,10 @@ $root.waproto = (function() {
|
|
|
11324
11325
|
case 36:
|
|
11325
11326
|
message.capabilities[i] = 36;
|
|
11326
11327
|
break;
|
|
11328
|
+
case "RICH_RESPONSE_SOURCES_IN_MESSAGE":
|
|
11329
|
+
case 37:
|
|
11330
|
+
message.capabilities[i] = 37;
|
|
11331
|
+
break;
|
|
11327
11332
|
}
|
|
11328
11333
|
}
|
|
11329
11334
|
return message;
|
|
@@ -11419,6 +11424,7 @@ $root.waproto = (function() {
|
|
|
11419
11424
|
* @property {number} RICH_RESPONSE_UNIFIED_RESPONSE=34 RICH_RESPONSE_UNIFIED_RESPONSE value
|
|
11420
11425
|
* @property {number} PROMOTION_MESSAGE=35 PROMOTION_MESSAGE value
|
|
11421
11426
|
* @property {number} SIMPLIFIED_PROFILE_PAGE=36 SIMPLIFIED_PROFILE_PAGE value
|
|
11427
|
+
* @property {number} RICH_RESPONSE_SOURCES_IN_MESSAGE=37 RICH_RESPONSE_SOURCES_IN_MESSAGE value
|
|
11422
11428
|
*/
|
|
11423
11429
|
BotCapabilityMetadata.BotCapabilityType = (function() {
|
|
11424
11430
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -11459,6 +11465,7 @@ $root.waproto = (function() {
|
|
|
11459
11465
|
values[valuesById[34] = "RICH_RESPONSE_UNIFIED_RESPONSE"] = 34;
|
|
11460
11466
|
values[valuesById[35] = "PROMOTION_MESSAGE"] = 35;
|
|
11461
11467
|
values[valuesById[36] = "SIMPLIFIED_PROFILE_PAGE"] = 36;
|
|
11468
|
+
values[valuesById[37] = "RICH_RESPONSE_SOURCES_IN_MESSAGE"] = 37;
|
|
11462
11469
|
return values;
|
|
11463
11470
|
})();
|
|
11464
11471
|
|
|
@@ -137329,6 +137336,7 @@ $root.waproto = (function() {
|
|
|
137329
137336
|
* @property {waproto.SyncActionValue.ICtwaPerCustomerDataSharingAction|null} [ctwaPerCustomerDataSharingAction] SyncActionValue ctwaPerCustomerDataSharingAction
|
|
137330
137337
|
* @property {waproto.SyncActionValue.IPaymentTosAction|null} [paymentTosAction] SyncActionValue paymentTosAction
|
|
137331
137338
|
* @property {waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null} [privacySettingChannelsPersonalisedRecommendationAction] SyncActionValue privacySettingChannelsPersonalisedRecommendationAction
|
|
137339
|
+
* @property {waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null} [businessBroadcastAssociationAction] SyncActionValue businessBroadcastAssociationAction
|
|
137332
137340
|
*/
|
|
137333
137341
|
|
|
137334
137342
|
/**
|
|
@@ -137810,6 +137818,14 @@ $root.waproto = (function() {
|
|
|
137810
137818
|
*/
|
|
137811
137819
|
SyncActionValue.prototype.privacySettingChannelsPersonalisedRecommendationAction = null;
|
|
137812
137820
|
|
|
137821
|
+
/**
|
|
137822
|
+
* SyncActionValue businessBroadcastAssociationAction.
|
|
137823
|
+
* @member {waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null|undefined} businessBroadcastAssociationAction
|
|
137824
|
+
* @memberof waproto.SyncActionValue
|
|
137825
|
+
* @instance
|
|
137826
|
+
*/
|
|
137827
|
+
SyncActionValue.prototype.businessBroadcastAssociationAction = null;
|
|
137828
|
+
|
|
137813
137829
|
// OneOf field names bound to virtual getters and setters
|
|
137814
137830
|
var $oneOfFields;
|
|
137815
137831
|
|
|
@@ -138161,6 +138177,12 @@ $root.waproto = (function() {
|
|
|
138161
138177
|
set: $util.oneOfSetter($oneOfFields)
|
|
138162
138178
|
});
|
|
138163
138179
|
|
|
138180
|
+
// Virtual OneOf for proto3 optional field
|
|
138181
|
+
Object.defineProperty(SyncActionValue.prototype, "_businessBroadcastAssociationAction", {
|
|
138182
|
+
get: $util.oneOfGetter($oneOfFields = ["businessBroadcastAssociationAction"]),
|
|
138183
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
138184
|
+
});
|
|
138185
|
+
|
|
138164
138186
|
/**
|
|
138165
138187
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
138166
138188
|
* @function create
|
|
@@ -138301,6 +138323,8 @@ $root.waproto = (function() {
|
|
|
138301
138323
|
$root.waproto.SyncActionValue.PaymentTosAction.encode(message.paymentTosAction, writer.uint32(/* id 63, wireType 2 =*/506).fork()).ldelim();
|
|
138302
138324
|
if (message.privacySettingChannelsPersonalisedRecommendationAction != null && Object.hasOwnProperty.call(message, "privacySettingChannelsPersonalisedRecommendationAction"))
|
|
138303
138325
|
$root.waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction.encode(message.privacySettingChannelsPersonalisedRecommendationAction, writer.uint32(/* id 64, wireType 2 =*/514).fork()).ldelim();
|
|
138326
|
+
if (message.businessBroadcastAssociationAction != null && Object.hasOwnProperty.call(message, "businessBroadcastAssociationAction"))
|
|
138327
|
+
$root.waproto.SyncActionValue.BusinessBroadcastAssociationAction.encode(message.businessBroadcastAssociationAction, writer.uint32(/* id 65, wireType 2 =*/522).fork()).ldelim();
|
|
138304
138328
|
return writer;
|
|
138305
138329
|
};
|
|
138306
138330
|
|
|
@@ -138567,6 +138591,10 @@ $root.waproto = (function() {
|
|
|
138567
138591
|
message.privacySettingChannelsPersonalisedRecommendationAction = $root.waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction.decode(reader, reader.uint32());
|
|
138568
138592
|
break;
|
|
138569
138593
|
}
|
|
138594
|
+
case 65: {
|
|
138595
|
+
message.businessBroadcastAssociationAction = $root.waproto.SyncActionValue.BusinessBroadcastAssociationAction.decode(reader, reader.uint32());
|
|
138596
|
+
break;
|
|
138597
|
+
}
|
|
138570
138598
|
default:
|
|
138571
138599
|
reader.skipType(tag & 7);
|
|
138572
138600
|
break;
|
|
@@ -139064,6 +139092,14 @@ $root.waproto = (function() {
|
|
|
139064
139092
|
return "privacySettingChannelsPersonalisedRecommendationAction." + error;
|
|
139065
139093
|
}
|
|
139066
139094
|
}
|
|
139095
|
+
if (message.businessBroadcastAssociationAction != null && message.hasOwnProperty("businessBroadcastAssociationAction")) {
|
|
139096
|
+
properties._businessBroadcastAssociationAction = 1;
|
|
139097
|
+
{
|
|
139098
|
+
var error = $root.waproto.SyncActionValue.BusinessBroadcastAssociationAction.verify(message.businessBroadcastAssociationAction);
|
|
139099
|
+
if (error)
|
|
139100
|
+
return "businessBroadcastAssociationAction." + error;
|
|
139101
|
+
}
|
|
139102
|
+
}
|
|
139067
139103
|
return null;
|
|
139068
139104
|
};
|
|
139069
139105
|
|
|
@@ -139373,6 +139409,11 @@ $root.waproto = (function() {
|
|
|
139373
139409
|
throw TypeError(".waproto.SyncActionValue.privacySettingChannelsPersonalisedRecommendationAction: object expected");
|
|
139374
139410
|
message.privacySettingChannelsPersonalisedRecommendationAction = $root.waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction.fromObject(object.privacySettingChannelsPersonalisedRecommendationAction);
|
|
139375
139411
|
}
|
|
139412
|
+
if (object.businessBroadcastAssociationAction != null) {
|
|
139413
|
+
if (typeof object.businessBroadcastAssociationAction !== "object")
|
|
139414
|
+
throw TypeError(".waproto.SyncActionValue.businessBroadcastAssociationAction: object expected");
|
|
139415
|
+
message.businessBroadcastAssociationAction = $root.waproto.SyncActionValue.BusinessBroadcastAssociationAction.fromObject(object.businessBroadcastAssociationAction);
|
|
139416
|
+
}
|
|
139376
139417
|
return message;
|
|
139377
139418
|
};
|
|
139378
139419
|
|
|
@@ -139682,6 +139723,11 @@ $root.waproto = (function() {
|
|
|
139682
139723
|
if (options.oneofs)
|
|
139683
139724
|
object._privacySettingChannelsPersonalisedRecommendationAction = "privacySettingChannelsPersonalisedRecommendationAction";
|
|
139684
139725
|
}
|
|
139726
|
+
if (message.businessBroadcastAssociationAction != null && message.hasOwnProperty("businessBroadcastAssociationAction")) {
|
|
139727
|
+
object.businessBroadcastAssociationAction = $root.waproto.SyncActionValue.BusinessBroadcastAssociationAction.toObject(message.businessBroadcastAssociationAction, options);
|
|
139728
|
+
if (options.oneofs)
|
|
139729
|
+
object._businessBroadcastAssociationAction = "businessBroadcastAssociationAction";
|
|
139730
|
+
}
|
|
139685
139731
|
return object;
|
|
139686
139732
|
};
|
|
139687
139733
|
|
|
@@ -140680,6 +140726,222 @@ $root.waproto = (function() {
|
|
|
140680
140726
|
return BotWelcomeRequestAction;
|
|
140681
140727
|
})();
|
|
140682
140728
|
|
|
140729
|
+
SyncActionValue.BusinessBroadcastAssociationAction = (function() {
|
|
140730
|
+
|
|
140731
|
+
/**
|
|
140732
|
+
* Properties of a BusinessBroadcastAssociationAction.
|
|
140733
|
+
* @memberof waproto.SyncActionValue
|
|
140734
|
+
* @interface IBusinessBroadcastAssociationAction
|
|
140735
|
+
* @property {boolean|null} [deleted] BusinessBroadcastAssociationAction deleted
|
|
140736
|
+
*/
|
|
140737
|
+
|
|
140738
|
+
/**
|
|
140739
|
+
* Constructs a new BusinessBroadcastAssociationAction.
|
|
140740
|
+
* @memberof waproto.SyncActionValue
|
|
140741
|
+
* @classdesc Represents a BusinessBroadcastAssociationAction.
|
|
140742
|
+
* @implements IBusinessBroadcastAssociationAction
|
|
140743
|
+
* @constructor
|
|
140744
|
+
* @param {waproto.SyncActionValue.IBusinessBroadcastAssociationAction=} [properties] Properties to set
|
|
140745
|
+
*/
|
|
140746
|
+
function BusinessBroadcastAssociationAction(properties) {
|
|
140747
|
+
if (properties)
|
|
140748
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
140749
|
+
if (properties[keys[i]] != null)
|
|
140750
|
+
this[keys[i]] = properties[keys[i]];
|
|
140751
|
+
}
|
|
140752
|
+
|
|
140753
|
+
/**
|
|
140754
|
+
* BusinessBroadcastAssociationAction deleted.
|
|
140755
|
+
* @member {boolean|null|undefined} deleted
|
|
140756
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140757
|
+
* @instance
|
|
140758
|
+
*/
|
|
140759
|
+
BusinessBroadcastAssociationAction.prototype.deleted = null;
|
|
140760
|
+
|
|
140761
|
+
// OneOf field names bound to virtual getters and setters
|
|
140762
|
+
var $oneOfFields;
|
|
140763
|
+
|
|
140764
|
+
// Virtual OneOf for proto3 optional field
|
|
140765
|
+
Object.defineProperty(BusinessBroadcastAssociationAction.prototype, "_deleted", {
|
|
140766
|
+
get: $util.oneOfGetter($oneOfFields = ["deleted"]),
|
|
140767
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
140768
|
+
});
|
|
140769
|
+
|
|
140770
|
+
/**
|
|
140771
|
+
* Creates a new BusinessBroadcastAssociationAction instance using the specified properties.
|
|
140772
|
+
* @function create
|
|
140773
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140774
|
+
* @static
|
|
140775
|
+
* @param {waproto.SyncActionValue.IBusinessBroadcastAssociationAction=} [properties] Properties to set
|
|
140776
|
+
* @returns {waproto.SyncActionValue.BusinessBroadcastAssociationAction} BusinessBroadcastAssociationAction instance
|
|
140777
|
+
*/
|
|
140778
|
+
BusinessBroadcastAssociationAction.create = function create(properties) {
|
|
140779
|
+
return new BusinessBroadcastAssociationAction(properties);
|
|
140780
|
+
};
|
|
140781
|
+
|
|
140782
|
+
/**
|
|
140783
|
+
* Encodes the specified BusinessBroadcastAssociationAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages.
|
|
140784
|
+
* @function encode
|
|
140785
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140786
|
+
* @static
|
|
140787
|
+
* @param {waproto.SyncActionValue.IBusinessBroadcastAssociationAction} message BusinessBroadcastAssociationAction message or plain object to encode
|
|
140788
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140789
|
+
* @returns {$protobuf.Writer} Writer
|
|
140790
|
+
*/
|
|
140791
|
+
BusinessBroadcastAssociationAction.encode = function encode(message, writer) {
|
|
140792
|
+
if (!writer)
|
|
140793
|
+
writer = $Writer.create();
|
|
140794
|
+
if (message.deleted != null && Object.hasOwnProperty.call(message, "deleted"))
|
|
140795
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.deleted);
|
|
140796
|
+
return writer;
|
|
140797
|
+
};
|
|
140798
|
+
|
|
140799
|
+
/**
|
|
140800
|
+
* Encodes the specified BusinessBroadcastAssociationAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages.
|
|
140801
|
+
* @function encodeDelimited
|
|
140802
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140803
|
+
* @static
|
|
140804
|
+
* @param {waproto.SyncActionValue.IBusinessBroadcastAssociationAction} message BusinessBroadcastAssociationAction message or plain object to encode
|
|
140805
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140806
|
+
* @returns {$protobuf.Writer} Writer
|
|
140807
|
+
*/
|
|
140808
|
+
BusinessBroadcastAssociationAction.encodeDelimited = function encodeDelimited(message, writer) {
|
|
140809
|
+
return this.encode(message, writer).ldelim();
|
|
140810
|
+
};
|
|
140811
|
+
|
|
140812
|
+
/**
|
|
140813
|
+
* Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer.
|
|
140814
|
+
* @function decode
|
|
140815
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140816
|
+
* @static
|
|
140817
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140818
|
+
* @param {number} [length] Message length if known beforehand
|
|
140819
|
+
* @returns {waproto.SyncActionValue.BusinessBroadcastAssociationAction} BusinessBroadcastAssociationAction
|
|
140820
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140821
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140822
|
+
*/
|
|
140823
|
+
BusinessBroadcastAssociationAction.decode = function decode(reader, length) {
|
|
140824
|
+
if (!(reader instanceof $Reader))
|
|
140825
|
+
reader = $Reader.create(reader);
|
|
140826
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.waproto.SyncActionValue.BusinessBroadcastAssociationAction();
|
|
140827
|
+
while (reader.pos < end) {
|
|
140828
|
+
var tag = reader.uint32();
|
|
140829
|
+
switch (tag >>> 3) {
|
|
140830
|
+
case 1: {
|
|
140831
|
+
message.deleted = reader.bool();
|
|
140832
|
+
break;
|
|
140833
|
+
}
|
|
140834
|
+
default:
|
|
140835
|
+
reader.skipType(tag & 7);
|
|
140836
|
+
break;
|
|
140837
|
+
}
|
|
140838
|
+
}
|
|
140839
|
+
return message;
|
|
140840
|
+
};
|
|
140841
|
+
|
|
140842
|
+
/**
|
|
140843
|
+
* Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer, length delimited.
|
|
140844
|
+
* @function decodeDelimited
|
|
140845
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140846
|
+
* @static
|
|
140847
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140848
|
+
* @returns {waproto.SyncActionValue.BusinessBroadcastAssociationAction} BusinessBroadcastAssociationAction
|
|
140849
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140850
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140851
|
+
*/
|
|
140852
|
+
BusinessBroadcastAssociationAction.decodeDelimited = function decodeDelimited(reader) {
|
|
140853
|
+
if (!(reader instanceof $Reader))
|
|
140854
|
+
reader = new $Reader(reader);
|
|
140855
|
+
return this.decode(reader, reader.uint32());
|
|
140856
|
+
};
|
|
140857
|
+
|
|
140858
|
+
/**
|
|
140859
|
+
* Verifies a BusinessBroadcastAssociationAction message.
|
|
140860
|
+
* @function verify
|
|
140861
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140862
|
+
* @static
|
|
140863
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
140864
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
140865
|
+
*/
|
|
140866
|
+
BusinessBroadcastAssociationAction.verify = function verify(message) {
|
|
140867
|
+
if (typeof message !== "object" || message === null)
|
|
140868
|
+
return "object expected";
|
|
140869
|
+
var properties = {};
|
|
140870
|
+
if (message.deleted != null && message.hasOwnProperty("deleted")) {
|
|
140871
|
+
properties._deleted = 1;
|
|
140872
|
+
if (typeof message.deleted !== "boolean")
|
|
140873
|
+
return "deleted: boolean expected";
|
|
140874
|
+
}
|
|
140875
|
+
return null;
|
|
140876
|
+
};
|
|
140877
|
+
|
|
140878
|
+
/**
|
|
140879
|
+
* Creates a BusinessBroadcastAssociationAction message from a plain object. Also converts values to their respective internal types.
|
|
140880
|
+
* @function fromObject
|
|
140881
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140882
|
+
* @static
|
|
140883
|
+
* @param {Object.<string,*>} object Plain object
|
|
140884
|
+
* @returns {waproto.SyncActionValue.BusinessBroadcastAssociationAction} BusinessBroadcastAssociationAction
|
|
140885
|
+
*/
|
|
140886
|
+
BusinessBroadcastAssociationAction.fromObject = function fromObject(object) {
|
|
140887
|
+
if (object instanceof $root.waproto.SyncActionValue.BusinessBroadcastAssociationAction)
|
|
140888
|
+
return object;
|
|
140889
|
+
var message = new $root.waproto.SyncActionValue.BusinessBroadcastAssociationAction();
|
|
140890
|
+
if (object.deleted != null)
|
|
140891
|
+
message.deleted = Boolean(object.deleted);
|
|
140892
|
+
return message;
|
|
140893
|
+
};
|
|
140894
|
+
|
|
140895
|
+
/**
|
|
140896
|
+
* Creates a plain object from a BusinessBroadcastAssociationAction message. Also converts values to other types if specified.
|
|
140897
|
+
* @function toObject
|
|
140898
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140899
|
+
* @static
|
|
140900
|
+
* @param {waproto.SyncActionValue.BusinessBroadcastAssociationAction} message BusinessBroadcastAssociationAction
|
|
140901
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
140902
|
+
* @returns {Object.<string,*>} Plain object
|
|
140903
|
+
*/
|
|
140904
|
+
BusinessBroadcastAssociationAction.toObject = function toObject(message, options) {
|
|
140905
|
+
if (!options)
|
|
140906
|
+
options = {};
|
|
140907
|
+
var object = {};
|
|
140908
|
+
if (message.deleted != null && message.hasOwnProperty("deleted")) {
|
|
140909
|
+
object.deleted = message.deleted;
|
|
140910
|
+
if (options.oneofs)
|
|
140911
|
+
object._deleted = "deleted";
|
|
140912
|
+
}
|
|
140913
|
+
return object;
|
|
140914
|
+
};
|
|
140915
|
+
|
|
140916
|
+
/**
|
|
140917
|
+
* Converts this BusinessBroadcastAssociationAction to JSON.
|
|
140918
|
+
* @function toJSON
|
|
140919
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140920
|
+
* @instance
|
|
140921
|
+
* @returns {Object.<string,*>} JSON object
|
|
140922
|
+
*/
|
|
140923
|
+
BusinessBroadcastAssociationAction.prototype.toJSON = function toJSON() {
|
|
140924
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
140925
|
+
};
|
|
140926
|
+
|
|
140927
|
+
/**
|
|
140928
|
+
* Gets the default type url for BusinessBroadcastAssociationAction
|
|
140929
|
+
* @function getTypeUrl
|
|
140930
|
+
* @memberof waproto.SyncActionValue.BusinessBroadcastAssociationAction
|
|
140931
|
+
* @static
|
|
140932
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
140933
|
+
* @returns {string} The default type url
|
|
140934
|
+
*/
|
|
140935
|
+
BusinessBroadcastAssociationAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
140936
|
+
if (typeUrlPrefix === undefined) {
|
|
140937
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
140938
|
+
}
|
|
140939
|
+
return typeUrlPrefix + "/waproto.SyncActionValue.BusinessBroadcastAssociationAction";
|
|
140940
|
+
};
|
|
140941
|
+
|
|
140942
|
+
return BusinessBroadcastAssociationAction;
|
|
140943
|
+
})();
|
|
140944
|
+
|
|
140683
140945
|
SyncActionValue.CallLogAction = (function() {
|
|
140684
140946
|
|
|
140685
140947
|
/**
|