@juzi/wechaty-grpc 1.0.57 → 1.0.59

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 (46) hide show
  1. package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +40 -0
  2. package/dist/cjs/out/wechaty/puppet/contact_pb.js +305 -0
  3. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +34 -18
  4. package/dist/cjs/out/wechaty/puppet/room_pb.js +177 -57
  5. package/dist/cjs/out/wechaty/puppet.openapi.yaml +57 -10
  6. package/dist/cjs/out/wechaty/puppet.swagger.json +79 -10
  7. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -0
  8. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -0
  9. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
  10. package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
  11. package/dist/cjs/proto/wechaty/puppet/contact.proto +7 -0
  12. package/dist/cjs/proto/wechaty/puppet/room.proto +10 -6
  13. package/dist/cjs/proto/wechaty/puppet.proto +5 -0
  14. package/dist/cjs/src/package-json.js +1 -1
  15. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  16. package/dist/cjs/tests/puppet-server-impl.js +5 -0
  17. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  18. package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +40 -0
  19. package/dist/esm/out/wechaty/puppet/contact_pb.js +305 -0
  20. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +34 -18
  21. package/dist/esm/out/wechaty/puppet/room_pb.js +177 -57
  22. package/dist/esm/out/wechaty/puppet.openapi.yaml +57 -10
  23. package/dist/esm/out/wechaty/puppet.swagger.json +79 -10
  24. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -0
  25. package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -0
  26. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
  27. package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
  28. package/dist/esm/proto/wechaty/puppet/contact.proto +7 -0
  29. package/dist/esm/proto/wechaty/puppet/room.proto +10 -6
  30. package/dist/esm/proto/wechaty/puppet.proto +5 -0
  31. package/dist/esm/src/package-json.js +1 -1
  32. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  33. package/dist/esm/tests/puppet-server-impl.js +5 -0
  34. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  35. package/out/wechaty/puppet/contact_pb.d.ts +40 -0
  36. package/out/wechaty/puppet/contact_pb.js +305 -0
  37. package/out/wechaty/puppet/room_pb.d.ts +34 -18
  38. package/out/wechaty/puppet/room_pb.js +177 -57
  39. package/out/wechaty/puppet.openapi.yaml +57 -10
  40. package/out/wechaty/puppet.swagger.json +79 -10
  41. package/out/wechaty/puppet_grpc_pb.d.ts +17 -0
  42. package/out/wechaty/puppet_grpc_pb.js +33 -0
  43. package/out/wechaty/puppet_pb_service.d.ts +19 -0
  44. package/out/wechaty/puppet_pb_service.js +40 -0
  45. package/package.json +1 -1
  46. package/src/package-json.ts +1 -1
@@ -40,6 +40,8 @@ goog.exportSymbol('proto.wechaty.puppet.ContactSelfNameRequest', null, global);
40
40
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfNameResponse', null, global);
41
41
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfQRCodeRequest', null, global);
42
42
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfQRCodeResponse', null, global);
43
+ goog.exportSymbol('proto.wechaty.puppet.ContactSelfRoomAliasRequest', null, global);
44
+ goog.exportSymbol('proto.wechaty.puppet.ContactSelfRoomAliasResponse', null, global);
43
45
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfSignatureRequest', null, global);
44
46
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfSignatureResponse', null, global);
45
47
  goog.exportSymbol('proto.wechaty.puppet.ContactType', null, global);
@@ -253,6 +255,48 @@ if (goog.DEBUG && !COMPILED) {
253
255
  */
254
256
  proto.wechaty.puppet.ContactSelfSignatureResponse.displayName = 'proto.wechaty.puppet.ContactSelfSignatureResponse';
255
257
  }
258
+ /**
259
+ * Generated by JsPbCodeGenerator.
260
+ * @param {Array=} opt_data Optional initial data array, typically from a
261
+ * server response, or constructed directly in Javascript. The array is used
262
+ * in place and becomes part of the constructed object. It is not cloned.
263
+ * If no data is provided, the constructed object will be empty, but still
264
+ * valid.
265
+ * @extends {jspb.Message}
266
+ * @constructor
267
+ */
268
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest = function(opt_data) {
269
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
270
+ };
271
+ goog.inherits(proto.wechaty.puppet.ContactSelfRoomAliasRequest, jspb.Message);
272
+ if (goog.DEBUG && !COMPILED) {
273
+ /**
274
+ * @public
275
+ * @override
276
+ */
277
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.displayName = 'proto.wechaty.puppet.ContactSelfRoomAliasRequest';
278
+ }
279
+ /**
280
+ * Generated by JsPbCodeGenerator.
281
+ * @param {Array=} opt_data Optional initial data array, typically from a
282
+ * server response, or constructed directly in Javascript. The array is used
283
+ * in place and becomes part of the constructed object. It is not cloned.
284
+ * If no data is provided, the constructed object will be empty, but still
285
+ * valid.
286
+ * @extends {jspb.Message}
287
+ * @constructor
288
+ */
289
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse = function(opt_data) {
290
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
291
+ };
292
+ goog.inherits(proto.wechaty.puppet.ContactSelfRoomAliasResponse, jspb.Message);
293
+ if (goog.DEBUG && !COMPILED) {
294
+ /**
295
+ * @public
296
+ * @override
297
+ */
298
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.displayName = 'proto.wechaty.puppet.ContactSelfRoomAliasResponse';
299
+ }
256
300
  /**
257
301
  * Generated by JsPbCodeGenerator.
258
302
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2375,6 +2419,267 @@ proto.wechaty.puppet.ContactSelfSignatureResponse.serializeBinaryToWriter = func
2375
2419
 
2376
2420
 
2377
2421
 
2422
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2423
+ /**
2424
+ * Creates an object representation of this proto.
2425
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2426
+ * Optional fields that are not set will be set to undefined.
2427
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2428
+ * For the list of reserved names please see:
2429
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2430
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2431
+ * JSPB instance for transitional soy proto support:
2432
+ * http://goto/soy-param-migration
2433
+ * @return {!Object}
2434
+ */
2435
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.toObject = function(opt_includeInstance) {
2436
+ return proto.wechaty.puppet.ContactSelfRoomAliasRequest.toObject(opt_includeInstance, this);
2437
+ };
2438
+
2439
+
2440
+ /**
2441
+ * Static version of the {@see toObject} method.
2442
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2443
+ * the JSPB instance for transitional soy proto support:
2444
+ * http://goto/soy-param-migration
2445
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} msg The msg instance to transform.
2446
+ * @return {!Object}
2447
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2448
+ */
2449
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.toObject = function(includeInstance, msg) {
2450
+ var f, obj = {
2451
+ roomId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2452
+ alias: jspb.Message.getFieldWithDefault(msg, 2, "")
2453
+ };
2454
+
2455
+ if (includeInstance) {
2456
+ obj.$jspbMessageInstance = msg;
2457
+ }
2458
+ return obj;
2459
+ };
2460
+ }
2461
+
2462
+
2463
+ /**
2464
+ * Deserializes binary data (in protobuf wire format).
2465
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2466
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest}
2467
+ */
2468
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.deserializeBinary = function(bytes) {
2469
+ var reader = new jspb.BinaryReader(bytes);
2470
+ var msg = new proto.wechaty.puppet.ContactSelfRoomAliasRequest;
2471
+ return proto.wechaty.puppet.ContactSelfRoomAliasRequest.deserializeBinaryFromReader(msg, reader);
2472
+ };
2473
+
2474
+
2475
+ /**
2476
+ * Deserializes binary data (in protobuf wire format) from the
2477
+ * given reader into the given message object.
2478
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} msg The message object to deserialize into.
2479
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2480
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest}
2481
+ */
2482
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.deserializeBinaryFromReader = function(msg, reader) {
2483
+ while (reader.nextField()) {
2484
+ if (reader.isEndGroup()) {
2485
+ break;
2486
+ }
2487
+ var field = reader.getFieldNumber();
2488
+ switch (field) {
2489
+ case 1:
2490
+ var value = /** @type {string} */ (reader.readString());
2491
+ msg.setRoomId(value);
2492
+ break;
2493
+ case 2:
2494
+ var value = /** @type {string} */ (reader.readString());
2495
+ msg.setAlias(value);
2496
+ break;
2497
+ default:
2498
+ reader.skipField();
2499
+ break;
2500
+ }
2501
+ }
2502
+ return msg;
2503
+ };
2504
+
2505
+
2506
+ /**
2507
+ * Serializes the message to binary data (in protobuf wire format).
2508
+ * @return {!Uint8Array}
2509
+ */
2510
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.serializeBinary = function() {
2511
+ var writer = new jspb.BinaryWriter();
2512
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.serializeBinaryToWriter(this, writer);
2513
+ return writer.getResultBuffer();
2514
+ };
2515
+
2516
+
2517
+ /**
2518
+ * Serializes the given message to binary data (in protobuf wire
2519
+ * format), writing to the given BinaryWriter.
2520
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} message
2521
+ * @param {!jspb.BinaryWriter} writer
2522
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2523
+ */
2524
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.serializeBinaryToWriter = function(message, writer) {
2525
+ var f = undefined;
2526
+ f = message.getRoomId();
2527
+ if (f.length > 0) {
2528
+ writer.writeString(
2529
+ 1,
2530
+ f
2531
+ );
2532
+ }
2533
+ f = message.getAlias();
2534
+ if (f.length > 0) {
2535
+ writer.writeString(
2536
+ 2,
2537
+ f
2538
+ );
2539
+ }
2540
+ };
2541
+
2542
+
2543
+ /**
2544
+ * optional string room_id = 1;
2545
+ * @return {string}
2546
+ */
2547
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.getRoomId = function() {
2548
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2549
+ };
2550
+
2551
+
2552
+ /**
2553
+ * @param {string} value
2554
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} returns this
2555
+ */
2556
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.setRoomId = function(value) {
2557
+ return jspb.Message.setProto3StringField(this, 1, value);
2558
+ };
2559
+
2560
+
2561
+ /**
2562
+ * optional string alias = 2;
2563
+ * @return {string}
2564
+ */
2565
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.getAlias = function() {
2566
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2567
+ };
2568
+
2569
+
2570
+ /**
2571
+ * @param {string} value
2572
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} returns this
2573
+ */
2574
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.setAlias = function(value) {
2575
+ return jspb.Message.setProto3StringField(this, 2, value);
2576
+ };
2577
+
2578
+
2579
+
2580
+
2581
+
2582
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2583
+ /**
2584
+ * Creates an object representation of this proto.
2585
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2586
+ * Optional fields that are not set will be set to undefined.
2587
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2588
+ * For the list of reserved names please see:
2589
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2590
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2591
+ * JSPB instance for transitional soy proto support:
2592
+ * http://goto/soy-param-migration
2593
+ * @return {!Object}
2594
+ */
2595
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.prototype.toObject = function(opt_includeInstance) {
2596
+ return proto.wechaty.puppet.ContactSelfRoomAliasResponse.toObject(opt_includeInstance, this);
2597
+ };
2598
+
2599
+
2600
+ /**
2601
+ * Static version of the {@see toObject} method.
2602
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2603
+ * the JSPB instance for transitional soy proto support:
2604
+ * http://goto/soy-param-migration
2605
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasResponse} msg The msg instance to transform.
2606
+ * @return {!Object}
2607
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2608
+ */
2609
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.toObject = function(includeInstance, msg) {
2610
+ var f, obj = {
2611
+
2612
+ };
2613
+
2614
+ if (includeInstance) {
2615
+ obj.$jspbMessageInstance = msg;
2616
+ }
2617
+ return obj;
2618
+ };
2619
+ }
2620
+
2621
+
2622
+ /**
2623
+ * Deserializes binary data (in protobuf wire format).
2624
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2625
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasResponse}
2626
+ */
2627
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.deserializeBinary = function(bytes) {
2628
+ var reader = new jspb.BinaryReader(bytes);
2629
+ var msg = new proto.wechaty.puppet.ContactSelfRoomAliasResponse;
2630
+ return proto.wechaty.puppet.ContactSelfRoomAliasResponse.deserializeBinaryFromReader(msg, reader);
2631
+ };
2632
+
2633
+
2634
+ /**
2635
+ * Deserializes binary data (in protobuf wire format) from the
2636
+ * given reader into the given message object.
2637
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasResponse} msg The message object to deserialize into.
2638
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2639
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasResponse}
2640
+ */
2641
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.deserializeBinaryFromReader = function(msg, reader) {
2642
+ while (reader.nextField()) {
2643
+ if (reader.isEndGroup()) {
2644
+ break;
2645
+ }
2646
+ var field = reader.getFieldNumber();
2647
+ switch (field) {
2648
+ default:
2649
+ reader.skipField();
2650
+ break;
2651
+ }
2652
+ }
2653
+ return msg;
2654
+ };
2655
+
2656
+
2657
+ /**
2658
+ * Serializes the message to binary data (in protobuf wire format).
2659
+ * @return {!Uint8Array}
2660
+ */
2661
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.prototype.serializeBinary = function() {
2662
+ var writer = new jspb.BinaryWriter();
2663
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.serializeBinaryToWriter(this, writer);
2664
+ return writer.getResultBuffer();
2665
+ };
2666
+
2667
+
2668
+ /**
2669
+ * Serializes the given message to binary data (in protobuf wire
2670
+ * format), writing to the given BinaryWriter.
2671
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasResponse} message
2672
+ * @param {!jspb.BinaryWriter} writer
2673
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2674
+ */
2675
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.serializeBinaryToWriter = function(message, writer) {
2676
+ var f = undefined;
2677
+ };
2678
+
2679
+
2680
+
2681
+
2682
+
2378
2683
  if (jspb.Message.GENERATE_TO_OBJECT) {
2379
2684
  /**
2380
2685
  * Creates an object representation of this proto.
@@ -571,14 +571,20 @@ export class RoomPermissionRequest extends jspb.Message {
571
571
  getId(): string;
572
572
  setId(value: string): void;
573
573
 
574
- getSendMessage(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
575
- setSendMessage(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
574
+ getInviteConfirm(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
575
+ setInviteConfirm(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
576
576
 
577
- getInvitationCheck(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
578
- setInvitationCheck(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
577
+ getAdminOnlyManage(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
578
+ setAdminOnlyManage(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
579
579
 
580
- getRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
581
- setRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
580
+ getAdminOnlyAtAll(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
581
+ setAdminOnlyAtAll(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
582
+
583
+ getMuteAll(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
584
+ setMuteAll(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
585
+
586
+ getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
587
+ setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
582
588
 
583
589
  serializeBinary(): Uint8Array;
584
590
  toObject(includeInstance?: boolean): RoomPermissionRequest.AsObject;
@@ -593,21 +599,29 @@ export class RoomPermissionRequest extends jspb.Message {
593
599
  export namespace RoomPermissionRequest {
594
600
  export type AsObject = {
595
601
  id: string,
596
- sendMessage: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
597
- invitationCheck: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
598
- roomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
602
+ inviteConfirm: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
603
+ adminOnlyManage: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
604
+ adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
605
+ muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
606
+ forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
599
607
  }
600
608
  }
601
609
 
602
610
  export class RoomPermissionResponse extends jspb.Message {
603
- getSendMessage(): boolean;
604
- setSendMessage(value: boolean): void;
611
+ getInviteConfirm(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
612
+ setInviteConfirm(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
613
+
614
+ getAdminOnlyManage(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
615
+ setAdminOnlyManage(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
616
+
617
+ getAdminOnlyAtAll(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
618
+ setAdminOnlyAtAll(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
605
619
 
606
- getInvitationCheck(): boolean;
607
- setInvitationCheck(value: boolean): void;
620
+ getMuteAll(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
621
+ setMuteAll(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
608
622
 
609
- getRoomTopicEdit(): boolean;
610
- setRoomTopicEdit(value: boolean): void;
623
+ getForbidRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
624
+ setForbidRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
611
625
 
612
626
  serializeBinary(): Uint8Array;
613
627
  toObject(includeInstance?: boolean): RoomPermissionResponse.AsObject;
@@ -621,9 +635,11 @@ export class RoomPermissionResponse extends jspb.Message {
621
635
 
622
636
  export namespace RoomPermissionResponse {
623
637
  export type AsObject = {
624
- sendMessage: boolean,
625
- invitationCheck: boolean,
626
- roomTopicEdit: boolean,
638
+ inviteConfirm: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
639
+ adminOnlyManage: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
640
+ adminOnlyAtAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
641
+ muteAll: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
642
+ forbidRoomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
627
643
  }
628
644
  }
629
645