@juzi/wechaty-grpc 1.0.86 → 1.0.87

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.
@@ -597,6 +597,9 @@ export class RoomPermissionRequest extends jspb.Message {
597
597
  getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
598
598
  setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
599
599
 
600
+ getDisableMemberMutualAdd(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
601
+ setDisableMemberMutualAdd(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
602
+
600
603
  serializeBinary(): Uint8Array;
601
604
  toObject(includeInstance?: boolean): RoomPermissionRequest.AsObject;
602
605
  static toObject(includeInstance: boolean, msg: RoomPermissionRequest): RoomPermissionRequest.AsObject;
@@ -615,6 +618,7 @@ export namespace RoomPermissionRequest {
615
618
  adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
616
619
  muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
617
620
  forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
621
+ disableMemberMutualAdd: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
618
622
  }
619
623
  }
620
624
 
@@ -634,6 +638,9 @@ export class RoomPermissionResponse extends jspb.Message {
634
638
  getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
635
639
  setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
636
640
 
641
+ getDisableMemberMutualAdd(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
642
+ setDisableMemberMutualAdd(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
643
+
637
644
  serializeBinary(): Uint8Array;
638
645
  toObject(includeInstance?: boolean): RoomPermissionResponse.AsObject;
639
646
  static toObject(includeInstance: boolean, msg: RoomPermissionResponse): RoomPermissionResponse.AsObject;
@@ -651,6 +658,7 @@ export namespace RoomPermissionResponse {
651
658
  adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
652
659
  muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
653
660
  forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
661
+ disableMemberMutualAdd: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
654
662
  }
655
663
  }
656
664
 
@@ -4618,7 +4618,8 @@ proto.wechaty.puppet.RoomPermissionRequest.toObject = function(includeInstance,
4618
4618
  adminOnlyManage: jspb.Message.getFieldWithDefault(msg, 3, 0),
4619
4619
  adminOnlyAtAll: jspb.Message.getFieldWithDefault(msg, 4, 0),
4620
4620
  muteAll: jspb.Message.getFieldWithDefault(msg, 5, 0),
4621
- forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 6, 0)
4621
+ forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 6, 0),
4622
+ disableMemberMutualAdd: jspb.Message.getFieldWithDefault(msg, 7, 0)
4622
4623
  };
4623
4624
 
4624
4625
  if (includeInstance) {
@@ -4679,6 +4680,10 @@ proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader = functio
4679
4680
  var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4680
4681
  msg.setForbidRoomTopicEdit(value);
4681
4682
  break;
4683
+ case 7:
4684
+ var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4685
+ msg.setDisableMemberMutualAdd(value);
4686
+ break;
4682
4687
  default:
4683
4688
  reader.skipField();
4684
4689
  break;
@@ -4750,6 +4755,13 @@ proto.wechaty.puppet.RoomPermissionRequest.serializeBinaryToWriter = function(me
4750
4755
  f
4751
4756
  );
4752
4757
  }
4758
+ f = message.getDisableMemberMutualAdd();
4759
+ if (f !== 0.0) {
4760
+ writer.writeEnum(
4761
+ 7,
4762
+ f
4763
+ );
4764
+ }
4753
4765
  };
4754
4766
 
4755
4767
 
@@ -4861,6 +4873,24 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setForbidRoomTopicEdit = fu
4861
4873
  };
4862
4874
 
4863
4875
 
4876
+ /**
4877
+ * optional OptionalBoolean disable_member_mutual_add = 7;
4878
+ * @return {!proto.wechaty.puppet.OptionalBoolean}
4879
+ */
4880
+ proto.wechaty.puppet.RoomPermissionRequest.prototype.getDisableMemberMutualAdd = function() {
4881
+ return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4882
+ };
4883
+
4884
+
4885
+ /**
4886
+ * @param {!proto.wechaty.puppet.OptionalBoolean} value
4887
+ * @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
4888
+ */
4889
+ proto.wechaty.puppet.RoomPermissionRequest.prototype.setDisableMemberMutualAdd = function(value) {
4890
+ return jspb.Message.setProto3EnumField(this, 7, value);
4891
+ };
4892
+
4893
+
4864
4894
 
4865
4895
 
4866
4896
 
@@ -4897,7 +4927,8 @@ proto.wechaty.puppet.RoomPermissionResponse.toObject = function(includeInstance,
4897
4927
  adminOnlyManage: jspb.Message.getFieldWithDefault(msg, 2, 0),
4898
4928
  adminOnlyAtAll: jspb.Message.getFieldWithDefault(msg, 3, 0),
4899
4929
  muteAll: jspb.Message.getFieldWithDefault(msg, 4, 0),
4900
- forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 5, 0)
4930
+ forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 5, 0),
4931
+ disableMemberMutualAdd: jspb.Message.getFieldWithDefault(msg, 6, 0)
4901
4932
  };
4902
4933
 
4903
4934
  if (includeInstance) {
@@ -4954,6 +4985,10 @@ proto.wechaty.puppet.RoomPermissionResponse.deserializeBinaryFromReader = functi
4954
4985
  var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4955
4986
  msg.setForbidRoomTopicEdit(value);
4956
4987
  break;
4988
+ case 6:
4989
+ var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4990
+ msg.setDisableMemberMutualAdd(value);
4991
+ break;
4957
4992
  default:
4958
4993
  reader.skipField();
4959
4994
  break;
@@ -5018,6 +5053,13 @@ proto.wechaty.puppet.RoomPermissionResponse.serializeBinaryToWriter = function(m
5018
5053
  f
5019
5054
  );
5020
5055
  }
5056
+ f = message.getDisableMemberMutualAdd();
5057
+ if (f !== 0.0) {
5058
+ writer.writeEnum(
5059
+ 6,
5060
+ f
5061
+ );
5062
+ }
5021
5063
  };
5022
5064
 
5023
5065
 
@@ -5111,6 +5153,24 @@ proto.wechaty.puppet.RoomPermissionResponse.prototype.setForbidRoomTopicEdit = f
5111
5153
  };
5112
5154
 
5113
5155
 
5156
+ /**
5157
+ * optional OptionalBoolean disable_member_mutual_add = 6;
5158
+ * @return {!proto.wechaty.puppet.OptionalBoolean}
5159
+ */
5160
+ proto.wechaty.puppet.RoomPermissionResponse.prototype.getDisableMemberMutualAdd = function() {
5161
+ return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5162
+ };
5163
+
5164
+
5165
+ /**
5166
+ * @param {!proto.wechaty.puppet.OptionalBoolean} value
5167
+ * @return {!proto.wechaty.puppet.RoomPermissionResponse} returns this
5168
+ */
5169
+ proto.wechaty.puppet.RoomPermissionResponse.prototype.setDisableMemberMutualAdd = function(value) {
5170
+ return jspb.Message.setProto3EnumField(this, 6, value);
5171
+ };
5172
+
5173
+
5114
5174
 
