@juzi/wechaty-grpc 1.0.23 → 1.0.25

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 (38) hide show
  1. package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +34 -45
  2. package/dist/cjs/out/wechaty/puppet/post_pb.js +114 -254
  3. package/dist/cjs/out/wechaty/puppet.openapi.yaml +24 -47
  4. package/dist/cjs/out/wechaty/puppet.swagger.json +34 -72
  5. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +14 -31
  6. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +30 -63
  7. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +10 -29
  8. package/dist/cjs/out/wechaty/puppet_pb_service.js +6 -46
  9. package/dist/cjs/proto/wechaty/puppet/post.proto +15 -13
  10. package/dist/cjs/proto/wechaty/puppet.proto +1 -8
  11. package/dist/cjs/src/package-json.js +1 -1
  12. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  13. package/dist/cjs/tests/puppet-server-impl.js +1 -6
  14. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  15. package/dist/esm/out/wechaty/puppet/post_pb.d.ts +34 -45
  16. package/dist/esm/out/wechaty/puppet/post_pb.js +114 -254
  17. package/dist/esm/out/wechaty/puppet.openapi.yaml +24 -47
  18. package/dist/esm/out/wechaty/puppet.swagger.json +34 -72
  19. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +14 -31
  20. package/dist/esm/out/wechaty/puppet_grpc_pb.js +30 -63
  21. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +10 -29
  22. package/dist/esm/out/wechaty/puppet_pb_service.js +6 -46
  23. package/dist/esm/proto/wechaty/puppet/post.proto +15 -13
  24. package/dist/esm/proto/wechaty/puppet.proto +1 -8
  25. package/dist/esm/src/package-json.js +1 -1
  26. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  27. package/dist/esm/tests/puppet-server-impl.js +1 -6
  28. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  29. package/out/wechaty/puppet/post_pb.d.ts +34 -45
  30. package/out/wechaty/puppet/post_pb.js +114 -254
  31. package/out/wechaty/puppet.openapi.yaml +24 -47
  32. package/out/wechaty/puppet.swagger.json +34 -72
  33. package/out/wechaty/puppet_grpc_pb.d.ts +14 -31
  34. package/out/wechaty/puppet_grpc_pb.js +30 -63
  35. package/out/wechaty/puppet_pb_service.d.ts +10 -29
  36. package/out/wechaty/puppet_pb_service.js +6 -46
  37. package/package.json +1 -1
  38. package/src/package-json.ts +1 -1
@@ -146,77 +146,58 @@ 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>,
172
+ type: TapTypeMap[keyof TapTypeMap],
173
+ tap: boolean,
176
174
  }
177
175
  }
178
176
 
179
- export class PostCommentResponse extends jspb.Message {
180
- getCommentId(): string;
181
- setCommentId(value: string): void;
177
+ export class PostTapResponse extends jspb.Message {
178
+ getTap(): boolean;
179
+ setTap(value: boolean): void;
182
180
 
183
181
  serializeBinary(): Uint8Array;
184
- toObject(includeInstance?: boolean): PostCommentResponse.AsObject;
185
- static toObject(includeInstance: boolean, msg: PostCommentResponse): PostCommentResponse.AsObject;
182
+ toObject(includeInstance?: boolean): PostTapResponse.AsObject;
183
+ static toObject(includeInstance: boolean, msg: PostTapResponse): PostTapResponse.AsObject;
186
184
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
187
185
  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;
186
+ static serializeBinaryToWriter(message: PostTapResponse, writer: jspb.BinaryWriter): void;
187
+ static deserializeBinary(bytes: Uint8Array): PostTapResponse;
188
+ static deserializeBinaryFromReader(message: PostTapResponse, reader: jspb.BinaryReader): PostTapResponse;
191
189
  }
192
190
 
193
- export namespace PostCommentResponse {
191
+ export namespace PostTapResponse {
194
192
  export type AsObject = {
195
- commentId: string,
196
- }
197
- }
198
-
199
- export class PostLikeRequest extends jspb.Message {
200
- getPostId(): string;
201
- setPostId(value: string): void;
202
-
203
- serializeBinary(): Uint8Array;
204
- toObject(includeInstance?: boolean): PostLikeRequest.AsObject;
205
- static toObject(includeInstance: boolean, msg: PostLikeRequest): PostLikeRequest.AsObject;
206
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
207
- 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;
211
- }
212
-
213
- export namespace PostLikeRequest {
214
- export type AsObject = {
215
- postId: string,
193
+ tap: boolean,
216
194
  }
217
195
  }
218
196
 
219
197
  export class PostLikeResponse extends jspb.Message {
198
+ getTapId(): string;
199
+ setTapId(value: string): void;
200
+
220
201
  serializeBinary(): Uint8Array;
221
202
  toObject(includeInstance?: boolean): PostLikeResponse.AsObject;
222
203
  static toObject(includeInstance: boolean, msg: PostLikeResponse): PostLikeResponse.AsObject;
@@ -229,6 +210,7 @@ export class PostLikeResponse extends jspb.Message {
229
210
 
230
211
  export namespace PostLikeResponse {
231
212
  export type AsObject = {
213
+ tapId: string,
232
214
  }
233
215
  }
234
216
 
@@ -338,3 +320,10 @@ export interface SayableTypeMap {
338
320
 
339
321
  export const SayableType: SayableTypeMap;
340
322
 
323
+ export interface TapTypeMap {
324
+ TAP_TYPE_UNSPECIFIED: 0;
325
+ TAP_TYPE_LIKE: 1;
326
+ }
327
+
328
+ export const TapType: TapTypeMap;
329
+