@juzi/wechaty-grpc 1.0.81 → 1.0.83
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/room_pb.d.ts +4 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +31 -1
- 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 +4 -2
- package/dist/cjs/out/wechaty/puppet.swagger.json +5 -2
- package/dist/cjs/proto/wechaty/puppet/room.proto +1 -0
- 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/room_pb.d.ts +4 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +31 -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 +4 -2
- package/dist/esm/out/wechaty/puppet.swagger.json +5 -2
- package/dist/esm/proto/wechaty/puppet/room.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/wecom.proto +1 -1
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/room_pb.d.ts +4 -0
- package/out/wechaty/puppet/room_pb.js +31 -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 +4 -2
- package/out/wechaty/puppet.swagger.json +5 -2
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -95,6 +95,9 @@ export class RoomPayloadResponse extends jspb.Message {
|
|
|
95
95
|
getRoomRemark(): string;
|
|
96
96
|
setRoomRemark(value: string): void;
|
|
97
97
|
|
|
98
|
+
getExternal(): boolean;
|
|
99
|
+
setExternal(value: boolean): void;
|
|
100
|
+
|
|
98
101
|
serializeBinary(): Uint8Array;
|
|
99
102
|
toObject(includeInstance?: boolean): RoomPayloadResponse.AsObject;
|
|
100
103
|
static toObject(includeInstance: boolean, msg: RoomPayloadResponse): RoomPayloadResponse.AsObject;
|
|
@@ -116,6 +119,7 @@ export namespace RoomPayloadResponse {
|
|
|
116
119
|
handle: string,
|
|
117
120
|
additionalInfo: string,
|
|
118
121
|
roomRemark: string,
|
|
122
|
+
external: boolean,
|
|
119
123
|
}
|
|
120
124
|
}
|
|
121
125
|
|
|
@@ -1113,7 +1113,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
1113
1113
|
memberIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
1114
1114
|
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1115
1115
|
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1116
|
-
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1116
|
+
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1117
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
1117
1118
|
};
|
|
1118
1119
|
|
|
1119
1120
|
if (includeInstance) {
|
|
@@ -1186,6 +1187,10 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
1186
1187
|
var value = /** @type {string} */ (reader.readString());
|
|
1187
1188
|
msg.setRoomRemark(value);
|
|
1188
1189
|
break;
|
|
1190
|
+
case 10:
|
|
1191
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1192
|
+
msg.setExternal(value);
|
|
1193
|
+
break;
|
|
1189
1194
|
default:
|
|
1190
1195
|
reader.skipField();
|
|
1191
1196
|
break;
|
|
@@ -1278,6 +1283,13 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1278
1283
|
f
|
|
1279
1284
|
);
|
|
1280
1285
|
}
|
|
1286
|
+
f = message.getExternal();
|
|
1287
|
+
if (f) {
|
|
1288
|
+
writer.writeBool(
|
|
1289
|
+
10,
|
|
1290
|
+
f
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1281
1293
|
};
|
|
1282
1294
|
|
|
1283
1295
|
|
|
@@ -1481,6 +1493,24 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setRoomRemark = function(valu
|
|
|
1481
1493
|
};
|
|
1482
1494
|
|
|
1483
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* optional bool external = 10;
|
|
1498
|
+
* @return {boolean}
|
|
1499
|
+
*/
|
|
1500
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getExternal = function() {
|
|
1501
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* @param {boolean} value
|
|
1507
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1508
|
+
*/
|
|
1509
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setExternal = function(value) {
|
|
1510
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
|
|
1484
1514
|
|
|
1485
1515
|
|
|
1486
1516
|
|
|
@@ -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.83
|
|
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'
|
|
@@ -4103,6 +4103,8 @@ definitions:
|
|
|
4103
4103
|
type: string
|
|
4104
4104
|
roomRemark:
|
|
4105
4105
|
type: string
|
|
4106
|
+
external:
|
|
4107
|
+
type: boolean
|
|
4106
4108
|
puppetRoomPermissionResponse:
|
|
4107
4109
|
type: object
|
|
4108
4110
|
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.
|
|
6
|
+
"version": "1.0.83",
|
|
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": {
|
|
@@ -5818,6 +5818,9 @@
|
|
|
5818
5818
|
},
|
|
5819
5819
|
"roomRemark": {
|
|
5820
5820
|
"type": "string"
|
|
5821
|
+
},
|
|
5822
|
+
"external": {
|
|
5823
|
+
"type": "boolean"
|
|
5821
5824
|
}
|
|
5822
5825
|
}
|
|
5823
5826
|
},
|
|
@@ -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.83",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -95,6 +95,9 @@ export class RoomPayloadResponse extends jspb.Message {
|
|
|
95
95
|
getRoomRemark(): string;
|
|
96
96
|
setRoomRemark(value: string): void;
|
|
97
97
|
|
|
98
|
+
getExternal(): boolean;
|
|
99
|
+
setExternal(value: boolean): void;
|
|
100
|
+
|
|
98
101
|
serializeBinary(): Uint8Array;
|
|
99
102
|
toObject(includeInstance?: boolean): RoomPayloadResponse.AsObject;
|
|
100
103
|
static toObject(includeInstance: boolean, msg: RoomPayloadResponse): RoomPayloadResponse.AsObject;
|
|
@@ -116,6 +119,7 @@ export namespace RoomPayloadResponse {
|
|
|
116
119
|
handle: string,
|
|
117
120
|
additionalInfo: string,
|
|
118
121
|
roomRemark: string,
|
|
122
|
+
external: boolean,
|
|
119
123
|
}
|
|
120
124
|
}
|
|
121
125
|
|
|
@@ -1113,7 +1113,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
1113
1113
|
memberIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
1114
1114
|
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1115
1115
|
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1116
|
-
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1116
|
+
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1117
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
1117
1118
|
};
|
|
1118
1119
|
|
|
1119
1120
|
if (includeInstance) {
|
|
@@ -1186,6 +1187,10 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
1186
1187
|
var value = /** @type {string} */ (reader.readString());
|
|
1187
1188
|
msg.setRoomRemark(value);
|
|
1188
1189
|
break;
|
|
1190
|
+
case 10:
|
|
1191
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1192
|
+
msg.setExternal(value);
|
|
1193
|
+
break;
|
|
1189
1194
|
default:
|
|
1190
1195
|
reader.skipField();
|
|
1191
1196
|
break;
|
|
@@ -1278,6 +1283,13 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1278
1283
|
f
|
|
1279
1284
|
);
|
|
1280
1285
|
}
|
|
1286
|
+
f = message.getExternal();
|
|
1287
|
+
if (f) {
|
|
1288
|
+
writer.writeBool(
|
|
1289
|
+
10,
|
|
1290
|
+
f
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1281
1293
|
};
|
|
1282
1294
|
|
|
1283
1295
|
|
|
@@ -1481,6 +1493,24 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setRoomRemark = function(valu
|
|
|
1481
1493
|
};
|
|
1482
1494
|
|
|
1483
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* optional bool external = 10;
|
|
1498
|
+
* @return {boolean}
|
|
1499
|
+
*/
|
|
1500
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getExternal = function() {
|
|
1501
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* @param {boolean} value
|
|
1507
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1508
|
+
*/
|
|
1509
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setExternal = function(value) {
|
|
1510
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
|
|
1484
1514
|
|
|
1485
1515
|
|
|
1486
1516
|
|
|
@@ -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.83
|
|
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'
|
|
@@ -4103,6 +4103,8 @@ definitions:
|
|
|
4103
4103
|
type: string
|
|
4104
4104
|
roomRemark:
|
|
4105
4105
|
type: string
|
|
4106
|
+
external:
|
|
4107
|
+
type: boolean
|
|
4106
4108
|
puppetRoomPermissionResponse:
|
|
4107
4109
|
type: object
|
|
4108
4110
|
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.
|
|
6
|
+
"version": "1.0.83",
|
|
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": {
|
|
@@ -5818,6 +5818,9 @@
|
|
|
5818
5818
|
},
|
|
5819
5819
|
"roomRemark": {
|
|
5820
5820
|
"type": "string"
|
|
5821
|
+
},
|
|
5822
|
+
"external": {
|
|
5823
|
+
"type": "boolean"
|
|
5821
5824
|
}
|
|
5822
5825
|
}
|
|
5823
5826
|
},
|
|
@@ -95,6 +95,9 @@ export class RoomPayloadResponse extends jspb.Message {
|
|
|
95
95
|
getRoomRemark(): string;
|
|
96
96
|
setRoomRemark(value: string): void;
|
|
97
97
|
|
|
98
|
+
getExternal(): boolean;
|
|
99
|
+
setExternal(value: boolean): void;
|
|
100
|
+
|
|
98
101
|
serializeBinary(): Uint8Array;
|
|
99
102
|
toObject(includeInstance?: boolean): RoomPayloadResponse.AsObject;
|
|
100
103
|
static toObject(includeInstance: boolean, msg: RoomPayloadResponse): RoomPayloadResponse.AsObject;
|
|
@@ -116,6 +119,7 @@ export namespace RoomPayloadResponse {
|
|
|
116
119
|
handle: string,
|
|
117
120
|
additionalInfo: string,
|
|
118
121
|
roomRemark: string,
|
|
122
|
+
external: boolean,
|
|
119
123
|
}
|
|
120
124
|
}
|
|
121
125
|
|
|
@@ -1113,7 +1113,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
1113
1113
|
memberIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
1114
1114
|
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1115
1115
|
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1116
|
-
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1116
|
+
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1117
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
1117
1118
|
};
|
|
1118
1119
|
|
|
1119
1120
|
if (includeInstance) {
|
|
@@ -1186,6 +1187,10 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
1186
1187
|
var value = /** @type {string} */ (reader.readString());
|
|
1187
1188
|
msg.setRoomRemark(value);
|
|
1188
1189
|
break;
|
|
1190
|
+
case 10:
|
|
1191
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1192
|
+
msg.setExternal(value);
|
|
1193
|
+
break;
|
|
1189
1194
|
default:
|
|
1190
1195
|
reader.skipField();
|
|
1191
1196
|
break;
|
|
@@ -1278,6 +1283,13 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1278
1283
|
f
|
|
1279
1284
|
);
|
|
1280
1285
|
}
|
|
1286
|
+
f = message.getExternal();
|
|
1287
|
+
if (f) {
|
|
1288
|
+
writer.writeBool(
|
|
1289
|
+
10,
|
|
1290
|
+
f
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1281
1293
|
};
|
|
1282
1294
|
|
|
1283
1295
|
|
|
@@ -1481,6 +1493,24 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setRoomRemark = function(valu
|
|
|
1481
1493
|
};
|
|
1482
1494
|
|
|
1483
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* optional bool external = 10;
|
|
1498
|
+
* @return {boolean}
|
|
1499
|
+
*/
|
|
1500
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getExternal = function() {
|
|
1501
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* @param {boolean} value
|
|
1507
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1508
|
+
*/
|
|
1509
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setExternal = function(value) {
|
|
1510
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
|
|
1484
1514
|
|
|
1485
1515
|
|
|
1486
1516
|
|
|
@@ -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.83
|
|
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'
|
|
@@ -4103,6 +4103,8 @@ definitions:
|
|
|
4103
4103
|
type: string
|
|
4104
4104
|
roomRemark:
|
|
4105
4105
|
type: string
|
|
4106
|
+
external:
|
|
4107
|
+
type: boolean
|
|
4106
4108
|
puppetRoomPermissionResponse:
|
|
4107
4109
|
type: object
|
|
4108
4110
|
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.
|
|
6
|
+
"version": "1.0.83",
|
|
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": {
|
|
@@ -5818,6 +5818,9 @@
|
|
|
5818
5818
|
},
|
|
5819
5819
|
"roomRemark": {
|
|
5820
5820
|
"type": "string"
|
|
5821
|
+
},
|
|
5822
|
+
"external": {
|
|
5823
|
+
"type": "boolean"
|
|
5821
5824
|
}
|
|
5822
5825
|
}
|
|
5823
5826
|
},
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED