@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.
- package/dist/cjs/out/wechaty/puppet/wecom_pb.d.ts +3 -3
- package/dist/cjs/out/wechaty/puppet/wecom_pb.js +6 -6
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +2 -2
- package/dist/cjs/out/wechaty/puppet.swagger.json +2 -2
- package/dist/cjs/proto/wechaty/puppet/wecom.proto +1 -1
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/wecom_pb.d.ts +3 -3
- package/dist/esm/out/wechaty/puppet/wecom_pb.js +6 -6
- package/dist/esm/out/wechaty/puppet.openapi.yaml +2 -2
- package/dist/esm/out/wechaty/puppet.swagger.json +2 -2
- package/dist/esm/proto/wechaty/puppet/wecom.proto +1 -1
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/wecom_pb.d.ts +3 -3
- package/out/wechaty/puppet/wecom_pb.js +6 -6
- package/out/wechaty/puppet.openapi.yaml +2 -2
- package/out/wechaty/puppet.swagger.json +2 -2
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -240,8 +240,8 @@ export class CorpMessageInterceptionStrategy extends jspb.Message {
|
|
|
240
240
|
getEmail(): boolean;
|
|
241
241
|
setEmail(value: boolean): void;
|
|
242
242
|
|
|
243
|
-
|
|
244
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
|
2106
|
+
* optional bool red_packet = 5;
|
|
2107
2107
|
* @return {boolean}
|
|
2108
2108
|
*/
|
|
2109
|
-
proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
"
|
|
4572
|
+
"redPacket": {
|
|
4573
4573
|
"type": "boolean"
|
|
4574
4574
|
},
|
|
4575
4575
|
"type": {
|
|
@@ -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.
|
|
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
|
-
|
|
244
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
|
2106
|
+
* optional bool red_packet = 5;
|
|
2107
2107
|
* @return {boolean}
|
|
2108
2108
|
*/
|
|
2109
|
-
proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
"
|
|
4572
|
+
"redPacket": {
|
|
4573
4573
|
"type": "boolean"
|
|
4574
4574
|
},
|
|
4575
4575
|
"type": {
|
|
@@ -240,8 +240,8 @@ export class CorpMessageInterceptionStrategy extends jspb.Message {
|
|
|
240
240
|
getEmail(): boolean;
|
|
241
241
|
setEmail(value: boolean): void;
|
|
242
242
|
|
|
243
|
-
|
|
244
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
|
2106
|
+
* optional bool red_packet = 5;
|
|
2107
2107
|
* @return {boolean}
|
|
2108
2108
|
*/
|
|
2109
|
-
proto.wechaty.puppet.CorpMessageInterceptionStrategy.prototype.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
"
|
|
4572
|
+
"redPacket": {
|
|
4573
4573
|
"type": "boolean"
|
|
4574
4574
|
},
|
|
4575
4575
|
"type": {
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED