@juzi/wechaty-grpc 1.0.17 → 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.
Files changed (98) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs +2 -0
  2. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +2 -0
  3. package/dist/cjs/out/wechaty/puppet/moment_grpc_pb.js +1 -0
  4. package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +128 -0
  5. package/dist/cjs/out/wechaty/puppet/moment_pb.js +953 -0
  6. package/dist/cjs/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
  7. package/dist/cjs/out/wechaty/puppet/moment_pb_service.js +3 -0
  8. package/dist/cjs/out/wechaty/puppet/post_grpc_pb.js +1 -0
  9. package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +348 -0
  10. package/dist/cjs/out/wechaty/puppet/post_pb.js +2508 -0
  11. package/dist/cjs/out/wechaty/puppet/post_pb_service.d.ts +3 -0
  12. package/dist/cjs/out/wechaty/puppet/post_pb_service.js +3 -0
  13. package/dist/cjs/out/wechaty/puppet.openapi.yaml +286 -1
  14. package/dist/cjs/out/wechaty/puppet.swagger.json +444 -1
  15. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +121 -0
  16. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +238 -0
  17. package/dist/cjs/out/wechaty/puppet_pb.d.ts +2 -0
  18. package/dist/cjs/out/wechaty/puppet_pb.js +4 -0
  19. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +135 -0
  20. package/dist/cjs/out/wechaty/puppet_pb_service.js +282 -0
  21. package/dist/cjs/proto/wechaty/puppet/channel.proto +8 -8
  22. package/dist/cjs/proto/wechaty/puppet/contact.proto +29 -29
  23. package/dist/cjs/proto/wechaty/puppet/friendship.proto +14 -14
  24. package/dist/cjs/proto/wechaty/puppet/location.proto +5 -5
  25. package/dist/cjs/proto/wechaty/puppet/message.proto +42 -43
  26. package/dist/cjs/proto/wechaty/puppet/mini-program.proto +9 -9
  27. package/dist/cjs/proto/wechaty/puppet/moment.proto +33 -0
  28. package/dist/cjs/proto/wechaty/puppet/post.proto +91 -0
  29. package/dist/cjs/proto/wechaty/puppet/room-invitation.proto +8 -8
  30. package/dist/cjs/proto/wechaty/puppet/room-member.proto +4 -4
  31. package/dist/cjs/proto/wechaty/puppet/room.proto +11 -11
  32. package/dist/cjs/proto/wechaty/puppet/tag.proto +6 -6
  33. package/dist/cjs/proto/wechaty/puppet/url-link.proto +4 -4
  34. package/dist/cjs/proto/wechaty/puppet.proto +58 -0
  35. package/dist/cjs/src/package-json.js +2 -2
  36. package/dist/cjs/src/package-json.js.map +1 -1
  37. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  38. package/dist/cjs/tests/puppet-server-impl.js +35 -0
  39. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  40. package/dist/esm/commonjs/generated/puppet.cjs +2 -0
  41. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +2 -0
  42. package/dist/esm/out/wechaty/puppet/moment_grpc_pb.js +1 -0
  43. package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +128 -0
  44. package/dist/esm/out/wechaty/puppet/moment_pb.js +953 -0
  45. package/dist/esm/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
  46. package/dist/esm/out/wechaty/puppet/moment_pb_service.js +3 -0
  47. package/dist/esm/out/wechaty/puppet/post_grpc_pb.js +1 -0
  48. package/dist/esm/out/wechaty/puppet/post_pb.d.ts +348 -0
  49. package/dist/esm/out/wechaty/puppet/post_pb.js +2508 -0
  50. package/dist/esm/out/wechaty/puppet/post_pb_service.d.ts +3 -0
  51. package/dist/esm/out/wechaty/puppet/post_pb_service.js +3 -0
  52. package/dist/esm/out/wechaty/puppet.openapi.yaml +286 -1
  53. package/dist/esm/out/wechaty/puppet.swagger.json +444 -1
  54. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +121 -0
  55. package/dist/esm/out/wechaty/puppet_grpc_pb.js +238 -0
  56. package/dist/esm/out/wechaty/puppet_pb.d.ts +2 -0
  57. package/dist/esm/out/wechaty/puppet_pb.js +4 -0
  58. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +135 -0
  59. package/dist/esm/out/wechaty/puppet_pb_service.js +282 -0
  60. package/dist/esm/proto/wechaty/puppet/channel.proto +8 -8
  61. package/dist/esm/proto/wechaty/puppet/contact.proto +29 -29
  62. package/dist/esm/proto/wechaty/puppet/friendship.proto +14 -14
  63. package/dist/esm/proto/wechaty/puppet/location.proto +5 -5
  64. package/dist/esm/proto/wechaty/puppet/message.proto +42 -43
  65. package/dist/esm/proto/wechaty/puppet/mini-program.proto +9 -9
  66. package/dist/esm/proto/wechaty/puppet/moment.proto +33 -0
  67. package/dist/esm/proto/wechaty/puppet/post.proto +91 -0
  68. package/dist/esm/proto/wechaty/puppet/room-invitation.proto +8 -8
  69. package/dist/esm/proto/wechaty/puppet/room-member.proto +4 -4
  70. package/dist/esm/proto/wechaty/puppet/room.proto +11 -11
  71. package/dist/esm/proto/wechaty/puppet/tag.proto +6 -6
  72. package/dist/esm/proto/wechaty/puppet/url-link.proto +4 -4
  73. package/dist/esm/proto/wechaty/puppet.proto +58 -0
  74. package/dist/esm/src/package-json.js +2 -2
  75. package/dist/esm/src/package-json.js.map +1 -1
  76. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  77. package/dist/esm/tests/puppet-server-impl.js +35 -0
  78. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  79. package/out/wechaty/puppet/moment_grpc_pb.js +1 -0
  80. package/out/wechaty/puppet/moment_pb.d.ts +128 -0
  81. package/out/wechaty/puppet/moment_pb.js +953 -0
  82. package/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
  83. package/out/wechaty/puppet/moment_pb_service.js +3 -0
  84. package/out/wechaty/puppet/post_grpc_pb.js +1 -0
  85. package/out/wechaty/puppet/post_pb.d.ts +348 -0
  86. package/out/wechaty/puppet/post_pb.js +2508 -0
  87. package/out/wechaty/puppet/post_pb_service.d.ts +3 -0
  88. package/out/wechaty/puppet/post_pb_service.js +3 -0
  89. package/out/wechaty/puppet.openapi.yaml +286 -1
  90. package/out/wechaty/puppet.swagger.json +444 -1
  91. package/out/wechaty/puppet_grpc_pb.d.ts +121 -0
  92. package/out/wechaty/puppet_grpc_pb.js +238 -0
  93. package/out/wechaty/puppet_pb.d.ts +2 -0
  94. package/out/wechaty/puppet_pb.js +4 -0
  95. package/out/wechaty/puppet_pb_service.d.ts +135 -0
  96. package/out/wechaty/puppet_pb_service.js +282 -0
  97. package/package.json +1 -1
  98. package/src/package-json.ts +2 -2
@@ -0,0 +1,3 @@
1
+ // package: wechaty.puppet
2
+ // file: wechaty/puppet/moment.proto
3
+
@@ -0,0 +1,3 @@
1
+ // package: wechaty.puppet
2
+ // file: wechaty/puppet/moment.proto
3
+
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,348 @@
1
+ // package: wechaty.puppet
2
+ // file: wechaty/puppet/post.proto
3
+
4
+ import * as jspb from "google-protobuf";
5
+ import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
6
+ import * as wechaty_puppet_url_link_pb from "../../wechaty/puppet/url-link_pb";
7
+ import * as wechaty_puppet_channel_pb from "../../wechaty/puppet/channel_pb";
8
+
9
+ export class PostSayable extends jspb.Message {
10
+ getType(): SayableTypeMap[keyof SayableTypeMap];
11
+ setType(value: SayableTypeMap[keyof SayableTypeMap]): void;
12
+
13
+ hasId(): boolean;
14
+ clearId(): void;
15
+ getId(): string;
16
+ setId(value: string): void;
17
+
18
+ hasText(): boolean;
19
+ clearText(): void;
20
+ getText(): string;
21
+ setText(value: string): void;
22
+
23
+ hasFileBox(): boolean;
24
+ clearFileBox(): void;
25
+ getFileBox(): string;
26
+ setFileBox(value: string): void;
27
+
28
+ hasUrlLink(): boolean;
29
+ clearUrlLink(): void;
30
+ getUrlLink(): wechaty_puppet_url_link_pb.UrlLinkPayload | undefined;
31
+ setUrlLink(value?: wechaty_puppet_url_link_pb.UrlLinkPayload): void;
32
+
33
+ hasCahnel(): boolean;
34
+ clearCahnel(): void;
35
+ getCahnel(): wechaty_puppet_channel_pb.ChannelPayload | undefined;
36
+ setCahnel(value?: wechaty_puppet_channel_pb.ChannelPayload): void;
37
+
38
+ getSayablesCase(): PostSayable.SayablesCase;
39
+ serializeBinary(): Uint8Array;
40
+ toObject(includeInstance?: boolean): PostSayable.AsObject;
41
+ static toObject(includeInstance: boolean, msg: PostSayable): PostSayable.AsObject;
42
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
43
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
44
+ static serializeBinaryToWriter(message: PostSayable, writer: jspb.BinaryWriter): void;
45
+ static deserializeBinary(bytes: Uint8Array): PostSayable;
46
+ static deserializeBinaryFromReader(message: PostSayable, reader: jspb.BinaryReader): PostSayable;
47
+ }
48
+
49
+ export namespace PostSayable {
50
+ export type AsObject = {
51
+ type: SayableTypeMap[keyof SayableTypeMap],
52
+ id: string,
53
+ text: string,
54
+ fileBox: string,
55
+ urlLink?: wechaty_puppet_url_link_pb.UrlLinkPayload.AsObject,
56
+ cahnel?: wechaty_puppet_channel_pb.ChannelPayload.AsObject,
57
+ }
58
+
59
+ export enum SayablesCase {
60
+ SAYABLES_NOT_SET = 0,
61
+ ID = 2,
62
+ TEXT = 3,
63
+ FILE_BOX = 4,
64
+ URL_LINK = 5,
65
+ CAHNEL = 6,
66
+ }
67
+ }
68
+
69
+ export class PostPayloadClient extends jspb.Message {
70
+ getParentId(): string;
71
+ setParentId(value: string): void;
72
+
73
+ getRootId(): string;
74
+ setRootId(value: string): void;
75
+
76
+ getType(): PostTypeMap[keyof PostTypeMap];
77
+ setType(value: PostTypeMap[keyof PostTypeMap]): void;
78
+
79
+ clearSayableListList(): void;
80
+ getSayableListList(): Array<PostSayable>;
81
+ setSayableListList(value: Array<PostSayable>): void;
82
+ addSayableList(value?: PostSayable, index?: number): PostSayable;
83
+
84
+ serializeBinary(): Uint8Array;
85
+ toObject(includeInstance?: boolean): PostPayloadClient.AsObject;
86
+ static toObject(includeInstance: boolean, msg: PostPayloadClient): PostPayloadClient.AsObject;
87
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
88
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
89
+ static serializeBinaryToWriter(message: PostPayloadClient, writer: jspb.BinaryWriter): void;
90
+ static deserializeBinary(bytes: Uint8Array): PostPayloadClient;
91
+ static deserializeBinaryFromReader(message: PostPayloadClient, reader: jspb.BinaryReader): PostPayloadClient;
92
+ }
93
+
94
+ export namespace PostPayloadClient {
95
+ export type AsObject = {
96
+ parentId: string,
97
+ rootId: string,
98
+ type: PostTypeMap[keyof PostTypeMap],
99
+ sayableListList: Array<PostSayable.AsObject>,
100
+ }
101
+ }
102
+
103
+ export class PostPayloadServer extends jspb.Message {
104
+ getParentId(): string;
105
+ setParentId(value: string): void;
106
+
107
+ getRootId(): string;
108
+ setRootId(value: string): void;
109
+
110
+ getType(): PostTypeMap[keyof PostTypeMap];
111
+ setType(value: PostTypeMap[keyof PostTypeMap]): void;
112
+
113
+ clearSayableListList(): void;
114
+ getSayableListList(): Array<PostSayable>;
115
+ setSayableListList(value: Array<PostSayable>): void;
116
+ addSayableList(value?: PostSayable, index?: number): PostSayable;
117
+
118
+ getContactId(): string;
119
+ setContactId(value: string): void;
120
+
121
+ hasTimestamp(): boolean;
122
+ clearTimestamp(): void;
123
+ getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
124
+ setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void;
125
+
126
+ getChildren(): number;
127
+ setChildren(value: number): void;
128
+
129
+ getDescendant(): number;
130
+ setDescendant(value: number): void;
131
+
132
+ getLike(): number;
133
+ setLike(value: number): void;
134
+
135
+ serializeBinary(): Uint8Array;
136
+ toObject(includeInstance?: boolean): PostPayloadServer.AsObject;
137
+ static toObject(includeInstance: boolean, msg: PostPayloadServer): PostPayloadServer.AsObject;
138
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
139
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
140
+ static serializeBinaryToWriter(message: PostPayloadServer, writer: jspb.BinaryWriter): void;
141
+ static deserializeBinary(bytes: Uint8Array): PostPayloadServer;
142
+ static deserializeBinaryFromReader(message: PostPayloadServer, reader: jspb.BinaryReader): PostPayloadServer;
143
+ }
144
+
145
+ export namespace PostPayloadServer {
146
+ export type AsObject = {
147
+ parentId: string,
148
+ rootId: string,
149
+ type: PostTypeMap[keyof PostTypeMap],
150
+ sayableListList: Array<PostSayable.AsObject>,
151
+ contactId: string,
152
+ timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
153
+ children: number,
154
+ descendant: number,
155
+ like: number,
156
+ }
157
+ }
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
+
331
+ export interface PostTypeMap {
332
+ POST_TYPE_UNSPECIFIED: 0;
333
+ POST_TYPE_MOMENT: 1;
334
+ POST_TYPE_CHANNEL: 2;
335
+ POST_TYPE_MESSAGE: 3;
336
+ }
337
+
338
+ export const PostType: PostTypeMap;
339
+
340
+ export interface SayableTypeMap {
341
+ SAYABLE_TYPE_TEXT: 0;
342
+ SAYABLE_TYPE_FILE: 1;
343
+ SAYABLE_TYPE_URL: 2;
344
+ SAYABLE_TYPE_CHANNEL: 3;
345
+ }
346
+
347
+ export const SayableType: SayableTypeMap;
348
+