@juzi/wechaty-grpc 1.0.108 → 1.0.110
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.
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +4 -1
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +199 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +1418 -1
- package/dist/cjs/out/wechaty/puppet/wecom_pb.d.ts +174 -0
- package/dist/cjs/out/wechaty/puppet/wecom_pb.js +1257 -4
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +281 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +401 -3
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +85 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +155 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +95 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +200 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +5 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +55 -0
- package/dist/cjs/proto/wechaty/puppet/wecom.proto +47 -0
- package/dist/cjs/proto/wechaty/puppet.proto +18 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +25 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/cjs/tests/room-member-load.spec.d.ts +2 -0
- package/dist/cjs/tests/room-member-load.spec.d.ts.map +1 -0
- package/dist/cjs/tests/room-member-load.spec.js +134 -0
- package/dist/cjs/tests/room-member-load.spec.js.map +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +4 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +199 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +1418 -1
- package/dist/esm/out/wechaty/puppet/wecom_pb.d.ts +174 -0
- package/dist/esm/out/wechaty/puppet/wecom_pb.js +1257 -4
- package/dist/esm/out/wechaty/puppet.openapi.yaml +281 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +401 -3
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +85 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +155 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +95 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +200 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +5 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +55 -0
- package/dist/esm/proto/wechaty/puppet/wecom.proto +47 -0
- package/dist/esm/proto/wechaty/puppet.proto +18 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +25 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/tests/room-member-load.spec.d.ts +2 -0
- package/dist/esm/tests/room-member-load.spec.d.ts.map +1 -0
- package/dist/esm/tests/room-member-load.spec.js +132 -0
- package/dist/esm/tests/room-member-load.spec.js.map +1 -0
- package/out/wechaty/puppet/event_pb.d.ts +3 -0
- package/out/wechaty/puppet/event_pb.js +4 -1
- package/out/wechaty/puppet/room_pb.d.ts +199 -0
- package/out/wechaty/puppet/room_pb.js +1418 -1
- package/out/wechaty/puppet/wecom_pb.d.ts +174 -0
- package/out/wechaty/puppet/wecom_pb.js +1257 -4
- package/out/wechaty/puppet.openapi.yaml +281 -1
- package/out/wechaty/puppet.swagger.json +401 -3
- package/out/wechaty/puppet_grpc_pb.d.ts +85 -0
- package/out/wechaty/puppet_grpc_pb.js +155 -0
- package/out/wechaty/puppet_pb_service.d.ts +95 -0
- package/out/wechaty/puppet_pb_service.js +200 -0
- package/package.json +1 -1
- 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.
|
|
6
|
+
"version": "1.0.110",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4813,6 +4813,103 @@
|
|
|
4813
4813
|
]
|
|
4814
4814
|
}
|
|
4815
4815
|
},
|
|
4816
|
+
"/wechaty.Puppet/RoomMemberLoadState": {
|
|
4817
|
+
"post": {
|
|
4818
|
+
"operationId": "Puppet_RoomMemberLoadState",
|
|
4819
|
+
"responses": {
|
|
4820
|
+
"200": {
|
|
4821
|
+
"description": "A successful response.",
|
|
4822
|
+
"schema": {
|
|
4823
|
+
"$ref": "#/definitions/puppetRoomMemberLoadStateResponse"
|
|
4824
|
+
}
|
|
4825
|
+
},
|
|
4826
|
+
"default": {
|
|
4827
|
+
"description": "An unexpected error response.",
|
|
4828
|
+
"schema": {
|
|
4829
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4830
|
+
}
|
|
4831
|
+
}
|
|
4832
|
+
},
|
|
4833
|
+
"parameters": [
|
|
4834
|
+
{
|
|
4835
|
+
"name": "body",
|
|
4836
|
+
"in": "body",
|
|
4837
|
+
"required": true,
|
|
4838
|
+
"schema": {
|
|
4839
|
+
"$ref": "#/definitions/puppetRoomMemberLoadStateRequest"
|
|
4840
|
+
}
|
|
4841
|
+
}
|
|
4842
|
+
],
|
|
4843
|
+
"tags": [
|
|
4844
|
+
"Puppet"
|
|
4845
|
+
]
|
|
4846
|
+
}
|
|
4847
|
+
},
|
|
4848
|
+
"/wechaty.Puppet/RoomMemberSnapshot": {
|
|
4849
|
+
"post": {
|
|
4850
|
+
"summary": "Reads an existing revision only; must not start member loading.",
|
|
4851
|
+
"operationId": "Puppet_RoomMemberSnapshot",
|
|
4852
|
+
"responses": {
|
|
4853
|
+
"200": {
|
|
4854
|
+
"description": "A successful response.",
|
|
4855
|
+
"schema": {
|
|
4856
|
+
"$ref": "#/definitions/puppetRoomMemberSnapshotResponse"
|
|
4857
|
+
}
|
|
4858
|
+
},
|
|
4859
|
+
"default": {
|
|
4860
|
+
"description": "An unexpected error response.",
|
|
4861
|
+
"schema": {
|
|
4862
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4863
|
+
}
|
|
4864
|
+
}
|
|
4865
|
+
},
|
|
4866
|
+
"parameters": [
|
|
4867
|
+
{
|
|
4868
|
+
"name": "body",
|
|
4869
|
+
"in": "body",
|
|
4870
|
+
"required": true,
|
|
4871
|
+
"schema": {
|
|
4872
|
+
"$ref": "#/definitions/puppetRoomMemberSnapshotRequest"
|
|
4873
|
+
}
|
|
4874
|
+
}
|
|
4875
|
+
],
|
|
4876
|
+
"tags": [
|
|
4877
|
+
"Puppet"
|
|
4878
|
+
]
|
|
4879
|
+
}
|
|
4880
|
+
},
|
|
4881
|
+
"/wechaty.Puppet/RoomMemberSync": {
|
|
4882
|
+
"post": {
|
|
4883
|
+
"operationId": "Puppet_RoomMemberSync",
|
|
4884
|
+
"responses": {
|
|
4885
|
+
"200": {
|
|
4886
|
+
"description": "A successful response.",
|
|
4887
|
+
"schema": {
|
|
4888
|
+
"$ref": "#/definitions/puppetRoomMemberLoadStateResponse"
|
|
4889
|
+
}
|
|
4890
|
+
},
|
|
4891
|
+
"default": {
|
|
4892
|
+
"description": "An unexpected error response.",
|
|
4893
|
+
"schema": {
|
|
4894
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4895
|
+
}
|
|
4896
|
+
}
|
|
4897
|
+
},
|
|
4898
|
+
"parameters": [
|
|
4899
|
+
{
|
|
4900
|
+
"name": "body",
|
|
4901
|
+
"in": "body",
|
|
4902
|
+
"required": true,
|
|
4903
|
+
"schema": {
|
|
4904
|
+
"$ref": "#/definitions/puppetRoomMemberSyncRequest"
|
|
4905
|
+
}
|
|
4906
|
+
}
|
|
4907
|
+
],
|
|
4908
|
+
"tags": [
|
|
4909
|
+
"Puppet"
|
|
4910
|
+
]
|
|
4911
|
+
}
|
|
4912
|
+
},
|
|
4816
4913
|
"/wecom/corpMessageInterceptionStrategyList": {
|
|
4817
4914
|
"get": {
|
|
4818
4915
|
"operationId": "Puppet_GetCorpMessageInterceptionStrategies",
|
|
@@ -4835,6 +4932,74 @@
|
|
|
4835
4932
|
]
|
|
4836
4933
|
}
|
|
4837
4934
|
},
|
|
4935
|
+
"/wecom/orgBroadcast/{id}": {
|
|
4936
|
+
"get": {
|
|
4937
|
+
"operationId": "Puppet_OrgBroadcastPayload",
|
|
4938
|
+
"responses": {
|
|
4939
|
+
"200": {
|
|
4940
|
+
"description": "A successful response.",
|
|
4941
|
+
"schema": {
|
|
4942
|
+
"$ref": "#/definitions/puppetOrgBroadcastPayloadResponse"
|
|
4943
|
+
}
|
|
4944
|
+
},
|
|
4945
|
+
"default": {
|
|
4946
|
+
"description": "An unexpected error response.",
|
|
4947
|
+
"schema": {
|
|
4948
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
"parameters": [
|
|
4953
|
+
{
|
|
4954
|
+
"name": "id",
|
|
4955
|
+
"in": "path",
|
|
4956
|
+
"required": true,
|
|
4957
|
+
"type": "string"
|
|
4958
|
+
}
|
|
4959
|
+
],
|
|
4960
|
+
"tags": [
|
|
4961
|
+
"Puppet"
|
|
4962
|
+
]
|
|
4963
|
+
}
|
|
4964
|
+
},
|
|
4965
|
+
"/wecom/orgBroadcast/{id}/execute": {
|
|
4966
|
+
"post": {
|
|
4967
|
+
"operationId": "Puppet_OrgBroadcastExecute",
|
|
4968
|
+
"responses": {
|
|
4969
|
+
"200": {
|
|
4970
|
+
"description": "A successful response.",
|
|
4971
|
+
"schema": {
|
|
4972
|
+
"$ref": "#/definitions/puppetOrgBroadcastExecuteResponse"
|
|
4973
|
+
}
|
|
4974
|
+
},
|
|
4975
|
+
"default": {
|
|
4976
|
+
"description": "An unexpected error response.",
|
|
4977
|
+
"schema": {
|
|
4978
|
+
"$ref": "#/definitions/rpcStatus"
|
|
4979
|
+
}
|
|
4980
|
+
}
|
|
4981
|
+
},
|
|
4982
|
+
"parameters": [
|
|
4983
|
+
{
|
|
4984
|
+
"name": "id",
|
|
4985
|
+
"in": "path",
|
|
4986
|
+
"required": true,
|
|
4987
|
+
"type": "string"
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"name": "body",
|
|
4991
|
+
"in": "body",
|
|
4992
|
+
"required": true,
|
|
4993
|
+
"schema": {
|
|
4994
|
+
"$ref": "#/definitions/PuppetOrgBroadcastExecuteBody"
|
|
4995
|
+
}
|
|
4996
|
+
}
|
|
4997
|
+
],
|
|
4998
|
+
"tags": [
|
|
4999
|
+
"Puppet"
|
|
5000
|
+
]
|
|
5001
|
+
}
|
|
5002
|
+
},
|
|
4838
5003
|
"/wecom/roomAntiSpamStrategy/apply": {
|
|
4839
5004
|
"post": {
|
|
4840
5005
|
"operationId": "Puppet_ApplyRoomAntiSpamStrategy",
|
|
@@ -5239,6 +5404,18 @@
|
|
|
5239
5404
|
}
|
|
5240
5405
|
}
|
|
5241
5406
|
},
|
|
5407
|
+
"PuppetOrgBroadcastExecuteBody": {
|
|
5408
|
+
"type": "object",
|
|
5409
|
+
"properties": {
|
|
5410
|
+
"targetIds": {
|
|
5411
|
+
"type": "array",
|
|
5412
|
+
"items": {
|
|
5413
|
+
"type": "string"
|
|
5414
|
+
},
|
|
5415
|
+
"title": "empty means all targets of the plan; otherwise a subset of the plan targets.\nclients must not send an explicit empty selection, it would be read as all targets"
|
|
5416
|
+
}
|
|
5417
|
+
}
|
|
5418
|
+
},
|
|
5242
5419
|
"PuppetRoomAnnounceBody": {
|
|
5243
5420
|
"type": "object",
|
|
5244
5421
|
"properties": {
|
|
@@ -6151,10 +6328,13 @@
|
|
|
6151
6328
|
"EVENT_TYPE_VERIFY_CODE",
|
|
6152
6329
|
"EVENT_TYPE_VERIFY_SLIDE",
|
|
6153
6330
|
"EVENT_TYPE_CALL",
|
|
6154
|
-
"EVENT_TYPE_SAME_NET_VERIFY"
|
|
6331
|
+
"EVENT_TYPE_SAME_NET_VERIFY",
|
|
6332
|
+
"EVENT_TYPE_ORG_BROADCAST_CREATED",
|
|
6333
|
+
"EVENT_TYPE_ORG_BROADCAST_SENT",
|
|
6334
|
+
"EVENT_TYPE_ROOM_MEMBER_LOAD"
|
|
6155
6335
|
],
|
|
6156
6336
|
"default": "EVENT_TYPE_UNSPECIFIED",
|
|
6157
|
-
"description": "- EVENT_TYPE_SAME_NET_VERIFY: same network verify for personal wechat login on Mac protocol"
|
|
6337
|
+
"description": "- EVENT_TYPE_SAME_NET_VERIFY: same network verify for personal wechat login on Mac protocol\n - EVENT_TYPE_ORG_BROADCAST_CREATED: wecom org (admin) broadcast plan arrived: member received the broadcast assistant card\n - EVENT_TYPE_ORG_BROADCAST_SENT: wecom org (admin) broadcast plan executed, from any client"
|
|
6158
6338
|
},
|
|
6159
6339
|
"puppetFriendshipAcceptResponse": {
|
|
6160
6340
|
"type": "object"
|
|
@@ -7287,6 +7467,99 @@
|
|
|
7287
7467
|
],
|
|
7288
7468
|
"default": "BOOL_UNSET"
|
|
7289
7469
|
},
|
|
7470
|
+
"puppetOrgBroadcastExecuteResponse": {
|
|
7471
|
+
"type": "object"
|
|
7472
|
+
},
|
|
7473
|
+
"puppetOrgBroadcastPayloadResponse": {
|
|
7474
|
+
"type": "object",
|
|
7475
|
+
"properties": {
|
|
7476
|
+
"id": {
|
|
7477
|
+
"type": "string"
|
|
7478
|
+
},
|
|
7479
|
+
"sendType": {
|
|
7480
|
+
"type": "integer",
|
|
7481
|
+
"format": "int32",
|
|
7482
|
+
"title": "0: official (org admin), 1: personal, 2: special"
|
|
7483
|
+
},
|
|
7484
|
+
"conversationType": {
|
|
7485
|
+
"type": "integer",
|
|
7486
|
+
"format": "int32",
|
|
7487
|
+
"title": "0: person, 1: group"
|
|
7488
|
+
},
|
|
7489
|
+
"creatorId": {
|
|
7490
|
+
"type": "string"
|
|
7491
|
+
},
|
|
7492
|
+
"execTime": {
|
|
7493
|
+
"type": "string",
|
|
7494
|
+
"format": "int64",
|
|
7495
|
+
"title": "milliseconds timestamp of the scheduled sending, 0 means immediately"
|
|
7496
|
+
},
|
|
7497
|
+
"status": {
|
|
7498
|
+
"type": "integer",
|
|
7499
|
+
"format": "int32",
|
|
7500
|
+
"title": "0: checking, 1: check succeeded, 2: check failed, 3: delayed send succeeded, 4: delayed send canceled"
|
|
7501
|
+
},
|
|
7502
|
+
"canCancel": {
|
|
7503
|
+
"type": "boolean"
|
|
7504
|
+
},
|
|
7505
|
+
"allowSelect": {
|
|
7506
|
+
"type": "boolean",
|
|
7507
|
+
"title": "members may adjust targets before sending"
|
|
7508
|
+
},
|
|
7509
|
+
"sent": {
|
|
7510
|
+
"type": "boolean"
|
|
7511
|
+
},
|
|
7512
|
+
"totalCount": {
|
|
7513
|
+
"type": "integer",
|
|
7514
|
+
"format": "int32"
|
|
7515
|
+
},
|
|
7516
|
+
"sentCount": {
|
|
7517
|
+
"type": "integer",
|
|
7518
|
+
"format": "int32"
|
|
7519
|
+
},
|
|
7520
|
+
"contentListJson": {
|
|
7521
|
+
"type": "string"
|
|
7522
|
+
},
|
|
7523
|
+
"targets": {
|
|
7524
|
+
"type": "array",
|
|
7525
|
+
"items": {
|
|
7526
|
+
"type": "object",
|
|
7527
|
+
"$ref": "#/definitions/puppetOrgBroadcastTarget"
|
|
7528
|
+
}
|
|
7529
|
+
}
|
|
7530
|
+
}
|
|
7531
|
+
},
|
|
7532
|
+
"puppetOrgBroadcastTarget": {
|
|
7533
|
+
"type": "object",
|
|
7534
|
+
"properties": {
|
|
7535
|
+
"contactId": {
|
|
7536
|
+
"type": "string",
|
|
7537
|
+
"title": "set when conversation_type is person"
|
|
7538
|
+
},
|
|
7539
|
+
"roomId": {
|
|
7540
|
+
"type": "string",
|
|
7541
|
+
"title": "set when conversation_type is group"
|
|
7542
|
+
},
|
|
7543
|
+
"status": {
|
|
7544
|
+
"$ref": "#/definitions/puppetOrgBroadcastTargetStatus"
|
|
7545
|
+
}
|
|
7546
|
+
}
|
|
7547
|
+
},
|
|
7548
|
+
"puppetOrgBroadcastTargetStatus": {
|
|
7549
|
+
"type": "string",
|
|
7550
|
+
"enum": [
|
|
7551
|
+
"ORG_BROADCAST_TARGET_STATUS_UNSENT",
|
|
7552
|
+
"ORG_BROADCAST_TARGET_STATUS_SENT",
|
|
7553
|
+
"ORG_BROADCAST_TARGET_STATUS_NOT_FRIEND",
|
|
7554
|
+
"ORG_BROADCAST_TARGET_STATUS_OCCUPIED",
|
|
7555
|
+
"ORG_BROADCAST_TARGET_STATUS_UNCONFIRMED",
|
|
7556
|
+
"ORG_BROADCAST_TARGET_STATUS_CONFIRMED",
|
|
7557
|
+
"ORG_BROADCAST_TARGET_STATUS_EXPIRED",
|
|
7558
|
+
"ORG_BROADCAST_TARGET_STATUS_CANCELED",
|
|
7559
|
+
"ORG_BROADCAST_TARGET_STATUS_NEW_UNSENT"
|
|
7560
|
+
],
|
|
7561
|
+
"default": "ORG_BROADCAST_TARGET_STATUS_UNSENT"
|
|
7562
|
+
},
|
|
7290
7563
|
"puppetPayloadType": {
|
|
7291
7564
|
"type": "string",
|
|
7292
7565
|
"enum": [
|
|
@@ -7724,6 +7997,59 @@
|
|
|
7724
7997
|
}
|
|
7725
7998
|
}
|
|
7726
7999
|
},
|
|
8000
|
+
"puppetRoomMemberLoadMode": {
|
|
8001
|
+
"type": "string",
|
|
8002
|
+
"enum": [
|
|
8003
|
+
"ROOM_MEMBER_LOAD_MODE_UNSPECIFIED",
|
|
8004
|
+
"ROOM_MEMBER_LOAD_MODE_NORMAL",
|
|
8005
|
+
"ROOM_MEMBER_LOAD_MODE_LAZY"
|
|
8006
|
+
],
|
|
8007
|
+
"default": "ROOM_MEMBER_LOAD_MODE_UNSPECIFIED"
|
|
8008
|
+
},
|
|
8009
|
+
"puppetRoomMemberLoadStateRequest": {
|
|
8010
|
+
"type": "object",
|
|
8011
|
+
"properties": {
|
|
8012
|
+
"id": {
|
|
8013
|
+
"type": "string"
|
|
8014
|
+
}
|
|
8015
|
+
}
|
|
8016
|
+
},
|
|
8017
|
+
"puppetRoomMemberLoadStateResponse": {
|
|
8018
|
+
"type": "object",
|
|
8019
|
+
"properties": {
|
|
8020
|
+
"id": {
|
|
8021
|
+
"type": "string"
|
|
8022
|
+
},
|
|
8023
|
+
"taskId": {
|
|
8024
|
+
"type": "string"
|
|
8025
|
+
},
|
|
8026
|
+
"status": {
|
|
8027
|
+
"$ref": "#/definitions/puppetRoomMemberLoadStatus"
|
|
8028
|
+
},
|
|
8029
|
+
"revision": {
|
|
8030
|
+
"type": "string",
|
|
8031
|
+
"description": "Canonical non-negative decimal string; never convert to a JS number."
|
|
8032
|
+
},
|
|
8033
|
+
"loadedAt": {
|
|
8034
|
+
"type": "string",
|
|
8035
|
+
"format": "date-time"
|
|
8036
|
+
},
|
|
8037
|
+
"error": {
|
|
8038
|
+
"type": "string"
|
|
8039
|
+
}
|
|
8040
|
+
}
|
|
8041
|
+
},
|
|
8042
|
+
"puppetRoomMemberLoadStatus": {
|
|
8043
|
+
"type": "string",
|
|
8044
|
+
"enum": [
|
|
8045
|
+
"ROOM_MEMBER_LOAD_STATUS_UNSPECIFIED",
|
|
8046
|
+
"ROOM_MEMBER_LOAD_STATUS_PENDING",
|
|
8047
|
+
"ROOM_MEMBER_LOAD_STATUS_LOADING",
|
|
8048
|
+
"ROOM_MEMBER_LOAD_STATUS_LOADED",
|
|
8049
|
+
"ROOM_MEMBER_LOAD_STATUS_FAILED"
|
|
8050
|
+
],
|
|
8051
|
+
"default": "ROOM_MEMBER_LOAD_STATUS_UNSPECIFIED"
|
|
8052
|
+
},
|
|
7727
8053
|
"puppetRoomMemberPayloadResponse": {
|
|
7728
8054
|
"type": "object",
|
|
7729
8055
|
"properties": {
|
|
@@ -7758,6 +8084,61 @@
|
|
|
7758
8084
|
}
|
|
7759
8085
|
}
|
|
7760
8086
|
},
|
|
8087
|
+
"puppetRoomMemberSnapshotRequest": {
|
|
8088
|
+
"type": "object",
|
|
8089
|
+
"properties": {
|
|
8090
|
+
"id": {
|
|
8091
|
+
"type": "string"
|
|
8092
|
+
},
|
|
8093
|
+
"revision": {
|
|
8094
|
+
"type": "string"
|
|
8095
|
+
},
|
|
8096
|
+
"pageToken": {
|
|
8097
|
+
"type": "string"
|
|
8098
|
+
},
|
|
8099
|
+
"pageSize": {
|
|
8100
|
+
"type": "integer",
|
|
8101
|
+
"format": "int64",
|
|
8102
|
+
"description": "Zero selects the adapter default (100); maximum 500."
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
8105
|
+
},
|
|
8106
|
+
"puppetRoomMemberSnapshotResponse": {
|
|
8107
|
+
"type": "object",
|
|
8108
|
+
"properties": {
|
|
8109
|
+
"id": {
|
|
8110
|
+
"type": "string"
|
|
8111
|
+
},
|
|
8112
|
+
"revision": {
|
|
8113
|
+
"type": "string"
|
|
8114
|
+
},
|
|
8115
|
+
"loadedAt": {
|
|
8116
|
+
"type": "string",
|
|
8117
|
+
"format": "date-time"
|
|
8118
|
+
},
|
|
8119
|
+
"members": {
|
|
8120
|
+
"type": "array",
|
|
8121
|
+
"items": {
|
|
8122
|
+
"type": "object",
|
|
8123
|
+
"$ref": "#/definitions/puppetRoomMemberPayloadResponse"
|
|
8124
|
+
}
|
|
8125
|
+
},
|
|
8126
|
+
"nextPageToken": {
|
|
8127
|
+
"type": "string"
|
|
8128
|
+
}
|
|
8129
|
+
}
|
|
8130
|
+
},
|
|
8131
|
+
"puppetRoomMemberSyncRequest": {
|
|
8132
|
+
"type": "object",
|
|
8133
|
+
"properties": {
|
|
8134
|
+
"id": {
|
|
8135
|
+
"type": "string"
|
|
8136
|
+
},
|
|
8137
|
+
"force": {
|
|
8138
|
+
"type": "boolean"
|
|
8139
|
+
}
|
|
8140
|
+
}
|
|
8141
|
+
},
|
|
7761
8142
|
"puppetRoomOwnerTransferResponse": {
|
|
7762
8143
|
"type": "object"
|
|
7763
8144
|
},
|
|
@@ -7826,6 +8207,23 @@
|
|
|
7826
8207
|
"createTime": {
|
|
7827
8208
|
"type": "string",
|
|
7828
8209
|
"format": "date-time"
|
|
8210
|
+
},
|
|
8211
|
+
"memberCount": {
|
|
8212
|
+
"type": "integer",
|
|
8213
|
+
"format": "int64"
|
|
8214
|
+
},
|
|
8215
|
+
"memberLoadMode": {
|
|
8216
|
+
"$ref": "#/definitions/puppetRoomMemberLoadMode"
|
|
8217
|
+
},
|
|
8218
|
+
"memberLoadStatus": {
|
|
8219
|
+
"$ref": "#/definitions/puppetRoomMemberLoadStatus"
|
|
8220
|
+
},
|
|
8221
|
+
"memberLoadRevision": {
|
|
8222
|
+
"type": "string"
|
|
8223
|
+
},
|
|
8224
|
+
"memberLoadedAt": {
|
|
8225
|
+
"type": "string",
|
|
8226
|
+
"format": "date-time"
|
|
7829
8227
|
}
|
|
7830
8228
|
}
|
|
7831
8229
|
},
|
|
@@ -127,6 +127,9 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
127
127
|
roomDelV2: IPuppetService_IRoomDelV2;
|
|
128
128
|
roomMemberPayload: IPuppetService_IRoomMemberPayload;
|
|
129
129
|
roomMemberList: IPuppetService_IRoomMemberList;
|
|
130
|
+
roomMemberSync: IPuppetService_IRoomMemberSync;
|
|
131
|
+
roomMemberLoadState: IPuppetService_IRoomMemberLoadState;
|
|
132
|
+
roomMemberSnapshot: IPuppetService_IRoomMemberSnapshot;
|
|
130
133
|
batchRoomMemberPayload: IPuppetService_IBatchRoomMemberPayload;
|
|
131
134
|
roomInvitationPayload: IPuppetService_IRoomInvitationPayload;
|
|
132
135
|
roomInvitationAccept: IPuppetService_IRoomInvitationAccept;
|
|
@@ -158,6 +161,8 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
158
161
|
getRoomAntiSpamStrategyEffectRoomList: IPuppetService_IGetRoomAntiSpamStrategyEffectRoomList;
|
|
159
162
|
applyRoomAntiSpamStrategy: IPuppetService_IApplyRoomAntiSpamStrategy;
|
|
160
163
|
getCorpMessageInterceptionStrategies: IPuppetService_IGetCorpMessageInterceptionStrategies;
|
|
164
|
+
orgBroadcastPayload: IPuppetService_IOrgBroadcastPayload;
|
|
165
|
+
orgBroadcastExecute: IPuppetService_IOrgBroadcastExecute;
|
|
161
166
|
download: IPuppetService_IDownload;
|
|
162
167
|
upload: IPuppetService_IUpload;
|
|
163
168
|
}
|
|
@@ -1080,6 +1085,33 @@ interface IPuppetService_IRoomMemberList extends grpc.MethodDefinition<wechaty_p
|
|
|
1080
1085
|
responseSerialize: grpc.serialize<wechaty_puppet_room_member_pb.RoomMemberListResponse>;
|
|
1081
1086
|
responseDeserialize: grpc.deserialize<wechaty_puppet_room_member_pb.RoomMemberListResponse>;
|
|
1082
1087
|
}
|
|
1088
|
+
interface IPuppetService_IRoomMemberSync extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomMemberSyncRequest, wechaty_puppet_room_pb.RoomMemberLoadStateResponse> {
|
|
1089
|
+
path: "/wechaty.Puppet/RoomMemberSync";
|
|
1090
|
+
requestStream: false;
|
|
1091
|
+
responseStream: false;
|
|
1092
|
+
requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomMemberSyncRequest>;
|
|
1093
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomMemberSyncRequest>;
|
|
1094
|
+
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomMemberLoadStateResponse>;
|
|
1095
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomMemberLoadStateResponse>;
|
|
1096
|
+
}
|
|
1097
|
+
interface IPuppetService_IRoomMemberLoadState extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomMemberLoadStateRequest, wechaty_puppet_room_pb.RoomMemberLoadStateResponse> {
|
|
1098
|
+
path: "/wechaty.Puppet/RoomMemberLoadState";
|
|
1099
|
+
requestStream: false;
|
|
1100
|
+
responseStream: false;
|
|
1101
|
+
requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomMemberLoadStateRequest>;
|
|
1102
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomMemberLoadStateRequest>;
|
|
1103
|
+
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomMemberLoadStateResponse>;
|
|
1104
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomMemberLoadStateResponse>;
|
|
1105
|
+
}
|
|
1106
|
+
interface IPuppetService_IRoomMemberSnapshot extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomMemberSnapshotRequest, wechaty_puppet_room_pb.RoomMemberSnapshotResponse> {
|
|
1107
|
+
path: "/wechaty.Puppet/RoomMemberSnapshot";
|
|
1108
|
+
requestStream: false;
|
|
1109
|
+
responseStream: false;
|
|
1110
|
+
requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomMemberSnapshotRequest>;
|
|
1111
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomMemberSnapshotRequest>;
|
|
1112
|
+
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomMemberSnapshotResponse>;
|
|
1113
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomMemberSnapshotResponse>;
|
|
1114
|
+
}
|
|
1083
1115
|
interface IPuppetService_IBatchRoomMemberPayload extends grpc.MethodDefinition<wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse> {
|
|
1084
1116
|
path: "/wechaty.Puppet/BatchRoomMemberPayload";
|
|
1085
1117
|
requestStream: false;
|
|
@@ -1359,6 +1391,24 @@ interface IPuppetService_IGetCorpMessageInterceptionStrategies extends grpc.Meth
|
|
|
1359
1391
|
responseSerialize: grpc.serialize<wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse>;
|
|
1360
1392
|
responseDeserialize: grpc.deserialize<wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse>;
|
|
1361
1393
|
}
|
|
1394
|
+
interface IPuppetService_IOrgBroadcastPayload extends grpc.MethodDefinition<wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse> {
|
|
1395
|
+
path: "/wechaty.Puppet/OrgBroadcastPayload";
|
|
1396
|
+
requestStream: false;
|
|
1397
|
+
responseStream: false;
|
|
1398
|
+
requestSerialize: grpc.serialize<wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest>;
|
|
1399
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest>;
|
|
1400
|
+
responseSerialize: grpc.serialize<wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse>;
|
|
1401
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse>;
|
|
1402
|
+
}
|
|
1403
|
+
interface IPuppetService_IOrgBroadcastExecute extends grpc.MethodDefinition<wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse> {
|
|
1404
|
+
path: "/wechaty.Puppet/OrgBroadcastExecute";
|
|
1405
|
+
requestStream: false;
|
|
1406
|
+
responseStream: false;
|
|
1407
|
+
requestSerialize: grpc.serialize<wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest>;
|
|
1408
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest>;
|
|
1409
|
+
responseSerialize: grpc.serialize<wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse>;
|
|
1410
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse>;
|
|
1411
|
+
}
|
|
1362
1412
|
interface IPuppetService_IDownload extends grpc.MethodDefinition<wechaty_puppet_download_upload_pb.DownloadRequest, wechaty_puppet_download_upload_pb.DownloadResponse> {
|
|
1363
1413
|
path: "/wechaty.Puppet/Download";
|
|
1364
1414
|
requestStream: false;
|
|
@@ -1483,6 +1533,9 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1483
1533
|
roomDelV2: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomDelV2Request, wechaty_puppet_room_pb.RoomDelV2Response>;
|
|
1484
1534
|
roomMemberPayload: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, wechaty_puppet_room_member_pb.RoomMemberPayloadResponse>;
|
|
1485
1535
|
roomMemberList: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberListRequest, wechaty_puppet_room_member_pb.RoomMemberListResponse>;
|
|
1536
|
+
roomMemberSync: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomMemberSyncRequest, wechaty_puppet_room_pb.RoomMemberLoadStateResponse>;
|
|
1537
|
+
roomMemberLoadState: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomMemberLoadStateRequest, wechaty_puppet_room_pb.RoomMemberLoadStateResponse>;
|
|
1538
|
+
roomMemberSnapshot: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomMemberSnapshotRequest, wechaty_puppet_room_pb.RoomMemberSnapshotResponse>;
|
|
1486
1539
|
batchRoomMemberPayload: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse>;
|
|
1487
1540
|
roomInvitationPayload: grpc.handleUnaryCall<wechaty_puppet_room_invitation_pb.RoomInvitationPayloadRequest, wechaty_puppet_room_invitation_pb.RoomInvitationPayloadResponse>;
|
|
1488
1541
|
roomInvitationAccept: grpc.handleUnaryCall<wechaty_puppet_room_invitation_pb.RoomInvitationAcceptRequest, wechaty_puppet_room_invitation_pb.RoomInvitationAcceptResponse>;
|
|
@@ -1514,6 +1567,8 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1514
1567
|
getRoomAntiSpamStrategyEffectRoomList: grpc.handleUnaryCall<wechaty_puppet_wecom_pb.GetRoomAntiSpamStrategyEffectRoomListRequest, wechaty_puppet_wecom_pb.GetRoomAntiSpamStrategyEffectRoomListResponse>;
|
|
1515
1568
|
applyRoomAntiSpamStrategy: grpc.handleUnaryCall<wechaty_puppet_wecom_pb.ApplyRoomAntiSpamStrategyRequest, wechaty_puppet_wecom_pb.ApplyRoomAntiSpamStrategyResponse>;
|
|
1516
1569
|
getCorpMessageInterceptionStrategies: grpc.handleUnaryCall<wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesRequest, wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse>;
|
|
1570
|
+
orgBroadcastPayload: grpc.handleUnaryCall<wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse>;
|
|
1571
|
+
orgBroadcastExecute: grpc.handleUnaryCall<wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse>;
|
|
1517
1572
|
download: grpc.handleServerStreamingCall<wechaty_puppet_download_upload_pb.DownloadRequest, wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1518
1573
|
upload: grpc.handleClientStreamingCall<wechaty_puppet_download_upload_pb.UploadRequest, wechaty_puppet_download_upload_pb.UploadResponse>;
|
|
1519
1574
|
}
|
|
@@ -1824,6 +1879,15 @@ export interface IPuppetClient {
|
|
|
1824
1879
|
roomMemberList(request: wechaty_puppet_room_member_pb.RoomMemberListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberListResponse) => void): grpc.ClientUnaryCall;
|
|
1825
1880
|
roomMemberList(request: wechaty_puppet_room_member_pb.RoomMemberListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberListResponse) => void): grpc.ClientUnaryCall;
|
|
1826
1881
|
roomMemberList(request: wechaty_puppet_room_member_pb.RoomMemberListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberListResponse) => void): grpc.ClientUnaryCall;
|
|
1882
|
+
roomMemberSync(request: wechaty_puppet_room_pb.RoomMemberSyncRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
1883
|
+
roomMemberSync(request: wechaty_puppet_room_pb.RoomMemberSyncRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
1884
|
+
roomMemberSync(request: wechaty_puppet_room_pb.RoomMemberSyncRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
1885
|
+
roomMemberLoadState(request: wechaty_puppet_room_pb.RoomMemberLoadStateRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
1886
|
+
roomMemberLoadState(request: wechaty_puppet_room_pb.RoomMemberLoadStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
1887
|
+
roomMemberLoadState(request: wechaty_puppet_room_pb.RoomMemberLoadStateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
1888
|
+
roomMemberSnapshot(request: wechaty_puppet_room_pb.RoomMemberSnapshotRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberSnapshotResponse) => void): grpc.ClientUnaryCall;
|
|
1889
|
+
roomMemberSnapshot(request: wechaty_puppet_room_pb.RoomMemberSnapshotRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberSnapshotResponse) => void): grpc.ClientUnaryCall;
|
|
1890
|
+
roomMemberSnapshot(request: wechaty_puppet_room_pb.RoomMemberSnapshotRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberSnapshotResponse) => void): grpc.ClientUnaryCall;
|
|
1827
1891
|
batchRoomMemberPayload(request: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1828
1892
|
batchRoomMemberPayload(request: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1829
1893
|
batchRoomMemberPayload(request: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1917,6 +1981,12 @@ export interface IPuppetClient {
|
|
|
1917
1981
|
getCorpMessageInterceptionStrategies(request: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse) => void): grpc.ClientUnaryCall;
|
|
1918
1982
|
getCorpMessageInterceptionStrategies(request: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse) => void): grpc.ClientUnaryCall;
|
|
1919
1983
|
getCorpMessageInterceptionStrategies(request: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse) => void): grpc.ClientUnaryCall;
|
|
1984
|
+
orgBroadcastPayload(request: wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1985
|
+
orgBroadcastPayload(request: wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1986
|
+
orgBroadcastPayload(request: wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1987
|
+
orgBroadcastExecute(request: wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse) => void): grpc.ClientUnaryCall;
|
|
1988
|
+
orgBroadcastExecute(request: wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse) => void): grpc.ClientUnaryCall;
|
|
1989
|
+
orgBroadcastExecute(request: wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse) => void): grpc.ClientUnaryCall;
|
|
1920
1990
|
download(request: wechaty_puppet_download_upload_pb.DownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1921
1991
|
download(request: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1922
1992
|
upload(callback: (error: grpc.ServiceError | null, response: wechaty_puppet_download_upload_pb.UploadResponse) => void): grpc.ClientWritableStream<wechaty_puppet_download_upload_pb.UploadRequest>;
|
|
@@ -2232,6 +2302,15 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
2232
2302
|
public roomMemberList(request: wechaty_puppet_room_member_pb.RoomMemberListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberListResponse) => void): grpc.ClientUnaryCall;
|
|
2233
2303
|
public roomMemberList(request: wechaty_puppet_room_member_pb.RoomMemberListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberListResponse) => void): grpc.ClientUnaryCall;
|
|
2234
2304
|
public roomMemberList(request: wechaty_puppet_room_member_pb.RoomMemberListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberListResponse) => void): grpc.ClientUnaryCall;
|
|
2305
|
+
public roomMemberSync(request: wechaty_puppet_room_pb.RoomMemberSyncRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
2306
|
+
public roomMemberSync(request: wechaty_puppet_room_pb.RoomMemberSyncRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
2307
|
+
public roomMemberSync(request: wechaty_puppet_room_pb.RoomMemberSyncRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
2308
|
+
public roomMemberLoadState(request: wechaty_puppet_room_pb.RoomMemberLoadStateRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
2309
|
+
public roomMemberLoadState(request: wechaty_puppet_room_pb.RoomMemberLoadStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
2310
|
+
public roomMemberLoadState(request: wechaty_puppet_room_pb.RoomMemberLoadStateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberLoadStateResponse) => void): grpc.ClientUnaryCall;
|
|
2311
|
+
public roomMemberSnapshot(request: wechaty_puppet_room_pb.RoomMemberSnapshotRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberSnapshotResponse) => void): grpc.ClientUnaryCall;
|
|
2312
|
+
public roomMemberSnapshot(request: wechaty_puppet_room_pb.RoomMemberSnapshotRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberSnapshotResponse) => void): grpc.ClientUnaryCall;
|
|
2313
|
+
public roomMemberSnapshot(request: wechaty_puppet_room_pb.RoomMemberSnapshotRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomMemberSnapshotResponse) => void): grpc.ClientUnaryCall;
|
|
2235
2314
|
public batchRoomMemberPayload(request: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
2236
2315
|
public batchRoomMemberPayload(request: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
2237
2316
|
public batchRoomMemberPayload(request: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.BatchRoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -2325,6 +2404,12 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
2325
2404
|
public getCorpMessageInterceptionStrategies(request: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse) => void): grpc.ClientUnaryCall;
|
|
2326
2405
|
public getCorpMessageInterceptionStrategies(request: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse) => void): grpc.ClientUnaryCall;
|
|
2327
2406
|
public getCorpMessageInterceptionStrategies(request: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.GetCorpMessageInterceptionStrategiesResponse) => void): grpc.ClientUnaryCall;
|
|
2407
|
+
public orgBroadcastPayload(request: wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
2408
|
+
public orgBroadcastPayload(request: wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
2409
|
+
public orgBroadcastPayload(request: wechaty_puppet_wecom_pb.OrgBroadcastPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
2410
|
+
public orgBroadcastExecute(request: wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse) => void): grpc.ClientUnaryCall;
|
|
2411
|
+
public orgBroadcastExecute(request: wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse) => void): grpc.ClientUnaryCall;
|
|
2412
|
+
public orgBroadcastExecute(request: wechaty_puppet_wecom_pb.OrgBroadcastExecuteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_wecom_pb.OrgBroadcastExecuteResponse) => void): grpc.ClientUnaryCall;
|
|
2328
2413
|
public download(request: wechaty_puppet_download_upload_pb.DownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
2329
2414
|
public download(request: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
2330
2415
|
public upload(callback: (error: grpc.ServiceError | null, response: wechaty_puppet_download_upload_pb.UploadResponse) => void): grpc.ClientWritableStream<wechaty_puppet_download_upload_pb.UploadRequest>;
|