@juzi/wechaty-grpc 1.0.72 → 1.0.74
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 +36 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +275 -0
- package/dist/cjs/out/wechaty/puppet/wecom_pb.d.ts +5 -5
- package/dist/cjs/out/wechaty/puppet/wecom_pb.js +9 -9
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +23 -2
- package/dist/cjs/out/wechaty/puppet.swagger.json +35 -2
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +7 -1
- package/dist/cjs/proto/wechaty/puppet/wecom.proto +1 -1
- package/dist/cjs/proto/wechaty/puppet.proto +5 -0
- package/dist/cjs/src/package-json.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +2 -1
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +5 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +36 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +275 -0
- package/dist/esm/out/wechaty/puppet/wecom_pb.d.ts +5 -5
- package/dist/esm/out/wechaty/puppet/wecom_pb.js +9 -9
- package/dist/esm/out/wechaty/puppet.openapi.yaml +23 -2
- package/dist/esm/out/wechaty/puppet.swagger.json +35 -2
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +7 -1
- package/dist/esm/proto/wechaty/puppet/wecom.proto +1 -1
- package/dist/esm/proto/wechaty/puppet.proto +5 -0
- package/dist/esm/src/package-json.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +2 -1
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +5 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/room_pb.d.ts +36 -0
- package/out/wechaty/puppet/room_pb.js +275 -0
- package/out/wechaty/puppet/wecom_pb.d.ts +5 -5
- package/out/wechaty/puppet/wecom_pb.js +9 -9
- package/out/wechaty/puppet.openapi.yaml +23 -2
- package/out/wechaty/puppet.swagger.json +35 -2
- package/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/out/wechaty/puppet_grpc_pb.js +33 -0
- package/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/out/wechaty/puppet_pb_service.js +40 -0
- package/package.json +2 -1
- package/src/package-json.ts +2 -1
|
@@ -685,3 +685,39 @@ export namespace RoomAdminsResponse {
|
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
+
export class RoomDismissRequest extends jspb.Message {
|
|
689
|
+
getId(): string;
|
|
690
|
+
setId(value: string): void;
|
|
691
|
+
|
|
692
|
+
serializeBinary(): Uint8Array;
|
|
693
|
+
toObject(includeInstance?: boolean): RoomDismissRequest.AsObject;
|
|
694
|
+
static toObject(includeInstance: boolean, msg: RoomDismissRequest): RoomDismissRequest.AsObject;
|
|
695
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
696
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
697
|
+
static serializeBinaryToWriter(message: RoomDismissRequest, writer: jspb.BinaryWriter): void;
|
|
698
|
+
static deserializeBinary(bytes: Uint8Array): RoomDismissRequest;
|
|
699
|
+
static deserializeBinaryFromReader(message: RoomDismissRequest, reader: jspb.BinaryReader): RoomDismissRequest;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export namespace RoomDismissRequest {
|
|
703
|
+
export type AsObject = {
|
|
704
|
+
id: string,
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export class RoomDismissResponse extends jspb.Message {
|
|
709
|
+
serializeBinary(): Uint8Array;
|
|
710
|
+
toObject(includeInstance?: boolean): RoomDismissResponse.AsObject;
|
|
711
|
+
static toObject(includeInstance: boolean, msg: RoomDismissResponse): RoomDismissResponse.AsObject;
|
|
712
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
713
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
714
|
+
static serializeBinaryToWriter(message: RoomDismissResponse, writer: jspb.BinaryWriter): void;
|
|
715
|
+
static deserializeBinary(bytes: Uint8Array): RoomDismissResponse;
|
|
716
|
+
static deserializeBinaryFromReader(message: RoomDismissResponse, reader: jspb.BinaryReader): RoomDismissResponse;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export namespace RoomDismissResponse {
|
|
720
|
+
export type AsObject = {
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
@@ -31,6 +31,8 @@ goog.exportSymbol('proto.wechaty.puppet.RoomCreateRequest', null, global);
|
|
|
31
31
|
goog.exportSymbol('proto.wechaty.puppet.RoomCreateResponse', null, global);
|
|
32
32
|
goog.exportSymbol('proto.wechaty.puppet.RoomDelRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.wechaty.puppet.RoomDelResponse', null, global);
|
|
34
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomDismissRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomDismissResponse', null, global);
|
|
34
36
|
goog.exportSymbol('proto.wechaty.puppet.RoomListRequest', null, global);
|
|
35
37
|
goog.exportSymbol('proto.wechaty.puppet.RoomListResponse', null, global);
|
|
36
38
|
goog.exportSymbol('proto.wechaty.puppet.RoomOwnerTransferRequest', null, global);
|
|
@@ -635,6 +637,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
635
637
|
*/
|
|
636
638
|
proto.wechaty.puppet.RoomAdminsResponse.displayName = 'proto.wechaty.puppet.RoomAdminsResponse';
|
|
637
639
|
}
|
|
640
|
+
/**
|
|
641
|
+
* Generated by JsPbCodeGenerator.
|
|
642
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
643
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
644
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
645
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
646
|
+
* valid.
|
|
647
|
+
* @extends {jspb.Message}
|
|
648
|
+
* @constructor
|
|
649
|
+
*/
|
|
650
|
+
proto.wechaty.puppet.RoomDismissRequest = function(opt_data) {
|
|
651
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
652
|
+
};
|
|
653
|
+
goog.inherits(proto.wechaty.puppet.RoomDismissRequest, jspb.Message);
|
|
654
|
+
if (goog.DEBUG && !COMPILED) {
|
|
655
|
+
/**
|
|
656
|
+
* @public
|
|
657
|
+
* @override
|
|
658
|
+
*/
|
|
659
|
+
proto.wechaty.puppet.RoomDismissRequest.displayName = 'proto.wechaty.puppet.RoomDismissRequest';
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* Generated by JsPbCodeGenerator.
|
|
663
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
664
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
665
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
666
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
667
|
+
* valid.
|
|
668
|
+
* @extends {jspb.Message}
|
|
669
|
+
* @constructor
|
|
670
|
+
*/
|
|
671
|
+
proto.wechaty.puppet.RoomDismissResponse = function(opt_data) {
|
|
672
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
673
|
+
};
|
|
674
|
+
goog.inherits(proto.wechaty.puppet.RoomDismissResponse, jspb.Message);
|
|
675
|
+
if (goog.DEBUG && !COMPILED) {
|
|
676
|
+
/**
|
|
677
|
+
* @public
|
|
678
|
+
* @override
|
|
679
|
+
*/
|
|
680
|
+
proto.wechaty.puppet.RoomDismissResponse.displayName = 'proto.wechaty.puppet.RoomDismissResponse';
|
|
681
|
+
}
|
|
638
682
|
|
|
639
683
|
|
|
640
684
|
|
|
@@ -5271,4 +5315,235 @@ proto.wechaty.puppet.RoomAdminsResponse.serializeBinaryToWriter = function(messa
|
|
|
5271
5315
|
};
|
|
5272
5316
|
|
|
5273
5317
|
|
|
5318
|
+
|
|
5319
|
+
|
|
5320
|
+
|
|
5321
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5322
|
+
/**
|
|
5323
|
+
* Creates an object representation of this proto.
|
|
5324
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5325
|
+
* Optional fields that are not set will be set to undefined.
|
|
5326
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5327
|
+
* For the list of reserved names please see:
|
|
5328
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5329
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5330
|
+
* JSPB instance for transitional soy proto support:
|
|
5331
|
+
* http://goto/soy-param-migration
|
|
5332
|
+
* @return {!Object}
|
|
5333
|
+
*/
|
|
5334
|
+
proto.wechaty.puppet.RoomDismissRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5335
|
+
return proto.wechaty.puppet.RoomDismissRequest.toObject(opt_includeInstance, this);
|
|
5336
|
+
};
|
|
5337
|
+
|
|
5338
|
+
|
|
5339
|
+
/**
|
|
5340
|
+
* Static version of the {@see toObject} method.
|
|
5341
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5342
|
+
* the JSPB instance for transitional soy proto support:
|
|
5343
|
+
* http://goto/soy-param-migration
|
|
5344
|
+
* @param {!proto.wechaty.puppet.RoomDismissRequest} msg The msg instance to transform.
|
|
5345
|
+
* @return {!Object}
|
|
5346
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5347
|
+
*/
|
|
5348
|
+
proto.wechaty.puppet.RoomDismissRequest.toObject = function(includeInstance, msg) {
|
|
5349
|
+
var f, obj = {
|
|
5350
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5351
|
+
};
|
|
5352
|
+
|
|
5353
|
+
if (includeInstance) {
|
|
5354
|
+
obj.$jspbMessageInstance = msg;
|
|
5355
|
+
}
|
|
5356
|
+
return obj;
|
|
5357
|
+
};
|
|
5358
|
+
}
|
|
5359
|
+
|
|
5360
|
+
|
|
5361
|
+
/**
|
|
5362
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5363
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5364
|
+
* @return {!proto.wechaty.puppet.RoomDismissRequest}
|
|
5365
|
+
*/
|
|
5366
|
+
proto.wechaty.puppet.RoomDismissRequest.deserializeBinary = function(bytes) {
|
|
5367
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5368
|
+
var msg = new proto.wechaty.puppet.RoomDismissRequest;
|
|
5369
|
+
return proto.wechaty.puppet.RoomDismissRequest.deserializeBinaryFromReader(msg, reader);
|
|
5370
|
+
};
|
|
5371
|
+
|
|
5372
|
+
|
|
5373
|
+
/**
|
|
5374
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5375
|
+
* given reader into the given message object.
|
|
5376
|
+
* @param {!proto.wechaty.puppet.RoomDismissRequest} msg The message object to deserialize into.
|
|
5377
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5378
|
+
* @return {!proto.wechaty.puppet.RoomDismissRequest}
|
|
5379
|
+
*/
|
|
5380
|
+
proto.wechaty.puppet.RoomDismissRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5381
|
+
while (reader.nextField()) {
|
|
5382
|
+
if (reader.isEndGroup()) {
|
|
5383
|
+
break;
|
|
5384
|
+
}
|
|
5385
|
+
var field = reader.getFieldNumber();
|
|
5386
|
+
switch (field) {
|
|
5387
|
+
case 1:
|
|
5388
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5389
|
+
msg.setId(value);
|
|
5390
|
+
break;
|
|
5391
|
+
default:
|
|
5392
|
+
reader.skipField();
|
|
5393
|
+
break;
|
|
5394
|
+
}
|
|
5395
|
+
}
|
|
5396
|
+
return msg;
|
|
5397
|
+
};
|
|
5398
|
+
|
|
5399
|
+
|
|
5400
|
+
/**
|
|
5401
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5402
|
+
* @return {!Uint8Array}
|
|
5403
|
+
*/
|
|
5404
|
+
proto.wechaty.puppet.RoomDismissRequest.prototype.serializeBinary = function() {
|
|
5405
|
+
var writer = new jspb.BinaryWriter();
|
|
5406
|
+
proto.wechaty.puppet.RoomDismissRequest.serializeBinaryToWriter(this, writer);
|
|
5407
|
+
return writer.getResultBuffer();
|
|
5408
|
+
};
|
|
5409
|
+
|
|
5410
|
+
|
|
5411
|
+
/**
|
|
5412
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5413
|
+
* format), writing to the given BinaryWriter.
|
|
5414
|
+
* @param {!proto.wechaty.puppet.RoomDismissRequest} message
|
|
5415
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5416
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5417
|
+
*/
|
|
5418
|
+
proto.wechaty.puppet.RoomDismissRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5419
|
+
var f = undefined;
|
|
5420
|
+
f = message.getId();
|
|
5421
|
+
if (f.length > 0) {
|
|
5422
|
+
writer.writeString(
|
|
5423
|
+
1,
|
|
5424
|
+
f
|
|
5425
|
+
);
|
|
5426
|
+
}
|
|
5427
|
+
};
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
/**
|
|
5431
|
+
* optional string id = 1;
|
|
5432
|
+
* @return {string}
|
|
5433
|
+
*/
|
|
5434
|
+
proto.wechaty.puppet.RoomDismissRequest.prototype.getId = function() {
|
|
5435
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5436
|
+
};
|
|
5437
|
+
|
|
5438
|
+
|
|
5439
|
+
/**
|
|
5440
|
+
* @param {string} value
|
|
5441
|
+
* @return {!proto.wechaty.puppet.RoomDismissRequest} returns this
|
|
5442
|
+
*/
|
|
5443
|
+
proto.wechaty.puppet.RoomDismissRequest.prototype.setId = function(value) {
|
|
5444
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5445
|
+
};
|
|
5446
|
+
|
|
5447
|
+
|
|
5448
|
+
|
|
5449
|
+
|
|
5450
|
+
|
|
5451
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5452
|
+
/**
|
|
5453
|
+
* Creates an object representation of this proto.
|
|
5454
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5455
|
+
* Optional fields that are not set will be set to undefined.
|
|
5456
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5457
|
+
* For the list of reserved names please see:
|
|
5458
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5459
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5460
|
+
* JSPB instance for transitional soy proto support:
|
|
5461
|
+
* http://goto/soy-param-migration
|
|
5462
|
+
* @return {!Object}
|
|
5463
|
+
*/
|
|
5464
|
+
proto.wechaty.puppet.RoomDismissResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5465
|
+
return proto.wechaty.puppet.RoomDismissResponse.toObject(opt_includeInstance, this);
|
|
5466
|
+
};
|
|
5467
|
+
|
|
5468
|
+
|
|
5469
|
+
/**
|
|
5470
|
+
* Static version of the {@see toObject} method.
|
|
5471
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5472
|
+
* the JSPB instance for transitional soy proto support:
|
|
5473
|
+
* http://goto/soy-param-migration
|
|
5474
|
+
* @param {!proto.wechaty.puppet.RoomDismissResponse} msg The msg instance to transform.
|
|
5475
|
+
* @return {!Object}
|
|
5476
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5477
|
+
*/
|
|
5478
|
+
proto.wechaty.puppet.RoomDismissResponse.toObject = function(includeInstance, msg) {
|
|
5479
|
+
var f, obj = {
|
|
5480
|
+
|
|
5481
|
+
};
|
|
5482
|
+
|
|
5483
|
+
if (includeInstance) {
|
|
5484
|
+
obj.$jspbMessageInstance = msg;
|
|
5485
|
+
}
|
|
5486
|
+
return obj;
|
|
5487
|
+
};
|
|
5488
|
+
}
|
|
5489
|
+
|
|
5490
|
+
|
|
5491
|
+
/**
|
|
5492
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5493
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5494
|
+
* @return {!proto.wechaty.puppet.RoomDismissResponse}
|
|
5495
|
+
*/
|
|
5496
|
+
proto.wechaty.puppet.RoomDismissResponse.deserializeBinary = function(bytes) {
|
|
5497
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5498
|
+
var msg = new proto.wechaty.puppet.RoomDismissResponse;
|
|
5499
|
+
return proto.wechaty.puppet.RoomDismissResponse.deserializeBinaryFromReader(msg, reader);
|
|
5500
|
+
};
|
|
5501
|
+
|
|
5502
|
+
|
|
5503
|
+
/**
|
|
5504
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5505
|
+
* given reader into the given message object.
|
|
5506
|
+
* @param {!proto.wechaty.puppet.RoomDismissResponse} msg The message object to deserialize into.
|
|
5507
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5508
|
+
* @return {!proto.wechaty.puppet.RoomDismissResponse}
|
|
5509
|
+
*/
|
|
5510
|
+
proto.wechaty.puppet.RoomDismissResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5511
|
+
while (reader.nextField()) {
|
|
5512
|
+
if (reader.isEndGroup()) {
|
|
5513
|
+
break;
|
|
5514
|
+
}
|
|
5515
|
+
var field = reader.getFieldNumber();
|
|
5516
|
+
switch (field) {
|
|
5517
|
+
default:
|
|
5518
|
+
reader.skipField();
|
|
5519
|
+
break;
|
|
5520
|
+
}
|
|
5521
|
+
}
|
|
5522
|
+
return msg;
|
|
5523
|
+
};
|
|
5524
|
+
|
|
5525
|
+
|
|
5526
|
+
/**
|
|
5527
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5528
|
+
* @return {!Uint8Array}
|
|
5529
|
+
*/
|
|
5530
|
+
proto.wechaty.puppet.RoomDismissResponse.prototype.serializeBinary = function() {
|
|
5531
|
+
var writer = new jspb.BinaryWriter();
|
|
5532
|
+
proto.wechaty.puppet.RoomDismissResponse.serializeBinaryToWriter(this, writer);
|
|
5533
|
+
return writer.getResultBuffer();
|
|
5534
|
+
};
|
|
5535
|
+
|
|
5536
|
+
|
|
5537
|
+
/**
|
|
5538
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5539
|
+
* format), writing to the given BinaryWriter.
|
|
5540
|
+
* @param {!proto.wechaty.puppet.RoomDismissResponse} message
|
|
5541
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5542
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5543
|
+
*/
|
|
5544
|
+
proto.wechaty.puppet.RoomDismissResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5545
|
+
var f = undefined;
|
|
5546
|
+
};
|
|
5547
|
+
|
|
5548
|
+
|
|
5274
5549
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -54,10 +54,10 @@ export namespace GetContactExternalUserIdRequest {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export class GetContactExternalUserIdResponse extends jspb.Message {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
clearContactExternalUserIdPairsList(): void;
|
|
58
|
+
getContactExternalUserIdPairsList(): Array<ContactExternalUserIdPair>;
|
|
59
|
+
setContactExternalUserIdPairsList(value: Array<ContactExternalUserIdPair>): void;
|
|
60
|
+
addContactExternalUserIdPairs(value?: ContactExternalUserIdPair, index?: number): ContactExternalUserIdPair;
|
|
61
61
|
|
|
62
62
|
serializeBinary(): Uint8Array;
|
|
63
63
|
toObject(includeInstance?: boolean): GetContactExternalUserIdResponse.AsObject;
|
|
@@ -71,7 +71,7 @@ export class GetContactExternalUserIdResponse extends jspb.Message {
|
|
|
71
71
|
|
|
72
72
|
export namespace GetContactExternalUserIdResponse {
|
|
73
73
|
export type AsObject = {
|
|
74
|
-
|
|
74
|
+
contactExternalUserIdPairsList: Array<ContactExternalUserIdPair.AsObject>,
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -466,7 +466,7 @@ proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.toObject = funct
|
|
|
466
466
|
*/
|
|
467
467
|
proto.wechaty.puppet.GetContactExternalUserIdResponse.toObject = function(includeInstance, msg) {
|
|
468
468
|
var f, obj = {
|
|
469
|
-
|
|
469
|
+
contactExternalUserIdPairsList: jspb.Message.toObjectList(msg.getContactExternalUserIdPairsList(),
|
|
470
470
|
proto.wechaty.puppet.ContactExternalUserIdPair.toObject, includeInstance)
|
|
471
471
|
};
|
|
472
472
|
|
|
@@ -507,7 +507,7 @@ proto.wechaty.puppet.GetContactExternalUserIdResponse.deserializeBinaryFromReade
|
|
|
507
507
|
case 1:
|
|
508
508
|
var value = new proto.wechaty.puppet.ContactExternalUserIdPair;
|
|
509
509
|
reader.readMessage(value,proto.wechaty.puppet.ContactExternalUserIdPair.deserializeBinaryFromReader);
|
|
510
|
-
msg.
|
|
510
|
+
msg.addContactExternalUserIdPairs(value);
|
|
511
511
|
break;
|
|
512
512
|
default:
|
|
513
513
|
reader.skipField();
|
|
@@ -538,7 +538,7 @@ proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.serializeBinary
|
|
|
538
538
|
*/
|
|
539
539
|
proto.wechaty.puppet.GetContactExternalUserIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
540
540
|
var f = undefined;
|
|
541
|
-
f = message.
|
|
541
|
+
f = message.getContactExternalUserIdPairsList();
|
|
542
542
|
if (f.length > 0) {
|
|
543
543
|
writer.writeRepeatedMessage(
|
|
544
544
|
1,
|
|
@@ -550,10 +550,10 @@ proto.wechaty.puppet.GetContactExternalUserIdResponse.serializeBinaryToWriter =
|
|
|
550
550
|
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
|
-
* repeated ContactExternalUserIdPair
|
|
553
|
+
* repeated ContactExternalUserIdPair contact_external_user_id_pairs = 1;
|
|
554
554
|
* @return {!Array<!proto.wechaty.puppet.ContactExternalUserIdPair>}
|
|
555
555
|
*/
|
|
556
|
-
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.
|
|
556
|
+
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.getContactExternalUserIdPairsList = function() {
|
|
557
557
|
return /** @type{!Array<!proto.wechaty.puppet.ContactExternalUserIdPair>} */ (
|
|
558
558
|
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.ContactExternalUserIdPair, 1));
|
|
559
559
|
};
|
|
@@ -563,7 +563,7 @@ proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.getContactExtern
|
|
|
563
563
|
* @param {!Array<!proto.wechaty.puppet.ContactExternalUserIdPair>} value
|
|
564
564
|
* @return {!proto.wechaty.puppet.GetContactExternalUserIdResponse} returns this
|
|
565
565
|
*/
|
|
566
|
-
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.
|
|
566
|
+
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.setContactExternalUserIdPairsList = function(value) {
|
|
567
567
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
568
568
|
};
|
|
569
569
|
|
|
@@ -573,7 +573,7 @@ proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.setContactExtern
|
|
|
573
573
|
* @param {number=} opt_index
|
|
574
574
|
* @return {!proto.wechaty.puppet.ContactExternalUserIdPair}
|
|
575
575
|
*/
|
|
576
|
-
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.
|
|
576
|
+
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.addContactExternalUserIdPairs = function(opt_value, opt_index) {
|
|
577
577
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.ContactExternalUserIdPair, opt_index);
|
|
578
578
|
};
|
|
579
579
|
|
|
@@ -582,8 +582,8 @@ proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.addContactExtern
|
|
|
582
582
|
* Clears the list making it empty but non-null.
|
|
583
583
|
* @return {!proto.wechaty.puppet.GetContactExternalUserIdResponse} returns this
|
|
584
584
|
*/
|
|
585
|
-
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.
|
|
586
|
-
return this.
|
|
585
|
+
proto.wechaty.puppet.GetContactExternalUserIdResponse.prototype.clearContactExternalUserIdPairsList = function() {
|
|
586
|
+
return this.setContactExternalUserIdPairsList([]);
|
|
587
587
|
};
|
|
588
588
|
|
|
589
589
|
|
|
@@ -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.74
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -1683,6 +1683,25 @@ paths:
|
|
|
1683
1683
|
$ref: '#/definitions/puppetRoomCreateRequest'
|
|
1684
1684
|
tags:
|
|
1685
1685
|
- Puppet
|
|
1686
|
+
/rooms/{id_1}:
|
|
1687
|
+
delete:
|
|
1688
|
+
operationId: Puppet_RoomDismiss
|
|
1689
|
+
responses:
|
|
1690
|
+
'200':
|
|
1691
|
+
description: A successful response.
|
|
1692
|
+
schema:
|
|
1693
|
+
$ref: '#/definitions/puppetRoomDismissResponse'
|
|
1694
|
+
default:
|
|
1695
|
+
description: An unexpected error response.
|
|
1696
|
+
schema:
|
|
1697
|
+
$ref: '#/definitions/rpcStatus'
|
|
1698
|
+
parameters:
|
|
1699
|
+
- name: id_1
|
|
1700
|
+
in: path
|
|
1701
|
+
required: true
|
|
1702
|
+
type: string
|
|
1703
|
+
tags:
|
|
1704
|
+
- Puppet
|
|
1686
1705
|
/rooms/{id}:
|
|
1687
1706
|
get:
|
|
1688
1707
|
summary: '*'
|
|
@@ -3123,7 +3142,7 @@ definitions:
|
|
|
3123
3142
|
puppetGetContactExternalUserIdResponse:
|
|
3124
3143
|
type: object
|
|
3125
3144
|
properties:
|
|
3126
|
-
|
|
3145
|
+
contactExternalUserIdPairs:
|
|
3127
3146
|
type: array
|
|
3128
3147
|
items:
|
|
3129
3148
|
type: object
|
|
@@ -3738,6 +3757,8 @@ definitions:
|
|
|
3738
3757
|
type: string
|
|
3739
3758
|
puppetRoomDelResponse:
|
|
3740
3759
|
type: object
|
|
3760
|
+
puppetRoomDismissResponse:
|
|
3761
|
+
type: object
|
|
3741
3762
|
puppetRoomInvitationAcceptResponse:
|
|
3742
3763
|
type: object
|
|
3743
3764
|
puppetRoomInvitationPayloadResponse:
|
|
@@ -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.74",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -2495,6 +2495,36 @@
|
|
|
2495
2495
|
]
|
|
2496
2496
|
}
|
|
2497
2497
|
},
|
|
2498
|
+
"/rooms/{id_1}": {
|
|
2499
|
+
"delete": {
|
|
2500
|
+
"operationId": "Puppet_RoomDismiss",
|
|
2501
|
+
"responses": {
|
|
2502
|
+
"200": {
|
|
2503
|
+
"description": "A successful response.",
|
|
2504
|
+
"schema": {
|
|
2505
|
+
"$ref": "#/definitions/puppetRoomDismissResponse"
|
|
2506
|
+
}
|
|
2507
|
+
},
|
|
2508
|
+
"default": {
|
|
2509
|
+
"description": "An unexpected error response.",
|
|
2510
|
+
"schema": {
|
|
2511
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
},
|
|
2515
|
+
"parameters": [
|
|
2516
|
+
{
|
|
2517
|
+
"name": "id_1",
|
|
2518
|
+
"in": "path",
|
|
2519
|
+
"required": true,
|
|
2520
|
+
"type": "string"
|
|
2521
|
+
}
|
|
2522
|
+
],
|
|
2523
|
+
"tags": [
|
|
2524
|
+
"Puppet"
|
|
2525
|
+
]
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2498
2528
|
"/rooms/{id}": {
|
|
2499
2529
|
"get": {
|
|
2500
2530
|
"summary": "*",
|
|
@@ -4515,7 +4545,7 @@
|
|
|
4515
4545
|
"puppetGetContactExternalUserIdResponse": {
|
|
4516
4546
|
"type": "object",
|
|
4517
4547
|
"properties": {
|
|
4518
|
-
"
|
|
4548
|
+
"contactExternalUserIdPairs": {
|
|
4519
4549
|
"type": "array",
|
|
4520
4550
|
"items": {
|
|
4521
4551
|
"type": "object",
|
|
@@ -5296,6 +5326,9 @@
|
|
|
5296
5326
|
"puppetRoomDelResponse": {
|
|
5297
5327
|
"type": "object"
|
|
5298
5328
|
},
|
|
5329
|
+
"puppetRoomDismissResponse": {
|
|
5330
|
+
"type": "object"
|
|
5331
|
+
},
|
|
5299
5332
|
"puppetRoomInvitationAcceptResponse": {
|
|
5300
5333
|
"type": "object"
|
|
5301
5334
|
},
|
|
@@ -95,6 +95,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
95
95
|
roomPermission: IPuppetService_IRoomPermission;
|
|
96
96
|
roomAddAdmins: IPuppetService_IRoomAddAdmins;
|
|
97
97
|
roomDelAdmins: IPuppetService_IRoomDelAdmins;
|
|
98
|
+
roomDismiss: IPuppetService_IRoomDismiss;
|
|
98
99
|
roomMemberPayload: IPuppetService_IRoomMemberPayload;
|
|
99
100
|
roomMemberList: IPuppetService_IRoomMemberList;
|
|
100
101
|
roomInvitationPayload: IPuppetService_IRoomInvitationPayload;
|
|
@@ -764,6 +765,15 @@ interface IPuppetService_IRoomDelAdmins extends grpc.MethodDefinition<wechaty_pu
|
|
|
764
765
|
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
765
766
|
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
766
767
|
}
|
|
768
|
+
interface IPuppetService_IRoomDismiss extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomDismissRequest, wechaty_puppet_room_pb.RoomDismissResponse> {
|
|
769
|
+
path: "/wechaty.Puppet/RoomDismiss";
|
|
770
|
+
requestStream: false;
|
|
771
|
+
responseStream: false;
|
|
772
|
+
requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomDismissRequest>;
|
|
773
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomDismissRequest>;
|
|
774
|
+
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomDismissResponse>;
|
|
775
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomDismissResponse>;
|
|
776
|
+
}
|
|
767
777
|
interface IPuppetService_IRoomMemberPayload extends grpc.MethodDefinition<wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, wechaty_puppet_room_member_pb.RoomMemberPayloadResponse> {
|
|
768
778
|
path: "/wechaty.Puppet/RoomMemberPayload";
|
|
769
779
|
requestStream: false;
|
|
@@ -1091,6 +1101,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1091
1101
|
roomPermission: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomPermissionRequest, wechaty_puppet_room_pb.RoomPermissionResponse>;
|
|
1092
1102
|
roomAddAdmins: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAdminsRequest, wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
1093
1103
|
roomDelAdmins: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAdminsRequest, wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
1104
|
+
roomDismiss: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomDismissRequest, wechaty_puppet_room_pb.RoomDismissResponse>;
|
|
1094
1105
|
roomMemberPayload: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, wechaty_puppet_room_member_pb.RoomMemberPayloadResponse>;
|
|
1095
1106
|
roomMemberList: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberListRequest, wechaty_puppet_room_member_pb.RoomMemberListResponse>;
|
|
1096
1107
|
roomInvitationPayload: grpc.handleUnaryCall<wechaty_puppet_room_invitation_pb.RoomInvitationPayloadRequest, wechaty_puppet_room_invitation_pb.RoomInvitationPayloadResponse>;
|
|
@@ -1334,6 +1345,9 @@ export interface IPuppetClient {
|
|
|
1334
1345
|
roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1335
1346
|
roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1336
1347
|
roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1348
|
+
roomDismiss(request: wechaty_puppet_room_pb.RoomDismissRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomDismissResponse) => void): grpc.ClientUnaryCall;
|
|
1349
|
+
roomDismiss(request: wechaty_puppet_room_pb.RoomDismissRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomDismissResponse) => void): grpc.ClientUnaryCall;
|
|
1350
|
+
roomDismiss(request: wechaty_puppet_room_pb.RoomDismissRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomDismissResponse) => void): grpc.ClientUnaryCall;
|
|
1337
1351
|
roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1338
1352
|
roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1339
1353
|
roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1634,6 +1648,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1634
1648
|
public roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1635
1649
|
public roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1636
1650
|
public roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1651
|
+
public roomDismiss(request: wechaty_puppet_room_pb.RoomDismissRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomDismissResponse) => void): grpc.ClientUnaryCall;
|
|
1652
|
+
public roomDismiss(request: wechaty_puppet_room_pb.RoomDismissRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomDismissResponse) => void): grpc.ClientUnaryCall;
|
|
1653
|
+
public roomDismiss(request: wechaty_puppet_room_pb.RoomDismissRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomDismissResponse) => void): grpc.ClientUnaryCall;
|
|
1637
1654
|
public roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1638
1655
|
public roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1639
1656
|
public roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1517,6 +1517,28 @@ function deserialize_wechaty_puppet_RoomDelResponse(buffer_arg) {
|
|
|
1517
1517
|
return wechaty_puppet_room_pb.RoomDelResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1518
1518
|
}
|
|
1519
1519
|
|
|
1520
|
+
function serialize_wechaty_puppet_RoomDismissRequest(arg) {
|
|
1521
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomDismissRequest)) {
|
|
1522
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomDismissRequest');
|
|
1523
|
+
}
|
|
1524
|
+
return Buffer.from(arg.serializeBinary());
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
function deserialize_wechaty_puppet_RoomDismissRequest(buffer_arg) {
|
|
1528
|
+
return wechaty_puppet_room_pb.RoomDismissRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
function serialize_wechaty_puppet_RoomDismissResponse(arg) {
|
|
1532
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomDismissResponse)) {
|
|
1533
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomDismissResponse');
|
|
1534
|
+
}
|
|
1535
|
+
return Buffer.from(arg.serializeBinary());
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
function deserialize_wechaty_puppet_RoomDismissResponse(buffer_arg) {
|
|
1539
|
+
return wechaty_puppet_room_pb.RoomDismissResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1520
1542
|
function serialize_wechaty_puppet_RoomInvitationAcceptRequest(arg) {
|
|
1521
1543
|
if (!(arg instanceof wechaty_puppet_room$invitation_pb.RoomInvitationAcceptRequest)) {
|
|
1522
1544
|
throw new Error('Expected argument of type wechaty.puppet.RoomInvitationAcceptRequest');
|
|
@@ -2976,6 +2998,17 @@ roomPayload: {
|
|
|
2976
2998
|
responseSerialize: serialize_wechaty_puppet_RoomAdminsResponse,
|
|
2977
2999
|
responseDeserialize: deserialize_wechaty_puppet_RoomAdminsResponse,
|
|
2978
3000
|
},
|
|
3001
|
+
roomDismiss: {
|
|
3002
|
+
path: '/wechaty.Puppet/RoomDismiss',
|
|
3003
|
+
requestStream: false,
|
|
3004
|
+
responseStream: false,
|
|
3005
|
+
requestType: wechaty_puppet_room_pb.RoomDismissRequest,
|
|
3006
|
+
responseType: wechaty_puppet_room_pb.RoomDismissResponse,
|
|
3007
|
+
requestSerialize: serialize_wechaty_puppet_RoomDismissRequest,
|
|
3008
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomDismissRequest,
|
|
3009
|
+
responseSerialize: serialize_wechaty_puppet_RoomDismissResponse,
|
|
3010
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomDismissResponse,
|
|
3011
|
+
},
|
|
2979
3012
|
// *
|
|
2980
3013
|
//
|
|
2981
3014
|
// Room Member
|