@juzi/wechaty-grpc 1.0.93 → 1.0.94

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.
@@ -34,6 +34,12 @@ export class ChannelPayload extends jspb.Message {
34
34
  getObjectNonceId(): string;
35
35
  setObjectNonceId(value: string): void;
36
36
 
37
+ getAuthIconUrl(): string;
38
+ setAuthIconUrl(value: string): void;
39
+
40
+ getAuthJob(): string;
41
+ setAuthJob(value: string): void;
42
+
37
43
  serializeBinary(): Uint8Array;
38
44
  toObject(includeInstance?: boolean): ChannelPayload.AsObject;
39
45
  static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
@@ -56,6 +62,8 @@ export namespace ChannelPayload {
56
62
  url: string,
57
63
  objectId: string,
58
64
  objectNonceId: string,
65
+ authIconUrl: string,
66
+ authJob: string,
59
67
  }
60
68
  }
61
69
 
@@ -79,7 +79,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
79
79
  thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
80
80
  url: jspb.Message.getFieldWithDefault(msg, 8, ""),
81
81
  objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
82
- objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
82
+ objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, ""),
83
+ authIconUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
84
+ authJob: jspb.Message.getFieldWithDefault(msg, 12, "")
83
85
  };
84
86
 
85
87
  if (includeInstance) {
@@ -156,6 +158,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
156
158
  var value = /** @type {string} */ (reader.readString());
157
159
  msg.setObjectNonceId(value);
158
160
  break;
161
+ case 11:
162
+ var value = /** @type {string} */ (reader.readString());
163
+ msg.setAuthIconUrl(value);
164
+ break;
165
+ case 12:
166
+ var value = /** @type {string} */ (reader.readString());
167
+ msg.setAuthJob(value);
168
+ break;
159
169
  default:
160
170
  reader.skipField();
161
171
  break;
@@ -255,6 +265,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
255
265
  f
256
266
  );
257
267
  }
268
+ f = message.getAuthIconUrl();
269
+ if (f.length > 0) {
270
+ writer.writeString(
271
+ 11,
272
+ f
273
+ );
274
+ }
275
+ f = message.getAuthJob();
276
+ if (f.length > 0) {
277
+ writer.writeString(
278
+ 12,
279
+ f
280
+ );
281
+ }
258
282
  };
259
283
 
260
284
 
@@ -438,6 +462,42 @@ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value)
438
462
  };
439
463
 
440
464
 
465
+ /**
466
+ * optional string auth_icon_url = 11;
467
+ * @return {string}
468
+ */
469
+ proto.wechaty.puppet.ChannelPayload.prototype.getAuthIconUrl = function() {
470
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
471
+ };
472
+
473
+
474
+ /**
475
+ * @param {string} value
476
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
477
+ */
478
+ proto.wechaty.puppet.ChannelPayload.prototype.setAuthIconUrl = function(value) {
479
+ return jspb.Message.setProto3StringField(this, 11, value);
480
+ };
481
+
482
+
483
+ /**
484
+ * optional string auth_job = 12;
485
+ * @return {string}
486
+ */
487
+ proto.wechaty.puppet.ChannelPayload.prototype.getAuthJob = function() {
488
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
489
+ };
490
+
491
+
492
+ /**
493
+ * @param {string} value
494
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
495
+ */
496
+ proto.wechaty.puppet.ChannelPayload.prototype.setAuthJob = function(value) {
497
+ return jspb.Message.setProto3StringField(this, 12, value);
498
+ };
499
+
500
+
441
501
  /**
442
502
  * @enum {number}
443
503
  */
@@ -9,7 +9,7 @@ info:
9
9
 
10
10
  Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
11
  top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
- version: 1.0.93
12
+ version: 1.0.94
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -3027,6 +3027,13 @@ definitions:
3027
3027
  title: 视频号直播专属
3028
3028
  objectNonceId:
3029
3029
  type: string
3030
+ authIconUrl:
3031
+ type: string
3032
+ description: 认证图标URL
3033
+ title: 视频号名片 SphProfileNew 消息类型专属字段
3034
+ authJob:
3035
+ type: string
3036
+ title: 认证职业
3030
3037
  puppetChatHistoryContent:
3031
3038
  type: object
3032
3039
  properties:
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Wechaty Puppet Service OpenAPI Specification",
5
5
  "description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
6
- "version": "1.0.93",
6
+ "version": "1.0.94",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -4494,6 +4494,15 @@
4494
4494
  },
4495
4495
  "objectNonceId": {
4496
4496
  "type": "string"
4497
+ },
4498
+ "authIconUrl": {
4499
+ "type": "string",
4500
+ "description": "认证图标URL",
4501
+ "title": "视频号名片 SphProfileNew 消息类型专属字段"
4502
+ },
4503
+ "authJob": {
4504
+ "type": "string",
4505
+ "title": "认证职业"
4497
4506
  }
4498
4507
  }
4499
4508
  },
@@ -18,6 +18,10 @@ message ChannelPayload {
18
18
  // 视频号直播专属
19
19
  string object_id = 9;
20
20
  string object_nonce_id = 10;
21
+
22
+ // 视频号名片 SphProfileNew 消息类型专属字段
23
+ string auth_icon_url = 11; // 认证图标URL
24
+ string auth_job = 12; // 认证职业
21
25
  }
22
26
 
23
27
  enum ChannelFeedType {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageJson = void 0;
4
4
  exports.packageJson = {
5
5
  "name": "@juzi/wechaty-grpc",
6
- "version": "1.0.93",
6
+ "version": "1.0.94",
7
7
  "description": "gRPC for Wechaty",
8
8
  "type": "module",
9
9
  "exports": {
@@ -34,6 +34,12 @@ export class ChannelPayload extends jspb.Message {
34
34
  getObjectNonceId(): string;
35
35
  setObjectNonceId(value: string): void;
36
36
 
37
+ getAuthIconUrl(): string;
38
+ setAuthIconUrl(value: string): void;
39
+
40
+ getAuthJob(): string;
41
+ setAuthJob(value: string): void;
42
+
37
43
  serializeBinary(): Uint8Array;
38
44
  toObject(includeInstance?: boolean): ChannelPayload.AsObject;
39
45
  static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
@@ -56,6 +62,8 @@ export namespace ChannelPayload {
56
62
  url: string,
57
63
  objectId: string,
58
64
  objectNonceId: string,
65
+ authIconUrl: string,
66
+ authJob: string,
59
67
  }
60
68
  }
61
69
 
@@ -79,7 +79,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
79
79
  thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
80
80
  url: jspb.Message.getFieldWithDefault(msg, 8, ""),
81
81
  objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
82
- objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
82
+ objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, ""),
83
+ authIconUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
84
+ authJob: jspb.Message.getFieldWithDefault(msg, 12, "")
83
85
  };
84
86
 
85
87
  if (includeInstance) {
@@ -156,6 +158,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
156
158
  var value = /** @type {string} */ (reader.readString());
157
159
  msg.setObjectNonceId(value);
158
160
  break;
161
+ case 11:
162
+ var value = /** @type {string} */ (reader.readString());
163
+ msg.setAuthIconUrl(value);
164
+ break;
165
+ case 12:
166
+ var value = /** @type {string} */ (reader.readString());
167
+ msg.setAuthJob(value);
168
+ break;
159
169
  default:
160
170
  reader.skipField();
161
171
  break;
@@ -255,6 +265,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
255
265
  f
256
266
  );
257
267
  }
268
+ f = message.getAuthIconUrl();
269
+ if (f.length > 0) {
270
+ writer.writeString(
271
+ 11,
272
+ f
273
+ );
274
+ }
275
+ f = message.getAuthJob();
276
+ if (f.length > 0) {
277
+ writer.writeString(
278
+ 12,
279
+ f
280
+ );
281
+ }
258
282
  };
259
283
 
260
284
 
@@ -438,6 +462,42 @@ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value)
438
462
  };
439
463
 
440
464
 
465
+ /**
466
+ * optional string auth_icon_url = 11;
467
+ * @return {string}
468
+ */
469
+ proto.wechaty.puppet.ChannelPayload.prototype.getAuthIconUrl = function() {
470
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
471
+ };
472
+
473
+
474
+ /**
475
+ * @param {string} value
476
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
477
+ */
478
+ proto.wechaty.puppet.ChannelPayload.prototype.setAuthIconUrl = function(value) {
479
+ return jspb.Message.setProto3StringField(this, 11, value);
480
+ };
481
+
482
+
483
+ /**
484
+ * optional string auth_job = 12;
485
+ * @return {string}
486
+ */
487
+ proto.wechaty.puppet.ChannelPayload.prototype.getAuthJob = function() {
488
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
489
+ };
490
+
491
+
492
+ /**
493
+ * @param {string} value
494
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
495
+ */
496
+ proto.wechaty.puppet.ChannelPayload.prototype.setAuthJob = function(value) {
497
+ return jspb.Message.setProto3StringField(this, 12, value);
498
+ };
499
+
500
+
441
501
  /**
442
502
  * @enum {number}
443
503
  */
@@ -9,7 +9,7 @@ info:
9
9
 
10
10
  Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
11
  top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
- version: 1.0.93
12
+ version: 1.0.94
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -3027,6 +3027,13 @@ definitions:
3027
3027
  title: 视频号直播专属
3028
3028
  objectNonceId:
3029
3029
  type: string
3030
+ authIconUrl:
3031
+ type: string
3032
+ description: 认证图标URL
3033
+ title: 视频号名片 SphProfileNew 消息类型专属字段
3034
+ authJob:
3035
+ type: string
3036
+ title: 认证职业
3030
3037
  puppetChatHistoryContent:
3031
3038
  type: object
3032
3039
  properties:
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Wechaty Puppet Service OpenAPI Specification",
5
5
  "description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
6
- "version": "1.0.93",
6
+ "version": "1.0.94",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -4494,6 +4494,15 @@
4494
4494
  },
4495
4495
  "objectNonceId": {
4496
4496
  "type": "string"
4497
+ },
4498
+ "authIconUrl": {
4499
+ "type": "string",
4500
+ "description": "认证图标URL",
4501
+ "title": "视频号名片 SphProfileNew 消息类型专属字段"
4502
+ },
4503
+ "authJob": {
4504
+ "type": "string",
4505
+ "title": "认证职业"
4497
4506
  }
4498
4507
  }
4499
4508
  },
@@ -18,6 +18,10 @@ message ChannelPayload {
18
18
  // 视频号直播专属
19
19
  string object_id = 9;
20
20
  string object_nonce_id = 10;
21
+
22
+ // 视频号名片 SphProfileNew 消息类型专属字段
23
+ string auth_icon_url = 11; // 认证图标URL
24
+ string auth_job = 12; // 认证职业
21
25
  }
22
26
 
23
27
  enum ChannelFeedType {
@@ -1,6 +1,6 @@
1
1
  export const packageJson = {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -34,6 +34,12 @@ export class ChannelPayload extends jspb.Message {
34
34
  getObjectNonceId(): string;
35
35
  setObjectNonceId(value: string): void;
36
36
 
37
+ getAuthIconUrl(): string;
38
+ setAuthIconUrl(value: string): void;
39
+
40
+ getAuthJob(): string;
41
+ setAuthJob(value: string): void;
42
+
37
43
  serializeBinary(): Uint8Array;
38
44
  toObject(includeInstance?: boolean): ChannelPayload.AsObject;
39
45
  static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
@@ -56,6 +62,8 @@ export namespace ChannelPayload {
56
62
  url: string,
57
63
  objectId: string,
58
64
  objectNonceId: string,
65
+ authIconUrl: string,
66
+ authJob: string,
59
67
  }
60
68
  }
61
69
 
@@ -79,7 +79,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
79
79
  thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
80
80
  url: jspb.Message.getFieldWithDefault(msg, 8, ""),
81
81
  objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
82
- objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
82
+ objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, ""),
83
+ authIconUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
84
+ authJob: jspb.Message.getFieldWithDefault(msg, 12, "")
83
85
  };
84
86
 
85
87
  if (includeInstance) {
@@ -156,6 +158,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
156
158
  var value = /** @type {string} */ (reader.readString());
157
159
  msg.setObjectNonceId(value);
158
160
  break;
161
+ case 11:
162
+ var value = /** @type {string} */ (reader.readString());
163
+ msg.setAuthIconUrl(value);
164
+ break;
165
+ case 12:
166
+ var value = /** @type {string} */ (reader.readString());
167
+ msg.setAuthJob(value);
168
+ break;
159
169
  default:
160
170
  reader.skipField();
161
171
  break;
@@ -255,6 +265,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
255
265
  f
256
266
  );
257
267
  }
268
+ f = message.getAuthIconUrl();
269
+ if (f.length > 0) {
270
+ writer.writeString(
271
+ 11,
272
+ f
273
+ );
274
+ }
275
+ f = message.getAuthJob();
276
+ if (f.length > 0) {
277
+ writer.writeString(
278
+ 12,
279
+ f
280
+ );
281
+ }
258
282
  };
259
283
 
260
284
 
@@ -438,6 +462,42 @@ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value)
438
462
  };
439
463
 
440
464
 
465
+ /**
466
+ * optional string auth_icon_url = 11;
467
+ * @return {string}
468
+ */
469
+ proto.wechaty.puppet.ChannelPayload.prototype.getAuthIconUrl = function() {
470
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
471
+ };
472
+
473
+
474
+ /**
475
+ * @param {string} value
476
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
477
+ */
478
+ proto.wechaty.puppet.ChannelPayload.prototype.setAuthIconUrl = function(value) {
479
+ return jspb.Message.setProto3StringField(this, 11, value);
480
+ };
481
+
482
+
483
+ /**
484
+ * optional string auth_job = 12;
485
+ * @return {string}
486
+ */
487
+ proto.wechaty.puppet.ChannelPayload.prototype.getAuthJob = function() {
488
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
489
+ };
490
+
491
+
492
+ /**
493
+ * @param {string} value
494
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
495
+ */
496
+ proto.wechaty.puppet.ChannelPayload.prototype.setAuthJob = function(value) {
497
+ return jspb.Message.setProto3StringField(this, 12, value);
498
+ };
499
+
500
+
441
501
  /**
442
502
  * @enum {number}
443
503
  */
@@ -9,7 +9,7 @@ info:
9
9
 
10
10
  Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
11
  top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
- version: 1.0.93
12
+ version: 1.0.94
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -3027,6 +3027,13 @@ definitions:
3027
3027
  title: 视频号直播专属
3028
3028
  objectNonceId:
3029
3029
  type: string
3030
+ authIconUrl:
3031
+ type: string
3032
+ description: 认证图标URL
3033
+ title: 视频号名片 SphProfileNew 消息类型专属字段
3034
+ authJob:
3035
+ type: string
3036
+ title: 认证职业
3030
3037
  puppetChatHistoryContent:
3031
3038
  type: object
3032
3039
  properties:
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Wechaty Puppet Service OpenAPI Specification",
5
5
  "description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
6
- "version": "1.0.93",
6
+ "version": "1.0.94",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -4494,6 +4494,15 @@
4494
4494
  },
4495
4495
  "objectNonceId": {
4496
4496
  "type": "string"
4497
+ },
4498
+ "authIconUrl": {
4499
+ "type": "string",
4500
+ "description": "认证图标URL",
4501
+ "title": "视频号名片 SphProfileNew 消息类型专属字段"
4502
+ },
4503
+ "authJob": {
4504
+ "type": "string",
4505
+ "title": "认证职业"
4497
4506
  }
4498
4507
  }
4499
4508
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -4,7 +4,7 @@
4
4
  import type { PackageJson } from 'type-fest'
5
5
  export const packageJson: PackageJson = {
6
6
  "name": "@juzi/wechaty-grpc",
7
- "version": "1.0.93",
7
+ "version": "1.0.94",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {