@juzi/wechaty-grpc 1.0.41 → 1.0.43

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 (65) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs +0 -2
  2. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +0 -2
  3. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +44 -0
  4. package/dist/cjs/out/wechaty/puppet/room_pb.js +336 -1
  5. package/dist/cjs/out/wechaty/puppet.openapi.yaml +28 -142
  6. package/dist/cjs/out/wechaty/puppet.swagger.json +43 -194
  7. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -50
  8. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -102
  9. package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
  10. package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
  11. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -34
  12. package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -147
  13. package/dist/cjs/proto/wechaty/puppet/room.proto +7 -0
  14. package/dist/cjs/proto/wechaty/puppet.proto +7 -9
  15. package/dist/cjs/src/package-json.js +1 -1
  16. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  17. package/dist/cjs/tests/puppet-server-impl.js +5 -13
  18. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  19. package/dist/esm/commonjs/generated/puppet.cjs +0 -2
  20. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +0 -2
  21. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +44 -0
  22. package/dist/esm/out/wechaty/puppet/room_pb.js +336 -1
  23. package/dist/esm/out/wechaty/puppet.openapi.yaml +28 -142
  24. package/dist/esm/out/wechaty/puppet.swagger.json +43 -194
  25. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -50
  26. package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -102
  27. package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
  28. package/dist/esm/out/wechaty/puppet_pb.js +0 -2
  29. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -34
  30. package/dist/esm/out/wechaty/puppet_pb_service.js +40 -147
  31. package/dist/esm/proto/wechaty/puppet/room.proto +7 -0
  32. package/dist/esm/proto/wechaty/puppet.proto +7 -9
  33. package/dist/esm/src/package-json.js +1 -1
  34. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  35. package/dist/esm/tests/puppet-server-impl.js +5 -13
  36. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  37. package/out/wechaty/puppet/room_pb.d.ts +44 -0
  38. package/out/wechaty/puppet/room_pb.js +336 -1
  39. package/out/wechaty/puppet.openapi.yaml +28 -142
  40. package/out/wechaty/puppet.swagger.json +43 -194
  41. package/out/wechaty/puppet_grpc_pb.d.ts +17 -50
  42. package/out/wechaty/puppet_grpc_pb.js +33 -102
  43. package/out/wechaty/puppet_pb.d.ts +0 -1
  44. package/out/wechaty/puppet_pb.js +0 -2
  45. package/out/wechaty/puppet_pb_service.d.ts +19 -34
  46. package/out/wechaty/puppet_pb_service.js +40 -147
  47. package/package.json +1 -1
  48. package/src/package-json.ts +1 -1
  49. package/dist/cjs/out/wechaty/deprecated/file-box_grpc_pb.js +0 -1
  50. package/dist/cjs/out/wechaty/deprecated/file-box_pb.d.ts +0 -179
  51. package/dist/cjs/out/wechaty/deprecated/file-box_pb.js +0 -1368
  52. package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.d.ts +0 -3
  53. package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.js +0 -3
  54. package/dist/cjs/proto/wechaty/deprecated/file-box.proto +0 -61
  55. package/dist/esm/out/wechaty/deprecated/file-box_grpc_pb.js +0 -1
  56. package/dist/esm/out/wechaty/deprecated/file-box_pb.d.ts +0 -179
  57. package/dist/esm/out/wechaty/deprecated/file-box_pb.js +0 -1368
  58. package/dist/esm/out/wechaty/deprecated/file-box_pb_service.d.ts +0 -3
  59. package/dist/esm/out/wechaty/deprecated/file-box_pb_service.js +0 -3
  60. package/dist/esm/proto/wechaty/deprecated/file-box.proto +0 -61
  61. package/out/wechaty/deprecated/file-box_grpc_pb.js +0 -1
  62. package/out/wechaty/deprecated/file-box_pb.d.ts +0 -179
  63. package/out/wechaty/deprecated/file-box_pb.js +0 -1368
  64. package/out/wechaty/deprecated/file-box_pb_service.d.ts +0 -3
  65. package/out/wechaty/deprecated/file-box_pb_service.js +0 -3
@@ -35,6 +35,8 @@ goog.exportSymbol('proto.wechaty.puppet.RoomQRCodeRequest', null, global);
35
35
  goog.exportSymbol('proto.wechaty.puppet.RoomQRCodeResponse', null, global);
36
36
  goog.exportSymbol('proto.wechaty.puppet.RoomQuitRequest', null, global);
37
37
  goog.exportSymbol('proto.wechaty.puppet.RoomQuitResponse', null, global);
38
+ goog.exportSymbol('proto.wechaty.puppet.RoomRemarkRequest', null, global);
39
+ goog.exportSymbol('proto.wechaty.puppet.RoomRemarkResponse', null, global);
38
40
  goog.exportSymbol('proto.wechaty.puppet.RoomTopicRequest', null, global);
39
41
  goog.exportSymbol('proto.wechaty.puppet.RoomTopicResponse', null, global);
40
42
  /**
@@ -457,6 +459,48 @@ if (goog.DEBUG && !COMPILED) {
457
459
  */
458
460
  proto.wechaty.puppet.RoomAnnounceResponse.displayName = 'proto.wechaty.puppet.RoomAnnounceResponse';
459
461
  }
462
+ /**
463
+ * Generated by JsPbCodeGenerator.
464
+ * @param {Array=} opt_data Optional initial data array, typically from a
465
+ * server response, or constructed directly in Javascript. The array is used
466
+ * in place and becomes part of the constructed object. It is not cloned.
467
+ * If no data is provided, the constructed object will be empty, but still
468
+ * valid.
469
+ * @extends {jspb.Message}
470
+ * @constructor
471
+ */
472
+ proto.wechaty.puppet.RoomRemarkRequest = function(opt_data) {
473
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
474
+ };
475
+ goog.inherits(proto.wechaty.puppet.RoomRemarkRequest, jspb.Message);
476
+ if (goog.DEBUG && !COMPILED) {
477
+ /**
478
+ * @public
479
+ * @override
480
+ */
481
+ proto.wechaty.puppet.RoomRemarkRequest.displayName = 'proto.wechaty.puppet.RoomRemarkRequest';
482
+ }
483
+ /**
484
+ * Generated by JsPbCodeGenerator.
485
+ * @param {Array=} opt_data Optional initial data array, typically from a
486
+ * server response, or constructed directly in Javascript. The array is used
487
+ * in place and becomes part of the constructed object. It is not cloned.
488
+ * If no data is provided, the constructed object will be empty, but still
489
+ * valid.
490
+ * @extends {jspb.Message}
491
+ * @constructor
492
+ */
493
+ proto.wechaty.puppet.RoomRemarkResponse = function(opt_data) {
494
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
495
+ };
496
+ goog.inherits(proto.wechaty.puppet.RoomRemarkResponse, jspb.Message);
497
+ if (goog.DEBUG && !COMPILED) {
498
+ /**
499
+ * @public
500
+ * @override
501
+ */
502
+ proto.wechaty.puppet.RoomRemarkResponse.displayName = 'proto.wechaty.puppet.RoomRemarkResponse';
503
+ }
460
504
 
461
505
 
462
506
 
@@ -890,7 +934,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
890
934
  adminIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
891
935
  memberIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
892
936
  handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
893
- additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, "")
937
+ additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
938
+ roomRemark: jspb.Message.getFieldWithDefault(msg, 9, "")
894
939
  };
895
940
 
896
941
  if (includeInstance) {
@@ -959,6 +1004,10 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
959
1004
  var value = /** @type {string} */ (reader.readString());
960
1005
  msg.setAdditionalInfo(value);
961
1006
  break;
1007
+ case 9:
1008
+ var value = /** @type {string} */ (reader.readString());
1009
+ msg.setRoomRemark(value);
1010
+ break;
962
1011
  default:
963
1012
  reader.skipField();
964
1013
  break;
@@ -1044,6 +1093,13 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
1044
1093
  f
1045
1094
  );
1046
1095
  }
1096
+ f = message.getRoomRemark();
1097
+ if (f.length > 0) {
1098
+ writer.writeString(
1099
+ 9,
1100
+ f
1101
+ );
1102
+ }
1047
1103
  };
1048
1104
 
1049
1105
 
@@ -1229,6 +1285,24 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setAdditionalInfo = function(
1229
1285
  };
1230
1286
 
1231
1287
 
1288
+ /**
1289
+ * optional string room_remark = 9;
1290
+ * @return {string}
1291
+ */
1292
+ proto.wechaty.puppet.RoomPayloadResponse.prototype.getRoomRemark = function() {
1293
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1294
+ };
1295
+
1296
+
1297
+ /**
1298
+ * @param {string} value
1299
+ * @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
1300
+ */
1301
+ proto.wechaty.puppet.RoomPayloadResponse.prototype.setRoomRemark = function(value) {
1302
+ return jspb.Message.setProto3StringField(this, 9, value);
1303
+ };
1304
+
1305
+
1232
1306
 
1233
1307
 
1234
1308
 
@@ -3724,4 +3798,265 @@ proto.wechaty.puppet.RoomAnnounceResponse.prototype.setText = function(value) {
3724
3798
  };
3725
3799
 
3726
3800
 
3801
+
3802
+
3803
+
3804
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3805
+ /**
3806
+ * Creates an object representation of this proto.
3807
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3808
+ * Optional fields that are not set will be set to undefined.
3809
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3810
+ * For the list of reserved names please see:
3811
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3812
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3813
+ * JSPB instance for transitional soy proto support:
3814
+ * http://goto/soy-param-migration
3815
+ * @return {!Object}
3816
+ */
3817
+ proto.wechaty.puppet.RoomRemarkRequest.prototype.toObject = function(opt_includeInstance) {
3818
+ return proto.wechaty.puppet.RoomRemarkRequest.toObject(opt_includeInstance, this);
3819
+ };
3820
+
3821
+
3822
+ /**
3823
+ * Static version of the {@see toObject} method.
3824
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3825
+ * the JSPB instance for transitional soy proto support:
3826
+ * http://goto/soy-param-migration
3827
+ * @param {!proto.wechaty.puppet.RoomRemarkRequest} msg The msg instance to transform.
3828
+ * @return {!Object}
3829
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3830
+ */
3831
+ proto.wechaty.puppet.RoomRemarkRequest.toObject = function(includeInstance, msg) {
3832
+ var f, obj = {
3833
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
3834
+ remark: jspb.Message.getFieldWithDefault(msg, 2, "")
3835
+ };
3836
+
3837
+ if (includeInstance) {
3838
+ obj.$jspbMessageInstance = msg;
3839
+ }
3840
+ return obj;
3841
+ };
3842
+ }
3843
+
3844
+
3845
+ /**
3846
+ * Deserializes binary data (in protobuf wire format).
3847
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3848
+ * @return {!proto.wechaty.puppet.RoomRemarkRequest}
3849
+ */
3850
+ proto.wechaty.puppet.RoomRemarkRequest.deserializeBinary = function(bytes) {
3851
+ var reader = new jspb.BinaryReader(bytes);
3852
+ var msg = new proto.wechaty.puppet.RoomRemarkRequest;
3853
+ return proto.wechaty.puppet.RoomRemarkRequest.deserializeBinaryFromReader(msg, reader);
3854
+ };
3855
+
3856
+
3857
+ /**
3858
+ * Deserializes binary data (in protobuf wire format) from the
3859
+ * given reader into the given message object.
3860
+ * @param {!proto.wechaty.puppet.RoomRemarkRequest} msg The message object to deserialize into.
3861
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3862
+ * @return {!proto.wechaty.puppet.RoomRemarkRequest}
3863
+ */
3864
+ proto.wechaty.puppet.RoomRemarkRequest.deserializeBinaryFromReader = function(msg, reader) {
3865
+ while (reader.nextField()) {
3866
+ if (reader.isEndGroup()) {
3867
+ break;
3868
+ }
3869
+ var field = reader.getFieldNumber();
3870
+ switch (field) {
3871
+ case 1:
3872
+ var value = /** @type {string} */ (reader.readString());
3873
+ msg.setId(value);
3874
+ break;
3875
+ case 2:
3876
+ var value = /** @type {string} */ (reader.readString());
3877
+ msg.setRemark(value);
3878
+ break;
3879
+ default:
3880
+ reader.skipField();
3881
+ break;
3882
+ }
3883
+ }
3884
+ return msg;
3885
+ };
3886
+
3887
+
3888
+ /**
3889
+ * Serializes the message to binary data (in protobuf wire format).
3890
+ * @return {!Uint8Array}
3891
+ */
3892
+ proto.wechaty.puppet.RoomRemarkRequest.prototype.serializeBinary = function() {
3893
+ var writer = new jspb.BinaryWriter();
3894
+ proto.wechaty.puppet.RoomRemarkRequest.serializeBinaryToWriter(this, writer);
3895
+ return writer.getResultBuffer();
3896
+ };
3897
+
3898
+
3899
+ /**
3900
+ * Serializes the given message to binary data (in protobuf wire
3901
+ * format), writing to the given BinaryWriter.
3902
+ * @param {!proto.wechaty.puppet.RoomRemarkRequest} message
3903
+ * @param {!jspb.BinaryWriter} writer
3904
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3905
+ */
3906
+ proto.wechaty.puppet.RoomRemarkRequest.serializeBinaryToWriter = function(message, writer) {
3907
+ var f = undefined;
3908
+ f = message.getId();
3909
+ if (f.length > 0) {
3910
+ writer.writeString(
3911
+ 1,
3912
+ f
3913
+ );
3914
+ }
3915
+ f = message.getRemark();
3916
+ if (f.length > 0) {
3917
+ writer.writeString(
3918
+ 2,
3919
+ f
3920
+ );
3921
+ }
3922
+ };
3923
+
3924
+
3925
+ /**
3926
+ * optional string id = 1;
3927
+ * @return {string}
3928
+ */
3929
+ proto.wechaty.puppet.RoomRemarkRequest.prototype.getId = function() {
3930
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3931
+ };
3932
+
3933
+
3934
+ /**
3935
+ * @param {string} value
3936
+ * @return {!proto.wechaty.puppet.RoomRemarkRequest} returns this
3937
+ */
3938
+ proto.wechaty.puppet.RoomRemarkRequest.prototype.setId = function(value) {
3939
+ return jspb.Message.setProto3StringField(this, 1, value);
3940
+ };
3941
+
3942
+
3943
+ /**
3944
+ * optional string remark = 2;
3945
+ * @return {string}
3946
+ */
3947
+ proto.wechaty.puppet.RoomRemarkRequest.prototype.getRemark = function() {
3948
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3949
+ };
3950
+
3951
+
3952
+ /**
3953
+ * @param {string} value
3954
+ * @return {!proto.wechaty.puppet.RoomRemarkRequest} returns this
3955
+ */
3956
+ proto.wechaty.puppet.RoomRemarkRequest.prototype.setRemark = function(value) {
3957
+ return jspb.Message.setProto3StringField(this, 2, value);
3958
+ };
3959
+
3960
+
3961
+
3962
+
3963
+
3964
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3965
+ /**
3966
+ * Creates an object representation of this proto.
3967
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3968
+ * Optional fields that are not set will be set to undefined.
3969
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3970
+ * For the list of reserved names please see:
3971
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3972
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3973
+ * JSPB instance for transitional soy proto support:
3974
+ * http://goto/soy-param-migration
3975
+ * @return {!Object}
3976
+ */
3977
+ proto.wechaty.puppet.RoomRemarkResponse.prototype.toObject = function(opt_includeInstance) {
3978
+ return proto.wechaty.puppet.RoomRemarkResponse.toObject(opt_includeInstance, this);
3979
+ };
3980
+
3981
+
3982
+ /**
3983
+ * Static version of the {@see toObject} method.
3984
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3985
+ * the JSPB instance for transitional soy proto support:
3986
+ * http://goto/soy-param-migration
3987
+ * @param {!proto.wechaty.puppet.RoomRemarkResponse} msg The msg instance to transform.
3988
+ * @return {!Object}
3989
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3990
+ */
3991
+ proto.wechaty.puppet.RoomRemarkResponse.toObject = function(includeInstance, msg) {
3992
+ var f, obj = {
3993
+
3994
+ };
3995
+
3996
+ if (includeInstance) {
3997
+ obj.$jspbMessageInstance = msg;
3998
+ }
3999
+ return obj;
4000
+ };
4001
+ }
4002
+
4003
+
4004
+ /**
4005
+ * Deserializes binary data (in protobuf wire format).
4006
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4007
+ * @return {!proto.wechaty.puppet.RoomRemarkResponse}
4008
+ */
4009
+ proto.wechaty.puppet.RoomRemarkResponse.deserializeBinary = function(bytes) {
4010
+ var reader = new jspb.BinaryReader(bytes);
4011
+ var msg = new proto.wechaty.puppet.RoomRemarkResponse;
4012
+ return proto.wechaty.puppet.RoomRemarkResponse.deserializeBinaryFromReader(msg, reader);
4013
+ };
4014
+
4015
+
4016
+ /**
4017
+ * Deserializes binary data (in protobuf wire format) from the
4018
+ * given reader into the given message object.
4019
+ * @param {!proto.wechaty.puppet.RoomRemarkResponse} msg The message object to deserialize into.
4020
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4021
+ * @return {!proto.wechaty.puppet.RoomRemarkResponse}
4022
+ */
4023
+ proto.wechaty.puppet.RoomRemarkResponse.deserializeBinaryFromReader = function(msg, reader) {
4024
+ while (reader.nextField()) {
4025
+ if (reader.isEndGroup()) {
4026
+ break;
4027
+ }
4028
+ var field = reader.getFieldNumber();
4029
+ switch (field) {
4030
+ default:
4031
+ reader.skipField();
4032
+ break;
4033
+ }
4034
+ }
4035
+ return msg;
4036
+ };
4037
+
4038
+
4039
+ /**
4040
+ * Serializes the message to binary data (in protobuf wire format).
4041
+ * @return {!Uint8Array}
4042
+ */
4043
+ proto.wechaty.puppet.RoomRemarkResponse.prototype.serializeBinary = function() {
4044
+ var writer = new jspb.BinaryWriter();
4045
+ proto.wechaty.puppet.RoomRemarkResponse.serializeBinaryToWriter(this, writer);
4046
+ return writer.getResultBuffer();
4047
+ };
4048
+
4049
+
4050
+ /**
4051
+ * Serializes the given message to binary data (in protobuf wire
4052
+ * format), writing to the given BinaryWriter.
4053
+ * @param {!proto.wechaty.puppet.RoomRemarkResponse} message
4054
+ * @param {!jspb.BinaryWriter} writer
4055
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4056
+ */
4057
+ proto.wechaty.puppet.RoomRemarkResponse.serializeBinaryToWriter = function(message, writer) {
4058
+ var f = undefined;
4059
+ };
4060
+
4061
+
3727
4062
  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.41
12
+ version: 1.0.43
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -1700,6 +1700,29 @@ paths:
1700
1700
  type: string
1701
1701
  tags:
1702
1702
  - Puppet
1703
+ '/rooms/{id}/remark':
1704
+ put:
1705
+ operationId: Puppet_RoomRemark
1706
+ responses:
1707
+ '200':
1708
+ description: A successful response.
1709
+ schema:
1710
+ $ref: '#/definitions/puppetRoomRemarkResponse'
1711
+ default:
1712
+ description: An unexpected error response.
1713
+ schema:
1714
+ $ref: '#/definitions/rpcStatus'
1715
+ parameters:
1716
+ - name: id
1717
+ in: path
1718
+ required: true
1719
+ type: string
1720
+ - name: remark
1721
+ in: query
1722
+ required: false
1723
+ type: string
1724
+ tags:
1725
+ - Puppet
1703
1726
  '/rooms/{id}/topic':
1704
1727
  get:
1705
1728
  operationId: Puppet_RoomTopic
@@ -2075,35 +2098,6 @@ paths:
2075
2098
  $ref: '#/definitions/puppetMessageFileRequest'
2076
2099
  tags:
2077
2100
  - Puppet
2078
- /wechaty.Puppet/MessageFileStream:
2079
- post:
2080
- summary: |-
2081
- *
2082
- Deprecated: will be removed after Dec 31, 2022
2083
- operationId: Puppet_MessageFileStream
2084
- responses:
2085
- '200':
2086
- description: A successful response.(streaming responses)
2087
- schema:
2088
- type: object
2089
- properties:
2090
- result:
2091
- $ref: '#/definitions/puppetMessageFileStreamResponse'
2092
- error:
2093
- $ref: '#/definitions/rpcStatus'
2094
- title: Stream result of puppetMessageFileStreamResponse
2095
- default:
2096
- description: An unexpected error response.
2097
- schema:
2098
- $ref: '#/definitions/rpcStatus'
2099
- parameters:
2100
- - name: body
2101
- in: body
2102
- required: true
2103
- schema:
2104
- $ref: '#/definitions/puppetMessageFileStreamRequest'
2105
- tags:
2106
- - Puppet
2107
2101
  /wechaty.Puppet/MessageImage:
2108
2102
  post:
2109
2103
  operationId: Puppet_MessageImage
@@ -2124,32 +2118,6 @@ paths:
2124
2118
  $ref: '#/definitions/puppetMessageImageRequest'
2125
2119
  tags:
2126
2120
  - Puppet
2127
- /wechaty.Puppet/MessageImageStream:
2128
- post:
2129
- operationId: Puppet_MessageImageStream
2130
- responses:
2131
- '200':
2132
- description: A successful response.(streaming responses)
2133
- schema:
2134
- type: object
2135
- properties:
2136
- result:
2137
- $ref: '#/definitions/puppetMessageImageStreamResponse'
2138
- error:
2139
- $ref: '#/definitions/rpcStatus'
2140
- title: Stream result of puppetMessageImageStreamResponse
2141
- default:
2142
- description: An unexpected error response.
2143
- schema:
2144
- $ref: '#/definitions/rpcStatus'
2145
- parameters:
2146
- - name: body
2147
- in: body
2148
- required: true
2149
- schema:
2150
- $ref: '#/definitions/puppetMessageImageStreamRequest'
2151
- tags:
2152
- - Puppet
2153
2121
  /wechaty.Puppet/MessageSendFile:
2154
2122
  post:
2155
2123
  operationId: Puppet_MessageSendFile
@@ -2170,30 +2138,6 @@ paths:
2170
2138
  $ref: '#/definitions/puppetMessageSendFileRequest'
2171
2139
  tags:
2172
2140
  - Puppet
2173
- /wechaty.Puppet/MessageSendFileStream:
2174
- post:
2175
- operationId: Puppet_MessageSendFileStream
2176
- responses:
2177
- '200':
2178
- description: A successful response.
2179
- schema:
2180
- $ref: '#/definitions/puppetMessageSendFileStreamResponse'
2181
- default:
2182
- description: An unexpected error response.
2183
- schema:
2184
- $ref: '#/definitions/rpcStatus'
2185
- parameters:
2186
- - name: body
2187
- description: |-
2188
- *
2189
- Huan(202110): `oneof xxx {}` seems equal with `optional`?
2190
- to be confirmed. (streaming inputs)
2191
- in: body
2192
- required: true
2193
- schema:
2194
- $ref: '#/definitions/puppetMessageSendFileStreamRequest'
2195
- tags:
2196
- - Puppet
2197
2141
  definitions:
2198
2142
  protobufAny:
2199
2143
  type: object
@@ -2459,20 +2403,6 @@ definitions:
2459
2403
  - EVENT_TYPE_POST_TAP
2460
2404
  - EVENT_TYPE_ROOM_ANNOUNCE
2461
2405
  default: EVENT_TYPE_UNSPECIFIED
2462
- puppetFileBoxChunk:
2463
- type: object
2464
- properties:
2465
- data:
2466
- type: string
2467
- format: byte
2468
- title: 'oneof payload {'
2469
- name:
2470
- type: string
2471
- title: '}'
2472
- description: |-
2473
- *
2474
- Huan(202110): `oneof xxx {}` seems equal with `optional`?
2475
- to be confirmed.
2476
2406
  puppetFriendshipAcceptResponse:
2477
2407
  type: object
2478
2408
  puppetFriendshipAddResponse:
@@ -2634,16 +2564,6 @@ definitions:
2634
2564
  properties:
2635
2565
  fileBox:
2636
2566
  type: string
2637
- puppetMessageFileStreamRequest:
2638
- type: object
2639
- properties:
2640
- id:
2641
- type: string
2642
- puppetMessageFileStreamResponse:
2643
- type: object
2644
- properties:
2645
- fileBoxChunk:
2646
- $ref: '#/definitions/puppetFileBoxChunk'
2647
2567
  puppetMessageForwardResponse:
2648
2568
  type: object
2649
2569
  properties:
@@ -2670,18 +2590,6 @@ definitions:
2670
2590
  properties:
2671
2591
  fileBox:
2672
2592
  type: string
2673
- puppetMessageImageStreamRequest:
2674
- type: object
2675
- properties:
2676
- id:
2677
- type: string
2678
- type:
2679
- $ref: '#/definitions/puppetImageType'
2680
- puppetMessageImageStreamResponse:
2681
- type: object
2682
- properties:
2683
- fileBoxChunk:
2684
- $ref: '#/definitions/puppetFileBoxChunk'
2685
2593
  puppetMessageLocationResponse:
2686
2594
  type: object
2687
2595
  properties:
@@ -2795,32 +2703,6 @@ definitions:
2795
2703
  https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2796
2704
  id:
2797
2705
  type: string
2798
- puppetMessageSendFileStreamRequest:
2799
- type: object
2800
- properties:
2801
- conversationId:
2802
- type: string
2803
- title: 'oneof payload {'
2804
- fileBoxChunk:
2805
- $ref: '#/definitions/puppetFileBoxChunk'
2806
- title: '};'
2807
- description: |-
2808
- *
2809
- Huan(202110): `oneof xxx {}` seems equal with `optional`?
2810
- to be confirmed.
2811
- puppetMessageSendFileStreamResponse:
2812
- type: object
2813
- properties:
2814
- idStringValueDeprecated:
2815
- type: string
2816
- description: 'Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022'
2817
- title: |-
2818
- *
2819
- @deprecated:
2820
- Huan(202109): Wrapper types must not be used going forward.
2821
- https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2822
- id:
2823
- type: string
2824
2706
  puppetMessageSendLocationResponse:
2825
2707
  type: object
2826
2708
  properties:
@@ -3304,6 +3186,8 @@ definitions:
3304
3186
  title: IM内部id,企微中为群的chat_id
3305
3187
  additionalInfo:
3306
3188
  type: string
3189
+ roomRemark:
3190
+ type: string
3307
3191
  puppetRoomQRCodeResponse:
3308
3192
  type: object
3309
3193
  properties:
@@ -3311,6 +3195,8 @@ definitions:
3311
3195
  type: string
3312
3196
  puppetRoomQuitResponse:
3313
3197
  type: object
3198
+ puppetRoomRemarkResponse:
3199
+ type: object
3314
3200
  puppetRoomTopicResponse:
3315
3201
  type: object
3316
3202
  properties: