@juzi/wechaty-grpc 1.0.56 → 1.0.58

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 (30) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs +1 -0
  2. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +1 -0
  3. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +34 -18
  4. package/dist/cjs/out/wechaty/puppet/room_pb.js +189 -69
  5. package/dist/cjs/out/wechaty/puppet/util_pb.d.ts +2 -2
  6. package/dist/cjs/out/wechaty/puppet/util_pb.js +2 -2
  7. package/dist/cjs/out/wechaty/puppet.openapi.yaml +39 -17
  8. package/dist/cjs/out/wechaty/puppet.swagger.json +49 -19
  9. package/dist/cjs/proto/wechaty/puppet/room.proto +10 -6
  10. package/dist/cjs/proto/wechaty/puppet/util.proto +1 -1
  11. package/dist/cjs/src/package-json.js +1 -1
  12. package/dist/esm/commonjs/generated/puppet.cjs +1 -0
  13. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +1 -0
  14. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +34 -18
  15. package/dist/esm/out/wechaty/puppet/room_pb.js +189 -69
  16. package/dist/esm/out/wechaty/puppet/util_pb.d.ts +2 -2
  17. package/dist/esm/out/wechaty/puppet/util_pb.js +2 -2
  18. package/dist/esm/out/wechaty/puppet.openapi.yaml +39 -17
  19. package/dist/esm/out/wechaty/puppet.swagger.json +49 -19
  20. package/dist/esm/proto/wechaty/puppet/room.proto +10 -6
  21. package/dist/esm/proto/wechaty/puppet/util.proto +1 -1
  22. package/dist/esm/src/package-json.js +1 -1
  23. package/out/wechaty/puppet/room_pb.d.ts +34 -18
  24. package/out/wechaty/puppet/room_pb.js +189 -69
  25. package/out/wechaty/puppet/util_pb.d.ts +2 -2
  26. package/out/wechaty/puppet/util_pb.js +2 -2
  27. package/out/wechaty/puppet.openapi.yaml +39 -17
  28. package/out/wechaty/puppet.swagger.json +49 -19
  29. package/package.json +1 -1
  30. package/src/package-json.ts +1 -1
@@ -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.56",
6
+ "version": "1.0.58",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -2656,7 +2656,7 @@
2656
2656
  "type": "string"
2657
2657
  },
2658
2658
  {
2659
- "name": "sendMessage",
2659
+ "name": "inviteConfirm",
2660
2660
  "in": "query",
2661
2661
  "required": false,
2662
2662
  "type": "string",
@@ -2668,7 +2668,7 @@
2668
2668
  "default": "BOOL_UNSET"
2669
2669
  },
2670
2670
  {
2671
- "name": "invitationCheck",
2671
+ "name": "adminOnlyManage",
2672
2672
  "in": "query",
2673
2673
  "required": false,
2674
2674
  "type": "string",
@@ -2680,7 +2680,31 @@
2680
2680
  "default": "BOOL_UNSET"
2681
2681
  },
2682
2682
  {
2683
- "name": "roomTopicEdit",
2683
+ "name": "adminOnlyAtAll",
2684
+ "in": "query",
2685
+ "required": false,
2686
+ "type": "string",
2687
+ "enum": [
2688
+ "BOOL_UNSET",
2689
+ "BOOL_FALSE",
2690
+ "BOOL_TRUE"
2691
+ ],
2692
+ "default": "BOOL_UNSET"
2693
+ },
2694
+ {
2695
+ "name": "muteAll",
2696
+ "in": "query",
2697
+ "required": false,
2698
+ "type": "string",
2699
+ "enum": [
2700
+ "BOOL_UNSET",
2701
+ "BOOL_FALSE",
2702
+ "BOOL_TRUE"
2703
+ ],
2704
+ "default": "BOOL_UNSET"
2705
+ },
2706
+ {
2707
+ "name": "forbidRoomTopicEdit",
2684
2708
  "in": "query",
2685
2709
  "required": false,
2686
2710
  "type": "string",
@@ -3444,15 +3468,6 @@
3444
3468
  },
3445
3469
  "additionalProperties": {}
3446
3470
  },
3447
- "puppetBool_Optional": {
3448
- "type": "string",
3449
- "enum": [
3450
- "BOOL_UNSET",
3451
- "BOOL_FALSE",
3452
- "BOOL_TRUE"
3453
- ],
3454
- "default": "BOOL_UNSET"
3455
- },
3456
3471
  "puppetBroadcastStatus": {
3457
3472
  "type": "string",
3458
3473
  "enum": [
@@ -4408,6 +4423,15 @@
4408
4423
  }
4409
4424
  }
4410
4425
  },
4426
+ "puppetOptionalBoolean": {
4427
+ "type": "string",
4428
+ "enum": [
4429
+ "BOOL_UNSET",
4430
+ "BOOL_FALSE",
4431
+ "BOOL_TRUE"
4432
+ ],
4433
+ "default": "BOOL_UNSET"
4434
+ },
4411
4435
  "puppetPayloadType": {
4412
4436
  "type": "string",
4413
4437
  "enum": [
@@ -4846,14 +4870,20 @@
4846
4870
  "puppetRoomPermissionResponse": {
4847
4871
  "type": "object",
4848
4872
  "properties": {
4849
- "sendMessage": {
4850
- "type": "boolean"
4873
+ "inviteConfirm": {
4874
+ "$ref": "#/definitions/puppetOptionalBoolean"
4851
4875
  },
4852
- "invitationCheck": {
4853
- "type": "boolean"
4876
+ "adminOnlyManage": {
4877
+ "$ref": "#/definitions/puppetOptionalBoolean"
4854
4878
  },
4855
- "roomTopicEdit": {
4856
- "type": "boolean"
4879
+ "adminOnlyAtAll": {
4880
+ "$ref": "#/definitions/puppetOptionalBoolean"
4881
+ },
4882
+ "muteAll": {
4883
+ "$ref": "#/definitions/puppetOptionalBoolean"
4884
+ },
4885
+ "forbidRoomTopicEdit": {
4886
+ "$ref": "#/definitions/puppetOptionalBoolean"
4857
4887
  }
4858
4888
  }
4859
4889
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.56",
3
+ "version": "1.0.58",
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.56",
7
+ "version": "1.0.58",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {