@juzi/wechaty-grpc 1.0.16 → 1.0.18

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 (104) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs +2 -0
  2. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +2 -0
  3. package/dist/cjs/out/wechaty/puppet/moment_grpc_pb.js +1 -0
  4. package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +300 -0
  5. package/dist/cjs/out/wechaty/puppet/moment_pb.js +2272 -0
  6. package/dist/cjs/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
  7. package/dist/cjs/out/wechaty/puppet/moment_pb_service.js +3 -0
  8. package/dist/cjs/out/wechaty/puppet/post_grpc_pb.js +1 -0
  9. package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +176 -0
  10. package/dist/cjs/out/wechaty/puppet/post_pb.js +1189 -0
  11. package/dist/cjs/out/wechaty/puppet/post_pb_service.d.ts +3 -0
  12. package/dist/cjs/out/wechaty/puppet/post_pb_service.js +3 -0
  13. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +3 -2
  14. package/dist/cjs/out/wechaty/puppet/tag_pb.js +3 -2
  15. package/dist/cjs/out/wechaty/puppet.openapi.yaml +288 -2
  16. package/dist/cjs/out/wechaty/puppet.swagger.json +446 -2
  17. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +121 -0
  18. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +238 -0
  19. package/dist/cjs/out/wechaty/puppet_pb.d.ts +2 -0
  20. package/dist/cjs/out/wechaty/puppet_pb.js +4 -0
  21. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +134 -0
  22. package/dist/cjs/out/wechaty/puppet_pb_service.js +281 -0
  23. package/dist/cjs/proto/wechaty/puppet/channel.proto +8 -8
  24. package/dist/cjs/proto/wechaty/puppet/contact.proto +29 -29
  25. package/dist/cjs/proto/wechaty/puppet/friendship.proto +14 -14
  26. package/dist/cjs/proto/wechaty/puppet/location.proto +5 -5
  27. package/dist/cjs/proto/wechaty/puppet/message.proto +42 -43
  28. package/dist/cjs/proto/wechaty/puppet/mini-program.proto +9 -9
  29. package/dist/cjs/proto/wechaty/puppet/moment.proto +66 -0
  30. package/dist/cjs/proto/wechaty/puppet/post.proto +57 -0
  31. package/dist/cjs/proto/wechaty/puppet/room-invitation.proto +8 -8
  32. package/dist/cjs/proto/wechaty/puppet/room-member.proto +4 -4
  33. package/dist/cjs/proto/wechaty/puppet/room.proto +11 -11
  34. package/dist/cjs/proto/wechaty/puppet/tag.proto +7 -6
  35. package/dist/cjs/proto/wechaty/puppet/url-link.proto +4 -4
  36. package/dist/cjs/proto/wechaty/puppet.proto +58 -0
  37. package/dist/cjs/src/package-json.js +2 -2
  38. package/dist/cjs/src/package-json.js.map +1 -1
  39. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  40. package/dist/cjs/tests/puppet-server-impl.js +35 -0
  41. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  42. package/dist/esm/commonjs/generated/puppet.cjs +2 -0
  43. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +2 -0
  44. package/dist/esm/out/wechaty/puppet/moment_grpc_pb.js +1 -0
  45. package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +300 -0
  46. package/dist/esm/out/wechaty/puppet/moment_pb.js +2272 -0
  47. package/dist/esm/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
  48. package/dist/esm/out/wechaty/puppet/moment_pb_service.js +3 -0
  49. package/dist/esm/out/wechaty/puppet/post_grpc_pb.js +1 -0
  50. package/dist/esm/out/wechaty/puppet/post_pb.d.ts +176 -0
  51. package/dist/esm/out/wechaty/puppet/post_pb.js +1189 -0
  52. package/dist/esm/out/wechaty/puppet/post_pb_service.d.ts +3 -0
  53. package/dist/esm/out/wechaty/puppet/post_pb_service.js +3 -0
  54. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +3 -2
  55. package/dist/esm/out/wechaty/puppet/tag_pb.js +3 -2
  56. package/dist/esm/out/wechaty/puppet.openapi.yaml +288 -2
  57. package/dist/esm/out/wechaty/puppet.swagger.json +446 -2
  58. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +121 -0
  59. package/dist/esm/out/wechaty/puppet_grpc_pb.js +238 -0
  60. package/dist/esm/out/wechaty/puppet_pb.d.ts +2 -0
  61. package/dist/esm/out/wechaty/puppet_pb.js +4 -0
  62. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +134 -0
  63. package/dist/esm/out/wechaty/puppet_pb_service.js +281 -0
  64. package/dist/esm/proto/wechaty/puppet/channel.proto +8 -8
  65. package/dist/esm/proto/wechaty/puppet/contact.proto +29 -29
  66. package/dist/esm/proto/wechaty/puppet/friendship.proto +14 -14
  67. package/dist/esm/proto/wechaty/puppet/location.proto +5 -5
  68. package/dist/esm/proto/wechaty/puppet/message.proto +42 -43
  69. package/dist/esm/proto/wechaty/puppet/mini-program.proto +9 -9
  70. package/dist/esm/proto/wechaty/puppet/moment.proto +66 -0
  71. package/dist/esm/proto/wechaty/puppet/post.proto +57 -0
  72. package/dist/esm/proto/wechaty/puppet/room-invitation.proto +8 -8
  73. package/dist/esm/proto/wechaty/puppet/room-member.proto +4 -4
  74. package/dist/esm/proto/wechaty/puppet/room.proto +11 -11
  75. package/dist/esm/proto/wechaty/puppet/tag.proto +7 -6
  76. package/dist/esm/proto/wechaty/puppet/url-link.proto +4 -4
  77. package/dist/esm/proto/wechaty/puppet.proto +58 -0
  78. package/dist/esm/src/package-json.js +2 -2
  79. package/dist/esm/src/package-json.js.map +1 -1
  80. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  81. package/dist/esm/tests/puppet-server-impl.js +35 -0
  82. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  83. package/out/wechaty/puppet/moment_grpc_pb.js +1 -0
  84. package/out/wechaty/puppet/moment_pb.d.ts +300 -0
  85. package/out/wechaty/puppet/moment_pb.js +2272 -0
  86. package/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
  87. package/out/wechaty/puppet/moment_pb_service.js +3 -0
  88. package/out/wechaty/puppet/post_grpc_pb.js +1 -0
  89. package/out/wechaty/puppet/post_pb.d.ts +176 -0
  90. package/out/wechaty/puppet/post_pb.js +1189 -0
  91. package/out/wechaty/puppet/post_pb_service.d.ts +3 -0
  92. package/out/wechaty/puppet/post_pb_service.js +3 -0
  93. package/out/wechaty/puppet/tag_pb.d.ts +3 -2
  94. package/out/wechaty/puppet/tag_pb.js +3 -2
  95. package/out/wechaty/puppet.openapi.yaml +288 -2
  96. package/out/wechaty/puppet.swagger.json +446 -2
  97. package/out/wechaty/puppet_grpc_pb.d.ts +121 -0
  98. package/out/wechaty/puppet_grpc_pb.js +238 -0
  99. package/out/wechaty/puppet_pb.d.ts +2 -0
  100. package/out/wechaty/puppet_pb.js +4 -0
  101. package/out/wechaty/puppet_pb_service.d.ts +134 -0
  102. package/out/wechaty/puppet_pb_service.js +281 -0
  103. package/package.json +1 -1
  104. package/src/package-json.ts +2 -2
@@ -28,6 +28,8 @@ var wechaty_puppet_room$member_pb = require('../wechaty/puppet/room-member_pb.js
28
28
  var wechaty_puppet_room_pb = require('../wechaty/puppet/room_pb.js');
29
29
  var wechaty_puppet_tag_pb = require('../wechaty/puppet/tag_pb.js');
30
30
  var wechaty_puppet_channel_pb = require('../wechaty/puppet/channel_pb.js');
31
+ var wechaty_puppet_post_pb = require('../wechaty/puppet/post_pb.js');
32
+ var wechaty_puppet_moment_pb = require('../wechaty/puppet/moment_pb.js');
31
33
 
32
34
  function serialize_wechaty_puppet_ContactAliasRequest(arg) {
33
35
  if (!(arg instanceof wechaty_puppet_contact_pb.ContactAliasRequest)) {
@@ -953,6 +955,160 @@ function deserialize_wechaty_puppet_MessageUrlResponse(buffer_arg) {
953
955
  return wechaty_puppet_message_pb.MessageUrlResponse.deserializeBinary(new Uint8Array(buffer_arg));
954
956
  }
955
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');
961
+ }
962
+ return Buffer.from(arg.serializeBinary());
963
+ }
964
+
965
+ function deserialize_wechaty_puppet_MomentCommentRequest(buffer_arg) {
966
+ return wechaty_puppet_moment_pb.MomentCommentRequest.deserializeBinary(new Uint8Array(buffer_arg));
967
+ }
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');
972
+ }
973
+ return Buffer.from(arg.serializeBinary());
974
+ }
975
+
976
+ function deserialize_wechaty_puppet_MomentCommentResponse(buffer_arg) {
977
+ return wechaty_puppet_moment_pb.MomentCommentResponse.deserializeBinary(new Uint8Array(buffer_arg));
978
+ }
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');
983
+ }
984
+ return Buffer.from(arg.serializeBinary());
985
+ }
986
+
987
+ function deserialize_wechaty_puppet_MomentCoverageRequest(buffer_arg) {
988
+ return wechaty_puppet_moment_pb.MomentCoverageRequest.deserializeBinary(new Uint8Array(buffer_arg));
989
+ }
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');
994
+ }
995
+ return Buffer.from(arg.serializeBinary());
996
+ }
997
+
998
+ function deserialize_wechaty_puppet_MomentCoverageResponse(buffer_arg) {
999
+ return wechaty_puppet_moment_pb.MomentCoverageResponse.deserializeBinary(new Uint8Array(buffer_arg));
1000
+ }
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');
1005
+ }
1006
+ return Buffer.from(arg.serializeBinary());
1007
+ }
1008
+
1009
+ function deserialize_wechaty_puppet_MomentLikeRequest(buffer_arg) {
1010
+ return wechaty_puppet_moment_pb.MomentLikeRequest.deserializeBinary(new Uint8Array(buffer_arg));
1011
+ }
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');
1016
+ }
1017
+ return Buffer.from(arg.serializeBinary());
1018
+ }
1019
+
1020
+ function deserialize_wechaty_puppet_MomentLikeResponse(buffer_arg) {
1021
+ return wechaty_puppet_moment_pb.MomentLikeResponse.deserializeBinary(new Uint8Array(buffer_arg));
1022
+ }
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');
1027
+ }
1028
+ return Buffer.from(arg.serializeBinary());
1029
+ }
1030
+
1031
+ function deserialize_wechaty_puppet_MomentPayloadRequest(buffer_arg) {
1032
+ return wechaty_puppet_moment_pb.MomentPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
1033
+ }
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');
1038
+ }
1039
+ return Buffer.from(arg.serializeBinary());
1040
+ }
1041
+
1042
+ function deserialize_wechaty_puppet_MomentPayloadResponse(buffer_arg) {
1043
+ return wechaty_puppet_moment_pb.MomentPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
1044
+ }
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');
1049
+ }
1050
+ return Buffer.from(arg.serializeBinary());
1051
+ }
1052
+
1053
+ function deserialize_wechaty_puppet_MomentPayloadSayableRequest(buffer_arg) {
1054
+ return wechaty_puppet_moment_pb.MomentPayloadSayableRequest.deserializeBinary(new Uint8Array(buffer_arg));
1055
+ }
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');
1060
+ }
1061
+ return Buffer.from(arg.serializeBinary());
1062
+ }
1063
+
1064
+ function deserialize_wechaty_puppet_MomentPayloadSayableResponse(buffer_arg) {
1065
+ return wechaty_puppet_moment_pb.MomentPayloadSayableResponse.deserializeBinary(new Uint8Array(buffer_arg));
1066
+ }
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');
1071
+ }
1072
+ return Buffer.from(arg.serializeBinary());
1073
+ }
1074
+
1075
+ function deserialize_wechaty_puppet_MomentPublishRequest(buffer_arg) {
1076
+ return wechaty_puppet_moment_pb.MomentPublishRequest.deserializeBinary(new Uint8Array(buffer_arg));
1077
+ }
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');
1082
+ }
1083
+ return Buffer.from(arg.serializeBinary());
1084
+ }
1085
+
1086
+ function deserialize_wechaty_puppet_MomentPublishResponse(buffer_arg) {
1087
+ return wechaty_puppet_moment_pb.MomentPublishResponse.deserializeBinary(new Uint8Array(buffer_arg));
1088
+ }
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');
1093
+ }
1094
+ return Buffer.from(arg.serializeBinary());
1095
+ }
1096
+
1097
+ function deserialize_wechaty_puppet_MomentSignatureRequest(buffer_arg) {
1098
+ return wechaty_puppet_moment_pb.MomentSignatureRequest.deserializeBinary(new Uint8Array(buffer_arg));
1099
+ }
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');
1104
+ }
1105
+ return Buffer.from(arg.serializeBinary());
1106
+ }
1107
+
1108
+ function deserialize_wechaty_puppet_MomentSignatureResponse(buffer_arg) {
1109
+ return wechaty_puppet_moment_pb.MomentSignatureResponse.deserializeBinary(new Uint8Array(buffer_arg));
1110
+ }
1111
+
956
1112
  function serialize_wechaty_puppet_RoomAddRequest(arg) {
957
1113
  if (!(arg instanceof wechaty_puppet_room_pb.RoomAddRequest)) {
958
1114
  throw new Error('Expected argument of type wechaty.puppet.RoomAddRequest');
@@ -2479,6 +2635,88 @@ tagContactTagAdd: {
2479
2635
  responseDeserialize: deserialize_wechaty_puppet_TagTagContactListResponse,
2480
2636
  },
2481
2637
  // *
2638
+ //
2639
+ // Moment
2640
+ //
2641
+ //
2642
+ momentPublish: {
2643
+ path: '/wechaty.Puppet/momentPublish',
2644
+ requestStream: false,
2645
+ responseStream: false,
2646
+ requestType: wechaty_puppet_moment_pb.MomentPublishRequest,
2647
+ responseType: wechaty_puppet_moment_pb.MomentPublishResponse,
2648
+ requestSerialize: serialize_wechaty_puppet_MomentPublishRequest,
2649
+ requestDeserialize: deserialize_wechaty_puppet_MomentPublishRequest,
2650
+ responseSerialize: serialize_wechaty_puppet_MomentPublishResponse,
2651
+ responseDeserialize: deserialize_wechaty_puppet_MomentPublishResponse,
2652
+ },
2653
+ momentComment: {
2654
+ path: '/wechaty.Puppet/momentComment',
2655
+ requestStream: false,
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,
2663
+ },
2664
+ momentLike: {
2665
+ path: '/wechaty.Puppet/momentLike',
2666
+ requestStream: false,
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,
2674
+ },
2675
+ momentSignature: {
2676
+ path: '/wechaty.Puppet/momentSignature',
2677
+ requestStream: false,
2678
+ responseStream: false,
2679
+ requestType: wechaty_puppet_moment_pb.MomentSignatureRequest,
2680
+ responseType: wechaty_puppet_moment_pb.MomentSignatureResponse,
2681
+ requestSerialize: serialize_wechaty_puppet_MomentSignatureRequest,
2682
+ requestDeserialize: deserialize_wechaty_puppet_MomentSignatureRequest,
2683
+ responseSerialize: serialize_wechaty_puppet_MomentSignatureResponse,
2684
+ responseDeserialize: deserialize_wechaty_puppet_MomentSignatureResponse,
2685
+ },
2686
+ momentCoverage: {
2687
+ path: '/wechaty.Puppet/momentCoverage',
2688
+ requestStream: false,
2689
+ responseStream: false,
2690
+ requestType: wechaty_puppet_moment_pb.MomentCoverageRequest,
2691
+ responseType: wechaty_puppet_moment_pb.MomentCoverageResponse,
2692
+ requestSerialize: serialize_wechaty_puppet_MomentCoverageRequest,
2693
+ requestDeserialize: deserialize_wechaty_puppet_MomentCoverageRequest,
2694
+ responseSerialize: serialize_wechaty_puppet_MomentCoverageResponse,
2695
+ responseDeserialize: deserialize_wechaty_puppet_MomentCoverageResponse,
2696
+ },
2697
+ momentPayload: {
2698
+ path: '/wechaty.Puppet/momentPayload',
2699
+ requestStream: false,
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,
2707
+ },
2708
+ momentPayloadSayable: {
2709
+ path: '/wechaty.Puppet/momentPayloadSayable',
2710
+ requestStream: false,
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,
2718
+ },
2719
+ // *
2482
2720
  // File/Blob download & upload
2483
2721
  download: {
2484
2722
  path: '/wechaty.Puppet/Download',
@@ -16,4 +16,6 @@ import * as wechaty_puppet_room_member_pb from "../wechaty/puppet/room-member_pb
16
16
  import * as wechaty_puppet_room_pb from "../wechaty/puppet/room_pb";
17
17
  import * as wechaty_puppet_tag_pb from "../wechaty/puppet/tag_pb";
18
18
  import * as wechaty_puppet_channel_pb from "../wechaty/puppet/channel_pb";
19
+ import * as wechaty_puppet_post_pb from "../wechaty/puppet/post_pb";
20
+ import * as wechaty_puppet_moment_pb from "../wechaty/puppet/moment_pb";
19
21
 
@@ -43,3 +43,7 @@ var wechaty_puppet_tag_pb = require('../wechaty/puppet/tag_pb.js');
43
43
  goog.object.extend(proto, wechaty_puppet_tag_pb);
44
44
  var wechaty_puppet_channel_pb = require('../wechaty/puppet/channel_pb.js');
45
45
  goog.object.extend(proto, wechaty_puppet_channel_pb);
46
+ var wechaty_puppet_post_pb = require('../wechaty/puppet/post_pb.js');
47
+ goog.object.extend(proto, wechaty_puppet_post_pb);
48
+ var wechaty_puppet_moment_pb = require('../wechaty/puppet/moment_pb.js');
49
+ goog.object.extend(proto, wechaty_puppet_moment_pb);
@@ -13,6 +13,7 @@ import * as wechaty_puppet_room_invitation_pb from "../wechaty/puppet/room-invit
13
13
  import * as wechaty_puppet_room_member_pb from "../wechaty/puppet/room-member_pb";
14
14
  import * as wechaty_puppet_room_pb from "../wechaty/puppet/room_pb";
15
15
  import * as wechaty_puppet_tag_pb from "../wechaty/puppet/tag_pb";
16
+ import * as wechaty_puppet_moment_pb from "../wechaty/puppet/moment_pb";
16
17
  import {grpc} from "@improbable-eng/grpc-web";
17
18
 
18
19
  type PuppetMessageFileStream = {
@@ -663,6 +664,69 @@ type PuppetTagTagContactList = {
663
664
  readonly responseType: typeof wechaty_puppet_tag_pb.TagTagContactListResponse;
664
665
  };
665
666
 
667
+ type PuppetmomentPublish = {
668
+ readonly methodName: string;
669
+ readonly service: typeof Puppet;
670
+ readonly requestStream: false;
671
+ readonly responseStream: false;
672
+ readonly requestType: typeof wechaty_puppet_moment_pb.MomentPublishRequest;
673
+ readonly responseType: typeof wechaty_puppet_moment_pb.MomentPublishResponse;
674
+ };
675
+
676
+ type PuppetmomentComment = {
677
+ readonly methodName: string;
678
+ readonly service: typeof Puppet;
679
+ readonly requestStream: false;
680
+ readonly responseStream: false;
681
+ readonly requestType: typeof wechaty_puppet_moment_pb.MomentCommentRequest;
682
+ readonly responseType: typeof wechaty_puppet_moment_pb.MomentCommentResponse;
683
+ };
684
+
685
+ type PuppetmomentLike = {
686
+ readonly methodName: string;
687
+ readonly service: typeof Puppet;
688
+ readonly requestStream: false;
689
+ readonly responseStream: false;
690
+ readonly requestType: typeof wechaty_puppet_moment_pb.MomentLikeRequest;
691
+ readonly responseType: typeof wechaty_puppet_moment_pb.MomentLikeResponse;
692
+ };
693
+
694
+ type PuppetmomentSignature = {
695
+ readonly methodName: string;
696
+ readonly service: typeof Puppet;
697
+ readonly requestStream: false;
698
+ readonly responseStream: false;
699
+ readonly requestType: typeof wechaty_puppet_moment_pb.MomentSignatureRequest;
700
+ readonly responseType: typeof wechaty_puppet_moment_pb.MomentSignatureResponse;
701
+ };
702
+
703
+ type PuppetmomentCoverage = {
704
+ readonly methodName: string;
705
+ readonly service: typeof Puppet;
706
+ readonly requestStream: false;
707
+ readonly responseStream: false;
708
+ readonly requestType: typeof wechaty_puppet_moment_pb.MomentCoverageRequest;
709
+ readonly responseType: typeof wechaty_puppet_moment_pb.MomentCoverageResponse;
710
+ };
711
+
712
+ type PuppetmomentPayload = {
713
+ readonly methodName: string;
714
+ readonly service: typeof Puppet;
715
+ readonly requestStream: false;
716
+ readonly responseStream: false;
717
+ readonly requestType: typeof wechaty_puppet_moment_pb.MomentPayloadRequest;
718
+ readonly responseType: typeof wechaty_puppet_moment_pb.MomentPayloadResponse;
719
+ };
720
+
721
+ type PuppetmomentPayloadSayable = {
722
+ readonly methodName: string;
723
+ readonly service: typeof Puppet;
724
+ readonly requestStream: false;
725
+ readonly responseStream: false;
726
+ readonly requestType: typeof wechaty_puppet_moment_pb.MomentPayloadSayableRequest;
727
+ readonly responseType: typeof wechaty_puppet_moment_pb.MomentPayloadSayableResponse;
728
+ };
729
+
666
730
  type PuppetDownload = {
667
731
  readonly methodName: string;
668
732
  readonly service: typeof Puppet;
@@ -755,6 +819,13 @@ export class Puppet {
755
819
  static readonly TagTagList: PuppetTagTagList;
756
820
  static readonly TagContactTagList: PuppetTagContactTagList;
757
821
  static readonly TagTagContactList: PuppetTagTagContactList;
822
+ static readonly momentPublish: PuppetmomentPublish;
823
+ static readonly momentComment: PuppetmomentComment;
824
+ static readonly momentLike: PuppetmomentLike;
825
+ static readonly momentSignature: PuppetmomentSignature;
826
+ static readonly momentCoverage: PuppetmomentCoverage;
827
+ static readonly momentPayload: PuppetmomentPayload;
828
+ static readonly momentPayloadSayable: PuppetmomentPayloadSayable;
758
829
  static readonly Download: PuppetDownload;
759
830
  static readonly Upload: PuppetUpload;
760
831
  }
@@ -1407,6 +1478,69 @@ export class PuppetClient {
1407
1478
  requestMessage: wechaty_puppet_tag_pb.TagTagContactListRequest,
1408
1479
  callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagTagContactListResponse|null) => void
1409
1480
  ): UnaryResponse;
1481
+ momentPublish(
1482
+ requestMessage: wechaty_puppet_moment_pb.MomentPublishRequest,
1483
+ metadata: grpc.Metadata,
1484
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentPublishResponse|null) => void
1485
+ ): UnaryResponse;
1486
+ momentPublish(
1487
+ requestMessage: wechaty_puppet_moment_pb.MomentPublishRequest,
1488
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentPublishResponse|null) => void
1489
+ ): UnaryResponse;
1490
+ momentComment(
1491
+ requestMessage: wechaty_puppet_moment_pb.MomentCommentRequest,
1492
+ metadata: grpc.Metadata,
1493
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentCommentResponse|null) => void
1494
+ ): UnaryResponse;
1495
+ momentComment(
1496
+ requestMessage: wechaty_puppet_moment_pb.MomentCommentRequest,
1497
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentCommentResponse|null) => void
1498
+ ): UnaryResponse;
1499
+ momentLike(
1500
+ requestMessage: wechaty_puppet_moment_pb.MomentLikeRequest,
1501
+ metadata: grpc.Metadata,
1502
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentLikeResponse|null) => void
1503
+ ): UnaryResponse;
1504
+ momentLike(
1505
+ requestMessage: wechaty_puppet_moment_pb.MomentLikeRequest,
1506
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentLikeResponse|null) => void
1507
+ ): UnaryResponse;
1508
+ momentSignature(
1509
+ requestMessage: wechaty_puppet_moment_pb.MomentSignatureRequest,
1510
+ metadata: grpc.Metadata,
1511
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentSignatureResponse|null) => void
1512
+ ): UnaryResponse;
1513
+ momentSignature(
1514
+ requestMessage: wechaty_puppet_moment_pb.MomentSignatureRequest,
1515
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentSignatureResponse|null) => void
1516
+ ): UnaryResponse;
1517
+ momentCoverage(
1518
+ requestMessage: wechaty_puppet_moment_pb.MomentCoverageRequest,
1519
+ metadata: grpc.Metadata,
1520
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentCoverageResponse|null) => void
1521
+ ): UnaryResponse;
1522
+ momentCoverage(
1523
+ requestMessage: wechaty_puppet_moment_pb.MomentCoverageRequest,
1524
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentCoverageResponse|null) => void
1525
+ ): UnaryResponse;
1526
+ momentPayload(
1527
+ requestMessage: wechaty_puppet_moment_pb.MomentPayloadRequest,
1528
+ metadata: grpc.Metadata,
1529
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentPayloadResponse|null) => void
1530
+ ): UnaryResponse;
1531
+ momentPayload(
1532
+ requestMessage: wechaty_puppet_moment_pb.MomentPayloadRequest,
1533
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentPayloadResponse|null) => void
1534
+ ): UnaryResponse;
1535
+ momentPayloadSayable(
1536
+ requestMessage: wechaty_puppet_moment_pb.MomentPayloadSayableRequest,
1537
+ metadata: grpc.Metadata,
1538
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentPayloadSayableResponse|null) => void
1539
+ ): UnaryResponse;
1540
+ momentPayloadSayable(
1541
+ requestMessage: wechaty_puppet_moment_pb.MomentPayloadSayableRequest,
1542
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_moment_pb.MomentPayloadSayableResponse|null) => void
1543
+ ): UnaryResponse;
1410
1544
  download(requestMessage: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata): ResponseStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
1411
1545
  upload(metadata?: grpc.Metadata): RequestStream<wechaty_puppet_download_upload_pb.UploadRequest>;
1412
1546
  }