@juzi/wechaty-grpc 1.0.65 → 1.0.66
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/message_pb.d.ts +7 -7
- package/dist/cjs/out/wechaty/puppet/message_pb.js +25 -25
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +3 -3
- package/dist/cjs/out/wechaty/puppet.swagger.json +3 -3
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +10 -10
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +8 -8
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +3 -3
- package/dist/cjs/out/wechaty/puppet_pb_service.js +1 -1
- package/dist/cjs/proto/wechaty/puppet/message.proto +1 -1
- package/dist/cjs/proto/wechaty/puppet.proto +1 -1
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +7 -7
- package/dist/esm/out/wechaty/puppet/message_pb.js +25 -25
- package/dist/esm/out/wechaty/puppet.openapi.yaml +3 -3
- package/dist/esm/out/wechaty/puppet.swagger.json +3 -3
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +10 -10
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +8 -8
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +3 -3
- package/dist/esm/out/wechaty/puppet_pb_service.js +1 -1
- package/dist/esm/proto/wechaty/puppet/message.proto +1 -1
- package/dist/esm/proto/wechaty/puppet.proto +1 -1
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/message_pb.d.ts +7 -7
- package/out/wechaty/puppet/message_pb.js +25 -25
- package/out/wechaty/puppet.openapi.yaml +3 -3
- package/out/wechaty/puppet.swagger.json +3 -3
- package/out/wechaty/puppet_grpc_pb.d.ts +10 -10
- package/out/wechaty/puppet_grpc_pb.js +8 -8
- package/out/wechaty/puppet_pb_service.d.ts +3 -3
- package/out/wechaty/puppet_pb_service.js +1 -1
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -382,23 +382,23 @@ export namespace MessageCallRecordRequest {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
export class
|
|
385
|
+
export class MessageCallRecordResponse extends jspb.Message {
|
|
386
386
|
hasCallRecord(): boolean;
|
|
387
387
|
clearCallRecord(): void;
|
|
388
388
|
getCallRecord(): wechaty_puppet_call_pb.CallRecordPayload | undefined;
|
|
389
389
|
setCallRecord(value?: wechaty_puppet_call_pb.CallRecordPayload): void;
|
|
390
390
|
|
|
391
391
|
serializeBinary(): Uint8Array;
|
|
392
|
-
toObject(includeInstance?: boolean):
|
|
393
|
-
static toObject(includeInstance: boolean, msg:
|
|
392
|
+
toObject(includeInstance?: boolean): MessageCallRecordResponse.AsObject;
|
|
393
|
+
static toObject(includeInstance: boolean, msg: MessageCallRecordResponse): MessageCallRecordResponse.AsObject;
|
|
394
394
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
395
395
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
396
|
-
static serializeBinaryToWriter(message:
|
|
397
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
398
|
-
static deserializeBinaryFromReader(message:
|
|
396
|
+
static serializeBinaryToWriter(message: MessageCallRecordResponse, writer: jspb.BinaryWriter): void;
|
|
397
|
+
static deserializeBinary(bytes: Uint8Array): MessageCallRecordResponse;
|
|
398
|
+
static deserializeBinaryFromReader(message: MessageCallRecordResponse, reader: jspb.BinaryReader): MessageCallRecordResponse;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
export namespace
|
|
401
|
+
export namespace MessageCallRecordResponse {
|
|
402
402
|
export type AsObject = {
|
|
403
403
|
callRecord?: wechaty_puppet_call_pb.CallRecordPayload.AsObject,
|
|
404
404
|
}
|
|
@@ -43,7 +43,7 @@ goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastStatusResponse', null
|
|
|
43
43
|
goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetRequest', null, global);
|
|
44
44
|
goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetResponse', null, global);
|
|
45
45
|
goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordRequest', null, global);
|
|
46
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
46
|
+
goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.wechaty.puppet.MessageChannelRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.wechaty.puppet.MessageChannelResponse', null, global);
|
|
49
49
|
goog.exportSymbol('proto.wechaty.puppet.MessageContactRequest', null, global);
|
|
@@ -406,16 +406,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
406
406
|
* @extends {jspb.Message}
|
|
407
407
|
* @constructor
|
|
408
408
|
*/
|
|
409
|
-
proto.wechaty.puppet.
|
|
409
|
+
proto.wechaty.puppet.MessageCallRecordResponse = function(opt_data) {
|
|
410
410
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
411
411
|
};
|
|
412
|
-
goog.inherits(proto.wechaty.puppet.
|
|
412
|
+
goog.inherits(proto.wechaty.puppet.MessageCallRecordResponse, jspb.Message);
|
|
413
413
|
if (goog.DEBUG && !COMPILED) {
|
|
414
414
|
/**
|
|
415
415
|
* @public
|
|
416
416
|
* @override
|
|
417
417
|
*/
|
|
418
|
-
proto.wechaty.puppet.
|
|
418
|
+
proto.wechaty.puppet.MessageCallRecordResponse.displayName = 'proto.wechaty.puppet.MessageCallRecordResponse';
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* Generated by JsPbCodeGenerator.
|
|
@@ -3558,8 +3558,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3558
3558
|
* http://goto/soy-param-migration
|
|
3559
3559
|
* @return {!Object}
|
|
3560
3560
|
*/
|
|
3561
|
-
proto.wechaty.puppet.
|
|
3562
|
-
return proto.wechaty.puppet.
|
|
3561
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3562
|
+
return proto.wechaty.puppet.MessageCallRecordResponse.toObject(opt_includeInstance, this);
|
|
3563
3563
|
};
|
|
3564
3564
|
|
|
3565
3565
|
|
|
@@ -3568,11 +3568,11 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.toObject = function(op
|
|
|
3568
3568
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3569
3569
|
* the JSPB instance for transitional soy proto support:
|
|
3570
3570
|
* http://goto/soy-param-migration
|
|
3571
|
-
* @param {!proto.wechaty.puppet.
|
|
3571
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} msg The msg instance to transform.
|
|
3572
3572
|
* @return {!Object}
|
|
3573
3573
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3574
3574
|
*/
|
|
3575
|
-
proto.wechaty.puppet.
|
|
3575
|
+
proto.wechaty.puppet.MessageCallRecordResponse.toObject = function(includeInstance, msg) {
|
|
3576
3576
|
var f, obj = {
|
|
3577
3577
|
callRecord: (f = msg.getCallRecord()) && wechaty_puppet_call_pb.CallRecordPayload.toObject(includeInstance, f)
|
|
3578
3578
|
};
|
|
@@ -3588,23 +3588,23 @@ proto.wechaty.puppet.MessageCallRecordlResponse.toObject = function(includeInsta
|
|
|
3588
3588
|
/**
|
|
3589
3589
|
* Deserializes binary data (in protobuf wire format).
|
|
3590
3590
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3591
|
-
* @return {!proto.wechaty.puppet.
|
|
3591
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse}
|
|
3592
3592
|
*/
|
|
3593
|
-
proto.wechaty.puppet.
|
|
3593
|
+
proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinary = function(bytes) {
|
|
3594
3594
|
var reader = new jspb.BinaryReader(bytes);
|
|
3595
|
-
var msg = new proto.wechaty.puppet.
|
|
3596
|
-
return proto.wechaty.puppet.
|
|
3595
|
+
var msg = new proto.wechaty.puppet.MessageCallRecordResponse;
|
|
3596
|
+
return proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinaryFromReader(msg, reader);
|
|
3597
3597
|
};
|
|
3598
3598
|
|
|
3599
3599
|
|
|
3600
3600
|
/**
|
|
3601
3601
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3602
3602
|
* given reader into the given message object.
|
|
3603
|
-
* @param {!proto.wechaty.puppet.
|
|
3603
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} msg The message object to deserialize into.
|
|
3604
3604
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3605
|
-
* @return {!proto.wechaty.puppet.
|
|
3605
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse}
|
|
3606
3606
|
*/
|
|
3607
|
-
proto.wechaty.puppet.
|
|
3607
|
+
proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3608
3608
|
while (reader.nextField()) {
|
|
3609
3609
|
if (reader.isEndGroup()) {
|
|
3610
3610
|
break;
|
|
@@ -3629,9 +3629,9 @@ proto.wechaty.puppet.MessageCallRecordlResponse.deserializeBinaryFromReader = fu
|
|
|
3629
3629
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3630
3630
|
* @return {!Uint8Array}
|
|
3631
3631
|
*/
|
|
3632
|
-
proto.wechaty.puppet.
|
|
3632
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.serializeBinary = function() {
|
|
3633
3633
|
var writer = new jspb.BinaryWriter();
|
|
3634
|
-
proto.wechaty.puppet.
|
|
3634
|
+
proto.wechaty.puppet.MessageCallRecordResponse.serializeBinaryToWriter(this, writer);
|
|
3635
3635
|
return writer.getResultBuffer();
|
|
3636
3636
|
};
|
|
3637
3637
|
|
|
@@ -3639,11 +3639,11 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.serializeBinary = func
|
|
|
3639
3639
|
/**
|
|
3640
3640
|
* Serializes the given message to binary data (in protobuf wire
|
|
3641
3641
|
* format), writing to the given BinaryWriter.
|
|
3642
|
-
* @param {!proto.wechaty.puppet.
|
|
3642
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} message
|
|
3643
3643
|
* @param {!jspb.BinaryWriter} writer
|
|
3644
3644
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3645
3645
|
*/
|
|
3646
|
-
proto.wechaty.puppet.
|
|
3646
|
+
proto.wechaty.puppet.MessageCallRecordResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3647
3647
|
var f = undefined;
|
|
3648
3648
|
f = message.getCallRecord();
|
|
3649
3649
|
if (f != null) {
|
|
@@ -3660,7 +3660,7 @@ proto.wechaty.puppet.MessageCallRecordlResponse.serializeBinaryToWriter = functi
|
|
|
3660
3660
|
* optional CallRecordPayload call_record = 1;
|
|
3661
3661
|
* @return {?proto.wechaty.puppet.CallRecordPayload}
|
|
3662
3662
|
*/
|
|
3663
|
-
proto.wechaty.puppet.
|
|
3663
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.getCallRecord = function() {
|
|
3664
3664
|
return /** @type{?proto.wechaty.puppet.CallRecordPayload} */ (
|
|
3665
3665
|
jspb.Message.getWrapperField(this, wechaty_puppet_call_pb.CallRecordPayload, 1));
|
|
3666
3666
|
};
|
|
@@ -3668,18 +3668,18 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.getCallRecord = functi
|
|
|
3668
3668
|
|
|
3669
3669
|
/**
|
|
3670
3670
|
* @param {?proto.wechaty.puppet.CallRecordPayload|undefined} value
|
|
3671
|
-
* @return {!proto.wechaty.puppet.
|
|
3671
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse} returns this
|
|
3672
3672
|
*/
|
|
3673
|
-
proto.wechaty.puppet.
|
|
3673
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.setCallRecord = function(value) {
|
|
3674
3674
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
3675
3675
|
};
|
|
3676
3676
|
|
|
3677
3677
|
|
|
3678
3678
|
/**
|
|
3679
3679
|
* Clears the message field making it undefined.
|
|
3680
|
-
* @return {!proto.wechaty.puppet.
|
|
3680
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse} returns this
|
|
3681
3681
|
*/
|
|
3682
|
-
proto.wechaty.puppet.
|
|
3682
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.clearCallRecord = function() {
|
|
3683
3683
|
return this.setCallRecord(undefined);
|
|
3684
3684
|
};
|
|
3685
3685
|
|
|
@@ -3688,7 +3688,7 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.clearCallRecord = func
|
|
|
3688
3688
|
* Returns whether this field is set.
|
|
3689
3689
|
* @return {boolean}
|
|
3690
3690
|
*/
|
|
3691
|
-
proto.wechaty.puppet.
|
|
3691
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.hasCallRecord = function() {
|
|
3692
3692
|
return jspb.Message.getField(this, 1) != null;
|
|
3693
3693
|
};
|
|
3694
3694
|
|
|
@@ -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.66
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -1121,7 +1121,7 @@ paths:
|
|
|
1121
1121
|
'200':
|
|
1122
1122
|
description: A successful response.
|
|
1123
1123
|
schema:
|
|
1124
|
-
$ref: '#/definitions/
|
|
1124
|
+
$ref: '#/definitions/puppetMessageCallRecordResponse'
|
|
1125
1125
|
default:
|
|
1126
1126
|
description: An unexpected error response.
|
|
1127
1127
|
schema:
|
|
@@ -2995,7 +2995,7 @@ definitions:
|
|
|
2995
2995
|
title: 地址名,例如xx大厦
|
|
2996
2996
|
puppetLogoutResponse:
|
|
2997
2997
|
type: object
|
|
2998
|
-
|
|
2998
|
+
puppetMessageCallRecordResponse:
|
|
2999
2999
|
type: object
|
|
3000
3000
|
properties:
|
|
3001
3001
|
callRecord:
|
|
@@ -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.66",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -1639,7 +1639,7 @@
|
|
|
1639
1639
|
"200": {
|
|
1640
1640
|
"description": "A successful response.",
|
|
1641
1641
|
"schema": {
|
|
1642
|
-
"$ref": "#/definitions/
|
|
1642
|
+
"$ref": "#/definitions/puppetMessageCallRecordResponse"
|
|
1643
1643
|
}
|
|
1644
1644
|
},
|
|
1645
1645
|
"default": {
|
|
@@ -4329,7 +4329,7 @@
|
|
|
4329
4329
|
"puppetLogoutResponse": {
|
|
4330
4330
|
"type": "object"
|
|
4331
4331
|
},
|
|
4332
|
-
"
|
|
4332
|
+
"puppetMessageCallRecordResponse": {
|
|
4333
4333
|
"type": "object",
|
|
4334
4334
|
"properties": {
|
|
4335
4335
|
"callRecord": {
|
|
@@ -471,14 +471,14 @@ interface IPuppetService_IMessageChannel extends grpc.MethodDefinition<wechaty_p
|
|
|
471
471
|
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
472
472
|
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
473
473
|
}
|
|
474
|
-
interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.
|
|
474
|
+
interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse> {
|
|
475
475
|
path: "/wechaty.Puppet/MessageCallRecord";
|
|
476
476
|
requestStream: false;
|
|
477
477
|
responseStream: false;
|
|
478
478
|
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageCallRecordRequest>;
|
|
479
479
|
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageCallRecordRequest>;
|
|
480
|
-
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.
|
|
481
|
-
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.
|
|
480
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
481
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
482
482
|
}
|
|
483
483
|
interface IPuppetService_IMessageRecall extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse> {
|
|
484
484
|
path: "/wechaty.Puppet/MessageRecall";
|
|
@@ -1018,7 +1018,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1018
1018
|
messageMiniProgram: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageMiniProgramRequest, wechaty_puppet_message_pb.MessageMiniProgramResponse>;
|
|
1019
1019
|
messageUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageUrlRequest, wechaty_puppet_message_pb.MessageUrlResponse>;
|
|
1020
1020
|
messageChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChannelRequest, wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
1021
|
-
messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.
|
|
1021
|
+
messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
1022
1022
|
messageRecall: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse>;
|
|
1023
1023
|
messageForward: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageForwardRequest, wechaty_puppet_message_pb.MessageForwardResponse>;
|
|
1024
1024
|
messageLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageLocationRequest, wechaty_puppet_message_pb.MessageLocationResponse>;
|
|
@@ -1193,9 +1193,9 @@ export interface IPuppetClient {
|
|
|
1193
1193
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1194
1194
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1195
1195
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1196
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1197
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1198
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1196
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1197
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1198
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1199
1199
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1200
1200
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1201
1201
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1481,9 +1481,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1481
1481
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1482
1482
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1483
1483
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1484
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1485
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1486
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1484
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1485
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1486
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1487
1487
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1488
1488
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1489
1489
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -702,15 +702,15 @@ function deserialize_wechaty_puppet_MessageCallRecordRequest(buffer_arg) {
|
|
|
702
702
|
return wechaty_puppet_message_pb.MessageCallRecordRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
function
|
|
706
|
-
if (!(arg instanceof wechaty_puppet_message_pb.
|
|
707
|
-
throw new Error('Expected argument of type wechaty.puppet.
|
|
705
|
+
function serialize_wechaty_puppet_MessageCallRecordResponse(arg) {
|
|
706
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageCallRecordResponse)) {
|
|
707
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageCallRecordResponse');
|
|
708
708
|
}
|
|
709
709
|
return Buffer.from(arg.serializeBinary());
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
function
|
|
713
|
-
return wechaty_puppet_message_pb.
|
|
712
|
+
function deserialize_wechaty_puppet_MessageCallRecordResponse(buffer_arg) {
|
|
713
|
+
return wechaty_puppet_message_pb.MessageCallRecordResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
function serialize_wechaty_puppet_MessageChannelRequest(arg) {
|
|
@@ -2536,11 +2536,11 @@ messageFile: {
|
|
|
2536
2536
|
requestStream: false,
|
|
2537
2537
|
responseStream: false,
|
|
2538
2538
|
requestType: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
2539
|
-
responseType: wechaty_puppet_message_pb.
|
|
2539
|
+
responseType: wechaty_puppet_message_pb.MessageCallRecordResponse,
|
|
2540
2540
|
requestSerialize: serialize_wechaty_puppet_MessageCallRecordRequest,
|
|
2541
2541
|
requestDeserialize: deserialize_wechaty_puppet_MessageCallRecordRequest,
|
|
2542
|
-
responseSerialize:
|
|
2543
|
-
responseDeserialize:
|
|
2542
|
+
responseSerialize: serialize_wechaty_puppet_MessageCallRecordResponse,
|
|
2543
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageCallRecordResponse,
|
|
2544
2544
|
},
|
|
2545
2545
|
messageRecall: {
|
|
2546
2546
|
path: '/wechaty.Puppet/MessageRecall',
|
|
@@ -375,7 +375,7 @@ type PuppetMessageCallRecord = {
|
|
|
375
375
|
readonly requestStream: false;
|
|
376
376
|
readonly responseStream: false;
|
|
377
377
|
readonly requestType: typeof wechaty_puppet_message_pb.MessageCallRecordRequest;
|
|
378
|
-
readonly responseType: typeof wechaty_puppet_message_pb.
|
|
378
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageCallRecordResponse;
|
|
379
379
|
};
|
|
380
380
|
|
|
381
381
|
type PuppetMessageRecall = {
|
|
@@ -1350,11 +1350,11 @@ export class PuppetClient {
|
|
|
1350
1350
|
messageCallRecord(
|
|
1351
1351
|
requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
1352
1352
|
metadata: grpc.Metadata,
|
|
1353
|
-
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.
|
|
1353
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageCallRecordResponse|null) => void
|
|
1354
1354
|
): UnaryResponse;
|
|
1355
1355
|
messageCallRecord(
|
|
1356
1356
|
requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
1357
|
-
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.
|
|
1357
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageCallRecordResponse|null) => void
|
|
1358
1358
|
): UnaryResponse;
|
|
1359
1359
|
messageRecall(
|
|
1360
1360
|
requestMessage: wechaty_puppet_message_pb.MessageRecallRequest,
|
|
@@ -381,7 +381,7 @@ Puppet.MessageCallRecord = {
|
|
|
381
381
|
requestStream: false,
|
|
382
382
|
responseStream: false,
|
|
383
383
|
requestType: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
384
|
-
responseType: wechaty_puppet_message_pb.
|
|
384
|
+
responseType: wechaty_puppet_message_pb.MessageCallRecordResponse
|
|
385
385
|
};
|
|
386
386
|
|
|
387
387
|
Puppet.MessageRecall = {
|
|
@@ -358,7 +358,7 @@ service Puppet {
|
|
|
358
358
|
get: "/message/{id}/channel"
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
rpc MessageCallRecord (puppet.MessageCallRecordRequest) returns (puppet.
|
|
361
|
+
rpc MessageCallRecord (puppet.MessageCallRecordRequest) returns (puppet.MessageCallRecordResponse) {
|
|
362
362
|
option (google.api.http) = {
|
|
363
363
|
get: "/message/{id}/call-record"
|
|
364
364
|
};
|
|
@@ -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.66",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -382,23 +382,23 @@ export namespace MessageCallRecordRequest {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
export class
|
|
385
|
+
export class MessageCallRecordResponse extends jspb.Message {
|
|
386
386
|
hasCallRecord(): boolean;
|
|
387
387
|
clearCallRecord(): void;
|
|
388
388
|
getCallRecord(): wechaty_puppet_call_pb.CallRecordPayload | undefined;
|
|
389
389
|
setCallRecord(value?: wechaty_puppet_call_pb.CallRecordPayload): void;
|
|
390
390
|
|
|
391
391
|
serializeBinary(): Uint8Array;
|
|
392
|
-
toObject(includeInstance?: boolean):
|
|
393
|
-
static toObject(includeInstance: boolean, msg:
|
|
392
|
+
toObject(includeInstance?: boolean): MessageCallRecordResponse.AsObject;
|
|
393
|
+
static toObject(includeInstance: boolean, msg: MessageCallRecordResponse): MessageCallRecordResponse.AsObject;
|
|
394
394
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
395
395
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
396
|
-
static serializeBinaryToWriter(message:
|
|
397
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
398
|
-
static deserializeBinaryFromReader(message:
|
|
396
|
+
static serializeBinaryToWriter(message: MessageCallRecordResponse, writer: jspb.BinaryWriter): void;
|
|
397
|
+
static deserializeBinary(bytes: Uint8Array): MessageCallRecordResponse;
|
|
398
|
+
static deserializeBinaryFromReader(message: MessageCallRecordResponse, reader: jspb.BinaryReader): MessageCallRecordResponse;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
export namespace
|
|
401
|
+
export namespace MessageCallRecordResponse {
|
|
402
402
|
export type AsObject = {
|
|
403
403
|
callRecord?: wechaty_puppet_call_pb.CallRecordPayload.AsObject,
|
|
404
404
|
}
|
|
@@ -43,7 +43,7 @@ goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastStatusResponse', null
|
|
|
43
43
|
goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetRequest', null, global);
|
|
44
44
|
goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetResponse', null, global);
|
|
45
45
|
goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordRequest', null, global);
|
|
46
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
46
|
+
goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.wechaty.puppet.MessageChannelRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.wechaty.puppet.MessageChannelResponse', null, global);
|
|
49
49
|
goog.exportSymbol('proto.wechaty.puppet.MessageContactRequest', null, global);
|
|
@@ -406,16 +406,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
406
406
|
* @extends {jspb.Message}
|
|
407
407
|
* @constructor
|
|
408
408
|
*/
|
|
409
|
-
proto.wechaty.puppet.
|
|
409
|
+
proto.wechaty.puppet.MessageCallRecordResponse = function(opt_data) {
|
|
410
410
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
411
411
|
};
|
|
412
|
-
goog.inherits(proto.wechaty.puppet.
|
|
412
|
+
goog.inherits(proto.wechaty.puppet.MessageCallRecordResponse, jspb.Message);
|
|
413
413
|
if (goog.DEBUG && !COMPILED) {
|
|
414
414
|
/**
|
|
415
415
|
* @public
|
|
416
416
|
* @override
|
|
417
417
|
*/
|
|
418
|
-
proto.wechaty.puppet.
|
|
418
|
+
proto.wechaty.puppet.MessageCallRecordResponse.displayName = 'proto.wechaty.puppet.MessageCallRecordResponse';
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* Generated by JsPbCodeGenerator.
|
|
@@ -3558,8 +3558,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3558
3558
|
* http://goto/soy-param-migration
|
|
3559
3559
|
* @return {!Object}
|
|
3560
3560
|
*/
|
|
3561
|
-
proto.wechaty.puppet.
|
|
3562
|
-
return proto.wechaty.puppet.
|
|
3561
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3562
|
+
return proto.wechaty.puppet.MessageCallRecordResponse.toObject(opt_includeInstance, this);
|
|
3563
3563
|
};
|
|
3564
3564
|
|
|
3565
3565
|
|
|
@@ -3568,11 +3568,11 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.toObject = function(op
|
|
|
3568
3568
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3569
3569
|
* the JSPB instance for transitional soy proto support:
|
|
3570
3570
|
* http://goto/soy-param-migration
|
|
3571
|
-
* @param {!proto.wechaty.puppet.
|
|
3571
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} msg The msg instance to transform.
|
|
3572
3572
|
* @return {!Object}
|
|
3573
3573
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3574
3574
|
*/
|
|
3575
|
-
proto.wechaty.puppet.
|
|
3575
|
+
proto.wechaty.puppet.MessageCallRecordResponse.toObject = function(includeInstance, msg) {
|
|
3576
3576
|
var f, obj = {
|
|
3577
3577
|
callRecord: (f = msg.getCallRecord()) && wechaty_puppet_call_pb.CallRecordPayload.toObject(includeInstance, f)
|
|
3578
3578
|
};
|
|
@@ -3588,23 +3588,23 @@ proto.wechaty.puppet.MessageCallRecordlResponse.toObject = function(includeInsta
|
|
|
3588
3588
|
/**
|
|
3589
3589
|
* Deserializes binary data (in protobuf wire format).
|
|
3590
3590
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3591
|
-
* @return {!proto.wechaty.puppet.
|
|
3591
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse}
|
|
3592
3592
|
*/
|
|
3593
|
-
proto.wechaty.puppet.
|
|
3593
|
+
proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinary = function(bytes) {
|
|
3594
3594
|
var reader = new jspb.BinaryReader(bytes);
|
|
3595
|
-
var msg = new proto.wechaty.puppet.
|
|
3596
|
-
return proto.wechaty.puppet.
|
|
3595
|
+
var msg = new proto.wechaty.puppet.MessageCallRecordResponse;
|
|
3596
|
+
return proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinaryFromReader(msg, reader);
|
|
3597
3597
|
};
|
|
3598
3598
|
|
|
3599
3599
|
|
|
3600
3600
|
/**
|
|
3601
3601
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3602
3602
|
* given reader into the given message object.
|
|
3603
|
-
* @param {!proto.wechaty.puppet.
|
|
3603
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} msg The message object to deserialize into.
|
|
3604
3604
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3605
|
-
* @return {!proto.wechaty.puppet.
|
|
3605
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse}
|
|
3606
3606
|
*/
|
|
3607
|
-
proto.wechaty.puppet.
|
|
3607
|
+
proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3608
3608
|
while (reader.nextField()) {
|
|
3609
3609
|
if (reader.isEndGroup()) {
|
|
3610
3610
|
break;
|
|
@@ -3629,9 +3629,9 @@ proto.wechaty.puppet.MessageCallRecordlResponse.deserializeBinaryFromReader = fu
|
|
|
3629
3629
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3630
3630
|
* @return {!Uint8Array}
|
|
3631
3631
|
*/
|
|
3632
|
-
proto.wechaty.puppet.
|
|
3632
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.serializeBinary = function() {
|
|
3633
3633
|
var writer = new jspb.BinaryWriter();
|
|
3634
|
-
proto.wechaty.puppet.
|
|
3634
|
+
proto.wechaty.puppet.MessageCallRecordResponse.serializeBinaryToWriter(this, writer);
|
|
3635
3635
|
return writer.getResultBuffer();
|
|
3636
3636
|
};
|
|
3637
3637
|
|
|
@@ -3639,11 +3639,11 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.serializeBinary = func
|
|
|
3639
3639
|
/**
|
|
3640
3640
|
* Serializes the given message to binary data (in protobuf wire
|
|
3641
3641
|
* format), writing to the given BinaryWriter.
|
|
3642
|
-
* @param {!proto.wechaty.puppet.
|
|
3642
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} message
|
|
3643
3643
|
* @param {!jspb.BinaryWriter} writer
|
|
3644
3644
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3645
3645
|
*/
|
|
3646
|
-
proto.wechaty.puppet.
|
|
3646
|
+
proto.wechaty.puppet.MessageCallRecordResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3647
3647
|
var f = undefined;
|
|
3648
3648
|
f = message.getCallRecord();
|
|
3649
3649
|
if (f != null) {
|
|
@@ -3660,7 +3660,7 @@ proto.wechaty.puppet.MessageCallRecordlResponse.serializeBinaryToWriter = functi
|
|
|
3660
3660
|
* optional CallRecordPayload call_record = 1;
|
|
3661
3661
|
* @return {?proto.wechaty.puppet.CallRecordPayload}
|
|
3662
3662
|
*/
|
|
3663
|
-
proto.wechaty.puppet.
|
|
3663
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.getCallRecord = function() {
|
|
3664
3664
|
return /** @type{?proto.wechaty.puppet.CallRecordPayload} */ (
|
|
3665
3665
|
jspb.Message.getWrapperField(this, wechaty_puppet_call_pb.CallRecordPayload, 1));
|
|
3666
3666
|
};
|
|
@@ -3668,18 +3668,18 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.getCallRecord = functi
|
|
|
3668
3668
|
|
|
3669
3669
|
/**
|
|
3670
3670
|
* @param {?proto.wechaty.puppet.CallRecordPayload|undefined} value
|
|
3671
|
-
* @return {!proto.wechaty.puppet.
|
|
3671
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse} returns this
|
|
3672
3672
|
*/
|
|
3673
|
-
proto.wechaty.puppet.
|
|
3673
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.setCallRecord = function(value) {
|
|
3674
3674
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
3675
3675
|
};
|
|
3676
3676
|
|
|
3677
3677
|
|
|
3678
3678
|
/**
|
|
3679
3679
|
* Clears the message field making it undefined.
|
|
3680
|
-
* @return {!proto.wechaty.puppet.
|
|
3680
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse} returns this
|
|
3681
3681
|
*/
|
|
3682
|
-
proto.wechaty.puppet.
|
|
3682
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.clearCallRecord = function() {
|
|
3683
3683
|
return this.setCallRecord(undefined);
|
|
3684
3684
|
};
|
|
3685
3685
|
|
|
@@ -3688,7 +3688,7 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.clearCallRecord = func
|
|
|
3688
3688
|
* Returns whether this field is set.
|
|
3689
3689
|
* @return {boolean}
|
|
3690
3690
|
*/
|
|
3691
|
-
proto.wechaty.puppet.
|
|
3691
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.hasCallRecord = function() {
|
|
3692
3692
|
return jspb.Message.getField(this, 1) != null;
|
|
3693
3693
|
};
|
|
3694
3694
|
|
|
@@ -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.66
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -1121,7 +1121,7 @@ paths:
|
|
|
1121
1121
|
'200':
|
|
1122
1122
|
description: A successful response.
|
|
1123
1123
|
schema:
|
|
1124
|
-
$ref: '#/definitions/
|
|
1124
|
+
$ref: '#/definitions/puppetMessageCallRecordResponse'
|
|
1125
1125
|
default:
|
|
1126
1126
|
description: An unexpected error response.
|
|
1127
1127
|
schema:
|
|
@@ -2995,7 +2995,7 @@ definitions:
|
|
|
2995
2995
|
title: 地址名,例如xx大厦
|
|
2996
2996
|
puppetLogoutResponse:
|
|
2997
2997
|
type: object
|
|
2998
|
-
|
|
2998
|
+
puppetMessageCallRecordResponse:
|
|
2999
2999
|
type: object
|
|
3000
3000
|
properties:
|
|
3001
3001
|
callRecord:
|
|
@@ -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.66",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -1639,7 +1639,7 @@
|
|
|
1639
1639
|
"200": {
|
|
1640
1640
|
"description": "A successful response.",
|
|
1641
1641
|
"schema": {
|
|
1642
|
-
"$ref": "#/definitions/
|
|
1642
|
+
"$ref": "#/definitions/puppetMessageCallRecordResponse"
|
|
1643
1643
|
}
|
|
1644
1644
|
},
|
|
1645
1645
|
"default": {
|
|
@@ -4329,7 +4329,7 @@
|
|
|
4329
4329
|
"puppetLogoutResponse": {
|
|
4330
4330
|
"type": "object"
|
|
4331
4331
|
},
|
|
4332
|
-
"
|
|
4332
|
+
"puppetMessageCallRecordResponse": {
|
|
4333
4333
|
"type": "object",
|
|
4334
4334
|
"properties": {
|
|
4335
4335
|
"callRecord": {
|
|
@@ -471,14 +471,14 @@ interface IPuppetService_IMessageChannel extends grpc.MethodDefinition<wechaty_p
|
|
|
471
471
|
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
472
472
|
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
473
473
|
}
|
|
474
|
-
interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.
|
|
474
|
+
interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse> {
|
|
475
475
|
path: "/wechaty.Puppet/MessageCallRecord";
|
|
476
476
|
requestStream: false;
|
|
477
477
|
responseStream: false;
|
|
478
478
|
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageCallRecordRequest>;
|
|
479
479
|
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageCallRecordRequest>;
|
|
480
|
-
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.
|
|
481
|
-
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.
|
|
480
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
481
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
482
482
|
}
|
|
483
483
|
interface IPuppetService_IMessageRecall extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse> {
|
|
484
484
|
path: "/wechaty.Puppet/MessageRecall";
|
|
@@ -1018,7 +1018,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1018
1018
|
messageMiniProgram: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageMiniProgramRequest, wechaty_puppet_message_pb.MessageMiniProgramResponse>;
|
|
1019
1019
|
messageUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageUrlRequest, wechaty_puppet_message_pb.MessageUrlResponse>;
|
|
1020
1020
|
messageChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChannelRequest, wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
1021
|
-
messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.
|
|
1021
|
+
messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
1022
1022
|
messageRecall: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse>;
|
|
1023
1023
|
messageForward: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageForwardRequest, wechaty_puppet_message_pb.MessageForwardResponse>;
|
|
1024
1024
|
messageLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageLocationRequest, wechaty_puppet_message_pb.MessageLocationResponse>;
|
|
@@ -1193,9 +1193,9 @@ export interface IPuppetClient {
|
|
|
1193
1193
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1194
1194
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1195
1195
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1196
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1197
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1198
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1196
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1197
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1198
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1199
1199
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1200
1200
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1201
1201
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1481,9 +1481,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1481
1481
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1482
1482
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1483
1483
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1484
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1485
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1486
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1484
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1485
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1486
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1487
1487
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1488
1488
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1489
1489
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -702,15 +702,15 @@ function deserialize_wechaty_puppet_MessageCallRecordRequest(buffer_arg) {
|
|
|
702
702
|
return wechaty_puppet_message_pb.MessageCallRecordRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
function
|
|
706
|
-
if (!(arg instanceof wechaty_puppet_message_pb.
|
|
707
|
-
throw new Error('Expected argument of type wechaty.puppet.
|
|
705
|
+
function serialize_wechaty_puppet_MessageCallRecordResponse(arg) {
|
|
706
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageCallRecordResponse)) {
|
|
707
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageCallRecordResponse');
|
|
708
708
|
}
|
|
709
709
|
return Buffer.from(arg.serializeBinary());
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
function
|
|
713
|
-
return wechaty_puppet_message_pb.
|
|
712
|
+
function deserialize_wechaty_puppet_MessageCallRecordResponse(buffer_arg) {
|
|
713
|
+
return wechaty_puppet_message_pb.MessageCallRecordResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
function serialize_wechaty_puppet_MessageChannelRequest(arg) {
|
|
@@ -2536,11 +2536,11 @@ messageFile: {
|
|
|
2536
2536
|
requestStream: false,
|
|
2537
2537
|
responseStream: false,
|
|
2538
2538
|
requestType: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
2539
|
-
responseType: wechaty_puppet_message_pb.
|
|
2539
|
+
responseType: wechaty_puppet_message_pb.MessageCallRecordResponse,
|
|
2540
2540
|
requestSerialize: serialize_wechaty_puppet_MessageCallRecordRequest,
|
|
2541
2541
|
requestDeserialize: deserialize_wechaty_puppet_MessageCallRecordRequest,
|
|
2542
|
-
responseSerialize:
|
|
2543
|
-
responseDeserialize:
|
|
2542
|
+
responseSerialize: serialize_wechaty_puppet_MessageCallRecordResponse,
|
|
2543
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageCallRecordResponse,
|
|
2544
2544
|
},
|
|
2545
2545
|
messageRecall: {
|
|
2546
2546
|
path: '/wechaty.Puppet/MessageRecall',
|
|
@@ -375,7 +375,7 @@ type PuppetMessageCallRecord = {
|
|
|
375
375
|
readonly requestStream: false;
|
|
376
376
|
readonly responseStream: false;
|
|
377
377
|
readonly requestType: typeof wechaty_puppet_message_pb.MessageCallRecordRequest;
|
|
378
|
-
readonly responseType: typeof wechaty_puppet_message_pb.
|
|
378
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageCallRecordResponse;
|
|
379
379
|
};
|
|
380
380
|
|
|
381
381
|
type PuppetMessageRecall = {
|
|
@@ -1350,11 +1350,11 @@ export class PuppetClient {
|
|
|
1350
1350
|
messageCallRecord(
|
|
1351
1351
|
requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
1352
1352
|
metadata: grpc.Metadata,
|
|
1353
|
-
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.
|
|
1353
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageCallRecordResponse|null) => void
|
|
1354
1354
|
): UnaryResponse;
|
|
1355
1355
|
messageCallRecord(
|
|
1356
1356
|
requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
1357
|
-
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.
|
|
1357
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageCallRecordResponse|null) => void
|
|
1358
1358
|
): UnaryResponse;
|
|
1359
1359
|
messageRecall(
|
|
1360
1360
|
requestMessage: wechaty_puppet_message_pb.MessageRecallRequest,
|
|
@@ -381,7 +381,7 @@ Puppet.MessageCallRecord = {
|
|
|
381
381
|
requestStream: false,
|
|
382
382
|
responseStream: false,
|
|
383
383
|
requestType: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
384
|
-
responseType: wechaty_puppet_message_pb.
|
|
384
|
+
responseType: wechaty_puppet_message_pb.MessageCallRecordResponse
|
|
385
385
|
};
|
|
386
386
|
|
|
387
387
|
Puppet.MessageRecall = {
|
|
@@ -358,7 +358,7 @@ service Puppet {
|
|
|
358
358
|
get: "/message/{id}/channel"
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
rpc MessageCallRecord (puppet.MessageCallRecordRequest) returns (puppet.
|
|
361
|
+
rpc MessageCallRecord (puppet.MessageCallRecordRequest) returns (puppet.MessageCallRecordResponse) {
|
|
362
362
|
option (google.api.http) = {
|
|
363
363
|
get: "/message/{id}/call-record"
|
|
364
364
|
};
|
|
@@ -382,23 +382,23 @@ export namespace MessageCallRecordRequest {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
export class
|
|
385
|
+
export class MessageCallRecordResponse extends jspb.Message {
|
|
386
386
|
hasCallRecord(): boolean;
|
|
387
387
|
clearCallRecord(): void;
|
|
388
388
|
getCallRecord(): wechaty_puppet_call_pb.CallRecordPayload | undefined;
|
|
389
389
|
setCallRecord(value?: wechaty_puppet_call_pb.CallRecordPayload): void;
|
|
390
390
|
|
|
391
391
|
serializeBinary(): Uint8Array;
|
|
392
|
-
toObject(includeInstance?: boolean):
|
|
393
|
-
static toObject(includeInstance: boolean, msg:
|
|
392
|
+
toObject(includeInstance?: boolean): MessageCallRecordResponse.AsObject;
|
|
393
|
+
static toObject(includeInstance: boolean, msg: MessageCallRecordResponse): MessageCallRecordResponse.AsObject;
|
|
394
394
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
395
395
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
396
|
-
static serializeBinaryToWriter(message:
|
|
397
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
398
|
-
static deserializeBinaryFromReader(message:
|
|
396
|
+
static serializeBinaryToWriter(message: MessageCallRecordResponse, writer: jspb.BinaryWriter): void;
|
|
397
|
+
static deserializeBinary(bytes: Uint8Array): MessageCallRecordResponse;
|
|
398
|
+
static deserializeBinaryFromReader(message: MessageCallRecordResponse, reader: jspb.BinaryReader): MessageCallRecordResponse;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
export namespace
|
|
401
|
+
export namespace MessageCallRecordResponse {
|
|
402
402
|
export type AsObject = {
|
|
403
403
|
callRecord?: wechaty_puppet_call_pb.CallRecordPayload.AsObject,
|
|
404
404
|
}
|
|
@@ -43,7 +43,7 @@ goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastStatusResponse', null
|
|
|
43
43
|
goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetRequest', null, global);
|
|
44
44
|
goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetResponse', null, global);
|
|
45
45
|
goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordRequest', null, global);
|
|
46
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
46
|
+
goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.wechaty.puppet.MessageChannelRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.wechaty.puppet.MessageChannelResponse', null, global);
|
|
49
49
|
goog.exportSymbol('proto.wechaty.puppet.MessageContactRequest', null, global);
|
|
@@ -406,16 +406,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
406
406
|
* @extends {jspb.Message}
|
|
407
407
|
* @constructor
|
|
408
408
|
*/
|
|
409
|
-
proto.wechaty.puppet.
|
|
409
|
+
proto.wechaty.puppet.MessageCallRecordResponse = function(opt_data) {
|
|
410
410
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
411
411
|
};
|
|
412
|
-
goog.inherits(proto.wechaty.puppet.
|
|
412
|
+
goog.inherits(proto.wechaty.puppet.MessageCallRecordResponse, jspb.Message);
|
|
413
413
|
if (goog.DEBUG && !COMPILED) {
|
|
414
414
|
/**
|
|
415
415
|
* @public
|
|
416
416
|
* @override
|
|
417
417
|
*/
|
|
418
|
-
proto.wechaty.puppet.
|
|
418
|
+
proto.wechaty.puppet.MessageCallRecordResponse.displayName = 'proto.wechaty.puppet.MessageCallRecordResponse';
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* Generated by JsPbCodeGenerator.
|
|
@@ -3558,8 +3558,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3558
3558
|
* http://goto/soy-param-migration
|
|
3559
3559
|
* @return {!Object}
|
|
3560
3560
|
*/
|
|
3561
|
-
proto.wechaty.puppet.
|
|
3562
|
-
return proto.wechaty.puppet.
|
|
3561
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3562
|
+
return proto.wechaty.puppet.MessageCallRecordResponse.toObject(opt_includeInstance, this);
|
|
3563
3563
|
};
|
|
3564
3564
|
|
|
3565
3565
|
|
|
@@ -3568,11 +3568,11 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.toObject = function(op
|
|
|
3568
3568
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3569
3569
|
* the JSPB instance for transitional soy proto support:
|
|
3570
3570
|
* http://goto/soy-param-migration
|
|
3571
|
-
* @param {!proto.wechaty.puppet.
|
|
3571
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} msg The msg instance to transform.
|
|
3572
3572
|
* @return {!Object}
|
|
3573
3573
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3574
3574
|
*/
|
|
3575
|
-
proto.wechaty.puppet.
|
|
3575
|
+
proto.wechaty.puppet.MessageCallRecordResponse.toObject = function(includeInstance, msg) {
|
|
3576
3576
|
var f, obj = {
|
|
3577
3577
|
callRecord: (f = msg.getCallRecord()) && wechaty_puppet_call_pb.CallRecordPayload.toObject(includeInstance, f)
|
|
3578
3578
|
};
|
|
@@ -3588,23 +3588,23 @@ proto.wechaty.puppet.MessageCallRecordlResponse.toObject = function(includeInsta
|
|
|
3588
3588
|
/**
|
|
3589
3589
|
* Deserializes binary data (in protobuf wire format).
|
|
3590
3590
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3591
|
-
* @return {!proto.wechaty.puppet.
|
|
3591
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse}
|
|
3592
3592
|
*/
|
|
3593
|
-
proto.wechaty.puppet.
|
|
3593
|
+
proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinary = function(bytes) {
|
|
3594
3594
|
var reader = new jspb.BinaryReader(bytes);
|
|
3595
|
-
var msg = new proto.wechaty.puppet.
|
|
3596
|
-
return proto.wechaty.puppet.
|
|
3595
|
+
var msg = new proto.wechaty.puppet.MessageCallRecordResponse;
|
|
3596
|
+
return proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinaryFromReader(msg, reader);
|
|
3597
3597
|
};
|
|
3598
3598
|
|
|
3599
3599
|
|
|
3600
3600
|
/**
|
|
3601
3601
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3602
3602
|
* given reader into the given message object.
|
|
3603
|
-
* @param {!proto.wechaty.puppet.
|
|
3603
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} msg The message object to deserialize into.
|
|
3604
3604
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3605
|
-
* @return {!proto.wechaty.puppet.
|
|
3605
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse}
|
|
3606
3606
|
*/
|
|
3607
|
-
proto.wechaty.puppet.
|
|
3607
|
+
proto.wechaty.puppet.MessageCallRecordResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3608
3608
|
while (reader.nextField()) {
|
|
3609
3609
|
if (reader.isEndGroup()) {
|
|
3610
3610
|
break;
|
|
@@ -3629,9 +3629,9 @@ proto.wechaty.puppet.MessageCallRecordlResponse.deserializeBinaryFromReader = fu
|
|
|
3629
3629
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3630
3630
|
* @return {!Uint8Array}
|
|
3631
3631
|
*/
|
|
3632
|
-
proto.wechaty.puppet.
|
|
3632
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.serializeBinary = function() {
|
|
3633
3633
|
var writer = new jspb.BinaryWriter();
|
|
3634
|
-
proto.wechaty.puppet.
|
|
3634
|
+
proto.wechaty.puppet.MessageCallRecordResponse.serializeBinaryToWriter(this, writer);
|
|
3635
3635
|
return writer.getResultBuffer();
|
|
3636
3636
|
};
|
|
3637
3637
|
|
|
@@ -3639,11 +3639,11 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.serializeBinary = func
|
|
|
3639
3639
|
/**
|
|
3640
3640
|
* Serializes the given message to binary data (in protobuf wire
|
|
3641
3641
|
* format), writing to the given BinaryWriter.
|
|
3642
|
-
* @param {!proto.wechaty.puppet.
|
|
3642
|
+
* @param {!proto.wechaty.puppet.MessageCallRecordResponse} message
|
|
3643
3643
|
* @param {!jspb.BinaryWriter} writer
|
|
3644
3644
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3645
3645
|
*/
|
|
3646
|
-
proto.wechaty.puppet.
|
|
3646
|
+
proto.wechaty.puppet.MessageCallRecordResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3647
3647
|
var f = undefined;
|
|
3648
3648
|
f = message.getCallRecord();
|
|
3649
3649
|
if (f != null) {
|
|
@@ -3660,7 +3660,7 @@ proto.wechaty.puppet.MessageCallRecordlResponse.serializeBinaryToWriter = functi
|
|
|
3660
3660
|
* optional CallRecordPayload call_record = 1;
|
|
3661
3661
|
* @return {?proto.wechaty.puppet.CallRecordPayload}
|
|
3662
3662
|
*/
|
|
3663
|
-
proto.wechaty.puppet.
|
|
3663
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.getCallRecord = function() {
|
|
3664
3664
|
return /** @type{?proto.wechaty.puppet.CallRecordPayload} */ (
|
|
3665
3665
|
jspb.Message.getWrapperField(this, wechaty_puppet_call_pb.CallRecordPayload, 1));
|
|
3666
3666
|
};
|
|
@@ -3668,18 +3668,18 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.getCallRecord = functi
|
|
|
3668
3668
|
|
|
3669
3669
|
/**
|
|
3670
3670
|
* @param {?proto.wechaty.puppet.CallRecordPayload|undefined} value
|
|
3671
|
-
* @return {!proto.wechaty.puppet.
|
|
3671
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse} returns this
|
|
3672
3672
|
*/
|
|
3673
|
-
proto.wechaty.puppet.
|
|
3673
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.setCallRecord = function(value) {
|
|
3674
3674
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
3675
3675
|
};
|
|
3676
3676
|
|
|
3677
3677
|
|
|
3678
3678
|
/**
|
|
3679
3679
|
* Clears the message field making it undefined.
|
|
3680
|
-
* @return {!proto.wechaty.puppet.
|
|
3680
|
+
* @return {!proto.wechaty.puppet.MessageCallRecordResponse} returns this
|
|
3681
3681
|
*/
|
|
3682
|
-
proto.wechaty.puppet.
|
|
3682
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.clearCallRecord = function() {
|
|
3683
3683
|
return this.setCallRecord(undefined);
|
|
3684
3684
|
};
|
|
3685
3685
|
|
|
@@ -3688,7 +3688,7 @@ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.clearCallRecord = func
|
|
|
3688
3688
|
* Returns whether this field is set.
|
|
3689
3689
|
* @return {boolean}
|
|
3690
3690
|
*/
|
|
3691
|
-
proto.wechaty.puppet.
|
|
3691
|
+
proto.wechaty.puppet.MessageCallRecordResponse.prototype.hasCallRecord = function() {
|
|
3692
3692
|
return jspb.Message.getField(this, 1) != null;
|
|
3693
3693
|
};
|
|
3694
3694
|
|
|
@@ -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.66
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -1121,7 +1121,7 @@ paths:
|
|
|
1121
1121
|
'200':
|
|
1122
1122
|
description: A successful response.
|
|
1123
1123
|
schema:
|
|
1124
|
-
$ref: '#/definitions/
|
|
1124
|
+
$ref: '#/definitions/puppetMessageCallRecordResponse'
|
|
1125
1125
|
default:
|
|
1126
1126
|
description: An unexpected error response.
|
|
1127
1127
|
schema:
|
|
@@ -2995,7 +2995,7 @@ definitions:
|
|
|
2995
2995
|
title: 地址名,例如xx大厦
|
|
2996
2996
|
puppetLogoutResponse:
|
|
2997
2997
|
type: object
|
|
2998
|
-
|
|
2998
|
+
puppetMessageCallRecordResponse:
|
|
2999
2999
|
type: object
|
|
3000
3000
|
properties:
|
|
3001
3001
|
callRecord:
|
|
@@ -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.66",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -1639,7 +1639,7 @@
|
|
|
1639
1639
|
"200": {
|
|
1640
1640
|
"description": "A successful response.",
|
|
1641
1641
|
"schema": {
|
|
1642
|
-
"$ref": "#/definitions/
|
|
1642
|
+
"$ref": "#/definitions/puppetMessageCallRecordResponse"
|
|
1643
1643
|
}
|
|
1644
1644
|
},
|
|
1645
1645
|
"default": {
|
|
@@ -4329,7 +4329,7 @@
|
|
|
4329
4329
|
"puppetLogoutResponse": {
|
|
4330
4330
|
"type": "object"
|
|
4331
4331
|
},
|
|
4332
|
-
"
|
|
4332
|
+
"puppetMessageCallRecordResponse": {
|
|
4333
4333
|
"type": "object",
|
|
4334
4334
|
"properties": {
|
|
4335
4335
|
"callRecord": {
|
|
@@ -471,14 +471,14 @@ interface IPuppetService_IMessageChannel extends grpc.MethodDefinition<wechaty_p
|
|
|
471
471
|
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
472
472
|
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
473
473
|
}
|
|
474
|
-
interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.
|
|
474
|
+
interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse> {
|
|
475
475
|
path: "/wechaty.Puppet/MessageCallRecord";
|
|
476
476
|
requestStream: false;
|
|
477
477
|
responseStream: false;
|
|
478
478
|
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageCallRecordRequest>;
|
|
479
479
|
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageCallRecordRequest>;
|
|
480
|
-
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.
|
|
481
|
-
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.
|
|
480
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
481
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
482
482
|
}
|
|
483
483
|
interface IPuppetService_IMessageRecall extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse> {
|
|
484
484
|
path: "/wechaty.Puppet/MessageRecall";
|
|
@@ -1018,7 +1018,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1018
1018
|
messageMiniProgram: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageMiniProgramRequest, wechaty_puppet_message_pb.MessageMiniProgramResponse>;
|
|
1019
1019
|
messageUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageUrlRequest, wechaty_puppet_message_pb.MessageUrlResponse>;
|
|
1020
1020
|
messageChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChannelRequest, wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
1021
|
-
messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.
|
|
1021
|
+
messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
1022
1022
|
messageRecall: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse>;
|
|
1023
1023
|
messageForward: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageForwardRequest, wechaty_puppet_message_pb.MessageForwardResponse>;
|
|
1024
1024
|
messageLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageLocationRequest, wechaty_puppet_message_pb.MessageLocationResponse>;
|
|
@@ -1193,9 +1193,9 @@ export interface IPuppetClient {
|
|
|
1193
1193
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1194
1194
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1195
1195
|
messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1196
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1197
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1198
|
-
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1196
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1197
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1198
|
+
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1199
1199
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1200
1200
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1201
1201
|
messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1481,9 +1481,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1481
1481
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1482
1482
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1483
1483
|
public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1484
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1485
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1486
|
-
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.
|
|
1484
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1485
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1486
|
+
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1487
1487
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1488
1488
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
1489
1489
|
public messageRecall(request: wechaty_puppet_message_pb.MessageRecallRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageRecallResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -702,15 +702,15 @@ function deserialize_wechaty_puppet_MessageCallRecordRequest(buffer_arg) {
|
|
|
702
702
|
return wechaty_puppet_message_pb.MessageCallRecordRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
function
|
|
706
|
-
if (!(arg instanceof wechaty_puppet_message_pb.
|
|
707
|
-
throw new Error('Expected argument of type wechaty.puppet.
|
|
705
|
+
function serialize_wechaty_puppet_MessageCallRecordResponse(arg) {
|
|
706
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageCallRecordResponse)) {
|
|
707
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageCallRecordResponse');
|
|
708
708
|
}
|
|
709
709
|
return Buffer.from(arg.serializeBinary());
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
function
|
|
713
|
-
return wechaty_puppet_message_pb.
|
|
712
|
+
function deserialize_wechaty_puppet_MessageCallRecordResponse(buffer_arg) {
|
|
713
|
+
return wechaty_puppet_message_pb.MessageCallRecordResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
function serialize_wechaty_puppet_MessageChannelRequest(arg) {
|
|
@@ -2536,11 +2536,11 @@ messageFile: {
|
|
|
2536
2536
|
requestStream: false,
|
|
2537
2537
|
responseStream: false,
|
|
2538
2538
|
requestType: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
2539
|
-
responseType: wechaty_puppet_message_pb.
|
|
2539
|
+
responseType: wechaty_puppet_message_pb.MessageCallRecordResponse,
|
|
2540
2540
|
requestSerialize: serialize_wechaty_puppet_MessageCallRecordRequest,
|
|
2541
2541
|
requestDeserialize: deserialize_wechaty_puppet_MessageCallRecordRequest,
|
|
2542
|
-
responseSerialize:
|
|
2543
|
-
responseDeserialize:
|
|
2542
|
+
responseSerialize: serialize_wechaty_puppet_MessageCallRecordResponse,
|
|
2543
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageCallRecordResponse,
|
|
2544
2544
|
},
|
|
2545
2545
|
messageRecall: {
|
|
2546
2546
|
path: '/wechaty.Puppet/MessageRecall',
|
|
@@ -375,7 +375,7 @@ type PuppetMessageCallRecord = {
|
|
|
375
375
|
readonly requestStream: false;
|
|
376
376
|
readonly responseStream: false;
|
|
377
377
|
readonly requestType: typeof wechaty_puppet_message_pb.MessageCallRecordRequest;
|
|
378
|
-
readonly responseType: typeof wechaty_puppet_message_pb.
|
|
378
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageCallRecordResponse;
|
|
379
379
|
};
|
|
380
380
|
|
|
381
381
|
type PuppetMessageRecall = {
|
|
@@ -1350,11 +1350,11 @@ export class PuppetClient {
|
|
|
1350
1350
|
messageCallRecord(
|
|
1351
1351
|
requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
1352
1352
|
metadata: grpc.Metadata,
|
|
1353
|
-
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.
|
|
1353
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageCallRecordResponse|null) => void
|
|
1354
1354
|
): UnaryResponse;
|
|
1355
1355
|
messageCallRecord(
|
|
1356
1356
|
requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
1357
|
-
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.
|
|
1357
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageCallRecordResponse|null) => void
|
|
1358
1358
|
): UnaryResponse;
|
|
1359
1359
|
messageRecall(
|
|
1360
1360
|
requestMessage: wechaty_puppet_message_pb.MessageRecallRequest,
|
|
@@ -381,7 +381,7 @@ Puppet.MessageCallRecord = {
|
|
|
381
381
|
requestStream: false,
|
|
382
382
|
responseStream: false,
|
|
383
383
|
requestType: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
384
|
-
responseType: wechaty_puppet_message_pb.
|
|
384
|
+
responseType: wechaty_puppet_message_pb.MessageCallRecordResponse
|
|
385
385
|
};
|
|
386
386
|
|
|
387
387
|
Puppet.MessageRecall = {
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED