@juzi/wechaty-grpc 1.0.3 → 1.0.6
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 +36 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.js +275 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +51 -8
- package/dist/cjs/out/wechaty/puppet/message_pb.js +315 -8
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +50 -4
- package/dist/cjs/out/wechaty/puppet.swagger.json +76 -5
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/cjs/proto/wechaty/puppet/base.proto +7 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +18 -8
- package/dist/cjs/proto/wechaty/puppet.proto +12 -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 +10 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/base_pb.d.ts +36 -0
- package/dist/esm/out/wechaty/puppet/base_pb.js +275 -0
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +51 -8
- package/dist/esm/out/wechaty/puppet/message_pb.js +315 -8
- package/dist/esm/out/wechaty/puppet.openapi.yaml +50 -4
- package/dist/esm/out/wechaty/puppet.swagger.json +76 -5
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/esm/proto/wechaty/puppet/base.proto +7 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +18 -8
- package/dist/esm/proto/wechaty/puppet.proto +12 -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 +10 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/base_pb.d.ts +36 -0
- package/out/wechaty/puppet/base_pb.js +275 -0
- package/out/wechaty/puppet/message_pb.d.ts +51 -8
- package/out/wechaty/puppet/message_pb.js +315 -8
- package/out/wechaty/puppet.openapi.yaml +50 -4
- package/out/wechaty/puppet.swagger.json +76 -5
- package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/out/wechaty/puppet_grpc_pb.js +66 -0
- package/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/out/wechaty/puppet_pb_service.js +80 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -28,6 +28,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
28
28
|
stop: IPuppetService_IStop;
|
|
29
29
|
logout: IPuppetService_ILogout;
|
|
30
30
|
ding: IPuppetService_IDing;
|
|
31
|
+
currentUser: IPuppetService_ICurrentUser;
|
|
31
32
|
version: IPuppetService_IVersion;
|
|
32
33
|
event: IPuppetService_IEvent;
|
|
33
34
|
dirtyPayload: IPuppetService_IDirtyPayload;
|
|
@@ -64,6 +65,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
64
65
|
messageSendUrl: IPuppetService_IMessageSendUrl;
|
|
65
66
|
messageSendLocation: IPuppetService_IMessageSendLocation;
|
|
66
67
|
messageSendChannel: IPuppetService_IMessageSendChannel;
|
|
68
|
+
messagePreview: IPuppetService_IMessagePreview;
|
|
67
69
|
roomPayload: IPuppetService_IRoomPayload;
|
|
68
70
|
roomList: IPuppetService_IRoomList;
|
|
69
71
|
roomAdd: IPuppetService_IRoomAdd;
|
|
@@ -149,6 +151,15 @@ interface IPuppetService_IDing extends grpc.MethodDefinition<wechaty_puppet_base
|
|
|
149
151
|
responseSerialize: grpc.serialize<wechaty_puppet_base_pb.DingResponse>;
|
|
150
152
|
responseDeserialize: grpc.deserialize<wechaty_puppet_base_pb.DingResponse>;
|
|
151
153
|
}
|
|
154
|
+
interface IPuppetService_ICurrentUser extends grpc.MethodDefinition<wechaty_puppet_base_pb.CurrentUserRequest, wechaty_puppet_base_pb.CurrentUserResponse> {
|
|
155
|
+
path: "/wechaty.Puppet/CurrentUser";
|
|
156
|
+
requestStream: false;
|
|
157
|
+
responseStream: false;
|
|
158
|
+
requestSerialize: grpc.serialize<wechaty_puppet_base_pb.CurrentUserRequest>;
|
|
159
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_base_pb.CurrentUserRequest>;
|
|
160
|
+
responseSerialize: grpc.serialize<wechaty_puppet_base_pb.CurrentUserResponse>;
|
|
161
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_base_pb.CurrentUserResponse>;
|
|
162
|
+
}
|
|
152
163
|
interface IPuppetService_IVersion extends grpc.MethodDefinition<wechaty_puppet_base_pb.VersionRequest, wechaty_puppet_base_pb.VersionResponse> {
|
|
153
164
|
path: "/wechaty.Puppet/Version";
|
|
154
165
|
requestStream: false;
|
|
@@ -473,6 +484,15 @@ interface IPuppetService_IMessageSendChannel extends grpc.MethodDefinition<wecha
|
|
|
473
484
|
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageSendChannelResponse>;
|
|
474
485
|
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageSendChannelResponse>;
|
|
475
486
|
}
|
|
487
|
+
interface IPuppetService_IMessagePreview extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessagePreviewRequest, wechaty_puppet_message_pb.MessagePreviewResponse> {
|
|
488
|
+
path: "/wechaty.Puppet/MessagePreview";
|
|
489
|
+
requestStream: false;
|
|
490
|
+
responseStream: false;
|
|
491
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessagePreviewRequest>;
|
|
492
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessagePreviewRequest>;
|
|
493
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessagePreviewResponse>;
|
|
494
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessagePreviewResponse>;
|
|
495
|
+
}
|
|
476
496
|
interface IPuppetService_IRoomPayload extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomPayloadRequest, wechaty_puppet_room_pb.RoomPayloadResponse> {
|
|
477
497
|
path: "/wechaty.Puppet/RoomPayload";
|
|
478
498
|
requestStream: false;
|
|
@@ -664,6 +684,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
664
684
|
stop: grpc.handleUnaryCall<wechaty_puppet_base_pb.StopRequest, wechaty_puppet_base_pb.StopResponse>;
|
|
665
685
|
logout: grpc.handleUnaryCall<wechaty_puppet_base_pb.LogoutRequest, wechaty_puppet_base_pb.LogoutResponse>;
|
|
666
686
|
ding: grpc.handleUnaryCall<wechaty_puppet_base_pb.DingRequest, wechaty_puppet_base_pb.DingResponse>;
|
|
687
|
+
currentUser: grpc.handleUnaryCall<wechaty_puppet_base_pb.CurrentUserRequest, wechaty_puppet_base_pb.CurrentUserResponse>;
|
|
667
688
|
version: grpc.handleUnaryCall<wechaty_puppet_base_pb.VersionRequest, wechaty_puppet_base_pb.VersionResponse>;
|
|
668
689
|
event: grpc.handleServerStreamingCall<wechaty_puppet_event_pb.EventRequest, wechaty_puppet_event_pb.EventResponse>;
|
|
669
690
|
dirtyPayload: grpc.handleUnaryCall<wechaty_puppet_base_pb.DirtyPayloadRequest, wechaty_puppet_base_pb.DirtyPayloadResponse>;
|
|
@@ -700,6 +721,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
700
721
|
messageSendUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendUrlRequest, wechaty_puppet_message_pb.MessageSendUrlResponse>;
|
|
701
722
|
messageSendLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendLocationRequest, wechaty_puppet_message_pb.MessageSendLocationResponse>;
|
|
702
723
|
messageSendChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendChannelRequest, wechaty_puppet_message_pb.MessageSendChannelResponse>;
|
|
724
|
+
messagePreview: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessagePreviewRequest, wechaty_puppet_message_pb.MessagePreviewResponse>;
|
|
703
725
|
roomPayload: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomPayloadRequest, wechaty_puppet_room_pb.RoomPayloadResponse>;
|
|
704
726
|
roomList: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomListRequest, wechaty_puppet_room_pb.RoomListResponse>;
|
|
705
727
|
roomAdd: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAddRequest, wechaty_puppet_room_pb.RoomAddResponse>;
|
|
@@ -743,6 +765,9 @@ export interface IPuppetClient {
|
|
|
743
765
|
ding(request: wechaty_puppet_base_pb.DingRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.DingResponse) => void): grpc.ClientUnaryCall;
|
|
744
766
|
ding(request: wechaty_puppet_base_pb.DingRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.DingResponse) => void): grpc.ClientUnaryCall;
|
|
745
767
|
ding(request: wechaty_puppet_base_pb.DingRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.DingResponse) => void): grpc.ClientUnaryCall;
|
|
768
|
+
currentUser(request: wechaty_puppet_base_pb.CurrentUserRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.CurrentUserResponse) => void): grpc.ClientUnaryCall;
|
|
769
|
+
currentUser(request: wechaty_puppet_base_pb.CurrentUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.CurrentUserResponse) => void): grpc.ClientUnaryCall;
|
|
770
|
+
currentUser(request: wechaty_puppet_base_pb.CurrentUserRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.CurrentUserResponse) => void): grpc.ClientUnaryCall;
|
|
746
771
|
version(request: wechaty_puppet_base_pb.VersionRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
|
747
772
|
version(request: wechaty_puppet_base_pb.VersionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
|
748
773
|
version(request: wechaty_puppet_base_pb.VersionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -850,6 +875,9 @@ export interface IPuppetClient {
|
|
|
850
875
|
messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
851
876
|
messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
852
877
|
messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
878
|
+
messagePreview(request: wechaty_puppet_message_pb.MessagePreviewRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessagePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
879
|
+
messagePreview(request: wechaty_puppet_message_pb.MessagePreviewRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessagePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
880
|
+
messagePreview(request: wechaty_puppet_message_pb.MessagePreviewRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessagePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
853
881
|
roomPayload(request: wechaty_puppet_room_pb.RoomPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
854
882
|
roomPayload(request: wechaty_puppet_room_pb.RoomPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
855
883
|
roomPayload(request: wechaty_puppet_room_pb.RoomPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -934,6 +962,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
934
962
|
public ding(request: wechaty_puppet_base_pb.DingRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.DingResponse) => void): grpc.ClientUnaryCall;
|
|
935
963
|
public ding(request: wechaty_puppet_base_pb.DingRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.DingResponse) => void): grpc.ClientUnaryCall;
|
|
936
964
|
public ding(request: wechaty_puppet_base_pb.DingRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.DingResponse) => void): grpc.ClientUnaryCall;
|
|
965
|
+
public currentUser(request: wechaty_puppet_base_pb.CurrentUserRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.CurrentUserResponse) => void): grpc.ClientUnaryCall;
|
|
966
|
+
public currentUser(request: wechaty_puppet_base_pb.CurrentUserRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.CurrentUserResponse) => void): grpc.ClientUnaryCall;
|
|
967
|
+
public currentUser(request: wechaty_puppet_base_pb.CurrentUserRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.CurrentUserResponse) => void): grpc.ClientUnaryCall;
|
|
937
968
|
public version(request: wechaty_puppet_base_pb.VersionRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
|
938
969
|
public version(request: wechaty_puppet_base_pb.VersionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
|
939
970
|
public version(request: wechaty_puppet_base_pb.VersionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1041,6 +1072,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1041
1072
|
public messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1042
1073
|
public messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1043
1074
|
public messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1075
|
+
public messagePreview(request: wechaty_puppet_message_pb.MessagePreviewRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessagePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
1076
|
+
public messagePreview(request: wechaty_puppet_message_pb.MessagePreviewRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessagePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
1077
|
+
public messagePreview(request: wechaty_puppet_message_pb.MessagePreviewRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessagePreviewResponse) => void): grpc.ClientUnaryCall;
|
|
1044
1078
|
public roomPayload(request: wechaty_puppet_room_pb.RoomPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1045
1079
|
public roomPayload(request: wechaty_puppet_room_pb.RoomPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1046
1080
|
public roomPayload(request: wechaty_puppet_room_pb.RoomPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -249,6 +249,28 @@ function deserialize_wechaty_puppet_ContactSelfSignatureResponse(buffer_arg) {
|
|
|
249
249
|
return wechaty_puppet_contact_pb.ContactSelfSignatureResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
+
function serialize_wechaty_puppet_CurrentUserRequest(arg) {
|
|
253
|
+
if (!(arg instanceof wechaty_puppet_base_pb.CurrentUserRequest)) {
|
|
254
|
+
throw new Error('Expected argument of type wechaty.puppet.CurrentUserRequest');
|
|
255
|
+
}
|
|
256
|
+
return Buffer.from(arg.serializeBinary());
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
function deserialize_wechaty_puppet_CurrentUserRequest(buffer_arg) {
|
|
260
|
+
return wechaty_puppet_base_pb.CurrentUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
function serialize_wechaty_puppet_CurrentUserResponse(arg) {
|
|
264
|
+
if (!(arg instanceof wechaty_puppet_base_pb.CurrentUserResponse)) {
|
|
265
|
+
throw new Error('Expected argument of type wechaty.puppet.CurrentUserResponse');
|
|
266
|
+
}
|
|
267
|
+
return Buffer.from(arg.serializeBinary());
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
function deserialize_wechaty_puppet_CurrentUserResponse(buffer_arg) {
|
|
271
|
+
return wechaty_puppet_base_pb.CurrentUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
272
|
+
}
|
|
273
|
+
|
|
252
274
|
function serialize_wechaty_puppet_DingRequest(arg) {
|
|
253
275
|
if (!(arg instanceof wechaty_puppet_base_pb.DingRequest)) {
|
|
254
276
|
throw new Error('Expected argument of type wechaty.puppet.DingRequest');
|
|
@@ -689,6 +711,28 @@ function deserialize_wechaty_puppet_MessagePayloadResponse(buffer_arg) {
|
|
|
689
711
|
return wechaty_puppet_message_pb.MessagePayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
690
712
|
}
|
|
691
713
|
|
|
714
|
+
function serialize_wechaty_puppet_MessagePreviewRequest(arg) {
|
|
715
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessagePreviewRequest)) {
|
|
716
|
+
throw new Error('Expected argument of type wechaty.puppet.MessagePreviewRequest');
|
|
717
|
+
}
|
|
718
|
+
return Buffer.from(arg.serializeBinary());
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
function deserialize_wechaty_puppet_MessagePreviewRequest(buffer_arg) {
|
|
722
|
+
return wechaty_puppet_message_pb.MessagePreviewRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
function serialize_wechaty_puppet_MessagePreviewResponse(arg) {
|
|
726
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessagePreviewResponse)) {
|
|
727
|
+
throw new Error('Expected argument of type wechaty.puppet.MessagePreviewResponse');
|
|
728
|
+
}
|
|
729
|
+
return Buffer.from(arg.serializeBinary());
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
function deserialize_wechaty_puppet_MessagePreviewResponse(buffer_arg) {
|
|
733
|
+
return wechaty_puppet_message_pb.MessagePreviewResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
734
|
+
}
|
|
735
|
+
|
|
692
736
|
function serialize_wechaty_puppet_MessageRecallRequest(arg) {
|
|
693
737
|
if (!(arg instanceof wechaty_puppet_message_pb.MessageRecallRequest)) {
|
|
694
738
|
throw new Error('Expected argument of type wechaty.puppet.MessageRecallRequest');
|
|
@@ -1478,6 +1522,17 @@ start: {
|
|
|
1478
1522
|
responseSerialize: serialize_wechaty_puppet_DingResponse,
|
|
1479
1523
|
responseDeserialize: deserialize_wechaty_puppet_DingResponse,
|
|
1480
1524
|
},
|
|
1525
|
+
currentUser: {
|
|
1526
|
+
path: '/wechaty.Puppet/CurrentUser',
|
|
1527
|
+
requestStream: false,
|
|
1528
|
+
responseStream: false,
|
|
1529
|
+
requestType: wechaty_puppet_base_pb.CurrentUserRequest,
|
|
1530
|
+
responseType: wechaty_puppet_base_pb.CurrentUserResponse,
|
|
1531
|
+
requestSerialize: serialize_wechaty_puppet_CurrentUserRequest,
|
|
1532
|
+
requestDeserialize: deserialize_wechaty_puppet_CurrentUserRequest,
|
|
1533
|
+
responseSerialize: serialize_wechaty_puppet_CurrentUserResponse,
|
|
1534
|
+
responseDeserialize: deserialize_wechaty_puppet_CurrentUserResponse,
|
|
1535
|
+
},
|
|
1481
1536
|
version: {
|
|
1482
1537
|
path: '/wechaty.Puppet/Version',
|
|
1483
1538
|
requestStream: false,
|
|
@@ -1900,6 +1955,17 @@ messageFile: {
|
|
|
1900
1955
|
responseSerialize: serialize_wechaty_puppet_MessageSendChannelResponse,
|
|
1901
1956
|
responseDeserialize: deserialize_wechaty_puppet_MessageSendChannelResponse,
|
|
1902
1957
|
},
|
|
1958
|
+
messagePreview: {
|
|
1959
|
+
path: '/wechaty.Puppet/MessagePreview',
|
|
1960
|
+
requestStream: false,
|
|
1961
|
+
responseStream: false,
|
|
1962
|
+
requestType: wechaty_puppet_message_pb.MessagePreviewRequest,
|
|
1963
|
+
responseType: wechaty_puppet_message_pb.MessagePreviewResponse,
|
|
1964
|
+
requestSerialize: serialize_wechaty_puppet_MessagePreviewRequest,
|
|
1965
|
+
requestDeserialize: deserialize_wechaty_puppet_MessagePreviewRequest,
|
|
1966
|
+
responseSerialize: serialize_wechaty_puppet_MessagePreviewResponse,
|
|
1967
|
+
responseDeserialize: deserialize_wechaty_puppet_MessagePreviewResponse,
|
|
1968
|
+
},
|
|
1903
1969
|
// *
|
|
1904
1970
|
//
|
|
1905
1971
|
// Room
|
|
@@ -78,6 +78,15 @@ type PuppetDing = {
|
|
|
78
78
|
readonly responseType: typeof wechaty_puppet_base_pb.DingResponse;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
+
type PuppetCurrentUser = {
|
|
82
|
+
readonly methodName: string;
|
|
83
|
+
readonly service: typeof Puppet;
|
|
84
|
+
readonly requestStream: false;
|
|
85
|
+
readonly responseStream: false;
|
|
86
|
+
readonly requestType: typeof wechaty_puppet_base_pb.CurrentUserRequest;
|
|
87
|
+
readonly responseType: typeof wechaty_puppet_base_pb.CurrentUserResponse;
|
|
88
|
+
};
|
|
89
|
+
|
|
81
90
|
type PuppetVersion = {
|
|
82
91
|
readonly methodName: string;
|
|
83
92
|
readonly service: typeof Puppet;
|
|
@@ -402,6 +411,15 @@ type PuppetMessageSendChannel = {
|
|
|
402
411
|
readonly responseType: typeof wechaty_puppet_message_pb.MessageSendChannelResponse;
|
|
403
412
|
};
|
|
404
413
|
|
|
414
|
+
type PuppetMessagePreview = {
|
|
415
|
+
readonly methodName: string;
|
|
416
|
+
readonly service: typeof Puppet;
|
|
417
|
+
readonly requestStream: false;
|
|
418
|
+
readonly responseStream: false;
|
|
419
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessagePreviewRequest;
|
|
420
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessagePreviewResponse;
|
|
421
|
+
};
|
|
422
|
+
|
|
405
423
|
type PuppetRoomPayload = {
|
|
406
424
|
readonly methodName: string;
|
|
407
425
|
readonly service: typeof Puppet;
|
|
@@ -591,6 +609,7 @@ export class Puppet {
|
|
|
591
609
|
static readonly Stop: PuppetStop;
|
|
592
610
|
static readonly Logout: PuppetLogout;
|
|
593
611
|
static readonly Ding: PuppetDing;
|
|
612
|
+
static readonly CurrentUser: PuppetCurrentUser;
|
|
594
613
|
static readonly Version: PuppetVersion;
|
|
595
614
|
static readonly Event: PuppetEvent;
|
|
596
615
|
static readonly DirtyPayload: PuppetDirtyPayload;
|
|
@@ -627,6 +646,7 @@ export class Puppet {
|
|
|
627
646
|
static readonly MessageSendUrl: PuppetMessageSendUrl;
|
|
628
647
|
static readonly MessageSendLocation: PuppetMessageSendLocation;
|
|
629
648
|
static readonly MessageSendChannel: PuppetMessageSendChannel;
|
|
649
|
+
static readonly MessagePreview: PuppetMessagePreview;
|
|
630
650
|
static readonly RoomPayload: PuppetRoomPayload;
|
|
631
651
|
static readonly RoomList: PuppetRoomList;
|
|
632
652
|
static readonly RoomAdd: PuppetRoomAdd;
|
|
@@ -720,6 +740,15 @@ export class PuppetClient {
|
|
|
720
740
|
requestMessage: wechaty_puppet_base_pb.DingRequest,
|
|
721
741
|
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_base_pb.DingResponse|null) => void
|
|
722
742
|
): UnaryResponse;
|
|
743
|
+
currentUser(
|
|
744
|
+
requestMessage: wechaty_puppet_base_pb.CurrentUserRequest,
|
|
745
|
+
metadata: grpc.Metadata,
|
|
746
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_base_pb.CurrentUserResponse|null) => void
|
|
747
|
+
): UnaryResponse;
|
|
748
|
+
currentUser(
|
|
749
|
+
requestMessage: wechaty_puppet_base_pb.CurrentUserRequest,
|
|
750
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_base_pb.CurrentUserResponse|null) => void
|
|
751
|
+
): UnaryResponse;
|
|
723
752
|
version(
|
|
724
753
|
requestMessage: wechaty_puppet_base_pb.VersionRequest,
|
|
725
754
|
metadata: grpc.Metadata,
|
|
@@ -1036,6 +1065,15 @@ export class PuppetClient {
|
|
|
1036
1065
|
requestMessage: wechaty_puppet_message_pb.MessageSendChannelRequest,
|
|
1037
1066
|
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageSendChannelResponse|null) => void
|
|
1038
1067
|
): UnaryResponse;
|
|
1068
|
+
messagePreview(
|
|
1069
|
+
requestMessage: wechaty_puppet_message_pb.MessagePreviewRequest,
|
|
1070
|
+
metadata: grpc.Metadata,
|
|
1071
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessagePreviewResponse|null) => void
|
|
1072
|
+
): UnaryResponse;
|
|
1073
|
+
messagePreview(
|
|
1074
|
+
requestMessage: wechaty_puppet_message_pb.MessagePreviewRequest,
|
|
1075
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessagePreviewResponse|null) => void
|
|
1076
|
+
): UnaryResponse;
|
|
1039
1077
|
roomPayload(
|
|
1040
1078
|
requestMessage: wechaty_puppet_room_pb.RoomPayloadRequest,
|
|
1041
1079
|
metadata: grpc.Metadata,
|
|
@@ -84,6 +84,15 @@ Puppet.Ding = {
|
|
|
84
84
|
responseType: wechaty_puppet_base_pb.DingResponse
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
+
Puppet.CurrentUser = {
|
|
88
|
+
methodName: "CurrentUser",
|
|
89
|
+
service: Puppet,
|
|
90
|
+
requestStream: false,
|
|
91
|
+
responseStream: false,
|
|
92
|
+
requestType: wechaty_puppet_base_pb.CurrentUserRequest,
|
|
93
|
+
responseType: wechaty_puppet_base_pb.CurrentUserResponse
|
|
94
|
+
};
|
|
95
|
+
|
|
87
96
|
Puppet.Version = {
|
|
88
97
|
methodName: "Version",
|
|
89
98
|
service: Puppet,
|
|
@@ -408,6 +417,15 @@ Puppet.MessageSendChannel = {
|
|
|
408
417
|
responseType: wechaty_puppet_message_pb.MessageSendChannelResponse
|
|
409
418
|
};
|
|
410
419
|
|
|
420
|
+
Puppet.MessagePreview = {
|
|
421
|
+
methodName: "MessagePreview",
|
|
422
|
+
service: Puppet,
|
|
423
|
+
requestStream: false,
|
|
424
|
+
responseStream: false,
|
|
425
|
+
requestType: wechaty_puppet_message_pb.MessagePreviewRequest,
|
|
426
|
+
responseType: wechaty_puppet_message_pb.MessagePreviewResponse
|
|
427
|
+
};
|
|
428
|
+
|
|
411
429
|
Puppet.RoomPayload = {
|
|
412
430
|
methodName: "RoomPayload",
|
|
413
431
|
service: Puppet,
|
|
@@ -838,6 +856,37 @@ PuppetClient.prototype.ding = function ding(requestMessage, metadata, callback)
|
|
|
838
856
|
};
|
|
839
857
|
};
|
|
840
858
|
|
|
859
|
+
PuppetClient.prototype.currentUser = function currentUser(requestMessage, metadata, callback) {
|
|
860
|
+
if (arguments.length === 2) {
|
|
861
|
+
callback = arguments[1];
|
|
862
|
+
}
|
|
863
|
+
var client = grpc.unary(Puppet.CurrentUser, {
|
|
864
|
+
request: requestMessage,
|
|
865
|
+
host: this.serviceHost,
|
|
866
|
+
metadata: metadata,
|
|
867
|
+
transport: this.options.transport,
|
|
868
|
+
debug: this.options.debug,
|
|
869
|
+
onEnd: function (response) {
|
|
870
|
+
if (callback) {
|
|
871
|
+
if (response.status !== grpc.Code.OK) {
|
|
872
|
+
var err = new Error(response.statusMessage);
|
|
873
|
+
err.code = response.status;
|
|
874
|
+
err.metadata = response.trailers;
|
|
875
|
+
callback(err, null);
|
|
876
|
+
} else {
|
|
877
|
+
callback(null, response.message);
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
});
|
|
882
|
+
return {
|
|
883
|
+
cancel: function () {
|
|
884
|
+
callback = null;
|
|
885
|
+
client.close();
|
|
886
|
+
}
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
|
|
841
890
|
PuppetClient.prototype.version = function version(requestMessage, metadata, callback) {
|
|
842
891
|
if (arguments.length === 2) {
|
|
843
892
|
callback = arguments[1];
|
|
@@ -1962,6 +2011,37 @@ PuppetClient.prototype.messageSendChannel = function messageSendChannel(requestM
|
|
|
1962
2011
|
};
|
|
1963
2012
|
};
|
|
1964
2013
|
|
|
2014
|
+
PuppetClient.prototype.messagePreview = function messagePreview(requestMessage, metadata, callback) {
|
|
2015
|
+
if (arguments.length === 2) {
|
|
2016
|
+
callback = arguments[1];
|
|
2017
|
+
}
|
|
2018
|
+
var client = grpc.unary(Puppet.MessagePreview, {
|
|
2019
|
+
request: requestMessage,
|
|
2020
|
+
host: this.serviceHost,
|
|
2021
|
+
metadata: metadata,
|
|
2022
|
+
transport: this.options.transport,
|
|
2023
|
+
debug: this.options.debug,
|
|
2024
|
+
onEnd: function (response) {
|
|
2025
|
+
if (callback) {
|
|
2026
|
+
if (response.status !== grpc.Code.OK) {
|
|
2027
|
+
var err = new Error(response.statusMessage);
|
|
2028
|
+
err.code = response.status;
|
|
2029
|
+
err.metadata = response.trailers;
|
|
2030
|
+
callback(err, null);
|
|
2031
|
+
} else {
|
|
2032
|
+
callback(null, response.message);
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
});
|
|
2037
|
+
return {
|
|
2038
|
+
cancel: function () {
|
|
2039
|
+
callback = null;
|
|
2040
|
+
client.close();
|
|
2041
|
+
}
|
|
2042
|
+
};
|
|
2043
|
+
};
|
|
2044
|
+
|
|
1965
2045
|
PuppetClient.prototype.roomPayload = function roomPayload(requestMessage, metadata, callback) {
|
|
1966
2046
|
if (arguments.length === 2) {
|
|
1967
2047
|
callback = arguments[1];
|
|
@@ -27,18 +27,21 @@ enum MessageType {
|
|
|
27
27
|
MESSAGE_TYPE_ATTACHMENT = 1;
|
|
28
28
|
MESSAGE_TYPE_AUDIO = 2;
|
|
29
29
|
MESSAGE_TYPE_CONTACT = 3;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
MESSAGE_TYPE_CHAT_HISTORY = 4;
|
|
31
|
+
MESSAGE_TYPE_EMOTCION = 5;
|
|
32
|
+
MESSAGE_TYPE_IMAGE = 6;
|
|
33
|
+
MESSAGE_TYPE_TEXT = 7;
|
|
34
|
+
MESSAGE_TYPE_LOCATION = 8;
|
|
35
|
+
MESSAGE_TYPE_MINI_PROGRAM = 9;
|
|
36
|
+
MESSAGE_TYPE_GROUP_NOTE = 10;
|
|
37
37
|
MESSAGE_TYPE_TRANSFER = 11;
|
|
38
38
|
MESSAGE_TYPE_RED_ENVELOPE = 12;
|
|
39
39
|
MESSAGE_TYPE_RECALLED = 13;
|
|
40
40
|
MESSAGE_TYPE_URL = 14;
|
|
41
|
-
|
|
41
|
+
MESSAGE_TYPE_VIDEO = 15;
|
|
42
|
+
MESSAGE_TYPE_POST = 16;
|
|
43
|
+
MESSAGE_TYPE_CHANNEL = 17;
|
|
44
|
+
MESSAGE_TYPE_SYSTEM = 18;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
message MessagePayloadRequest {
|
|
@@ -246,3 +249,10 @@ message MessageSendChannelResponse {
|
|
|
246
249
|
string id = 1;
|
|
247
250
|
}
|
|
248
251
|
|
|
252
|
+
message MessagePreviewRequest {
|
|
253
|
+
string id = 1;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
message MessagePreviewResponse {
|
|
257
|
+
string file_box = 1;
|
|
258
|
+
}
|
|
@@ -100,6 +100,11 @@ service Puppet {
|
|
|
100
100
|
body: "*"
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
+
rpc CurrentUser (puppet.CurrentUserRequest) returns (puppet.CurrentUserResponse) {
|
|
104
|
+
option (google.api.http) = {
|
|
105
|
+
get: "/currentUser"
|
|
106
|
+
};
|
|
107
|
+
}
|
|
103
108
|
rpc Version (puppet.VersionRequest) returns (puppet.VersionResponse) {
|
|
104
109
|
option (google.api.http) = {
|
|
105
110
|
get: "/version"
|
|
@@ -371,6 +376,13 @@ service Puppet {
|
|
|
371
376
|
};
|
|
372
377
|
}
|
|
373
378
|
|
|
379
|
+
rpc MessagePreview (puppet.MessagePreviewRequest) returns (puppet.MessagePreviewResponse) {
|
|
380
|
+
option (google.api.http) = {
|
|
381
|
+
get: "/message/{id}/preview"
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
|
|
374
386
|
/**
|
|
375
387
|
*
|
|
376
388
|
* Room
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppet-server-impl.d.ts","sourceRoot":"","sources":["../../../tests/puppet-server-impl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACP,MAA4B,eAAe,CAAA;AAE5C,aAAK,aAAa,GAAG,MAAM,CAAC,aAAa,CAAA;AAEzC;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"puppet-server-impl.d.ts","sourceRoot":"","sources":["../../../tests/puppet-server-impl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACP,MAA4B,eAAe,CAAA;AAE5C,aAAK,aAAa,GAAG,MAAM,CAAC,aAAa,CAAA;AAEzC;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAqY9B,CAAA"}
|
|
@@ -57,6 +57,11 @@ export const puppetServerImpl = {
|
|
|
57
57
|
void callback;
|
|
58
58
|
throw new Error('not implemented.');
|
|
59
59
|
},
|
|
60
|
+
currentUser: (call, callback) => {
|
|
61
|
+
void call;
|
|
62
|
+
void callback;
|
|
63
|
+
throw new Error('not implemented.');
|
|
64
|
+
},
|
|
60
65
|
dirtyPayload: (call, callback) => {
|
|
61
66
|
void call;
|
|
62
67
|
void callback;
|
|
@@ -199,6 +204,11 @@ export const puppetServerImpl = {
|
|
|
199
204
|
void callback;
|
|
200
205
|
throw new Error('not implemented.');
|
|
201
206
|
},
|
|
207
|
+
messagePreview: (call, callback) => {
|
|
208
|
+
void call;
|
|
209
|
+
void callback;
|
|
210
|
+
throw new Error('not implemented.');
|
|
211
|
+
},
|
|
202
212
|
roomAdd: (call, callback) => {
|
|
203
213
|
void call;
|
|
204
214
|
void callback;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppet-server-impl.js","sourceRoot":"","sources":["../../../tests/puppet-server-impl.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAkB;IAE7C,YAAY,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC/B,KAAK,IAAI,CAAA;QACT,KAAK,QAAQ,CAAA;QACb,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACrC,CAAC;IAED,aAAa,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QAChC,KAAK,IAAI,CAAA;QACT,KAAK,QAAQ,CAAA;QACb,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACrC,CAAC;IAED,wBAAwB,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC3C,KAAK,IAAI,CAAA;QACT,KAAK,QAAQ,CAAA;QACb,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;IACpC,CAAC;IAED,kBAAkB,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QACrC,KAAK,I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Q,CAAA;QACb,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACrC,CAAC;IAED,gBAAgB,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QACnC,KAAK,IAAI,CAAA;QACT,KAAK,QAAQ,CAAA;QACb,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACrC,CAAC;IAED,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC1B,KAAK,IAAI,CAAA;QACT,KAAK,QAAQ,CAAA;QACb,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACrC,CAAC;IAED,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,KAAK,IAAI,CAAA;QACT,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACrC,CAAC;IAED,MAAM,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QACzB,KAAK,IAAI,CAAA;QACT,KAAK,QAAQ,CAAA;QACb,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;IACrC,CAAC;CAEF,CAAA"}
|
|
@@ -211,6 +211,42 @@ export namespace DirtyPayloadResponse {
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
+
export class CurrentUserRequest extends jspb.Message {
|
|
215
|
+
serializeBinary(): Uint8Array;
|
|
216
|
+
toObject(includeInstance?: boolean): CurrentUserRequest.AsObject;
|
|
217
|
+
static toObject(includeInstance: boolean, msg: CurrentUserRequest): CurrentUserRequest.AsObject;
|
|
218
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
219
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
220
|
+
static serializeBinaryToWriter(message: CurrentUserRequest, writer: jspb.BinaryWriter): void;
|
|
221
|
+
static deserializeBinary(bytes: Uint8Array): CurrentUserRequest;
|
|
222
|
+
static deserializeBinaryFromReader(message: CurrentUserRequest, reader: jspb.BinaryReader): CurrentUserRequest;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export namespace CurrentUserRequest {
|
|
226
|
+
export type AsObject = {
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export class CurrentUserResponse extends jspb.Message {
|
|
231
|
+
getUserId(): string;
|
|
232
|
+
setUserId(value: string): void;
|
|
233
|
+
|
|
234
|
+
serializeBinary(): Uint8Array;
|
|
235
|
+
toObject(includeInstance?: boolean): CurrentUserResponse.AsObject;
|
|
236
|
+
static toObject(includeInstance: boolean, msg: CurrentUserResponse): CurrentUserResponse.AsObject;
|
|
237
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
238
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
239
|
+
static serializeBinaryToWriter(message: CurrentUserResponse, writer: jspb.BinaryWriter): void;
|
|
240
|
+
static deserializeBinary(bytes: Uint8Array): CurrentUserResponse;
|
|
241
|
+
static deserializeBinaryFromReader(message: CurrentUserResponse, reader: jspb.BinaryReader): CurrentUserResponse;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export namespace CurrentUserResponse {
|
|
245
|
+
export type AsObject = {
|
|
246
|
+
userId: string,
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
214
250
|
export interface PayloadTypeMap {
|
|
215
251
|
PAYLOAD_TYPE_UNSPECIFIED: 0;
|
|
216
252
|
PAYLOAD_TYPE_MESSAGE: 1;
|