@juzi/wechaty-grpc 1.0.101 → 1.0.102
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/base_pb.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/cjs/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/cjs/out/wechaty/puppet/call_pb.js +2869 -79
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +324 -2
- package/dist/cjs/out/wechaty/puppet.swagger.json +469 -10
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +137 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +266 -0
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +153 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +321 -0
- package/dist/cjs/proto/wechaty/puppet/base.proto +4 -0
- package/dist/cjs/proto/wechaty/puppet/call.proto +101 -1
- package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet.proto +49 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +40 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/esm/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/esm/out/wechaty/puppet/call_pb.js +2869 -79
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +324 -2
- package/dist/esm/out/wechaty/puppet.swagger.json +469 -10
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +137 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +266 -0
- package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet_pb.js +2 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +153 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +321 -0
- package/dist/esm/proto/wechaty/puppet/base.proto +4 -0
- package/dist/esm/proto/wechaty/puppet/call.proto +101 -1
- package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
- package/dist/esm/proto/wechaty/puppet.proto +49 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +40 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/out/wechaty/puppet/base_pb.js +4 -1
- package/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/out/wechaty/puppet/call_pb.js +2869 -79
- package/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet.openapi.yaml +324 -2
- package/out/wechaty/puppet.swagger.json +469 -10
- package/out/wechaty/puppet_grpc_pb.d.ts +137 -0
- package/out/wechaty/puppet_grpc_pb.js +266 -0
- package/out/wechaty/puppet_pb.d.ts +1 -0
- package/out/wechaty/puppet_pb.js +2 -0
- package/out/wechaty/puppet_pb_service.d.ts +153 -0
- package/out/wechaty/puppet_pb_service.js +321 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -8,6 +8,7 @@ import * as grpc from "@grpc/grpc-js";
|
|
|
8
8
|
import * as wechaty_puppet_pb from "../wechaty/puppet_pb";
|
|
9
9
|
import * as protoc_gen_openapiv2_options_annotations_pb from "../protoc-gen-openapiv2/options/annotations_pb";
|
|
10
10
|
import * as wechaty_puppet_base_pb from "../wechaty/puppet/base_pb";
|
|
11
|
+
import * as wechaty_puppet_call_pb from "../wechaty/puppet/call_pb";
|
|
11
12
|
import * as wechaty_puppet_contact_pb from "../wechaty/puppet/contact_pb";
|
|
12
13
|
import * as wechaty_puppet_download_upload_pb from "../wechaty/puppet/download-upload_pb";
|
|
13
14
|
import * as wechaty_puppet_event_pb from "../wechaty/puppet/event_pb";
|
|
@@ -68,6 +69,14 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
68
69
|
messageChannel: IPuppetService_IMessageChannel;
|
|
69
70
|
messageChannelCard: IPuppetService_IMessageChannelCard;
|
|
70
71
|
messageCallRecord: IPuppetService_IMessageCallRecord;
|
|
72
|
+
callInvite: IPuppetService_ICallInvite;
|
|
73
|
+
callAdd: IPuppetService_ICallAdd;
|
|
74
|
+
callAccept: IPuppetService_ICallAccept;
|
|
75
|
+
callReject: IPuppetService_ICallReject;
|
|
76
|
+
callCancel: IPuppetService_ICallCancel;
|
|
77
|
+
callHangup: IPuppetService_ICallHangup;
|
|
78
|
+
callMediaEndpoint: IPuppetService_ICallMediaEndpoint;
|
|
79
|
+
callPayload: IPuppetService_ICallPayload;
|
|
71
80
|
messageChatHistory: IPuppetService_IMessageChatHistory;
|
|
72
81
|
messageRecall: IPuppetService_IMessageRecall;
|
|
73
82
|
messageForward: IPuppetService_IMessageForward;
|
|
@@ -545,6 +554,78 @@ interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechat
|
|
|
545
554
|
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
546
555
|
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
547
556
|
}
|
|
557
|
+
interface IPuppetService_ICallInvite extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallInviteRequest, wechaty_puppet_call_pb.CallInviteResponse> {
|
|
558
|
+
path: "/wechaty.Puppet/CallInvite";
|
|
559
|
+
requestStream: false;
|
|
560
|
+
responseStream: false;
|
|
561
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallInviteRequest>;
|
|
562
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallInviteRequest>;
|
|
563
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallInviteResponse>;
|
|
564
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallInviteResponse>;
|
|
565
|
+
}
|
|
566
|
+
interface IPuppetService_ICallAdd extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallAddRequest, wechaty_puppet_call_pb.CallAddResponse> {
|
|
567
|
+
path: "/wechaty.Puppet/CallAdd";
|
|
568
|
+
requestStream: false;
|
|
569
|
+
responseStream: false;
|
|
570
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallAddRequest>;
|
|
571
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallAddRequest>;
|
|
572
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallAddResponse>;
|
|
573
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallAddResponse>;
|
|
574
|
+
}
|
|
575
|
+
interface IPuppetService_ICallAccept extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallAcceptRequest, wechaty_puppet_call_pb.CallAcceptResponse> {
|
|
576
|
+
path: "/wechaty.Puppet/CallAccept";
|
|
577
|
+
requestStream: false;
|
|
578
|
+
responseStream: false;
|
|
579
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallAcceptRequest>;
|
|
580
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallAcceptRequest>;
|
|
581
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallAcceptResponse>;
|
|
582
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallAcceptResponse>;
|
|
583
|
+
}
|
|
584
|
+
interface IPuppetService_ICallReject extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallRejectRequest, wechaty_puppet_call_pb.CallRejectResponse> {
|
|
585
|
+
path: "/wechaty.Puppet/CallReject";
|
|
586
|
+
requestStream: false;
|
|
587
|
+
responseStream: false;
|
|
588
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallRejectRequest>;
|
|
589
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallRejectRequest>;
|
|
590
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallRejectResponse>;
|
|
591
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallRejectResponse>;
|
|
592
|
+
}
|
|
593
|
+
interface IPuppetService_ICallCancel extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallCancelRequest, wechaty_puppet_call_pb.CallCancelResponse> {
|
|
594
|
+
path: "/wechaty.Puppet/CallCancel";
|
|
595
|
+
requestStream: false;
|
|
596
|
+
responseStream: false;
|
|
597
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallCancelRequest>;
|
|
598
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallCancelRequest>;
|
|
599
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallCancelResponse>;
|
|
600
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallCancelResponse>;
|
|
601
|
+
}
|
|
602
|
+
interface IPuppetService_ICallHangup extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallHangupRequest, wechaty_puppet_call_pb.CallHangupResponse> {
|
|
603
|
+
path: "/wechaty.Puppet/CallHangup";
|
|
604
|
+
requestStream: false;
|
|
605
|
+
responseStream: false;
|
|
606
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallHangupRequest>;
|
|
607
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallHangupRequest>;
|
|
608
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallHangupResponse>;
|
|
609
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallHangupResponse>;
|
|
610
|
+
}
|
|
611
|
+
interface IPuppetService_ICallMediaEndpoint extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallMediaEndpointRequest, wechaty_puppet_call_pb.CallMediaEndpointResponse> {
|
|
612
|
+
path: "/wechaty.Puppet/CallMediaEndpoint";
|
|
613
|
+
requestStream: false;
|
|
614
|
+
responseStream: false;
|
|
615
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallMediaEndpointRequest>;
|
|
616
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallMediaEndpointRequest>;
|
|
617
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallMediaEndpointResponse>;
|
|
618
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallMediaEndpointResponse>;
|
|
619
|
+
}
|
|
620
|
+
interface IPuppetService_ICallPayload extends grpc.MethodDefinition<wechaty_puppet_call_pb.CallPayloadRequest, wechaty_puppet_call_pb.CallPayloadResponse> {
|
|
621
|
+
path: "/wechaty.Puppet/CallPayload";
|
|
622
|
+
requestStream: false;
|
|
623
|
+
responseStream: false;
|
|
624
|
+
requestSerialize: grpc.serialize<wechaty_puppet_call_pb.CallPayloadRequest>;
|
|
625
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallPayloadRequest>;
|
|
626
|
+
responseSerialize: grpc.serialize<wechaty_puppet_call_pb.CallPayloadResponse>;
|
|
627
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_call_pb.CallPayloadResponse>;
|
|
628
|
+
}
|
|
548
629
|
interface IPuppetService_IMessageChatHistory extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageChatHistoryRequest, wechaty_puppet_message_pb.MessageChatHistoryResponse> {
|
|
549
630
|
path: "/wechaty.Puppet/MessageChatHistory";
|
|
550
631
|
requestStream: false;
|
|
@@ -1304,6 +1385,14 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1304
1385
|
messageChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChannelRequest, wechaty_puppet_message_pb.MessageChannelResponse>;
|
|
1305
1386
|
messageChannelCard: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChannelCardRequest, wechaty_puppet_message_pb.MessageChannelCardResponse>;
|
|
1306
1387
|
messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse>;
|
|
1388
|
+
callInvite: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallInviteRequest, wechaty_puppet_call_pb.CallInviteResponse>;
|
|
1389
|
+
callAdd: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallAddRequest, wechaty_puppet_call_pb.CallAddResponse>;
|
|
1390
|
+
callAccept: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallAcceptRequest, wechaty_puppet_call_pb.CallAcceptResponse>;
|
|
1391
|
+
callReject: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallRejectRequest, wechaty_puppet_call_pb.CallRejectResponse>;
|
|
1392
|
+
callCancel: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallCancelRequest, wechaty_puppet_call_pb.CallCancelResponse>;
|
|
1393
|
+
callHangup: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallHangupRequest, wechaty_puppet_call_pb.CallHangupResponse>;
|
|
1394
|
+
callMediaEndpoint: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallMediaEndpointRequest, wechaty_puppet_call_pb.CallMediaEndpointResponse>;
|
|
1395
|
+
callPayload: grpc.handleUnaryCall<wechaty_puppet_call_pb.CallPayloadRequest, wechaty_puppet_call_pb.CallPayloadResponse>;
|
|
1307
1396
|
messageChatHistory: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChatHistoryRequest, wechaty_puppet_message_pb.MessageChatHistoryResponse>;
|
|
1308
1397
|
messageRecall: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse>;
|
|
1309
1398
|
messageForward: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageForwardRequest, wechaty_puppet_message_pb.MessageForwardResponse>;
|
|
@@ -1517,6 +1606,30 @@ export interface IPuppetClient {
|
|
|
1517
1606
|
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1518
1607
|
messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1519
1608
|
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;
|
|
1609
|
+
callInvite(request: wechaty_puppet_call_pb.CallInviteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallInviteResponse) => void): grpc.ClientUnaryCall;
|
|
1610
|
+
callInvite(request: wechaty_puppet_call_pb.CallInviteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallInviteResponse) => void): grpc.ClientUnaryCall;
|
|
1611
|
+
callInvite(request: wechaty_puppet_call_pb.CallInviteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallInviteResponse) => void): grpc.ClientUnaryCall;
|
|
1612
|
+
callAdd(request: wechaty_puppet_call_pb.CallAddRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAddResponse) => void): grpc.ClientUnaryCall;
|
|
1613
|
+
callAdd(request: wechaty_puppet_call_pb.CallAddRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAddResponse) => void): grpc.ClientUnaryCall;
|
|
1614
|
+
callAdd(request: wechaty_puppet_call_pb.CallAddRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAddResponse) => void): grpc.ClientUnaryCall;
|
|
1615
|
+
callAccept(request: wechaty_puppet_call_pb.CallAcceptRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAcceptResponse) => void): grpc.ClientUnaryCall;
|
|
1616
|
+
callAccept(request: wechaty_puppet_call_pb.CallAcceptRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAcceptResponse) => void): grpc.ClientUnaryCall;
|
|
1617
|
+
callAccept(request: wechaty_puppet_call_pb.CallAcceptRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAcceptResponse) => void): grpc.ClientUnaryCall;
|
|
1618
|
+
callReject(request: wechaty_puppet_call_pb.CallRejectRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallRejectResponse) => void): grpc.ClientUnaryCall;
|
|
1619
|
+
callReject(request: wechaty_puppet_call_pb.CallRejectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallRejectResponse) => void): grpc.ClientUnaryCall;
|
|
1620
|
+
callReject(request: wechaty_puppet_call_pb.CallRejectRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallRejectResponse) => void): grpc.ClientUnaryCall;
|
|
1621
|
+
callCancel(request: wechaty_puppet_call_pb.CallCancelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallCancelResponse) => void): grpc.ClientUnaryCall;
|
|
1622
|
+
callCancel(request: wechaty_puppet_call_pb.CallCancelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallCancelResponse) => void): grpc.ClientUnaryCall;
|
|
1623
|
+
callCancel(request: wechaty_puppet_call_pb.CallCancelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallCancelResponse) => void): grpc.ClientUnaryCall;
|
|
1624
|
+
callHangup(request: wechaty_puppet_call_pb.CallHangupRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallHangupResponse) => void): grpc.ClientUnaryCall;
|
|
1625
|
+
callHangup(request: wechaty_puppet_call_pb.CallHangupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallHangupResponse) => void): grpc.ClientUnaryCall;
|
|
1626
|
+
callHangup(request: wechaty_puppet_call_pb.CallHangupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallHangupResponse) => void): grpc.ClientUnaryCall;
|
|
1627
|
+
callMediaEndpoint(request: wechaty_puppet_call_pb.CallMediaEndpointRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallMediaEndpointResponse) => void): grpc.ClientUnaryCall;
|
|
1628
|
+
callMediaEndpoint(request: wechaty_puppet_call_pb.CallMediaEndpointRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallMediaEndpointResponse) => void): grpc.ClientUnaryCall;
|
|
1629
|
+
callMediaEndpoint(request: wechaty_puppet_call_pb.CallMediaEndpointRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallMediaEndpointResponse) => void): grpc.ClientUnaryCall;
|
|
1630
|
+
callPayload(request: wechaty_puppet_call_pb.CallPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1631
|
+
callPayload(request: wechaty_puppet_call_pb.CallPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1632
|
+
callPayload(request: wechaty_puppet_call_pb.CallPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1520
1633
|
messageChatHistory(request: wechaty_puppet_message_pb.MessageChatHistoryRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChatHistoryResponse) => void): grpc.ClientUnaryCall;
|
|
1521
1634
|
messageChatHistory(request: wechaty_puppet_message_pb.MessageChatHistoryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChatHistoryResponse) => void): grpc.ClientUnaryCall;
|
|
1522
1635
|
messageChatHistory(request: wechaty_puppet_message_pb.MessageChatHistoryRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChatHistoryResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1889,6 +2002,30 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1889
2002
|
public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
|
|
1890
2003
|
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;
|
|
1891
2004
|
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;
|
|
2005
|
+
public callInvite(request: wechaty_puppet_call_pb.CallInviteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallInviteResponse) => void): grpc.ClientUnaryCall;
|
|
2006
|
+
public callInvite(request: wechaty_puppet_call_pb.CallInviteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallInviteResponse) => void): grpc.ClientUnaryCall;
|
|
2007
|
+
public callInvite(request: wechaty_puppet_call_pb.CallInviteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallInviteResponse) => void): grpc.ClientUnaryCall;
|
|
2008
|
+
public callAdd(request: wechaty_puppet_call_pb.CallAddRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAddResponse) => void): grpc.ClientUnaryCall;
|
|
2009
|
+
public callAdd(request: wechaty_puppet_call_pb.CallAddRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAddResponse) => void): grpc.ClientUnaryCall;
|
|
2010
|
+
public callAdd(request: wechaty_puppet_call_pb.CallAddRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAddResponse) => void): grpc.ClientUnaryCall;
|
|
2011
|
+
public callAccept(request: wechaty_puppet_call_pb.CallAcceptRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAcceptResponse) => void): grpc.ClientUnaryCall;
|
|
2012
|
+
public callAccept(request: wechaty_puppet_call_pb.CallAcceptRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAcceptResponse) => void): grpc.ClientUnaryCall;
|
|
2013
|
+
public callAccept(request: wechaty_puppet_call_pb.CallAcceptRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallAcceptResponse) => void): grpc.ClientUnaryCall;
|
|
2014
|
+
public callReject(request: wechaty_puppet_call_pb.CallRejectRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallRejectResponse) => void): grpc.ClientUnaryCall;
|
|
2015
|
+
public callReject(request: wechaty_puppet_call_pb.CallRejectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallRejectResponse) => void): grpc.ClientUnaryCall;
|
|
2016
|
+
public callReject(request: wechaty_puppet_call_pb.CallRejectRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallRejectResponse) => void): grpc.ClientUnaryCall;
|
|
2017
|
+
public callCancel(request: wechaty_puppet_call_pb.CallCancelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallCancelResponse) => void): grpc.ClientUnaryCall;
|
|
2018
|
+
public callCancel(request: wechaty_puppet_call_pb.CallCancelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallCancelResponse) => void): grpc.ClientUnaryCall;
|
|
2019
|
+
public callCancel(request: wechaty_puppet_call_pb.CallCancelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallCancelResponse) => void): grpc.ClientUnaryCall;
|
|
2020
|
+
public callHangup(request: wechaty_puppet_call_pb.CallHangupRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallHangupResponse) => void): grpc.ClientUnaryCall;
|
|
2021
|
+
public callHangup(request: wechaty_puppet_call_pb.CallHangupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallHangupResponse) => void): grpc.ClientUnaryCall;
|
|
2022
|
+
public callHangup(request: wechaty_puppet_call_pb.CallHangupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallHangupResponse) => void): grpc.ClientUnaryCall;
|
|
2023
|
+
public callMediaEndpoint(request: wechaty_puppet_call_pb.CallMediaEndpointRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallMediaEndpointResponse) => void): grpc.ClientUnaryCall;
|
|
2024
|
+
public callMediaEndpoint(request: wechaty_puppet_call_pb.CallMediaEndpointRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallMediaEndpointResponse) => void): grpc.ClientUnaryCall;
|
|
2025
|
+
public callMediaEndpoint(request: wechaty_puppet_call_pb.CallMediaEndpointRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallMediaEndpointResponse) => void): grpc.ClientUnaryCall;
|
|
2026
|
+
public callPayload(request: wechaty_puppet_call_pb.CallPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
2027
|
+
public callPayload(request: wechaty_puppet_call_pb.CallPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
2028
|
+
public callPayload(request: wechaty_puppet_call_pb.CallPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_call_pb.CallPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1892
2029
|
public messageChatHistory(request: wechaty_puppet_message_pb.MessageChatHistoryRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChatHistoryResponse) => void): grpc.ClientUnaryCall;
|
|
1893
2030
|
public messageChatHistory(request: wechaty_puppet_message_pb.MessageChatHistoryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChatHistoryResponse) => void): grpc.ClientUnaryCall;
|
|
1894
2031
|
public messageChatHistory(request: wechaty_puppet_message_pb.MessageChatHistoryRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChatHistoryResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -17,6 +17,7 @@ var grpc = require('@grpc/grpc-js');
|
|
|
17
17
|
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
|
18
18
|
var protoc$gen$openapiv2_options_annotations_pb = require('../protoc-gen-openapiv2/options/annotations_pb.js');
|
|
19
19
|
var wechaty_puppet_base_pb = require('../wechaty/puppet/base_pb.js');
|
|
20
|
+
var wechaty_puppet_call_pb = require('../wechaty/puppet/call_pb.js');
|
|
20
21
|
var wechaty_puppet_contact_pb = require('../wechaty/puppet/contact_pb.js');
|
|
21
22
|
var wechaty_puppet_download$upload_pb = require('../wechaty/puppet/download-upload_pb.js');
|
|
22
23
|
var wechaty_puppet_event_pb = require('../wechaty/puppet/event_pb.js');
|
|
@@ -98,6 +99,182 @@ function deserialize_wechaty_puppet_BatchRoomMemberPayloadResponse(buffer_arg) {
|
|
|
98
99
|
return wechaty_puppet_room$member_pb.BatchRoomMemberPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
99
100
|
}
|
|
100
101
|
|
|
102
|
+
function serialize_wechaty_puppet_CallAcceptRequest(arg) {
|
|
103
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallAcceptRequest)) {
|
|
104
|
+
throw new Error('Expected argument of type wechaty.puppet.CallAcceptRequest');
|
|
105
|
+
}
|
|
106
|
+
return Buffer.from(arg.serializeBinary());
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function deserialize_wechaty_puppet_CallAcceptRequest(buffer_arg) {
|
|
110
|
+
return wechaty_puppet_call_pb.CallAcceptRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function serialize_wechaty_puppet_CallAcceptResponse(arg) {
|
|
114
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallAcceptResponse)) {
|
|
115
|
+
throw new Error('Expected argument of type wechaty.puppet.CallAcceptResponse');
|
|
116
|
+
}
|
|
117
|
+
return Buffer.from(arg.serializeBinary());
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function deserialize_wechaty_puppet_CallAcceptResponse(buffer_arg) {
|
|
121
|
+
return wechaty_puppet_call_pb.CallAcceptResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function serialize_wechaty_puppet_CallAddRequest(arg) {
|
|
125
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallAddRequest)) {
|
|
126
|
+
throw new Error('Expected argument of type wechaty.puppet.CallAddRequest');
|
|
127
|
+
}
|
|
128
|
+
return Buffer.from(arg.serializeBinary());
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
function deserialize_wechaty_puppet_CallAddRequest(buffer_arg) {
|
|
132
|
+
return wechaty_puppet_call_pb.CallAddRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function serialize_wechaty_puppet_CallAddResponse(arg) {
|
|
136
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallAddResponse)) {
|
|
137
|
+
throw new Error('Expected argument of type wechaty.puppet.CallAddResponse');
|
|
138
|
+
}
|
|
139
|
+
return Buffer.from(arg.serializeBinary());
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function deserialize_wechaty_puppet_CallAddResponse(buffer_arg) {
|
|
143
|
+
return wechaty_puppet_call_pb.CallAddResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
function serialize_wechaty_puppet_CallCancelRequest(arg) {
|
|
147
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallCancelRequest)) {
|
|
148
|
+
throw new Error('Expected argument of type wechaty.puppet.CallCancelRequest');
|
|
149
|
+
}
|
|
150
|
+
return Buffer.from(arg.serializeBinary());
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function deserialize_wechaty_puppet_CallCancelRequest(buffer_arg) {
|
|
154
|
+
return wechaty_puppet_call_pb.CallCancelRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function serialize_wechaty_puppet_CallCancelResponse(arg) {
|
|
158
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallCancelResponse)) {
|
|
159
|
+
throw new Error('Expected argument of type wechaty.puppet.CallCancelResponse');
|
|
160
|
+
}
|
|
161
|
+
return Buffer.from(arg.serializeBinary());
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
function deserialize_wechaty_puppet_CallCancelResponse(buffer_arg) {
|
|
165
|
+
return wechaty_puppet_call_pb.CallCancelResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
function serialize_wechaty_puppet_CallHangupRequest(arg) {
|
|
169
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallHangupRequest)) {
|
|
170
|
+
throw new Error('Expected argument of type wechaty.puppet.CallHangupRequest');
|
|
171
|
+
}
|
|
172
|
+
return Buffer.from(arg.serializeBinary());
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
function deserialize_wechaty_puppet_CallHangupRequest(buffer_arg) {
|
|
176
|
+
return wechaty_puppet_call_pb.CallHangupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function serialize_wechaty_puppet_CallHangupResponse(arg) {
|
|
180
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallHangupResponse)) {
|
|
181
|
+
throw new Error('Expected argument of type wechaty.puppet.CallHangupResponse');
|
|
182
|
+
}
|
|
183
|
+
return Buffer.from(arg.serializeBinary());
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
function deserialize_wechaty_puppet_CallHangupResponse(buffer_arg) {
|
|
187
|
+
return wechaty_puppet_call_pb.CallHangupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function serialize_wechaty_puppet_CallInviteRequest(arg) {
|
|
191
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallInviteRequest)) {
|
|
192
|
+
throw new Error('Expected argument of type wechaty.puppet.CallInviteRequest');
|
|
193
|
+
}
|
|
194
|
+
return Buffer.from(arg.serializeBinary());
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function deserialize_wechaty_puppet_CallInviteRequest(buffer_arg) {
|
|
198
|
+
return wechaty_puppet_call_pb.CallInviteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function serialize_wechaty_puppet_CallInviteResponse(arg) {
|
|
202
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallInviteResponse)) {
|
|
203
|
+
throw new Error('Expected argument of type wechaty.puppet.CallInviteResponse');
|
|
204
|
+
}
|
|
205
|
+
return Buffer.from(arg.serializeBinary());
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
function deserialize_wechaty_puppet_CallInviteResponse(buffer_arg) {
|
|
209
|
+
return wechaty_puppet_call_pb.CallInviteResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function serialize_wechaty_puppet_CallMediaEndpointRequest(arg) {
|
|
213
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallMediaEndpointRequest)) {
|
|
214
|
+
throw new Error('Expected argument of type wechaty.puppet.CallMediaEndpointRequest');
|
|
215
|
+
}
|
|
216
|
+
return Buffer.from(arg.serializeBinary());
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
function deserialize_wechaty_puppet_CallMediaEndpointRequest(buffer_arg) {
|
|
220
|
+
return wechaty_puppet_call_pb.CallMediaEndpointRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
function serialize_wechaty_puppet_CallMediaEndpointResponse(arg) {
|
|
224
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallMediaEndpointResponse)) {
|
|
225
|
+
throw new Error('Expected argument of type wechaty.puppet.CallMediaEndpointResponse');
|
|
226
|
+
}
|
|
227
|
+
return Buffer.from(arg.serializeBinary());
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function deserialize_wechaty_puppet_CallMediaEndpointResponse(buffer_arg) {
|
|
231
|
+
return wechaty_puppet_call_pb.CallMediaEndpointResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function serialize_wechaty_puppet_CallPayloadRequest(arg) {
|
|
235
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallPayloadRequest)) {
|
|
236
|
+
throw new Error('Expected argument of type wechaty.puppet.CallPayloadRequest');
|
|
237
|
+
}
|
|
238
|
+
return Buffer.from(arg.serializeBinary());
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
function deserialize_wechaty_puppet_CallPayloadRequest(buffer_arg) {
|
|
242
|
+
return wechaty_puppet_call_pb.CallPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function serialize_wechaty_puppet_CallPayloadResponse(arg) {
|
|
246
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallPayloadResponse)) {
|
|
247
|
+
throw new Error('Expected argument of type wechaty.puppet.CallPayloadResponse');
|
|
248
|
+
}
|
|
249
|
+
return Buffer.from(arg.serializeBinary());
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
function deserialize_wechaty_puppet_CallPayloadResponse(buffer_arg) {
|
|
253
|
+
return wechaty_puppet_call_pb.CallPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
function serialize_wechaty_puppet_CallRejectRequest(arg) {
|
|
257
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallRejectRequest)) {
|
|
258
|
+
throw new Error('Expected argument of type wechaty.puppet.CallRejectRequest');
|
|
259
|
+
}
|
|
260
|
+
return Buffer.from(arg.serializeBinary());
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
function deserialize_wechaty_puppet_CallRejectRequest(buffer_arg) {
|
|
264
|
+
return wechaty_puppet_call_pb.CallRejectRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
function serialize_wechaty_puppet_CallRejectResponse(arg) {
|
|
268
|
+
if (!(arg instanceof wechaty_puppet_call_pb.CallRejectResponse)) {
|
|
269
|
+
throw new Error('Expected argument of type wechaty.puppet.CallRejectResponse');
|
|
270
|
+
}
|
|
271
|
+
return Buffer.from(arg.serializeBinary());
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
function deserialize_wechaty_puppet_CallRejectResponse(buffer_arg) {
|
|
275
|
+
return wechaty_puppet_call_pb.CallRejectResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
276
|
+
}
|
|
277
|
+
|
|
101
278
|
function serialize_wechaty_puppet_CancelVerifyCodeRequest(arg) {
|
|
102
279
|
if (!(arg instanceof wechaty_puppet_verify$code_pb.CancelVerifyCodeRequest)) {
|
|
103
280
|
throw new Error('Expected argument of type wechaty.puppet.CancelVerifyCodeRequest');
|
|
@@ -3203,6 +3380,95 @@ messageFile: {
|
|
|
3203
3380
|
responseSerialize: serialize_wechaty_puppet_MessageCallRecordResponse,
|
|
3204
3381
|
responseDeserialize: deserialize_wechaty_puppet_MessageCallRecordResponse,
|
|
3205
3382
|
},
|
|
3383
|
+
callInvite: {
|
|
3384
|
+
path: '/wechaty.Puppet/CallInvite',
|
|
3385
|
+
requestStream: false,
|
|
3386
|
+
responseStream: false,
|
|
3387
|
+
requestType: wechaty_puppet_call_pb.CallInviteRequest,
|
|
3388
|
+
responseType: wechaty_puppet_call_pb.CallInviteResponse,
|
|
3389
|
+
requestSerialize: serialize_wechaty_puppet_CallInviteRequest,
|
|
3390
|
+
requestDeserialize: deserialize_wechaty_puppet_CallInviteRequest,
|
|
3391
|
+
responseSerialize: serialize_wechaty_puppet_CallInviteResponse,
|
|
3392
|
+
responseDeserialize: deserialize_wechaty_puppet_CallInviteResponse,
|
|
3393
|
+
},
|
|
3394
|
+
callAdd: {
|
|
3395
|
+
path: '/wechaty.Puppet/CallAdd',
|
|
3396
|
+
requestStream: false,
|
|
3397
|
+
responseStream: false,
|
|
3398
|
+
requestType: wechaty_puppet_call_pb.CallAddRequest,
|
|
3399
|
+
responseType: wechaty_puppet_call_pb.CallAddResponse,
|
|
3400
|
+
requestSerialize: serialize_wechaty_puppet_CallAddRequest,
|
|
3401
|
+
requestDeserialize: deserialize_wechaty_puppet_CallAddRequest,
|
|
3402
|
+
responseSerialize: serialize_wechaty_puppet_CallAddResponse,
|
|
3403
|
+
responseDeserialize: deserialize_wechaty_puppet_CallAddResponse,
|
|
3404
|
+
},
|
|
3405
|
+
callAccept: {
|
|
3406
|
+
path: '/wechaty.Puppet/CallAccept',
|
|
3407
|
+
requestStream: false,
|
|
3408
|
+
responseStream: false,
|
|
3409
|
+
requestType: wechaty_puppet_call_pb.CallAcceptRequest,
|
|
3410
|
+
responseType: wechaty_puppet_call_pb.CallAcceptResponse,
|
|
3411
|
+
requestSerialize: serialize_wechaty_puppet_CallAcceptRequest,
|
|
3412
|
+
requestDeserialize: deserialize_wechaty_puppet_CallAcceptRequest,
|
|
3413
|
+
responseSerialize: serialize_wechaty_puppet_CallAcceptResponse,
|
|
3414
|
+
responseDeserialize: deserialize_wechaty_puppet_CallAcceptResponse,
|
|
3415
|
+
},
|
|
3416
|
+
callReject: {
|
|
3417
|
+
path: '/wechaty.Puppet/CallReject',
|
|
3418
|
+
requestStream: false,
|
|
3419
|
+
responseStream: false,
|
|
3420
|
+
requestType: wechaty_puppet_call_pb.CallRejectRequest,
|
|
3421
|
+
responseType: wechaty_puppet_call_pb.CallRejectResponse,
|
|
3422
|
+
requestSerialize: serialize_wechaty_puppet_CallRejectRequest,
|
|
3423
|
+
requestDeserialize: deserialize_wechaty_puppet_CallRejectRequest,
|
|
3424
|
+
responseSerialize: serialize_wechaty_puppet_CallRejectResponse,
|
|
3425
|
+
responseDeserialize: deserialize_wechaty_puppet_CallRejectResponse,
|
|
3426
|
+
},
|
|
3427
|
+
callCancel: {
|
|
3428
|
+
path: '/wechaty.Puppet/CallCancel',
|
|
3429
|
+
requestStream: false,
|
|
3430
|
+
responseStream: false,
|
|
3431
|
+
requestType: wechaty_puppet_call_pb.CallCancelRequest,
|
|
3432
|
+
responseType: wechaty_puppet_call_pb.CallCancelResponse,
|
|
3433
|
+
requestSerialize: serialize_wechaty_puppet_CallCancelRequest,
|
|
3434
|
+
requestDeserialize: deserialize_wechaty_puppet_CallCancelRequest,
|
|
3435
|
+
responseSerialize: serialize_wechaty_puppet_CallCancelResponse,
|
|
3436
|
+
responseDeserialize: deserialize_wechaty_puppet_CallCancelResponse,
|
|
3437
|
+
},
|
|
3438
|
+
callHangup: {
|
|
3439
|
+
path: '/wechaty.Puppet/CallHangup',
|
|
3440
|
+
requestStream: false,
|
|
3441
|
+
responseStream: false,
|
|
3442
|
+
requestType: wechaty_puppet_call_pb.CallHangupRequest,
|
|
3443
|
+
responseType: wechaty_puppet_call_pb.CallHangupResponse,
|
|
3444
|
+
requestSerialize: serialize_wechaty_puppet_CallHangupRequest,
|
|
3445
|
+
requestDeserialize: deserialize_wechaty_puppet_CallHangupRequest,
|
|
3446
|
+
responseSerialize: serialize_wechaty_puppet_CallHangupResponse,
|
|
3447
|
+
responseDeserialize: deserialize_wechaty_puppet_CallHangupResponse,
|
|
3448
|
+
},
|
|
3449
|
+
// POST:签发可能在网关侧预分配媒体会话(有副作用),非幂等读取。
|
|
3450
|
+
callMediaEndpoint: {
|
|
3451
|
+
path: '/wechaty.Puppet/CallMediaEndpoint',
|
|
3452
|
+
requestStream: false,
|
|
3453
|
+
responseStream: false,
|
|
3454
|
+
requestType: wechaty_puppet_call_pb.CallMediaEndpointRequest,
|
|
3455
|
+
responseType: wechaty_puppet_call_pb.CallMediaEndpointResponse,
|
|
3456
|
+
requestSerialize: serialize_wechaty_puppet_CallMediaEndpointRequest,
|
|
3457
|
+
requestDeserialize: deserialize_wechaty_puppet_CallMediaEndpointRequest,
|
|
3458
|
+
responseSerialize: serialize_wechaty_puppet_CallMediaEndpointResponse,
|
|
3459
|
+
responseDeserialize: deserialize_wechaty_puppet_CallMediaEndpointResponse,
|
|
3460
|
+
},
|
|
3461
|
+
callPayload: {
|
|
3462
|
+
path: '/wechaty.Puppet/CallPayload',
|
|
3463
|
+
requestStream: false,
|
|
3464
|
+
responseStream: false,
|
|
3465
|
+
requestType: wechaty_puppet_call_pb.CallPayloadRequest,
|
|
3466
|
+
responseType: wechaty_puppet_call_pb.CallPayloadResponse,
|
|
3467
|
+
requestSerialize: serialize_wechaty_puppet_CallPayloadRequest,
|
|
3468
|
+
requestDeserialize: deserialize_wechaty_puppet_CallPayloadRequest,
|
|
3469
|
+
responseSerialize: serialize_wechaty_puppet_CallPayloadResponse,
|
|
3470
|
+
responseDeserialize: deserialize_wechaty_puppet_CallPayloadResponse,
|
|
3471
|
+
},
|
|
3206
3472
|
messageChatHistory: {
|
|
3207
3473
|
path: '/wechaty.Puppet/MessageChatHistory',
|
|
3208
3474
|
requestStream: false,
|
|
@@ -5,6 +5,7 @@ import * as jspb from "google-protobuf";
|
|
|
5
5
|
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
|
6
6
|
import * as protoc_gen_openapiv2_options_annotations_pb from "../protoc-gen-openapiv2/options/annotations_pb";
|
|
7
7
|
import * as wechaty_puppet_base_pb from "../wechaty/puppet/base_pb";
|
|
8
|
+
import * as wechaty_puppet_call_pb from "../wechaty/puppet/call_pb";
|
|
8
9
|
import * as wechaty_puppet_contact_pb from "../wechaty/puppet/contact_pb";
|
|
9
10
|
import * as wechaty_puppet_download_upload_pb from "../wechaty/puppet/download-upload_pb";
|
|
10
11
|
import * as wechaty_puppet_event_pb from "../wechaty/puppet/event_pb";
|
|
@@ -21,6 +21,8 @@ var protoc$gen$openapiv2_options_annotations_pb = require('../protoc-gen-openapi
|
|
|
21
21
|
goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
|
|
22
22
|
var wechaty_puppet_base_pb = require('../wechaty/puppet/base_pb.js');
|
|
23
23
|
goog.object.extend(proto, wechaty_puppet_base_pb);
|
|
24
|
+
var wechaty_puppet_call_pb = require('../wechaty/puppet/call_pb.js');
|
|
25
|
+
goog.object.extend(proto, wechaty_puppet_call_pb);
|
|
24
26
|
var wechaty_puppet_contact_pb = require('../wechaty/puppet/contact_pb.js');
|
|
25
27
|
goog.object.extend(proto, wechaty_puppet_contact_pb);
|
|
26
28
|
var wechaty_puppet_download$upload_pb = require('../wechaty/puppet/download-upload_pb.js');
|