@juzi/wechaty-grpc 1.0.28 → 1.0.29

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 (66) hide show
  1. package/dist/cjs/examples/promisify.d.ts +5 -5
  2. package/dist/cjs/examples/promisify.d.ts.map +1 -1
  3. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +74 -0
  4. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.js +518 -1
  5. package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +6 -0
  6. package/dist/cjs/out/wechaty/puppet/message_pb.js +49 -1
  7. package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +38 -0
  8. package/dist/cjs/out/wechaty/puppet/moment_pb.js +301 -0
  9. package/dist/cjs/out/wechaty/puppet.openapi.yaml +30 -7
  10. package/dist/cjs/out/wechaty/puppet.swagger.json +43 -7
  11. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +119 -0
  12. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +104 -0
  13. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +133 -0
  14. package/dist/cjs/out/wechaty/puppet_pb_service.js +280 -0
  15. package/dist/cjs/proto/wechaty/puppet/message.proto +2 -0
  16. package/dist/cjs/proto/wechaty/puppet/moment.proto +6 -0
  17. package/dist/cjs/proto/wechaty/puppet.proto +56 -0
  18. package/dist/cjs/src/chunk-transformer.d.ts +1 -1
  19. package/dist/cjs/src/chunk-transformer.d.ts.map +1 -1
  20. package/dist/cjs/src/config.d.ts +1 -1
  21. package/dist/cjs/src/config.d.ts.map +1 -1
  22. package/dist/cjs/src/package-json.js +1 -1
  23. package/dist/cjs/tests/puppet-server-impl.d.ts +1 -1
  24. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  25. package/dist/cjs/tests/puppet-server-impl.js +5 -0
  26. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  27. package/dist/esm/examples/promisify.d.ts +5 -5
  28. package/dist/esm/examples/promisify.d.ts.map +1 -1
  29. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +74 -0
  30. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.js +518 -1
  31. package/dist/esm/out/wechaty/puppet/message_pb.d.ts +6 -0
  32. package/dist/esm/out/wechaty/puppet/message_pb.js +49 -1
  33. package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +38 -0
  34. package/dist/esm/out/wechaty/puppet/moment_pb.js +301 -0
  35. package/dist/esm/out/wechaty/puppet.openapi.yaml +30 -7
  36. package/dist/esm/out/wechaty/puppet.swagger.json +43 -7
  37. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +119 -0
  38. package/dist/esm/out/wechaty/puppet_grpc_pb.js +104 -0
  39. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +133 -0
  40. package/dist/esm/out/wechaty/puppet_pb_service.js +280 -0
  41. package/dist/esm/proto/wechaty/puppet/message.proto +2 -0
  42. package/dist/esm/proto/wechaty/puppet/moment.proto +6 -0
  43. package/dist/esm/proto/wechaty/puppet.proto +56 -0
  44. package/dist/esm/src/chunk-transformer.d.ts +1 -1
  45. package/dist/esm/src/chunk-transformer.d.ts.map +1 -1
  46. package/dist/esm/src/config.d.ts +1 -1
  47. package/dist/esm/src/config.d.ts.map +1 -1
  48. package/dist/esm/src/package-json.js +1 -1
  49. package/dist/esm/tests/puppet-server-impl.d.ts +1 -1
  50. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  51. package/dist/esm/tests/puppet-server-impl.js +5 -0
  52. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  53. package/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +74 -0
  54. package/out/protoc-gen-openapiv2/options/openapiv2_pb.js +518 -1
  55. package/out/wechaty/puppet/message_pb.d.ts +6 -0
  56. package/out/wechaty/puppet/message_pb.js +49 -1
  57. package/out/wechaty/puppet/moment_pb.d.ts +38 -0
  58. package/out/wechaty/puppet/moment_pb.js +301 -0
  59. package/out/wechaty/puppet.openapi.yaml +30 -7
  60. package/out/wechaty/puppet.swagger.json +43 -7
  61. package/out/wechaty/puppet_grpc_pb.d.ts +119 -0
  62. package/out/wechaty/puppet_grpc_pb.js +104 -0
  63. package/out/wechaty/puppet_pb_service.d.ts +133 -0
  64. package/out/wechaty/puppet_pb_service.js +280 -0
  65. package/package.json +1 -1
  66. package/src/package-json.ts +1 -1
@@ -23,6 +23,8 @@ goog.exportSymbol('proto.wechaty.puppet.MomentPublishRequest', null, global);
23
23
  goog.exportSymbol('proto.wechaty.puppet.MomentPublishResponse', null, global);
24
24
  goog.exportSymbol('proto.wechaty.puppet.MomentSignatureRequest', null, global);
25
25
  goog.exportSymbol('proto.wechaty.puppet.MomentSignatureResponse', null, global);
26
+ goog.exportSymbol('proto.wechaty.puppet.MomentVisibleListRequest', null, global);
27
+ goog.exportSymbol('proto.wechaty.puppet.MomentVisibleListResponse', null, global);
26
28
  /**
27
29
  * Generated by JsPbCodeGenerator.
28
30
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -149,6 +151,48 @@ if (goog.DEBUG && !COMPILED) {
149
151
  */
150
152
  proto.wechaty.puppet.MomentCoverageResponse.displayName = 'proto.wechaty.puppet.MomentCoverageResponse';
151
153
  }
154
+ /**
155
+ * Generated by JsPbCodeGenerator.
156
+ * @param {Array=} opt_data Optional initial data array, typically from a
157
+ * server response, or constructed directly in Javascript. The array is used
158
+ * in place and becomes part of the constructed object. It is not cloned.
159
+ * If no data is provided, the constructed object will be empty, but still
160
+ * valid.
161
+ * @extends {jspb.Message}
162
+ * @constructor
163
+ */
164
+ proto.wechaty.puppet.MomentVisibleListRequest = function(opt_data) {
165
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
166
+ };
167
+ goog.inherits(proto.wechaty.puppet.MomentVisibleListRequest, jspb.Message);
168
+ if (goog.DEBUG && !COMPILED) {
169
+ /**
170
+ * @public
171
+ * @override
172
+ */
173
+ proto.wechaty.puppet.MomentVisibleListRequest.displayName = 'proto.wechaty.puppet.MomentVisibleListRequest';
174
+ }
175
+ /**
176
+ * Generated by JsPbCodeGenerator.
177
+ * @param {Array=} opt_data Optional initial data array, typically from a
178
+ * server response, or constructed directly in Javascript. The array is used
179
+ * in place and becomes part of the constructed object. It is not cloned.
180
+ * If no data is provided, the constructed object will be empty, but still
181
+ * valid.
182
+ * @extends {jspb.Message}
183
+ * @constructor
184
+ */
185
+ proto.wechaty.puppet.MomentVisibleListResponse = function(opt_data) {
186
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.MomentVisibleListResponse.repeatedFields_, null);
187
+ };
188
+ goog.inherits(proto.wechaty.puppet.MomentVisibleListResponse, jspb.Message);
189
+ if (goog.DEBUG && !COMPILED) {
190
+ /**
191
+ * @public
192
+ * @override
193
+ */
194
+ proto.wechaty.puppet.MomentVisibleListResponse.displayName = 'proto.wechaty.puppet.MomentVisibleListResponse';
195
+ }
152
196
 
153
197
 
154
198
 
@@ -950,4 +994,261 @@ proto.wechaty.puppet.MomentCoverageResponse.prototype.setFileBox = function(valu
950
994
  };
951
995
 
952
996
 
997
+
998
+
999
+
1000
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1001
+ /**
1002
+ * Creates an object representation of this proto.
1003
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1004
+ * Optional fields that are not set will be set to undefined.
1005
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1006
+ * For the list of reserved names please see:
1007
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1008
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1009
+ * JSPB instance for transitional soy proto support:
1010
+ * http://goto/soy-param-migration
1011
+ * @return {!Object}
1012
+ */
1013
+ proto.wechaty.puppet.MomentVisibleListRequest.prototype.toObject = function(opt_includeInstance) {
1014
+ return proto.wechaty.puppet.MomentVisibleListRequest.toObject(opt_includeInstance, this);
1015
+ };
1016
+
1017
+
1018
+ /**
1019
+ * Static version of the {@see toObject} method.
1020
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1021
+ * the JSPB instance for transitional soy proto support:
1022
+ * http://goto/soy-param-migration
1023
+ * @param {!proto.wechaty.puppet.MomentVisibleListRequest} msg The msg instance to transform.
1024
+ * @return {!Object}
1025
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1026
+ */
1027
+ proto.wechaty.puppet.MomentVisibleListRequest.toObject = function(includeInstance, msg) {
1028
+ var f, obj = {
1029
+
1030
+ };
1031
+
1032
+ if (includeInstance) {
1033
+ obj.$jspbMessageInstance = msg;
1034
+ }
1035
+ return obj;
1036
+ };
1037
+ }
1038
+
1039
+
1040
+ /**
1041
+ * Deserializes binary data (in protobuf wire format).
1042
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1043
+ * @return {!proto.wechaty.puppet.MomentVisibleListRequest}
1044
+ */
1045
+ proto.wechaty.puppet.MomentVisibleListRequest.deserializeBinary = function(bytes) {
1046
+ var reader = new jspb.BinaryReader(bytes);
1047
+ var msg = new proto.wechaty.puppet.MomentVisibleListRequest;
1048
+ return proto.wechaty.puppet.MomentVisibleListRequest.deserializeBinaryFromReader(msg, reader);
1049
+ };
1050
+
1051
+
1052
+ /**
1053
+ * Deserializes binary data (in protobuf wire format) from the
1054
+ * given reader into the given message object.
1055
+ * @param {!proto.wechaty.puppet.MomentVisibleListRequest} msg The message object to deserialize into.
1056
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1057
+ * @return {!proto.wechaty.puppet.MomentVisibleListRequest}
1058
+ */
1059
+ proto.wechaty.puppet.MomentVisibleListRequest.deserializeBinaryFromReader = function(msg, reader) {
1060
+ while (reader.nextField()) {
1061
+ if (reader.isEndGroup()) {
1062
+ break;
1063
+ }
1064
+ var field = reader.getFieldNumber();
1065
+ switch (field) {
1066
+ default:
1067
+ reader.skipField();
1068
+ break;
1069
+ }
1070
+ }
1071
+ return msg;
1072
+ };
1073
+
1074
+
1075
+ /**
1076
+ * Serializes the message to binary data (in protobuf wire format).
1077
+ * @return {!Uint8Array}
1078
+ */
1079
+ proto.wechaty.puppet.MomentVisibleListRequest.prototype.serializeBinary = function() {
1080
+ var writer = new jspb.BinaryWriter();
1081
+ proto.wechaty.puppet.MomentVisibleListRequest.serializeBinaryToWriter(this, writer);
1082
+ return writer.getResultBuffer();
1083
+ };
1084
+
1085
+
1086
+ /**
1087
+ * Serializes the given message to binary data (in protobuf wire
1088
+ * format), writing to the given BinaryWriter.
1089
+ * @param {!proto.wechaty.puppet.MomentVisibleListRequest} message
1090
+ * @param {!jspb.BinaryWriter} writer
1091
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1092
+ */
1093
+ proto.wechaty.puppet.MomentVisibleListRequest.serializeBinaryToWriter = function(message, writer) {
1094
+ var f = undefined;
1095
+ };
1096
+
1097
+
1098
+
1099
+ /**
1100
+ * List of repeated fields within this message type.
1101
+ * @private {!Array<number>}
1102
+ * @const
1103
+ */
1104
+ proto.wechaty.puppet.MomentVisibleListResponse.repeatedFields_ = [1];
1105
+
1106
+
1107
+
1108
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1109
+ /**
1110
+ * Creates an object representation of this proto.
1111
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1112
+ * Optional fields that are not set will be set to undefined.
1113
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1114
+ * For the list of reserved names please see:
1115
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1116
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1117
+ * JSPB instance for transitional soy proto support:
1118
+ * http://goto/soy-param-migration
1119
+ * @return {!Object}
1120
+ */
1121
+ proto.wechaty.puppet.MomentVisibleListResponse.prototype.toObject = function(opt_includeInstance) {
1122
+ return proto.wechaty.puppet.MomentVisibleListResponse.toObject(opt_includeInstance, this);
1123
+ };
1124
+
1125
+
1126
+ /**
1127
+ * Static version of the {@see toObject} method.
1128
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1129
+ * the JSPB instance for transitional soy proto support:
1130
+ * http://goto/soy-param-migration
1131
+ * @param {!proto.wechaty.puppet.MomentVisibleListResponse} msg The msg instance to transform.
1132
+ * @return {!Object}
1133
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1134
+ */
1135
+ proto.wechaty.puppet.MomentVisibleListResponse.toObject = function(includeInstance, msg) {
1136
+ var f, obj = {
1137
+ contactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1138
+ };
1139
+
1140
+ if (includeInstance) {
1141
+ obj.$jspbMessageInstance = msg;
1142
+ }
1143
+ return obj;
1144
+ };
1145
+ }
1146
+
1147
+
1148
+ /**
1149
+ * Deserializes binary data (in protobuf wire format).
1150
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1151
+ * @return {!proto.wechaty.puppet.MomentVisibleListResponse}
1152
+ */
1153
+ proto.wechaty.puppet.MomentVisibleListResponse.deserializeBinary = function(bytes) {
1154
+ var reader = new jspb.BinaryReader(bytes);
1155
+ var msg = new proto.wechaty.puppet.MomentVisibleListResponse;
1156
+ return proto.wechaty.puppet.MomentVisibleListResponse.deserializeBinaryFromReader(msg, reader);
1157
+ };
1158
+
1159
+
1160
+ /**
1161
+ * Deserializes binary data (in protobuf wire format) from the
1162
+ * given reader into the given message object.
1163
+ * @param {!proto.wechaty.puppet.MomentVisibleListResponse} msg The message object to deserialize into.
1164
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1165
+ * @return {!proto.wechaty.puppet.MomentVisibleListResponse}
1166
+ */
1167
+ proto.wechaty.puppet.MomentVisibleListResponse.deserializeBinaryFromReader = function(msg, reader) {
1168
+ while (reader.nextField()) {
1169
+ if (reader.isEndGroup()) {
1170
+ break;
1171
+ }
1172
+ var field = reader.getFieldNumber();
1173
+ switch (field) {
1174
+ case 1:
1175
+ var value = /** @type {string} */ (reader.readString());
1176
+ msg.addContactIds(value);
1177
+ break;
1178
+ default:
1179
+ reader.skipField();
1180
+ break;
1181
+ }
1182
+ }
1183
+ return msg;
1184
+ };
1185
+
1186
+
1187
+ /**
1188
+ * Serializes the message to binary data (in protobuf wire format).
1189
+ * @return {!Uint8Array}
1190
+ */
1191
+ proto.wechaty.puppet.MomentVisibleListResponse.prototype.serializeBinary = function() {
1192
+ var writer = new jspb.BinaryWriter();
1193
+ proto.wechaty.puppet.MomentVisibleListResponse.serializeBinaryToWriter(this, writer);
1194
+ return writer.getResultBuffer();
1195
+ };
1196
+
1197
+
1198
+ /**
1199
+ * Serializes the given message to binary data (in protobuf wire
1200
+ * format), writing to the given BinaryWriter.
1201
+ * @param {!proto.wechaty.puppet.MomentVisibleListResponse} message
1202
+ * @param {!jspb.BinaryWriter} writer
1203
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1204
+ */
1205
+ proto.wechaty.puppet.MomentVisibleListResponse.serializeBinaryToWriter = function(message, writer) {
1206
+ var f = undefined;
1207
+ f = message.getContactIdsList();
1208
+ if (f.length > 0) {
1209
+ writer.writeRepeatedString(
1210
+ 1,
1211
+ f
1212
+ );
1213
+ }
1214
+ };
1215
+
1216
+
1217
+ /**
1218
+ * repeated string contact_ids = 1;
1219
+ * @return {!Array<string>}
1220
+ */
1221
+ proto.wechaty.puppet.MomentVisibleListResponse.prototype.getContactIdsList = function() {
1222
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1223
+ };
1224
+
1225
+
1226
+ /**
1227
+ * @param {!Array<string>} value
1228
+ * @return {!proto.wechaty.puppet.MomentVisibleListResponse} returns this
1229
+ */
1230
+ proto.wechaty.puppet.MomentVisibleListResponse.prototype.setContactIdsList = function(value) {
1231
+ return jspb.Message.setField(this, 1, value || []);
1232
+ };
1233
+
1234
+
1235
+ /**
1236
+ * @param {string} value
1237
+ * @param {number=} opt_index
1238
+ * @return {!proto.wechaty.puppet.MomentVisibleListResponse} returns this
1239
+ */
1240
+ proto.wechaty.puppet.MomentVisibleListResponse.prototype.addContactIds = function(value, opt_index) {
1241
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1242
+ };
1243
+
1244
+
1245
+ /**
1246
+ * Clears the list making it empty but non-null.
1247
+ * @return {!proto.wechaty.puppet.MomentVisibleListResponse} returns this
1248
+ */
1249
+ proto.wechaty.puppet.MomentVisibleListResponse.prototype.clearContactIdsList = function() {
1250
+ return this.setContactIdsList([]);
1251
+ };
1252
+
1253
+
953
1254
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -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.28
12
+ version: 1.0.29
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.
@@ -1114,9 +1114,23 @@ paths:
1114
1114
  $ref: '#/definitions/puppetMomentSignatureRequest'
1115
1115
  tags:
1116
1116
  - Puppet
1117
+ /moment/visibleList:
1118
+ get:
1119
+ operationId: Puppet_MomentVisibleList
1120
+ responses:
1121
+ '200':
1122
+ description: A successful response.
1123
+ schema:
1124
+ $ref: '#/definitions/puppetMomentVisibleListResponse'
1125
+ default:
1126
+ description: An unexpected error response.
1127
+ schema:
1128
+ $ref: '#/definitions/rpcStatus'
1129
+ tags:
1130
+ - Puppet
1117
1131
  /post/like:
1118
1132
  post:
1119
- operationId: Puppet_postTap
1133
+ operationId: Puppet_PostTap
1120
1134
  responses:
1121
1135
  '200':
1122
1136
  description: A successful response.
@@ -1136,7 +1150,7 @@ paths:
1136
1150
  - Puppet
1137
1151
  /post/payload:
1138
1152
  post:
1139
- operationId: Puppet_postPayload
1153
+ operationId: Puppet_PostPayload
1140
1154
  responses:
1141
1155
  '200':
1142
1156
  description: A successful response.
@@ -1156,7 +1170,7 @@ paths:
1156
1170
  - Puppet
1157
1171
  /post/sayable:
1158
1172
  post:
1159
- operationId: Puppet_postPayloadSayable
1173
+ operationId: Puppet_PostPayloadSayable
1160
1174
  responses:
1161
1175
  '200':
1162
1176
  description: A successful response.
@@ -2601,6 +2615,8 @@ definitions:
2601
2615
  quoteId:
2602
2616
  type: string
2603
2617
  title: 被引用的消息id
2618
+ additionalInfo:
2619
+ type: string
2604
2620
  puppetMessagePreviewResponse:
2605
2621
  type: object
2606
2622
  properties:
@@ -2846,6 +2862,13 @@ definitions:
2846
2862
  properties:
2847
2863
  text:
2848
2864
  type: string
2865
+ puppetMomentVisibleListResponse:
2866
+ type: object
2867
+ properties:
2868
+ contactIds:
2869
+ type: array
2870
+ items:
2871
+ type: string
2849
2872
  puppetPayloadType:
2850
2873
  type: string
2851
2874
  enum:
@@ -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.28",
6
+ "version": "1.0.29",
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.",
@@ -1649,9 +1649,31 @@
1649
1649
  ]
1650
1650
  }
1651
1651
  },
1652
+ "/moment/visibleList": {
1653
+ "get": {
1654
+ "operationId": "Puppet_MomentVisibleList",
1655
+ "responses": {
1656
+ "200": {
1657
+ "description": "A successful response.",
1658
+ "schema": {
1659
+ "$ref": "#/definitions/puppetMomentVisibleListResponse"
1660
+ }
1661
+ },
1662
+ "default": {
1663
+ "description": "An unexpected error response.",
1664
+ "schema": {
1665
+ "$ref": "#/definitions/rpcStatus"
1666
+ }
1667
+ }
1668
+ },
1669
+ "tags": [
1670
+ "Puppet"
1671
+ ]
1672
+ }
1673
+ },
1652
1674
  "/post/like": {
1653
1675
  "post": {
1654
- "operationId": "Puppet_postTap",
1676
+ "operationId": "Puppet_PostTap",
1655
1677
  "responses": {
1656
1678
  "200": {
1657
1679
  "description": "A successful response.",
@@ -1683,7 +1705,7 @@
1683
1705
  },
1684
1706
  "/post/payload": {
1685
1707
  "post": {
1686
- "operationId": "Puppet_postPayload",
1708
+ "operationId": "Puppet_PostPayload",
1687
1709
  "responses": {
1688
1710
  "200": {
1689
1711
  "description": "A successful response.",
@@ -1715,7 +1737,7 @@
1715
1737
  },
1716
1738
  "/post/sayable": {
1717
1739
  "post": {
1718
- "operationId": "Puppet_postPayloadSayable",
1740
+ "operationId": "Puppet_PostPayloadSayable",
1719
1741
  "responses": {
1720
1742
  "200": {
1721
1743
  "description": "A successful response.",
@@ -3731,6 +3753,9 @@
3731
3753
  "quoteId": {
3732
3754
  "type": "string",
3733
3755
  "title": "被引用的消息id"
3756
+ },
3757
+ "additionalInfo": {
3758
+ "type": "string"
3734
3759
  }
3735
3760
  }
3736
3761
  },
@@ -4001,6 +4026,17 @@
4001
4026
  }
4002
4027
  }
4003
4028
  },
4029
+ "puppetMomentVisibleListResponse": {
4030
+ "type": "object",
4031
+ "properties": {
4032
+ "contactIds": {
4033
+ "type": "array",
4034
+ "items": {
4035
+ "type": "string"
4036
+ }
4037
+ }
4038
+ }
4039
+ },
4004
4040
  "puppetPayloadType": {
4005
4041
  "type": "string",
4006
4042
  "enum": [