@juzi/wechaty-grpc 1.0.37 → 1.0.38

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.
@@ -28,6 +28,12 @@ export class ChannelPayload extends jspb.Message {
28
28
  getUrl(): string;
29
29
  setUrl(value: string): void;
30
30
 
31
+ getObjectId(): string;
32
+ setObjectId(value: string): void;
33
+
34
+ getObjectNonceId(): string;
35
+ setObjectNonceId(value: string): void;
36
+
31
37
  serializeBinary(): Uint8Array;
32
38
  toObject(includeInstance?: boolean): ChannelPayload.AsObject;
33
39
  static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
@@ -48,6 +54,8 @@ export namespace ChannelPayload {
48
54
  nickname: string,
49
55
  thumbUrl: string,
50
56
  url: string,
57
+ objectId: string,
58
+ objectNonceId: string,
51
59
  }
52
60
  }
53
61
 
@@ -76,7 +76,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
76
76
  feedType: jspb.Message.getFieldWithDefault(msg, 5, 0),
77
77
  nickname: jspb.Message.getFieldWithDefault(msg, 6, ""),
78
78
  thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
79
- url: jspb.Message.getFieldWithDefault(msg, 8, "")
79
+ url: jspb.Message.getFieldWithDefault(msg, 8, ""),
80
+ objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
81
+ objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
80
82
  };
81
83
 
82
84
  if (includeInstance) {
@@ -145,6 +147,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
145
147
  var value = /** @type {string} */ (reader.readString());
146
148
  msg.setUrl(value);
147
149
  break;
150
+ case 9:
151
+ var value = /** @type {string} */ (reader.readString());
152
+ msg.setObjectId(value);
153
+ break;
154
+ case 10:
155
+ var value = /** @type {string} */ (reader.readString());
156
+ msg.setObjectNonceId(value);
157
+ break;
148
158
  default:
149
159
  reader.skipField();
150
160
  break;
@@ -230,6 +240,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
230
240
  f
231
241
  );
232
242
  }
243
+ f = message.getObjectId();
244
+ if (f.length > 0) {
245
+ writer.writeString(
246
+ 9,
247
+ f
248
+ );
249
+ }
250
+ f = message.getObjectNonceId();
251
+ if (f.length > 0) {
252
+ writer.writeString(
253
+ 10,
254
+ f
255
+ );
256
+ }
233
257
  };
234
258
 
235
259
 
@@ -377,4 +401,40 @@ proto.wechaty.puppet.ChannelPayload.prototype.setUrl = function(value) {
377
401
  };
378
402
 
379
403
 
404
+ /**
405
+ * optional string object_id = 9;
406
+ * @return {string}
407
+ */
408
+ proto.wechaty.puppet.ChannelPayload.prototype.getObjectId = function() {
409
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
410
+ };
411
+
412
+
413
+ /**
414
+ * @param {string} value
415
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
416
+ */
417
+ proto.wechaty.puppet.ChannelPayload.prototype.setObjectId = function(value) {
418
+ return jspb.Message.setProto3StringField(this, 9, value);
419
+ };
420
+
421
+
422
+ /**
423
+ * optional string object_nonce_id = 10;
424
+ * @return {string}
425
+ */
426
+ proto.wechaty.puppet.ChannelPayload.prototype.getObjectNonceId = function() {
427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
428
+ };
429
+
430
+
431
+ /**
432
+ * @param {string} value
433
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
434
+ */
435
+ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value) {
436
+ return jspb.Message.setProto3StringField(this, 10, value);
437
+ };
438
+
439
+
380
440
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -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.37
12
+ version: 1.0.38
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -2143,6 +2143,11 @@ definitions:
2143
2143
  url:
2144
2144
  type: string
2145
2145
  title: 视频号地址
2146
+ objectId:
2147
+ type: string
2148
+ title: 视频号直播专属
2149
+ objectNonceId:
2150
+ type: string
2146
2151
  puppetContactAliasResponse:
2147
2152
  type: object
2148
2153
  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.37",
6
+ "version": "1.0.38",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -3197,6 +3197,13 @@
3197
3197
  "url": {
3198
3198
  "type": "string",
3199
3199
  "title": "视频号地址"
3200
+ },
3201
+ "objectId": {
3202
+ "type": "string",
3203
+ "title": "视频号直播专属"
3204
+ },
3205
+ "objectNonceId": {
3206
+ "type": "string"
3200
3207
  }
3201
3208
  }
3202
3209
  },
@@ -14,4 +14,8 @@ message ChannelPayload {
14
14
  string nickname = 6; // 用户名
15
15
  string thumb_url = 7; // 缩略图地址
16
16
  string url = 8; // 视频号地址
17
+
18
+ // 视频号直播专属
19
+ string object_id = 9;
20
+ string object_nonce_id = 10;
17
21
  }
@@ -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.37",
6
+ "version": "1.0.38",
7
7
  "description": "gRPC for Wechaty",
8
8
  "type": "module",
9
9
  "exports": {
@@ -28,6 +28,12 @@ export class ChannelPayload extends jspb.Message {
28
28
  getUrl(): string;
29
29
  setUrl(value: string): void;
30
30
 
31
+ getObjectId(): string;
32
+ setObjectId(value: string): void;
33
+
34
+ getObjectNonceId(): string;
35
+ setObjectNonceId(value: string): void;
36
+
31
37
  serializeBinary(): Uint8Array;
32
38
  toObject(includeInstance?: boolean): ChannelPayload.AsObject;
33
39
  static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
@@ -48,6 +54,8 @@ export namespace ChannelPayload {
48
54
  nickname: string,
49
55
  thumbUrl: string,
50
56
  url: string,
57
+ objectId: string,
58
+ objectNonceId: string,
51
59
  }
52
60
  }
53
61
 
@@ -76,7 +76,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
76
76
  feedType: jspb.Message.getFieldWithDefault(msg, 5, 0),
77
77
  nickname: jspb.Message.getFieldWithDefault(msg, 6, ""),
78
78
  thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
79
- url: jspb.Message.getFieldWithDefault(msg, 8, "")
79
+ url: jspb.Message.getFieldWithDefault(msg, 8, ""),
80
+ objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
81
+ objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
80
82
  };
81
83
 
82
84
  if (includeInstance) {
@@ -145,6 +147,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
145
147
  var value = /** @type {string} */ (reader.readString());
146
148
  msg.setUrl(value);
147
149
  break;
150
+ case 9:
151
+ var value = /** @type {string} */ (reader.readString());
152
+ msg.setObjectId(value);
153
+ break;
154
+ case 10:
155
+ var value = /** @type {string} */ (reader.readString());
156
+ msg.setObjectNonceId(value);
157
+ break;
148
158
  default:
149
159
  reader.skipField();
150
160
  break;
@@ -230,6 +240,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
230
240
  f
231
241
  );
232
242
  }
243
+ f = message.getObjectId();
244
+ if (f.length > 0) {
245
+ writer.writeString(
246
+ 9,
247
+ f
248
+ );
249
+ }
250
+ f = message.getObjectNonceId();
251
+ if (f.length > 0) {
252
+ writer.writeString(
253
+ 10,
254
+ f
255
+ );
256
+ }
233
257
  };
234
258
 
235
259
 
@@ -377,4 +401,40 @@ proto.wechaty.puppet.ChannelPayload.prototype.setUrl = function(value) {
377
401
  };
378
402
 
379
403
 
404
+ /**
405
+ * optional string object_id = 9;
406
+ * @return {string}
407
+ */
408
+ proto.wechaty.puppet.ChannelPayload.prototype.getObjectId = function() {
409
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
410
+ };
411
+
412
+
413
+ /**
414
+ * @param {string} value
415
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
416
+ */
417
+ proto.wechaty.puppet.ChannelPayload.prototype.setObjectId = function(value) {
418
+ return jspb.Message.setProto3StringField(this, 9, value);
419
+ };
420
+
421
+
422
+ /**
423
+ * optional string object_nonce_id = 10;
424
+ * @return {string}
425
+ */
426
+ proto.wechaty.puppet.ChannelPayload.prototype.getObjectNonceId = function() {
427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
428
+ };
429
+
430
+
431
+ /**
432
+ * @param {string} value
433
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
434
+ */
435
+ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value) {
436
+ return jspb.Message.setProto3StringField(this, 10, value);
437
+ };
438
+
439
+
380
440
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -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.37
12
+ version: 1.0.38
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -2143,6 +2143,11 @@ definitions:
2143
2143
  url:
2144
2144
  type: string
2145
2145
  title: 视频号地址
2146
+ objectId:
2147
+ type: string
2148
+ title: 视频号直播专属
2149
+ objectNonceId:
2150
+ type: string
2146
2151
  puppetContactAliasResponse:
2147
2152
  type: object
2148
2153
  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.37",
6
+ "version": "1.0.38",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -3197,6 +3197,13 @@
3197
3197
  "url": {
3198
3198
  "type": "string",
3199
3199
  "title": "视频号地址"
3200
+ },
3201
+ "objectId": {
3202
+ "type": "string",
3203
+ "title": "视频号直播专属"
3204
+ },
3205
+ "objectNonceId": {
3206
+ "type": "string"
3200
3207
  }
3201
3208
  }
3202
3209
  },
@@ -14,4 +14,8 @@ message ChannelPayload {
14
14
  string nickname = 6; // 用户名
15
15
  string thumb_url = 7; // 缩略图地址
16
16
  string url = 8; // 视频号地址
17
+
18
+ // 视频号直播专属
19
+ string object_id = 9;
20
+ string object_nonce_id = 10;
17
21
  }
@@ -1,6 +1,6 @@
1
1
  export const packageJson = {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -28,6 +28,12 @@ export class ChannelPayload extends jspb.Message {
28
28
  getUrl(): string;
29
29
  setUrl(value: string): void;
30
30
 
31
+ getObjectId(): string;
32
+ setObjectId(value: string): void;
33
+
34
+ getObjectNonceId(): string;
35
+ setObjectNonceId(value: string): void;
36
+
31
37
  serializeBinary(): Uint8Array;
32
38
  toObject(includeInstance?: boolean): ChannelPayload.AsObject;
33
39
  static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
@@ -48,6 +54,8 @@ export namespace ChannelPayload {
48
54
  nickname: string,
49
55
  thumbUrl: string,
50
56
  url: string,
57
+ objectId: string,
58
+ objectNonceId: string,
51
59
  }
52
60
  }
53
61
 
@@ -76,7 +76,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
76
76
  feedType: jspb.Message.getFieldWithDefault(msg, 5, 0),
77
77
  nickname: jspb.Message.getFieldWithDefault(msg, 6, ""),
78
78
  thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
79
- url: jspb.Message.getFieldWithDefault(msg, 8, "")
79
+ url: jspb.Message.getFieldWithDefault(msg, 8, ""),
80
+ objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
81
+ objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
80
82
  };
81
83
 
82
84
  if (includeInstance) {
@@ -145,6 +147,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
145
147
  var value = /** @type {string} */ (reader.readString());
146
148
  msg.setUrl(value);
147
149
  break;
150
+ case 9:
151
+ var value = /** @type {string} */ (reader.readString());
152
+ msg.setObjectId(value);
153
+ break;
154
+ case 10:
155
+ var value = /** @type {string} */ (reader.readString());
156
+ msg.setObjectNonceId(value);
157
+ break;
148
158
  default:
149
159
  reader.skipField();
150
160
  break;
@@ -230,6 +240,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
230
240
  f
231
241
  );
232
242
  }
243
+ f = message.getObjectId();
244
+ if (f.length > 0) {
245
+ writer.writeString(
246
+ 9,
247
+ f
248
+ );
249
+ }
250
+ f = message.getObjectNonceId();
251
+ if (f.length > 0) {
252
+ writer.writeString(
253
+ 10,
254
+ f
255
+ );
256
+ }
233
257
  };
234
258
 
235
259
 
@@ -377,4 +401,40 @@ proto.wechaty.puppet.ChannelPayload.prototype.setUrl = function(value) {
377
401
  };
378
402
 
379
403
 
404
+ /**
405
+ * optional string object_id = 9;
406
+ * @return {string}
407
+ */
408
+ proto.wechaty.puppet.ChannelPayload.prototype.getObjectId = function() {
409
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
410
+ };
411
+
412
+
413
+ /**
414
+ * @param {string} value
415
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
416
+ */
417
+ proto.wechaty.puppet.ChannelPayload.prototype.setObjectId = function(value) {
418
+ return jspb.Message.setProto3StringField(this, 9, value);
419
+ };
420
+
421
+
422
+ /**
423
+ * optional string object_nonce_id = 10;
424
+ * @return {string}
425
+ */
426
+ proto.wechaty.puppet.ChannelPayload.prototype.getObjectNonceId = function() {
427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
428
+ };
429
+
430
+
431
+ /**
432
+ * @param {string} value
433
+ * @return {!proto.wechaty.puppet.ChannelPayload} returns this
434
+ */
435
+ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value) {
436
+ return jspb.Message.setProto3StringField(this, 10, value);
437
+ };
438
+
439
+
380
440
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -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.37
12
+ version: 1.0.38
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -2143,6 +2143,11 @@ definitions:
2143
2143
  url:
2144
2144
  type: string
2145
2145
  title: 视频号地址
2146
+ objectId:
2147
+ type: string
2148
+ title: 视频号直播专属
2149
+ objectNonceId:
2150
+ type: string
2146
2151
  puppetContactAliasResponse:
2147
2152
  type: object
2148
2153
  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.37",
6
+ "version": "1.0.38",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -3197,6 +3197,13 @@
3197
3197
  "url": {
3198
3198
  "type": "string",
3199
3199
  "title": "视频号地址"
3200
+ },
3201
+ "objectId": {
3202
+ "type": "string",
3203
+ "title": "视频号直播专属"
3204
+ },
3205
+ "objectNonceId": {
3206
+ "type": "string"
3200
3207
  }
3201
3208
  }
3202
3209
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
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.37",
7
+ "version": "1.0.38",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {