@headspace/protos-events 1.186.0 → 1.187.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +444 -0
  2. package/lib/index.js +1694 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -13545,6 +13545,450 @@ export class ContentPlayedMetadata implements IContentPlayedMetadata {
13545
13545
  public toJSON(): { [k: string]: any };
13546
13546
  }
13547
13547
 
13548
+ /** Properties of a SleepcastContentCreated. */
13549
+ export interface ISleepcastContentCreated {
13550
+
13551
+ /** SleepcastContentCreated contentId */
13552
+ contentId?: (number|null);
13553
+
13554
+ /** SleepcastContentCreated title */
13555
+ title?: ({ [k: string]: string }|null);
13556
+
13557
+ /** SleepcastContentCreated slug */
13558
+ slug?: (string|null);
13559
+
13560
+ /** SleepcastContentCreated subtitle */
13561
+ subtitle?: ({ [k: string]: string }|null);
13562
+
13563
+ /** SleepcastContentCreated description */
13564
+ description?: ({ [k: string]: string }|null);
13565
+
13566
+ /** SleepcastContentCreated recipe */
13567
+ recipe?: (contentful.ISlugReference|null);
13568
+
13569
+ /** SleepcastContentCreated tileBackgroundMedia */
13570
+ tileBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
13571
+
13572
+ /** SleepcastContentCreated playerBackgroundMedia */
13573
+ playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
13574
+
13575
+ /** SleepcastContentCreated useVariantPresets */
13576
+ useVariantPresets?: (boolean|null);
13577
+
13578
+ /** SleepcastContentCreated isEnabled */
13579
+ isEnabled?: (boolean|null);
13580
+
13581
+ /** SleepcastContentCreated primaryAudioMedia */
13582
+ primaryAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
13583
+
13584
+ /** SleepcastContentCreated secondaryAudioMedia */
13585
+ secondaryAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
13586
+
13587
+ /** SleepcastContentCreated mixedAudioMedia */
13588
+ mixedAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
13589
+
13590
+ /** SleepcastContentCreated accessGroup */
13591
+ accessGroup?: (contentful.ISlugReference[]|null);
13592
+
13593
+ /** SleepcastContentCreated createdAt */
13594
+ createdAt?: (number|Long|null);
13595
+ }
13596
+
13597
+ /** Represents a SleepcastContentCreated. */
13598
+ export class SleepcastContentCreated implements ISleepcastContentCreated {
13599
+
13600
+ /**
13601
+ * Constructs a new SleepcastContentCreated.
13602
+ * @param [properties] Properties to set
13603
+ */
13604
+ constructor(properties?: ISleepcastContentCreated);
13605
+
13606
+ /** SleepcastContentCreated contentId. */
13607
+ public contentId: number;
13608
+
13609
+ /** SleepcastContentCreated title. */
13610
+ public title: { [k: string]: string };
13611
+
13612
+ /** SleepcastContentCreated slug. */
13613
+ public slug: string;
13614
+
13615
+ /** SleepcastContentCreated subtitle. */
13616
+ public subtitle: { [k: string]: string };
13617
+
13618
+ /** SleepcastContentCreated description. */
13619
+ public description: { [k: string]: string };
13620
+
13621
+ /** SleepcastContentCreated recipe. */
13622
+ public recipe?: (contentful.ISlugReference|null);
13623
+
13624
+ /** SleepcastContentCreated tileBackgroundMedia. */
13625
+ public tileBackgroundMedia: { [k: string]: contentful.IIdReference };
13626
+
13627
+ /** SleepcastContentCreated playerBackgroundMedia. */
13628
+ public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
13629
+
13630
+ /** SleepcastContentCreated useVariantPresets. */
13631
+ public useVariantPresets: boolean;
13632
+
13633
+ /** SleepcastContentCreated isEnabled. */
13634
+ public isEnabled: boolean;
13635
+
13636
+ /** SleepcastContentCreated primaryAudioMedia. */
13637
+ public primaryAudioMedia: { [k: string]: contentful.IIdReferences };
13638
+
13639
+ /** SleepcastContentCreated secondaryAudioMedia. */
13640
+ public secondaryAudioMedia: { [k: string]: contentful.IIdReferences };
13641
+
13642
+ /** SleepcastContentCreated mixedAudioMedia. */
13643
+ public mixedAudioMedia: { [k: string]: contentful.IIdReferences };
13644
+
13645
+ /** SleepcastContentCreated accessGroup. */
13646
+ public accessGroup: contentful.ISlugReference[];
13647
+
13648
+ /** SleepcastContentCreated createdAt. */
13649
+ public createdAt: (number|Long);
13650
+
13651
+ /**
13652
+ * Creates a new SleepcastContentCreated instance using the specified properties.
13653
+ * @param [properties] Properties to set
13654
+ * @returns SleepcastContentCreated instance
13655
+ */
13656
+ public static create(properties?: ISleepcastContentCreated): SleepcastContentCreated;
13657
+
13658
+ /**
13659
+ * Encodes the specified SleepcastContentCreated message. Does not implicitly {@link SleepcastContentCreated.verify|verify} messages.
13660
+ * @param message SleepcastContentCreated message or plain object to encode
13661
+ * @param [writer] Writer to encode to
13662
+ * @returns Writer
13663
+ */
13664
+ public static encode(message: ISleepcastContentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
13665
+
13666
+ /**
13667
+ * Encodes the specified SleepcastContentCreated message, length delimited. Does not implicitly {@link SleepcastContentCreated.verify|verify} messages.
13668
+ * @param message SleepcastContentCreated message or plain object to encode
13669
+ * @param [writer] Writer to encode to
13670
+ * @returns Writer
13671
+ */
13672
+ public static encodeDelimited(message: ISleepcastContentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
13673
+
13674
+ /**
13675
+ * Decodes a SleepcastContentCreated message from the specified reader or buffer.
13676
+ * @param reader Reader or buffer to decode from
13677
+ * @param [length] Message length if known beforehand
13678
+ * @returns SleepcastContentCreated
13679
+ * @throws {Error} If the payload is not a reader or valid buffer
13680
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13681
+ */
13682
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SleepcastContentCreated;
13683
+
13684
+ /**
13685
+ * Decodes a SleepcastContentCreated message from the specified reader or buffer, length delimited.
13686
+ * @param reader Reader or buffer to decode from
13687
+ * @returns SleepcastContentCreated
13688
+ * @throws {Error} If the payload is not a reader or valid buffer
13689
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13690
+ */
13691
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SleepcastContentCreated;
13692
+
13693
+ /**
13694
+ * Verifies a SleepcastContentCreated message.
13695
+ * @param message Plain object to verify
13696
+ * @returns `null` if valid, otherwise the reason why it is not
13697
+ */
13698
+ public static verify(message: { [k: string]: any }): (string|null);
13699
+
13700
+ /**
13701
+ * Creates a SleepcastContentCreated message from a plain object. Also converts values to their respective internal types.
13702
+ * @param object Plain object
13703
+ * @returns SleepcastContentCreated
13704
+ */
13705
+ public static fromObject(object: { [k: string]: any }): SleepcastContentCreated;
13706
+
13707
+ /**
13708
+ * Creates a plain object from a SleepcastContentCreated message. Also converts values to other types if specified.
13709
+ * @param message SleepcastContentCreated
13710
+ * @param [options] Conversion options
13711
+ * @returns Plain object
13712
+ */
13713
+ public static toObject(message: SleepcastContentCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
13714
+
13715
+ /**
13716
+ * Converts this SleepcastContentCreated to JSON.
13717
+ * @returns JSON object
13718
+ */
13719
+ public toJSON(): { [k: string]: any };
13720
+ }
13721
+
13722
+ /** Properties of a SleepcastContentUpdated. */
13723
+ export interface ISleepcastContentUpdated {
13724
+
13725
+ /** SleepcastContentUpdated contentId */
13726
+ contentId?: (number|null);
13727
+
13728
+ /** SleepcastContentUpdated title */
13729
+ title?: ({ [k: string]: string }|null);
13730
+
13731
+ /** SleepcastContentUpdated slug */
13732
+ slug?: (string|null);
13733
+
13734
+ /** SleepcastContentUpdated subtitle */
13735
+ subtitle?: ({ [k: string]: string }|null);
13736
+
13737
+ /** SleepcastContentUpdated description */
13738
+ description?: ({ [k: string]: string }|null);
13739
+
13740
+ /** SleepcastContentUpdated recipe */
13741
+ recipe?: (contentful.ISlugReference|null);
13742
+
13743
+ /** SleepcastContentUpdated tileBackgroundMedia */
13744
+ tileBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
13745
+
13746
+ /** SleepcastContentUpdated playerBackgroundMedia */
13747
+ playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
13748
+
13749
+ /** SleepcastContentUpdated useVariantPresets */
13750
+ useVariantPresets?: (boolean|null);
13751
+
13752
+ /** SleepcastContentUpdated isEnabled */
13753
+ isEnabled?: (boolean|null);
13754
+
13755
+ /** SleepcastContentUpdated primaryAudioMedia */
13756
+ primaryAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
13757
+
13758
+ /** SleepcastContentUpdated secondaryAudioMedia */
13759
+ secondaryAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
13760
+
13761
+ /** SleepcastContentUpdated mixedAudioMedia */
13762
+ mixedAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
13763
+
13764
+ /** SleepcastContentUpdated accessGroup */
13765
+ accessGroup?: (contentful.ISlugReference[]|null);
13766
+
13767
+ /** SleepcastContentUpdated updatedAt */
13768
+ updatedAt?: (number|Long|null);
13769
+ }
13770
+
13771
+ /** Represents a SleepcastContentUpdated. */
13772
+ export class SleepcastContentUpdated implements ISleepcastContentUpdated {
13773
+
13774
+ /**
13775
+ * Constructs a new SleepcastContentUpdated.
13776
+ * @param [properties] Properties to set
13777
+ */
13778
+ constructor(properties?: ISleepcastContentUpdated);
13779
+
13780
+ /** SleepcastContentUpdated contentId. */
13781
+ public contentId: number;
13782
+
13783
+ /** SleepcastContentUpdated title. */
13784
+ public title: { [k: string]: string };
13785
+
13786
+ /** SleepcastContentUpdated slug. */
13787
+ public slug: string;
13788
+
13789
+ /** SleepcastContentUpdated subtitle. */
13790
+ public subtitle: { [k: string]: string };
13791
+
13792
+ /** SleepcastContentUpdated description. */
13793
+ public description: { [k: string]: string };
13794
+
13795
+ /** SleepcastContentUpdated recipe. */
13796
+ public recipe?: (contentful.ISlugReference|null);
13797
+
13798
+ /** SleepcastContentUpdated tileBackgroundMedia. */
13799
+ public tileBackgroundMedia: { [k: string]: contentful.IIdReference };
13800
+
13801
+ /** SleepcastContentUpdated playerBackgroundMedia. */
13802
+ public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
13803
+
13804
+ /** SleepcastContentUpdated useVariantPresets. */
13805
+ public useVariantPresets: boolean;
13806
+
13807
+ /** SleepcastContentUpdated isEnabled. */
13808
+ public isEnabled: boolean;
13809
+
13810
+ /** SleepcastContentUpdated primaryAudioMedia. */
13811
+ public primaryAudioMedia: { [k: string]: contentful.IIdReferences };
13812
+
13813
+ /** SleepcastContentUpdated secondaryAudioMedia. */
13814
+ public secondaryAudioMedia: { [k: string]: contentful.IIdReferences };
13815
+
13816
+ /** SleepcastContentUpdated mixedAudioMedia. */
13817
+ public mixedAudioMedia: { [k: string]: contentful.IIdReferences };
13818
+
13819
+ /** SleepcastContentUpdated accessGroup. */
13820
+ public accessGroup: contentful.ISlugReference[];
13821
+
13822
+ /** SleepcastContentUpdated updatedAt. */
13823
+ public updatedAt: (number|Long);
13824
+
13825
+ /**
13826
+ * Creates a new SleepcastContentUpdated instance using the specified properties.
13827
+ * @param [properties] Properties to set
13828
+ * @returns SleepcastContentUpdated instance
13829
+ */
13830
+ public static create(properties?: ISleepcastContentUpdated): SleepcastContentUpdated;
13831
+
13832
+ /**
13833
+ * Encodes the specified SleepcastContentUpdated message. Does not implicitly {@link SleepcastContentUpdated.verify|verify} messages.
13834
+ * @param message SleepcastContentUpdated message or plain object to encode
13835
+ * @param [writer] Writer to encode to
13836
+ * @returns Writer
13837
+ */
13838
+ public static encode(message: ISleepcastContentUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
13839
+
13840
+ /**
13841
+ * Encodes the specified SleepcastContentUpdated message, length delimited. Does not implicitly {@link SleepcastContentUpdated.verify|verify} messages.
13842
+ * @param message SleepcastContentUpdated message or plain object to encode
13843
+ * @param [writer] Writer to encode to
13844
+ * @returns Writer
13845
+ */
13846
+ public static encodeDelimited(message: ISleepcastContentUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
13847
+
13848
+ /**
13849
+ * Decodes a SleepcastContentUpdated message from the specified reader or buffer.
13850
+ * @param reader Reader or buffer to decode from
13851
+ * @param [length] Message length if known beforehand
13852
+ * @returns SleepcastContentUpdated
13853
+ * @throws {Error} If the payload is not a reader or valid buffer
13854
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13855
+ */
13856
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SleepcastContentUpdated;
13857
+
13858
+ /**
13859
+ * Decodes a SleepcastContentUpdated message from the specified reader or buffer, length delimited.
13860
+ * @param reader Reader or buffer to decode from
13861
+ * @returns SleepcastContentUpdated
13862
+ * @throws {Error} If the payload is not a reader or valid buffer
13863
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13864
+ */
13865
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SleepcastContentUpdated;
13866
+
13867
+ /**
13868
+ * Verifies a SleepcastContentUpdated message.
13869
+ * @param message Plain object to verify
13870
+ * @returns `null` if valid, otherwise the reason why it is not
13871
+ */
13872
+ public static verify(message: { [k: string]: any }): (string|null);
13873
+
13874
+ /**
13875
+ * Creates a SleepcastContentUpdated message from a plain object. Also converts values to their respective internal types.
13876
+ * @param object Plain object
13877
+ * @returns SleepcastContentUpdated
13878
+ */
13879
+ public static fromObject(object: { [k: string]: any }): SleepcastContentUpdated;
13880
+
13881
+ /**
13882
+ * Creates a plain object from a SleepcastContentUpdated message. Also converts values to other types if specified.
13883
+ * @param message SleepcastContentUpdated
13884
+ * @param [options] Conversion options
13885
+ * @returns Plain object
13886
+ */
13887
+ public static toObject(message: SleepcastContentUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
13888
+
13889
+ /**
13890
+ * Converts this SleepcastContentUpdated to JSON.
13891
+ * @returns JSON object
13892
+ */
13893
+ public toJSON(): { [k: string]: any };
13894
+ }
13895
+
13896
+ /** Properties of a SleepcastContentDeleted. */
13897
+ export interface ISleepcastContentDeleted {
13898
+
13899
+ /** SleepcastContentDeleted slug */
13900
+ slug?: (string|null);
13901
+
13902
+ /** SleepcastContentDeleted deletedAt */
13903
+ deletedAt?: (number|Long|null);
13904
+ }
13905
+
13906
+ /** Represents a SleepcastContentDeleted. */
13907
+ export class SleepcastContentDeleted implements ISleepcastContentDeleted {
13908
+
13909
+ /**
13910
+ * Constructs a new SleepcastContentDeleted.
13911
+ * @param [properties] Properties to set
13912
+ */
13913
+ constructor(properties?: ISleepcastContentDeleted);
13914
+
13915
+ /** SleepcastContentDeleted slug. */
13916
+ public slug: string;
13917
+
13918
+ /** SleepcastContentDeleted deletedAt. */
13919
+ public deletedAt: (number|Long);
13920
+
13921
+ /**
13922
+ * Creates a new SleepcastContentDeleted instance using the specified properties.
13923
+ * @param [properties] Properties to set
13924
+ * @returns SleepcastContentDeleted instance
13925
+ */
13926
+ public static create(properties?: ISleepcastContentDeleted): SleepcastContentDeleted;
13927
+
13928
+ /**
13929
+ * Encodes the specified SleepcastContentDeleted message. Does not implicitly {@link SleepcastContentDeleted.verify|verify} messages.
13930
+ * @param message SleepcastContentDeleted message or plain object to encode
13931
+ * @param [writer] Writer to encode to
13932
+ * @returns Writer
13933
+ */
13934
+ public static encode(message: ISleepcastContentDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
13935
+
13936
+ /**
13937
+ * Encodes the specified SleepcastContentDeleted message, length delimited. Does not implicitly {@link SleepcastContentDeleted.verify|verify} messages.
13938
+ * @param message SleepcastContentDeleted message or plain object to encode
13939
+ * @param [writer] Writer to encode to
13940
+ * @returns Writer
13941
+ */
13942
+ public static encodeDelimited(message: ISleepcastContentDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
13943
+
13944
+ /**
13945
+ * Decodes a SleepcastContentDeleted message from the specified reader or buffer.
13946
+ * @param reader Reader or buffer to decode from
13947
+ * @param [length] Message length if known beforehand
13948
+ * @returns SleepcastContentDeleted
13949
+ * @throws {Error} If the payload is not a reader or valid buffer
13950
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13951
+ */
13952
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SleepcastContentDeleted;
13953
+
13954
+ /**
13955
+ * Decodes a SleepcastContentDeleted message from the specified reader or buffer, length delimited.
13956
+ * @param reader Reader or buffer to decode from
13957
+ * @returns SleepcastContentDeleted
13958
+ * @throws {Error} If the payload is not a reader or valid buffer
13959
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13960
+ */
13961
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SleepcastContentDeleted;
13962
+
13963
+ /**
13964
+ * Verifies a SleepcastContentDeleted message.
13965
+ * @param message Plain object to verify
13966
+ * @returns `null` if valid, otherwise the reason why it is not
13967
+ */
13968
+ public static verify(message: { [k: string]: any }): (string|null);
13969
+
13970
+ /**
13971
+ * Creates a SleepcastContentDeleted message from a plain object. Also converts values to their respective internal types.
13972
+ * @param object Plain object
13973
+ * @returns SleepcastContentDeleted
13974
+ */
13975
+ public static fromObject(object: { [k: string]: any }): SleepcastContentDeleted;
13976
+
13977
+ /**
13978
+ * Creates a plain object from a SleepcastContentDeleted message. Also converts values to other types if specified.
13979
+ * @param message SleepcastContentDeleted
13980
+ * @param [options] Conversion options
13981
+ * @returns Plain object
13982
+ */
13983
+ public static toObject(message: SleepcastContentDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
13984
+
13985
+ /**
13986
+ * Converts this SleepcastContentDeleted to JSON.
13987
+ * @returns JSON object
13988
+ */
13989
+ public toJSON(): { [k: string]: any };
13990
+ }
13991
+
13548
13992
  /** Properties of a TopicCreated. */
13549
13993
  export interface ITopicCreated {
13550
13994