@headspace/protos-events 0.0.22 → 0.1.0-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 CHANGED
@@ -215,414 +215,6 @@ 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
-
626
218
  /** Properties of a SubscriptionCreated. */
627
219
  export interface ISubscriptionCreated {
628
220
 
@@ -814,105 +406,3 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
814
406
  */
815
407
  public toJSON(): { [k: string]: any };
816
408
  }
817
-
818
- /** Properties of a UserPasswordUpdated. */
819
- export interface IUserPasswordUpdated {
820
-
821
- /** UserPasswordUpdated userId */
822
- userId?: (string|null);
823
-
824
- /** UserPasswordUpdated updatedOn */
825
- updatedOn?: (number|Long|null);
826
-
827
- /** UserPasswordUpdated email */
828
- email?: (string|null);
829
- }
830
-
831
- /** Represents a UserPasswordUpdated. */
832
- export class UserPasswordUpdated implements IUserPasswordUpdated {
833
-
834
- /**
835
- * Constructs a new UserPasswordUpdated.
836
- * @param [properties] Properties to set
837
- */
838
- constructor(properties?: IUserPasswordUpdated);
839
-
840
- /** UserPasswordUpdated userId. */
841
- public userId: string;
842
-
843
- /** UserPasswordUpdated updatedOn. */
844
- public updatedOn: (number|Long);
845
-
846
- /** UserPasswordUpdated email. */
847
- public email: string;
848
-
849
- /**
850
- * Creates a new UserPasswordUpdated instance using the specified properties.
851
- * @param [properties] Properties to set
852
- * @returns UserPasswordUpdated instance
853
- */
854
- public static create(properties?: IUserPasswordUpdated): UserPasswordUpdated;
855
-
856
- /**
857
- * Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
858
- * @param message UserPasswordUpdated message or plain object to encode
859
- * @param [writer] Writer to encode to
860
- * @returns Writer
861
- */
862
- public static encode(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
863
-
864
- /**
865
- * Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
866
- * @param message UserPasswordUpdated message or plain object to encode
867
- * @param [writer] Writer to encode to
868
- * @returns Writer
869
- */
870
- public static encodeDelimited(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
871
-
872
- /**
873
- * Decodes a UserPasswordUpdated message from the specified reader or buffer.
874
- * @param reader Reader or buffer to decode from
875
- * @param [length] Message length if known beforehand
876
- * @returns UserPasswordUpdated
877
- * @throws {Error} If the payload is not a reader or valid buffer
878
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
879
- */
880
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordUpdated;
881
-
882
- /**
883
- * Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
884
- * @param reader Reader or buffer to decode from
885
- * @returns UserPasswordUpdated
886
- * @throws {Error} If the payload is not a reader or valid buffer
887
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
888
- */
889
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordUpdated;
890
-
891
- /**
892
- * Verifies a UserPasswordUpdated message.
893
- * @param message Plain object to verify
894
- * @returns `null` if valid, otherwise the reason why it is not
895
- */
896
- public static verify(message: { [k: string]: any }): (string|null);
897
-
898
- /**
899
- * Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
900
- * @param object Plain object
901
- * @returns UserPasswordUpdated
902
- */
903
- public static fromObject(object: { [k: string]: any }): UserPasswordUpdated;
904
-
905
- /**
906
- * Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
907
- * @param message UserPasswordUpdated
908
- * @param [options] Conversion options
909
- * @returns Plain object
910
- */
911
- public static toObject(message: UserPasswordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
912
-
913
- /**
914
- * Converts this UserPasswordUpdated to JSON.
915
- * @returns JSON object
916
- */
917
- public toJSON(): { [k: string]: any };
918
- }