@juzi/wechaty-grpc 1.0.18 → 1.0.19
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/moment_pb.d.ts +0 -172
- package/dist/cjs/out/wechaty/puppet/moment_pb.js +87 -1406
- package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +172 -0
- package/dist/cjs/out/wechaty/puppet/post_pb.js +1319 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +72 -72
- package/dist/cjs/out/wechaty/puppet.swagger.json +97 -97
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +56 -56
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +103 -103
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +41 -40
- package/dist/cjs/out/wechaty/puppet_pb_service.js +25 -24
- package/dist/cjs/proto/wechaty/puppet/moment.proto +0 -33
- package/dist/cjs/proto/wechaty/puppet/post.proto +34 -0
- package/dist/cjs/proto/wechaty/puppet.proto +9 -9
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +4 -4
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +0 -172
- package/dist/esm/out/wechaty/puppet/moment_pb.js +87 -1406
- package/dist/esm/out/wechaty/puppet/post_pb.d.ts +172 -0
- package/dist/esm/out/wechaty/puppet/post_pb.js +1319 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +72 -72
- package/dist/esm/out/wechaty/puppet.swagger.json +97 -97
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +56 -56
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +103 -103
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +41 -40
- package/dist/esm/out/wechaty/puppet_pb_service.js +25 -24
- package/dist/esm/proto/wechaty/puppet/moment.proto +0 -33
- package/dist/esm/proto/wechaty/puppet/post.proto +34 -0
- package/dist/esm/proto/wechaty/puppet.proto +9 -9
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.js +4 -4
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/moment_pb.d.ts +0 -172
- package/out/wechaty/puppet/moment_pb.js +87 -1406
- package/out/wechaty/puppet/post_pb.d.ts +172 -0
- package/out/wechaty/puppet/post_pb.js +1319 -0
- package/out/wechaty/puppet.openapi.yaml +72 -72
- package/out/wechaty/puppet.swagger.json +97 -97
- package/out/wechaty/puppet_grpc_pb.d.ts +56 -56
- package/out/wechaty/puppet_grpc_pb.js +103 -103
- package/out/wechaty/puppet_pb_service.d.ts +41 -40
- package/out/wechaty/puppet_pb_service.js +25 -24
- package/package.json +1 -1
- 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;
|