@juzi/wechaty-grpc 1.0.24 → 1.0.26

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/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +13 -0
  2. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.js +118 -2
  3. package/dist/cjs/out/wechaty/puppet/conversation_grpc_pb.js +1 -0
  4. package/dist/cjs/out/wechaty/puppet/conversation_pb.d.ts +41 -0
  5. package/dist/cjs/out/wechaty/puppet/conversation_pb.js +293 -0
  6. package/dist/cjs/out/wechaty/puppet/conversation_pb_service.d.ts +3 -0
  7. package/dist/cjs/out/wechaty/puppet/conversation_pb_service.js +3 -0
  8. package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +30 -45
  9. package/dist/cjs/out/wechaty/puppet/post_pb.js +92 -261
  10. package/dist/cjs/out/wechaty/puppet.openapi.yaml +52 -50
  11. package/dist/cjs/out/wechaty/puppet.swagger.json +77 -77
  12. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +32 -31
  13. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +68 -63
  14. package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
  15. package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
  16. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +30 -29
  17. package/dist/cjs/out/wechaty/puppet_pb_service.js +47 -46
  18. package/dist/cjs/proto/wechaty/puppet/conversation.proto +12 -0
  19. package/dist/cjs/proto/wechaty/puppet/post.proto +14 -13
  20. package/dist/cjs/proto/wechaty/puppet.proto +14 -8
  21. package/dist/cjs/src/package-json.js +1 -1
  22. package/dist/cjs/tests/puppet-server-impl.js +6 -6
  23. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  24. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +13 -0
  25. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.js +118 -2
  26. package/dist/esm/out/wechaty/puppet/conversation_grpc_pb.js +1 -0
  27. package/dist/esm/out/wechaty/puppet/conversation_pb.d.ts +41 -0
  28. package/dist/esm/out/wechaty/puppet/conversation_pb.js +293 -0
  29. package/dist/esm/out/wechaty/puppet/conversation_pb_service.d.ts +3 -0
  30. package/dist/esm/out/wechaty/puppet/conversation_pb_service.js +3 -0
  31. package/dist/esm/out/wechaty/puppet/post_pb.d.ts +30 -45
  32. package/dist/esm/out/wechaty/puppet/post_pb.js +92 -261
  33. package/dist/esm/out/wechaty/puppet.openapi.yaml +52 -50
  34. package/dist/esm/out/wechaty/puppet.swagger.json +77 -77
  35. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +32 -31
  36. package/dist/esm/out/wechaty/puppet_grpc_pb.js +68 -63
  37. package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
  38. package/dist/esm/out/wechaty/puppet_pb.js +2 -0
  39. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +30 -29
  40. package/dist/esm/out/wechaty/puppet_pb_service.js +47 -46
  41. package/dist/esm/proto/wechaty/puppet/conversation.proto +12 -0
  42. package/dist/esm/proto/wechaty/puppet/post.proto +14 -13
  43. package/dist/esm/proto/wechaty/puppet.proto +14 -8
  44. package/dist/esm/src/package-json.js +1 -1
  45. package/dist/esm/tests/puppet-server-impl.js +6 -6
  46. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  47. package/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +13 -0
  48. package/out/protoc-gen-openapiv2/options/openapiv2_pb.js +118 -2
  49. package/out/wechaty/puppet/conversation_grpc_pb.js +1 -0
  50. package/out/wechaty/puppet/conversation_pb.d.ts +41 -0
  51. package/out/wechaty/puppet/conversation_pb.js +293 -0
  52. package/out/wechaty/puppet/conversation_pb_service.d.ts +3 -0
  53. package/out/wechaty/puppet/conversation_pb_service.js +3 -0
  54. package/out/wechaty/puppet/post_pb.d.ts +30 -45
  55. package/out/wechaty/puppet/post_pb.js +92 -261
  56. package/out/wechaty/puppet.openapi.yaml +52 -50
  57. package/out/wechaty/puppet.swagger.json +77 -77
  58. package/out/wechaty/puppet_grpc_pb.d.ts +32 -31
  59. package/out/wechaty/puppet_grpc_pb.js +68 -63
  60. package/out/wechaty/puppet_pb.d.ts +1 -0
  61. package/out/wechaty/puppet_pb.js +2 -0
  62. package/out/wechaty/puppet_pb_service.d.ts +30 -29
  63. package/out/wechaty/puppet_pb_service.js +47 -46
  64. package/package.json +1 -1
  65. package/src/package-json.ts +1 -1
@@ -146,73 +146,51 @@ export namespace PostPayloadServer {
146
146
  }
147
147
  }
148
148
 
149
- export class PostCommentRequest extends jspb.Message {
149
+ export class PostTapRequest extends jspb.Message {
150
150
  getPostId(): string;
151
151
  setPostId(value: string): void;
152
152
 
153
- getText(): string;
154
- setText(value: string): void;
153
+ getType(): TapTypeMap[keyof TapTypeMap];
154
+ setType(value: TapTypeMap[keyof TapTypeMap]): void;
155
155
 
156
- clearMentionIdListList(): void;
157
- getMentionIdListList(): Array<string>;
158
- setMentionIdListList(value: Array<string>): void;
159
- addMentionIdList(value: string, index?: number): string;
156
+ getTap(): boolean;
157
+ setTap(value: boolean): void;
160
158
 
161
159
  serializeBinary(): Uint8Array;
162
- toObject(includeInstance?: boolean): PostCommentRequest.AsObject;
163
- static toObject(includeInstance: boolean, msg: PostCommentRequest): PostCommentRequest.AsObject;
160
+ toObject(includeInstance?: boolean): PostTapRequest.AsObject;
161
+ static toObject(includeInstance: boolean, msg: PostTapRequest): PostTapRequest.AsObject;
164
162
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
165
163
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
166
- static serializeBinaryToWriter(message: PostCommentRequest, writer: jspb.BinaryWriter): void;
167
- static deserializeBinary(bytes: Uint8Array): PostCommentRequest;
168
- static deserializeBinaryFromReader(message: PostCommentRequest, reader: jspb.BinaryReader): PostCommentRequest;
164
+ static serializeBinaryToWriter(message: PostTapRequest, writer: jspb.BinaryWriter): void;
165
+ static deserializeBinary(bytes: Uint8Array): PostTapRequest;
166
+ static deserializeBinaryFromReader(message: PostTapRequest, reader: jspb.BinaryReader): PostTapRequest;
169
167
  }
170
168
 
171
- export namespace PostCommentRequest {
169
+ export namespace PostTapRequest {
172
170
  export type AsObject = {
173
171
  postId: string,
174
- text: string,
175
- mentionIdListList: Array<string>,
176
- }
177
- }
178
-
179
- export class PostCommentResponse extends jspb.Message {
180
- getCommentId(): string;
181
- setCommentId(value: string): void;
182
-
183
- serializeBinary(): Uint8Array;
184
- toObject(includeInstance?: boolean): PostCommentResponse.AsObject;
185
- static toObject(includeInstance: boolean, msg: PostCommentResponse): PostCommentResponse.AsObject;
186
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
187
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
188
- static serializeBinaryToWriter(message: PostCommentResponse, writer: jspb.BinaryWriter): void;
189
- static deserializeBinary(bytes: Uint8Array): PostCommentResponse;
190
- static deserializeBinaryFromReader(message: PostCommentResponse, reader: jspb.BinaryReader): PostCommentResponse;
191
- }
192
-
193
- export namespace PostCommentResponse {
194
- export type AsObject = {
195
- commentId: string,
172
+ type: TapTypeMap[keyof TapTypeMap],
173
+ tap: boolean,
196
174
  }
197
175
  }
198
176
 
199
- export class PostLikeRequest extends jspb.Message {
200
- getPostId(): string;
201
- setPostId(value: string): void;
177
+ export class PostTapResponse extends jspb.Message {
178
+ getTap(): boolean;
179
+ setTap(value: boolean): void;
202
180
 
203
181
  serializeBinary(): Uint8Array;
204
- toObject(includeInstance?: boolean): PostLikeRequest.AsObject;
205
- static toObject(includeInstance: boolean, msg: PostLikeRequest): PostLikeRequest.AsObject;
182
+ toObject(includeInstance?: boolean): PostTapResponse.AsObject;
183
+ static toObject(includeInstance: boolean, msg: PostTapResponse): PostTapResponse.AsObject;
206
184
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
207
185
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
208
- static serializeBinaryToWriter(message: PostLikeRequest, writer: jspb.BinaryWriter): void;
209
- static deserializeBinary(bytes: Uint8Array): PostLikeRequest;
210
- static deserializeBinaryFromReader(message: PostLikeRequest, reader: jspb.BinaryReader): PostLikeRequest;
186
+ static serializeBinaryToWriter(message: PostTapResponse, writer: jspb.BinaryWriter): void;
187
+ static deserializeBinary(bytes: Uint8Array): PostTapResponse;
188
+ static deserializeBinaryFromReader(message: PostTapResponse, reader: jspb.BinaryReader): PostTapResponse;
211
189
  }
212
190
 
213
- export namespace PostLikeRequest {
191
+ export namespace PostTapResponse {
214
192
  export type AsObject = {
215
- postId: string,
193
+ tap: boolean,
216
194
  }
217
195
  }
218
196
 
@@ -342,3 +320,10 @@ export interface SayableTypeMap {
342
320
 
343
321
  export const SayableType: SayableTypeMap;
344
322
 
323
+ export interface TapTypeMap {
324
+ TAP_TYPE_UNSPECIFIED: 0;
325
+ TAP_TYPE_LIKE: 1;
326
+ }
327
+
328
+ export const TapType: TapTypeMap;
329
+