@juzi/wechaty-grpc 1.0.41 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs +0 -2
  2. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +0 -2
  3. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +44 -0
  4. package/dist/cjs/out/wechaty/puppet/room_pb.js +336 -1
  5. package/dist/cjs/out/wechaty/puppet.openapi.yaml +28 -142
  6. package/dist/cjs/out/wechaty/puppet.swagger.json +43 -194
  7. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -50
  8. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -102
  9. package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
  10. package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
  11. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -34
  12. package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -147
  13. package/dist/cjs/proto/wechaty/puppet/room.proto +7 -0
  14. package/dist/cjs/proto/wechaty/puppet.proto +7 -9
  15. package/dist/cjs/src/package-json.js +1 -1
  16. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  17. package/dist/cjs/tests/puppet-server-impl.js +5 -13
  18. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  19. package/dist/esm/commonjs/generated/puppet.cjs +0 -2
  20. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +0 -2
  21. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +44 -0
  22. package/dist/esm/out/wechaty/puppet/room_pb.js +336 -1
  23. package/dist/esm/out/wechaty/puppet.openapi.yaml +28 -142
  24. package/dist/esm/out/wechaty/puppet.swagger.json +43 -194
  25. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -50
  26. package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -102
  27. package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
  28. package/dist/esm/out/wechaty/puppet_pb.js +0 -2
  29. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -34
  30. package/dist/esm/out/wechaty/puppet_pb_service.js +40 -147
  31. package/dist/esm/proto/wechaty/puppet/room.proto +7 -0
  32. package/dist/esm/proto/wechaty/puppet.proto +7 -9
  33. package/dist/esm/src/package-json.js +1 -1
  34. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  35. package/dist/esm/tests/puppet-server-impl.js +5 -13
  36. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  37. package/out/wechaty/puppet/room_pb.d.ts +44 -0
  38. package/out/wechaty/puppet/room_pb.js +336 -1
  39. package/out/wechaty/puppet.openapi.yaml +28 -142
  40. package/out/wechaty/puppet.swagger.json +43 -194
  41. package/out/wechaty/puppet_grpc_pb.d.ts +17 -50
  42. package/out/wechaty/puppet_grpc_pb.js +33 -102
  43. package/out/wechaty/puppet_pb.d.ts +0 -1
  44. package/out/wechaty/puppet_pb.js +0 -2
  45. package/out/wechaty/puppet_pb_service.d.ts +19 -34
  46. package/out/wechaty/puppet_pb_service.js +40 -147
  47. package/package.json +1 -1
  48. package/src/package-json.ts +1 -1
  49. package/dist/cjs/out/wechaty/deprecated/file-box_grpc_pb.js +0 -1
  50. package/dist/cjs/out/wechaty/deprecated/file-box_pb.d.ts +0 -179
  51. package/dist/cjs/out/wechaty/deprecated/file-box_pb.js +0 -1368
  52. package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.d.ts +0 -3
  53. package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.js +0 -3
  54. package/dist/cjs/proto/wechaty/deprecated/file-box.proto +0 -61
  55. package/dist/esm/out/wechaty/deprecated/file-box_grpc_pb.js +0 -1
  56. package/dist/esm/out/wechaty/deprecated/file-box_pb.d.ts +0 -179
  57. package/dist/esm/out/wechaty/deprecated/file-box_pb.js +0 -1368
  58. package/dist/esm/out/wechaty/deprecated/file-box_pb_service.d.ts +0 -3
  59. package/dist/esm/out/wechaty/deprecated/file-box_pb_service.js +0 -3
  60. package/dist/esm/proto/wechaty/deprecated/file-box.proto +0 -61
  61. package/out/wechaty/deprecated/file-box_grpc_pb.js +0 -1
  62. package/out/wechaty/deprecated/file-box_pb.d.ts +0 -179
  63. package/out/wechaty/deprecated/file-box_pb.js +0 -1368
  64. package/out/wechaty/deprecated/file-box_pb_service.d.ts +0 -3
  65. package/out/wechaty/deprecated/file-box_pb_service.js +0 -3
@@ -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.41",
6
+ "version": "1.0.43",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -2523,6 +2523,42 @@
2523
2523
  ]
2524
2524
  }
2525
2525
  },
2526
+ "/rooms/{id}/remark": {
2527
+ "put": {
2528
+ "operationId": "Puppet_RoomRemark",
2529
+ "responses": {
2530
+ "200": {
2531
+ "description": "A successful response.",
2532
+ "schema": {
2533
+ "$ref": "#/definitions/puppetRoomRemarkResponse"
2534
+ }
2535
+ },
2536
+ "default": {
2537
+ "description": "An unexpected error response.",
2538
+ "schema": {
2539
+ "$ref": "#/definitions/rpcStatus"
2540
+ }
2541
+ }
2542
+ },
2543
+ "parameters": [
2544
+ {
2545
+ "name": "id",
2546
+ "in": "path",
2547
+ "required": true,
2548
+ "type": "string"
2549
+ },
2550
+ {
2551
+ "name": "remark",
2552
+ "in": "query",
2553
+ "required": false,
2554
+ "type": "string"
2555
+ }
2556
+ ],
2557
+ "tags": [
2558
+ "Puppet"
2559
+ ]
2560
+ }
2561
+ },
2526
2562
  "/rooms/{id}/topic": {
2527
2563
  "get": {
2528
2564
  "operationId": "Puppet_RoomTopic",
@@ -3093,48 +3129,6 @@
3093
3129
  ]
3094
3130
  }
3095
3131
  },
3096
- "/wechaty.Puppet/MessageFileStream": {
3097
- "post": {
3098
- "summary": "*\nDeprecated: will be removed after Dec 31, 2022",
3099
- "operationId": "Puppet_MessageFileStream",
3100
- "responses": {
3101
- "200": {
3102
- "description": "A successful response.(streaming responses)",
3103
- "schema": {
3104
- "type": "object",
3105
- "properties": {
3106
- "result": {
3107
- "$ref": "#/definitions/puppetMessageFileStreamResponse"
3108
- },
3109
- "error": {
3110
- "$ref": "#/definitions/rpcStatus"
3111
- }
3112
- },
3113
- "title": "Stream result of puppetMessageFileStreamResponse"
3114
- }
3115
- },
3116
- "default": {
3117
- "description": "An unexpected error response.",
3118
- "schema": {
3119
- "$ref": "#/definitions/rpcStatus"
3120
- }
3121
- }
3122
- },
3123
- "parameters": [
3124
- {
3125
- "name": "body",
3126
- "in": "body",
3127
- "required": true,
3128
- "schema": {
3129
- "$ref": "#/definitions/puppetMessageFileStreamRequest"
3130
- }
3131
- }
3132
- ],
3133
- "tags": [
3134
- "Puppet"
3135
- ]
3136
- }
3137
- },
3138
3132
  "/wechaty.Puppet/MessageImage": {
3139
3133
  "post": {
3140
3134
  "operationId": "Puppet_MessageImage",
@@ -3167,47 +3161,6 @@
3167
3161
  ]
3168
3162
  }
3169
3163
  },
3170
- "/wechaty.Puppet/MessageImageStream": {
3171
- "post": {
3172
- "operationId": "Puppet_MessageImageStream",
3173
- "responses": {
3174
- "200": {
3175
- "description": "A successful response.(streaming responses)",
3176
- "schema": {
3177
- "type": "object",
3178
- "properties": {
3179
- "result": {
3180
- "$ref": "#/definitions/puppetMessageImageStreamResponse"
3181
- },
3182
- "error": {
3183
- "$ref": "#/definitions/rpcStatus"
3184
- }
3185
- },
3186
- "title": "Stream result of puppetMessageImageStreamResponse"
3187
- }
3188
- },
3189
- "default": {
3190
- "description": "An unexpected error response.",
3191
- "schema": {
3192
- "$ref": "#/definitions/rpcStatus"
3193
- }
3194
- }
3195
- },
3196
- "parameters": [
3197
- {
3198
- "name": "body",
3199
- "in": "body",
3200
- "required": true,
3201
- "schema": {
3202
- "$ref": "#/definitions/puppetMessageImageStreamRequest"
3203
- }
3204
- }
3205
- ],
3206
- "tags": [
3207
- "Puppet"
3208
- ]
3209
- }
3210
- },
3211
3164
  "/wechaty.Puppet/MessageSendFile": {
3212
3165
  "post": {
3213
3166
  "operationId": "Puppet_MessageSendFile",
@@ -3239,39 +3192,6 @@
3239
3192
  "Puppet"
3240
3193
  ]
3241
3194
  }
3242
- },
3243
- "/wechaty.Puppet/MessageSendFileStream": {
3244
- "post": {
3245
- "operationId": "Puppet_MessageSendFileStream",
3246
- "responses": {
3247
- "200": {
3248
- "description": "A successful response.",
3249
- "schema": {
3250
- "$ref": "#/definitions/puppetMessageSendFileStreamResponse"
3251
- }
3252
- },
3253
- "default": {
3254
- "description": "An unexpected error response.",
3255
- "schema": {
3256
- "$ref": "#/definitions/rpcStatus"
3257
- }
3258
- }
3259
- },
3260
- "parameters": [
3261
- {
3262
- "name": "body",
3263
- "description": "*\n Huan(202110): `oneof xxx {}` seems equal with `optional`?\n to be confirmed. (streaming inputs)",
3264
- "in": "body",
3265
- "required": true,
3266
- "schema": {
3267
- "$ref": "#/definitions/puppetMessageSendFileStreamRequest"
3268
- }
3269
- }
3270
- ],
3271
- "tags": [
3272
- "Puppet"
3273
- ]
3274
- }
3275
3195
  }
3276
3196
  },
3277
3197
  "definitions": {
@@ -3604,21 +3524,6 @@
3604
3524
  ],
3605
3525
  "default": "EVENT_TYPE_UNSPECIFIED"
3606
3526
  },
3607
- "puppetFileBoxChunk": {
3608
- "type": "object",
3609
- "properties": {
3610
- "data": {
3611
- "type": "string",
3612
- "format": "byte",
3613
- "title": "oneof payload {"
3614
- },
3615
- "name": {
3616
- "type": "string",
3617
- "title": "}"
3618
- }
3619
- },
3620
- "description": "*\n Huan(202110): `oneof xxx {}` seems equal with `optional`?\n to be confirmed."
3621
- },
3622
3527
  "puppetFriendshipAcceptResponse": {
3623
3528
  "type": "object"
3624
3529
  },
@@ -3799,22 +3704,6 @@
3799
3704
  }
3800
3705
  }
3801
3706
  },
3802
- "puppetMessageFileStreamRequest": {
3803
- "type": "object",
3804
- "properties": {
3805
- "id": {
3806
- "type": "string"
3807
- }
3808
- }
3809
- },
3810
- "puppetMessageFileStreamResponse": {
3811
- "type": "object",
3812
- "properties": {
3813
- "fileBoxChunk": {
3814
- "$ref": "#/definitions/puppetFileBoxChunk"
3815
- }
3816
- }
3817
- },
3818
3707
  "puppetMessageForwardResponse": {
3819
3708
  "type": "object",
3820
3709
  "properties": {
@@ -3848,25 +3737,6 @@
3848
3737
  }
3849
3738
  }
3850
3739
  },
3851
- "puppetMessageImageStreamRequest": {
3852
- "type": "object",
3853
- "properties": {
3854
- "id": {
3855
- "type": "string"
3856
- },
3857
- "type": {
3858
- "$ref": "#/definitions/puppetImageType"
3859
- }
3860
- }
3861
- },
3862
- "puppetMessageImageStreamResponse": {
3863
- "type": "object",
3864
- "properties": {
3865
- "fileBoxChunk": {
3866
- "$ref": "#/definitions/puppetFileBoxChunk"
3867
- }
3868
- }
3869
- },
3870
3740
  "puppetMessageLocationResponse": {
3871
3741
  "type": "object",
3872
3742
  "properties": {
@@ -4007,33 +3877,6 @@
4007
3877
  }
4008
3878
  }
4009
3879
  },
4010
- "puppetMessageSendFileStreamRequest": {
4011
- "type": "object",
4012
- "properties": {
4013
- "conversationId": {
4014
- "type": "string",
4015
- "title": "oneof payload {"
4016
- },
4017
- "fileBoxChunk": {
4018
- "$ref": "#/definitions/puppetFileBoxChunk",
4019
- "title": "};"
4020
- }
4021
- },
4022
- "description": "*\n Huan(202110): `oneof xxx {}` seems equal with `optional`?\n to be confirmed."
4023
- },
4024
- "puppetMessageSendFileStreamResponse": {
4025
- "type": "object",
4026
- "properties": {
4027
- "idStringValueDeprecated": {
4028
- "type": "string",
4029
- "description": "Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022",
4030
- "title": "*\n@deprecated:\n Huan(202109): Wrapper types must not be used going forward.\n https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields"
4031
- },
4032
- "id": {
4033
- "type": "string"
4034
- }
4035
- }
4036
- },
4037
3880
  "puppetMessageSendLocationResponse": {
4038
3881
  "type": "object",
4039
3882
  "properties": {
@@ -4642,6 +4485,9 @@
4642
4485
  },
4643
4486
  "additionalInfo": {
4644
4487
  "type": "string"
4488
+ },
4489
+ "roomRemark": {
4490
+ "type": "string"
4645
4491
  }
4646
4492
  }
4647
4493
  },
@@ -4656,6 +4502,9 @@
4656
4502
  "puppetRoomQuitResponse": {
4657
4503
  "type": "object"
4658
4504
  },
4505
+ "puppetRoomRemarkResponse": {
4506
+ "type": "object"
4507
+ },
4659
4508
  "puppetRoomTopicResponse": {
4660
4509
  "type": "object",
4661
4510
  "properties": {
@@ -7,7 +7,6 @@
7
7
  import * as grpc from "@grpc/grpc-js";
8
8
  import * as wechaty_puppet_pb from "../wechaty/puppet_pb";
9
9
  import * as protoc_gen_openapiv2_options_annotations_pb from "../protoc-gen-openapiv2/options/annotations_pb";
10
- import * as wechaty_deprecated_file_box_pb from "../wechaty/deprecated/file-box_pb";
11
10
  import * as wechaty_puppet_base_pb from "../wechaty/puppet/base_pb";
12
11
  import * as wechaty_puppet_contact_pb from "../wechaty/puppet/contact_pb";
13
12
  import * as wechaty_puppet_download_upload_pb from "../wechaty/puppet/download-upload_pb";
@@ -24,9 +23,6 @@ import * as wechaty_puppet_post_pb from "../wechaty/puppet/post_pb";
24
23
  import * as wechaty_puppet_moment_pb from "../wechaty/puppet/moment_pb";
25
24
 
26
25
  interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
27
- messageFileStream: IPuppetService_IMessageFileStream;
28
- messageImageStream: IPuppetService_IMessageImageStream;
29
- messageSendFileStream: IPuppetService_IMessageSendFileStream;
30
26
  start: IPuppetService_IStart;
31
27
  stop: IPuppetService_IStop;
32
28
  logout: IPuppetService_ILogout;
@@ -80,6 +76,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
80
76
  roomDel: IPuppetService_IRoomDel;
81
77
  roomQuit: IPuppetService_IRoomQuit;
82
78
  roomTopic: IPuppetService_IRoomTopic;
79
+ roomRemark: IPuppetService_IRoomRemark;
83
80
  roomQRCode: IPuppetService_IRoomQRCode;
84
81
  roomAnnounce: IPuppetService_IRoomAnnounce;
85
82
  roomMemberPayload: IPuppetService_IRoomMemberPayload;
@@ -110,33 +107,6 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
110
107
  upload: IPuppetService_IUpload;
111
108
  }
112
109
 
113
- interface IPuppetService_IMessageFileStream extends grpc.MethodDefinition<wechaty_deprecated_file_box_pb.MessageFileStreamRequest, wechaty_deprecated_file_box_pb.MessageFileStreamResponse> {
114
- path: "/wechaty.Puppet/MessageFileStream";
115
- requestStream: false;
116
- responseStream: true;
117
- requestSerialize: grpc.serialize<wechaty_deprecated_file_box_pb.MessageFileStreamRequest>;
118
- requestDeserialize: grpc.deserialize<wechaty_deprecated_file_box_pb.MessageFileStreamRequest>;
119
- responseSerialize: grpc.serialize<wechaty_deprecated_file_box_pb.MessageFileStreamResponse>;
120
- responseDeserialize: grpc.deserialize<wechaty_deprecated_file_box_pb.MessageFileStreamResponse>;
121
- }
122
- interface IPuppetService_IMessageImageStream extends grpc.MethodDefinition<wechaty_deprecated_file_box_pb.MessageImageStreamRequest, wechaty_deprecated_file_box_pb.MessageImageStreamResponse> {
123
- path: "/wechaty.Puppet/MessageImageStream";
124
- requestStream: false;
125
- responseStream: true;
126
- requestSerialize: grpc.serialize<wechaty_deprecated_file_box_pb.MessageImageStreamRequest>;
127
- requestDeserialize: grpc.deserialize<wechaty_deprecated_file_box_pb.MessageImageStreamRequest>;
128
- responseSerialize: grpc.serialize<wechaty_deprecated_file_box_pb.MessageImageStreamResponse>;
129
- responseDeserialize: grpc.deserialize<wechaty_deprecated_file_box_pb.MessageImageStreamResponse>;
130
- }
131
- interface IPuppetService_IMessageSendFileStream extends grpc.MethodDefinition<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest, wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse> {
132
- path: "/wechaty.Puppet/MessageSendFileStream";
133
- requestStream: true;
134
- responseStream: false;
135
- requestSerialize: grpc.serialize<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
136
- requestDeserialize: grpc.deserialize<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
137
- responseSerialize: grpc.serialize<wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse>;
138
- responseDeserialize: grpc.deserialize<wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse>;
139
- }
140
110
  interface IPuppetService_IStart extends grpc.MethodDefinition<wechaty_puppet_base_pb.StartRequest, wechaty_puppet_base_pb.StartResponse> {
141
111
  path: "/wechaty.Puppet/Start";
142
112
  requestStream: false;
@@ -614,6 +584,15 @@ interface IPuppetService_IRoomTopic extends grpc.MethodDefinition<wechaty_puppet
614
584
  responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomTopicResponse>;
615
585
  responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomTopicResponse>;
616
586
  }
587
+ interface IPuppetService_IRoomRemark extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomRemarkRequest, wechaty_puppet_room_pb.RoomRemarkResponse> {
588
+ path: "/wechaty.Puppet/RoomRemark";
589
+ requestStream: false;
590
+ responseStream: false;
591
+ requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomRemarkRequest>;
592
+ requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomRemarkRequest>;
593
+ responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomRemarkResponse>;
594
+ responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomRemarkResponse>;
595
+ }
617
596
  interface IPuppetService_IRoomQRCode extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomQRCodeRequest, wechaty_puppet_room_pb.RoomQRCodeResponse> {
618
597
  path: "/wechaty.Puppet/RoomQRCode";
619
598
  requestStream: false;
@@ -870,9 +849,6 @@ interface IPuppetService_IUpload extends grpc.MethodDefinition<wechaty_puppet_do
870
849
  export const PuppetService: IPuppetService;
871
850
 
872
851
  export interface IPuppetServer extends grpc.UntypedServiceImplementation {
873
- messageFileStream: grpc.handleServerStreamingCall<wechaty_deprecated_file_box_pb.MessageFileStreamRequest, wechaty_deprecated_file_box_pb.MessageFileStreamResponse>;
874
- messageImageStream: grpc.handleServerStreamingCall<wechaty_deprecated_file_box_pb.MessageImageStreamRequest, wechaty_deprecated_file_box_pb.MessageImageStreamResponse>;
875
- messageSendFileStream: grpc.handleClientStreamingCall<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest, wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse>;
876
852
  start: grpc.handleUnaryCall<wechaty_puppet_base_pb.StartRequest, wechaty_puppet_base_pb.StartResponse>;
877
853
  stop: grpc.handleUnaryCall<wechaty_puppet_base_pb.StopRequest, wechaty_puppet_base_pb.StopResponse>;
878
854
  logout: grpc.handleUnaryCall<wechaty_puppet_base_pb.LogoutRequest, wechaty_puppet_base_pb.LogoutResponse>;
@@ -926,6 +902,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
926
902
  roomDel: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomDelRequest, wechaty_puppet_room_pb.RoomDelResponse>;
927
903
  roomQuit: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomQuitRequest, wechaty_puppet_room_pb.RoomQuitResponse>;
928
904
  roomTopic: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomTopicRequest, wechaty_puppet_room_pb.RoomTopicResponse>;
905
+ roomRemark: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomRemarkRequest, wechaty_puppet_room_pb.RoomRemarkResponse>;
929
906
  roomQRCode: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomQRCodeRequest, wechaty_puppet_room_pb.RoomQRCodeResponse>;
930
907
  roomAnnounce: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAnnounceRequest, wechaty_puppet_room_pb.RoomAnnounceResponse>;
931
908
  roomMemberPayload: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, wechaty_puppet_room_member_pb.RoomMemberPayloadResponse>;
@@ -957,14 +934,6 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
957
934
  }
958
935
 
959
936
  export interface IPuppetClient {
960
- messageFileStream(request: wechaty_deprecated_file_box_pb.MessageFileStreamRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageFileStreamResponse>;
961
- messageFileStream(request: wechaty_deprecated_file_box_pb.MessageFileStreamRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageFileStreamResponse>;
962
- messageImageStream(request: wechaty_deprecated_file_box_pb.MessageImageStreamRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageImageStreamResponse>;
963
- messageImageStream(request: wechaty_deprecated_file_box_pb.MessageImageStreamRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageImageStreamResponse>;
964
- messageSendFileStream(callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
965
- messageSendFileStream(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
966
- messageSendFileStream(options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
967
- messageSendFileStream(metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
968
937
  start(request: wechaty_puppet_base_pb.StartRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.StartResponse) => void): grpc.ClientUnaryCall;
969
938
  start(request: wechaty_puppet_base_pb.StartRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.StartResponse) => void): grpc.ClientUnaryCall;
970
939
  start(request: wechaty_puppet_base_pb.StartRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.StartResponse) => void): grpc.ClientUnaryCall;
@@ -1123,6 +1092,9 @@ export interface IPuppetClient {
1123
1092
  roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
1124
1093
  roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
1125
1094
  roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
1095
+ roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
1096
+ roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
1097
+ roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
1126
1098
  roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
1127
1099
  roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
1128
1100
  roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
@@ -1211,14 +1183,6 @@ export interface IPuppetClient {
1211
1183
 
1212
1184
  export class PuppetClient extends grpc.Client implements IPuppetClient {
1213
1185
  constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
1214
- public messageFileStream(request: wechaty_deprecated_file_box_pb.MessageFileStreamRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageFileStreamResponse>;
1215
- public messageFileStream(request: wechaty_deprecated_file_box_pb.MessageFileStreamRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageFileStreamResponse>;
1216
- public messageImageStream(request: wechaty_deprecated_file_box_pb.MessageImageStreamRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageImageStreamResponse>;
1217
- public messageImageStream(request: wechaty_deprecated_file_box_pb.MessageImageStreamRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_deprecated_file_box_pb.MessageImageStreamResponse>;
1218
- public messageSendFileStream(callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
1219
- public messageSendFileStream(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
1220
- public messageSendFileStream(options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
1221
- public messageSendFileStream(metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_deprecated_file_box_pb.MessageSendFileStreamResponse) => void): grpc.ClientWritableStream<wechaty_deprecated_file_box_pb.MessageSendFileStreamRequest>;
1222
1186
  public start(request: wechaty_puppet_base_pb.StartRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.StartResponse) => void): grpc.ClientUnaryCall;
1223
1187
  public start(request: wechaty_puppet_base_pb.StartRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.StartResponse) => void): grpc.ClientUnaryCall;
1224
1188
  public start(request: wechaty_puppet_base_pb.StartRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_base_pb.StartResponse) => void): grpc.ClientUnaryCall;
@@ -1377,6 +1341,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
1377
1341
  public roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
1378
1342
  public roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
1379
1343
  public roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
1344
+ public roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
1345
+ public roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
1346
+ public roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
1380
1347
  public roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
1381
1348
  public roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
1382
1349
  public roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
@@ -16,7 +16,6 @@
16
16
  var grpc = require('@grpc/grpc-js');
17
17
  var google_api_annotations_pb = require('../google/api/annotations_pb.js');
18
18
  var protoc$gen$openapiv2_options_annotations_pb = require('../protoc-gen-openapiv2/options/annotations_pb.js');
19
- var wechaty_deprecated_file$box_pb = require('../wechaty/deprecated/file-box_pb.js');
20
19
  var wechaty_puppet_base_pb = require('../wechaty/puppet/base_pb.js');
21
20
  var wechaty_puppet_contact_pb = require('../wechaty/puppet/contact_pb.js');
22
21
  var wechaty_puppet_download$upload_pb = require('../wechaty/puppet/download-upload_pb.js');
@@ -626,28 +625,6 @@ function deserialize_wechaty_puppet_MessageFileResponse(buffer_arg) {
626
625
  return wechaty_puppet_message_pb.MessageFileResponse.deserializeBinary(new Uint8Array(buffer_arg));
627
626
  }
628
627
 
629
- function serialize_wechaty_puppet_MessageFileStreamRequest(arg) {
630
- if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageFileStreamRequest)) {
631
- throw new Error('Expected argument of type wechaty.puppet.MessageFileStreamRequest');
632
- }
633
- return Buffer.from(arg.serializeBinary());
634
- }
635
-
636
- function deserialize_wechaty_puppet_MessageFileStreamRequest(buffer_arg) {
637
- return wechaty_deprecated_file$box_pb.MessageFileStreamRequest.deserializeBinary(new Uint8Array(buffer_arg));
638
- }
639
-
640
- function serialize_wechaty_puppet_MessageFileStreamResponse(arg) {
641
- if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageFileStreamResponse)) {
642
- throw new Error('Expected argument of type wechaty.puppet.MessageFileStreamResponse');
643
- }
644
- return Buffer.from(arg.serializeBinary());
645
- }
646
-
647
- function deserialize_wechaty_puppet_MessageFileStreamResponse(buffer_arg) {
648
- return wechaty_deprecated_file$box_pb.MessageFileStreamResponse.deserializeBinary(new Uint8Array(buffer_arg));
649
- }
650
-
651
628
  function serialize_wechaty_puppet_MessageForwardRequest(arg) {
652
629
  if (!(arg instanceof wechaty_puppet_message_pb.MessageForwardRequest)) {
653
630
  throw new Error('Expected argument of type wechaty.puppet.MessageForwardRequest');
@@ -692,28 +669,6 @@ function deserialize_wechaty_puppet_MessageImageResponse(buffer_arg) {
692
669
  return wechaty_puppet_message_pb.MessageImageResponse.deserializeBinary(new Uint8Array(buffer_arg));
693
670
  }
694
671
 
695
- function serialize_wechaty_puppet_MessageImageStreamRequest(arg) {
696
- if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageImageStreamRequest)) {
697
- throw new Error('Expected argument of type wechaty.puppet.MessageImageStreamRequest');
698
- }
699
- return Buffer.from(arg.serializeBinary());
700
- }
701
-
702
- function deserialize_wechaty_puppet_MessageImageStreamRequest(buffer_arg) {
703
- return wechaty_deprecated_file$box_pb.MessageImageStreamRequest.deserializeBinary(new Uint8Array(buffer_arg));
704
- }
705
-
706
- function serialize_wechaty_puppet_MessageImageStreamResponse(arg) {
707
- if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageImageStreamResponse)) {
708
- throw new Error('Expected argument of type wechaty.puppet.MessageImageStreamResponse');
709
- }
710
- return Buffer.from(arg.serializeBinary());
711
- }
712
-
713
- function deserialize_wechaty_puppet_MessageImageStreamResponse(buffer_arg) {
714
- return wechaty_deprecated_file$box_pb.MessageImageStreamResponse.deserializeBinary(new Uint8Array(buffer_arg));
715
- }
716
-
717
672
  function serialize_wechaty_puppet_MessageLocationRequest(arg) {
718
673
  if (!(arg instanceof wechaty_puppet_message_pb.MessageLocationRequest)) {
719
674
  throw new Error('Expected argument of type wechaty.puppet.MessageLocationRequest');
@@ -890,28 +845,6 @@ function deserialize_wechaty_puppet_MessageSendFileResponse(buffer_arg) {
890
845
  return wechaty_puppet_message_pb.MessageSendFileResponse.deserializeBinary(new Uint8Array(buffer_arg));
891
846
  }
892
847
 
893
- function serialize_wechaty_puppet_MessageSendFileStreamRequest(arg) {
894
- if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageSendFileStreamRequest)) {
895
- throw new Error('Expected argument of type wechaty.puppet.MessageSendFileStreamRequest');
896
- }
897
- return Buffer.from(arg.serializeBinary());
898
- }
899
-
900
- function deserialize_wechaty_puppet_MessageSendFileStreamRequest(buffer_arg) {
901
- return wechaty_deprecated_file$box_pb.MessageSendFileStreamRequest.deserializeBinary(new Uint8Array(buffer_arg));
902
- }
903
-
904
- function serialize_wechaty_puppet_MessageSendFileStreamResponse(arg) {
905
- if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageSendFileStreamResponse)) {
906
- throw new Error('Expected argument of type wechaty.puppet.MessageSendFileStreamResponse');
907
- }
908
- return Buffer.from(arg.serializeBinary());
909
- }
910
-
911
- function deserialize_wechaty_puppet_MessageSendFileStreamResponse(buffer_arg) {
912
- return wechaty_deprecated_file$box_pb.MessageSendFileStreamResponse.deserializeBinary(new Uint8Array(buffer_arg));
913
- }
914
-
915
848
  function serialize_wechaty_puppet_MessageSendLocationRequest(arg) {
916
849
  if (!(arg instanceof wechaty_puppet_message_pb.MessageSendLocationRequest)) {
917
850
  throw new Error('Expected argument of type wechaty.puppet.MessageSendLocationRequest');
@@ -1462,6 +1395,28 @@ function deserialize_wechaty_puppet_RoomQuitResponse(buffer_arg) {
1462
1395
  return wechaty_puppet_room_pb.RoomQuitResponse.deserializeBinary(new Uint8Array(buffer_arg));
1463
1396
  }
1464
1397
 
1398
+ function serialize_wechaty_puppet_RoomRemarkRequest(arg) {
1399
+ if (!(arg instanceof wechaty_puppet_room_pb.RoomRemarkRequest)) {
1400
+ throw new Error('Expected argument of type wechaty.puppet.RoomRemarkRequest');
1401
+ }
1402
+ return Buffer.from(arg.serializeBinary());
1403
+ }
1404
+
1405
+ function deserialize_wechaty_puppet_RoomRemarkRequest(buffer_arg) {
1406
+ return wechaty_puppet_room_pb.RoomRemarkRequest.deserializeBinary(new Uint8Array(buffer_arg));
1407
+ }
1408
+
1409
+ function serialize_wechaty_puppet_RoomRemarkResponse(arg) {
1410
+ if (!(arg instanceof wechaty_puppet_room_pb.RoomRemarkResponse)) {
1411
+ throw new Error('Expected argument of type wechaty.puppet.RoomRemarkResponse');
1412
+ }
1413
+ return Buffer.from(arg.serializeBinary());
1414
+ }
1415
+
1416
+ function deserialize_wechaty_puppet_RoomRemarkResponse(buffer_arg) {
1417
+ return wechaty_puppet_room_pb.RoomRemarkResponse.deserializeBinary(new Uint8Array(buffer_arg));
1418
+ }
1419
+
1465
1420
  function serialize_wechaty_puppet_RoomTopicRequest(arg) {
1466
1421
  if (!(arg instanceof wechaty_puppet_room_pb.RoomTopicRequest)) {
1467
1422
  throw new Error('Expected argument of type wechaty.puppet.RoomTopicRequest');
@@ -1861,41 +1816,6 @@ function deserialize_wechaty_puppet_VersionResponse(buffer_arg) {
1861
1816
 
1862
1817
  var PuppetService = exports.PuppetService = {
1863
1818
  // *
1864
- // Deprecated: will be removed after Dec 31, 2022
1865
- messageFileStream: {
1866
- path: '/wechaty.Puppet/MessageFileStream',
1867
- requestStream: false,
1868
- responseStream: true,
1869
- requestType: wechaty_deprecated_file$box_pb.MessageFileStreamRequest,
1870
- responseType: wechaty_deprecated_file$box_pb.MessageFileStreamResponse,
1871
- requestSerialize: serialize_wechaty_puppet_MessageFileStreamRequest,
1872
- requestDeserialize: deserialize_wechaty_puppet_MessageFileStreamRequest,
1873
- responseSerialize: serialize_wechaty_puppet_MessageFileStreamResponse,
1874
- responseDeserialize: deserialize_wechaty_puppet_MessageFileStreamResponse,
1875
- },
1876
- messageImageStream: {
1877
- path: '/wechaty.Puppet/MessageImageStream',
1878
- requestStream: false,
1879
- responseStream: true,
1880
- requestType: wechaty_deprecated_file$box_pb.MessageImageStreamRequest,
1881
- responseType: wechaty_deprecated_file$box_pb.MessageImageStreamResponse,
1882
- requestSerialize: serialize_wechaty_puppet_MessageImageStreamRequest,
1883
- requestDeserialize: deserialize_wechaty_puppet_MessageImageStreamRequest,
1884
- responseSerialize: serialize_wechaty_puppet_MessageImageStreamResponse,
1885
- responseDeserialize: deserialize_wechaty_puppet_MessageImageStreamResponse,
1886
- },
1887
- messageSendFileStream: {
1888
- path: '/wechaty.Puppet/MessageSendFileStream',
1889
- requestStream: true,
1890
- responseStream: false,
1891
- requestType: wechaty_deprecated_file$box_pb.MessageSendFileStreamRequest,
1892
- responseType: wechaty_deprecated_file$box_pb.MessageSendFileStreamResponse,
1893
- requestSerialize: serialize_wechaty_puppet_MessageSendFileStreamRequest,
1894
- requestDeserialize: deserialize_wechaty_puppet_MessageSendFileStreamRequest,
1895
- responseSerialize: serialize_wechaty_puppet_MessageSendFileStreamResponse,
1896
- responseDeserialize: deserialize_wechaty_puppet_MessageSendFileStreamResponse,
1897
- },
1898
- // *
1899
1819
  //
1900
1820
  // Base
1901
1821
  //
@@ -2516,6 +2436,17 @@ roomPayload: {
2516
2436
  responseSerialize: serialize_wechaty_puppet_RoomTopicResponse,
2517
2437
  responseDeserialize: deserialize_wechaty_puppet_RoomTopicResponse,
2518
2438
  },
2439
+ roomRemark: {
2440
+ path: '/wechaty.Puppet/RoomRemark',
2441
+ requestStream: false,
2442
+ responseStream: false,
2443
+ requestType: wechaty_puppet_room_pb.RoomRemarkRequest,
2444
+ responseType: wechaty_puppet_room_pb.RoomRemarkResponse,
2445
+ requestSerialize: serialize_wechaty_puppet_RoomRemarkRequest,
2446
+ requestDeserialize: deserialize_wechaty_puppet_RoomRemarkRequest,
2447
+ responseSerialize: serialize_wechaty_puppet_RoomRemarkResponse,
2448
+ responseDeserialize: deserialize_wechaty_puppet_RoomRemarkResponse,
2449
+ },
2519
2450
  roomQRCode: {
2520
2451
  path: '/wechaty.Puppet/RoomQRCode',
2521
2452
  requestStream: false,
@@ -4,7 +4,6 @@
4
4
  import * as jspb from "google-protobuf";
5
5
  import * as google_api_annotations_pb from "../google/api/annotations_pb";
6
6
  import * as protoc_gen_openapiv2_options_annotations_pb from "../protoc-gen-openapiv2/options/annotations_pb";
7
- import * as wechaty_deprecated_file_box_pb from "../wechaty/deprecated/file-box_pb";
8
7
  import * as wechaty_puppet_base_pb from "../wechaty/puppet/base_pb";
9
8
  import * as wechaty_puppet_contact_pb from "../wechaty/puppet/contact_pb";
10
9
  import * as wechaty_puppet_download_upload_pb from "../wechaty/puppet/download-upload_pb";
@@ -19,8 +19,6 @@ var google_api_annotations_pb = require('../google/api/annotations_pb.js');
19
19
  goog.object.extend(proto, google_api_annotations_pb);
20
20
  var protoc$gen$openapiv2_options_annotations_pb = require('../protoc-gen-openapiv2/options/annotations_pb.js');
21
21
  goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
22
- var wechaty_deprecated_file$box_pb = require('../wechaty/deprecated/file-box_pb.js');
23
- goog.object.extend(proto, wechaty_deprecated_file$box_pb);
24
22
  var wechaty_puppet_base_pb = require('../wechaty/puppet/base_pb.js');
25
23
  goog.object.extend(proto, wechaty_puppet_base_pb);
26
24
  var wechaty_puppet_contact_pb = require('../wechaty/puppet/contact_pb.js');