5115
5175
  /**
5116
5176
  * List of repeated fields within this message type.
@@ -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.86
12
+ version: 1.0.87
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -1997,6 +1997,15 @@ paths:
1997
1997
  - BOOL_FALSE
1998
1998
  - BOOL_TRUE
1999
1999
  default: BOOL_UNSET
2000
+ - name: disableMemberMutualAdd
2001
+ in: query
2002
+ required: false
2003
+ type: string
2004
+ enum:
2005
+ - BOOL_UNSET
2006
+ - BOOL_FALSE
2007
+ - BOOL_TRUE
2008
+ default: BOOL_UNSET
2000
2009
  tags:
2001
2010
  - Puppet
2002
2011
  /rooms/{id}/qrcode:
@@ -4161,6 +4170,8 @@ definitions:
4161
4170
  $ref: '#/definitions/puppetOptionalBoolean'
4162
4171
  forbidRoomTopicEdit:
4163
4172
  $ref: '#/definitions/puppetOptionalBoolean'
4173
+ disableMemberMutualAdd:
4174
+ $ref: '#/definitions/puppetOptionalBoolean'
4164
4175
  puppetRoomQRCodeResponse:
4165
4176
  type: object
4166
4177
  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.86",
6
+ "version": "1.0.87",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -2980,6 +2980,18 @@
2980
2980
  "BOOL_TRUE"
2981
2981
  ],
2982
2982
  "default": "BOOL_UNSET"
2983
+ },
2984
+ {
2985
+ "name": "disableMemberMutualAdd",
2986
+ "in": "query",
2987
+ "required": false,
2988
+ "type": "string",
2989
+ "enum": [
2990
+ "BOOL_UNSET",
2991
+ "BOOL_FALSE",
2992
+ "BOOL_TRUE"
2993
+ ],
2994
+ "default": "BOOL_UNSET"
2983
2995
  }
2984
2996
  ],
2985
2997
  "tags": [
@@ -5903,6 +5915,9 @@
5903
5915
  },
5904
5916
  "forbidRoomTopicEdit": {
5905
5917
  "$ref": "#/definitions/puppetOptionalBoolean"
5918
+ },
5919
+ "disableMemberMutualAdd": {
5920
+ "$ref": "#/definitions/puppetOptionalBoolean"
5906
5921
  }
5907
5922
  }
5908
5923
  },
@@ -114,6 +114,7 @@ message RoomPermissionRequest {
114
114
  OptionalBoolean admin_only_at_all = 4;
115
115
  OptionalBoolean mute_all = 5;
116
116
  OptionalBoolean forbid_room_topic_edit = 6;
117
+ OptionalBoolean disable_member_mutual_add = 7;
117
118
  }
118
119
 
119
120
  message RoomPermissionResponse {
@@ -122,6 +123,7 @@ message RoomPermissionResponse {
122
123
  OptionalBoolean admin_only_at_all = 3;
123
124
  OptionalBoolean mute_all = 4;
124
125
  OptionalBoolean forbid_room_topic_edit = 5;
126
+ OptionalBoolean disable_member_mutual_add = 6;
125
127
  }
126
128
 
127
129
  message RoomAdminsRequest {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageJson = void 0;
4
4
  exports.packageJson = {
5
5
  "name": "@juzi/wechaty-grpc",
6
- "version": "1.0.86",
6
+ "version": "1.0.87",
7
7
  "description": "gRPC for Wechaty",
8
8
  "type": "module",
9
9
  "exports": {
@@ -597,6 +597,9 @@ export class RoomPermissionRequest extends jspb.Message {
597
597
  getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
598
598
  setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
599
599
 
600
+ getDisableMemberMutualAdd(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
601
+ setDisableMemberMutualAdd(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
602
+
600
603
  serializeBinary(): Uint8Array;
601
604
  toObject(includeInstance?: boolean): RoomPermissionRequest.AsObject;
602
605
  static toObject(includeInstance: boolean, msg: RoomPermissionRequest): RoomPermissionRequest.AsObject;
@@ -615,6 +618,7 @@ export namespace RoomPermissionRequest {
615
618
  adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
616
619
  muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
617
620
  forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
621
+ disableMemberMutualAdd: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
618
622
  }
619
623
  }
620
624
 
@@ -634,6 +638,9 @@ export class RoomPermissionResponse extends jspb.Message {
634
638
  getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
635
639
  setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
636
640
 
641
+ getDisableMemberMutualAdd(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
642
+ setDisableMemberMutualAdd(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
643
+
637
644
  serializeBinary(): Uint8Array;
638
645
  toObject(includeInstance?: boolean): RoomPermissionResponse.AsObject;
639
646
  static toObject(includeInstance: boolean, msg: RoomPermissionResponse): RoomPermissionResponse.AsObject;
@@ -651,6 +658,7 @@ export namespace RoomPermissionResponse {
651
658
  adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
652
659
  muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
653
660
  forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
661
+ disableMemberMutualAdd: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
654
662
  }
655
663
  }
656
664
 
@@ -4618,7 +4618,8 @@ proto.wechaty.puppet.RoomPermissionRequest.toObject = function(includeInstance,
4618
4618
  adminOnlyManage: jspb.Message.getFieldWithDefault(msg, 3, 0),
4619
4619
  adminOnlyAtAll: jspb.Message.getFieldWithDefault(msg, 4, 0),
4620
4620
  muteAll: jspb.Message.getFieldWithDefault(msg, 5, 0),
4621
- forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 6, 0)
4621
+ forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 6, 0),
4622
+ disableMemberMutualAdd: jspb.Message.getFieldWithDefault(msg, 7, 0)
4622
4623
  };
4623
4624
 
4624
4625
  if (includeInstance) {
@@ -4679,6 +4680,10 @@ proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader = functio
4679
4680
  var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4680
4681
  msg.setForbidRoomTopicEdit(value);
4681
4682
  break;
4683
+ case 7:
4684
+ var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4685
+ msg.setDisableMemberMutualAdd(value);
4686
+ break;
4682
4687
  default:
4683
4688
  reader.skipField();
4684
4689
  break;
@@ -4750,6 +4755,13 @@ proto.wechaty.puppet.RoomPermissionRequest.serializeBinaryToWriter = function(me
4750
4755
  f
4751
4756
  );
4752
4757
  }
4758
+ f = message.getDisableMemberMutualAdd();
4759
+ if (f !== 0.0) {
4760
+ writer.writeEnum(
4761
+ 7,
4762
+ f
4763
+ );
4764
+ }
4753
4765
  };
4754
4766
 
4755
4767
 
@@ -4861,6 +4873,24 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setForbidRoomTopicEdit = fu
4861
4873
  };
4862
4874
 
4863
4875
 
4876
+ /**
4877
+ * optional OptionalBoolean disable_member_mutual_add = 7;
4878
+ * @return {!proto.wechaty.puppet.OptionalBoolean}
4879
+ */
4880
+ proto.wechaty.puppet.RoomPermissionRequest.prototype.getDisableMemberMutualAdd = function() {
4881
+ return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4882
+ };
4883
+
4884
+
4885
+ /**
4886
+ * @param {!proto.wechaty.puppet.OptionalBoolean} value
4887
+ * @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
4888
+ */
4889
+ proto.wechaty.puppet.RoomPermissionRequest.prototype.setDisableMemberMutualAdd = function(value) {
4890
+ return jspb.Message.setProto3EnumField(this, 7, value);
4891
+ };
4892
+
4893
+
4864
4894
 
4865
4895
 
4866
4896
 
@@ -4897,7 +4927,8 @@ proto.wechaty.puppet.RoomPermissionResponse.toObject = function(includeInstance,
4897
4927
  adminOnlyManage: jspb.Message.getFieldWithDefault(msg, 2, 0),
4898
4928
  adminOnlyAtAll: jspb.Message.getFieldWithDefault(msg, 3, 0),
4899
4929
  muteAll: jspb.Message.getFieldWithDefault(msg, 4, 0),
4900
- forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 5, 0)
4930
+ forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 5, 0),
4931
+ disableMemberMutualAdd: jspb.Message.getFieldWithDefault(msg, 6, 0)
4901
4932
  };
4902
4933
 
4903
4934
  if (includeInstance) {
@@ -4954,6 +4985,10 @@ proto.wechaty.puppet.RoomPermissionResponse.deserializeBinaryFromReader = functi
4954
4985
  var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4955
4986
  msg.setForbidRoomTopicEdit(value);
4956
4987
  break;
4988
+ case 6:
4989
+ var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4990
+ msg.setDisableMemberMutualAdd(value);
4991
+ break;
4957
4992
  default:
4958
4993
  reader.skipField();
4959
4994
  break;
@@ -5018,6 +5053,13 @@ proto.wechaty.puppet.RoomPermissionResponse.serializeBinaryToWriter = function(m
5018
5053
  f
5019
5054
  );
5020
5055
  }
5056
+ f = message.getDisableMemberMutualAdd();
5057
+ if (f !== 0.0) {
5058
+ writer.writeEnum(
5059
+ 6,
5060
+ f
5061
+ );
5062
+ }
5021
5063
  };
5022
5064
 
5023
5065
 
@@ -5111,6 +5153,24 @@ proto.wechaty.puppet.RoomPermissionResponse.prototype.setForbidRoomTopicEdit = f
5111
5153
  };
5112
5154
 
5113
5155
 
5156
+ /**
5157
+ * optional OptionalBoolean disable_member_mutual_add = 6;
5158
+ * @return {!proto.wechaty.puppet.OptionalBoolean}
5159
+ */
5160
+ proto.wechaty.puppet.RoomPermissionResponse.prototype.getDisableMemberMutualAdd = function() {
5161
+ return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5162
+ };
5163
+
5164
+
5165
+ /**
5166
+ * @param {!proto.wechaty.puppet.OptionalBoolean} value
5167
+ * @return {!proto.wechaty.puppet.RoomPermissionResponse} returns this
5168
+ */
5169
+ proto.wechaty.puppet.RoomPermissionResponse.prototype.setDisableMemberMutualAdd = function(value) {
5170
+ return jspb.Message.setProto3EnumField(this, 6, value);
5171
+ };
5172
+
5173
+
5114
5174
 
5115
5175
  /**
5116
5176
  * List of repeated fields within this message type.
@@ -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.86
12
+ version: 1.0.87
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -1997,6 +1997,15 @@ paths:
1997
1997
  - BOOL_FALSE
1998
1998
  - BOOL_TRUE
1999
1999
  default: BOOL_UNSET
2000
+ - name: disableMemberMutualAdd
2001
+ in: query
2002
+ required: false
2003
+ type: string
2004
+ enum:
2005
+ - BOOL_UNSET
2006
+ - BOOL_FALSE
2007
+ - BOOL_TRUE
2008
+ default: BOOL_UNSET
2000
2009
  tags:
2001
2010
  - Puppet
2002
2011
  /rooms/{id}/qrcode:
@@ -4161,6 +4170,8 @@ definitions:
4161
4170
  $ref: '#/definitions/puppetOptionalBoolean'
4162
4171
  forbidRoomTopicEdit:
4163
4172
  $ref: '#/definitions/puppetOptionalBoolean'
4173
+ disableMemberMutualAdd:
4174
+ $ref: '#/definitions/puppetOptionalBoolean'
4164
4175
  puppetRoomQRCodeResponse:
4165
4176
  type: object
4166
4177
  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.86",
6
+ "version": "1.0.87",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -2980,6 +2980,18 @@
2980
2980
  "BOOL_TRUE"
2981
2981
  ],
2982
2982
  "default": "BOOL_UNSET"
2983
+ },
2984
+ {
2985
+ "name": "disableMemberMutualAdd",
2986
+ "in": "query",
2987
+ "required": false,
2988
+ "type": "string",
2989
+ "enum": [
2990
+ "BOOL_UNSET",
2991
+ "BOOL_FALSE",
2992
+ "BOOL_TRUE"
2993
+ ],
2994
+ "default": "BOOL_UNSET"
2983
2995
  }
2984
2996
  ],
2985
2997
  "tags": [
@@ -5903,6 +5915,9 @@
5903
5915
  },
5904
5916
  "forbidRoomTopicEdit": {
5905
5917
  "$ref": "#/definitions/puppetOptionalBoolean"
5918
+ },
5919
+ "disableMemberMutualAdd": {
5920
+ "$ref": "#/definitions/puppetOptionalBoolean"
5906
5921
  }
5907
5922
  }
5908
5923
  },
@@ -114,6 +114,7 @@ message RoomPermissionRequest {
114
114
  OptionalBoolean admin_only_at_all = 4;
115
115
  OptionalBoolean mute_all = 5;
116
116
  OptionalBoolean forbid_room_topic_edit = 6;
117
+ OptionalBoolean disable_member_mutual_add = 7;
117
118
  }
118
119
 
119
120
  message RoomPermissionResponse {
@@ -122,6 +123,7 @@ message RoomPermissionResponse {
122
123
  OptionalBoolean admin_only_at_all = 3;
123
124
  OptionalBoolean mute_all = 4;
124
125
  OptionalBoolean forbid_room_topic_edit = 5;
126
+ OptionalBoolean disable_member_mutual_add = 6;
125
127
  }
126
128
 
127
129
  message RoomAdminsRequest {
@@ -1,6 +1,6 @@
1
1
  export const packageJson = {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -597,6 +597,9 @@ export class RoomPermissionRequest extends jspb.Message {
597
597
  getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
598
598
  setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
599
599
 
600
+ getDisableMemberMutualAdd(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
601
+ setDisableMemberMutualAdd(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
602
+
600
603
  serializeBinary(): Uint8Array;
601
604
  toObject(includeInstance?: boolean): RoomPermissionRequest.AsObject;
602
605
  static toObject(includeInstance: boolean, msg: RoomPermissionRequest): RoomPermissionRequest.AsObject;
@@ -615,6 +618,7 @@ export namespace RoomPermissionRequest {
615
618
  adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
616
619
  muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
617
620
  forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
621
+ disableMemberMutualAdd: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
618
622
  }
619
623
  }
620
624
 
@@ -634,6 +638,9 @@ export class RoomPermissionResponse extends jspb.Message {
634
638
  getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
635
639
  setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
636
640
 
641
+ getDisableMemberMutualAdd(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
642
+ setDisableMemberMutualAdd(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
643
+
637
644
  serializeBinary(): Uint8Array;
638
645
  toObject(includeInstance?: boolean): RoomPermissionResponse.AsObject;
639
646
  static toObject(includeInstance: boolean, msg: RoomPermissionResponse): RoomPermissionResponse.AsObject;
@@ -651,6 +658,7 @@ export namespace RoomPermissionResponse {
651
658
  adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
652
659
  muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
653
660
  forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
661
+ disableMemberMutualAdd: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
654
662
  }
655
663
  }
656
664
 
@@ -4618,7 +4618,8 @@ proto.wechaty.puppet.RoomPermissionRequest.toObject = function(includeInstance,
4618
4618
  adminOnlyManage: jspb.Message.getFieldWithDefault(msg, 3, 0),
4619
4619
  adminOnlyAtAll: jspb.Message.getFieldWithDefault(msg, 4, 0),
4620
4620
  muteAll: jspb.Message.getFieldWithDefault(msg, 5, 0),
4621
- forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 6, 0)
4621
+ forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 6, 0),
4622
+ disableMemberMutualAdd: jspb.Message.getFieldWithDefault(msg, 7, 0)
4622
4623
  };
4623
4624
 
4624
4625
  if (includeInstance) {
@@ -4679,6 +4680,10 @@ proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader = functio
4679
4680
  var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4680
4681
  msg.setForbidRoomTopicEdit(value);
4681
4682
  break;
4683
+ case 7:
4684
+ var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4685
+ msg.setDisableMemberMutualAdd(value);
4686
+ break;
4682
4687
  default:
4683
4688
  reader.skipField();
4684
4689
  break;
@@ -4750,6 +4755,13 @@ proto.wechaty.puppet.RoomPermissionRequest.serializeBinaryToWriter = function(me
4750
4755
  f
4751
4756
  );
4752
4757
  }
4758
+ f = message.getDisableMemberMutualAdd();
4759
+ if (f !== 0.0) {
4760
+ writer.writeEnum(
4761
+ 7,
4762
+ f
4763
+ );
4764
+ }
4753
4765
  };
4754
4766
 
4755
4767
 
@@ -4861,6 +4873,24 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setForbidRoomTopicEdit = fu
4861
4873
  };
4862
4874
 
4863
4875
 
4876
+ /**
4877
+ * optional OptionalBoolean disable_member_mutual_add = 7;
4878
+ * @return {!proto.wechaty.puppet.OptionalBoolean}
4879
+ */
4880
+ proto.wechaty.puppet.RoomPermissionRequest.prototype.getDisableMemberMutualAdd = function() {
4881
+ return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4882
+ };
4883
+
4884
+
4885
+ /**
4886
+ * @param {!proto.wechaty.puppet.OptionalBoolean} value
4887
+ * @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
4888
+ */
4889
+ proto.wechaty.puppet.RoomPermissionRequest.prototype.setDisableMemberMutualAdd = function(value) {
4890
+ return jspb.Message.setProto3EnumField(this, 7, value);
4891
+ };
4892
+
4893
+
4864
4894
 
4865
4895
 
4866
4896
 
@@ -4897,7 +4927,8 @@ proto.wechaty.puppet.RoomPermissionResponse.toObject = function(includeInstance,
4897
4927
  adminOnlyManage: jspb.Message.getFieldWithDefault(msg, 2, 0),
4898
4928
  adminOnlyAtAll: jspb.Message.getFieldWithDefault(msg, 3, 0),
4899
4929
  muteAll: jspb.Message.getFieldWithDefault(msg, 4, 0),
4900
- forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 5, 0)
4930
+ forbidRoomTopicEdit: jspb.Message.getFieldWithDefault(msg, 5, 0),
4931
+ disableMemberMutualAdd: jspb.Message.getFieldWithDefault(msg, 6, 0)
4901
4932
  };
4902
4933
 
4903
4934
  if (includeInstance) {
@@ -4954,6 +4985,10 @@ proto.wechaty.puppet.RoomPermissionResponse.deserializeBinaryFromReader = functi
4954
4985
  var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4955
4986
  msg.setForbidRoomTopicEdit(value);
4956
4987
  break;
4988
+ case 6:
4989
+ var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
4990
+ msg.setDisableMemberMutualAdd(value);
4991
+ break;
4957
4992
  default:
4958
4993
  reader.skipField();
4959
4994
  break;
@@ -5018,6 +5053,13 @@ proto.wechaty.puppet.RoomPermissionResponse.serializeBinaryToWriter = function(m
5018
5053
  f
5019
5054
  );
5020
5055
  }
5056
+ f = message.getDisableMemberMutualAdd();
5057
+ if (f !== 0.0) {
5058
+ writer.writeEnum(
5059
+ 6,
5060
+ f
5061
+ );
5062
+ }
5021
5063
  };
5022
5064
 
5023
5065
 
@@ -5111,6 +5153,24 @@ proto.wechaty.puppet.RoomPermissionResponse.prototype.setForbidRoomTopicEdit = f
5111
5153
  };
5112
5154
 
5113
5155
 
5156
+ /**
5157
+ * optional OptionalBoolean disable_member_mutual_add = 6;
5158
+ * @return {!proto.wechaty.puppet.OptionalBoolean}
5159
+ */
5160
+ proto.wechaty.puppet.RoomPermissionResponse.prototype.getDisableMemberMutualAdd = function() {
5161
+ return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5162
+ };
5163
+
5164
+
5165
+ /**
5166
+ * @param {!proto.wechaty.puppet.OptionalBoolean} value
5167
+ * @return {!proto.wechaty.puppet.RoomPermissionResponse} returns this
5168
+ */
5169
+ proto.wechaty.puppet.RoomPermissionResponse.prototype.setDisableMemberMutualAdd = function(value) {
5170
+ return jspb.Message.setProto3EnumField(this, 6, value);
5171
+ };
5172
+
5173
+
5114
5174
 
5115
5175
  /**
5116
5176
  * List of repeated fields within this message type.
@@ -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.86
12
+ version: 1.0.87
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -1997,6 +1997,15 @@ paths:
1997
1997
  - BOOL_FALSE
1998
1998
  - BOOL_TRUE
1999
1999
  default: BOOL_UNSET
2000
+ - name: disableMemberMutualAdd
2001
+ in: query
2002
+ required: false
2003
+ type: string
2004
+ enum:
2005
+ - BOOL_UNSET
2006
+ - BOOL_FALSE
2007
+ - BOOL_TRUE
2008
+ default: BOOL_UNSET
2000
2009
  tags:
2001
2010
  - Puppet
2002
2011
  /rooms/{id}/qrcode:
@@ -4161,6 +4170,8 @@ definitions:
4161
4170
  $ref: '#/definitions/puppetOptionalBoolean'
4162
4171
  forbidRoomTopicEdit:
4163
4172
  $ref: '#/definitions/puppetOptionalBoolean'
4173
+ disableMemberMutualAdd:
4174
+ $ref: '#/definitions/puppetOptionalBoolean'
4164
4175
  puppetRoomQRCodeResponse:
4165
4176
  type: object
4166
4177
  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.86",
6
+ "version": "1.0.87",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -2980,6 +2980,18 @@
2980
2980
  "BOOL_TRUE"
2981
2981
  ],
2982
2982
  "default": "BOOL_UNSET"
2983
+ },
2984
+ {
2985
+ "name": "disableMemberMutualAdd",
2986
+ "in": "query",
2987
+ "required": false,
2988
+ "type": "string",
2989
+ "enum": [
2990
+ "BOOL_UNSET",
2991
+ "BOOL_FALSE",
2992
+ "BOOL_TRUE"
2993
+ ],
2994
+ "default": "BOOL_UNSET"
2983
2995
  }
2984
2996
  ],
2985
2997
  "tags": [
@@ -5903,6 +5915,9 @@
5903
5915
  },
5904
5916
  "forbidRoomTopicEdit": {
5905
5917
  "$ref": "#/definitions/puppetOptionalBoolean"
5918
+ },
5919
+ "disableMemberMutualAdd": {
5920
+ "$ref": "#/definitions/puppetOptionalBoolean"
5906
5921
  }
5907
5922
  }
5908
5923
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -4,7 +4,7 @@
4
4
  import type { PackageJson } from 'type-fest'
5
5
  export const packageJson: PackageJson = {
6
6
  "name": "@juzi/wechaty-grpc",
7
- "version": "1.0.86",
7
+ "version": "1.0.87",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {