@headspace/protos-events 1.293.0 → 1.295.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 +342 -0
- package/lib/index.js +940 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -22704,6 +22704,336 @@ export class ActivityDeleted implements IActivityDeleted {
|
|
|
22704
22704
|
public toJSON(): { [k: string]: any };
|
|
22705
22705
|
}
|
|
22706
22706
|
|
|
22707
|
+
/** Properties of a CollectionCreated. */
|
|
22708
|
+
export interface ICollectionCreated {
|
|
22709
|
+
|
|
22710
|
+
/** CollectionCreated slug */
|
|
22711
|
+
slug?: (string|null);
|
|
22712
|
+
|
|
22713
|
+
/** CollectionCreated contentType */
|
|
22714
|
+
contentType?: (string|null);
|
|
22715
|
+
|
|
22716
|
+
/** CollectionCreated collectionType */
|
|
22717
|
+
collectionType?: (ContentCollectionType|null);
|
|
22718
|
+
|
|
22719
|
+
/** CollectionCreated accessGroup */
|
|
22720
|
+
accessGroup?: (contentful.ISlugReference[]|null);
|
|
22721
|
+
|
|
22722
|
+
/** CollectionCreated createdAt */
|
|
22723
|
+
createdAt?: (number|Long|null);
|
|
22724
|
+
}
|
|
22725
|
+
|
|
22726
|
+
/** Represents a CollectionCreated. */
|
|
22727
|
+
export class CollectionCreated implements ICollectionCreated {
|
|
22728
|
+
|
|
22729
|
+
/**
|
|
22730
|
+
* Constructs a new CollectionCreated.
|
|
22731
|
+
* @param [properties] Properties to set
|
|
22732
|
+
*/
|
|
22733
|
+
constructor(properties?: ICollectionCreated);
|
|
22734
|
+
|
|
22735
|
+
/** CollectionCreated slug. */
|
|
22736
|
+
public slug: string;
|
|
22737
|
+
|
|
22738
|
+
/** CollectionCreated contentType. */
|
|
22739
|
+
public contentType: string;
|
|
22740
|
+
|
|
22741
|
+
/** CollectionCreated collectionType. */
|
|
22742
|
+
public collectionType: ContentCollectionType;
|
|
22743
|
+
|
|
22744
|
+
/** CollectionCreated accessGroup. */
|
|
22745
|
+
public accessGroup: contentful.ISlugReference[];
|
|
22746
|
+
|
|
22747
|
+
/** CollectionCreated createdAt. */
|
|
22748
|
+
public createdAt: (number|Long);
|
|
22749
|
+
|
|
22750
|
+
/**
|
|
22751
|
+
* Creates a new CollectionCreated instance using the specified properties.
|
|
22752
|
+
* @param [properties] Properties to set
|
|
22753
|
+
* @returns CollectionCreated instance
|
|
22754
|
+
*/
|
|
22755
|
+
public static create(properties?: ICollectionCreated): CollectionCreated;
|
|
22756
|
+
|
|
22757
|
+
/**
|
|
22758
|
+
* Encodes the specified CollectionCreated message. Does not implicitly {@link CollectionCreated.verify|verify} messages.
|
|
22759
|
+
* @param message CollectionCreated message or plain object to encode
|
|
22760
|
+
* @param [writer] Writer to encode to
|
|
22761
|
+
* @returns Writer
|
|
22762
|
+
*/
|
|
22763
|
+
public static encode(message: ICollectionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22764
|
+
|
|
22765
|
+
/**
|
|
22766
|
+
* Encodes the specified CollectionCreated message, length delimited. Does not implicitly {@link CollectionCreated.verify|verify} messages.
|
|
22767
|
+
* @param message CollectionCreated message or plain object to encode
|
|
22768
|
+
* @param [writer] Writer to encode to
|
|
22769
|
+
* @returns Writer
|
|
22770
|
+
*/
|
|
22771
|
+
public static encodeDelimited(message: ICollectionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22772
|
+
|
|
22773
|
+
/**
|
|
22774
|
+
* Decodes a CollectionCreated message from the specified reader or buffer.
|
|
22775
|
+
* @param reader Reader or buffer to decode from
|
|
22776
|
+
* @param [length] Message length if known beforehand
|
|
22777
|
+
* @returns CollectionCreated
|
|
22778
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22779
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22780
|
+
*/
|
|
22781
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CollectionCreated;
|
|
22782
|
+
|
|
22783
|
+
/**
|
|
22784
|
+
* Decodes a CollectionCreated message from the specified reader or buffer, length delimited.
|
|
22785
|
+
* @param reader Reader or buffer to decode from
|
|
22786
|
+
* @returns CollectionCreated
|
|
22787
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22788
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22789
|
+
*/
|
|
22790
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CollectionCreated;
|
|
22791
|
+
|
|
22792
|
+
/**
|
|
22793
|
+
* Verifies a CollectionCreated message.
|
|
22794
|
+
* @param message Plain object to verify
|
|
22795
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22796
|
+
*/
|
|
22797
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22798
|
+
|
|
22799
|
+
/**
|
|
22800
|
+
* Creates a CollectionCreated message from a plain object. Also converts values to their respective internal types.
|
|
22801
|
+
* @param object Plain object
|
|
22802
|
+
* @returns CollectionCreated
|
|
22803
|
+
*/
|
|
22804
|
+
public static fromObject(object: { [k: string]: any }): CollectionCreated;
|
|
22805
|
+
|
|
22806
|
+
/**
|
|
22807
|
+
* Creates a plain object from a CollectionCreated message. Also converts values to other types if specified.
|
|
22808
|
+
* @param message CollectionCreated
|
|
22809
|
+
* @param [options] Conversion options
|
|
22810
|
+
* @returns Plain object
|
|
22811
|
+
*/
|
|
22812
|
+
public static toObject(message: CollectionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22813
|
+
|
|
22814
|
+
/**
|
|
22815
|
+
* Converts this CollectionCreated to JSON.
|
|
22816
|
+
* @returns JSON object
|
|
22817
|
+
*/
|
|
22818
|
+
public toJSON(): { [k: string]: any };
|
|
22819
|
+
}
|
|
22820
|
+
|
|
22821
|
+
/** Properties of a CollectionUpdated. */
|
|
22822
|
+
export interface ICollectionUpdated {
|
|
22823
|
+
|
|
22824
|
+
/** CollectionUpdated slug */
|
|
22825
|
+
slug?: (string|null);
|
|
22826
|
+
|
|
22827
|
+
/** CollectionUpdated contentType */
|
|
22828
|
+
contentType?: (string|null);
|
|
22829
|
+
|
|
22830
|
+
/** CollectionUpdated collectionType */
|
|
22831
|
+
collectionType?: (ContentCollectionType|null);
|
|
22832
|
+
|
|
22833
|
+
/** CollectionUpdated accessGroup */
|
|
22834
|
+
accessGroup?: (contentful.ISlugReference[]|null);
|
|
22835
|
+
|
|
22836
|
+
/** CollectionUpdated updatedAt */
|
|
22837
|
+
updatedAt?: (number|Long|null);
|
|
22838
|
+
}
|
|
22839
|
+
|
|
22840
|
+
/** Represents a CollectionUpdated. */
|
|
22841
|
+
export class CollectionUpdated implements ICollectionUpdated {
|
|
22842
|
+
|
|
22843
|
+
/**
|
|
22844
|
+
* Constructs a new CollectionUpdated.
|
|
22845
|
+
* @param [properties] Properties to set
|
|
22846
|
+
*/
|
|
22847
|
+
constructor(properties?: ICollectionUpdated);
|
|
22848
|
+
|
|
22849
|
+
/** CollectionUpdated slug. */
|
|
22850
|
+
public slug: string;
|
|
22851
|
+
|
|
22852
|
+
/** CollectionUpdated contentType. */
|
|
22853
|
+
public contentType: string;
|
|
22854
|
+
|
|
22855
|
+
/** CollectionUpdated collectionType. */
|
|
22856
|
+
public collectionType: ContentCollectionType;
|
|
22857
|
+
|
|
22858
|
+
/** CollectionUpdated accessGroup. */
|
|
22859
|
+
public accessGroup: contentful.ISlugReference[];
|
|
22860
|
+
|
|
22861
|
+
/** CollectionUpdated updatedAt. */
|
|
22862
|
+
public updatedAt: (number|Long);
|
|
22863
|
+
|
|
22864
|
+
/**
|
|
22865
|
+
* Creates a new CollectionUpdated instance using the specified properties.
|
|
22866
|
+
* @param [properties] Properties to set
|
|
22867
|
+
* @returns CollectionUpdated instance
|
|
22868
|
+
*/
|
|
22869
|
+
public static create(properties?: ICollectionUpdated): CollectionUpdated;
|
|
22870
|
+
|
|
22871
|
+
/**
|
|
22872
|
+
* Encodes the specified CollectionUpdated message. Does not implicitly {@link CollectionUpdated.verify|verify} messages.
|
|
22873
|
+
* @param message CollectionUpdated message or plain object to encode
|
|
22874
|
+
* @param [writer] Writer to encode to
|
|
22875
|
+
* @returns Writer
|
|
22876
|
+
*/
|
|
22877
|
+
public static encode(message: ICollectionUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22878
|
+
|
|
22879
|
+
/**
|
|
22880
|
+
* Encodes the specified CollectionUpdated message, length delimited. Does not implicitly {@link CollectionUpdated.verify|verify} messages.
|
|
22881
|
+
* @param message CollectionUpdated message or plain object to encode
|
|
22882
|
+
* @param [writer] Writer to encode to
|
|
22883
|
+
* @returns Writer
|
|
22884
|
+
*/
|
|
22885
|
+
public static encodeDelimited(message: ICollectionUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22886
|
+
|
|
22887
|
+
/**
|
|
22888
|
+
* Decodes a CollectionUpdated message from the specified reader or buffer.
|
|
22889
|
+
* @param reader Reader or buffer to decode from
|
|
22890
|
+
* @param [length] Message length if known beforehand
|
|
22891
|
+
* @returns CollectionUpdated
|
|
22892
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22893
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22894
|
+
*/
|
|
22895
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CollectionUpdated;
|
|
22896
|
+
|
|
22897
|
+
/**
|
|
22898
|
+
* Decodes a CollectionUpdated message from the specified reader or buffer, length delimited.
|
|
22899
|
+
* @param reader Reader or buffer to decode from
|
|
22900
|
+
* @returns CollectionUpdated
|
|
22901
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22902
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22903
|
+
*/
|
|
22904
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CollectionUpdated;
|
|
22905
|
+
|
|
22906
|
+
/**
|
|
22907
|
+
* Verifies a CollectionUpdated message.
|
|
22908
|
+
* @param message Plain object to verify
|
|
22909
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22910
|
+
*/
|
|
22911
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22912
|
+
|
|
22913
|
+
/**
|
|
22914
|
+
* Creates a CollectionUpdated message from a plain object. Also converts values to their respective internal types.
|
|
22915
|
+
* @param object Plain object
|
|
22916
|
+
* @returns CollectionUpdated
|
|
22917
|
+
*/
|
|
22918
|
+
public static fromObject(object: { [k: string]: any }): CollectionUpdated;
|
|
22919
|
+
|
|
22920
|
+
/**
|
|
22921
|
+
* Creates a plain object from a CollectionUpdated message. Also converts values to other types if specified.
|
|
22922
|
+
* @param message CollectionUpdated
|
|
22923
|
+
* @param [options] Conversion options
|
|
22924
|
+
* @returns Plain object
|
|
22925
|
+
*/
|
|
22926
|
+
public static toObject(message: CollectionUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22927
|
+
|
|
22928
|
+
/**
|
|
22929
|
+
* Converts this CollectionUpdated to JSON.
|
|
22930
|
+
* @returns JSON object
|
|
22931
|
+
*/
|
|
22932
|
+
public toJSON(): { [k: string]: any };
|
|
22933
|
+
}
|
|
22934
|
+
|
|
22935
|
+
/** Properties of a CollectionDeleted. */
|
|
22936
|
+
export interface ICollectionDeleted {
|
|
22937
|
+
|
|
22938
|
+
/** CollectionDeleted slug */
|
|
22939
|
+
slug?: (string|null);
|
|
22940
|
+
|
|
22941
|
+
/** CollectionDeleted contentType */
|
|
22942
|
+
contentType?: (string|null);
|
|
22943
|
+
|
|
22944
|
+
/** CollectionDeleted deletedAt */
|
|
22945
|
+
deletedAt?: (number|Long|null);
|
|
22946
|
+
}
|
|
22947
|
+
|
|
22948
|
+
/** Represents a CollectionDeleted. */
|
|
22949
|
+
export class CollectionDeleted implements ICollectionDeleted {
|
|
22950
|
+
|
|
22951
|
+
/**
|
|
22952
|
+
* Constructs a new CollectionDeleted.
|
|
22953
|
+
* @param [properties] Properties to set
|
|
22954
|
+
*/
|
|
22955
|
+
constructor(properties?: ICollectionDeleted);
|
|
22956
|
+
|
|
22957
|
+
/** CollectionDeleted slug. */
|
|
22958
|
+
public slug: string;
|
|
22959
|
+
|
|
22960
|
+
/** CollectionDeleted contentType. */
|
|
22961
|
+
public contentType: string;
|
|
22962
|
+
|
|
22963
|
+
/** CollectionDeleted deletedAt. */
|
|
22964
|
+
public deletedAt: (number|Long);
|
|
22965
|
+
|
|
22966
|
+
/**
|
|
22967
|
+
* Creates a new CollectionDeleted instance using the specified properties.
|
|
22968
|
+
* @param [properties] Properties to set
|
|
22969
|
+
* @returns CollectionDeleted instance
|
|
22970
|
+
*/
|
|
22971
|
+
public static create(properties?: ICollectionDeleted): CollectionDeleted;
|
|
22972
|
+
|
|
22973
|
+
/**
|
|
22974
|
+
* Encodes the specified CollectionDeleted message. Does not implicitly {@link CollectionDeleted.verify|verify} messages.
|
|
22975
|
+
* @param message CollectionDeleted message or plain object to encode
|
|
22976
|
+
* @param [writer] Writer to encode to
|
|
22977
|
+
* @returns Writer
|
|
22978
|
+
*/
|
|
22979
|
+
public static encode(message: ICollectionDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22980
|
+
|
|
22981
|
+
/**
|
|
22982
|
+
* Encodes the specified CollectionDeleted message, length delimited. Does not implicitly {@link CollectionDeleted.verify|verify} messages.
|
|
22983
|
+
* @param message CollectionDeleted message or plain object to encode
|
|
22984
|
+
* @param [writer] Writer to encode to
|
|
22985
|
+
* @returns Writer
|
|
22986
|
+
*/
|
|
22987
|
+
public static encodeDelimited(message: ICollectionDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22988
|
+
|
|
22989
|
+
/**
|
|
22990
|
+
* Decodes a CollectionDeleted message from the specified reader or buffer.
|
|
22991
|
+
* @param reader Reader or buffer to decode from
|
|
22992
|
+
* @param [length] Message length if known beforehand
|
|
22993
|
+
* @returns CollectionDeleted
|
|
22994
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22995
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22996
|
+
*/
|
|
22997
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CollectionDeleted;
|
|
22998
|
+
|
|
22999
|
+
/**
|
|
23000
|
+
* Decodes a CollectionDeleted message from the specified reader or buffer, length delimited.
|
|
23001
|
+
* @param reader Reader or buffer to decode from
|
|
23002
|
+
* @returns CollectionDeleted
|
|
23003
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23004
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23005
|
+
*/
|
|
23006
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CollectionDeleted;
|
|
23007
|
+
|
|
23008
|
+
/**
|
|
23009
|
+
* Verifies a CollectionDeleted message.
|
|
23010
|
+
* @param message Plain object to verify
|
|
23011
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23012
|
+
*/
|
|
23013
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23014
|
+
|
|
23015
|
+
/**
|
|
23016
|
+
* Creates a CollectionDeleted message from a plain object. Also converts values to their respective internal types.
|
|
23017
|
+
* @param object Plain object
|
|
23018
|
+
* @returns CollectionDeleted
|
|
23019
|
+
*/
|
|
23020
|
+
public static fromObject(object: { [k: string]: any }): CollectionDeleted;
|
|
23021
|
+
|
|
23022
|
+
/**
|
|
23023
|
+
* Creates a plain object from a CollectionDeleted message. Also converts values to other types if specified.
|
|
23024
|
+
* @param message CollectionDeleted
|
|
23025
|
+
* @param [options] Conversion options
|
|
23026
|
+
* @returns Plain object
|
|
23027
|
+
*/
|
|
23028
|
+
public static toObject(message: CollectionDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23029
|
+
|
|
23030
|
+
/**
|
|
23031
|
+
* Converts this CollectionDeleted to JSON.
|
|
23032
|
+
* @returns JSON object
|
|
23033
|
+
*/
|
|
23034
|
+
public toJSON(): { [k: string]: any };
|
|
23035
|
+
}
|
|
23036
|
+
|
|
22707
23037
|
/** Properties of a ContentPlayed. */
|
|
22708
23038
|
export interface IContentPlayed {
|
|
22709
23039
|
|
|
@@ -25233,6 +25563,9 @@ export interface ISleepcastCreated {
|
|
|
25233
25563
|
|
|
25234
25564
|
/** SleepcastCreated tags */
|
|
25235
25565
|
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
25566
|
+
|
|
25567
|
+
/** SleepcastCreated isInternationalOnly */
|
|
25568
|
+
isInternationalOnly?: (boolean|null);
|
|
25236
25569
|
}
|
|
25237
25570
|
|
|
25238
25571
|
/** Represents a SleepcastCreated. */
|
|
@@ -25262,6 +25595,9 @@ export class SleepcastCreated implements ISleepcastCreated {
|
|
|
25262
25595
|
/** SleepcastCreated tags. */
|
|
25263
25596
|
public tags: { [k: string]: contentful.ITags };
|
|
25264
25597
|
|
|
25598
|
+
/** SleepcastCreated isInternationalOnly. */
|
|
25599
|
+
public isInternationalOnly: boolean;
|
|
25600
|
+
|
|
25265
25601
|
/**
|
|
25266
25602
|
* Creates a new SleepcastCreated instance using the specified properties.
|
|
25267
25603
|
* @param [properties] Properties to set
|
|
@@ -25353,6 +25689,9 @@ export interface ISleepcastUpdated {
|
|
|
25353
25689
|
|
|
25354
25690
|
/** SleepcastUpdated tags */
|
|
25355
25691
|
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
25692
|
+
|
|
25693
|
+
/** SleepcastUpdated isInternationalOnly */
|
|
25694
|
+
isInternationalOnly?: (boolean|null);
|
|
25356
25695
|
}
|
|
25357
25696
|
|
|
25358
25697
|
/** Represents a SleepcastUpdated. */
|
|
@@ -25382,6 +25721,9 @@ export class SleepcastUpdated implements ISleepcastUpdated {
|
|
|
25382
25721
|
/** SleepcastUpdated tags. */
|
|
25383
25722
|
public tags: { [k: string]: contentful.ITags };
|
|
25384
25723
|
|
|
25724
|
+
/** SleepcastUpdated isInternationalOnly. */
|
|
25725
|
+
public isInternationalOnly: boolean;
|
|
25726
|
+
|
|
25385
25727
|
/**
|
|
25386
25728
|
* Creates a new SleepcastUpdated instance using the specified properties.
|
|
25387
25729
|
* @param [properties] Properties to set
|