@headspace/protos-events 0.1.0-a.0 → 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 +624 -0
- package/lib/index.js +1661 -127
- package/package.json +11 -10
- package/community.proto +0 -15
- package/subscription.proto +0 -11
package/lib/index.d.ts
CHANGED
|
@@ -215,6 +215,414 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
|
215
215
|
public toJSON(): { [k: string]: any };
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
/** Properties of a VoiceDeviceConnected. */
|
|
219
|
+
export interface IVoiceDeviceConnected {
|
|
220
|
+
|
|
221
|
+
/** VoiceDeviceConnected userId */
|
|
222
|
+
userId?: (string|null);
|
|
223
|
+
|
|
224
|
+
/** VoiceDeviceConnected platform */
|
|
225
|
+
platform?: (string|null);
|
|
226
|
+
|
|
227
|
+
/** VoiceDeviceConnected timestamp */
|
|
228
|
+
timestamp?: (number|Long|null);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/** Represents a VoiceDeviceConnected. */
|
|
232
|
+
export class VoiceDeviceConnected implements IVoiceDeviceConnected {
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Constructs a new VoiceDeviceConnected.
|
|
236
|
+
* @param [properties] Properties to set
|
|
237
|
+
*/
|
|
238
|
+
constructor(properties?: IVoiceDeviceConnected);
|
|
239
|
+
|
|
240
|
+
/** VoiceDeviceConnected userId. */
|
|
241
|
+
public userId: string;
|
|
242
|
+
|
|
243
|
+
/** VoiceDeviceConnected platform. */
|
|
244
|
+
public platform: string;
|
|
245
|
+
|
|
246
|
+
/** VoiceDeviceConnected timestamp. */
|
|
247
|
+
public timestamp: (number|Long);
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Creates a new VoiceDeviceConnected instance using the specified properties.
|
|
251
|
+
* @param [properties] Properties to set
|
|
252
|
+
* @returns VoiceDeviceConnected instance
|
|
253
|
+
*/
|
|
254
|
+
public static create(properties?: IVoiceDeviceConnected): VoiceDeviceConnected;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Encodes the specified VoiceDeviceConnected message. Does not implicitly {@link VoiceDeviceConnected.verify|verify} messages.
|
|
258
|
+
* @param message VoiceDeviceConnected message or plain object to encode
|
|
259
|
+
* @param [writer] Writer to encode to
|
|
260
|
+
* @returns Writer
|
|
261
|
+
*/
|
|
262
|
+
public static encode(message: IVoiceDeviceConnected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
263
|
+
|
|
264
|
+
/**
|
|
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
|
|
267
|
+
* @param [writer] Writer to encode to
|
|
268
|
+
* @returns Writer
|
|
269
|
+
*/
|
|
270
|
+
public static encodeDelimited(message: IVoiceDeviceConnected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Decodes a VoiceDeviceConnected message from the specified reader or buffer.
|
|
274
|
+
* @param reader Reader or buffer to decode from
|
|
275
|
+
* @param [length] Message length if known beforehand
|
|
276
|
+
* @returns VoiceDeviceConnected
|
|
277
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
278
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
279
|
+
*/
|
|
280
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VoiceDeviceConnected;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Decodes a VoiceDeviceConnected message from the specified reader or buffer, length delimited.
|
|
284
|
+
* @param reader Reader or buffer to decode from
|
|
285
|
+
* @returns VoiceDeviceConnected
|
|
286
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
287
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
288
|
+
*/
|
|
289
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VoiceDeviceConnected;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Verifies a VoiceDeviceConnected message.
|
|
293
|
+
* @param message Plain object to verify
|
|
294
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
295
|
+
*/
|
|
296
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Creates a VoiceDeviceConnected message from a plain object. Also converts values to their respective internal types.
|
|
300
|
+
* @param object Plain object
|
|
301
|
+
* @returns VoiceDeviceConnected
|
|
302
|
+
*/
|
|
303
|
+
public static fromObject(object: { [k: string]: any }): VoiceDeviceConnected;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Creates a plain object from a VoiceDeviceConnected message. Also converts values to other types if specified.
|
|
307
|
+
* @param message VoiceDeviceConnected
|
|
308
|
+
* @param [options] Conversion options
|
|
309
|
+
* @returns Plain object
|
|
310
|
+
*/
|
|
311
|
+
public static toObject(message: VoiceDeviceConnected, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Converts this VoiceDeviceConnected to JSON.
|
|
315
|
+
* @returns JSON object
|
|
316
|
+
*/
|
|
317
|
+
public toJSON(): { [k: string]: any };
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** Properties of a SleepcastEpisodeCompleted. */
|
|
321
|
+
export interface ISleepcastEpisodeCompleted {
|
|
322
|
+
|
|
323
|
+
/** SleepcastEpisodeCompleted timestamp */
|
|
324
|
+
timestamp?: (number|Long|null);
|
|
325
|
+
|
|
326
|
+
/** SleepcastEpisodeCompleted sleepcastId */
|
|
327
|
+
sleepcastId?: (number|null);
|
|
328
|
+
|
|
329
|
+
/** SleepcastEpisodeCompleted userId */
|
|
330
|
+
userId?: (string|null);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/** Represents a SleepcastEpisodeCompleted. */
|
|
334
|
+
export class SleepcastEpisodeCompleted implements ISleepcastEpisodeCompleted {
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Constructs a new SleepcastEpisodeCompleted.
|
|
338
|
+
* @param [properties] Properties to set
|
|
339
|
+
*/
|
|
340
|
+
constructor(properties?: ISleepcastEpisodeCompleted);
|
|
341
|
+
|
|
342
|
+
/** SleepcastEpisodeCompleted timestamp. */
|
|
343
|
+
public timestamp: (number|Long);
|
|
344
|
+
|
|
345
|
+
/** SleepcastEpisodeCompleted sleepcastId. */
|
|
346
|
+
public sleepcastId: number;
|
|
347
|
+
|
|
348
|
+
/** SleepcastEpisodeCompleted userId. */
|
|
349
|
+
public userId: string;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Creates a new SleepcastEpisodeCompleted instance using the specified properties.
|
|
353
|
+
* @param [properties] Properties to set
|
|
354
|
+
* @returns SleepcastEpisodeCompleted instance
|
|
355
|
+
*/
|
|
356
|
+
public static create(properties?: ISleepcastEpisodeCompleted): SleepcastEpisodeCompleted;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Encodes the specified SleepcastEpisodeCompleted message. Does not implicitly {@link SleepcastEpisodeCompleted.verify|verify} messages.
|
|
360
|
+
* @param message SleepcastEpisodeCompleted message or plain object to encode
|
|
361
|
+
* @param [writer] Writer to encode to
|
|
362
|
+
* @returns Writer
|
|
363
|
+
*/
|
|
364
|
+
public static encode(message: ISleepcastEpisodeCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
365
|
+
|
|
366
|
+
/**
|
|
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
|
|
369
|
+
* @param [writer] Writer to encode to
|
|
370
|
+
* @returns Writer
|
|
371
|
+
*/
|
|
372
|
+
public static encodeDelimited(message: ISleepcastEpisodeCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Decodes a SleepcastEpisodeCompleted message from the specified reader or buffer.
|
|
376
|
+
* @param reader Reader or buffer to decode from
|
|
377
|
+
* @param [length] Message length if known beforehand
|
|
378
|
+
* @returns SleepcastEpisodeCompleted
|
|
379
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
380
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
381
|
+
*/
|
|
382
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SleepcastEpisodeCompleted;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Decodes a SleepcastEpisodeCompleted message from the specified reader or buffer, length delimited.
|
|
386
|
+
* @param reader Reader or buffer to decode from
|
|
387
|
+
* @returns SleepcastEpisodeCompleted
|
|
388
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
389
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
390
|
+
*/
|
|
391
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SleepcastEpisodeCompleted;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Verifies a SleepcastEpisodeCompleted message.
|
|
395
|
+
* @param message Plain object to verify
|
|
396
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
397
|
+
*/
|
|
398
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Creates a SleepcastEpisodeCompleted message from a plain object. Also converts values to their respective internal types.
|
|
402
|
+
* @param object Plain object
|
|
403
|
+
* @returns SleepcastEpisodeCompleted
|
|
404
|
+
*/
|
|
405
|
+
public static fromObject(object: { [k: string]: any }): SleepcastEpisodeCompleted;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Creates a plain object from a SleepcastEpisodeCompleted message. Also converts values to other types if specified.
|
|
409
|
+
* @param message SleepcastEpisodeCompleted
|
|
410
|
+
* @param [options] Conversion options
|
|
411
|
+
* @returns Plain object
|
|
412
|
+
*/
|
|
413
|
+
public static toObject(message: SleepcastEpisodeCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Converts this SleepcastEpisodeCompleted to JSON.
|
|
417
|
+
* @returns JSON object
|
|
418
|
+
*/
|
|
419
|
+
public toJSON(): { [k: string]: any };
|
|
420
|
+
}
|
|
421
|
+
|
|
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 {
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Constructs a new FirstSleepcastPlayDateSet.
|
|
440
|
+
* @param [properties] Properties to set
|
|
441
|
+
*/
|
|
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);
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Creates a new FirstSleepcastPlayDateSet instance using the specified properties.
|
|
455
|
+
* @param [properties] Properties to set
|
|
456
|
+
* @returns FirstSleepcastPlayDateSet instance
|
|
457
|
+
*/
|
|
458
|
+
public static create(properties?: IFirstSleepcastPlayDateSet): FirstSleepcastPlayDateSet;
|
|
459
|
+
|
|
460
|
+
/**
|
|
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
|
|
465
|
+
*/
|
|
466
|
+
public static encode(message: IFirstSleepcastPlayDateSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
467
|
+
|
|
468
|
+
/**
|
|
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
|
|
473
|
+
*/
|
|
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 };
|
|
522
|
+
}
|
|
523
|
+
|
|
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;
|
|
561
|
+
|
|
562
|
+
/**
|
|
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
|
|
585
|
+
*/
|
|
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 };
|
|
624
|
+
}
|
|
625
|
+
|
|
218
626
|
/** Properties of a SubscriptionCreated. */
|
|
219
627
|
export interface ISubscriptionCreated {
|
|
220
628
|
|
|
@@ -223,6 +631,9 @@ export interface ISubscriptionCreated {
|
|
|
223
631
|
|
|
224
632
|
/** SubscriptionCreated updatedOn */
|
|
225
633
|
updatedOn?: (number|Long|null);
|
|
634
|
+
|
|
635
|
+
/** SubscriptionCreated userId */
|
|
636
|
+
userId?: (string|null);
|
|
226
637
|
}
|
|
227
638
|
|
|
228
639
|
/** Represents a SubscriptionCreated. */
|
|
@@ -240,6 +651,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
240
651
|
/** SubscriptionCreated updatedOn. */
|
|
241
652
|
public updatedOn: (number|Long);
|
|
242
653
|
|
|
654
|
+
/** SubscriptionCreated userId. */
|
|
655
|
+
public userId: string;
|
|
656
|
+
|
|
243
657
|
/**
|
|
244
658
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
245
659
|
* @param [properties] Properties to set
|
|
@@ -319,6 +733,9 @@ export interface ISubscriptionCancelled {
|
|
|
319
733
|
|
|
320
734
|
/** SubscriptionCancelled updatedOn */
|
|
321
735
|
updatedOn?: (number|Long|null);
|
|
736
|
+
|
|
737
|
+
/** SubscriptionCancelled userId */
|
|
738
|
+
userId?: (string|null);
|
|
322
739
|
}
|
|
323
740
|
|
|
324
741
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -336,6 +753,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
336
753
|
/** SubscriptionCancelled updatedOn. */
|
|
337
754
|
public updatedOn: (number|Long);
|
|
338
755
|
|
|
756
|
+
/** SubscriptionCancelled userId. */
|
|
757
|
+
public userId: string;
|
|
758
|
+
|
|
339
759
|
/**
|
|
340
760
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
341
761
|
* @param [properties] Properties to set
|
|
@@ -406,3 +826,207 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
406
826
|
*/
|
|
407
827
|
public toJSON(): { [k: string]: any };
|
|
408
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
|
+
}
|