@juzi/wechaty-grpc 1.0.82 → 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.openapi.yaml +3 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +4 -1
- package/dist/cjs/proto/wechaty/puppet/room.proto +1 -0
- 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.openapi.yaml +3 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +4 -1
- package/dist/esm/proto/wechaty/puppet/room.proto +1 -0
- 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.openapi.yaml +3 -1
- package/out/wechaty/puppet.swagger.json +4 -1
- 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
|
|
|
@@ -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
|
|
@@ -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",
|
|
@@ -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
|
|
|
@@ -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
|
|
@@ -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",
|
|
@@ -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
|
|
|
@@ -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
|
|
@@ -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",
|
|
@@ -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