@headspace/protos-events 0.1.0-alpha.0ae9639 → 1.1.0
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 +497 -98
- package/lib/index.js +1428 -366
- package/package.json +10 -10
- package/community.proto +0 -13
- package/pingpong.proto +0 -15
- package/subscription.proto +0 -11
package/lib/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export interface IFamilyMemberAdded {
|
|
|
10
10
|
|
|
11
11
|
/** FamilyMemberAdded userId */
|
|
12
12
|
userId?: (string|null);
|
|
13
|
+
|
|
14
|
+
/** FamilyMemberAdded userGroupId */
|
|
15
|
+
userGroupId?: (number|null);
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
/** Represents a FamilyMemberAdded. */
|
|
@@ -30,6 +33,9 @@ export class FamilyMemberAdded implements IFamilyMemberAdded {
|
|
|
30
33
|
/** FamilyMemberAdded userId. */
|
|
31
34
|
public userId: string;
|
|
32
35
|
|
|
36
|
+
/** FamilyMemberAdded userGroupId. */
|
|
37
|
+
public userGroupId: number;
|
|
38
|
+
|
|
33
39
|
/**
|
|
34
40
|
* Creates a new FamilyMemberAdded instance using the specified properties.
|
|
35
41
|
* @param [properties] Properties to set
|
|
@@ -112,6 +118,9 @@ export interface IFamilyMemberRemoved {
|
|
|
112
118
|
|
|
113
119
|
/** FamilyMemberRemoved userId */
|
|
114
120
|
userId?: (string|null);
|
|
121
|
+
|
|
122
|
+
/** FamilyMemberRemoved userGroupId */
|
|
123
|
+
userGroupId?: (number|null);
|
|
115
124
|
}
|
|
116
125
|
|
|
117
126
|
/** Represents a FamilyMemberRemoved. */
|
|
@@ -132,6 +141,9 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
|
132
141
|
/** FamilyMemberRemoved userId. */
|
|
133
142
|
public userId: string;
|
|
134
143
|
|
|
144
|
+
/** FamilyMemberRemoved userGroupId. */
|
|
145
|
+
public userGroupId: number;
|
|
146
|
+
|
|
135
147
|
/**
|
|
136
148
|
* Creates a new FamilyMemberRemoved instance using the specified properties.
|
|
137
149
|
* @param [properties] Properties to set
|
|
@@ -203,241 +215,412 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
|
203
215
|
public toJSON(): { [k: string]: any };
|
|
204
216
|
}
|
|
205
217
|
|
|
206
|
-
/** Properties of a
|
|
207
|
-
export interface
|
|
218
|
+
/** Properties of a VoiceDeviceConnected. */
|
|
219
|
+
export interface IVoiceDeviceConnected {
|
|
208
220
|
|
|
209
|
-
/**
|
|
210
|
-
|
|
221
|
+
/** VoiceDeviceConnected userId */
|
|
222
|
+
userId?: (string|null);
|
|
211
223
|
|
|
212
|
-
/**
|
|
224
|
+
/** VoiceDeviceConnected platform */
|
|
225
|
+
platform?: (string|null);
|
|
226
|
+
|
|
227
|
+
/** VoiceDeviceConnected timestamp */
|
|
213
228
|
timestamp?: (number|Long|null);
|
|
214
229
|
}
|
|
215
230
|
|
|
216
|
-
/** Represents a
|
|
217
|
-
export class
|
|
231
|
+
/** Represents a VoiceDeviceConnected. */
|
|
232
|
+
export class VoiceDeviceConnected implements IVoiceDeviceConnected {
|
|
218
233
|
|
|
219
234
|
/**
|
|
220
|
-
* Constructs a new
|
|
235
|
+
* Constructs a new VoiceDeviceConnected.
|
|
221
236
|
* @param [properties] Properties to set
|
|
222
237
|
*/
|
|
223
|
-
constructor(properties?:
|
|
238
|
+
constructor(properties?: IVoiceDeviceConnected);
|
|
239
|
+
|
|
240
|
+
/** VoiceDeviceConnected userId. */
|
|
241
|
+
public userId: string;
|
|
224
242
|
|
|
225
|
-
/**
|
|
226
|
-
public
|
|
243
|
+
/** VoiceDeviceConnected platform. */
|
|
244
|
+
public platform: string;
|
|
227
245
|
|
|
228
|
-
/**
|
|
246
|
+
/** VoiceDeviceConnected timestamp. */
|
|
229
247
|
public timestamp: (number|Long);
|
|
230
248
|
|
|
231
249
|
/**
|
|
232
|
-
* Creates a new
|
|
250
|
+
* Creates a new VoiceDeviceConnected instance using the specified properties.
|
|
233
251
|
* @param [properties] Properties to set
|
|
234
|
-
* @returns
|
|
252
|
+
* @returns VoiceDeviceConnected instance
|
|
235
253
|
*/
|
|
236
|
-
public static create(properties?:
|
|
254
|
+
public static create(properties?: IVoiceDeviceConnected): VoiceDeviceConnected;
|
|
237
255
|
|
|
238
256
|
/**
|
|
239
|
-
* Encodes the specified
|
|
240
|
-
* @param message
|
|
257
|
+
* Encodes the specified VoiceDeviceConnected message. Does not implicitly {@link VoiceDeviceConnected.verify|verify} messages.
|
|
258
|
+
* @param message VoiceDeviceConnected message or plain object to encode
|
|
241
259
|
* @param [writer] Writer to encode to
|
|
242
260
|
* @returns Writer
|
|
243
261
|
*/
|
|
244
|
-
public static encode(message:
|
|
262
|
+
public static encode(message: IVoiceDeviceConnected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
245
263
|
|
|
246
264
|
/**
|
|
247
|
-
* Encodes the specified
|
|
248
|
-
* @param message
|
|
265
|
+
* Encodes the specified VoiceDeviceConnected message, length delimited. Does not implicitly {@link VoiceDeviceConnected.verify|verify} messages.
|
|
266
|
+
* @param message VoiceDeviceConnected message or plain object to encode
|
|
249
267
|
* @param [writer] Writer to encode to
|
|
250
268
|
* @returns Writer
|
|
251
269
|
*/
|
|
252
|
-
public static encodeDelimited(message:
|
|
270
|
+
public static encodeDelimited(message: IVoiceDeviceConnected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
253
271
|
|
|
254
272
|
/**
|
|
255
|
-
* Decodes a
|
|
273
|
+
* Decodes a VoiceDeviceConnected message from the specified reader or buffer.
|
|
256
274
|
* @param reader Reader or buffer to decode from
|
|
257
275
|
* @param [length] Message length if known beforehand
|
|
258
|
-
* @returns
|
|
276
|
+
* @returns VoiceDeviceConnected
|
|
259
277
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
260
278
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
261
279
|
*/
|
|
262
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
280
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VoiceDeviceConnected;
|
|
263
281
|
|
|
264
282
|
/**
|
|
265
|
-
* Decodes a
|
|
283
|
+
* Decodes a VoiceDeviceConnected message from the specified reader or buffer, length delimited.
|
|
266
284
|
* @param reader Reader or buffer to decode from
|
|
267
|
-
* @returns
|
|
285
|
+
* @returns VoiceDeviceConnected
|
|
268
286
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
269
287
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
270
288
|
*/
|
|
271
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
289
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VoiceDeviceConnected;
|
|
272
290
|
|
|
273
291
|
/**
|
|
274
|
-
* Verifies a
|
|
292
|
+
* Verifies a VoiceDeviceConnected message.
|
|
275
293
|
* @param message Plain object to verify
|
|
276
294
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
277
295
|
*/
|
|
278
296
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
279
297
|
|
|
280
298
|
/**
|
|
281
|
-
* Creates a
|
|
299
|
+
* Creates a VoiceDeviceConnected message from a plain object. Also converts values to their respective internal types.
|
|
282
300
|
* @param object Plain object
|
|
283
|
-
* @returns
|
|
301
|
+
* @returns VoiceDeviceConnected
|
|
284
302
|
*/
|
|
285
|
-
public static fromObject(object: { [k: string]: any }):
|
|
303
|
+
public static fromObject(object: { [k: string]: any }): VoiceDeviceConnected;
|
|
286
304
|
|
|
287
305
|
/**
|
|
288
|
-
* Creates a plain object from a
|
|
289
|
-
* @param message
|
|
306
|
+
* Creates a plain object from a VoiceDeviceConnected message. Also converts values to other types if specified.
|
|
307
|
+
* @param message VoiceDeviceConnected
|
|
290
308
|
* @param [options] Conversion options
|
|
291
309
|
* @returns Plain object
|
|
292
310
|
*/
|
|
293
|
-
public static toObject(message:
|
|
311
|
+
public static toObject(message: VoiceDeviceConnected, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
294
312
|
|
|
295
313
|
/**
|
|
296
|
-
* Converts this
|
|
314
|
+
* Converts this VoiceDeviceConnected to JSON.
|
|
297
315
|
* @returns JSON object
|
|
298
316
|
*/
|
|
299
317
|
public toJSON(): { [k: string]: any };
|
|
300
318
|
}
|
|
301
319
|
|
|
302
|
-
/** Properties of a
|
|
303
|
-
export interface
|
|
304
|
-
|
|
305
|
-
/** Pong message */
|
|
306
|
-
message?: (string|null);
|
|
320
|
+
/** Properties of a SleepcastEpisodeCompleted. */
|
|
321
|
+
export interface ISleepcastEpisodeCompleted {
|
|
307
322
|
|
|
308
|
-
/**
|
|
323
|
+
/** SleepcastEpisodeCompleted timestamp */
|
|
309
324
|
timestamp?: (number|Long|null);
|
|
325
|
+
|
|
326
|
+
/** SleepcastEpisodeCompleted sleepcastId */
|
|
327
|
+
sleepcastId?: (number|null);
|
|
328
|
+
|
|
329
|
+
/** SleepcastEpisodeCompleted userId */
|
|
330
|
+
userId?: (string|null);
|
|
310
331
|
}
|
|
311
332
|
|
|
312
|
-
/** Represents a
|
|
313
|
-
export class
|
|
333
|
+
/** Represents a SleepcastEpisodeCompleted. */
|
|
334
|
+
export class SleepcastEpisodeCompleted implements ISleepcastEpisodeCompleted {
|
|
314
335
|
|
|
315
336
|
/**
|
|
316
|
-
* Constructs a new
|
|
337
|
+
* Constructs a new SleepcastEpisodeCompleted.
|
|
317
338
|
* @param [properties] Properties to set
|
|
318
339
|
*/
|
|
319
|
-
constructor(properties?:
|
|
320
|
-
|
|
321
|
-
/** Pong message. */
|
|
322
|
-
public message: string;
|
|
340
|
+
constructor(properties?: ISleepcastEpisodeCompleted);
|
|
323
341
|
|
|
324
|
-
/**
|
|
342
|
+
/** SleepcastEpisodeCompleted timestamp. */
|
|
325
343
|
public timestamp: (number|Long);
|
|
326
344
|
|
|
345
|
+
/** SleepcastEpisodeCompleted sleepcastId. */
|
|
346
|
+
public sleepcastId: number;
|
|
347
|
+
|
|
348
|
+
/** SleepcastEpisodeCompleted userId. */
|
|
349
|
+
public userId: string;
|
|
350
|
+
|
|
327
351
|
/**
|
|
328
|
-
* Creates a new
|
|
352
|
+
* Creates a new SleepcastEpisodeCompleted instance using the specified properties.
|
|
329
353
|
* @param [properties] Properties to set
|
|
330
|
-
* @returns
|
|
354
|
+
* @returns SleepcastEpisodeCompleted instance
|
|
331
355
|
*/
|
|
332
|
-
public static create(properties?:
|
|
356
|
+
public static create(properties?: ISleepcastEpisodeCompleted): SleepcastEpisodeCompleted;
|
|
333
357
|
|
|
334
358
|
/**
|
|
335
|
-
* Encodes the specified
|
|
336
|
-
* @param message
|
|
359
|
+
* Encodes the specified SleepcastEpisodeCompleted message. Does not implicitly {@link SleepcastEpisodeCompleted.verify|verify} messages.
|
|
360
|
+
* @param message SleepcastEpisodeCompleted message or plain object to encode
|
|
337
361
|
* @param [writer] Writer to encode to
|
|
338
362
|
* @returns Writer
|
|
339
363
|
*/
|
|
340
|
-
public static encode(message:
|
|
364
|
+
public static encode(message: ISleepcastEpisodeCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
341
365
|
|
|
342
366
|
/**
|
|
343
|
-
* Encodes the specified
|
|
344
|
-
* @param message
|
|
367
|
+
* Encodes the specified SleepcastEpisodeCompleted message, length delimited. Does not implicitly {@link SleepcastEpisodeCompleted.verify|verify} messages.
|
|
368
|
+
* @param message SleepcastEpisodeCompleted message or plain object to encode
|
|
345
369
|
* @param [writer] Writer to encode to
|
|
346
370
|
* @returns Writer
|
|
347
371
|
*/
|
|
348
|
-
public static encodeDelimited(message:
|
|
372
|
+
public static encodeDelimited(message: ISleepcastEpisodeCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
349
373
|
|
|
350
374
|
/**
|
|
351
|
-
* Decodes a
|
|
375
|
+
* Decodes a SleepcastEpisodeCompleted message from the specified reader or buffer.
|
|
352
376
|
* @param reader Reader or buffer to decode from
|
|
353
377
|
* @param [length] Message length if known beforehand
|
|
354
|
-
* @returns
|
|
378
|
+
* @returns SleepcastEpisodeCompleted
|
|
355
379
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
356
380
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
357
381
|
*/
|
|
358
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
382
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SleepcastEpisodeCompleted;
|
|
359
383
|
|
|
360
384
|
/**
|
|
361
|
-
* Decodes a
|
|
385
|
+
* Decodes a SleepcastEpisodeCompleted message from the specified reader or buffer, length delimited.
|
|
362
386
|
* @param reader Reader or buffer to decode from
|
|
363
|
-
* @returns
|
|
387
|
+
* @returns SleepcastEpisodeCompleted
|
|
364
388
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
365
389
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
366
390
|
*/
|
|
367
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
391
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SleepcastEpisodeCompleted;
|
|
368
392
|
|
|
369
393
|
/**
|
|
370
|
-
* Verifies a
|
|
394
|
+
* Verifies a SleepcastEpisodeCompleted message.
|
|
371
395
|
* @param message Plain object to verify
|
|
372
396
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
373
397
|
*/
|
|
374
398
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
375
399
|
|
|
376
400
|
/**
|
|
377
|
-
* Creates a
|
|
401
|
+
* Creates a SleepcastEpisodeCompleted message from a plain object. Also converts values to their respective internal types.
|
|
378
402
|
* @param object Plain object
|
|
379
|
-
* @returns
|
|
403
|
+
* @returns SleepcastEpisodeCompleted
|
|
380
404
|
*/
|
|
381
|
-
public static fromObject(object: { [k: string]: any }):
|
|
405
|
+
public static fromObject(object: { [k: string]: any }): SleepcastEpisodeCompleted;
|
|
382
406
|
|
|
383
407
|
/**
|
|
384
|
-
* Creates a plain object from a
|
|
385
|
-
* @param message
|
|
408
|
+
* Creates a plain object from a SleepcastEpisodeCompleted message. Also converts values to other types if specified.
|
|
409
|
+
* @param message SleepcastEpisodeCompleted
|
|
386
410
|
* @param [options] Conversion options
|
|
387
411
|
* @returns Plain object
|
|
388
412
|
*/
|
|
389
|
-
public static toObject(message:
|
|
413
|
+
public static toObject(message: SleepcastEpisodeCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
390
414
|
|
|
391
415
|
/**
|
|
392
|
-
* Converts this
|
|
416
|
+
* Converts this SleepcastEpisodeCompleted to JSON.
|
|
393
417
|
* @returns JSON object
|
|
394
418
|
*/
|
|
395
419
|
public toJSON(): { [k: string]: any };
|
|
396
420
|
}
|
|
397
421
|
|
|
398
|
-
/**
|
|
399
|
-
export
|
|
422
|
+
/** Properties of a FirstSleepcastPlayDateSet. */
|
|
423
|
+
export interface IFirstSleepcastPlayDateSet {
|
|
424
|
+
|
|
425
|
+
/** FirstSleepcastPlayDateSet timestamp */
|
|
426
|
+
timestamp?: (number|Long|null);
|
|
427
|
+
|
|
428
|
+
/** FirstSleepcastPlayDateSet userId */
|
|
429
|
+
userId?: (string|null);
|
|
430
|
+
|
|
431
|
+
/** FirstSleepcastPlayDateSet firstPlayTimestamp */
|
|
432
|
+
firstPlayTimestamp?: (number|Long|null);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/** Represents a FirstSleepcastPlayDateSet. */
|
|
436
|
+
export class FirstSleepcastPlayDateSet implements IFirstSleepcastPlayDateSet {
|
|
400
437
|
|
|
401
438
|
/**
|
|
402
|
-
* Constructs a new
|
|
403
|
-
* @param
|
|
404
|
-
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
405
|
-
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
439
|
+
* Constructs a new FirstSleepcastPlayDateSet.
|
|
440
|
+
* @param [properties] Properties to set
|
|
406
441
|
*/
|
|
407
|
-
constructor(
|
|
442
|
+
constructor(properties?: IFirstSleepcastPlayDateSet);
|
|
443
|
+
|
|
444
|
+
/** FirstSleepcastPlayDateSet timestamp. */
|
|
445
|
+
public timestamp: (number|Long);
|
|
446
|
+
|
|
447
|
+
/** FirstSleepcastPlayDateSet userId. */
|
|
448
|
+
public userId: string;
|
|
449
|
+
|
|
450
|
+
/** FirstSleepcastPlayDateSet firstPlayTimestamp. */
|
|
451
|
+
public firstPlayTimestamp: (number|Long);
|
|
408
452
|
|
|
409
453
|
/**
|
|
410
|
-
* Creates new
|
|
411
|
-
* @param
|
|
412
|
-
* @
|
|
413
|
-
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
414
|
-
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
454
|
+
* Creates a new FirstSleepcastPlayDateSet instance using the specified properties.
|
|
455
|
+
* @param [properties] Properties to set
|
|
456
|
+
* @returns FirstSleepcastPlayDateSet instance
|
|
415
457
|
*/
|
|
416
|
-
public static create(
|
|
458
|
+
public static create(properties?: IFirstSleepcastPlayDateSet): FirstSleepcastPlayDateSet;
|
|
417
459
|
|
|
418
460
|
/**
|
|
419
|
-
*
|
|
420
|
-
* @param
|
|
421
|
-
* @param
|
|
461
|
+
* Encodes the specified FirstSleepcastPlayDateSet message. Does not implicitly {@link FirstSleepcastPlayDateSet.verify|verify} messages.
|
|
462
|
+
* @param message FirstSleepcastPlayDateSet message or plain object to encode
|
|
463
|
+
* @param [writer] Writer to encode to
|
|
464
|
+
* @returns Writer
|
|
422
465
|
*/
|
|
423
|
-
public
|
|
466
|
+
public static encode(message: IFirstSleepcastPlayDateSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
424
467
|
|
|
425
468
|
/**
|
|
426
|
-
*
|
|
427
|
-
* @param
|
|
428
|
-
* @
|
|
469
|
+
* Encodes the specified FirstSleepcastPlayDateSet message, length delimited. Does not implicitly {@link FirstSleepcastPlayDateSet.verify|verify} messages.
|
|
470
|
+
* @param message FirstSleepcastPlayDateSet message or plain object to encode
|
|
471
|
+
* @param [writer] Writer to encode to
|
|
472
|
+
* @returns Writer
|
|
429
473
|
*/
|
|
430
|
-
public
|
|
474
|
+
public static encodeDelimited(message: IFirstSleepcastPlayDateSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Decodes a FirstSleepcastPlayDateSet message from the specified reader or buffer.
|
|
478
|
+
* @param reader Reader or buffer to decode from
|
|
479
|
+
* @param [length] Message length if known beforehand
|
|
480
|
+
* @returns FirstSleepcastPlayDateSet
|
|
481
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
482
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
483
|
+
*/
|
|
484
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FirstSleepcastPlayDateSet;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Decodes a FirstSleepcastPlayDateSet message from the specified reader or buffer, length delimited.
|
|
488
|
+
* @param reader Reader or buffer to decode from
|
|
489
|
+
* @returns FirstSleepcastPlayDateSet
|
|
490
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
491
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
492
|
+
*/
|
|
493
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FirstSleepcastPlayDateSet;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Verifies a FirstSleepcastPlayDateSet message.
|
|
497
|
+
* @param message Plain object to verify
|
|
498
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
499
|
+
*/
|
|
500
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Creates a FirstSleepcastPlayDateSet message from a plain object. Also converts values to their respective internal types.
|
|
504
|
+
* @param object Plain object
|
|
505
|
+
* @returns FirstSleepcastPlayDateSet
|
|
506
|
+
*/
|
|
507
|
+
public static fromObject(object: { [k: string]: any }): FirstSleepcastPlayDateSet;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Creates a plain object from a FirstSleepcastPlayDateSet message. Also converts values to other types if specified.
|
|
511
|
+
* @param message FirstSleepcastPlayDateSet
|
|
512
|
+
* @param [options] Conversion options
|
|
513
|
+
* @returns Plain object
|
|
514
|
+
*/
|
|
515
|
+
public static toObject(message: FirstSleepcastPlayDateSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Converts this FirstSleepcastPlayDateSet to JSON.
|
|
519
|
+
* @returns JSON object
|
|
520
|
+
*/
|
|
521
|
+
public toJSON(): { [k: string]: any };
|
|
431
522
|
}
|
|
432
523
|
|
|
433
|
-
|
|
524
|
+
/** Properties of a NumSleepcastPlaysSet. */
|
|
525
|
+
export interface INumSleepcastPlaysSet {
|
|
526
|
+
|
|
527
|
+
/** NumSleepcastPlaysSet timestamp */
|
|
528
|
+
timestamp?: (number|Long|null);
|
|
529
|
+
|
|
530
|
+
/** NumSleepcastPlaysSet userId */
|
|
531
|
+
userId?: (string|null);
|
|
532
|
+
|
|
533
|
+
/** NumSleepcastPlaysSet numPlays */
|
|
534
|
+
numPlays?: (number|null);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/** Represents a NumSleepcastPlaysSet. */
|
|
538
|
+
export class NumSleepcastPlaysSet implements INumSleepcastPlaysSet {
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Constructs a new NumSleepcastPlaysSet.
|
|
542
|
+
* @param [properties] Properties to set
|
|
543
|
+
*/
|
|
544
|
+
constructor(properties?: INumSleepcastPlaysSet);
|
|
545
|
+
|
|
546
|
+
/** NumSleepcastPlaysSet timestamp. */
|
|
547
|
+
public timestamp: (number|Long);
|
|
548
|
+
|
|
549
|
+
/** NumSleepcastPlaysSet userId. */
|
|
550
|
+
public userId: string;
|
|
551
|
+
|
|
552
|
+
/** NumSleepcastPlaysSet numPlays. */
|
|
553
|
+
public numPlays: number;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Creates a new NumSleepcastPlaysSet instance using the specified properties.
|
|
557
|
+
* @param [properties] Properties to set
|
|
558
|
+
* @returns NumSleepcastPlaysSet instance
|
|
559
|
+
*/
|
|
560
|
+
public static create(properties?: INumSleepcastPlaysSet): NumSleepcastPlaysSet;
|
|
434
561
|
|
|
435
562
|
/**
|
|
436
|
-
*
|
|
437
|
-
* @param
|
|
438
|
-
* @param [
|
|
563
|
+
* Encodes the specified NumSleepcastPlaysSet message. Does not implicitly {@link NumSleepcastPlaysSet.verify|verify} messages.
|
|
564
|
+
* @param message NumSleepcastPlaysSet message or plain object to encode
|
|
565
|
+
* @param [writer] Writer to encode to
|
|
566
|
+
* @returns Writer
|
|
567
|
+
*/
|
|
568
|
+
public static encode(message: INumSleepcastPlaysSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Encodes the specified NumSleepcastPlaysSet message, length delimited. Does not implicitly {@link NumSleepcastPlaysSet.verify|verify} messages.
|
|
572
|
+
* @param message NumSleepcastPlaysSet message or plain object to encode
|
|
573
|
+
* @param [writer] Writer to encode to
|
|
574
|
+
* @returns Writer
|
|
575
|
+
*/
|
|
576
|
+
public static encodeDelimited(message: INumSleepcastPlaysSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Decodes a NumSleepcastPlaysSet message from the specified reader or buffer.
|
|
580
|
+
* @param reader Reader or buffer to decode from
|
|
581
|
+
* @param [length] Message length if known beforehand
|
|
582
|
+
* @returns NumSleepcastPlaysSet
|
|
583
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
584
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
439
585
|
*/
|
|
440
|
-
|
|
586
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NumSleepcastPlaysSet;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Decodes a NumSleepcastPlaysSet message from the specified reader or buffer, length delimited.
|
|
590
|
+
* @param reader Reader or buffer to decode from
|
|
591
|
+
* @returns NumSleepcastPlaysSet
|
|
592
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
593
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
594
|
+
*/
|
|
595
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NumSleepcastPlaysSet;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Verifies a NumSleepcastPlaysSet message.
|
|
599
|
+
* @param message Plain object to verify
|
|
600
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
601
|
+
*/
|
|
602
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Creates a NumSleepcastPlaysSet message from a plain object. Also converts values to their respective internal types.
|
|
606
|
+
* @param object Plain object
|
|
607
|
+
* @returns NumSleepcastPlaysSet
|
|
608
|
+
*/
|
|
609
|
+
public static fromObject(object: { [k: string]: any }): NumSleepcastPlaysSet;
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Creates a plain object from a NumSleepcastPlaysSet message. Also converts values to other types if specified.
|
|
613
|
+
* @param message NumSleepcastPlaysSet
|
|
614
|
+
* @param [options] Conversion options
|
|
615
|
+
* @returns Plain object
|
|
616
|
+
*/
|
|
617
|
+
public static toObject(message: NumSleepcastPlaysSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Converts this NumSleepcastPlaysSet to JSON.
|
|
621
|
+
* @returns JSON object
|
|
622
|
+
*/
|
|
623
|
+
public toJSON(): { [k: string]: any };
|
|
441
624
|
}
|
|
442
625
|
|
|
443
626
|
/** Properties of a SubscriptionCreated. */
|
|
@@ -448,6 +631,9 @@ export interface ISubscriptionCreated {
|
|
|
448
631
|
|
|
449
632
|
/** SubscriptionCreated updatedOn */
|
|
450
633
|
updatedOn?: (number|Long|null);
|
|
634
|
+
|
|
635
|
+
/** SubscriptionCreated userId */
|
|
636
|
+
userId?: (string|null);
|
|
451
637
|
}
|
|
452
638
|
|
|
453
639
|
/** Represents a SubscriptionCreated. */
|
|
@@ -465,6 +651,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
465
651
|
/** SubscriptionCreated updatedOn. */
|
|
466
652
|
public updatedOn: (number|Long);
|
|
467
653
|
|
|
654
|
+
/** SubscriptionCreated userId. */
|
|
655
|
+
public userId: string;
|
|
656
|
+
|
|
468
657
|
/**
|
|
469
658
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
470
659
|
* @param [properties] Properties to set
|
|
@@ -544,6 +733,9 @@ export interface ISubscriptionCancelled {
|
|
|
544
733
|
|
|
545
734
|
/** SubscriptionCancelled updatedOn */
|
|
546
735
|
updatedOn?: (number|Long|null);
|
|
736
|
+
|
|
737
|
+
/** SubscriptionCancelled userId */
|
|
738
|
+
userId?: (string|null);
|
|
547
739
|
}
|
|
548
740
|
|
|
549
741
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -561,6 +753,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
561
753
|
/** SubscriptionCancelled updatedOn. */
|
|
562
754
|
public updatedOn: (number|Long);
|
|
563
755
|
|
|
756
|
+
/** SubscriptionCancelled userId. */
|
|
757
|
+
public userId: string;
|
|
758
|
+
|
|
564
759
|
/**
|
|
565
760
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
566
761
|
* @param [properties] Properties to set
|
|
@@ -631,3 +826,207 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
631
826
|
*/
|
|
632
827
|
public toJSON(): { [k: string]: any };
|
|
633
828
|
}
|
|
829
|
+
|
|
830
|
+
/** Properties of a SubscriptionRenewed. */
|
|
831
|
+
export interface ISubscriptionRenewed {
|
|
832
|
+
|
|
833
|
+
/** SubscriptionRenewed id */
|
|
834
|
+
id?: (number|null);
|
|
835
|
+
|
|
836
|
+
/** SubscriptionRenewed updatedOn */
|
|
837
|
+
updatedOn?: (number|Long|null);
|
|
838
|
+
|
|
839
|
+
/** SubscriptionRenewed userId */
|
|
840
|
+
userId?: (string|null);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/** Represents a SubscriptionRenewed. */
|
|
844
|
+
export class SubscriptionRenewed implements ISubscriptionRenewed {
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Constructs a new SubscriptionRenewed.
|
|
848
|
+
* @param [properties] Properties to set
|
|
849
|
+
*/
|
|
850
|
+
constructor(properties?: ISubscriptionRenewed);
|
|
851
|
+
|
|
852
|
+
/** SubscriptionRenewed id. */
|
|
853
|
+
public id: number;
|
|
854
|
+
|
|
855
|
+
/** SubscriptionRenewed updatedOn. */
|
|
856
|
+
public updatedOn: (number|Long);
|
|
857
|
+
|
|
858
|
+
/** SubscriptionRenewed userId. */
|
|
859
|
+
public userId: string;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Creates a new SubscriptionRenewed instance using the specified properties.
|
|
863
|
+
* @param [properties] Properties to set
|
|
864
|
+
* @returns SubscriptionRenewed instance
|
|
865
|
+
*/
|
|
866
|
+
public static create(properties?: ISubscriptionRenewed): SubscriptionRenewed;
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Encodes the specified SubscriptionRenewed message. Does not implicitly {@link SubscriptionRenewed.verify|verify} messages.
|
|
870
|
+
* @param message SubscriptionRenewed message or plain object to encode
|
|
871
|
+
* @param [writer] Writer to encode to
|
|
872
|
+
* @returns Writer
|
|
873
|
+
*/
|
|
874
|
+
public static encode(message: ISubscriptionRenewed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Encodes the specified SubscriptionRenewed message, length delimited. Does not implicitly {@link SubscriptionRenewed.verify|verify} messages.
|
|
878
|
+
* @param message SubscriptionRenewed message or plain object to encode
|
|
879
|
+
* @param [writer] Writer to encode to
|
|
880
|
+
* @returns Writer
|
|
881
|
+
*/
|
|
882
|
+
public static encodeDelimited(message: ISubscriptionRenewed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Decodes a SubscriptionRenewed message from the specified reader or buffer.
|
|
886
|
+
* @param reader Reader or buffer to decode from
|
|
887
|
+
* @param [length] Message length if known beforehand
|
|
888
|
+
* @returns SubscriptionRenewed
|
|
889
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
890
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
891
|
+
*/
|
|
892
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionRenewed;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* Decodes a SubscriptionRenewed message from the specified reader or buffer, length delimited.
|
|
896
|
+
* @param reader Reader or buffer to decode from
|
|
897
|
+
* @returns SubscriptionRenewed
|
|
898
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
899
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
900
|
+
*/
|
|
901
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionRenewed;
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Verifies a SubscriptionRenewed message.
|
|
905
|
+
* @param message Plain object to verify
|
|
906
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
907
|
+
*/
|
|
908
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Creates a SubscriptionRenewed message from a plain object. Also converts values to their respective internal types.
|
|
912
|
+
* @param object Plain object
|
|
913
|
+
* @returns SubscriptionRenewed
|
|
914
|
+
*/
|
|
915
|
+
public static fromObject(object: { [k: string]: any }): SubscriptionRenewed;
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Creates a plain object from a SubscriptionRenewed message. Also converts values to other types if specified.
|
|
919
|
+
* @param message SubscriptionRenewed
|
|
920
|
+
* @param [options] Conversion options
|
|
921
|
+
* @returns Plain object
|
|
922
|
+
*/
|
|
923
|
+
public static toObject(message: SubscriptionRenewed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Converts this SubscriptionRenewed to JSON.
|
|
927
|
+
* @returns JSON object
|
|
928
|
+
*/
|
|
929
|
+
public toJSON(): { [k: string]: any };
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/** Properties of a UserPasswordUpdated. */
|
|
933
|
+
export interface IUserPasswordUpdated {
|
|
934
|
+
|
|
935
|
+
/** UserPasswordUpdated userId */
|
|
936
|
+
userId?: (string|null);
|
|
937
|
+
|
|
938
|
+
/** UserPasswordUpdated updatedOn */
|
|
939
|
+
updatedOn?: (number|Long|null);
|
|
940
|
+
|
|
941
|
+
/** UserPasswordUpdated email */
|
|
942
|
+
email?: (string|null);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/** Represents a UserPasswordUpdated. */
|
|
946
|
+
export class UserPasswordUpdated implements IUserPasswordUpdated {
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* Constructs a new UserPasswordUpdated.
|
|
950
|
+
* @param [properties] Properties to set
|
|
951
|
+
*/
|
|
952
|
+
constructor(properties?: IUserPasswordUpdated);
|
|
953
|
+
|
|
954
|
+
/** UserPasswordUpdated userId. */
|
|
955
|
+
public userId: string;
|
|
956
|
+
|
|
957
|
+
/** UserPasswordUpdated updatedOn. */
|
|
958
|
+
public updatedOn: (number|Long);
|
|
959
|
+
|
|
960
|
+
/** UserPasswordUpdated email. */
|
|
961
|
+
public email: string;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Creates a new UserPasswordUpdated instance using the specified properties.
|
|
965
|
+
* @param [properties] Properties to set
|
|
966
|
+
* @returns UserPasswordUpdated instance
|
|
967
|
+
*/
|
|
968
|
+
public static create(properties?: IUserPasswordUpdated): UserPasswordUpdated;
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
972
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
973
|
+
* @param [writer] Writer to encode to
|
|
974
|
+
* @returns Writer
|
|
975
|
+
*/
|
|
976
|
+
public static encode(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
980
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
981
|
+
* @param [writer] Writer to encode to
|
|
982
|
+
* @returns Writer
|
|
983
|
+
*/
|
|
984
|
+
public static encodeDelimited(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer.
|
|
988
|
+
* @param reader Reader or buffer to decode from
|
|
989
|
+
* @param [length] Message length if known beforehand
|
|
990
|
+
* @returns UserPasswordUpdated
|
|
991
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
992
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
993
|
+
*/
|
|
994
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordUpdated;
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
|
|
998
|
+
* @param reader Reader or buffer to decode from
|
|
999
|
+
* @returns UserPasswordUpdated
|
|
1000
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1001
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1002
|
+
*/
|
|
1003
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordUpdated;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Verifies a UserPasswordUpdated message.
|
|
1007
|
+
* @param message Plain object to verify
|
|
1008
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1009
|
+
*/
|
|
1010
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
|
|
1014
|
+
* @param object Plain object
|
|
1015
|
+
* @returns UserPasswordUpdated
|
|
1016
|
+
*/
|
|
1017
|
+
public static fromObject(object: { [k: string]: any }): UserPasswordUpdated;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
|
|
1021
|
+
* @param message UserPasswordUpdated
|
|
1022
|
+
* @param [options] Conversion options
|
|
1023
|
+
* @returns Plain object
|
|
1024
|
+
*/
|
|
1025
|
+
public static toObject(message: UserPasswordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Converts this UserPasswordUpdated to JSON.
|
|
1029
|
+
* @returns JSON object
|
|
1030
|
+
*/
|
|
1031
|
+
public toJSON(): { [k: string]: any };
|
|
1032
|
+
}
|