@juzi/wechaty-grpc 1.0.91 → 1.0.92
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-member_pb.d.ts +3 -6
- package/dist/cjs/out/wechaty/puppet/room-member_pb.js +21 -48
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +3 -4
- package/dist/cjs/out/wechaty/puppet.swagger.json +3 -4
- package/dist/cjs/proto/wechaty/puppet/room-member.proto +1 -1
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/room-member_pb.d.ts +3 -6
- package/dist/esm/out/wechaty/puppet/room-member_pb.js +21 -48
- package/dist/esm/out/wechaty/puppet.openapi.yaml +3 -4
- package/dist/esm/out/wechaty/puppet.swagger.json +3 -4
- package/dist/esm/proto/wechaty/puppet/room-member.proto +1 -1
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/room-member_pb.d.ts +3 -6
- package/out/wechaty/puppet/room-member_pb.js +21 -48
- package/out/wechaty/puppet.openapi.yaml +3 -4
- package/out/wechaty/puppet.swagger.json +3 -4
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -144,11 +144,8 @@ export namespace BatchRoomMemberPayloadRequest {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
export class BatchRoomMemberPayloadResponse extends jspb.Message {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
setMembersList(value: Array<RoomMemberPayloadResponse>): void;
|
|
150
|
-
addMembers(value?: RoomMemberPayloadResponse, index?: number): RoomMemberPayloadResponse;
|
|
151
|
-
|
|
147
|
+
getMembersMap(): jspb.Map<string, RoomMemberPayloadResponse>;
|
|
148
|
+
clearMembersMap(): void;
|
|
152
149
|
serializeBinary(): Uint8Array;
|
|
153
150
|
toObject(includeInstance?: boolean): BatchRoomMemberPayloadResponse.AsObject;
|
|
154
151
|
static toObject(includeInstance: boolean, msg: BatchRoomMemberPayloadResponse): BatchRoomMemberPayloadResponse.AsObject;
|
|
@@ -161,7 +158,7 @@ export class BatchRoomMemberPayloadResponse extends jspb.Message {
|
|
|
161
158
|
|
|
162
159
|
export namespace BatchRoomMemberPayloadResponse {
|
|
163
160
|
export type AsObject = {
|
|
164
|
-
|
|
161
|
+
membersMap: Array<[string, RoomMemberPayloadResponse.AsObject]>,
|
|
165
162
|
}
|
|
166
163
|
}
|
|
167
164
|
|
|
@@ -138,7 +138,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
138
138
|
* @constructor
|
|
139
139
|
*/
|
|
140
140
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse = function(opt_data) {
|
|
141
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
141
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
142
142
|
};
|
|
143
143
|
goog.inherits(proto.wechaty.puppet.BatchRoomMemberPayloadResponse, jspb.Message);
|
|
144
144
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1121,13 +1121,6 @@ proto.wechaty.puppet.BatchRoomMemberPayloadRequest.prototype.clearMemberIdsList
|
|
|
1121
1121
|
|
|
1122
1122
|
|
|
1123
1123
|
|
|
1124
|
-
/**
|
|
1125
|
-
* List of repeated fields within this message type.
|
|
1126
|
-
* @private {!Array<number>}
|
|
1127
|
-
* @const
|
|
1128
|
-
*/
|
|
1129
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.repeatedFields_ = [1];
|
|
1130
|
-
|
|
1131
1124
|
|
|
1132
1125
|
|
|
1133
1126
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1159,8 +1152,7 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.toObject = functio
|
|
|
1159
1152
|
*/
|
|
1160
1153
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.toObject = function(includeInstance, msg) {
|
|
1161
1154
|
var f, obj = {
|
|
1162
|
-
|
|
1163
|
-
proto.wechaty.puppet.RoomMemberPayloadResponse.toObject, includeInstance)
|
|
1155
|
+
membersMap: (f = msg.getMembersMap()) ? f.toObject(includeInstance, proto.wechaty.puppet.RoomMemberPayloadResponse.toObject) : []
|
|
1164
1156
|
};
|
|
1165
1157
|
|
|
1166
1158
|
if (includeInstance) {
|
|
@@ -1198,9 +1190,10 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.deserializeBinaryFromReader
|
|
|
1198
1190
|
var field = reader.getFieldNumber();
|
|
1199
1191
|
switch (field) {
|
|
1200
1192
|
case 1:
|
|
1201
|
-
var value =
|
|
1202
|
-
reader.readMessage(value,
|
|
1203
|
-
|
|
1193
|
+
var value = msg.getMembersMap();
|
|
1194
|
+
reader.readMessage(value, function(message, reader) {
|
|
1195
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.wechaty.puppet.RoomMemberPayloadResponse.deserializeBinaryFromReader, "", new proto.wechaty.puppet.RoomMemberPayloadResponse());
|
|
1196
|
+
});
|
|
1204
1197
|
break;
|
|
1205
1198
|
default:
|
|
1206
1199
|
reader.skipField();
|
|
@@ -1231,53 +1224,33 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.serializeBinary =
|
|
|
1231
1224
|
*/
|
|
1232
1225
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1233
1226
|
var f = undefined;
|
|
1234
|
-
f = message.
|
|
1235
|
-
if (f.
|
|
1236
|
-
writer.
|
|
1237
|
-
1,
|
|
1238
|
-
f,
|
|
1239
|
-
proto.wechaty.puppet.RoomMemberPayloadResponse.serializeBinaryToWriter
|
|
1240
|
-
);
|
|
1227
|
+
f = message.getMembersMap(true);
|
|
1228
|
+
if (f && f.getLength() > 0) {
|
|
1229
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.wechaty.puppet.RoomMemberPayloadResponse.serializeBinaryToWriter);
|
|
1241
1230
|
}
|
|
1242
1231
|
};
|
|
1243
1232
|
|
|
1244
1233
|
|
|
1245
1234
|
/**
|
|
1246
|
-
*
|
|
1247
|
-
* @
|
|
1248
|
-
|
|
1249
|
-
proto.wechaty.puppet.
|
|
1250
|
-
return /** @type{!Array<!proto.wechaty.puppet.RoomMemberPayloadResponse>} */ (
|
|
1251
|
-
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.RoomMemberPayloadResponse, 1));
|
|
1252
|
-
};
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* @param {!Array<!proto.wechaty.puppet.RoomMemberPayloadResponse>} value
|
|
1257
|
-
* @return {!proto.wechaty.puppet.BatchRoomMemberPayloadResponse} returns this
|
|
1258
|
-
*/
|
|
1259
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.setMembersList = function(value) {
|
|
1260
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1261
|
-
};
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* @param {!proto.wechaty.puppet.RoomMemberPayloadResponse=} opt_value
|
|
1266
|
-
* @param {number=} opt_index
|
|
1267
|
-
* @return {!proto.wechaty.puppet.RoomMemberPayloadResponse}
|
|
1235
|
+
* map<string, RoomMemberPayloadResponse> members = 1;
|
|
1236
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1237
|
+
* empty, instead returning `undefined`
|
|
1238
|
+
* @return {!jspb.Map<string,!proto.wechaty.puppet.RoomMemberPayloadResponse>}
|
|
1268
1239
|
*/
|
|
1269
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.
|
|
1270
|
-
return jspb.
|
|
1240
|
+
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.getMembersMap = function(opt_noLazyCreate) {
|
|
1241
|
+
return /** @type {!jspb.Map<string,!proto.wechaty.puppet.RoomMemberPayloadResponse>} */ (
|
|
1242
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
1243
|
+
proto.wechaty.puppet.RoomMemberPayloadResponse));
|
|
1271
1244
|
};
|
|
1272
1245
|
|
|
1273
1246
|
|
|
1274
1247
|
/**
|
|
1275
|
-
* Clears the
|
|
1248
|
+
* Clears values from the map. The map will be non-null.
|
|
1276
1249
|
* @return {!proto.wechaty.puppet.BatchRoomMemberPayloadResponse} returns this
|
|
1277
1250
|
*/
|
|
1278
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.
|
|
1279
|
-
|
|
1280
|
-
};
|
|
1251
|
+
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.clearMembersMap = function() {
|
|
1252
|
+
this.getMembersMap().clear();
|
|
1253
|
+
return this;};
|
|
1281
1254
|
|
|
1282
1255
|
|
|
1283
1256
|
/**
|
|
@@ -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.92
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -2877,9 +2877,8 @@ definitions:
|
|
|
2877
2877
|
type: object
|
|
2878
2878
|
properties:
|
|
2879
2879
|
members:
|
|
2880
|
-
type:
|
|
2881
|
-
|
|
2882
|
-
type: object
|
|
2880
|
+
type: object
|
|
2881
|
+
additionalProperties:
|
|
2883
2882
|
$ref: '#/definitions/puppetRoomMemberPayloadResponse'
|
|
2884
2883
|
puppetBroadcastStatus:
|
|
2885
2884
|
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.
|
|
6
|
+
"version": "1.0.92",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4296,9 +4296,8 @@
|
|
|
4296
4296
|
"type": "object",
|
|
4297
4297
|
"properties": {
|
|
4298
4298
|
"members": {
|
|
4299
|
-
"type": "
|
|
4300
|
-
"
|
|
4301
|
-
"type": "object",
|
|
4299
|
+
"type": "object",
|
|
4300
|
+
"additionalProperties": {
|
|
4302
4301
|
"$ref": "#/definitions/puppetRoomMemberPayloadResponse"
|
|
4303
4302
|
}
|
|
4304
4303
|
}
|
|
@@ -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.92",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -144,11 +144,8 @@ export namespace BatchRoomMemberPayloadRequest {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
export class BatchRoomMemberPayloadResponse extends jspb.Message {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
setMembersList(value: Array<RoomMemberPayloadResponse>): void;
|
|
150
|
-
addMembers(value?: RoomMemberPayloadResponse, index?: number): RoomMemberPayloadResponse;
|
|
151
|
-
|
|
147
|
+
getMembersMap(): jspb.Map<string, RoomMemberPayloadResponse>;
|
|
148
|
+
clearMembersMap(): void;
|
|
152
149
|
serializeBinary(): Uint8Array;
|
|
153
150
|
toObject(includeInstance?: boolean): BatchRoomMemberPayloadResponse.AsObject;
|
|
154
151
|
static toObject(includeInstance: boolean, msg: BatchRoomMemberPayloadResponse): BatchRoomMemberPayloadResponse.AsObject;
|
|
@@ -161,7 +158,7 @@ export class BatchRoomMemberPayloadResponse extends jspb.Message {
|
|
|
161
158
|
|
|
162
159
|
export namespace BatchRoomMemberPayloadResponse {
|
|
163
160
|
export type AsObject = {
|
|
164
|
-
|
|
161
|
+
membersMap: Array<[string, RoomMemberPayloadResponse.AsObject]>,
|
|
165
162
|
}
|
|
166
163
|
}
|
|
167
164
|
|
|
@@ -138,7 +138,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
138
138
|
* @constructor
|
|
139
139
|
*/
|
|
140
140
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse = function(opt_data) {
|
|
141
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
141
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
142
142
|
};
|
|
143
143
|
goog.inherits(proto.wechaty.puppet.BatchRoomMemberPayloadResponse, jspb.Message);
|
|
144
144
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1121,13 +1121,6 @@ proto.wechaty.puppet.BatchRoomMemberPayloadRequest.prototype.clearMemberIdsList
|
|
|
1121
1121
|
|
|
1122
1122
|
|
|
1123
1123
|
|
|
1124
|
-
/**
|
|
1125
|
-
* List of repeated fields within this message type.
|
|
1126
|
-
* @private {!Array<number>}
|
|
1127
|
-
* @const
|
|
1128
|
-
*/
|
|
1129
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.repeatedFields_ = [1];
|
|
1130
|
-
|
|
1131
1124
|
|
|
1132
1125
|
|
|
1133
1126
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1159,8 +1152,7 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.toObject = functio
|
|
|
1159
1152
|
*/
|
|
1160
1153
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.toObject = function(includeInstance, msg) {
|
|
1161
1154
|
var f, obj = {
|
|
1162
|
-
|
|
1163
|
-
proto.wechaty.puppet.RoomMemberPayloadResponse.toObject, includeInstance)
|
|
1155
|
+
membersMap: (f = msg.getMembersMap()) ? f.toObject(includeInstance, proto.wechaty.puppet.RoomMemberPayloadResponse.toObject) : []
|
|
1164
1156
|
};
|
|
1165
1157
|
|
|
1166
1158
|
if (includeInstance) {
|
|
@@ -1198,9 +1190,10 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.deserializeBinaryFromReader
|
|
|
1198
1190
|
var field = reader.getFieldNumber();
|
|
1199
1191
|
switch (field) {
|
|
1200
1192
|
case 1:
|
|
1201
|
-
var value =
|
|
1202
|
-
reader.readMessage(value,
|
|
1203
|
-
|
|
1193
|
+
var value = msg.getMembersMap();
|
|
1194
|
+
reader.readMessage(value, function(message, reader) {
|
|
1195
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.wechaty.puppet.RoomMemberPayloadResponse.deserializeBinaryFromReader, "", new proto.wechaty.puppet.RoomMemberPayloadResponse());
|
|
1196
|
+
});
|
|
1204
1197
|
break;
|
|
1205
1198
|
default:
|
|
1206
1199
|
reader.skipField();
|
|
@@ -1231,53 +1224,33 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.serializeBinary =
|
|
|
1231
1224
|
*/
|
|
1232
1225
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1233
1226
|
var f = undefined;
|
|
1234
|
-
f = message.
|
|
1235
|
-
if (f.
|
|
1236
|
-
writer.
|
|
1237
|
-
1,
|
|
1238
|
-
f,
|
|
1239
|
-
proto.wechaty.puppet.RoomMemberPayloadResponse.serializeBinaryToWriter
|
|
1240
|
-
);
|
|
1227
|
+
f = message.getMembersMap(true);
|
|
1228
|
+
if (f && f.getLength() > 0) {
|
|
1229
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.wechaty.puppet.RoomMemberPayloadResponse.serializeBinaryToWriter);
|
|
1241
1230
|
}
|
|
1242
1231
|
};
|
|
1243
1232
|
|
|
1244
1233
|
|
|
1245
1234
|
/**
|
|
1246
|
-
*
|
|
1247
|
-
* @
|
|
1248
|
-
|
|
1249
|
-
proto.wechaty.puppet.
|
|
1250
|
-
return /** @type{!Array<!proto.wechaty.puppet.RoomMemberPayloadResponse>} */ (
|
|
1251
|
-
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.RoomMemberPayloadResponse, 1));
|
|
1252
|
-
};
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* @param {!Array<!proto.wechaty.puppet.RoomMemberPayloadResponse>} value
|
|
1257
|
-
* @return {!proto.wechaty.puppet.BatchRoomMemberPayloadResponse} returns this
|
|
1258
|
-
*/
|
|
1259
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.setMembersList = function(value) {
|
|
1260
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1261
|
-
};
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* @param {!proto.wechaty.puppet.RoomMemberPayloadResponse=} opt_value
|
|
1266
|
-
* @param {number=} opt_index
|
|
1267
|
-
* @return {!proto.wechaty.puppet.RoomMemberPayloadResponse}
|
|
1235
|
+
* map<string, RoomMemberPayloadResponse> members = 1;
|
|
1236
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1237
|
+
* empty, instead returning `undefined`
|
|
1238
|
+
* @return {!jspb.Map<string,!proto.wechaty.puppet.RoomMemberPayloadResponse>}
|
|
1268
1239
|
*/
|
|
1269
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.
|
|
1270
|
-
return jspb.
|
|
1240
|
+
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.getMembersMap = function(opt_noLazyCreate) {
|
|
1241
|
+
return /** @type {!jspb.Map<string,!proto.wechaty.puppet.RoomMemberPayloadResponse>} */ (
|
|
1242
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
1243
|
+
proto.wechaty.puppet.RoomMemberPayloadResponse));
|
|
1271
1244
|
};
|
|
1272
1245
|
|
|
1273
1246
|
|
|
1274
1247
|
/**
|
|
1275
|
-
* Clears the
|
|
1248
|
+
* Clears values from the map. The map will be non-null.
|
|
1276
1249
|
* @return {!proto.wechaty.puppet.BatchRoomMemberPayloadResponse} returns this
|
|
1277
1250
|
*/
|
|
1278
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.
|
|
1279
|
-
|
|
1280
|
-
};
|
|
1251
|
+
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.clearMembersMap = function() {
|
|
1252
|
+
this.getMembersMap().clear();
|
|
1253
|
+
return this;};
|
|
1281
1254
|
|
|
1282
1255
|
|
|
1283
1256
|
/**
|
|
@@ -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.92
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -2877,9 +2877,8 @@ definitions:
|
|
|
2877
2877
|
type: object
|
|
2878
2878
|
properties:
|
|
2879
2879
|
members:
|
|
2880
|
-
type:
|
|
2881
|
-
|
|
2882
|
-
type: object
|
|
2880
|
+
type: object
|
|
2881
|
+
additionalProperties:
|
|
2883
2882
|
$ref: '#/definitions/puppetRoomMemberPayloadResponse'
|
|
2884
2883
|
puppetBroadcastStatus:
|
|
2885
2884
|
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.
|
|
6
|
+
"version": "1.0.92",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4296,9 +4296,8 @@
|
|
|
4296
4296
|
"type": "object",
|
|
4297
4297
|
"properties": {
|
|
4298
4298
|
"members": {
|
|
4299
|
-
"type": "
|
|
4300
|
-
"
|
|
4301
|
-
"type": "object",
|
|
4299
|
+
"type": "object",
|
|
4300
|
+
"additionalProperties": {
|
|
4302
4301
|
"$ref": "#/definitions/puppetRoomMemberPayloadResponse"
|
|
4303
4302
|
}
|
|
4304
4303
|
}
|
|
@@ -144,11 +144,8 @@ export namespace BatchRoomMemberPayloadRequest {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
export class BatchRoomMemberPayloadResponse extends jspb.Message {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
setMembersList(value: Array<RoomMemberPayloadResponse>): void;
|
|
150
|
-
addMembers(value?: RoomMemberPayloadResponse, index?: number): RoomMemberPayloadResponse;
|
|
151
|
-
|
|
147
|
+
getMembersMap(): jspb.Map<string, RoomMemberPayloadResponse>;
|
|
148
|
+
clearMembersMap(): void;
|
|
152
149
|
serializeBinary(): Uint8Array;
|
|
153
150
|
toObject(includeInstance?: boolean): BatchRoomMemberPayloadResponse.AsObject;
|
|
154
151
|
static toObject(includeInstance: boolean, msg: BatchRoomMemberPayloadResponse): BatchRoomMemberPayloadResponse.AsObject;
|
|
@@ -161,7 +158,7 @@ export class BatchRoomMemberPayloadResponse extends jspb.Message {
|
|
|
161
158
|
|
|
162
159
|
export namespace BatchRoomMemberPayloadResponse {
|
|
163
160
|
export type AsObject = {
|
|
164
|
-
|
|
161
|
+
membersMap: Array<[string, RoomMemberPayloadResponse.AsObject]>,
|
|
165
162
|
}
|
|
166
163
|
}
|
|
167
164
|
|
|
@@ -138,7 +138,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
138
138
|
* @constructor
|
|
139
139
|
*/
|
|
140
140
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse = function(opt_data) {
|
|
141
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
141
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
142
142
|
};
|
|
143
143
|
goog.inherits(proto.wechaty.puppet.BatchRoomMemberPayloadResponse, jspb.Message);
|
|
144
144
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1121,13 +1121,6 @@ proto.wechaty.puppet.BatchRoomMemberPayloadRequest.prototype.clearMemberIdsList
|
|
|
1121
1121
|
|
|
1122
1122
|
|
|
1123
1123
|
|
|
1124
|
-
/**
|
|
1125
|
-
* List of repeated fields within this message type.
|
|
1126
|
-
* @private {!Array<number>}
|
|
1127
|
-
* @const
|
|
1128
|
-
*/
|
|
1129
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.repeatedFields_ = [1];
|
|
1130
|
-
|
|
1131
1124
|
|
|
1132
1125
|
|
|
1133
1126
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1159,8 +1152,7 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.toObject = functio
|
|
|
1159
1152
|
*/
|
|
1160
1153
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.toObject = function(includeInstance, msg) {
|
|
1161
1154
|
var f, obj = {
|
|
1162
|
-
|
|
1163
|
-
proto.wechaty.puppet.RoomMemberPayloadResponse.toObject, includeInstance)
|
|
1155
|
+
membersMap: (f = msg.getMembersMap()) ? f.toObject(includeInstance, proto.wechaty.puppet.RoomMemberPayloadResponse.toObject) : []
|
|
1164
1156
|
};
|
|
1165
1157
|
|
|
1166
1158
|
if (includeInstance) {
|
|
@@ -1198,9 +1190,10 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.deserializeBinaryFromReader
|
|
|
1198
1190
|
var field = reader.getFieldNumber();
|
|
1199
1191
|
switch (field) {
|
|
1200
1192
|
case 1:
|
|
1201
|
-
var value =
|
|
1202
|
-
reader.readMessage(value,
|
|
1203
|
-
|
|
1193
|
+
var value = msg.getMembersMap();
|
|
1194
|
+
reader.readMessage(value, function(message, reader) {
|
|
1195
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.wechaty.puppet.RoomMemberPayloadResponse.deserializeBinaryFromReader, "", new proto.wechaty.puppet.RoomMemberPayloadResponse());
|
|
1196
|
+
});
|
|
1204
1197
|
break;
|
|
1205
1198
|
default:
|
|
1206
1199
|
reader.skipField();
|
|
@@ -1231,53 +1224,33 @@ proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.serializeBinary =
|
|
|
1231
1224
|
*/
|
|
1232
1225
|
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1233
1226
|
var f = undefined;
|
|
1234
|
-
f = message.
|
|
1235
|
-
if (f.
|
|
1236
|
-
writer.
|
|
1237
|
-
1,
|
|
1238
|
-
f,
|
|
1239
|
-
proto.wechaty.puppet.RoomMemberPayloadResponse.serializeBinaryToWriter
|
|
1240
|
-
);
|
|
1227
|
+
f = message.getMembersMap(true);
|
|
1228
|
+
if (f && f.getLength() > 0) {
|
|
1229
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.wechaty.puppet.RoomMemberPayloadResponse.serializeBinaryToWriter);
|
|
1241
1230
|
}
|
|
1242
1231
|
};
|
|
1243
1232
|
|
|
1244
1233
|
|
|
1245
1234
|
/**
|
|
1246
|
-
*
|
|
1247
|
-
* @
|
|
1248
|
-
|
|
1249
|
-
proto.wechaty.puppet.
|
|
1250
|
-
return /** @type{!Array<!proto.wechaty.puppet.RoomMemberPayloadResponse>} */ (
|
|
1251
|
-
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.RoomMemberPayloadResponse, 1));
|
|
1252
|
-
};
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* @param {!Array<!proto.wechaty.puppet.RoomMemberPayloadResponse>} value
|
|
1257
|
-
* @return {!proto.wechaty.puppet.BatchRoomMemberPayloadResponse} returns this
|
|
1258
|
-
*/
|
|
1259
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.setMembersList = function(value) {
|
|
1260
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1261
|
-
};
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* @param {!proto.wechaty.puppet.RoomMemberPayloadResponse=} opt_value
|
|
1266
|
-
* @param {number=} opt_index
|
|
1267
|
-
* @return {!proto.wechaty.puppet.RoomMemberPayloadResponse}
|
|
1235
|
+
* map<string, RoomMemberPayloadResponse> members = 1;
|
|
1236
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1237
|
+
* empty, instead returning `undefined`
|
|
1238
|
+
* @return {!jspb.Map<string,!proto.wechaty.puppet.RoomMemberPayloadResponse>}
|
|
1268
1239
|
*/
|
|
1269
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.
|
|
1270
|
-
return jspb.
|
|
1240
|
+
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.getMembersMap = function(opt_noLazyCreate) {
|
|
1241
|
+
return /** @type {!jspb.Map<string,!proto.wechaty.puppet.RoomMemberPayloadResponse>} */ (
|
|
1242
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
1243
|
+
proto.wechaty.puppet.RoomMemberPayloadResponse));
|
|
1271
1244
|
};
|
|
1272
1245
|
|
|
1273
1246
|
|
|
1274
1247
|
/**
|
|
1275
|
-
* Clears the
|
|
1248
|
+
* Clears values from the map. The map will be non-null.
|
|
1276
1249
|
* @return {!proto.wechaty.puppet.BatchRoomMemberPayloadResponse} returns this
|
|
1277
1250
|
*/
|
|
1278
|
-
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.
|
|
1279
|
-
|
|
1280
|
-
};
|
|
1251
|
+
proto.wechaty.puppet.BatchRoomMemberPayloadResponse.prototype.clearMembersMap = function() {
|
|
1252
|
+
this.getMembersMap().clear();
|
|
1253
|
+
return this;};
|
|
1281
1254
|
|
|
1282
1255
|
|
|
1283
1256
|
/**
|
|
@@ -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.92
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -2877,9 +2877,8 @@ definitions:
|
|
|
2877
2877
|
type: object
|
|
2878
2878
|
properties:
|
|
2879
2879
|
members:
|
|
2880
|
-
type:
|
|
2881
|
-
|
|
2882
|
-
type: object
|
|
2880
|
+
type: object
|
|
2881
|
+
additionalProperties:
|
|
2883
2882
|
$ref: '#/definitions/puppetRoomMemberPayloadResponse'
|
|
2884
2883
|
puppetBroadcastStatus:
|
|
2885
2884
|
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.
|
|
6
|
+
"version": "1.0.92",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4296,9 +4296,8 @@
|
|
|
4296
4296
|
"type": "object",
|
|
4297
4297
|
"properties": {
|
|
4298
4298
|
"members": {
|
|
4299
|
-
"type": "
|
|
4300
|
-
"
|
|
4301
|
-
"type": "object",
|
|
4299
|
+
"type": "object",
|
|
4300
|
+
"additionalProperties": {
|
|
4302
4301
|
"$ref": "#/definitions/puppetRoomMemberPayloadResponse"
|
|
4303
4302
|
}
|
|
4304
4303
|
}
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED