@juzi/wechaty-grpc 1.0.29 → 1.0.31

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 (32) hide show
  1. package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +25 -0
  2. package/dist/cjs/out/wechaty/puppet/post_pb.js +206 -4
  3. package/dist/cjs/out/wechaty/puppet.openapi.yaml +19 -7
  4. package/dist/cjs/out/wechaty/puppet.swagger.json +25 -7
  5. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +0 -102
  6. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +1 -67
  7. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +0 -114
  8. package/dist/cjs/out/wechaty/puppet_pb_service.js +0 -240
  9. package/dist/cjs/proto/wechaty/puppet/post.proto +9 -0
  10. package/dist/cjs/proto/wechaty/puppet.proto +0 -42
  11. package/dist/cjs/src/package-json.js +1 -1
  12. package/dist/esm/out/wechaty/puppet/post_pb.d.ts +25 -0
  13. package/dist/esm/out/wechaty/puppet/post_pb.js +206 -4
  14. package/dist/esm/out/wechaty/puppet.openapi.yaml +19 -7
  15. package/dist/esm/out/wechaty/puppet.swagger.json +25 -7
  16. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +0 -102
  17. package/dist/esm/out/wechaty/puppet_grpc_pb.js +1 -67
  18. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +0 -114
  19. package/dist/esm/out/wechaty/puppet_pb_service.js +0 -240
  20. package/dist/esm/proto/wechaty/puppet/post.proto +9 -0
  21. package/dist/esm/proto/wechaty/puppet.proto +0 -42
  22. package/dist/esm/src/package-json.js +1 -1
  23. package/out/wechaty/puppet/post_pb.d.ts +25 -0
  24. package/out/wechaty/puppet/post_pb.js +206 -4
  25. package/out/wechaty/puppet.openapi.yaml +19 -7
  26. package/out/wechaty/puppet.swagger.json +25 -7
  27. package/out/wechaty/puppet_grpc_pb.d.ts +0 -102
  28. package/out/wechaty/puppet_grpc_pb.js +1 -67
  29. package/out/wechaty/puppet_pb_service.d.ts +0 -114
  30. package/out/wechaty/puppet_pb_service.js +0 -240
  31. package/package.json +1 -1
  32. package/src/package-json.ts +1 -1
@@ -5,6 +5,7 @@ import * as jspb from "google-protobuf";
5
5
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
6
6
  import * as wechaty_puppet_url_link_pb from "../../wechaty/puppet/url-link_pb";
7
7
  import * as wechaty_puppet_channel_pb from "../../wechaty/puppet/channel_pb";
8
+ import * as wechaty_puppet_location_pb from "../../wechaty/puppet/location_pb";
8
9
 
9
10
  export class PostSayable extends jspb.Message {
10
11
  getType(): SayableTypeMap[keyof SayableTypeMap];
@@ -71,6 +72,16 @@ export class PostPayloadClient extends jspb.Message {
71
72
  setSayableListList(value: Array<PostSayable>): void;
72
73
  addSayableList(value?: PostSayable, index?: number): PostSayable;
73
74
 
75
+ clearVisibleListList(): void;
76
+ getVisibleListList(): Array<string>;
77
+ setVisibleListList(value: Array<string>): void;
78
+ addVisibleList(value: string, index?: number): string;
79
+
80
+ hasLocation(): boolean;
81
+ clearLocation(): void;
82
+ getLocation(): wechaty_puppet_location_pb.LocationPayload | undefined;
83
+ setLocation(value?: wechaty_puppet_location_pb.LocationPayload): void;
84
+
74
85
  serializeBinary(): Uint8Array;
75
86
  toObject(includeInstance?: boolean): PostPayloadClient.AsObject;
76
87
  static toObject(includeInstance: boolean, msg: PostPayloadClient): PostPayloadClient.AsObject;
@@ -87,6 +98,8 @@ export namespace PostPayloadClient {
87
98
  rootId: string,
88
99
  type: PostTypeMap[keyof PostTypeMap],
89
100
  sayableListList: Array<PostSayable.AsObject>,
101
+ visibleListList: Array<string>,
102
+ location?: wechaty_puppet_location_pb.LocationPayload.AsObject,
90
103
  }
91
104
  }
92
105
 
@@ -122,6 +135,16 @@ export class PostPayloadServer extends jspb.Message {
122
135
  getLike(): number;
123
136
  setLike(value: number): void;
124
137
 
138
+ clearVisibleListList(): void;
139
+ getVisibleListList(): Array<string>;
140
+ setVisibleListList(value: Array<string>): void;
141
+ addVisibleList(value: string, index?: number): string;
142
+
143
+ hasLocation(): boolean;
144
+ clearLocation(): void;
145
+ getLocation(): wechaty_puppet_location_pb.LocationPayload | undefined;
146
+ setLocation(value?: wechaty_puppet_location_pb.LocationPayload): void;
147
+
125
148
  serializeBinary(): Uint8Array;
126
149
  toObject(includeInstance?: boolean): PostPayloadServer.AsObject;
127
150
  static toObject(includeInstance: boolean, msg: PostPayloadServer): PostPayloadServer.AsObject;
@@ -143,6 +166,8 @@ export namespace PostPayloadServer {
143
166
  children: number,
144
167
  descendant: number,
145
168
  like: number,
169
+ visibleListList: Array<string>,
170
+ location?: wechaty_puppet_location_pb.LocationPayload.AsObject,
146
171
  }
147
172
  }
148
173
 
@@ -21,6 +21,8 @@ var wechaty_puppet_url$link_pb = require('../../wechaty/puppet/url-link_pb.js');
21
21
  goog.object.extend(proto, wechaty_puppet_url$link_pb);
22
22
  var wechaty_puppet_channel_pb = require('../../wechaty/puppet/channel_pb.js');
23
23
  goog.object.extend(proto, wechaty_puppet_channel_pb);
24
+ var wechaty_puppet_location_pb = require('../../wechaty/puppet/location_pb.js');
25
+ goog.object.extend(proto, wechaty_puppet_location_pb);
24
26
  goog.exportSymbol('proto.wechaty.puppet.PostLikeResponse', null, global);
25
27
  goog.exportSymbol('proto.wechaty.puppet.PostPayloadClient', null, global);
26
28
  goog.exportSymbol('proto.wechaty.puppet.PostPayloadRequest', null, global);
@@ -628,7 +630,7 @@ proto.wechaty.puppet.PostSayable.prototype.clearMentionIdListList = function() {
628
630
  * @private {!Array<number>}
629
631
  * @const
630
632
  */
631
- proto.wechaty.puppet.PostPayloadClient.repeatedFields_ = [4];
633
+ proto.wechaty.puppet.PostPayloadClient.repeatedFields_ = [4,5];
632
634
 
633
635
 
634
636
 
@@ -665,7 +667,9 @@ proto.wechaty.puppet.PostPayloadClient.toObject = function(includeInstance, msg)
665
667
  rootId: jspb.Message.getFieldWithDefault(msg, 2, ""),
666
668
  type: jspb.Message.getFieldWithDefault(msg, 3, 0),
667
669
  sayableListList: jspb.Message.toObjectList(msg.getSayableListList(),
668
- proto.wechaty.puppet.PostSayable.toObject, includeInstance)
670
+ proto.wechaty.puppet.PostSayable.toObject, includeInstance),
671
+ visibleListList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
672
+ location: (f = msg.getLocation()) && wechaty_puppet_location_pb.LocationPayload.toObject(includeInstance, f)
669
673
  };
670
674
 
671
675
  if (includeInstance) {
@@ -719,6 +723,15 @@ proto.wechaty.puppet.PostPayloadClient.deserializeBinaryFromReader = function(ms
719
723
  reader.readMessage(value,proto.wechaty.puppet.PostSayable.deserializeBinaryFromReader);
720
724
  msg.addSayableList(value);
721
725
  break;
726
+ case 5:
727
+ var value = /** @type {string} */ (reader.readString());
728
+ msg.addVisibleList(value);
729
+ break;
730
+ case 6:
731
+ var value = new wechaty_puppet_location_pb.LocationPayload;
732
+ reader.readMessage(value,wechaty_puppet_location_pb.LocationPayload.deserializeBinaryFromReader);
733
+ msg.setLocation(value);
734
+ break;
722
735
  default:
723
736
  reader.skipField();
724
737
  break;
@@ -777,6 +790,21 @@ proto.wechaty.puppet.PostPayloadClient.serializeBinaryToWriter = function(messag
777
790
  proto.wechaty.puppet.PostSayable.serializeBinaryToWriter
778
791
  );
779
792
  }
793
+ f = message.getVisibleListList();
794
+ if (f.length > 0) {
795
+ writer.writeRepeatedString(
796
+ 5,
797
+ f
798
+ );
799
+ }
800
+ f = message.getLocation();
801
+ if (f != null) {
802
+ writer.writeMessage(
803
+ 6,
804
+ f,
805
+ wechaty_puppet_location_pb.LocationPayload.serializeBinaryToWriter
806
+ );
807
+ }
780
808
  };
781
809
 
782
810
 
@@ -872,13 +900,87 @@ proto.wechaty.puppet.PostPayloadClient.prototype.clearSayableListList = function
872
900
  };
873
901
 
874
902
 
903
+ /**
904
+ * repeated string visible_List = 5;
905
+ * @return {!Array<string>}
906
+ */
907
+ proto.wechaty.puppet.PostPayloadClient.prototype.getVisibleListList = function() {
908
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
909
+ };
910
+
911
+
912
+ /**
913
+ * @param {!Array<string>} value
914
+ * @return {!proto.wechaty.puppet.PostPayloadClient} returns this
915
+ */
916
+ proto.wechaty.puppet.PostPayloadClient.prototype.setVisibleListList = function(value) {
917
+ return jspb.Message.setField(this, 5, value || []);
918
+ };
919
+
920
+
921
+ /**
922
+ * @param {string} value
923
+ * @param {number=} opt_index
924
+ * @return {!proto.wechaty.puppet.PostPayloadClient} returns this
925
+ */
926
+ proto.wechaty.puppet.PostPayloadClient.prototype.addVisibleList = function(value, opt_index) {
927
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
928
+ };
929
+
930
+
931
+ /**
932
+ * Clears the list making it empty but non-null.
933
+ * @return {!proto.wechaty.puppet.PostPayloadClient} returns this
934
+ */
935
+ proto.wechaty.puppet.PostPayloadClient.prototype.clearVisibleListList = function() {
936
+ return this.setVisibleListList([]);
937
+ };
938
+
939
+
940
+ /**
941
+ * optional LocationPayload location = 6;
942
+ * @return {?proto.wechaty.puppet.LocationPayload}
943
+ */
944
+ proto.wechaty.puppet.PostPayloadClient.prototype.getLocation = function() {
945
+ return /** @type{?proto.wechaty.puppet.LocationPayload} */ (
946
+ jspb.Message.getWrapperField(this, wechaty_puppet_location_pb.LocationPayload, 6));
947
+ };
948
+
949
+
950
+ /**
951
+ * @param {?proto.wechaty.puppet.LocationPayload|undefined} value
952
+ * @return {!proto.wechaty.puppet.PostPayloadClient} returns this
953
+ */
954
+ proto.wechaty.puppet.PostPayloadClient.prototype.setLocation = function(value) {
955
+ return jspb.Message.setWrapperField(this, 6, value);
956
+ };
957
+
958
+
959
+ /**
960
+ * Clears the message field making it undefined.
961
+ * @return {!proto.wechaty.puppet.PostPayloadClient} returns this
962
+ */
963
+ proto.wechaty.puppet.PostPayloadClient.prototype.clearLocation = function() {
964
+ return this.setLocation(undefined);
965
+ };
966
+
967
+
968
+ /**
969
+ * Returns whether this field is set.
970
+ * @return {boolean}
971
+ */
972
+ proto.wechaty.puppet.PostPayloadClient.prototype.hasLocation = function() {
973
+ return jspb.Message.getField(this, 6) != null;
974
+ };
975
+
976
+
875
977
 
876
978
  /**
877
979
  * List of repeated fields within this message type.
878
980
  * @private {!Array<number>}
879
981
  * @const
880
982
  */
881
- proto.wechaty.puppet.PostPayloadServer.repeatedFields_ = [4];
983
+ proto.wechaty.puppet.PostPayloadServer.repeatedFields_ = [4,16];
882
984
 
883
985
 
884
986
 
@@ -920,7 +1022,9 @@ proto.wechaty.puppet.PostPayloadServer.toObject = function(includeInstance, msg)
920
1022
  timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
921
1023
  children: jspb.Message.getFieldWithDefault(msg, 7, 0),
922
1024
  descendant: jspb.Message.getFieldWithDefault(msg, 8, 0),
923
- like: jspb.Message.getFieldWithDefault(msg, 9, 0)
1025
+ like: jspb.Message.getFieldWithDefault(msg, 9, 0),
1026
+ visibleListList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
1027
+ location: (f = msg.getLocation()) && wechaty_puppet_location_pb.LocationPayload.toObject(includeInstance, f)
924
1028
  };
925
1029
 
926
1030
  if (includeInstance) {
@@ -995,6 +1099,15 @@ proto.wechaty.puppet.PostPayloadServer.deserializeBinaryFromReader = function(ms
995
1099
  var value = /** @type {number} */ (reader.readInt32());
996
1100
  msg.setLike(value);
997
1101
  break;
1102
+ case 16:
1103
+ var value = /** @type {string} */ (reader.readString());
1104
+ msg.addVisibleList(value);
1105
+ break;
1106
+ case 17:
1107
+ var value = new wechaty_puppet_location_pb.LocationPayload;
1108
+ reader.readMessage(value,wechaty_puppet_location_pb.LocationPayload.deserializeBinaryFromReader);
1109
+ msg.setLocation(value);
1110
+ break;
998
1111
  default:
999
1112
  reader.skipField();
1000
1113
  break;
@@ -1089,6 +1202,21 @@ proto.wechaty.puppet.PostPayloadServer.serializeBinaryToWriter = function(messag
1089
1202
  f
1090
1203
  );
1091
1204
  }
1205
+ f = message.getVisibleListList();
1206
+ if (f.length > 0) {
1207
+ writer.writeRepeatedString(
1208
+ 16,
1209
+ f
1210
+ );
1211
+ }
1212
+ f = message.getLocation();
1213
+ if (f != null) {
1214
+ writer.writeMessage(
1215
+ 17,
1216
+ f,
1217
+ wechaty_puppet_location_pb.LocationPayload.serializeBinaryToWriter
1218
+ );
1219
+ }
1092
1220
  };
1093
1221
 
1094
1222
 
@@ -1293,6 +1421,80 @@ proto.wechaty.puppet.PostPayloadServer.prototype.setLike = function(value) {
1293
1421
  };
1294
1422
 
1295
1423
 
1424
+ /**
1425
+ * repeated string visible_List = 16;
1426
+ * @return {!Array<string>}
1427
+ */
1428
+ proto.wechaty.puppet.PostPayloadServer.prototype.getVisibleListList = function() {
1429
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 16));
1430
+ };
1431
+
1432
+
1433
+ /**
1434
+ * @param {!Array<string>} value
1435
+ * @return {!proto.wechaty.puppet.PostPayloadServer} returns this
1436
+ */
1437
+ proto.wechaty.puppet.PostPayloadServer.prototype.setVisibleListList = function(value) {
1438
+ return jspb.Message.setField(this, 16, value || []);
1439
+ };
1440
+
1441
+
1442
+ /**
1443
+ * @param {string} value
1444
+ * @param {number=} opt_index
1445
+ * @return {!proto.wechaty.puppet.PostPayloadServer} returns this
1446
+ */
1447
+ proto.wechaty.puppet.PostPayloadServer.prototype.addVisibleList = function(value, opt_index) {
1448
+ return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
1449
+ };
1450
+
1451
+
1452
+ /**
1453
+ * Clears the list making it empty but non-null.
1454
+ * @return {!proto.wechaty.puppet.PostPayloadServer} returns this
1455
+ */
1456
+ proto.wechaty.puppet.PostPayloadServer.prototype.clearVisibleListList = function() {
1457
+ return this.setVisibleListList([]);
1458
+ };
1459
+
1460
+
1461
+ /**
1462
+ * optional LocationPayload location = 17;
1463
+ * @return {?proto.wechaty.puppet.LocationPayload}
1464
+ */
1465
+ proto.wechaty.puppet.PostPayloadServer.prototype.getLocation = function() {
1466
+ return /** @type{?proto.wechaty.puppet.LocationPayload} */ (
1467
+ jspb.Message.getWrapperField(this, wechaty_puppet_location_pb.LocationPayload, 17));
1468
+ };
1469
+
1470
+
1471
+ /**
1472
+ * @param {?proto.wechaty.puppet.LocationPayload|undefined} value
1473
+ * @return {!proto.wechaty.puppet.PostPayloadServer} returns this
1474
+ */
1475
+ proto.wechaty.puppet.PostPayloadServer.prototype.setLocation = function(value) {
1476
+ return jspb.Message.setWrapperField(this, 17, value);
1477
+ };
1478
+
1479
+
1480
+ /**
1481
+ * Clears the message field making it undefined.
1482
+ * @return {!proto.wechaty.puppet.PostPayloadServer} returns this
1483
+ */
1484
+ proto.wechaty.puppet.PostPayloadServer.prototype.clearLocation = function() {
1485
+ return this.setLocation(undefined);
1486
+ };
1487
+
1488
+
1489
+ /**
1490
+ * Returns whether this field is set.
1491
+ * @return {boolean}
1492
+ */
1493
+ proto.wechaty.puppet.PostPayloadServer.prototype.hasLocation = function() {
1494
+ return jspb.Message.getField(this, 17) != null;
1495
+ };
1496
+
1497
+
1296
1498
 
1297
1499
 
1298
1500
 
@@ -9,7 +9,7 @@ info:
9
9
 
10
10
  Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
11
  top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
- version: 1.0.29
12
+ version: 1.0.31
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -1056,7 +1056,7 @@ paths:
1056
1056
  - Puppet
1057
1057
  /moment/coverage:
1058
1058
  post:
1059
- operationId: Puppet_MomentCoverage
1059
+ operationId: Puppet_momentCoverage
1060
1060
  responses:
1061
1061
  '200':
1062
1062
  description: A successful response.
@@ -1076,7 +1076,7 @@ paths:
1076
1076
  - Puppet
1077
1077
  /moment/publish:
1078
1078
  post:
1079
- operationId: Puppet_MomentPublish
1079
+ operationId: Puppet_momentPublish
1080
1080
  responses:
1081
1081
  '200':
1082
1082
  description: A successful response.
@@ -1096,7 +1096,7 @@ paths:
1096
1096
  - Puppet
1097
1097
  /moment/signature:
1098
1098
  post:
1099
- operationId: Puppet_MomentSignature
1099
+ operationId: Puppet_momentSignature
1100
1100
  responses:
1101
1101
  '200':
1102
1102
  description: A successful response.
@@ -1130,7 +1130,7 @@ paths:
1130
1130
  - Puppet
1131
1131
  /post/like:
1132
1132
  post:
1133
- operationId: Puppet_PostTap
1133
+ operationId: Puppet_postTap
1134
1134
  responses:
1135
1135
  '200':
1136
1136
  description: A successful response.
@@ -1150,7 +1150,7 @@ paths:
1150
1150
  - Puppet
1151
1151
  /post/payload:
1152
1152
  post:
1153
- operationId: Puppet_PostPayload
1153
+ operationId: Puppet_postPayload
1154
1154
  responses:
1155
1155
  '200':
1156
1156
  description: A successful response.
@@ -1170,7 +1170,7 @@ paths:
1170
1170
  - Puppet
1171
1171
  /post/sayable:
1172
1172
  post:
1173
- operationId: Puppet_PostPayloadSayable
1173
+ operationId: Puppet_postPayloadSayable
1174
1174
  responses:
1175
1175
  '200':
1176
1176
  description: A successful response.
@@ -2897,6 +2897,12 @@ definitions:
2897
2897
  type: array
2898
2898
  items:
2899
2899
  $ref: '#/definitions/puppetPostSayable'
2900
+ visibleList:
2901
+ type: array
2902
+ items:
2903
+ type: string
2904
+ location:
2905
+ $ref: '#/definitions/puppetLocationPayload'
2900
2906
  puppetPostPayloadRequest:
2901
2907
  type: object
2902
2908
  properties:
@@ -2949,6 +2955,12 @@ definitions:
2949
2955
  like:
2950
2956
  type: integer
2951
2957
  format: int32
2958
+ visibleList:
2959
+ type: array
2960
+ items:
2961
+ type: string
2962
+ location:
2963
+ $ref: '#/definitions/puppetLocationPayload'
2952
2964
  puppetPostSayable:
2953
2965
  type: object
2954
2966
  properties:
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Wechaty Puppet Service OpenAPI Specification",
5
5
  "description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
6
- "version": "1.0.29",
6
+ "version": "1.0.31",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -1555,7 +1555,7 @@
1555
1555
  },
1556
1556
  "/moment/coverage": {
1557
1557
  "post": {
1558
- "operationId": "Puppet_MomentCoverage",
1558
+ "operationId": "Puppet_momentCoverage",
1559
1559
  "responses": {
1560
1560
  "200": {
1561
1561
  "description": "A successful response.",
@@ -1587,7 +1587,7 @@
1587
1587
  },
1588
1588
  "/moment/publish": {
1589
1589
  "post": {
1590
- "operationId": "Puppet_MomentPublish",
1590
+ "operationId": "Puppet_momentPublish",
1591
1591
  "responses": {
1592
1592
  "200": {
1593
1593
  "description": "A successful response.",
@@ -1619,7 +1619,7 @@
1619
1619
  },
1620
1620
  "/moment/signature": {
1621
1621
  "post": {
1622
- "operationId": "Puppet_MomentSignature",
1622
+ "operationId": "Puppet_momentSignature",
1623
1623
  "responses": {
1624
1624
  "200": {
1625
1625
  "description": "A successful response.",
@@ -1673,7 +1673,7 @@
1673
1673
  },
1674
1674
  "/post/like": {
1675
1675
  "post": {
1676
- "operationId": "Puppet_PostTap",
1676
+ "operationId": "Puppet_postTap",
1677
1677
  "responses": {
1678
1678
  "200": {
1679
1679
  "description": "A successful response.",
@@ -1705,7 +1705,7 @@
1705
1705
  },
1706
1706
  "/post/payload": {
1707
1707
  "post": {
1708
- "operationId": "Puppet_PostPayload",
1708
+ "operationId": "Puppet_postPayload",
1709
1709
  "responses": {
1710
1710
  "200": {
1711
1711
  "description": "A successful response.",
@@ -1737,7 +1737,7 @@
1737
1737
  },
1738
1738
  "/post/sayable": {
1739
1739
  "post": {
1740
- "operationId": "Puppet_PostPayloadSayable",
1740
+ "operationId": "Puppet_postPayloadSayable",
1741
1741
  "responses": {
1742
1742
  "200": {
1743
1743
  "description": "A successful response.",
@@ -4071,6 +4071,15 @@
4071
4071
  "items": {
4072
4072
  "$ref": "#/definitions/puppetPostSayable"
4073
4073
  }
4074
+ },
4075
+ "visibleList": {
4076
+ "type": "array",
4077
+ "items": {
4078
+ "type": "string"
4079
+ }
4080
+ },
4081
+ "location": {
4082
+ "$ref": "#/definitions/puppetLocationPayload"
4074
4083
  }
4075
4084
  }
4076
4085
  },
@@ -4148,6 +4157,15 @@
4148
4157
  "like": {
4149
4158
  "type": "integer",
4150
4159
  "format": "int32"
4160
+ },
4161
+ "visibleList": {
4162
+ "type": "array",
4163
+ "items": {
4164
+ "type": "string"
4165
+ }
4166
+ },
4167
+ "location": {
4168
+ "$ref": "#/definitions/puppetLocationPayload"
4151
4169
  }
4152
4170
  }
4153
4171
  },
@@ -103,12 +103,6 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
103
103
  momentCoverage: IPuppetService_ImomentCoverage;
104
104
  postPayload: IPuppetService_IpostPayload;
105
105
  postPayloadSayable: IPuppetService_IpostPayloadSayable;
106
- momentPublish: IPuppetService_IMomentPublish;
107
- postTap: IPuppetService_IPostTap;
108
- momentSignature: IPuppetService_IMomentSignature;
109
- momentCoverage: IPuppetService_IMomentCoverage;
110
- postPayload: IPuppetService_IPostPayload;
111
- postPayloadSayable: IPuppetService_IPostPayloadSayable;
112
106
  momentVisibleList: IPuppetService_IMomentVisibleList;
113
107
  download: IPuppetService_IDownload;
114
108
  upload: IPuppetService_IUpload;
@@ -825,60 +819,6 @@ interface IPuppetService_IpostPayloadSayable extends grpc.MethodDefinition<wecha
825
819
  responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadSayableResponse>;
826
820
  responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadSayableResponse>;
827
821
  }
828
- interface IPuppetService_IMomentPublish extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentPublishRequest, wechaty_puppet_moment_pb.MomentPublishResponse> {
829
- path: "/wechaty.Puppet/MomentPublish";
830
- requestStream: false;
831
- responseStream: false;
832
- requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPublishRequest>;
833
- requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPublishRequest>;
834
- responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
835
- responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
836
- }
837
- interface IPuppetService_IPostTap extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostTapRequest, wechaty_puppet_post_pb.PostTapResponse> {
838
- path: "/wechaty.Puppet/PostTap";
839
- requestStream: false;
840
- responseStream: false;
841
- requestSerialize: grpc.serialize<wechaty_puppet_post_pb.PostTapRequest>;
842
- requestDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostTapRequest>;
843
- responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostTapResponse>;
844
- responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostTapResponse>;
845
- }
846
- interface IPuppetService_IMomentSignature extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentSignatureRequest, wechaty_puppet_moment_pb.MomentSignatureResponse> {
847
- path: "/wechaty.Puppet/MomentSignature";
848
- requestStream: false;
849
- responseStream: false;
850
- requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentSignatureRequest>;
851
- requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentSignatureRequest>;
852
- responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentSignatureResponse>;
853
- responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentSignatureResponse>;
854
- }
855
- interface IPuppetService_IMomentCoverage extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentCoverageRequest, wechaty_puppet_moment_pb.MomentCoverageResponse> {
856
- path: "/wechaty.Puppet/MomentCoverage";
857
- requestStream: false;
858
- responseStream: false;
859
- requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCoverageRequest>;
860
- requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCoverageRequest>;
861
- responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCoverageResponse>;
862
- responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCoverageResponse>;
863
- }
864
- interface IPuppetService_IPostPayload extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostPayloadRequest, wechaty_puppet_post_pb.PostPayloadResponse> {
865
- path: "/wechaty.Puppet/PostPayload";
866
- requestStream: false;
867
- responseStream: false;
868
- requestSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadRequest>;
869
- requestDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadRequest>;
870
- responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadResponse>;
871
- responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadResponse>;
872
- }
873
- interface IPuppetService_IPostPayloadSayable extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostPayloadSayableRequest, wechaty_puppet_post_pb.PostPayloadSayableResponse> {
874
- path: "/wechaty.Puppet/PostPayloadSayable";
875
- requestStream: false;
876
- responseStream: false;
877
- requestSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadSayableRequest>;
878
- requestDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadSayableRequest>;
879
- responseSerialize: grpc.serialize<wechaty_puppet_post_pb.PostPayloadSayableResponse>;
880
- responseDeserialize: grpc.deserialize<wechaty_puppet_post_pb.PostPayloadSayableResponse>;
881
- }
882
822
  interface IPuppetService_IMomentVisibleList extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentVisibleListRequest, wechaty_puppet_moment_pb.MomentVisibleListResponse> {
883
823
  path: "/wechaty.Puppet/MomentVisibleList";
884
824
  requestStream: false;
@@ -989,12 +929,6 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
989
929
  momentCoverage: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentCoverageRequest, wechaty_puppet_moment_pb.MomentCoverageResponse>;
990
930
  postPayload: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostPayloadRequest, wechaty_puppet_post_pb.PostPayloadResponse>;
991
931
  postPayloadSayable: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostPayloadSayableRequest, wechaty_puppet_post_pb.PostPayloadSayableResponse>;
992
- momentPublish: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPublishRequest, wechaty_puppet_moment_pb.MomentPublishResponse>;
993
- postTap: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostTapRequest, wechaty_puppet_post_pb.PostTapResponse>;
994
- momentSignature: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentSignatureRequest, wechaty_puppet_moment_pb.MomentSignatureResponse>;
995
- momentCoverage: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentCoverageRequest, wechaty_puppet_moment_pb.MomentCoverageResponse>;
996
- postPayload: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostPayloadRequest, wechaty_puppet_post_pb.PostPayloadResponse>;
997
- postPayloadSayable: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostPayloadSayableRequest, wechaty_puppet_post_pb.PostPayloadSayableResponse>;
998
932
  momentVisibleList: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentVisibleListRequest, wechaty_puppet_moment_pb.MomentVisibleListResponse>;
999
933
  download: grpc.handleServerStreamingCall<wechaty_puppet_download_upload_pb.DownloadRequest, wechaty_puppet_download_upload_pb.DownloadResponse>;
1000
934
  upload: grpc.handleClientStreamingCall<wechaty_puppet_download_upload_pb.UploadRequest, wechaty_puppet_download_upload_pb.UploadResponse>;
@@ -1236,24 +1170,6 @@ export interface IPuppetClient {
1236
1170
  postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1237
1171
  postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1238
1172
  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;
1239
- momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1240
- momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1241
- 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;
1242
- postTap(request: wechaty_puppet_post_pb.PostTapRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
1243
- postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
1244
- postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
1245
- momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1246
- momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1247
- 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;
1248
- momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1249
- momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1250
- 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;
1251
- postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1252
- postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1253
- 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;
1254
- postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1255
- postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1256
- 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;
1257
1173
  momentVisibleList(request: wechaty_puppet_moment_pb.MomentVisibleListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentVisibleListResponse) => void): grpc.ClientUnaryCall;
1258
1174
  momentVisibleList(request: wechaty_puppet_moment_pb.MomentVisibleListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentVisibleListResponse) => void): grpc.ClientUnaryCall;
1259
1175
  momentVisibleList(request: wechaty_puppet_moment_pb.MomentVisibleListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentVisibleListResponse) => void): grpc.ClientUnaryCall;
@@ -1502,24 +1418,6 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
1502
1418
  public postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1503
1419
  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;
1504
1420
  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;
1505
- public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
1506
- 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;
1507
- 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;
1508
- public postTap(request: wechaty_puppet_post_pb.PostTapRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
1509
- public postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
1510
- public postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
1511
- public momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
1512
- 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;
1513
- 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;
1514
- public momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
1515
- 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;
1516
- 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;
1517
- public postPayload(request: wechaty_puppet_post_pb.PostPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadResponse) => void): grpc.ClientUnaryCall;
1518
- 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;
1519
- 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;
1520
- public postPayloadSayable(request: wechaty_puppet_post_pb.PostPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostPayloadSayableResponse) => void): grpc.ClientUnaryCall;
1521
- 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;
1522
- 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;
1523
1421
  public momentVisibleList(request: wechaty_puppet_moment_pb.MomentVisibleListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentVisibleListResponse) => void): grpc.ClientUnaryCall;
1524
1422
  public momentVisibleList(request: wechaty_puppet_moment_pb.MomentVisibleListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentVisibleListResponse) => void): grpc.ClientUnaryCall;
1525
1423
  public momentVisibleList(request: wechaty_puppet_moment_pb.MomentVisibleListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentVisibleListResponse) => void): grpc.ClientUnaryCall;