@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/lib/index.d.ts CHANGED
@@ -1,392 +1,588 @@
1
1
  import * as $protobuf from "protobufjs";
2
- /** Namespace events. */
3
- export namespace events {
4
-
5
- /** Properties of a Ping. */
6
- interface IPing {
7
-
8
- /** Ping message */
9
- message?: (string|null);
10
-
11
- /** Ping timestamp */
12
- timestamp?: (number|Long|null);
13
- }
14
-
15
- /** Represents a Ping. */
16
- class Ping implements IPing {
17
-
18
- /**
19
- * Constructs a new Ping.
20
- * @param [properties] Properties to set
21
- */
22
- constructor(properties?: events.IPing);
23
-
24
- /** Ping message. */
25
- public message: string;
26
-
27
- /** Ping timestamp. */
28
- public timestamp: (number|Long);
29
-
30
- /**
31
- * Creates a new Ping instance using the specified properties.
32
- * @param [properties] Properties to set
33
- * @returns Ping instance
34
- */
35
- public static create(properties?: events.IPing): events.Ping;
36
-
37
- /**
38
- * Encodes the specified Ping message. Does not implicitly {@link events.Ping.verify|verify} messages.
39
- * @param message Ping message or plain object to encode
40
- * @param [writer] Writer to encode to
41
- * @returns Writer
42
- */
43
- public static encode(message: events.IPing, writer?: $protobuf.Writer): $protobuf.Writer;
44
-
45
- /**
46
- * Encodes the specified Ping message, length delimited. Does not implicitly {@link events.Ping.verify|verify} messages.
47
- * @param message Ping message or plain object to encode
48
- * @param [writer] Writer to encode to
49
- * @returns Writer
50
- */
51
- public static encodeDelimited(message: events.IPing, writer?: $protobuf.Writer): $protobuf.Writer;
52
-
53
- /**
54
- * Decodes a Ping message from the specified reader or buffer.
55
- * @param reader Reader or buffer to decode from
56
- * @param [length] Message length if known beforehand
57
- * @returns Ping
58
- * @throws {Error} If the payload is not a reader or valid buffer
59
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
60
- */
61
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): events.Ping;
62
-
63
- /**
64
- * Decodes a Ping message from the specified reader or buffer, length delimited.
65
- * @param reader Reader or buffer to decode from
66
- * @returns Ping
67
- * @throws {Error} If the payload is not a reader or valid buffer
68
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
69
- */
70
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): events.Ping;
71
-
72
- /**
73
- * Verifies a Ping message.
74
- * @param message Plain object to verify
75
- * @returns `null` if valid, otherwise the reason why it is not
76
- */
77
- public static verify(message: { [k: string]: any }): (string|null);
78
-
79
- /**
80
- * Creates a Ping message from a plain object. Also converts values to their respective internal types.
81
- * @param object Plain object
82
- * @returns Ping
83
- */
84
- public static fromObject(object: { [k: string]: any }): events.Ping;
85
-
86
- /**
87
- * Creates a plain object from a Ping message. Also converts values to other types if specified.
88
- * @param message Ping
89
- * @param [options] Conversion options
90
- * @returns Plain object
91
- */
92
- public static toObject(message: events.Ping, options?: $protobuf.IConversionOptions): { [k: string]: any };
93
-
94
- /**
95
- * Converts this Ping to JSON.
96
- * @returns JSON object
97
- */
98
- public toJSON(): { [k: string]: any };
99
- }
100
-
101
- /** Properties of a Pong. */
102
- interface IPong {
103
-
104
- /** Pong message */
105
- message?: (string|null);
106
-
107
- /** Pong timestamp */
108
- timestamp?: (number|Long|null);
109
- }
110
-
111
- /** Represents a Pong. */
112
- class Pong implements IPong {
113
-
114
- /**
115
- * Constructs a new Pong.
116
- * @param [properties] Properties to set
117
- */
118
- constructor(properties?: events.IPong);
119
-
120
- /** Pong message. */
121
- public message: string;
122
-
123
- /** Pong timestamp. */
124
- public timestamp: (number|Long);
125
-
126
- /**
127
- * Creates a new Pong instance using the specified properties.
128
- * @param [properties] Properties to set
129
- * @returns Pong instance
130
- */
131
- public static create(properties?: events.IPong): events.Pong;
132
-
133
- /**
134
- * Encodes the specified Pong message. Does not implicitly {@link events.Pong.verify|verify} messages.
135
- * @param message Pong message or plain object to encode
136
- * @param [writer] Writer to encode to
137
- * @returns Writer
138
- */
139
- public static encode(message: events.IPong, writer?: $protobuf.Writer): $protobuf.Writer;
140
-
141
- /**
142
- * Encodes the specified Pong message, length delimited. Does not implicitly {@link events.Pong.verify|verify} messages.
143
- * @param message Pong message or plain object to encode
144
- * @param [writer] Writer to encode to
145
- * @returns Writer
146
- */
147
- public static encodeDelimited(message: events.IPong, writer?: $protobuf.Writer): $protobuf.Writer;
148
-
149
- /**
150
- * Decodes a Pong message from the specified reader or buffer.
151
- * @param reader Reader or buffer to decode from
152
- * @param [length] Message length if known beforehand
153
- * @returns Pong
154
- * @throws {Error} If the payload is not a reader or valid buffer
155
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
156
- */
157
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): events.Pong;
158
-
159
- /**
160
- * Decodes a Pong message from the specified reader or buffer, length delimited.
161
- * @param reader Reader or buffer to decode from
162
- * @returns Pong
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 decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): events.Pong;
167
-
168
- /**
169
- * Verifies a Pong message.
170
- * @param message Plain object to verify
171
- * @returns `null` if valid, otherwise the reason why it is not
172
- */
173
- public static verify(message: { [k: string]: any }): (string|null);
174
-
175
- /**
176
- * Creates a Pong message from a plain object. Also converts values to their respective internal types.
177
- * @param object Plain object
178
- * @returns Pong
179
- */
180
- public static fromObject(object: { [k: string]: any }): events.Pong;
181
-
182
- /**
183
- * Creates a plain object from a Pong message. Also converts values to other types if specified.
184
- * @param message Pong
185
- * @param [options] Conversion options
186
- * @returns Plain object
187
- */
188
- public static toObject(message: events.Pong, options?: $protobuf.IConversionOptions): { [k: string]: any };
189
-
190
- /**
191
- * Converts this Pong to JSON.
192
- * @returns JSON object
193
- */
194
- public toJSON(): { [k: string]: any };
195
- }
196
-
197
- /** Namespace subscription. */
198
- namespace subscription {
199
-
200
- /** Properties of a SubscriptionCreated. */
201
- interface ISubscriptionCreated {
202
-
203
- /** SubscriptionCreated id */
204
- id?: (number|null);
205
-
206
- /** SubscriptionCreated updatedOn */
207
- updatedOn?: (number|Long|null);
208
- }
209
-
210
- /** Represents a SubscriptionCreated. */
211
- class SubscriptionCreated implements ISubscriptionCreated {
212
-
213
- /**
214
- * Constructs a new SubscriptionCreated.
215
- * @param [properties] Properties to set
216
- */
217
- constructor(properties?: events.subscription.ISubscriptionCreated);
218
-
219
- /** SubscriptionCreated id. */
220
- public id: number;
221
-
222
- /** SubscriptionCreated updatedOn. */
223
- public updatedOn: (number|Long);
224
-
225
- /**
226
- * Creates a new SubscriptionCreated instance using the specified properties.
227
- * @param [properties] Properties to set
228
- * @returns SubscriptionCreated instance
229
- */
230
- public static create(properties?: events.subscription.ISubscriptionCreated): events.subscription.SubscriptionCreated;
231
-
232
- /**
233
- * Encodes the specified SubscriptionCreated message. Does not implicitly {@link events.subscription.SubscriptionCreated.verify|verify} messages.
234
- * @param message SubscriptionCreated message or plain object to encode
235
- * @param [writer] Writer to encode to
236
- * @returns Writer
237
- */
238
- public static encode(message: events.subscription.ISubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
239
-
240
- /**
241
- * Encodes the specified SubscriptionCreated message, length delimited. Does not implicitly {@link events.subscription.SubscriptionCreated.verify|verify} messages.
242
- * @param message SubscriptionCreated message or plain object to encode
243
- * @param [writer] Writer to encode to
244
- * @returns Writer
245
- */
246
- public static encodeDelimited(message: events.subscription.ISubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
247
-
248
- /**
249
- * Decodes a SubscriptionCreated message from the specified reader or buffer.
250
- * @param reader Reader or buffer to decode from
251
- * @param [length] Message length if known beforehand
252
- * @returns SubscriptionCreated
253
- * @throws {Error} If the payload is not a reader or valid buffer
254
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
255
- */
256
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): events.subscription.SubscriptionCreated;
257
-
258
- /**
259
- * Decodes a SubscriptionCreated message from the specified reader or buffer, length delimited.
260
- * @param reader Reader or buffer to decode from
261
- * @returns SubscriptionCreated
262
- * @throws {Error} If the payload is not a reader or valid buffer
263
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
264
- */
265
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): events.subscription.SubscriptionCreated;
266
-
267
- /**
268
- * Verifies a SubscriptionCreated message.
269
- * @param message Plain object to verify
270
- * @returns `null` if valid, otherwise the reason why it is not
271
- */
272
- public static verify(message: { [k: string]: any }): (string|null);
273
-
274
- /**
275
- * Creates a SubscriptionCreated message from a plain object. Also converts values to their respective internal types.
276
- * @param object Plain object
277
- * @returns SubscriptionCreated
278
- */
279
- public static fromObject(object: { [k: string]: any }): events.subscription.SubscriptionCreated;
280
-
281
- /**
282
- * Creates a plain object from a SubscriptionCreated message. Also converts values to other types if specified.
283
- * @param message SubscriptionCreated
284
- * @param [options] Conversion options
285
- * @returns Plain object
286
- */
287
- public static toObject(message: events.subscription.SubscriptionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
288
-
289
- /**
290
- * Converts this SubscriptionCreated to JSON.
291
- * @returns JSON object
292
- */
293
- public toJSON(): { [k: string]: any };
294
- }
295
-
296
- /** Properties of a SubscriptionCancelled. */
297
- interface ISubscriptionCancelled {
298
-
299
- /** SubscriptionCancelled id */
300
- id?: (number|null);
301
-
302
- /** SubscriptionCancelled updatedOn */
303
- updatedOn?: (number|Long|null);
304
- }
305
-
306
- /** Represents a SubscriptionCancelled. */
307
- class SubscriptionCancelled implements ISubscriptionCancelled {
308
-
309
- /**
310
- * Constructs a new SubscriptionCancelled.
311
- * @param [properties] Properties to set
312
- */
313
- constructor(properties?: events.subscription.ISubscriptionCancelled);
314
-
315
- /** SubscriptionCancelled id. */
316
- public id: number;
317
-
318
- /** SubscriptionCancelled updatedOn. */
319
- public updatedOn: (number|Long);
320
-
321
- /**
322
- * Creates a new SubscriptionCancelled instance using the specified properties.
323
- * @param [properties] Properties to set
324
- * @returns SubscriptionCancelled instance
325
- */
326
- public static create(properties?: events.subscription.ISubscriptionCancelled): events.subscription.SubscriptionCancelled;
327
-
328
- /**
329
- * Encodes the specified SubscriptionCancelled message. Does not implicitly {@link events.subscription.SubscriptionCancelled.verify|verify} messages.
330
- * @param message SubscriptionCancelled message or plain object to encode
331
- * @param [writer] Writer to encode to
332
- * @returns Writer
333
- */
334
- public static encode(message: events.subscription.ISubscriptionCancelled, writer?: $protobuf.Writer): $protobuf.Writer;
335
-
336
- /**
337
- * Encodes the specified SubscriptionCancelled message, length delimited. Does not implicitly {@link events.subscription.SubscriptionCancelled.verify|verify} messages.
338
- * @param message SubscriptionCancelled message or plain object to encode
339
- * @param [writer] Writer to encode to
340
- * @returns Writer
341
- */
342
- public static encodeDelimited(message: events.subscription.ISubscriptionCancelled, writer?: $protobuf.Writer): $protobuf.Writer;
343
-
344
- /**
345
- * Decodes a SubscriptionCancelled message from the specified reader or buffer.
346
- * @param reader Reader or buffer to decode from
347
- * @param [length] Message length if known beforehand
348
- * @returns SubscriptionCancelled
349
- * @throws {Error} If the payload is not a reader or valid buffer
350
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
351
- */
352
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): events.subscription.SubscriptionCancelled;
353
-
354
- /**
355
- * Decodes a SubscriptionCancelled message from the specified reader or buffer, length delimited.
356
- * @param reader Reader or buffer to decode from
357
- * @returns SubscriptionCancelled
358
- * @throws {Error} If the payload is not a reader or valid buffer
359
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
360
- */
361
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): events.subscription.SubscriptionCancelled;
362
-
363
- /**
364
- * Verifies a SubscriptionCancelled message.
365
- * @param message Plain object to verify
366
- * @returns `null` if valid, otherwise the reason why it is not
367
- */
368
- public static verify(message: { [k: string]: any }): (string|null);
369
-
370
- /**
371
- * Creates a SubscriptionCancelled message from a plain object. Also converts values to their respective internal types.
372
- * @param object Plain object
373
- * @returns SubscriptionCancelled
374
- */
375
- public static fromObject(object: { [k: string]: any }): events.subscription.SubscriptionCancelled;
376
-
377
- /**
378
- * Creates a plain object from a SubscriptionCancelled message. Also converts values to other types if specified.
379
- * @param message SubscriptionCancelled
380
- * @param [options] Conversion options
381
- * @returns Plain object
382
- */
383
- public static toObject(message: events.subscription.SubscriptionCancelled, options?: $protobuf.IConversionOptions): { [k: string]: any };
384
-
385
- /**
386
- * Converts this SubscriptionCancelled to JSON.
387
- * @returns JSON object
388
- */
389
- public toJSON(): { [k: string]: any };
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
  }