@juzi/wechaty-grpc 1.0.18 → 1.0.20

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 (52) hide show
  1. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +2 -0
  2. package/dist/cjs/out/wechaty/puppet/event_pb.js +3 -1
  3. package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +0 -172
  4. package/dist/cjs/out/wechaty/puppet/moment_pb.js +87 -1406
  5. package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +172 -0
  6. package/dist/cjs/out/wechaty/puppet/post_pb.js +1319 -0
  7. package/dist/cjs/out/wechaty/puppet.openapi.yaml +74 -72
  8. package/dist/cjs/out/wechaty/puppet.swagger.json +100 -98
  9. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +56 -56
  10. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +103 -103
  11. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +41 -40
  12. package/dist/cjs/out/wechaty/puppet_pb_service.js +25 -24
  13. package/dist/cjs/proto/wechaty/puppet/event.proto +2 -0
  14. package/dist/cjs/proto/wechaty/puppet/moment.proto +0 -33
  15. package/dist/cjs/proto/wechaty/puppet/post.proto +34 -0
  16. package/dist/cjs/proto/wechaty/puppet.proto +9 -9
  17. package/dist/cjs/src/package-json.js +1 -1
  18. package/dist/cjs/tests/puppet-server-impl.js +4 -4
  19. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  20. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +2 -0
  21. package/dist/esm/out/wechaty/puppet/event_pb.js +3 -1
  22. package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +0 -172
  23. package/dist/esm/out/wechaty/puppet/moment_pb.js +87 -1406
  24. package/dist/esm/out/wechaty/puppet/post_pb.d.ts +172 -0
  25. package/dist/esm/out/wechaty/puppet/post_pb.js +1319 -0
  26. package/dist/esm/out/wechaty/puppet.openapi.yaml +74 -72
  27. package/dist/esm/out/wechaty/puppet.swagger.json +100 -98
  28. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +56 -56
  29. package/dist/esm/out/wechaty/puppet_grpc_pb.js +103 -103
  30. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +41 -40
  31. package/dist/esm/out/wechaty/puppet_pb_service.js +25 -24
  32. package/dist/esm/proto/wechaty/puppet/event.proto +2 -0
  33. package/dist/esm/proto/wechaty/puppet/moment.proto +0 -33
  34. package/dist/esm/proto/wechaty/puppet/post.proto +34 -0
  35. package/dist/esm/proto/wechaty/puppet.proto +9 -9
  36. package/dist/esm/src/package-json.js +1 -1
  37. package/dist/esm/tests/puppet-server-impl.js +4 -4
  38. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  39. package/out/wechaty/puppet/event_pb.d.ts +2 -0
  40. package/out/wechaty/puppet/event_pb.js +3 -1
  41. package/out/wechaty/puppet/moment_pb.d.ts +0 -172
  42. package/out/wechaty/puppet/moment_pb.js +87 -1406
  43. package/out/wechaty/puppet/post_pb.d.ts +172 -0
  44. package/out/wechaty/puppet/post_pb.js +1319 -0
  45. package/out/wechaty/puppet.openapi.yaml +74 -72
  46. package/out/wechaty/puppet.swagger.json +100 -98
  47. package/out/wechaty/puppet_grpc_pb.d.ts +56 -56
  48. package/out/wechaty/puppet_grpc_pb.js +103 -103
  49. package/out/wechaty/puppet_pb_service.d.ts +41 -40
  50. package/out/wechaty/puppet_pb_service.js +25 -24
  51. package/package.json +1 -1
  52. package/src/package-json.ts +1 -1
@@ -156,6 +156,178 @@ export namespace PostPayloadServer {
156
156
  }
157
157
  }
158
158
 
159
+ export class PostCommentRequest extends jspb.Message {
160
+ getPostId(): string;
161
+ setPostId(value: string): void;
162
+
163
+ getText(): string;
164
+ setText(value: string): void;
165
+
166
+ getMentionId(): string;
167
+ setMentionId(value: string): void;
168
+
169
+ serializeBinary(): Uint8Array;
170
+ toObject(includeInstance?: boolean): PostCommentRequest.AsObject;
171
+ static toObject(includeInstance: boolean, msg: PostCommentRequest): PostCommentRequest.AsObject;
172
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
173
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
174
+ static serializeBinaryToWriter(message: PostCommentRequest, writer: jspb.BinaryWriter): void;
175
+ static deserializeBinary(bytes: Uint8Array): PostCommentRequest;
176
+ static deserializeBinaryFromReader(message: PostCommentRequest, reader: jspb.BinaryReader): PostCommentRequest;
177
+ }
178
+
179
+ export namespace PostCommentRequest {
180
+ export type AsObject = {
181
+ postId: string,
182
+ text: string,
183
+ mentionId: string,
184
+ }
185
+ }
186
+
187
+ export class PostCommentResponse extends jspb.Message {
188
+ getCommentId(): string;
189
+ setCommentId(value: string): void;
190
+
191
+ serializeBinary(): Uint8Array;
192
+ toObject(includeInstance?: boolean): PostCommentResponse.AsObject;
193
+ static toObject(includeInstance: boolean, msg: PostCommentResponse): PostCommentResponse.AsObject;
194
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
195
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
196
+ static serializeBinaryToWriter(message: PostCommentResponse, writer: jspb.BinaryWriter): void;
197
+ static deserializeBinary(bytes: Uint8Array): PostCommentResponse;
198
+ static deserializeBinaryFromReader(message: PostCommentResponse, reader: jspb.BinaryReader): PostCommentResponse;
199
+ }
200
+
201
+ export namespace PostCommentResponse {
202
+ export type AsObject = {
203
+ commentId: string,
204
+ }
205
+ }
206
+
207
+ export class PostLikeRequest extends jspb.Message {
208
+ getPostId(): string;
209
+ setPostId(value: string): void;
210
+
211
+ serializeBinary(): Uint8Array;
212
+ toObject(includeInstance?: boolean): PostLikeRequest.AsObject;
213
+ static toObject(includeInstance: boolean, msg: PostLikeRequest): PostLikeRequest.AsObject;
214
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
215
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
216
+ static serializeBinaryToWriter(message: PostLikeRequest, writer: jspb.BinaryWriter): void;
217
+ static deserializeBinary(bytes: Uint8Array): PostLikeRequest;
218
+ static deserializeBinaryFromReader(message: PostLikeRequest, reader: jspb.BinaryReader): PostLikeRequest;
219
+ }
220
+
221
+ export namespace PostLikeRequest {
222
+ export type AsObject = {
223
+ postId: string,
224
+ }
225
+ }
226
+
227
+ export class PostLikeResponse extends jspb.Message {
228
+ serializeBinary(): Uint8Array;
229
+ toObject(includeInstance?: boolean): PostLikeResponse.AsObject;
230
+ static toObject(includeInstance: boolean, msg: PostLikeResponse): PostLikeResponse.AsObject;
231
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
232
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
233
+ static serializeBinaryToWriter(message: PostLikeResponse, writer: jspb.BinaryWriter): void;
234
+ static deserializeBinary(bytes: Uint8Array): PostLikeResponse;
235
+ static deserializeBinaryFromReader(message: PostLikeResponse, reader: jspb.BinaryReader): PostLikeResponse;
236
+ }
237
+
238
+ export namespace PostLikeResponse {
239
+ export type AsObject = {
240
+ }
241
+ }
242
+
243
+ export class PostPayloadRequest extends jspb.Message {
244
+ getPostId(): string;
245
+ setPostId(value: string): void;
246
+
247
+ serializeBinary(): Uint8Array;
248
+ toObject(includeInstance?: boolean): PostPayloadRequest.AsObject;
249
+ static toObject(includeInstance: boolean, msg: PostPayloadRequest): PostPayloadRequest.AsObject;
250
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
251
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
252
+ static serializeBinaryToWriter(message: PostPayloadRequest, writer: jspb.BinaryWriter): void;
253
+ static deserializeBinary(bytes: Uint8Array): PostPayloadRequest;
254
+ static deserializeBinaryFromReader(message: PostPayloadRequest, reader: jspb.BinaryReader): PostPayloadRequest;
255
+ }
256
+
257
+ export namespace PostPayloadRequest {
258
+ export type AsObject = {
259
+ postId: string,
260
+ }
261
+ }
262
+
263
+ export class PostPayloadResponse extends jspb.Message {
264
+ hasPost(): boolean;
265
+ clearPost(): void;
266
+ getPost(): PostPayloadServer | undefined;
267
+ setPost(value?: PostPayloadServer): void;
268
+
269
+ serializeBinary(): Uint8Array;
270
+ toObject(includeInstance?: boolean): PostPayloadResponse.AsObject;
271
+ static toObject(includeInstance: boolean, msg: PostPayloadResponse): PostPayloadResponse.AsObject;
272
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
273
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
274
+ static serializeBinaryToWriter(message: PostPayloadResponse, writer: jspb.BinaryWriter): void;
275
+ static deserializeBinary(bytes: Uint8Array): PostPayloadResponse;
276
+ static deserializeBinaryFromReader(message: PostPayloadResponse, reader: jspb.BinaryReader): PostPayloadResponse;
277
+ }
278
+
279
+ export namespace PostPayloadResponse {
280
+ export type AsObject = {
281
+ post?: PostPayloadServer.AsObject,
282
+ }
283
+ }
284
+
285
+ export class PostPayloadSayableRequest extends jspb.Message {
286
+ getPostId(): string;
287
+ setPostId(value: string): void;
288
+
289
+ getSayableId(): string;
290
+ setSayableId(value: string): void;
291
+
292
+ serializeBinary(): Uint8Array;
293
+ toObject(includeInstance?: boolean): PostPayloadSayableRequest.AsObject;
294
+ static toObject(includeInstance: boolean, msg: PostPayloadSayableRequest): PostPayloadSayableRequest.AsObject;
295
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
296
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
297
+ static serializeBinaryToWriter(message: PostPayloadSayableRequest, writer: jspb.BinaryWriter): void;
298
+ static deserializeBinary(bytes: Uint8Array): PostPayloadSayableRequest;
299
+ static deserializeBinaryFromReader(message: PostPayloadSayableRequest, reader: jspb.BinaryReader): PostPayloadSayableRequest;
300
+ }
301
+
302
+ export namespace PostPayloadSayableRequest {
303
+ export type AsObject = {
304
+ postId: string,
305
+ sayableId: string,
306
+ }
307
+ }
308
+
309
+ export class PostPayloadSayableResponse extends jspb.Message {
310
+ hasSayable(): boolean;
311
+ clearSayable(): void;
312
+ getSayable(): PostSayable | undefined;
313
+ setSayable(value?: PostSayable): void;
314
+
315
+ serializeBinary(): Uint8Array;
316
+ toObject(includeInstance?: boolean): PostPayloadSayableResponse.AsObject;
317
+ static toObject(includeInstance: boolean, msg: PostPayloadSayableResponse): PostPayloadSayableResponse.AsObject;
318
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
319
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
320
+ static serializeBinaryToWriter(message: PostPayloadSayableResponse, writer: jspb.BinaryWriter): void;
321
+ static deserializeBinary(bytes: Uint8Array): PostPayloadSayableResponse;
322
+ static deserializeBinaryFromReader(message: PostPayloadSayableResponse, reader: jspb.BinaryReader): PostPayloadSayableResponse;
323
+ }
324
+
325
+ export namespace PostPayloadSayableResponse {
326
+ export type AsObject = {
327
+ sayable?: PostSayable.AsObject,
328
+ }
329
+ }
330
+
159
331
  export interface PostTypeMap {
160
332
  POST_TYPE_UNSPECIFIED: 0;
161
333
  POST_TYPE_MOMENT: 1;