@juzi/wechaty-grpc 1.0.50 → 1.0.52
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/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +46 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.js +454 -52
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +14 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +12 -1
- package/dist/cjs/proto/wechaty/puppet/contact.proto +27 -19
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +46 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.js +454 -52
- package/dist/esm/out/wechaty/puppet.openapi.yaml +14 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +12 -1
- package/dist/esm/proto/wechaty/puppet/contact.proto +27 -19
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/contact_pb.d.ts +46 -0
- package/out/wechaty/puppet/contact_pb.js +454 -52
- package/out/wechaty/puppet.openapi.yaml +14 -1
- package/out/wechaty/puppet.swagger.json +12 -1
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -4447,7 +4447,9 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.toObject = function(includeInst
|
|
|
4447
4447
|
coworker: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
4448
4448
|
phonesList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f,
|
|
4449
4449
|
additionalInfo: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
4450
|
-
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f
|
|
4450
|
+
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f,
|
|
4451
|
+
clearPhones: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
4452
|
+
clearTagIds: jspb.Message.getBooleanFieldWithDefault(msg, 22, false)
|
|
4451
4453
|
};
|
|
4452
4454
|
|
|
4453
4455
|
if (includeInstance) {
|
|
@@ -4564,6 +4566,14 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.deserializeBinaryFromReader = f
|
|
|
4564
4566
|
var value = /** @type {string} */ (reader.readString());
|
|
4565
4567
|
msg.addTagIds(value);
|
|
4566
4568
|
break;
|
|
4569
|
+
case 21:
|
|
4570
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4571
|
+
msg.setClearPhones(value);
|
|
4572
|
+
break;
|
|
4573
|
+
case 22:
|
|
4574
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4575
|
+
msg.setClearTagIds(value);
|
|
4576
|
+
break;
|
|
4567
4577
|
default:
|
|
4568
4578
|
reader.skipField();
|
|
4569
4579
|
break;
|
|
@@ -4600,113 +4610,113 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.serializeBinaryToWriter = funct
|
|
|
4600
4610
|
f
|
|
4601
4611
|
);
|
|
4602
4612
|
}
|
|
4603
|
-
f =
|
|
4604
|
-
if (f
|
|
4613
|
+
f = /** @type {!proto.wechaty.puppet.ContactGender} */ (jspb.Message.getField(message, 2));
|
|
4614
|
+
if (f != null) {
|
|
4605
4615
|
writer.writeEnum(
|
|
4606
4616
|
2,
|
|
4607
4617
|
f
|
|
4608
4618
|
);
|
|
4609
4619
|
}
|
|
4610
|
-
f =
|
|
4611
|
-
if (f
|
|
4620
|
+
f = /** @type {!proto.wechaty.puppet.ContactType} */ (jspb.Message.getField(message, 3));
|
|
4621
|
+
if (f != null) {
|
|
4612
4622
|
writer.writeEnum(
|
|
4613
4623
|
3,
|
|
4614
4624
|
f
|
|
4615
4625
|
);
|
|
4616
4626
|
}
|
|
4617
|
-
f =
|
|
4618
|
-
if (f
|
|
4627
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
4628
|
+
if (f != null) {
|
|
4619
4629
|
writer.writeString(
|
|
4620
4630
|
4,
|
|
4621
4631
|
f
|
|
4622
4632
|
);
|
|
4623
4633
|
}
|
|
4624
|
-
f =
|
|
4625
|
-
if (f
|
|
4634
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
4635
|
+
if (f != null) {
|
|
4626
4636
|
writer.writeString(
|
|
4627
4637
|
5,
|
|
4628
4638
|
f
|
|
4629
4639
|
);
|
|
4630
4640
|
}
|
|
4631
|
-
f =
|
|
4632
|
-
if (f
|
|
4641
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
4642
|
+
if (f != null) {
|
|
4633
4643
|
writer.writeString(
|
|
4634
4644
|
6,
|
|
4635
4645
|
f
|
|
4636
4646
|
);
|
|
4637
4647
|
}
|
|
4638
|
-
f =
|
|
4639
|
-
if (f
|
|
4648
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
4649
|
+
if (f != null) {
|
|
4640
4650
|
writer.writeString(
|
|
4641
4651
|
7,
|
|
4642
4652
|
f
|
|
4643
4653
|
);
|
|
4644
4654
|
}
|
|
4645
|
-
f =
|
|
4646
|
-
if (f
|
|
4655
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
4656
|
+
if (f != null) {
|
|
4647
4657
|
writer.writeString(
|
|
4648
4658
|
8,
|
|
4649
4659
|
f
|
|
4650
4660
|
);
|
|
4651
4661
|
}
|
|
4652
|
-
f =
|
|
4653
|
-
if (f) {
|
|
4662
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
|
|
4663
|
+
if (f != null) {
|
|
4654
4664
|
writer.writeBool(
|
|
4655
4665
|
9,
|
|
4656
4666
|
f
|
|
4657
4667
|
);
|
|
4658
4668
|
}
|
|
4659
|
-
f =
|
|
4660
|
-
if (f
|
|
4669
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4670
|
+
if (f != null) {
|
|
4661
4671
|
writer.writeString(
|
|
4662
4672
|
10,
|
|
4663
4673
|
f
|
|
4664
4674
|
);
|
|
4665
4675
|
}
|
|
4666
|
-
f =
|
|
4667
|
-
if (f
|
|
4676
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
4677
|
+
if (f != null) {
|
|
4668
4678
|
writer.writeString(
|
|
4669
4679
|
11,
|
|
4670
4680
|
f
|
|
4671
4681
|
);
|
|
4672
4682
|
}
|
|
4673
|
-
f =
|
|
4674
|
-
if (f) {
|
|
4683
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
|
|
4684
|
+
if (f != null) {
|
|
4675
4685
|
writer.writeBool(
|
|
4676
4686
|
12,
|
|
4677
4687
|
f
|
|
4678
4688
|
);
|
|
4679
4689
|
}
|
|
4680
|
-
f =
|
|
4681
|
-
if (f
|
|
4690
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
4691
|
+
if (f != null) {
|
|
4682
4692
|
writer.writeString(
|
|
4683
4693
|
13,
|
|
4684
4694
|
f
|
|
4685
4695
|
);
|
|
4686
4696
|
}
|
|
4687
|
-
f =
|
|
4688
|
-
if (f
|
|
4697
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
4698
|
+
if (f != null) {
|
|
4689
4699
|
writer.writeString(
|
|
4690
4700
|
14,
|
|
4691
4701
|
f
|
|
4692
4702
|
);
|
|
4693
4703
|
}
|
|
4694
|
-
f =
|
|
4695
|
-
if (f
|
|
4704
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
4705
|
+
if (f != null) {
|
|
4696
4706
|
writer.writeString(
|
|
4697
4707
|
15,
|
|
4698
4708
|
f
|
|
4699
4709
|
);
|
|
4700
4710
|
}
|
|
4701
|
-
f =
|
|
4702
|
-
if (f
|
|
4711
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
4712
|
+
if (f != null) {
|
|
4703
4713
|
writer.writeString(
|
|
4704
4714
|
16,
|
|
4705
4715
|
f
|
|
4706
4716
|
);
|
|
4707
4717
|
}
|
|
4708
|
-
f =
|
|
4709
|
-
if (f) {
|
|
4718
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 17));
|
|
4719
|
+
if (f != null) {
|
|
4710
4720
|
writer.writeBool(
|
|
4711
4721
|
17,
|
|
4712
4722
|
f
|
|
@@ -4719,8 +4729,8 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.serializeBinaryToWriter = funct
|
|
|
4719
4729
|
f
|
|
4720
4730
|
);
|
|
4721
4731
|
}
|
|
4722
|
-
f =
|
|
4723
|
-
if (f
|
|
4732
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
4733
|
+
if (f != null) {
|
|
4724
4734
|
writer.writeString(
|
|
4725
4735
|
19,
|
|
4726
4736
|
f
|
|
@@ -4733,6 +4743,20 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.serializeBinaryToWriter = funct
|
|
|
4733
4743
|
f
|
|
4734
4744
|
);
|
|
4735
4745
|
}
|
|
4746
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 21));
|
|
4747
|
+
if (f != null) {
|
|
4748
|
+
writer.writeBool(
|
|
4749
|
+
21,
|
|
4750
|
+
f
|
|
4751
|
+
);
|
|
4752
|
+
}
|
|
4753
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 22));
|
|
4754
|
+
if (f != null) {
|
|
4755
|
+
writer.writeBool(
|
|
4756
|
+
22,
|
|
4757
|
+
f
|
|
4758
|
+
);
|
|
4759
|
+
}
|
|
4736
4760
|
};
|
|
4737
4761
|
|
|
4738
4762
|
|
|
@@ -4768,7 +4792,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getGender = function(
|
|
|
4768
4792
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4769
4793
|
*/
|
|
4770
4794
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setGender = function(value) {
|
|
4771
|
-
return jspb.Message.
|
|
4795
|
+
return jspb.Message.setField(this, 2, value);
|
|
4796
|
+
};
|
|
4797
|
+
|
|
4798
|
+
|
|
4799
|
+
/**
|
|
4800
|
+
* Clears the field making it undefined.
|
|
4801
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4802
|
+
*/
|
|
4803
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearGender = function() {
|
|
4804
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4805
|
+
};
|
|
4806
|
+
|
|
4807
|
+
|
|
4808
|
+
/**
|
|
4809
|
+
* Returns whether this field is set.
|
|
4810
|
+
* @return {boolean}
|
|
4811
|
+
*/
|
|
4812
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasGender = function() {
|
|
4813
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4772
4814
|
};
|
|
4773
4815
|
|
|
4774
4816
|
|
|
@@ -4786,7 +4828,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getType = function()
|
|
|
4786
4828
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4787
4829
|
*/
|
|
4788
4830
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setType = function(value) {
|
|
4789
|
-
return jspb.Message.
|
|
4831
|
+
return jspb.Message.setField(this, 3, value);
|
|
4832
|
+
};
|
|
4833
|
+
|
|
4834
|
+
|
|
4835
|
+
/**
|
|
4836
|
+
* Clears the field making it undefined.
|
|
4837
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4838
|
+
*/
|
|
4839
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearType = function() {
|
|
4840
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
4841
|
+
};
|
|
4842
|
+
|
|
4843
|
+
|
|
4844
|
+
/**
|
|
4845
|
+
* Returns whether this field is set.
|
|
4846
|
+
* @return {boolean}
|
|
4847
|
+
*/
|
|
4848
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasType = function() {
|
|
4849
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4790
4850
|
};
|
|
4791
4851
|
|
|
4792
4852
|
|
|
@@ -4804,7 +4864,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getName = function()
|
|
|
4804
4864
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4805
4865
|
*/
|
|
4806
4866
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setName = function(value) {
|
|
4807
|
-
return jspb.Message.
|
|
4867
|
+
return jspb.Message.setField(this, 4, value);
|
|
4868
|
+
};
|
|
4869
|
+
|
|
4870
|
+
|
|
4871
|
+
/**
|
|
4872
|
+
* Clears the field making it undefined.
|
|
4873
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4874
|
+
*/
|
|
4875
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearName = function() {
|
|
4876
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4877
|
+
};
|
|
4878
|
+
|
|
4879
|
+
|
|
4880
|
+
/**
|
|
4881
|
+
* Returns whether this field is set.
|
|
4882
|
+
* @return {boolean}
|
|
4883
|
+
*/
|
|
4884
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasName = function() {
|
|
4885
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4808
4886
|
};
|
|
4809
4887
|
|
|
4810
4888
|
|
|
@@ -4822,7 +4900,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAvatar = function(
|
|
|
4822
4900
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4823
4901
|
*/
|
|
4824
4902
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAvatar = function(value) {
|
|
4825
|
-
return jspb.Message.
|
|
4903
|
+
return jspb.Message.setField(this, 5, value);
|
|
4904
|
+
};
|
|
4905
|
+
|
|
4906
|
+
|
|
4907
|
+
/**
|
|
4908
|
+
* Clears the field making it undefined.
|
|
4909
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4910
|
+
*/
|
|
4911
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAvatar = function() {
|
|
4912
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
4913
|
+
};
|
|
4914
|
+
|
|
4915
|
+
|
|
4916
|
+
/**
|
|
4917
|
+
* Returns whether this field is set.
|
|
4918
|
+
* @return {boolean}
|
|
4919
|
+
*/
|
|
4920
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAvatar = function() {
|
|
4921
|
+
return jspb.Message.getField(this, 5) != null;
|
|
4826
4922
|
};
|
|
4827
4923
|
|
|
4828
4924
|
|
|
@@ -4840,7 +4936,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAddress = function
|
|
|
4840
4936
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4841
4937
|
*/
|
|
4842
4938
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAddress = function(value) {
|
|
4843
|
-
return jspb.Message.
|
|
4939
|
+
return jspb.Message.setField(this, 6, value);
|
|
4940
|
+
};
|
|
4941
|
+
|
|
4942
|
+
|
|
4943
|
+
/**
|
|
4944
|
+
* Clears the field making it undefined.
|
|
4945
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4946
|
+
*/
|
|
4947
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAddress = function() {
|
|
4948
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
4949
|
+
};
|
|
4950
|
+
|
|
4951
|
+
|
|
4952
|
+
/**
|
|
4953
|
+
* Returns whether this field is set.
|
|
4954
|
+
* @return {boolean}
|
|
4955
|
+
*/
|
|
4956
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAddress = function() {
|
|
4957
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4844
4958
|
};
|
|
4845
4959
|
|
|
4846
4960
|
|
|
@@ -4858,7 +4972,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAlias = function()
|
|
|
4858
4972
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4859
4973
|
*/
|
|
4860
4974
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAlias = function(value) {
|
|
4861
|
-
return jspb.Message.
|
|
4975
|
+
return jspb.Message.setField(this, 7, value);
|
|
4976
|
+
};
|
|
4977
|
+
|
|
4978
|
+
|
|
4979
|
+
/**
|
|
4980
|
+
* Clears the field making it undefined.
|
|
4981
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4982
|
+
*/
|
|
4983
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAlias = function() {
|
|
4984
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
4985
|
+
};
|
|
4986
|
+
|
|
4987
|
+
|
|
4988
|
+
/**
|
|
4989
|
+
* Returns whether this field is set.
|
|
4990
|
+
* @return {boolean}
|
|
4991
|
+
*/
|
|
4992
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAlias = function() {
|
|
4993
|
+
return jspb.Message.getField(this, 7) != null;
|
|
4862
4994
|
};
|
|
4863
4995
|
|
|
4864
4996
|
|
|
@@ -4876,7 +5008,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getCity = function()
|
|
|
4876
5008
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4877
5009
|
*/
|
|
4878
5010
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setCity = function(value) {
|
|
4879
|
-
return jspb.Message.
|
|
5011
|
+
return jspb.Message.setField(this, 8, value);
|
|
5012
|
+
};
|
|
5013
|
+
|
|
5014
|
+
|
|
5015
|
+
/**
|
|
5016
|
+
* Clears the field making it undefined.
|
|
5017
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5018
|
+
*/
|
|
5019
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearCity = function() {
|
|
5020
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
5021
|
+
};
|
|
5022
|
+
|
|
5023
|
+
|
|
5024
|
+
/**
|
|
5025
|
+
* Returns whether this field is set.
|
|
5026
|
+
* @return {boolean}
|
|
5027
|
+
*/
|
|
5028
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasCity = function() {
|
|
5029
|
+
return jspb.Message.getField(this, 8) != null;
|
|
4880
5030
|
};
|
|
4881
5031
|
|
|
4882
5032
|
|
|
@@ -4894,7 +5044,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getFriend = function(
|
|
|
4894
5044
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4895
5045
|
*/
|
|
4896
5046
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setFriend = function(value) {
|
|
4897
|
-
return jspb.Message.
|
|
5047
|
+
return jspb.Message.setField(this, 9, value);
|
|
5048
|
+
};
|
|
5049
|
+
|
|
5050
|
+
|
|
5051
|
+
/**
|
|
5052
|
+
* Clears the field making it undefined.
|
|
5053
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5054
|
+
*/
|
|
5055
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearFriend = function() {
|
|
5056
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
5057
|
+
};
|
|
5058
|
+
|
|
5059
|
+
|
|
5060
|
+
/**
|
|
5061
|
+
* Returns whether this field is set.
|
|
5062
|
+
* @return {boolean}
|
|
5063
|
+
*/
|
|
5064
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasFriend = function() {
|
|
5065
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4898
5066
|
};
|
|
4899
5067
|
|
|
4900
5068
|
|
|
@@ -4912,7 +5080,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getProvince = functio
|
|
|
4912
5080
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4913
5081
|
*/
|
|
4914
5082
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setProvince = function(value) {
|
|
4915
|
-
return jspb.Message.
|
|
5083
|
+
return jspb.Message.setField(this, 10, value);
|
|
5084
|
+
};
|
|
5085
|
+
|
|
5086
|
+
|
|
5087
|
+
/**
|
|
5088
|
+
* Clears the field making it undefined.
|
|
5089
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5090
|
+
*/
|
|
5091
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearProvince = function() {
|
|
5092
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
5093
|
+
};
|
|
5094
|
+
|
|
5095
|
+
|
|
5096
|
+
/**
|
|
5097
|
+
* Returns whether this field is set.
|
|
5098
|
+
* @return {boolean}
|
|
5099
|
+
*/
|
|
5100
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasProvince = function() {
|
|
5101
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4916
5102
|
};
|
|
4917
5103
|
|
|
4918
5104
|
|
|
@@ -4930,7 +5116,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getSignature = functi
|
|
|
4930
5116
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4931
5117
|
*/
|
|
4932
5118
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setSignature = function(value) {
|
|
4933
|
-
return jspb.Message.
|
|
5119
|
+
return jspb.Message.setField(this, 11, value);
|
|
5120
|
+
};
|
|
5121
|
+
|
|
5122
|
+
|
|
5123
|
+
/**
|
|
5124
|
+
* Clears the field making it undefined.
|
|
5125
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5126
|
+
*/
|
|
5127
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearSignature = function() {
|
|
5128
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
5129
|
+
};
|
|
5130
|
+
|
|
5131
|
+
|
|
5132
|
+
/**
|
|
5133
|
+
* Returns whether this field is set.
|
|
5134
|
+
* @return {boolean}
|
|
5135
|
+
*/
|
|
5136
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasSignature = function() {
|
|
5137
|
+
return jspb.Message.getField(this, 11) != null;
|
|
4934
5138
|
};
|
|
4935
5139
|
|
|
4936
5140
|
|
|
@@ -4948,7 +5152,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getStar = function()
|
|
|
4948
5152
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4949
5153
|
*/
|
|
4950
5154
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setStar = function(value) {
|
|
4951
|
-
return jspb.Message.
|
|
5155
|
+
return jspb.Message.setField(this, 12, value);
|
|
5156
|
+
};
|
|
5157
|
+
|
|
5158
|
+
|
|
5159
|
+
/**
|
|
5160
|
+
* Clears the field making it undefined.
|
|
5161
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5162
|
+
*/
|
|
5163
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearStar = function() {
|
|
5164
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
5165
|
+
};
|
|
5166
|
+
|
|
5167
|
+
|
|
5168
|
+
/**
|
|
5169
|
+
* Returns whether this field is set.
|
|
5170
|
+
* @return {boolean}
|
|
5171
|
+
*/
|
|
5172
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasStar = function() {
|
|
5173
|
+
return jspb.Message.getField(this, 12) != null;
|
|
4952
5174
|
};
|
|
4953
5175
|
|
|
4954
5176
|
|
|
@@ -4966,7 +5188,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getWeixin = function(
|
|
|
4966
5188
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4967
5189
|
*/
|
|
4968
5190
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setWeixin = function(value) {
|
|
4969
|
-
return jspb.Message.
|
|
5191
|
+
return jspb.Message.setField(this, 13, value);
|
|
5192
|
+
};
|
|
5193
|
+
|
|
5194
|
+
|
|
5195
|
+
/**
|
|
5196
|
+
* Clears the field making it undefined.
|
|
5197
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5198
|
+
*/
|
|
5199
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearWeixin = function() {
|
|
5200
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
5201
|
+
};
|
|
5202
|
+
|
|
5203
|
+
|
|
5204
|
+
/**
|
|
5205
|
+
* Returns whether this field is set.
|
|
5206
|
+
* @return {boolean}
|
|
5207
|
+
*/
|
|
5208
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasWeixin = function() {
|
|
5209
|
+
return jspb.Message.getField(this, 13) != null;
|
|
4970
5210
|
};
|
|
4971
5211
|
|
|
4972
5212
|
|
|
@@ -4984,7 +5224,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getCorporation = func
|
|
|
4984
5224
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4985
5225
|
*/
|
|
4986
5226
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setCorporation = function(value) {
|
|
4987
|
-
return jspb.Message.
|
|
5227
|
+
return jspb.Message.setField(this, 14, value);
|
|
5228
|
+
};
|
|
5229
|
+
|
|
5230
|
+
|
|
5231
|
+
/**
|
|
5232
|
+
* Clears the field making it undefined.
|
|
5233
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5234
|
+
*/
|
|
5235
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearCorporation = function() {
|
|
5236
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
5237
|
+
};
|
|
5238
|
+
|
|
5239
|
+
|
|
5240
|
+
/**
|
|
5241
|
+
* Returns whether this field is set.
|
|
5242
|
+
* @return {boolean}
|
|
5243
|
+
*/
|
|
5244
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasCorporation = function() {
|
|
5245
|
+
return jspb.Message.getField(this, 14) != null;
|
|
4988
5246
|
};
|
|
4989
5247
|
|
|
4990
5248
|
|
|
@@ -5002,7 +5260,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getTitle = function()
|
|
|
5002
5260
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5003
5261
|
*/
|
|
5004
5262
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setTitle = function(value) {
|
|
5005
|
-
return jspb.Message.
|
|
5263
|
+
return jspb.Message.setField(this, 15, value);
|
|
5264
|
+
};
|
|
5265
|
+
|
|
5266
|
+
|
|
5267
|
+
/**
|
|
5268
|
+
* Clears the field making it undefined.
|
|
5269
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5270
|
+
*/
|
|
5271
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearTitle = function() {
|
|
5272
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
5273
|
+
};
|
|
5274
|
+
|
|
5275
|
+
|
|
5276
|
+
/**
|
|
5277
|
+
* Returns whether this field is set.
|
|
5278
|
+
* @return {boolean}
|
|
5279
|
+
*/
|
|
5280
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasTitle = function() {
|
|
5281
|
+
return jspb.Message.getField(this, 15) != null;
|
|
5006
5282
|
};
|
|
5007
5283
|
|
|
5008
5284
|
|
|
@@ -5020,7 +5296,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getDescription = func
|
|
|
5020
5296
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5021
5297
|
*/
|
|
5022
5298
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setDescription = function(value) {
|
|
5023
|
-
return jspb.Message.
|
|
5299
|
+
return jspb.Message.setField(this, 16, value);
|
|
5300
|
+
};
|
|
5301
|
+
|
|
5302
|
+
|
|
5303
|
+
/**
|
|
5304
|
+
* Clears the field making it undefined.
|
|
5305
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5306
|
+
*/
|
|
5307
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearDescription = function() {
|
|
5308
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
5309
|
+
};
|
|
5310
|
+
|
|
5311
|
+
|
|
5312
|
+
/**
|
|
5313
|
+
* Returns whether this field is set.
|
|
5314
|
+
* @return {boolean}
|
|
5315
|
+
*/
|
|
5316
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasDescription = function() {
|
|
5317
|
+
return jspb.Message.getField(this, 16) != null;
|
|
5024
5318
|
};
|
|
5025
5319
|
|
|
5026
5320
|
|
|
@@ -5038,7 +5332,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getCoworker = functio
|
|
|
5038
5332
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5039
5333
|
*/
|
|
5040
5334
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setCoworker = function(value) {
|
|
5041
|
-
return jspb.Message.
|
|
5335
|
+
return jspb.Message.setField(this, 17, value);
|
|
5336
|
+
};
|
|
5337
|
+
|
|
5338
|
+
|
|
5339
|
+
/**
|
|
5340
|
+
* Clears the field making it undefined.
|
|
5341
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5342
|
+
*/
|
|
5343
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearCoworker = function() {
|
|
5344
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
5345
|
+
};
|
|
5346
|
+
|
|
5347
|
+
|
|
5348
|
+
/**
|
|
5349
|
+
* Returns whether this field is set.
|
|
5350
|
+
* @return {boolean}
|
|
5351
|
+
*/
|
|
5352
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasCoworker = function() {
|
|
5353
|
+
return jspb.Message.getField(this, 17) != null;
|
|
5042
5354
|
};
|
|
5043
5355
|
|
|
5044
5356
|
|
|
@@ -5093,7 +5405,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAdditionalInfo = f
|
|
|
5093
5405
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5094
5406
|
*/
|
|
5095
5407
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAdditionalInfo = function(value) {
|
|
5096
|
-
return jspb.Message.
|
|
5408
|
+
return jspb.Message.setField(this, 19, value);
|
|
5409
|
+
};
|
|
5410
|
+
|
|
5411
|
+
|
|
5412
|
+
/**
|
|
5413
|
+
* Clears the field making it undefined.
|
|
5414
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5415
|
+
*/
|
|
5416
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAdditionalInfo = function() {
|
|
5417
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
5418
|
+
};
|
|
5419
|
+
|
|
5420
|
+
|
|
5421
|
+
/**
|
|
5422
|
+
* Returns whether this field is set.
|
|
5423
|
+
* @return {boolean}
|
|
5424
|
+
*/
|
|
5425
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAdditionalInfo = function() {
|
|
5426
|
+
return jspb.Message.getField(this, 19) != null;
|
|
5097
5427
|
};
|
|
5098
5428
|
|
|
5099
5429
|
|
|
@@ -5134,6 +5464,78 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearTagIdsList = fun
|
|
|
5134
5464
|
};
|
|
5135
5465
|
|
|
5136
5466
|
|
|
5467
|
+
/**
|
|
5468
|
+
* optional bool clear_phones = 21;
|
|
5469
|
+
* @return {boolean}
|
|
5470
|
+
*/
|
|
5471
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getClearPhones = function() {
|
|
5472
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
|
|
5473
|
+
};
|
|
5474
|
+
|
|
5475
|
+
|
|
5476
|
+
/**
|
|
5477
|
+
* @param {boolean} value
|
|
5478
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5479
|
+
*/
|
|
5480
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setClearPhones = function(value) {
|
|
5481
|
+
return jspb.Message.setField(this, 21, value);
|
|
5482
|
+
};
|
|
5483
|
+
|
|
5484
|
+
|
|
5485
|
+
/**
|
|
5486
|
+
* Clears the field making it undefined.
|
|
5487
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5488
|
+
*/
|
|
5489
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearClearPhones = function() {
|
|
5490
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
5491
|
+
};
|
|
5492
|
+
|
|
5493
|
+
|
|
5494
|
+
/**
|
|
5495
|
+
* Returns whether this field is set.
|
|
5496
|
+
* @return {boolean}
|
|
5497
|
+
*/
|
|
5498
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasClearPhones = function() {
|
|
5499
|
+
return jspb.Message.getField(this, 21) != null;
|
|
5500
|
+
};
|
|
5501
|
+
|
|
5502
|
+
|
|
5503
|
+
/**
|
|
5504
|
+
* optional bool clear_tag_ids = 22;
|
|
5505
|
+
* @return {boolean}
|
|
5506
|
+
*/
|
|
5507
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getClearTagIds = function() {
|
|
5508
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
5509
|
+
};
|
|
5510
|
+
|
|
5511
|
+
|
|
5512
|
+
/**
|
|
5513
|
+
* @param {boolean} value
|
|
5514
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5515
|
+
*/
|
|
5516
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setClearTagIds = function(value) {
|
|
5517
|
+
return jspb.Message.setField(this, 22, value);
|
|
5518
|
+
};
|
|
5519
|
+
|
|
5520
|
+
|
|
5521
|
+
/**
|
|
5522
|
+
* Clears the field making it undefined.
|
|
5523
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5524
|
+
*/
|
|
5525
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearClearTagIds = function() {
|
|
5526
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
5527
|
+
};
|
|
5528
|
+
|
|
5529
|
+
|
|
5530
|
+
/**
|
|
5531
|
+
* Returns whether this field is set.
|
|
5532
|
+
* @return {boolean}
|
|
5533
|
+
*/
|
|
5534
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasClearTagIds = function() {
|
|
5535
|
+
return jspb.Message.getField(this, 22) != null;
|
|
5536
|
+
};
|
|
5537
|
+
|
|
5538
|
+
|
|
5137
5539
|
|
|
5138
5540
|
|
|
5139
5541
|
|