@headspace/protos-events 0.0.1-y.0 → 0.0.1-y.2
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/community.proto +13 -0
- package/lib/index.d.ts +586 -390
- package/lib/index.js +1373 -905
- package/package.json +3 -3
- package/pingpong.proto +0 -2
- package/subscription.proto +0 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,392 +1,588 @@
|
|
|
1
1
|
import * as $protobuf from "protobufjs";
|
|
2
|
-
/**
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
2
|
+
/** Properties of a FamilyMemberAdded. */
|
|
3
|
+
export interface IFamilyMemberAdded {
|
|
4
|
+
|
|
5
|
+
/** FamilyMemberAdded timestamp */
|
|
6
|
+
timestamp?: (number|Long|null);
|
|
7
|
+
|
|
8
|
+
/** FamilyMemberAdded userGroupEntryId */
|
|
9
|
+
userGroupEntryId?: (number|null);
|
|
10
|
+
|
|
11
|
+
/** FamilyMemberAdded userId */
|
|
12
|
+
userId?: (string|null);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Represents a FamilyMemberAdded. */
|
|
16
|
+
export class FamilyMemberAdded implements IFamilyMemberAdded {
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Constructs a new FamilyMemberAdded.
|
|
20
|
+
* @param [properties] Properties to set
|
|
21
|
+
*/
|
|
22
|
+
constructor(properties?: IFamilyMemberAdded);
|
|
23
|
+
|
|
24
|
+
/** FamilyMemberAdded timestamp. */
|
|
25
|
+
public timestamp: (number|Long);
|
|
26
|
+
|
|
27
|
+
/** FamilyMemberAdded userGroupEntryId. */
|
|
28
|
+
public userGroupEntryId: number;
|
|
29
|
+
|
|
30
|
+
/** FamilyMemberAdded userId. */
|
|
31
|
+
public userId: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new FamilyMemberAdded instance using the specified properties.
|
|
35
|
+
* @param [properties] Properties to set
|
|
36
|
+
* @returns FamilyMemberAdded instance
|
|
37
|
+
*/
|
|
38
|
+
public static create(properties?: IFamilyMemberAdded): FamilyMemberAdded;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Encodes the specified FamilyMemberAdded message. Does not implicitly {@link FamilyMemberAdded.verify|verify} messages.
|
|
42
|
+
* @param message FamilyMemberAdded message or plain object to encode
|
|
43
|
+
* @param [writer] Writer to encode to
|
|
44
|
+
* @returns Writer
|
|
45
|
+
*/
|
|
46
|
+
public static encode(message: IFamilyMemberAdded, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Encodes the specified FamilyMemberAdded message, length delimited. Does not implicitly {@link FamilyMemberAdded.verify|verify} messages.
|
|
50
|
+
* @param message FamilyMemberAdded message or plain object to encode
|
|
51
|
+
* @param [writer] Writer to encode to
|
|
52
|
+
* @returns Writer
|
|
53
|
+
*/
|
|
54
|
+
public static encodeDelimited(message: IFamilyMemberAdded, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Decodes a FamilyMemberAdded message from the specified reader or buffer.
|
|
58
|
+
* @param reader Reader or buffer to decode from
|
|
59
|
+
* @param [length] Message length if known beforehand
|
|
60
|
+
* @returns FamilyMemberAdded
|
|
61
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
62
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
63
|
+
*/
|
|
64
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FamilyMemberAdded;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Decodes a FamilyMemberAdded message from the specified reader or buffer, length delimited.
|
|
68
|
+
* @param reader Reader or buffer to decode from
|
|
69
|
+
* @returns FamilyMemberAdded
|
|
70
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
72
|
+
*/
|
|
73
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FamilyMemberAdded;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Verifies a FamilyMemberAdded message.
|
|
77
|
+
* @param message Plain object to verify
|
|
78
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
79
|
+
*/
|
|
80
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Creates a FamilyMemberAdded message from a plain object. Also converts values to their respective internal types.
|
|
84
|
+
* @param object Plain object
|
|
85
|
+
* @returns FamilyMemberAdded
|
|
86
|
+
*/
|
|
87
|
+
public static fromObject(object: { [k: string]: any }): FamilyMemberAdded;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Creates a plain object from a FamilyMemberAdded message. Also converts values to other types if specified.
|
|
91
|
+
* @param message FamilyMemberAdded
|
|
92
|
+
* @param [options] Conversion options
|
|
93
|
+
* @returns Plain object
|
|
94
|
+
*/
|
|
95
|
+
public static toObject(message: FamilyMemberAdded, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Converts this FamilyMemberAdded to JSON.
|
|
99
|
+
* @returns JSON object
|
|
100
|
+
*/
|
|
101
|
+
public toJSON(): { [k: string]: any };
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/** Properties of a FamilyMemberRemoved. */
|
|
105
|
+
export interface IFamilyMemberRemoved {
|
|
106
|
+
|
|
107
|
+
/** FamilyMemberRemoved timestamp */
|
|
108
|
+
timestamp?: (number|Long|null);
|
|
109
|
+
|
|
110
|
+
/** FamilyMemberRemoved userGroupEntryId */
|
|
111
|
+
userGroupEntryId?: (number|null);
|
|
112
|
+
|
|
113
|
+
/** FamilyMemberRemoved userId */
|
|
114
|
+
userId?: (string|null);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** Represents a FamilyMemberRemoved. */
|
|
118
|
+
export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Constructs a new FamilyMemberRemoved.
|
|
122
|
+
* @param [properties] Properties to set
|
|
123
|
+
*/
|
|
124
|
+
constructor(properties?: IFamilyMemberRemoved);
|
|
125
|
+
|
|
126
|
+
/** FamilyMemberRemoved timestamp. */
|
|
127
|
+
public timestamp: (number|Long);
|
|
128
|
+
|
|
129
|
+
/** FamilyMemberRemoved userGroupEntryId. */
|
|
130
|
+
public userGroupEntryId: number;
|
|
131
|
+
|
|
132
|
+
/** FamilyMemberRemoved userId. */
|
|
133
|
+
public userId: string;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Creates a new FamilyMemberRemoved instance using the specified properties.
|
|
137
|
+
* @param [properties] Properties to set
|
|
138
|
+
* @returns FamilyMemberRemoved instance
|
|
139
|
+
*/
|
|
140
|
+
public static create(properties?: IFamilyMemberRemoved): FamilyMemberRemoved;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Encodes the specified FamilyMemberRemoved message. Does not implicitly {@link FamilyMemberRemoved.verify|verify} messages.
|
|
144
|
+
* @param message FamilyMemberRemoved message or plain object to encode
|
|
145
|
+
* @param [writer] Writer to encode to
|
|
146
|
+
* @returns Writer
|
|
147
|
+
*/
|
|
148
|
+
public static encode(message: IFamilyMemberRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Encodes the specified FamilyMemberRemoved message, length delimited. Does not implicitly {@link FamilyMemberRemoved.verify|verify} messages.
|
|
152
|
+
* @param message FamilyMemberRemoved message or plain object to encode
|
|
153
|
+
* @param [writer] Writer to encode to
|
|
154
|
+
* @returns Writer
|
|
155
|
+
*/
|
|
156
|
+
public static encodeDelimited(message: IFamilyMemberRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Decodes a FamilyMemberRemoved message from the specified reader or buffer.
|
|
160
|
+
* @param reader Reader or buffer to decode from
|
|
161
|
+
* @param [length] Message length if known beforehand
|
|
162
|
+
* @returns FamilyMemberRemoved
|
|
163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
165
|
+
*/
|
|
166
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FamilyMemberRemoved;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Decodes a FamilyMemberRemoved message from the specified reader or buffer, length delimited.
|
|
170
|
+
* @param reader Reader or buffer to decode from
|
|
171
|
+
* @returns FamilyMemberRemoved
|
|
172
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
173
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
174
|
+
*/
|
|
175
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FamilyMemberRemoved;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Verifies a FamilyMemberRemoved message.
|
|
179
|
+
* @param message Plain object to verify
|
|
180
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
181
|
+
*/
|
|
182
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Creates a FamilyMemberRemoved message from a plain object. Also converts values to their respective internal types.
|
|
186
|
+
* @param object Plain object
|
|
187
|
+
* @returns FamilyMemberRemoved
|
|
188
|
+
*/
|
|
189
|
+
public static fromObject(object: { [k: string]: any }): FamilyMemberRemoved;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Creates a plain object from a FamilyMemberRemoved message. Also converts values to other types if specified.
|
|
193
|
+
* @param message FamilyMemberRemoved
|
|
194
|
+
* @param [options] Conversion options
|
|
195
|
+
* @returns Plain object
|
|
196
|
+
*/
|
|
197
|
+
public static toObject(message: FamilyMemberRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Converts this FamilyMemberRemoved to JSON.
|
|
201
|
+
* @returns JSON object
|
|
202
|
+
*/
|
|
203
|
+
public toJSON(): { [k: string]: any };
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** Properties of a Ping. */
|
|
207
|
+
export interface IPing {
|
|
208
|
+
|
|
209
|
+
/** Ping message */
|
|
210
|
+
message?: (string|null);
|
|
211
|
+
|
|
212
|
+
/** Ping timestamp */
|
|
213
|
+
timestamp?: (number|Long|null);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** Represents a Ping. */
|
|
217
|
+
export class Ping implements IPing {
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Constructs a new Ping.
|
|
221
|
+
* @param [properties] Properties to set
|
|
222
|
+
*/
|
|
223
|
+
constructor(properties?: IPing);
|
|
224
|
+
|
|
225
|
+
/** Ping message. */
|
|
226
|
+
public message: string;
|
|
227
|
+
|
|
228
|
+
/** Ping timestamp. */
|
|
229
|
+
public timestamp: (number|Long);
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Creates a new Ping instance using the specified properties.
|
|
233
|
+
* @param [properties] Properties to set
|
|
234
|
+
* @returns Ping instance
|
|
235
|
+
*/
|
|
236
|
+
public static create(properties?: IPing): Ping;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Encodes the specified Ping message. Does not implicitly {@link Ping.verify|verify} messages.
|
|
240
|
+
* @param message Ping message or plain object to encode
|
|
241
|
+
* @param [writer] Writer to encode to
|
|
242
|
+
* @returns Writer
|
|
243
|
+
*/
|
|
244
|
+
public static encode(message: IPing, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Encodes the specified Ping message, length delimited. Does not implicitly {@link Ping.verify|verify} messages.
|
|
248
|
+
* @param message Ping message or plain object to encode
|
|
249
|
+
* @param [writer] Writer to encode to
|
|
250
|
+
* @returns Writer
|
|
251
|
+
*/
|
|
252
|
+
public static encodeDelimited(message: IPing, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Decodes a Ping message from the specified reader or buffer.
|
|
256
|
+
* @param reader Reader or buffer to decode from
|
|
257
|
+
* @param [length] Message length if known beforehand
|
|
258
|
+
* @returns Ping
|
|
259
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
260
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
261
|
+
*/
|
|
262
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Ping;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Decodes a Ping message from the specified reader or buffer, length delimited.
|
|
266
|
+
* @param reader Reader or buffer to decode from
|
|
267
|
+
* @returns Ping
|
|
268
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
269
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
270
|
+
*/
|
|
271
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Ping;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Verifies a Ping message.
|
|
275
|
+
* @param message Plain object to verify
|
|
276
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
277
|
+
*/
|
|
278
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Creates a Ping message from a plain object. Also converts values to their respective internal types.
|
|
282
|
+
* @param object Plain object
|
|
283
|
+
* @returns Ping
|
|
284
|
+
*/
|
|
285
|
+
public static fromObject(object: { [k: string]: any }): Ping;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Creates a plain object from a Ping message. Also converts values to other types if specified.
|
|
289
|
+
* @param message Ping
|
|
290
|
+
* @param [options] Conversion options
|
|
291
|
+
* @returns Plain object
|
|
292
|
+
*/
|
|
293
|
+
public static toObject(message: Ping, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Converts this Ping to JSON.
|
|
297
|
+
* @returns JSON object
|
|
298
|
+
*/
|
|
299
|
+
public toJSON(): { [k: string]: any };
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/** Properties of a Pong. */
|
|
303
|
+
export interface IPong {
|
|
304
|
+
|
|
305
|
+
/** Pong message */
|
|
306
|
+
message?: (string|null);
|
|
307
|
+
|
|
308
|
+
/** Pong timestamp */
|
|
309
|
+
timestamp?: (number|Long|null);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/** Represents a Pong. */
|
|
313
|
+
export class Pong implements IPong {
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Constructs a new Pong.
|
|
317
|
+
* @param [properties] Properties to set
|
|
318
|
+
*/
|
|
319
|
+
constructor(properties?: IPong);
|
|
320
|
+
|
|
321
|
+
/** Pong message. */
|
|
322
|
+
public message: string;
|
|
323
|
+
|
|
324
|
+
/** Pong timestamp. */
|
|
325
|
+
public timestamp: (number|Long);
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Creates a new Pong instance using the specified properties.
|
|
329
|
+
* @param [properties] Properties to set
|
|
330
|
+
* @returns Pong instance
|
|
331
|
+
*/
|
|
332
|
+
public static create(properties?: IPong): Pong;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Encodes the specified Pong message. Does not implicitly {@link Pong.verify|verify} messages.
|
|
336
|
+
* @param message Pong message or plain object to encode
|
|
337
|
+
* @param [writer] Writer to encode to
|
|
338
|
+
* @returns Writer
|
|
339
|
+
*/
|
|
340
|
+
public static encode(message: IPong, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Encodes the specified Pong message, length delimited. Does not implicitly {@link Pong.verify|verify} messages.
|
|
344
|
+
* @param message Pong message or plain object to encode
|
|
345
|
+
* @param [writer] Writer to encode to
|
|
346
|
+
* @returns Writer
|
|
347
|
+
*/
|
|
348
|
+
public static encodeDelimited(message: IPong, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Decodes a Pong message from the specified reader or buffer.
|
|
352
|
+
* @param reader Reader or buffer to decode from
|
|
353
|
+
* @param [length] Message length if known beforehand
|
|
354
|
+
* @returns Pong
|
|
355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
357
|
+
*/
|
|
358
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Pong;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Decodes a Pong message from the specified reader or buffer, length delimited.
|
|
362
|
+
* @param reader Reader or buffer to decode from
|
|
363
|
+
* @returns Pong
|
|
364
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
365
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
366
|
+
*/
|
|
367
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Pong;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Verifies a Pong message.
|
|
371
|
+
* @param message Plain object to verify
|
|
372
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
373
|
+
*/
|
|
374
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Creates a Pong message from a plain object. Also converts values to their respective internal types.
|
|
378
|
+
* @param object Plain object
|
|
379
|
+
* @returns Pong
|
|
380
|
+
*/
|
|
381
|
+
public static fromObject(object: { [k: string]: any }): Pong;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Creates a plain object from a Pong message. Also converts values to other types if specified.
|
|
385
|
+
* @param message Pong
|
|
386
|
+
* @param [options] Conversion options
|
|
387
|
+
* @returns Plain object
|
|
388
|
+
*/
|
|
389
|
+
public static toObject(message: Pong, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Converts this Pong to JSON.
|
|
393
|
+
* @returns JSON object
|
|
394
|
+
*/
|
|
395
|
+
public toJSON(): { [k: string]: any };
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/** Properties of a SubscriptionCreated. */
|
|
399
|
+
export interface ISubscriptionCreated {
|
|
400
|
+
|
|
401
|
+
/** SubscriptionCreated id */
|
|
402
|
+
id?: (number|null);
|
|
403
|
+
|
|
404
|
+
/** SubscriptionCreated updatedOn */
|
|
405
|
+
updatedOn?: (number|Long|null);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/** Represents a SubscriptionCreated. */
|
|
409
|
+
export class SubscriptionCreated implements ISubscriptionCreated {
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Constructs a new SubscriptionCreated.
|
|
413
|
+
* @param [properties] Properties to set
|
|
414
|
+
*/
|
|
415
|
+
constructor(properties?: ISubscriptionCreated);
|
|
416
|
+
|
|
417
|
+
/** SubscriptionCreated id. */
|
|
418
|
+
public id: number;
|
|
419
|
+
|
|
420
|
+
/** SubscriptionCreated updatedOn. */
|
|
421
|
+
public updatedOn: (number|Long);
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
425
|
+
* @param [properties] Properties to set
|
|
426
|
+
* @returns SubscriptionCreated instance
|
|
427
|
+
*/
|
|
428
|
+
public static create(properties?: ISubscriptionCreated): SubscriptionCreated;
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Encodes the specified SubscriptionCreated message. Does not implicitly {@link SubscriptionCreated.verify|verify} messages.
|
|
432
|
+
* @param message SubscriptionCreated message or plain object to encode
|
|
433
|
+
* @param [writer] Writer to encode to
|
|
434
|
+
* @returns Writer
|
|
435
|
+
*/
|
|
436
|
+
public static encode(message: ISubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Encodes the specified SubscriptionCreated message, length delimited. Does not implicitly {@link SubscriptionCreated.verify|verify} messages.
|
|
440
|
+
* @param message SubscriptionCreated message or plain object to encode
|
|
441
|
+
* @param [writer] Writer to encode to
|
|
442
|
+
* @returns Writer
|
|
443
|
+
*/
|
|
444
|
+
public static encodeDelimited(message: ISubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Decodes a SubscriptionCreated message from the specified reader or buffer.
|
|
448
|
+
* @param reader Reader or buffer to decode from
|
|
449
|
+
* @param [length] Message length if known beforehand
|
|
450
|
+
* @returns SubscriptionCreated
|
|
451
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
452
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
453
|
+
*/
|
|
454
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionCreated;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Decodes a SubscriptionCreated message from the specified reader or buffer, length delimited.
|
|
458
|
+
* @param reader Reader or buffer to decode from
|
|
459
|
+
* @returns SubscriptionCreated
|
|
460
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
461
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
462
|
+
*/
|
|
463
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionCreated;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Verifies a SubscriptionCreated message.
|
|
467
|
+
* @param message Plain object to verify
|
|
468
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
469
|
+
*/
|
|
470
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Creates a SubscriptionCreated message from a plain object. Also converts values to their respective internal types.
|
|
474
|
+
* @param object Plain object
|
|
475
|
+
* @returns SubscriptionCreated
|
|
476
|
+
*/
|
|
477
|
+
public static fromObject(object: { [k: string]: any }): SubscriptionCreated;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Creates a plain object from a SubscriptionCreated message. Also converts values to other types if specified.
|
|
481
|
+
* @param message SubscriptionCreated
|
|
482
|
+
* @param [options] Conversion options
|
|
483
|
+
* @returns Plain object
|
|
484
|
+
*/
|
|
485
|
+
public static toObject(message: SubscriptionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Converts this SubscriptionCreated to JSON.
|
|
489
|
+
* @returns JSON object
|
|
490
|
+
*/
|
|
491
|
+
public toJSON(): { [k: string]: any };
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/** Properties of a SubscriptionCancelled. */
|
|
495
|
+
export interface ISubscriptionCancelled {
|
|
496
|
+
|
|
497
|
+
/** SubscriptionCancelled id */
|
|
498
|
+
id?: (number|null);
|
|
499
|
+
|
|
500
|
+
/** SubscriptionCancelled updatedOn */
|
|
501
|
+
updatedOn?: (number|Long|null);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/** Represents a SubscriptionCancelled. */
|
|
505
|
+
export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Constructs a new SubscriptionCancelled.
|
|
509
|
+
* @param [properties] Properties to set
|
|
510
|
+
*/
|
|
511
|
+
constructor(properties?: ISubscriptionCancelled);
|
|
512
|
+
|
|
513
|
+
/** SubscriptionCancelled id. */
|
|
514
|
+
public id: number;
|
|
515
|
+
|
|
516
|
+
/** SubscriptionCancelled updatedOn. */
|
|
517
|
+
public updatedOn: (number|Long);
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
521
|
+
* @param [properties] Properties to set
|
|
522
|
+
* @returns SubscriptionCancelled instance
|
|
523
|
+
*/
|
|
524
|
+
public static create(properties?: ISubscriptionCancelled): SubscriptionCancelled;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Encodes the specified SubscriptionCancelled message. Does not implicitly {@link SubscriptionCancelled.verify|verify} messages.
|
|
528
|
+
* @param message SubscriptionCancelled message or plain object to encode
|
|
529
|
+
* @param [writer] Writer to encode to
|
|
530
|
+
* @returns Writer
|
|
531
|
+
*/
|
|
532
|
+
public static encode(message: ISubscriptionCancelled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Encodes the specified SubscriptionCancelled message, length delimited. Does not implicitly {@link SubscriptionCancelled.verify|verify} messages.
|
|
536
|
+
* @param message SubscriptionCancelled message or plain object to encode
|
|
537
|
+
* @param [writer] Writer to encode to
|
|
538
|
+
* @returns Writer
|
|
539
|
+
*/
|
|
540
|
+
public static encodeDelimited(message: ISubscriptionCancelled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Decodes a SubscriptionCancelled message from the specified reader or buffer.
|
|
544
|
+
* @param reader Reader or buffer to decode from
|
|
545
|
+
* @param [length] Message length if known beforehand
|
|
546
|
+
* @returns SubscriptionCancelled
|
|
547
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
548
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
549
|
+
*/
|
|
550
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionCancelled;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Decodes a SubscriptionCancelled message from the specified reader or buffer, length delimited.
|
|
554
|
+
* @param reader Reader or buffer to decode from
|
|
555
|
+
* @returns SubscriptionCancelled
|
|
556
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
557
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
558
|
+
*/
|
|
559
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionCancelled;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Verifies a SubscriptionCancelled message.
|
|
563
|
+
* @param message Plain object to verify
|
|
564
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
565
|
+
*/
|
|
566
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Creates a SubscriptionCancelled message from a plain object. Also converts values to their respective internal types.
|
|
570
|
+
* @param object Plain object
|
|
571
|
+
* @returns SubscriptionCancelled
|
|
572
|
+
*/
|
|
573
|
+
public static fromObject(object: { [k: string]: any }): SubscriptionCancelled;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Creates a plain object from a SubscriptionCancelled message. Also converts values to other types if specified.
|
|
577
|
+
* @param message SubscriptionCancelled
|
|
578
|
+
* @param [options] Conversion options
|
|
579
|
+
* @returns Plain object
|
|
580
|
+
*/
|
|
581
|
+
public static toObject(message: SubscriptionCancelled, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Converts this SubscriptionCancelled to JSON.
|
|
585
|
+
* @returns JSON object
|
|
586
|
+
*/
|
|
587
|
+
public toJSON(): { [k: string]: any };
|
|
392
588
|
}
|