@juzi/wechaty-grpc 1.0.18 → 1.0.20

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.
Files changed (52) hide show
  1. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +2 -0
  2. package/dist/cjs/out/wechaty/puppet/event_pb.js +3 -1
  3. package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +0 -172
  4. package/dist/cjs/out/wechaty/puppet/moment_pb.js +87 -1406
  5. package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +172 -0
  6. package/dist/cjs/out/wechaty/puppet/post_pb.js +1319 -0
  7. package/dist/cjs/out/wechaty/puppet.openapi.yaml +74 -72
  8. package/dist/cjs/out/wechaty/puppet.swagger.json +100 -98
  9. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +56 -56
  10. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +103 -103
  11. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +41 -40
  12. package/dist/cjs/out/wechaty/puppet_pb_service.js +25 -24
  13. package/dist/cjs/proto/wechaty/puppet/event.proto +2 -0
  14. package/dist/cjs/proto/wechaty/puppet/moment.proto +0 -33
  15. package/dist/cjs/proto/wechaty/puppet/post.proto +34 -0
  16. package/dist/cjs/proto/wechaty/puppet.proto +9 -9
  17. package/dist/cjs/src/package-json.js +1 -1
  18. package/dist/cjs/tests/puppet-server-impl.js +4 -4
  19. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  20. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +2 -0
  21. package/dist/esm/out/wechaty/puppet/event_pb.js +3 -1
  22. package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +0 -172
  23. package/dist/esm/out/wechaty/puppet/moment_pb.js +87 -1406
  24. package/dist/esm/out/wechaty/puppet/post_pb.d.ts +172 -0
  25. package/dist/esm/out/wechaty/puppet/post_pb.js +1319 -0
  26. package/dist/esm/out/wechaty/puppet.openapi.yaml +74 -72
  27. package/dist/esm/out/wechaty/puppet.swagger.json +100 -98
  28. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +56 -56
  29. package/dist/esm/out/wechaty/puppet_grpc_pb.js +103 -103
  30. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +41 -40
  31. package/dist/esm/out/wechaty/puppet_pb_service.js +25 -24
  32. package/dist/esm/proto/wechaty/puppet/event.proto +2 -0
  33. package/dist/esm/proto/wechaty/puppet/moment.proto +0 -33
  34. package/dist/esm/proto/wechaty/puppet/post.proto +34 -0
  35. package/dist/esm/proto/wechaty/puppet.proto +9 -9
  36. package/dist/esm/src/package-json.js +1 -1
  37. package/dist/esm/tests/puppet-server-impl.js +4 -4
  38. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  39. package/out/wechaty/puppet/event_pb.d.ts +2 -0
  40. package/out/wechaty/puppet/event_pb.js +3 -1
  41. package/out/wechaty/puppet/moment_pb.d.ts +0 -172
  42. package/out/wechaty/puppet/moment_pb.js +87 -1406
  43. package/out/wechaty/puppet/post_pb.d.ts +172 -0
  44. package/out/wechaty/puppet/post_pb.js +1319 -0
  45. package/out/wechaty/puppet.openapi.yaml +74 -72
  46. package/out/wechaty/puppet.swagger.json +100 -98
  47. package/out/wechaty/puppet_grpc_pb.d.ts +56 -56
  48. package/out/wechaty/puppet_grpc_pb.js +103 -103
  49. package/out/wechaty/puppet_pb_service.d.ts +41 -40
  50. package/out/wechaty/puppet_pb_service.js +25 -24
  51. package/package.json +1 -1
  52. package/src/package-json.ts +1 -1
@@ -96,12 +96,12 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
96
96
  tagContactTagList: IPuppetService_ITagContactTagList;
97
97
  tagTagContactList: IPuppetService_ITagTagContactList;
98
98
  momentPublish: IPuppetService_ImomentPublish;
99
- momentComment: IPuppetService_ImomentComment;
100
- momentLike: IPuppetService_ImomentLike;
99
+ postComment: IPuppetService_IpostComment;
100
+ postLike: IPuppetService_IpostLike;
101
101
  momentSignature: IPuppetService_ImomentSignature;
102
102
  momentCoverage: IPuppetService_ImomentCoverage;
103
- momentPayload: IPuppetService_ImomentPayload;
104
- momentPayloadSayable: IPuppetService_ImomentPayloadSayable;
103
+ postPayload: IPuppetService_IpostPayload;
104
+ postPayloadSayable: IPuppetService_IpostPayloadSayable;
105
105
  download: IPuppetService_IDownload;
106
106
  upload: IPuppetService_IUpload;
107
107
  }
@@ -763,23 +763,23 @@ interface IPuppetService_ImomentPublish extends grpc.MethodDefinition<wechaty_pu
763
763
  responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
764
764
  responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
765
765
  }
766
- interface IPuppetService_ImomentComment extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentCommentRequest, wechaty_puppet_moment_pb.MomentCommentResponse> {
767
- path: "/wechaty.Puppet/momentComment";
766
+ interface IPuppetService_IpostComment extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostCommentRequest, wechaty_puppet_post_pb.PostCommentResponse> {
767
+ path: "/wechaty.Puppet/postComment";
768
768
  requestStream: false;
769
769
  responseStream: false;
770
- requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCommentRequest>;
771
- requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCommentRequest>;
772
- responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCommentResponse>;
773
- responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCommentResponse>;
770
+ requestSerialize: grpc.serialize<wechaty_puppet_post_pb.PostCommentRequest>;
771
+ requestDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostCommentRequest>;
772
+ responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostCommentResponse>;
773
+ responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostCommentResponse>;
774
774
  }
775
- interface IPuppetService_ImomentLike extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentLikeRequest, wechaty_puppet_moment_pb.MomentLikeResponse> {
776
- path: "/wechaty.Puppet/momentLike";
775
+ interface IPuppetService_IpostLike extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostLikeRequest, wechaty_puppet_post_pb.PostLikeResponse> {
776
+ path: "/wechaty.Puppet/postLike";
777
777
  requestStream: false;
778
778
  responseStream: false;
779
- requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentLikeRequest>;
780
- requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentLikeRequest>;
781
- responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentLikeResponse>;
782
- responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentLikeResponse>;
779
+ requestSerialize: grpc.serialize<wechaty_puppet_post_pb.PostLikeRequest>;
780
+ requestDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostLikeRequest>;
781
+ responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostLikeResponse>;
782
+ responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostLikeResponse>;
783
783
  }
784
784
  interface IPuppetService_ImomentSignature extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentSignatureRequest, wechaty_puppet_moment_pb.MomentSignatureResponse> {
785
785
  path: "/wechaty.Puppet/momentSignature";
@@ -799,23 +799,23 @@ interface IPuppetService_ImomentCoverage extends grpc.MethodDefinition<wechaty_p
799
799
  responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCoverageResponse>;
800
800
  responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCoverageResponse>;
801
801
  }
802
- interface IPuppetService_ImomentPayload extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentPayloadRequest, wechaty_puppet_moment_pb.MomentPayloadResponse> {
803
- path: "/wechaty.Puppet/momentPayload";
802
+ interface IPuppetService_IpostPayload extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostPayloadRequest, wechaty_puppet_post_pb.PostPayloadResponse> {
803
+ path: "/wechaty.Puppet/postPayload";
804
804
  requestStream: false;
805
805
  responseStream: false;
806
- requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadRequest>;
807
- requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadRequest>;
808
- responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadResponse>;
809
- responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadResponse>;
806
+ requestSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadRequest>;
807
+ requestDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadRequest>;
808
+ responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadResponse>;
809
+ responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadResponse>;
810
810
  }
811
- interface IPuppetService_ImomentPayloadSayable extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentPayloadSayableRequest, wechaty_puppet_moment_pb.MomentPayloadSayableResponse> {
812
- path: "/wechaty.Puppet/momentPayloadSayable";
811
+ interface IPuppetService_IpostPayloadSayable extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostPayloadSayableRequest, wechaty_puppet_post_pb.PostPayloadSayableResponse> {
812
+ path: "/wechaty.Puppet/postPayloadSayable";
813
813
  requestStream: false;
814
814
  responseStream: false;
815
- requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadSayableRequest>;
816
- requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadSayableRequest>;
817
- responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadSayableResponse>;
818
- responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadSayableResponse>;
815
+ requestSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadSayableRequest>;
816
+ requestDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadSayableRequest>;
817
+ responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadSayableResponse>;
818
+ responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadSayableResponse>;
819
819
  }
820
820
  interface IPuppetService_IDownload extends grpc.MethodDefinition<wechaty_puppet_download_upload_pb.DownloadRequest, wechaty_puppet_download_upload_pb.DownloadResponse> {
821
821
  path: "/wechaty.Puppet/Download";
@@ -912,12 +912,12 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
912
912
  tagContactTagList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagContactTagListRequest, wechaty_puppet_tag_pb.TagContactTagListResponse>;
913
913
  tagTagContactList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagTagContactListRequest, wechaty_puppet_tag_pb.TagTagContactListResponse>;
914
914
  momentPublish: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPublishRequest, wechaty_puppet_moment_pb.MomentPublishResponse>;
915
- momentComment: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentCommentRequest, wechaty_puppet_moment_pb.MomentCommentResponse>;
916
- momentLike: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentLikeRequest, wechaty_puppet_moment_pb.MomentLikeResponse>;
915
+ postComment: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostCommentRequest, wechaty_puppet_post_pb.PostCommentResponse>;
916
+ postLike: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostLikeRequest, wechaty_puppet_post_pb.PostLikeResponse>;
917
917
  momentSignature: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentSignatureRequest, wechaty_puppet_moment_pb.MomentSignatureResponse>;
918
918
  momentCoverage: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentCoverageRequest, wechaty_puppet_moment_pb.MomentCoverageResponse>;
919
- momentPayload: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPayloadRequest, wechaty_puppet_moment_pb.MomentPayloadResponse>;
920
- momentPayloadSayable: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPayloadSayableRequest, wechaty_puppet_moment_pb.MomentPayloadSayableResponse>;
919
+ postPayload: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostPayloadRequest, wechaty_puppet_post_pb.PostPayloadResponse>;
920
+ postPayloadSayable: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostPayloadSayableRequest, wechaty_puppet_post_pb.PostPayloadSayableResponse>;
921
921
  download: grpc.handleServerStreamingCall<wechaty_puppet_download_upload_pb.DownloadRequest, wechaty_puppet_download_upload_pb.DownloadResponse>;
922
922
  upload: grpc.handleClientStreamingCall<wechaty_puppet_download_upload_pb.UploadRequest, wechaty_puppet_download_upload_pb.UploadResponse>;
923
923
  }
@@ -1140,24 +1140,24 @@ export interface IPuppetClient {
1140
1140
  momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1141
1141
  momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1142
1142
  momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1143
- momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
1144
- momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
1145
- momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
1146
- momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
1147
- momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
1148
- momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
1143
+ postComment(request: wechaty_puppet_post_pb.PostCommentRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostCommentResponse) => void): grpc.ClientUnaryCall;
1144
+ postComment(request: wechaty_puppet_post_pb.PostCommentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostCommentResponse) => void): grpc.ClientUnaryCall;
1145
+ postComment(request: wechaty_puppet_post_pb.PostCommentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostCommentResponse) => void): grpc.ClientUnaryCall;
1146
+ postLike(request: wechaty_puppet_post_pb.PostLikeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostLikeResponse) => void): grpc.ClientUnaryCall;
1147
+ postLike(request: wechaty_puppet_post_pb.PostLikeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostLikeResponse) => void): grpc.ClientUnaryCall;
1148
+ postLike(request: wechaty_puppet_post_pb.PostLikeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostLikeResponse) => void): grpc.ClientUnaryCall;
1149
1149
  momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1150
1150
  momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1151
1151
  momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1152
1152
  momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1153
1153
  momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1154
1154
  momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1155
- momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
1156
- momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
1157
- momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
1158
- momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1159
- momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1160
- momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1155
+ postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1156
+ postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1157
+ postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1158
+ postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1159
+ postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1160
+ postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1161
1161
  download(request: wechaty_puppet_download_upload_pb.DownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
1162
1162
  download(request: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
1163
1163
  upload(callback: (error: grpc.ServiceError | null, response: wechaty_puppet_download_upload_pb.UploadResponse) => void): grpc.ClientWritableStream<wechaty_puppet_download_upload_pb.UploadRequest>;
@@ -1385,24 +1385,24 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
1385
1385
  public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1386
1386
  public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1387
1387
  public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1388
- public momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
1389
- public momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
1390
- public momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
1391
- public momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
1392
- public momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
1393
- public momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
1388
+ public postComment(request: wechaty_puppet_post_pb.PostCommentRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostCommentResponse) => void): grpc.ClientUnaryCall;
1389
+ public postComment(request: wechaty_puppet_post_pb.PostCommentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostCommentResponse) => void): grpc.ClientUnaryCall;
1390
+ public postComment(request: wechaty_puppet_post_pb.PostCommentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostCommentResponse) => void): grpc.ClientUnaryCall;
1391
+ public postLike(request: wechaty_puppet_post_pb.PostLikeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostLikeResponse) => void): grpc.ClientUnaryCall;
1392
+ public postLike(request: wechaty_puppet_post_pb.PostLikeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostLikeResponse) => void): grpc.ClientUnaryCall;
1393
+ public postLike(request: wechaty_puppet_post_pb.PostLikeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostLikeResponse) => void): grpc.ClientUnaryCall;
1394
1394
  public momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1395
1395
  public momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1396
1396
  public momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1397
1397
  public momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1398
1398
  public momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1399
1399
  public momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1400
- public momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
1401
- public momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
1402
- public momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
1403
- public momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1404
- public momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1405
- public momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1400
+ public postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1401
+ public postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1402
+ public postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1403
+ public postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1404
+ public postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1405
+ public postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1406
1406
  public download(request: wechaty_puppet_download_upload_pb.DownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
1407
1407
  public download(request: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
1408
1408
  public upload(callback: (error: grpc.ServiceError | null, response: wechaty_puppet_download_upload_pb.UploadResponse) => void): grpc.ClientWritableStream<wechaty_puppet_download_upload_pb.UploadRequest>;
@@ -955,158 +955,158 @@ function deserialize_wechaty_puppet_MessageUrlResponse(buffer_arg) {
955
955
  return wechaty_puppet_message_pb.MessageUrlResponse.deserializeBinary(new Uint8Array(buffer_arg));
956
956
  }
957
957
 
958
- function serialize_wechaty_puppet_MomentCommentRequest(arg) {
959
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentCommentRequest)) {
960
- throw new Error('Expected argument of type wechaty.puppet.MomentCommentRequest');
958
+ function serialize_wechaty_puppet_MomentCoverageRequest(arg) {
959
+ if (!(arg instanceof wechaty_puppet_moment_pb.MomentCoverageRequest)) {
960
+ throw new Error('Expected argument of type wechaty.puppet.MomentCoverageRequest');
961
961
  }
962
962
  return Buffer.from(arg.serializeBinary());
963
963
  }
964
964
 
965
- function deserialize_wechaty_puppet_MomentCommentRequest(buffer_arg) {
966
- return wechaty_puppet_moment_pb.MomentCommentRequest.deserializeBinary(new Uint8Array(buffer_arg));
965
+ function deserialize_wechaty_puppet_MomentCoverageRequest(buffer_arg) {
966
+ return wechaty_puppet_moment_pb.MomentCoverageRequest.deserializeBinary(new Uint8Array(buffer_arg));
967
967
  }
968
968
 
969
- function serialize_wechaty_puppet_MomentCommentResponse(arg) {
970
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentCommentResponse)) {
971
- throw new Error('Expected argument of type wechaty.puppet.MomentCommentResponse');
969
+ function serialize_wechaty_puppet_MomentCoverageResponse(arg) {
970
+ if (!(arg instanceof wechaty_puppet_moment_pb.MomentCoverageResponse)) {
971
+ throw new Error('Expected argument of type wechaty.puppet.MomentCoverageResponse');
972
972
  }
973
973
  return Buffer.from(arg.serializeBinary());
974
974
  }
975
975
 
976
- function deserialize_wechaty_puppet_MomentCommentResponse(buffer_arg) {
977
- return wechaty_puppet_moment_pb.MomentCommentResponse.deserializeBinary(new Uint8Array(buffer_arg));
976
+ function deserialize_wechaty_puppet_MomentCoverageResponse(buffer_arg) {
977
+ return wechaty_puppet_moment_pb.MomentCoverageResponse.deserializeBinary(new Uint8Array(buffer_arg));
978
978
  }
979
979
 
980
- function serialize_wechaty_puppet_MomentCoverageRequest(arg) {
981
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentCoverageRequest)) {
982
- throw new Error('Expected argument of type wechaty.puppet.MomentCoverageRequest');
980
+ function serialize_wechaty_puppet_MomentPublishRequest(arg) {
981
+ if (!(arg instanceof wechaty_puppet_moment_pb.MomentPublishRequest)) {
982
+ throw new Error('Expected argument of type wechaty.puppet.MomentPublishRequest');
983
983
  }
984
984
  return Buffer.from(arg.serializeBinary());
985
985
  }
986
986
 
987
- function deserialize_wechaty_puppet_MomentCoverageRequest(buffer_arg) {
988
- return wechaty_puppet_moment_pb.MomentCoverageRequest.deserializeBinary(new Uint8Array(buffer_arg));
987
+ function deserialize_wechaty_puppet_MomentPublishRequest(buffer_arg) {
988
+ return wechaty_puppet_moment_pb.MomentPublishRequest.deserializeBinary(new Uint8Array(buffer_arg));
989
989
  }
990
990
 
991
- function serialize_wechaty_puppet_MomentCoverageResponse(arg) {
992
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentCoverageResponse)) {
993
- throw new Error('Expected argument of type wechaty.puppet.MomentCoverageResponse');
991
+ function serialize_wechaty_puppet_MomentPublishResponse(arg) {
992
+ if (!(arg instanceof wechaty_puppet_moment_pb.MomentPublishResponse)) {
993
+ throw new Error('Expected argument of type wechaty.puppet.MomentPublishResponse');
994
994
  }
995
995
  return Buffer.from(arg.serializeBinary());
996
996
  }
997
997
 
998
- function deserialize_wechaty_puppet_MomentCoverageResponse(buffer_arg) {
999
- return wechaty_puppet_moment_pb.MomentCoverageResponse.deserializeBinary(new Uint8Array(buffer_arg));
998
+ function deserialize_wechaty_puppet_MomentPublishResponse(buffer_arg) {
999
+ return wechaty_puppet_moment_pb.MomentPublishResponse.deserializeBinary(new Uint8Array(buffer_arg));
1000
1000
  }
1001
1001
 
1002
- function serialize_wechaty_puppet_MomentLikeRequest(arg) {
1003
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentLikeRequest)) {
1004
- throw new Error('Expected argument of type wechaty.puppet.MomentLikeRequest');
1002
+ function serialize_wechaty_puppet_MomentSignatureRequest(arg) {
1003
+ if (!(arg instanceof wechaty_puppet_moment_pb.MomentSignatureRequest)) {
1004
+ throw new Error('Expected argument of type wechaty.puppet.MomentSignatureRequest');
1005
1005
  }
1006
1006
  return Buffer.from(arg.serializeBinary());
1007
1007
  }
1008
1008
 
1009
- function deserialize_wechaty_puppet_MomentLikeRequest(buffer_arg) {
1010
- return wechaty_puppet_moment_pb.MomentLikeRequest.deserializeBinary(new Uint8Array(buffer_arg));
1009
+ function deserialize_wechaty_puppet_MomentSignatureRequest(buffer_arg) {
1010
+ return wechaty_puppet_moment_pb.MomentSignatureRequest.deserializeBinary(new Uint8Array(buffer_arg));
1011
1011
  }
1012
1012
 
1013
- function serialize_wechaty_puppet_MomentLikeResponse(arg) {
1014
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentLikeResponse)) {
1015
- throw new Error('Expected argument of type wechaty.puppet.MomentLikeResponse');
1013
+ function serialize_wechaty_puppet_MomentSignatureResponse(arg) {
1014
+ if (!(arg instanceof wechaty_puppet_moment_pb.MomentSignatureResponse)) {
1015
+ throw new Error('Expected argument of type wechaty.puppet.MomentSignatureResponse');
1016
1016
  }
1017
1017
  return Buffer.from(arg.serializeBinary());
1018
1018
  }
1019
1019
 
1020
- function deserialize_wechaty_puppet_MomentLikeResponse(buffer_arg) {
1021
- return wechaty_puppet_moment_pb.MomentLikeResponse.deserializeBinary(new Uint8Array(buffer_arg));
1020
+ function deserialize_wechaty_puppet_MomentSignatureResponse(buffer_arg) {
1021
+ return wechaty_puppet_moment_pb.MomentSignatureResponse.deserializeBinary(new Uint8Array(buffer_arg));
1022
1022
  }
1023
1023
 
1024
- function serialize_wechaty_puppet_MomentPayloadRequest(arg) {
1025
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentPayloadRequest)) {
1026
- throw new Error('Expected argument of type wechaty.puppet.MomentPayloadRequest');
1024
+ function serialize_wechaty_puppet_PostCommentRequest(arg) {
1025
+ if (!(arg instanceof wechaty_puppet_post_pb.PostCommentRequest)) {
1026
+ throw new Error('Expected argument of type wechaty.puppet.PostCommentRequest');
1027
1027
  }
1028
1028
  return Buffer.from(arg.serializeBinary());
1029
1029
  }
1030
1030
 
1031
- function deserialize_wechaty_puppet_MomentPayloadRequest(buffer_arg) {
1032
- return wechaty_puppet_moment_pb.MomentPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
1031
+ function deserialize_wechaty_puppet_PostCommentRequest(buffer_arg) {
1032
+ return wechaty_puppet_post_pb.PostCommentRequest.deserializeBinary(new Uint8Array(buffer_arg));
1033
1033
  }
1034
1034
 
1035
- function serialize_wechaty_puppet_MomentPayloadResponse(arg) {
1036
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentPayloadResponse)) {
1037
- throw new Error('Expected argument of type wechaty.puppet.MomentPayloadResponse');
1035
+ function serialize_wechaty_puppet_PostCommentResponse(arg) {
1036
+ if (!(arg instanceof wechaty_puppet_post_pb.PostCommentResponse)) {
1037
+ throw new Error('Expected argument of type wechaty.puppet.PostCommentResponse');
1038
1038
  }
1039
1039
  return Buffer.from(arg.serializeBinary());
1040
1040
  }
1041
1041
 
1042
- function deserialize_wechaty_puppet_MomentPayloadResponse(buffer_arg) {
1043
- return wechaty_puppet_moment_pb.MomentPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
1042
+ function deserialize_wechaty_puppet_PostCommentResponse(buffer_arg) {
1043
+ return wechaty_puppet_post_pb.PostCommentResponse.deserializeBinary(new Uint8Array(buffer_arg));
1044
1044
  }
1045
1045
 
1046
- function serialize_wechaty_puppet_MomentPayloadSayableRequest(arg) {
1047
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentPayloadSayableRequest)) {
1048
- throw new Error('Expected argument of type wechaty.puppet.MomentPayloadSayableRequest');
1046
+ function serialize_wechaty_puppet_PostLikeRequest(arg) {
1047
+ if (!(arg instanceof wechaty_puppet_post_pb.PostLikeRequest)) {
1048
+ throw new Error('Expected argument of type wechaty.puppet.PostLikeRequest');
1049
1049
  }
1050
1050
  return Buffer.from(arg.serializeBinary());
1051
1051
  }
1052
1052
 
1053
- function deserialize_wechaty_puppet_MomentPayloadSayableRequest(buffer_arg) {
1054
- return wechaty_puppet_moment_pb.MomentPayloadSayableRequest.deserializeBinary(new Uint8Array(buffer_arg));
1053
+ function deserialize_wechaty_puppet_PostLikeRequest(buffer_arg) {
1054
+ return wechaty_puppet_post_pb.PostLikeRequest.deserializeBinary(new Uint8Array(buffer_arg));
1055
1055
  }
1056
1056
 
1057
- function serialize_wechaty_puppet_MomentPayloadSayableResponse(arg) {
1058
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentPayloadSayableResponse)) {
1059
- throw new Error('Expected argument of type wechaty.puppet.MomentPayloadSayableResponse');
1057
+ function serialize_wechaty_puppet_PostLikeResponse(arg) {
1058
+ if (!(arg instanceof wechaty_puppet_post_pb.PostLikeResponse)) {
1059
+ throw new Error('Expected argument of type wechaty.puppet.PostLikeResponse');
1060
1060
  }
1061
1061
  return Buffer.from(arg.serializeBinary());
1062
1062
  }
1063
1063
 
1064
- function deserialize_wechaty_puppet_MomentPayloadSayableResponse(buffer_arg) {
1065
- return wechaty_puppet_moment_pb.MomentPayloadSayableResponse.deserializeBinary(new Uint8Array(buffer_arg));
1064
+ function deserialize_wechaty_puppet_PostLikeResponse(buffer_arg) {
1065
+ return wechaty_puppet_post_pb.PostLikeResponse.deserializeBinary(new Uint8Array(buffer_arg));
1066
1066
  }
1067
1067
 
1068
- function serialize_wechaty_puppet_MomentPublishRequest(arg) {
1069
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentPublishRequest)) {
1070
- throw new Error('Expected argument of type wechaty.puppet.MomentPublishRequest');
1068
+ function serialize_wechaty_puppet_PostPayloadRequest(arg) {
1069
+ if (!(arg instanceof wechaty_puppet_post_pb.PostPayloadRequest)) {
1070
+ throw new Error('Expected argument of type wechaty.puppet.PostPayloadRequest');
1071
1071
  }
1072
1072
  return Buffer.from(arg.serializeBinary());
1073
1073
  }
1074
1074
 
1075
- function deserialize_wechaty_puppet_MomentPublishRequest(buffer_arg) {
1076
- return wechaty_puppet_moment_pb.MomentPublishRequest.deserializeBinary(new Uint8Array(buffer_arg));
1075
+ function deserialize_wechaty_puppet_PostPayloadRequest(buffer_arg) {
1076
+ return wechaty_puppet_post_pb.PostPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
1077
1077
  }
1078
1078
 
1079
- function serialize_wechaty_puppet_MomentPublishResponse(arg) {
1080
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentPublishResponse)) {
1081
- throw new Error('Expected argument of type wechaty.puppet.MomentPublishResponse');
1079
+ function serialize_wechaty_puppet_PostPayloadResponse(arg) {
1080
+ if (!(arg instanceof wechaty_puppet_post_pb.PostPayloadResponse)) {
1081
+ throw new Error('Expected argument of type wechaty.puppet.PostPayloadResponse');
1082
1082
  }
1083
1083
  return Buffer.from(arg.serializeBinary());
1084
1084
  }
1085
1085
 
1086
- function deserialize_wechaty_puppet_MomentPublishResponse(buffer_arg) {
1087
- return wechaty_puppet_moment_pb.MomentPublishResponse.deserializeBinary(new Uint8Array(buffer_arg));
1086
+ function deserialize_wechaty_puppet_PostPayloadResponse(buffer_arg) {
1087
+ return wechaty_puppet_post_pb.PostPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
1088
1088
  }
1089
1089
 
1090
- function serialize_wechaty_puppet_MomentSignatureRequest(arg) {
1091
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentSignatureRequest)) {
1092
- throw new Error('Expected argument of type wechaty.puppet.MomentSignatureRequest');
1090
+ function serialize_wechaty_puppet_PostPayloadSayableRequest(arg) {
1091
+ if (!(arg instanceof wechaty_puppet_post_pb.PostPayloadSayableRequest)) {
1092
+ throw new Error('Expected argument of type wechaty.puppet.PostPayloadSayableRequest');
1093
1093
  }
1094
1094
  return Buffer.from(arg.serializeBinary());
1095
1095
  }
1096
1096
 
1097
- function deserialize_wechaty_puppet_MomentSignatureRequest(buffer_arg) {
1098
- return wechaty_puppet_moment_pb.MomentSignatureRequest.deserializeBinary(new Uint8Array(buffer_arg));
1097
+ function deserialize_wechaty_puppet_PostPayloadSayableRequest(buffer_arg) {
1098
+ return wechaty_puppet_post_pb.PostPayloadSayableRequest.deserializeBinary(new Uint8Array(buffer_arg));
1099
1099
  }
1100
1100
 
1101
- function serialize_wechaty_puppet_MomentSignatureResponse(arg) {
1102
- if (!(arg instanceof wechaty_puppet_moment_pb.MomentSignatureResponse)) {
1103
- throw new Error('Expected argument of type wechaty.puppet.MomentSignatureResponse');
1101
+ function serialize_wechaty_puppet_PostPayloadSayableResponse(arg) {
1102
+ if (!(arg instanceof wechaty_puppet_post_pb.PostPayloadSayableResponse)) {
1103
+ throw new Error('Expected argument of type wechaty.puppet.PostPayloadSayableResponse');
1104
1104
  }
1105
1105
  return Buffer.from(arg.serializeBinary());
1106
1106
  }
1107
1107
 
1108
- function deserialize_wechaty_puppet_MomentSignatureResponse(buffer_arg) {
1109
- return wechaty_puppet_moment_pb.MomentSignatureResponse.deserializeBinary(new Uint8Array(buffer_arg));
1108
+ function deserialize_wechaty_puppet_PostPayloadSayableResponse(buffer_arg) {
1109
+ return wechaty_puppet_post_pb.PostPayloadSayableResponse.deserializeBinary(new Uint8Array(buffer_arg));
1110
1110
  }
1111
1111
 
1112
1112
  function serialize_wechaty_puppet_RoomAddRequest(arg) {
@@ -2636,7 +2636,7 @@ tagContactTagAdd: {
2636
2636
  },
2637
2637
  // *
2638
2638
  //
2639
- // Moment
2639
+ // Moment & Post
2640
2640
  //
2641
2641
  //
2642
2642
  momentPublish: {
@@ -2650,27 +2650,27 @@ momentPublish: {
2650
2650
  responseSerialize: serialize_wechaty_puppet_MomentPublishResponse,
2651
2651
  responseDeserialize: deserialize_wechaty_puppet_MomentPublishResponse,
2652
2652
  },
2653
- momentComment: {
2654
- path: '/wechaty.Puppet/momentComment',
2653
+ postComment: {
2654
+ path: '/wechaty.Puppet/postComment',
2655
2655
  requestStream: false,
2656
2656
  responseStream: false,
2657
- requestType: wechaty_puppet_moment_pb.MomentCommentRequest,
2658
- responseType: wechaty_puppet_moment_pb.MomentCommentResponse,
2659
- requestSerialize: serialize_wechaty_puppet_MomentCommentRequest,
2660
- requestDeserialize: deserialize_wechaty_puppet_MomentCommentRequest,
2661
- responseSerialize: serialize_wechaty_puppet_MomentCommentResponse,
2662
- responseDeserialize: deserialize_wechaty_puppet_MomentCommentResponse,
2657
+ requestType: wechaty_puppet_post_pb.PostCommentRequest,
2658
+ responseType: wechaty_puppet_post_pb.PostCommentResponse,
2659
+ requestSerialize: serialize_wechaty_puppet_PostCommentRequest,
2660
+ requestDeserialize: deserialize_wechaty_puppet_PostCommentRequest,
2661
+ responseSerialize: serialize_wechaty_puppet_PostCommentResponse,
2662
+ responseDeserialize: deserialize_wechaty_puppet_PostCommentResponse,
2663
2663
  },
2664
- momentLike: {
2665
- path: '/wechaty.Puppet/momentLike',
2664
+ postLike: {
2665
+ path: '/wechaty.Puppet/postLike',
2666
2666
  requestStream: false,
2667
2667
  responseStream: false,
2668
- requestType: wechaty_puppet_moment_pb.MomentLikeRequest,
2669
- responseType: wechaty_puppet_moment_pb.MomentLikeResponse,
2670
- requestSerialize: serialize_wechaty_puppet_MomentLikeRequest,
2671
- requestDeserialize: deserialize_wechaty_puppet_MomentLikeRequest,
2672
- responseSerialize: serialize_wechaty_puppet_MomentLikeResponse,
2673
- responseDeserialize: deserialize_wechaty_puppet_MomentLikeResponse,
2668
+ requestType: wechaty_puppet_post_pb.PostLikeRequest,
2669
+ responseType: wechaty_puppet_post_pb.PostLikeResponse,
2670
+ requestSerialize: serialize_wechaty_puppet_PostLikeRequest,
2671
+ requestDeserialize: deserialize_wechaty_puppet_PostLikeRequest,
2672
+ responseSerialize: serialize_wechaty_puppet_PostLikeResponse,
2673
+ responseDeserialize: deserialize_wechaty_puppet_PostLikeResponse,
2674
2674
  },
2675
2675
  momentSignature: {
2676
2676
  path: '/wechaty.Puppet/momentSignature',
@@ -2694,27 +2694,27 @@ momentPublish: {
2694
2694
  responseSerialize: serialize_wechaty_puppet_MomentCoverageResponse,
2695
2695
  responseDeserialize: deserialize_wechaty_puppet_MomentCoverageResponse,
2696
2696
  },
2697
- momentPayload: {
2698
- path: '/wechaty.Puppet/momentPayload',
2697
+ postPayload: {
2698
+ path: '/wechaty.Puppet/postPayload',
2699
2699
  requestStream: false,
2700
2700
  responseStream: false,
2701
- requestType: wechaty_puppet_moment_pb.MomentPayloadRequest,
2702
- responseType: wechaty_puppet_moment_pb.MomentPayloadResponse,
2703
- requestSerialize: serialize_wechaty_puppet_MomentPayloadRequest,
2704
- requestDeserialize: deserialize_wechaty_puppet_MomentPayloadRequest,
2705
- responseSerialize: serialize_wechaty_puppet_MomentPayloadResponse,
2706
- responseDeserialize: deserialize_wechaty_puppet_MomentPayloadResponse,
2701
+ requestType: wechaty_puppet_post_pb.PostPayloadRequest,
2702
+ responseType: wechaty_puppet_post_pb.PostPayloadResponse,
2703
+ requestSerialize: serialize_wechaty_puppet_PostPayloadRequest,
2704
+ requestDeserialize: deserialize_wechaty_puppet_PostPayloadRequest,
2705
+ responseSerialize: serialize_wechaty_puppet_PostPayloadResponse,
2706
+ responseDeserialize: deserialize_wechaty_puppet_PostPayloadResponse,
2707
2707
  },
2708
- momentPayloadSayable: {
2709
- path: '/wechaty.Puppet/momentPayloadSayable',
2708
+ postPayloadSayable: {
2709
+ path: '/wechaty.Puppet/postPayloadSayable',
2710
2710
  requestStream: false,
2711
2711
  responseStream: false,
2712
- requestType: wechaty_puppet_moment_pb.MomentPayloadSayableRequest,
2713
- responseType: wechaty_puppet_moment_pb.MomentPayloadSayableResponse,
2714
- requestSerialize: serialize_wechaty_puppet_MomentPayloadSayableRequest,
2715
- requestDeserialize: deserialize_wechaty_puppet_MomentPayloadSayableRequest,
2716
- responseSerialize: serialize_wechaty_puppet_MomentPayloadSayableResponse,
2717
- responseDeserialize: deserialize_wechaty_puppet_MomentPayloadSayableResponse,
2712
+ requestType: wechaty_puppet_post_pb.PostPayloadSayableRequest,
2713
+ responseType: wechaty_puppet_post_pb.PostPayloadSayableResponse,
2714
+ requestSerialize: serialize_wechaty_puppet_PostPayloadSayableRequest,
2715
+ requestDeserialize: deserialize_wechaty_puppet_PostPayloadSayableRequest,
2716
+ responseSerialize: serialize_wechaty_puppet_PostPayloadSayableResponse,
2717
+ responseDeserialize: deserialize_wechaty_puppet_PostPayloadSayableResponse,
2718
2718
  },
2719
2719
  // *
2720
2720
  // File/Blob download & upload