@juzi/wechaty-grpc 1.0.19 → 1.0.21

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.
@@ -63,6 +63,8 @@ export interface EventTypeMap {
63
63
  EVENT_TYPE_DIRTY: 27;
64
64
  EVENT_TYPE_TAG: 28;
65
65
  EVENT_TYPE_TAG_GROUP: 29;
66
+ EVENT_TYPE_POST_COMMENT: 30;
67
+ EVENT_TYPE_POST_TAP: 31;
66
68
  }
67
69
 
68
70
  export const EventType: EventTypeMap;
@@ -343,7 +343,9 @@ proto.wechaty.puppet.EventType = {
343
343
  EVENT_TYPE_LOGOUT: 26,
344
344
  EVENT_TYPE_DIRTY: 27,
345
345
  EVENT_TYPE_TAG: 28,
346
- EVENT_TYPE_TAG_GROUP: 29
346
+ EVENT_TYPE_TAG_GROUP: 29,
347
+ EVENT_TYPE_POST_COMMENT: 30,
348
+ EVENT_TYPE_POST_TAP: 31
347
349
  };
348
350
 
349
351
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -30,10 +30,10 @@ export class PostSayable extends jspb.Message {
30
30
  getUrlLink(): wechaty_puppet_url_link_pb.UrlLinkPayload | undefined;
31
31
  setUrlLink(value?: wechaty_puppet_url_link_pb.UrlLinkPayload): void;
32
32
 
33
- hasCahnel(): boolean;
34
- clearCahnel(): void;
35
- getCahnel(): wechaty_puppet_channel_pb.ChannelPayload | undefined;
36
- setCahnel(value?: wechaty_puppet_channel_pb.ChannelPayload): void;
33
+ hasChannel(): boolean;
34
+ clearChannel(): void;
35
+ getChannel(): wechaty_puppet_channel_pb.ChannelPayload | undefined;
36
+ setChannel(value?: wechaty_puppet_channel_pb.ChannelPayload): void;
37
37
 
38
38
  getSayablesCase(): PostSayable.SayablesCase;
39
39
  serializeBinary(): Uint8Array;
@@ -53,7 +53,7 @@ export namespace PostSayable {
53
53
  text: string,
54
54
  fileBox: string,
55
55
  urlLink?: wechaty_puppet_url_link_pb.UrlLinkPayload.AsObject,
56
- cahnel?: wechaty_puppet_channel_pb.ChannelPayload.AsObject,
56
+ channel?: wechaty_puppet_channel_pb.ChannelPayload.AsObject,
57
57
  }
58
58
 
59
59
  export enum SayablesCase {
@@ -62,7 +62,7 @@ export namespace PostSayable {
62
62
  TEXT = 3,
63
63
  FILE_BOX = 4,
64
64
  URL_LINK = 5,
65
- CAHNEL = 6,
65
+ CHANNEL = 6,
66
66
  }
67
67
  }
68
68
 
@@ -286,7 +286,7 @@ proto.wechaty.puppet.PostSayable.SayablesCase = {
286
286
  TEXT: 3,
287
287
  FILE_BOX: 4,
288
288
  URL_LINK: 5,
289
- CAHNEL: 6
289
+ CHANNEL: 6
290
290
  };
291
291
 
292
292
  /**
@@ -332,7 +332,7 @@ proto.wechaty.puppet.PostSayable.toObject = function(includeInstance, msg) {
332
332
  text: jspb.Message.getFieldWithDefault(msg, 3, ""),
333
333
  fileBox: jspb.Message.getFieldWithDefault(msg, 4, ""),
334
334
  urlLink: (f = msg.getUrlLink()) && wechaty_puppet_url$link_pb.UrlLinkPayload.toObject(includeInstance, f),
335
- cahnel: (f = msg.getCahnel()) && wechaty_puppet_channel_pb.ChannelPayload.toObject(includeInstance, f)
335
+ channel: (f = msg.getChannel()) && wechaty_puppet_channel_pb.ChannelPayload.toObject(includeInstance, f)
336
336
  };
337
337
 
338
338
  if (includeInstance) {
@@ -393,7 +393,7 @@ proto.wechaty.puppet.PostSayable.deserializeBinaryFromReader = function(msg, rea
393
393
  case 6:
394
394
  var value = new wechaty_puppet_channel_pb.ChannelPayload;
395
395
  reader.readMessage(value,wechaty_puppet_channel_pb.ChannelPayload.deserializeBinaryFromReader);
396
- msg.setCahnel(value);
396
+ msg.setChannel(value);
397
397
  break;
398
398
  default:
399
399
  reader.skipField();
@@ -460,7 +460,7 @@ proto.wechaty.puppet.PostSayable.serializeBinaryToWriter = function(message, wri
460
460
  wechaty_puppet_url$link_pb.UrlLinkPayload.serializeBinaryToWriter
461
461
  );
462
462
  }
463
- f = message.getCahnel();
463
+ f = message.getChannel();
464
464
  if (f != null) {
465
465
  writer.writeMessage(
466
466
  6,
@@ -635,10 +635,10 @@ proto.wechaty.puppet.PostSayable.prototype.hasUrlLink = function() {
635
635
 
636
636
 
637
637
  /**
638
- * optional ChannelPayload cahnel = 6;
638
+ * optional ChannelPayload channel = 6;
639
639
  * @return {?proto.wechaty.puppet.ChannelPayload}
640
640
  */
641
- proto.wechaty.puppet.PostSayable.prototype.getCahnel = function() {
641
+ proto.wechaty.puppet.PostSayable.prototype.getChannel = function() {
642
642
  return /** @type{?proto.wechaty.puppet.ChannelPayload} */ (
643
643
  jspb.Message.getWrapperField(this, wechaty_puppet_channel_pb.ChannelPayload, 6));
644
644
  };
@@ -648,7 +648,7 @@ proto.wechaty.puppet.PostSayable.prototype.getCahnel = function() {
648
648
  * @param {?proto.wechaty.puppet.ChannelPayload|undefined} value
649
649
  * @return {!proto.wechaty.puppet.PostSayable} returns this
650
650
  */
651
- proto.wechaty.puppet.PostSayable.prototype.setCahnel = function(value) {
651
+ proto.wechaty.puppet.PostSayable.prototype.setChannel = function(value) {
652
652
  return jspb.Message.setOneofWrapperField(this, 6, proto.wechaty.puppet.PostSayable.oneofGroups_[0], value);
653
653
  };
654
654
 
@@ -657,8 +657,8 @@ proto.wechaty.puppet.PostSayable.prototype.setCahnel = function(value) {
657
657
  * Clears the message field making it undefined.
658
658
  * @return {!proto.wechaty.puppet.PostSayable} returns this
659
659
  */
660
- proto.wechaty.puppet.PostSayable.prototype.clearCahnel = function() {
661
- return this.setCahnel(undefined);
660
+ proto.wechaty.puppet.PostSayable.prototype.clearChannel = function() {
661
+ return this.setChannel(undefined);
662
662
  };
663
663
 
664
664
 
@@ -666,7 +666,7 @@ proto.wechaty.puppet.PostSayable.prototype.clearCahnel = function() {
666
666
  * Returns whether this field is set.
667
667
  * @return {boolean}
668
668
  */
669
- proto.wechaty.puppet.PostSayable.prototype.hasCahnel = function() {
669
+ proto.wechaty.puppet.PostSayable.prototype.hasChannel = function() {
670
670
  return jspb.Message.getField(this, 6) != null;
671
671
  };
672
672
 
@@ -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.19
12
+ version: 1.0.21
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -2215,6 +2215,8 @@ definitions:
2215
2215
  - EVENT_TYPE_DIRTY
2216
2216
  - EVENT_TYPE_TAG
2217
2217
  - EVENT_TYPE_TAG_GROUP
2218
+ - EVENT_TYPE_POST_COMMENT
2219
+ - EVENT_TYPE_POST_TAP
2218
2220
  default: EVENT_TYPE_UNSPECIFIED
2219
2221
  puppetFileBoxChunk:
2220
2222
  type: object
@@ -2768,7 +2770,7 @@ definitions:
2768
2770
  type: string
2769
2771
  urlLink:
2770
2772
  $ref: '#/definitions/puppetUrlLinkPayload'
2771
- cahnel:
2773
+ channel:
2772
2774
  $ref: '#/definitions/puppetChannelPayload'
2773
2775
  puppetPostType:
2774
2776
  type: string
@@ -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.19",
6
+ "version": "1.0.21",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -3313,7 +3313,9 @@
3313
3313
  "EVENT_TYPE_LOGOUT",
3314
3314
  "EVENT_TYPE_DIRTY",
3315
3315
  "EVENT_TYPE_TAG",
3316
- "EVENT_TYPE_TAG_GROUP"
3316
+ "EVENT_TYPE_TAG_GROUP",
3317
+ "EVENT_TYPE_POST_COMMENT",
3318
+ "EVENT_TYPE_POST_TAP"
3317
3319
  ],
3318
3320
  "default": "EVENT_TYPE_UNSPECIFIED"
3319
3321
  },
@@ -4029,7 +4031,7 @@
4029
4031
  "urlLink": {
4030
4032
  "$ref": "#/definitions/puppetUrlLinkPayload"
4031
4033
  },
4032
- "cahnel": {
4034
+ "channel": {
4033
4035
  "$ref": "#/definitions/puppetChannelPayload"
4034
4036
  }
4035
4037
  }
@@ -29,6 +29,8 @@ enum EventType {
29
29
  EVENT_TYPE_DIRTY = 27;
30
30
  EVENT_TYPE_TAG = 28;
31
31
  EVENT_TYPE_TAG_GROUP = 29;
32
+ EVENT_TYPE_POST_COMMENT= 30;
33
+ EVENT_TYPE_POST_TAP = 31;
32
34
  }
33
35
 
34
36
  message EventRequest {}
@@ -31,7 +31,7 @@ message PostSayable {
31
31
  string text = 3;
32
32
  string file_box = 4; // FileBox.toJSON()
33
33
  UrlLinkPayload url_link = 5;
34
- ChannelPayload cahnel = 6;
34
+ ChannelPayload channel = 6;
35
35
  }
36
36
  }
37
37
 
@@ -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.19",
6
+ "version": "1.0.21",
7
7
  "description": "gRPC for Wechaty",
8
8
  "type": "module",
9
9
  "exports": {
@@ -63,6 +63,8 @@ export interface EventTypeMap {
63
63
  EVENT_TYPE_DIRTY: 27;
64
64
  EVENT_TYPE_TAG: 28;
65
65
  EVENT_TYPE_TAG_GROUP: 29;
66
+ EVENT_TYPE_POST_COMMENT: 30;
67
+ EVENT_TYPE_POST_TAP: 31;
66
68
  }
67
69
 
68
70
  export const EventType: EventTypeMap;
@@ -343,7 +343,9 @@ proto.wechaty.puppet.EventType = {
343
343
  EVENT_TYPE_LOGOUT: 26,
344
344
  EVENT_TYPE_DIRTY: 27,
345
345
  EVENT_TYPE_TAG: 28,
346
- EVENT_TYPE_TAG_GROUP: 29
346
+ EVENT_TYPE_TAG_GROUP: 29,
347
+ EVENT_TYPE_POST_COMMENT: 30,
348
+ EVENT_TYPE_POST_TAP: 31
347
349
  };
348
350
 
349
351
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -30,10 +30,10 @@ export class PostSayable extends jspb.Message {
30
30
  getUrlLink(): wechaty_puppet_url_link_pb.UrlLinkPayload | undefined;
31
31
  setUrlLink(value?: wechaty_puppet_url_link_pb.UrlLinkPayload): void;
32
32
 
33
- hasCahnel(): boolean;
34
- clearCahnel(): void;
35
- getCahnel(): wechaty_puppet_channel_pb.ChannelPayload | undefined;
36
- setCahnel(value?: wechaty_puppet_channel_pb.ChannelPayload): void;
33
+ hasChannel(): boolean;
34
+ clearChannel(): void;
35
+ getChannel(): wechaty_puppet_channel_pb.ChannelPayload | undefined;
36
+ setChannel(value?: wechaty_puppet_channel_pb.ChannelPayload): void;
37
37
 
38
38
  getSayablesCase(): PostSayable.SayablesCase;
39
39
  serializeBinary(): Uint8Array;
@@ -53,7 +53,7 @@ export namespace PostSayable {
53
53
  text: string,
54
54
  fileBox: string,
55
55
  urlLink?: wechaty_puppet_url_link_pb.UrlLinkPayload.AsObject,
56
- cahnel?: wechaty_puppet_channel_pb.ChannelPayload.AsObject,
56
+ channel?: wechaty_puppet_channel_pb.ChannelPayload.AsObject,
57
57
  }
58
58
 
59
59
  export enum SayablesCase {
@@ -62,7 +62,7 @@ export namespace PostSayable {
62
62
  TEXT = 3,
63
63
  FILE_BOX = 4,
64
64
  URL_LINK = 5,
65
- CAHNEL = 6,
65
+ CHANNEL = 6,
66
66
  }
67
67
  }
68
68
 
@@ -286,7 +286,7 @@ proto.wechaty.puppet.PostSayable.SayablesCase = {
286
286
  TEXT: 3,
287
287
  FILE_BOX: 4,
288
288
  URL_LINK: 5,
289
- CAHNEL: 6
289
+ CHANNEL: 6
290
290
  };
291
291
 
292
292
  /**
@@ -332,7 +332,7 @@ proto.wechaty.puppet.PostSayable.toObject = function(includeInstance, msg) {
332
332
  text: jspb.Message.getFieldWithDefault(msg, 3, ""),
333
333
  fileBox: jspb.Message.getFieldWithDefault(msg, 4, ""),
334
334
  urlLink: (f = msg.getUrlLink()) && wechaty_puppet_url$link_pb.UrlLinkPayload.toObject(includeInstance, f),
335
- cahnel: (f = msg.getCahnel()) && wechaty_puppet_channel_pb.ChannelPayload.toObject(includeInstance, f)
335
+ channel: (f = msg.getChannel()) && wechaty_puppet_channel_pb.ChannelPayload.toObject(includeInstance, f)
336
336
  };
337
337
 
338
338
  if (includeInstance) {
@@ -393,7 +393,7 @@ proto.wechaty.puppet.PostSayable.deserializeBinaryFromReader = function(msg, rea
393
393
  case 6:
394
394
  var value = new wechaty_puppet_channel_pb.ChannelPayload;
395
395
  reader.readMessage(value,wechaty_puppet_channel_pb.ChannelPayload.deserializeBinaryFromReader);
396
- msg.setCahnel(value);
396
+ msg.setChannel(value);
397
397
  break;
398
398
  default:
399
399
  reader.skipField();
@@ -460,7 +460,7 @@ proto.wechaty.puppet.PostSayable.serializeBinaryToWriter = function(message, wri
460
460
  wechaty_puppet_url$link_pb.UrlLinkPayload.serializeBinaryToWriter
461
461
  );
462
462
  }
463
- f = message.getCahnel();
463
+ f = message.getChannel();
464
464
  if (f != null) {
465
465
  writer.writeMessage(
466
466
  6,
@@ -635,10 +635,10 @@ proto.wechaty.puppet.PostSayable.prototype.hasUrlLink = function() {
635
635
 
636
636
 
637
637
  /**
638
- * optional ChannelPayload cahnel = 6;
638
+ * optional ChannelPayload channel = 6;
639
639
  * @return {?proto.wechaty.puppet.ChannelPayload}
640
640
  */
641
- proto.wechaty.puppet.PostSayable.prototype.getCahnel = function() {
641
+ proto.wechaty.puppet.PostSayable.prototype.getChannel = function() {
642
642
  return /** @type{?proto.wechaty.puppet.ChannelPayload} */ (
643
643
  jspb.Message.getWrapperField(this, wechaty_puppet_channel_pb.ChannelPayload, 6));
644
644
  };
@@ -648,7 +648,7 @@ proto.wechaty.puppet.PostSayable.prototype.getCahnel = function() {
648
648
  * @param {?proto.wechaty.puppet.ChannelPayload|undefined} value
649
649
  * @return {!proto.wechaty.puppet.PostSayable} returns this
650
650
  */
651
- proto.wechaty.puppet.PostSayable.prototype.setCahnel = function(value) {
651
+ proto.wechaty.puppet.PostSayable.prototype.setChannel = function(value) {
652
652
  return jspb.Message.setOneofWrapperField(this, 6, proto.wechaty.puppet.PostSayable.oneofGroups_[0], value);
653
653
  };
654
654
 
@@ -657,8 +657,8 @@ proto.wechaty.puppet.PostSayable.prototype.setCahnel = function(value) {
657
657
  * Clears the message field making it undefined.
658
658
  * @return {!proto.wechaty.puppet.PostSayable} returns this
659
659
  */
660
- proto.wechaty.puppet.PostSayable.prototype.clearCahnel = function() {
661
- return this.setCahnel(undefined);
660
+ proto.wechaty.puppet.PostSayable.prototype.clearChannel = function() {
661
+ return this.setChannel(undefined);
662
662
  };
663
663
 
664
664
 
@@ -666,7 +666,7 @@ proto.wechaty.puppet.PostSayable.prototype.clearCahnel = function() {
666
666
  * Returns whether this field is set.
667
667
  * @return {boolean}
668
668
  */
669
- proto.wechaty.puppet.PostSayable.prototype.hasCahnel = function() {
669
+ proto.wechaty.puppet.PostSayable.prototype.hasChannel = function() {
670
670
  return jspb.Message.getField(this, 6) != null;
671
671
  };
672
672
 
@@ -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.19
12
+ version: 1.0.21
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -2215,6 +2215,8 @@ definitions:
2215
2215
  - EVENT_TYPE_DIRTY
2216
2216
  - EVENT_TYPE_TAG
2217
2217
  - EVENT_TYPE_TAG_GROUP
2218
+ - EVENT_TYPE_POST_COMMENT
2219
+ - EVENT_TYPE_POST_TAP
2218
2220
  default: EVENT_TYPE_UNSPECIFIED
2219
2221
  puppetFileBoxChunk:
2220
2222
  type: object
@@ -2768,7 +2770,7 @@ definitions:
2768
2770
  type: string
2769
2771
  urlLink:
2770
2772
  $ref: '#/definitions/puppetUrlLinkPayload'
2771
- cahnel:
2773
+ channel:
2772
2774
  $ref: '#/definitions/puppetChannelPayload'
2773
2775
  puppetPostType:
2774
2776
  type: string
@@ -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.19",
6
+ "version": "1.0.21",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -3313,7 +3313,9 @@
3313
3313
  "EVENT_TYPE_LOGOUT",
3314
3314
  "EVENT_TYPE_DIRTY",
3315
3315
  "EVENT_TYPE_TAG",
3316
- "EVENT_TYPE_TAG_GROUP"
3316
+ "EVENT_TYPE_TAG_GROUP",
3317
+ "EVENT_TYPE_POST_COMMENT",
3318
+ "EVENT_TYPE_POST_TAP"
3317
3319
  ],
3318
3320
  "default": "EVENT_TYPE_UNSPECIFIED"
3319
3321
  },
@@ -4029,7 +4031,7 @@
4029
4031
  "urlLink": {
4030
4032
  "$ref": "#/definitions/puppetUrlLinkPayload"
4031
4033
  },
4032
- "cahnel": {
4034
+ "channel": {
4033
4035
  "$ref": "#/definitions/puppetChannelPayload"
4034
4036
  }
4035
4037
  }
@@ -29,6 +29,8 @@ enum EventType {
29
29
  EVENT_TYPE_DIRTY = 27;
30
30
  EVENT_TYPE_TAG = 28;
31
31
  EVENT_TYPE_TAG_GROUP = 29;
32
+ EVENT_TYPE_POST_COMMENT= 30;
33
+ EVENT_TYPE_POST_TAP = 31;
32
34
  }
33
35
 
34
36
  message EventRequest {}
@@ -31,7 +31,7 @@ message PostSayable {
31
31
  string text = 3;
32
32
  string file_box = 4; // FileBox.toJSON()
33
33
  UrlLinkPayload url_link = 5;
34
- ChannelPayload cahnel = 6;
34
+ ChannelPayload channel = 6;
35
35
  }
36
36
  }
37
37
 
@@ -1,6 +1,6 @@
1
1
  export const packageJson = {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -63,6 +63,8 @@ export interface EventTypeMap {
63
63
  EVENT_TYPE_DIRTY: 27;
64
64
  EVENT_TYPE_TAG: 28;
65
65
  EVENT_TYPE_TAG_GROUP: 29;
66
+ EVENT_TYPE_POST_COMMENT: 30;
67
+ EVENT_TYPE_POST_TAP: 31;
66
68
  }
67
69
 
68
70
  export const EventType: EventTypeMap;
@@ -343,7 +343,9 @@ proto.wechaty.puppet.EventType = {
343
343
  EVENT_TYPE_LOGOUT: 26,
344
344
  EVENT_TYPE_DIRTY: 27,
345
345
  EVENT_TYPE_TAG: 28,
346
- EVENT_TYPE_TAG_GROUP: 29
346
+ EVENT_TYPE_TAG_GROUP: 29,
347
+ EVENT_TYPE_POST_COMMENT: 30,
348
+ EVENT_TYPE_POST_TAP: 31
347
349
  };
348
350
 
349
351
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -30,10 +30,10 @@ export class PostSayable extends jspb.Message {
30
30
  getUrlLink(): wechaty_puppet_url_link_pb.UrlLinkPayload | undefined;
31
31
  setUrlLink(value?: wechaty_puppet_url_link_pb.UrlLinkPayload): void;
32
32
 
33
- hasCahnel(): boolean;
34
- clearCahnel(): void;
35
- getCahnel(): wechaty_puppet_channel_pb.ChannelPayload | undefined;
36
- setCahnel(value?: wechaty_puppet_channel_pb.ChannelPayload): void;
33
+ hasChannel(): boolean;
34
+ clearChannel(): void;
35
+ getChannel(): wechaty_puppet_channel_pb.ChannelPayload | undefined;
36
+ setChannel(value?: wechaty_puppet_channel_pb.ChannelPayload): void;
37
37
 
38
38
  getSayablesCase(): PostSayable.SayablesCase;
39
39
  serializeBinary(): Uint8Array;
@@ -53,7 +53,7 @@ export namespace PostSayable {
53
53
  text: string,
54
54
  fileBox: string,
55
55
  urlLink?: wechaty_puppet_url_link_pb.UrlLinkPayload.AsObject,
56
- cahnel?: wechaty_puppet_channel_pb.ChannelPayload.AsObject,
56
+ channel?: wechaty_puppet_channel_pb.ChannelPayload.AsObject,
57
57
  }
58
58
 
59
59
  export enum SayablesCase {
@@ -62,7 +62,7 @@ export namespace PostSayable {
62
62
  TEXT = 3,
63
63
  FILE_BOX = 4,
64
64
  URL_LINK = 5,
65
- CAHNEL = 6,
65
+ CHANNEL = 6,
66
66
  }
67
67
  }
68
68
 
@@ -286,7 +286,7 @@ proto.wechaty.puppet.PostSayable.SayablesCase = {
286
286
  TEXT: 3,
287
287
  FILE_BOX: 4,
288
288
  URL_LINK: 5,
289
- CAHNEL: 6
289
+ CHANNEL: 6
290
290
  };
291
291
 
292
292
  /**
@@ -332,7 +332,7 @@ proto.wechaty.puppet.PostSayable.toObject = function(includeInstance, msg) {
332
332
  text: jspb.Message.getFieldWithDefault(msg, 3, ""),
333
333
  fileBox: jspb.Message.getFieldWithDefault(msg, 4, ""),
334
334
  urlLink: (f = msg.getUrlLink()) && wechaty_puppet_url$link_pb.UrlLinkPayload.toObject(includeInstance, f),
335
- cahnel: (f = msg.getCahnel()) && wechaty_puppet_channel_pb.ChannelPayload.toObject(includeInstance, f)
335
+ channel: (f = msg.getChannel()) && wechaty_puppet_channel_pb.ChannelPayload.toObject(includeInstance, f)
336
336
  };
337
337
 
338
338
  if (includeInstance) {
@@ -393,7 +393,7 @@ proto.wechaty.puppet.PostSayable.deserializeBinaryFromReader = function(msg, rea
393
393
  case 6:
394
394
  var value = new wechaty_puppet_channel_pb.ChannelPayload;
395
395
  reader.readMessage(value,wechaty_puppet_channel_pb.ChannelPayload.deserializeBinaryFromReader);
396
- msg.setCahnel(value);
396
+ msg.setChannel(value);
397
397
  break;
398
398
  default:
399
399
  reader.skipField();
@@ -460,7 +460,7 @@ proto.wechaty.puppet.PostSayable.serializeBinaryToWriter = function(message, wri
460
460
  wechaty_puppet_url$link_pb.UrlLinkPayload.serializeBinaryToWriter
461
461
  );
462
462
  }
463
- f = message.getCahnel();
463
+ f = message.getChannel();
464
464
  if (f != null) {
465
465
  writer.writeMessage(
466
466
  6,
@@ -635,10 +635,10 @@ proto.wechaty.puppet.PostSayable.prototype.hasUrlLink = function() {
635
635
 
636
636
 
637
637
  /**
638
- * optional ChannelPayload cahnel = 6;
638
+ * optional ChannelPayload channel = 6;
639
639
  * @return {?proto.wechaty.puppet.ChannelPayload}
640
640
  */
641
- proto.wechaty.puppet.PostSayable.prototype.getCahnel = function() {
641
+ proto.wechaty.puppet.PostSayable.prototype.getChannel = function() {
642
642
  return /** @type{?proto.wechaty.puppet.ChannelPayload} */ (
643
643
  jspb.Message.getWrapperField(this, wechaty_puppet_channel_pb.ChannelPayload, 6));
644
644
  };
@@ -648,7 +648,7 @@ proto.wechaty.puppet.PostSayable.prototype.getCahnel = function() {
648
648
  * @param {?proto.wechaty.puppet.ChannelPayload|undefined} value
649
649
  * @return {!proto.wechaty.puppet.PostSayable} returns this
650
650
  */
651
- proto.wechaty.puppet.PostSayable.prototype.setCahnel = function(value) {
651
+ proto.wechaty.puppet.PostSayable.prototype.setChannel = function(value) {
652
652
  return jspb.Message.setOneofWrapperField(this, 6, proto.wechaty.puppet.PostSayable.oneofGroups_[0], value);
653
653
  };
654
654
 
@@ -657,8 +657,8 @@ proto.wechaty.puppet.PostSayable.prototype.setCahnel = function(value) {
657
657
  * Clears the message field making it undefined.
658
658
  * @return {!proto.wechaty.puppet.PostSayable} returns this
659
659
  */
660
- proto.wechaty.puppet.PostSayable.prototype.clearCahnel = function() {
661
- return this.setCahnel(undefined);
660
+ proto.wechaty.puppet.PostSayable.prototype.clearChannel = function() {
661
+ return this.setChannel(undefined);
662
662
  };
663
663
 
664
664
 
@@ -666,7 +666,7 @@ proto.wechaty.puppet.PostSayable.prototype.clearCahnel = function() {
666
666
  * Returns whether this field is set.
667
667
  * @return {boolean}
668
668
  */
669
- proto.wechaty.puppet.PostSayable.prototype.hasCahnel = function() {
669
+ proto.wechaty.puppet.PostSayable.prototype.hasChannel = function() {
670
670
  return jspb.Message.getField(this, 6) != null;
671
671
  };
672
672
 
@@ -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.19
12
+ version: 1.0.21
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -2215,6 +2215,8 @@ definitions:
2215
2215
  - EVENT_TYPE_DIRTY
2216
2216
  - EVENT_TYPE_TAG
2217
2217
  - EVENT_TYPE_TAG_GROUP
2218
+ - EVENT_TYPE_POST_COMMENT
2219
+ - EVENT_TYPE_POST_TAP
2218
2220
  default: EVENT_TYPE_UNSPECIFIED
2219
2221
  puppetFileBoxChunk:
2220
2222
  type: object
@@ -2768,7 +2770,7 @@ definitions:
2768
2770
  type: string
2769
2771
  urlLink:
2770
2772
  $ref: '#/definitions/puppetUrlLinkPayload'
2771
- cahnel:
2773
+ channel:
2772
2774
  $ref: '#/definitions/puppetChannelPayload'
2773
2775
  puppetPostType:
2774
2776
  type: string
@@ -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.19",
6
+ "version": "1.0.21",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -3313,7 +3313,9 @@
3313
3313
  "EVENT_TYPE_LOGOUT",
3314
3314
  "EVENT_TYPE_DIRTY",
3315
3315
  "EVENT_TYPE_TAG",
3316
- "EVENT_TYPE_TAG_GROUP"
3316
+ "EVENT_TYPE_TAG_GROUP",
3317
+ "EVENT_TYPE_POST_COMMENT",
3318
+ "EVENT_TYPE_POST_TAP"
3317
3319
  ],
3318
3320
  "default": "EVENT_TYPE_UNSPECIFIED"
3319
3321
  },
@@ -4029,7 +4031,7 @@
4029
4031
  "urlLink": {
4030
4032
  "$ref": "#/definitions/puppetUrlLinkPayload"
4031
4033
  },
4032
- "cahnel": {
4034
+ "channel": {
4033
4035
  "$ref": "#/definitions/puppetChannelPayload"
4034
4036
  }
4035
4037
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
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.19",
7
+ "version": "1.0.21",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {