@juzi/wechaty-grpc 1.0.81 → 1.0.82

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.
@@ -240,8 +240,8 @@ export class CorpMessageInterceptionStrategy extends jspb.Message {
240
240
  getEmail(): boolean;
241
241
  setEmail(value: boolean): void;
242
242
 
243
- getRedPocket(): boolean;
244
- setRedPocket(value: boolean): void;
243
+ getRedPacket(): boolean;
244
+ setRedPacket(value: boolean): void;
245
245
 
246
246
  getType(): CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap];
247
247
  setType(value: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap]): void;
@@ -262,7 +262,7 @@ export namespace CorpMessageInterceptionStrategy {
262
262
  wordsList: Array<string>,
263
263
  phoneNumber: boolean,
264
264
  email: boolean,
265
- redPocket: boolean,
265
+ redPacket: boolean,
266
266
  type: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap],
267
267
  }
268
268
  }
@@ -1875,7 +1875,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.toObject = function(include
1875
1875
  wordsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1876
1876
  phoneNumber: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
1877
1877
  email: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
1878
- redPocket: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1878
+ redPacket: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1879
1879
  type: jspb.Message.getFieldWithDefault(msg, 6, 0)
1880
1880
  };
1881
1881
 
@@ -1931,7 +1931,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.deserializeBinaryFromReader
1931
1931
  break;
1932
1932
  case 5:
1933
1933
  var value = /** @type {boolean} */ (reader.readBool());
1934
- msg.setRedPocket(value);
1934
+ msg.setRedPacket(value);
1935
1935
  break;
1936
1936
  case 6:
1937
1937
  var value = /** @type {!proto.wechaty.puppet.CorpMessageInterceptionType} */ (reader.readEnum());
@@ -1994,7 +1994,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.serializeBinaryToWriter = f
1994
1994
  f
1995
1995
  );
1996
1996
  }
1997
- f = message.getRedPocket();
1997
+ f = message.getRedPacket();
1998
1998
  if (f) {
1999
1999
  writer.writeBool(
2000
2000
  5,
@@ -2103,10 +2103,10 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setEmail = functi
2103
2103
 
2104
2104
 
2105
2105
  /**
2106
- * optional bool red_pocket = 5;
2106
+ * optional bool red_packet = 5;
2107
2107
  * @return {boolean}
2108
2108
  */
2109
- proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPocket = function() {
2109
+ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPacket = function() {
2110
2110
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
2111
2111
  };
2112
2112
 
@@ -2115,7 +2115,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPocket = fu
2115
2115
  * @param {boolean} value
2116
2116
  * @return {!proto.wechaty.puppet.CorpMessageInterceptionStrategy} returns this
2117
2117
  */
2118
- proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setRedPocket = function(value) {
2118
+ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setRedPacket = function(value) {
2119
2119
  return jspb.Message.setProto3BooleanField(this, 5, value);
2120
2120
  };
2121
2121
 
@@ -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.81
12
+ version: 1.0.82
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -3114,7 +3114,7 @@ definitions:
3114
3114
  type: boolean
3115
3115
  email:
3116
3116
  type: boolean
3117
- redPocket:
3117
+ redPacket:
3118
3118
  type: boolean
3119
3119
  type:
3120
3120
  $ref: '#/definitions/puppetCorpMessageInterceptionType'
@@ -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.81",
6
+ "version": "1.0.82",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -4569,7 +4569,7 @@
4569
4569
  "email": {
4570
4570
  "type": "boolean"
4571
4571
  },
4572
- "redPocket": {
4572
+ "redPacket": {
4573
4573
  "type": "boolean"
4574
4574
  },
4575
4575
  "type": {
@@ -56,7 +56,7 @@ message CorpMessageInterceptionStrategy {
56
56
  repeated string words = 2;
57
57
  bool phone_number = 3;
58
58
  bool email = 4;
59
- bool red_pocket = 5;
59
+ bool red_packet = 5;
60
60
  CorpMessageInterceptionType type = 6;
61
61
  }
62
62
 
@@ -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.81",
6
+ "version": "1.0.82",
7
7
  "description": "gRPC for Wechaty",
8
8
  "type": "module",
9
9
  "exports": {
@@ -240,8 +240,8 @@ export class CorpMessageInterceptionStrategy extends jspb.Message {
240
240
  getEmail(): boolean;
241
241
  setEmail(value: boolean): void;
242
242
 
243
- getRedPocket(): boolean;
244
- setRedPocket(value: boolean): void;
243
+ getRedPacket(): boolean;
244
+ setRedPacket(value: boolean): void;
245
245
 
246
246
  getType(): CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap];
247
247
  setType(value: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap]): void;
@@ -262,7 +262,7 @@ export namespace CorpMessageInterceptionStrategy {
262
262
  wordsList: Array<string>,
263
263
  phoneNumber: boolean,
264
264
  email: boolean,
265
- redPocket: boolean,
265
+ redPacket: boolean,
266
266
  type: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap],
267
267
  }
268
268
  }
@@ -1875,7 +1875,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.toObject = function(include
1875
1875
  wordsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1876
1876
  phoneNumber: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
1877
1877
  email: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
1878
- redPocket: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1878
+ redPacket: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1879
1879
  type: jspb.Message.getFieldWithDefault(msg, 6, 0)
1880
1880
  };
1881
1881
 
@@ -1931,7 +1931,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.deserializeBinaryFromReader
1931
1931
  break;
1932
1932
  case 5:
1933
1933
  var value = /** @type {boolean} */ (reader.readBool());
1934
- msg.setRedPocket(value);
1934
+ msg.setRedPacket(value);
1935
1935
  break;
1936
1936
  case 6:
1937
1937
  var value = /** @type {!proto.wechaty.puppet.CorpMessageInterceptionType} */ (reader.readEnum());
@@ -1994,7 +1994,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.serializeBinaryToWriter = f
1994
1994
  f
1995
1995
  );
1996
1996
  }
1997
- f = message.getRedPocket();
1997
+ f = message.getRedPacket();
1998
1998
  if (f) {
1999
1999
  writer.writeBool(
2000
2000
  5,
@@ -2103,10 +2103,10 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setEmail = functi
2103
2103
 
2104
2104
 
2105
2105
  /**
2106
- * optional bool red_pocket = 5;
2106
+ * optional bool red_packet = 5;
2107
2107
  * @return {boolean}
2108
2108
  */
2109
- proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPocket = function() {
2109
+ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPacket = function() {
2110
2110
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
2111
2111
  };
2112
2112
 
@@ -2115,7 +2115,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPocket = fu
2115
2115
  * @param {boolean} value
2116
2116
  * @return {!proto.wechaty.puppet.CorpMessageInterceptionStrategy} returns this
2117
2117
  */
2118
- proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setRedPocket = function(value) {
2118
+ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setRedPacket = function(value) {
2119
2119
  return jspb.Message.setProto3BooleanField(this, 5, value);
2120
2120
  };
2121
2121
 
@@ -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.81
12
+ version: 1.0.82
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -3114,7 +3114,7 @@ definitions:
3114
3114
  type: boolean
3115
3115
  email:
3116
3116
  type: boolean
3117
- redPocket:
3117
+ redPacket:
3118
3118
  type: boolean
3119
3119
  type:
3120
3120
  $ref: '#/definitions/puppetCorpMessageInterceptionType'
@@ -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.81",
6
+ "version": "1.0.82",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -4569,7 +4569,7 @@
4569
4569
  "email": {
4570
4570
  "type": "boolean"
4571
4571
  },
4572
- "redPocket": {
4572
+ "redPacket": {
4573
4573
  "type": "boolean"
4574
4574
  },
4575
4575
  "type": {
@@ -56,7 +56,7 @@ message CorpMessageInterceptionStrategy {
56
56
  repeated string words = 2;
57
57
  bool phone_number = 3;
58
58
  bool email = 4;
59
- bool red_pocket = 5;
59
+ bool red_packet = 5;
60
60
  CorpMessageInterceptionType type = 6;
61
61
  }
62
62
 
@@ -1,6 +1,6 @@
1
1
  export const packageJson = {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -240,8 +240,8 @@ export class CorpMessageInterceptionStrategy extends jspb.Message {
240
240
  getEmail(): boolean;
241
241
  setEmail(value: boolean): void;
242
242
 
243
- getRedPocket(): boolean;
244
- setRedPocket(value: boolean): void;
243
+ getRedPacket(): boolean;
244
+ setRedPacket(value: boolean): void;
245
245
 
246
246
  getType(): CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap];
247
247
  setType(value: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap]): void;
@@ -262,7 +262,7 @@ export namespace CorpMessageInterceptionStrategy {
262
262
  wordsList: Array<string>,
263
263
  phoneNumber: boolean,
264
264
  email: boolean,
265
- redPocket: boolean,
265
+ redPacket: boolean,
266
266
  type: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap],
267
267
  }
268
268
  }
@@ -1875,7 +1875,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.toObject = function(include
1875
1875
  wordsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1876
1876
  phoneNumber: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
1877
1877
  email: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
1878
- redPocket: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1878
+ redPacket: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
1879
1879
  type: jspb.Message.getFieldWithDefault(msg, 6, 0)
1880
1880
  };
1881
1881
 
@@ -1931,7 +1931,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.deserializeBinaryFromReader
1931
1931
  break;
1932
1932
  case 5:
1933
1933
  var value = /** @type {boolean} */ (reader.readBool());
1934
- msg.setRedPocket(value);
1934
+ msg.setRedPacket(value);
1935
1935
  break;
1936
1936
  case 6:
1937
1937
  var value = /** @type {!proto.wechaty.puppet.CorpMessageInterceptionType} */ (reader.readEnum());
@@ -1994,7 +1994,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.serializeBinaryToWriter = f
1994
1994
  f
1995
1995
  );
1996
1996
  }
1997
- f = message.getRedPocket();
1997
+ f = message.getRedPacket();
1998
1998
  if (f) {
1999
1999
  writer.writeBool(
2000
2000
  5,
@@ -2103,10 +2103,10 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setEmail = functi
2103
2103
 
2104
2104
 
2105
2105
  /**
2106
- * optional bool red_pocket = 5;
2106
+ * optional bool red_packet = 5;
2107
2107
  * @return {boolean}
2108
2108
  */
2109
- proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPocket = function() {
2109
+ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPacket = function() {
2110
2110
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
2111
2111
  };
2112
2112
 
@@ -2115,7 +2115,7 @@ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.getRedPocket = fu
2115
2115
  * @param {boolean} value
2116
2116
  * @return {!proto.wechaty.puppet.CorpMessageInterceptionStrategy} returns this
2117
2117
  */
2118
- proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setRedPocket = function(value) {
2118
+ proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.setRedPacket = function(value) {
2119
2119
  return jspb.Message.setProto3BooleanField(this, 5, value);
2120
2120
  };
2121
2121
 
@@ -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.81
12
+ version: 1.0.82
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -3114,7 +3114,7 @@ definitions:
3114
3114
  type: boolean
3115
3115
  email:
3116
3116
  type: boolean
3117
- redPocket:
3117
+ redPacket:
3118
3118
  type: boolean
3119
3119
  type:
3120
3120
  $ref: '#/definitions/puppetCorpMessageInterceptionType'
@@ -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.81",
6
+ "version": "1.0.82",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -4569,7 +4569,7 @@
4569
4569
  "email": {
4570
4570
  "type": "boolean"
4571
4571
  },
4572
- "redPocket": {
4572
+ "redPacket": {
4573
4573
  "type": "boolean"
4574
4574
  },
4575
4575
  "type": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
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.81",
7
+ "version": "1.0.82",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {