@juzi/wechaty-grpc 1.0.5 → 1.0.8

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.
Files changed (85) hide show
  1. package/dist/cjs/out/wechaty/puppet/base_pb.d.ts +36 -0
  2. package/dist/cjs/out/wechaty/puppet/base_pb.js +275 -0
  3. package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +4 -0
  4. package/dist/cjs/out/wechaty/puppet/contact_pb.js +31 -1
  5. package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +1 -0
  6. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +431 -0
  7. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +3315 -0
  8. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +3 -0
  9. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +3 -0
  10. package/dist/cjs/out/wechaty/puppet/room-member_pb.d.ts +4 -0
  11. package/dist/cjs/out/wechaty/puppet/room-member_pb.js +31 -1
  12. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +4 -0
  13. package/dist/cjs/out/wechaty/puppet/room_pb.js +31 -1
  14. package/dist/cjs/out/wechaty/puppet.openapi.yaml +282 -1
  15. package/dist/cjs/out/wechaty/puppet.swagger.json +423 -1
  16. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +171 -0
  17. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +336 -0
  18. package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
  19. package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
  20. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +191 -0
  21. package/dist/cjs/out/wechaty/puppet_pb_service.js +401 -0
  22. package/dist/cjs/proto/wechaty/puppet/base.proto +7 -0
  23. package/dist/cjs/proto/wechaty/puppet/contact.proto +19 -18
  24. package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +90 -0
  25. package/dist/cjs/proto/wechaty/puppet/room-member.proto +6 -5
  26. package/dist/cjs/proto/wechaty/puppet/room.proto +6 -5
  27. package/dist/cjs/proto/wechaty/puppet.proto +65 -0
  28. package/dist/cjs/src/package-json.js +1 -1
  29. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  30. package/dist/cjs/tests/puppet-server-impl.js +50 -0
  31. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  32. package/dist/esm/out/wechaty/puppet/base_pb.d.ts +36 -0
  33. package/dist/esm/out/wechaty/puppet/base_pb.js +275 -0
  34. package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +4 -0
  35. package/dist/esm/out/wechaty/puppet/contact_pb.js +31 -1
  36. package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +1 -0
  37. package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +431 -0
  38. package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +3315 -0
  39. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +3 -0
  40. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +3 -0
  41. package/dist/esm/out/wechaty/puppet/room-member_pb.d.ts +4 -0
  42. package/dist/esm/out/wechaty/puppet/room-member_pb.js +31 -1
  43. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +4 -0
  44. package/dist/esm/out/wechaty/puppet/room_pb.js +31 -1
  45. package/dist/esm/out/wechaty/puppet.openapi.yaml +282 -1
  46. package/dist/esm/out/wechaty/puppet.swagger.json +423 -1
  47. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +171 -0
  48. package/dist/esm/out/wechaty/puppet_grpc_pb.js +336 -0
  49. package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
  50. package/dist/esm/out/wechaty/puppet_pb.js +2 -0
  51. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +191 -0
  52. package/dist/esm/out/wechaty/puppet_pb_service.js +401 -0
  53. package/dist/esm/proto/wechaty/puppet/base.proto +7 -0
  54. package/dist/esm/proto/wechaty/puppet/contact.proto +19 -18
  55. package/dist/esm/proto/wechaty/puppet/corp-tag.proto +90 -0
  56. package/dist/esm/proto/wechaty/puppet/room-member.proto +6 -5
  57. package/dist/esm/proto/wechaty/puppet/room.proto +6 -5
  58. package/dist/esm/proto/wechaty/puppet.proto +65 -0
  59. package/dist/esm/src/package-json.js +1 -1
  60. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  61. package/dist/esm/tests/puppet-server-impl.js +50 -0
  62. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  63. package/out/wechaty/puppet/base_pb.d.ts +36 -0
  64. package/out/wechaty/puppet/base_pb.js +275 -0
  65. package/out/wechaty/puppet/contact_pb.d.ts +4 -0
  66. package/out/wechaty/puppet/contact_pb.js +31 -1
  67. package/out/wechaty/puppet/corp-tag_grpc_pb.js +1 -0
  68. package/out/wechaty/puppet/corp-tag_pb.d.ts +431 -0
  69. package/out/wechaty/puppet/corp-tag_pb.js +3315 -0
  70. package/out/wechaty/puppet/corp-tag_pb_service.d.ts +3 -0
  71. package/out/wechaty/puppet/corp-tag_pb_service.js +3 -0
  72. package/out/wechaty/puppet/room-member_pb.d.ts +4 -0
  73. package/out/wechaty/puppet/room-member_pb.js +31 -1
  74. package/out/wechaty/puppet/room_pb.d.ts +4 -0
  75. package/out/wechaty/puppet/room_pb.js +31 -1
  76. package/out/wechaty/puppet.openapi.yaml +282 -1
  77. package/out/wechaty/puppet.swagger.json +423 -1
  78. package/out/wechaty/puppet_grpc_pb.d.ts +171 -0
  79. package/out/wechaty/puppet_grpc_pb.js +336 -0
  80. package/out/wechaty/puppet_pb.d.ts +1 -0
  81. package/out/wechaty/puppet_pb.js +2 -0
  82. package/out/wechaty/puppet_pb_service.d.ts +191 -0
  83. package/out/wechaty/puppet_pb_service.js +401 -0
  84. package/package.json +1 -1
  85. package/src/package-json.ts +1 -1
@@ -211,6 +211,42 @@ export namespace DirtyPayloadResponse {
211
211
  }
212
212
  }
213
213
 
214
+ export class CurrentUserRequest extends jspb.Message {
215
+ serializeBinary(): Uint8Array;
216
+ toObject(includeInstance?: boolean): CurrentUserRequest.AsObject;
217
+ static toObject(includeInstance: boolean, msg: CurrentUserRequest): CurrentUserRequest.AsObject;
218
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
219
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
220
+ static serializeBinaryToWriter(message: CurrentUserRequest, writer: jspb.BinaryWriter): void;
221
+ static deserializeBinary(bytes: Uint8Array): CurrentUserRequest;
222
+ static deserializeBinaryFromReader(message: CurrentUserRequest, reader: jspb.BinaryReader): CurrentUserRequest;
223
+ }
224
+
225
+ export namespace CurrentUserRequest {
226
+ export type AsObject = {
227
+ }
228
+ }
229
+
230
+ export class CurrentUserResponse extends jspb.Message {
231
+ getUserId(): string;
232
+ setUserId(value: string): void;
233
+
234
+ serializeBinary(): Uint8Array;
235
+ toObject(includeInstance?: boolean): CurrentUserResponse.AsObject;
236
+ static toObject(includeInstance: boolean, msg: CurrentUserResponse): CurrentUserResponse.AsObject;
237
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
238
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
239
+ static serializeBinaryToWriter(message: CurrentUserResponse, writer: jspb.BinaryWriter): void;
240
+ static deserializeBinary(bytes: Uint8Array): CurrentUserResponse;
241
+ static deserializeBinaryFromReader(message: CurrentUserResponse, reader: jspb.BinaryReader): CurrentUserResponse;
242
+ }
243
+
244
+ export namespace CurrentUserResponse {
245
+ export type AsObject = {
246
+ userId: string,
247
+ }
248
+ }
249
+
214
250
  export interface PayloadTypeMap {
215
251
  PAYLOAD_TYPE_UNSPECIFIED: 0;
216
252
  PAYLOAD_TYPE_MESSAGE: 1;
@@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
16
  var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
17
17
 
18
+ goog.exportSymbol('proto.wechaty.puppet.CurrentUserRequest', null, global);
19
+ goog.exportSymbol('proto.wechaty.puppet.CurrentUserResponse', null, global);
18
20
  goog.exportSymbol('proto.wechaty.puppet.DingRequest', null, global);
19
21
  goog.exportSymbol('proto.wechaty.puppet.DingResponse', null, global);
20
22
  goog.exportSymbol('proto.wechaty.puppet.DirtyPayloadRequest', null, global);
@@ -280,6 +282,48 @@ if (goog.DEBUG && !COMPILED) {
280
282
  */
281
283
  proto.wechaty.puppet.DirtyPayloadResponse.displayName = 'proto.wechaty.puppet.DirtyPayloadResponse';
282
284
  }
285
+ /**
286
+ * Generated by JsPbCodeGenerator.
287
+ * @param {Array=} opt_data Optional initial data array, typically from a
288
+ * server response, or constructed directly in Javascript. The array is used
289
+ * in place and becomes part of the constructed object. It is not cloned.
290
+ * If no data is provided, the constructed object will be empty, but still
291
+ * valid.
292
+ * @extends {jspb.Message}
293
+ * @constructor
294
+ */
295
+ proto.wechaty.puppet.CurrentUserRequest = function(opt_data) {
296
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
297
+ };
298
+ goog.inherits(proto.wechaty.puppet.CurrentUserRequest, jspb.Message);
299
+ if (goog.DEBUG && !COMPILED) {
300
+ /**
301
+ * @public
302
+ * @override
303
+ */
304
+ proto.wechaty.puppet.CurrentUserRequest.displayName = 'proto.wechaty.puppet.CurrentUserRequest';
305
+ }
306
+ /**
307
+ * Generated by JsPbCodeGenerator.
308
+ * @param {Array=} opt_data Optional initial data array, typically from a
309
+ * server response, or constructed directly in Javascript. The array is used
310
+ * in place and becomes part of the constructed object. It is not cloned.
311
+ * If no data is provided, the constructed object will be empty, but still
312
+ * valid.
313
+ * @extends {jspb.Message}
314
+ * @constructor
315
+ */
316
+ proto.wechaty.puppet.CurrentUserResponse = function(opt_data) {
317
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
318
+ };
319
+ goog.inherits(proto.wechaty.puppet.CurrentUserResponse, jspb.Message);
320
+ if (goog.DEBUG && !COMPILED) {
321
+ /**
322
+ * @public
323
+ * @override
324
+ */
325
+ proto.wechaty.puppet.CurrentUserResponse.displayName = 'proto.wechaty.puppet.CurrentUserResponse';
326
+ }
283
327
 
284
328
 
285
329
 
@@ -1609,6 +1653,237 @@ proto.wechaty.puppet.DirtyPayloadResponse.serializeBinaryToWriter = function(mes
1609
1653
  };
1610
1654
 
1611
1655
 
1656
+
1657
+
1658
+
1659
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1660
+ /**
1661
+ * Creates an object representation of this proto.
1662
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1663
+ * Optional fields that are not set will be set to undefined.
1664
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1665
+ * For the list of reserved names please see:
1666
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1667
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1668
+ * JSPB instance for transitional soy proto support:
1669
+ * http://goto/soy-param-migration
1670
+ * @return {!Object}
1671
+ */
1672
+ proto.wechaty.puppet.CurrentUserRequest.prototype.toObject = function(opt_includeInstance) {
1673
+ return proto.wechaty.puppet.CurrentUserRequest.toObject(opt_includeInstance, this);
1674
+ };
1675
+
1676
+
1677
+ /**
1678
+ * Static version of the {@see toObject} method.
1679
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1680
+ * the JSPB instance for transitional soy proto support:
1681
+ * http://goto/soy-param-migration
1682
+ * @param {!proto.wechaty.puppet.CurrentUserRequest} msg The msg instance to transform.
1683
+ * @return {!Object}
1684
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1685
+ */
1686
+ proto.wechaty.puppet.CurrentUserRequest.toObject = function(includeInstance, msg) {
1687
+ var f, obj = {
1688
+
1689
+ };
1690
+
1691
+ if (includeInstance) {
1692
+ obj.$jspbMessageInstance = msg;
1693
+ }
1694
+ return obj;
1695
+ };
1696
+ }
1697
+
1698
+
1699
+ /**
1700
+ * Deserializes binary data (in protobuf wire format).
1701
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1702
+ * @return {!proto.wechaty.puppet.CurrentUserRequest}
1703
+ */
1704
+ proto.wechaty.puppet.CurrentUserRequest.deserializeBinary = function(bytes) {
1705
+ var reader = new jspb.BinaryReader(bytes);
1706
+ var msg = new proto.wechaty.puppet.CurrentUserRequest;
1707
+ return proto.wechaty.puppet.CurrentUserRequest.deserializeBinaryFromReader(msg, reader);
1708
+ };
1709
+
1710
+
1711
+ /**
1712
+ * Deserializes binary data (in protobuf wire format) from the
1713
+ * given reader into the given message object.
1714
+ * @param {!proto.wechaty.puppet.CurrentUserRequest} msg The message object to deserialize into.
1715
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1716
+ * @return {!proto.wechaty.puppet.CurrentUserRequest}
1717
+ */
1718
+ proto.wechaty.puppet.CurrentUserRequest.deserializeBinaryFromReader = function(msg, reader) {
1719
+ while (reader.nextField()) {
1720
+ if (reader.isEndGroup()) {
1721
+ break;
1722
+ }
1723
+ var field = reader.getFieldNumber();
1724
+ switch (field) {
1725
+ default:
1726
+ reader.skipField();
1727
+ break;
1728
+ }
1729
+ }
1730
+ return msg;
1731
+ };
1732
+
1733
+
1734
+ /**
1735
+ * Serializes the message to binary data (in protobuf wire format).
1736
+ * @return {!Uint8Array}
1737
+ */
1738
+ proto.wechaty.puppet.CurrentUserRequest.prototype.serializeBinary = function() {
1739
+ var writer = new jspb.BinaryWriter();
1740
+ proto.wechaty.puppet.CurrentUserRequest.serializeBinaryToWriter(this, writer);
1741
+ return writer.getResultBuffer();
1742
+ };
1743
+
1744
+
1745
+ /**
1746
+ * Serializes the given message to binary data (in protobuf wire
1747
+ * format), writing to the given BinaryWriter.
1748
+ * @param {!proto.wechaty.puppet.CurrentUserRequest} message
1749
+ * @param {!jspb.BinaryWriter} writer
1750
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1751
+ */
1752
+ proto.wechaty.puppet.CurrentUserRequest.serializeBinaryToWriter = function(message, writer) {
1753
+ var f = undefined;
1754
+ };
1755
+
1756
+
1757
+
1758
+
1759
+
1760
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1761
+ /**
1762
+ * Creates an object representation of this proto.
1763
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1764
+ * Optional fields that are not set will be set to undefined.
1765
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1766
+ * For the list of reserved names please see:
1767
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1768
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1769
+ * JSPB instance for transitional soy proto support:
1770
+ * http://goto/soy-param-migration
1771
+ * @return {!Object}
1772
+ */
1773
+ proto.wechaty.puppet.CurrentUserResponse.prototype.toObject = function(opt_includeInstance) {
1774
+ return proto.wechaty.puppet.CurrentUserResponse.toObject(opt_includeInstance, this);
1775
+ };
1776
+
1777
+
1778
+ /**
1779
+ * Static version of the {@see toObject} method.
1780
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1781
+ * the JSPB instance for transitional soy proto support:
1782
+ * http://goto/soy-param-migration
1783
+ * @param {!proto.wechaty.puppet.CurrentUserResponse} msg The msg instance to transform.
1784
+ * @return {!Object}
1785
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1786
+ */
1787
+ proto.wechaty.puppet.CurrentUserResponse.toObject = function(includeInstance, msg) {
1788
+ var f, obj = {
1789
+ userId: jspb.Message.getFieldWithDefault(msg, 1, "")
1790
+ };
1791
+
1792
+ if (includeInstance) {
1793
+ obj.$jspbMessageInstance = msg;
1794
+ }
1795
+ return obj;
1796
+ };
1797
+ }
1798
+
1799
+
1800
+ /**
1801
+ * Deserializes binary data (in protobuf wire format).
1802
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1803
+ * @return {!proto.wechaty.puppet.CurrentUserResponse}
1804
+ */
1805
+ proto.wechaty.puppet.CurrentUserResponse.deserializeBinary = function(bytes) {
1806
+ var reader = new jspb.BinaryReader(bytes);
1807
+ var msg = new proto.wechaty.puppet.CurrentUserResponse;
1808
+ return proto.wechaty.puppet.CurrentUserResponse.deserializeBinaryFromReader(msg, reader);
1809
+ };
1810
+
1811
+
1812
+ /**
1813
+ * Deserializes binary data (in protobuf wire format) from the
1814
+ * given reader into the given message object.
1815
+ * @param {!proto.wechaty.puppet.CurrentUserResponse} msg The message object to deserialize into.
1816
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1817
+ * @return {!proto.wechaty.puppet.CurrentUserResponse}
1818
+ */
1819
+ proto.wechaty.puppet.CurrentUserResponse.deserializeBinaryFromReader = function(msg, reader) {
1820
+ while (reader.nextField()) {
1821
+ if (reader.isEndGroup()) {
1822
+ break;
1823
+ }
1824
+ var field = reader.getFieldNumber();
1825
+ switch (field) {
1826
+ case 1:
1827
+ var value = /** @type {string} */ (reader.readString());
1828
+ msg.setUserId(value);
1829
+ break;
1830
+ default:
1831
+ reader.skipField();
1832
+ break;
1833
+ }
1834
+ }
1835
+ return msg;
1836
+ };
1837
+
1838
+
1839
+ /**
1840
+ * Serializes the message to binary data (in protobuf wire format).
1841
+ * @return {!Uint8Array}
1842
+ */
1843
+ proto.wechaty.puppet.CurrentUserResponse.prototype.serializeBinary = function() {
1844
+ var writer = new jspb.BinaryWriter();
1845
+ proto.wechaty.puppet.CurrentUserResponse.serializeBinaryToWriter(this, writer);
1846
+ return writer.getResultBuffer();
1847
+ };
1848
+
1849
+
1850
+ /**
1851
+ * Serializes the given message to binary data (in protobuf wire
1852
+ * format), writing to the given BinaryWriter.
1853
+ * @param {!proto.wechaty.puppet.CurrentUserResponse} message
1854
+ * @param {!jspb.BinaryWriter} writer
1855
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1856
+ */
1857
+ proto.wechaty.puppet.CurrentUserResponse.serializeBinaryToWriter = function(message, writer) {
1858
+ var f = undefined;
1859
+ f = message.getUserId();
1860
+ if (f.length > 0) {
1861
+ writer.writeString(
1862
+ 1,
1863
+ f
1864
+ );
1865
+ }
1866
+ };
1867
+
1868
+
1869
+ /**
1870
+ * optional string user_id = 1;
1871
+ * @return {string}
1872
+ */
1873
+ proto.wechaty.puppet.CurrentUserResponse.prototype.getUserId = function() {
1874
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1875
+ };
1876
+
1877
+
1878
+ /**
1879
+ * @param {string} value
1880
+ * @return {!proto.wechaty.puppet.CurrentUserResponse} returns this
1881
+ */
1882
+ proto.wechaty.puppet.CurrentUserResponse.prototype.setUserId = function(value) {
1883
+ return jspb.Message.setProto3StringField(this, 1, value);
1884
+ };
1885
+
1886
+
1612
1887
  /**
1613
1888
  * @enum {number}
1614
1889
  */
@@ -119,6 +119,9 @@ export class ContactPayloadResponse extends jspb.Message {
119
119
  setPhonesList(value: Array<string>): void;
120
120
  addPhones(value: string, index?: number): string;
121
121
 
122
+ getAdditionalInfo(): string;
123
+ setAdditionalInfo(value: string): void;
124
+
122
125
  serializeBinary(): Uint8Array;
123
126
  toObject(includeInstance?: boolean): ContactPayloadResponse.AsObject;
124
127
  static toObject(includeInstance: boolean, msg: ContactPayloadResponse): ContactPayloadResponse.AsObject;
@@ -149,6 +152,7 @@ export namespace ContactPayloadResponse {
149
152
  description: string,
150
153
  coworker: boolean,
151
154
  phonesList: Array<string>,
155
+ additionalInfo: string,
152
156
  }
153
157
  }
154
158
 
@@ -902,7 +902,8 @@ proto.wechaty.puppet.ContactPayloadResponse.toObject = function(includeInstance,
902
902
  title: jspb.Message.getFieldWithDefault(msg, 15, ""),
903
903
  description: jspb.Message.getFieldWithDefault(msg, 16, ""),
904
904
  coworker: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
905
- phonesList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f
905
+ phonesList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f,
906
+ additionalInfo: jspb.Message.getFieldWithDefault(msg, 19, "")
906
907
  };
907
908
 
908
909
  if (includeInstance) {
@@ -1011,6 +1012,10 @@ proto.wechaty.puppet.ContactPayloadResponse.deserializeBinaryFromReader = functi
1011
1012
  var value = /** @type {string} */ (reader.readString());
1012
1013
  msg.addPhones(value);
1013
1014
  break;
1015
+ case 19:
1016
+ var value = /** @type {string} */ (reader.readString());
1017
+ msg.setAdditionalInfo(value);
1018
+ break;
1014
1019
  default:
1015
1020
  reader.skipField();
1016
1021
  break;
@@ -1166,6 +1171,13 @@ proto.wechaty.puppet.ContactPayloadResponse.serializeBinaryToWriter = function(m
1166
1171
  f
1167
1172
  );
1168
1173
  }
1174
+ f = message.getAdditionalInfo();
1175
+ if (f.length > 0) {
1176
+ writer.writeString(
1177
+ 19,
1178
+ f
1179
+ );
1180
+ }
1169
1181
  };
1170
1182
 
1171
1183
 
@@ -1512,6 +1524,24 @@ proto.wechaty.puppet.ContactPayloadResponse.prototype.clearPhonesList = function
1512
1524
  };
1513
1525
 
1514
1526
 
1527
+ /**
1528
+ * optional string additional_info = 19;
1529
+ * @return {string}
1530
+ */
1531
+ proto.wechaty.puppet.ContactPayloadResponse.prototype.getAdditionalInfo = function() {
1532
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
1533
+ };
1534
+
1535
+
1536
+ /**
1537
+ * @param {string} value
1538
+ * @return {!proto.wechaty.puppet.ContactPayloadResponse} returns this
1539
+ */
1540
+ proto.wechaty.puppet.ContactPayloadResponse.prototype.setAdditionalInfo = function(value) {
1541
+ return jspb.Message.setProto3StringField(this, 19, value);
1542
+ };
1543
+
1544
+
1515
1545
 
1516
1546
 
1517
1547
 
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO