@headspace/protos-events 1.625.0 → 1.627.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 +403 -0
  2. package/lib/index.js +1004 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -30656,6 +30656,306 @@ export class ContentCourseCompleted implements IContentCourseCompleted {
30656
30656
  public toJSON(): { [k: string]: any };
30657
30657
  }
30658
30658
 
30659
+ /** Properties of an ItemCreated. */
30660
+ export interface IItemCreated {
30661
+
30662
+ /** ItemCreated slug */
30663
+ slug?: (string|null);
30664
+
30665
+ /** ItemCreated accessGroups */
30666
+ accessGroups?: (contentful.ISlugReference[]|null);
30667
+
30668
+ /** ItemCreated createdAt */
30669
+ createdAt?: (number|Long|null);
30670
+ }
30671
+
30672
+ /** Represents an ItemCreated. */
30673
+ export class ItemCreated implements IItemCreated {
30674
+
30675
+ /**
30676
+ * Constructs a new ItemCreated.
30677
+ * @param [properties] Properties to set
30678
+ */
30679
+ constructor(properties?: IItemCreated);
30680
+
30681
+ /** ItemCreated slug. */
30682
+ public slug: string;
30683
+
30684
+ /** ItemCreated accessGroups. */
30685
+ public accessGroups: contentful.ISlugReference[];
30686
+
30687
+ /** ItemCreated createdAt. */
30688
+ public createdAt: (number|Long);
30689
+
30690
+ /**
30691
+ * Creates a new ItemCreated instance using the specified properties.
30692
+ * @param [properties] Properties to set
30693
+ * @returns ItemCreated instance
30694
+ */
30695
+ public static create(properties?: IItemCreated): ItemCreated;
30696
+
30697
+ /**
30698
+ * Encodes the specified ItemCreated message. Does not implicitly {@link ItemCreated.verify|verify} messages.
30699
+ * @param message ItemCreated message or plain object to encode
30700
+ * @param [writer] Writer to encode to
30701
+ * @returns Writer
30702
+ */
30703
+ public static encode(message: IItemCreated, writer?: $protobuf.Writer): $protobuf.Writer;
30704
+
30705
+ /**
30706
+ * Encodes the specified ItemCreated message, length delimited. Does not implicitly {@link ItemCreated.verify|verify} messages.
30707
+ * @param message ItemCreated message or plain object to encode
30708
+ * @param [writer] Writer to encode to
30709
+ * @returns Writer
30710
+ */
30711
+ public static encodeDelimited(message: IItemCreated, writer?: $protobuf.Writer): $protobuf.Writer;
30712
+
30713
+ /**
30714
+ * Decodes an ItemCreated message from the specified reader or buffer.
30715
+ * @param reader Reader or buffer to decode from
30716
+ * @param [length] Message length if known beforehand
30717
+ * @returns ItemCreated
30718
+ * @throws {Error} If the payload is not a reader or valid buffer
30719
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30720
+ */
30721
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ItemCreated;
30722
+
30723
+ /**
30724
+ * Decodes an ItemCreated message from the specified reader or buffer, length delimited.
30725
+ * @param reader Reader or buffer to decode from
30726
+ * @returns ItemCreated
30727
+ * @throws {Error} If the payload is not a reader or valid buffer
30728
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30729
+ */
30730
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ItemCreated;
30731
+
30732
+ /**
30733
+ * Verifies an ItemCreated message.
30734
+ * @param message Plain object to verify
30735
+ * @returns `null` if valid, otherwise the reason why it is not
30736
+ */
30737
+ public static verify(message: { [k: string]: any }): (string|null);
30738
+
30739
+ /**
30740
+ * Creates an ItemCreated message from a plain object. Also converts values to their respective internal types.
30741
+ * @param object Plain object
30742
+ * @returns ItemCreated
30743
+ */
30744
+ public static fromObject(object: { [k: string]: any }): ItemCreated;
30745
+
30746
+ /**
30747
+ * Creates a plain object from an ItemCreated message. Also converts values to other types if specified.
30748
+ * @param message ItemCreated
30749
+ * @param [options] Conversion options
30750
+ * @returns Plain object
30751
+ */
30752
+ public static toObject(message: ItemCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
30753
+
30754
+ /**
30755
+ * Converts this ItemCreated to JSON.
30756
+ * @returns JSON object
30757
+ */
30758
+ public toJSON(): { [k: string]: any };
30759
+ }
30760
+
30761
+ /** Properties of an ItemUpdated. */
30762
+ export interface IItemUpdated {
30763
+
30764
+ /** ItemUpdated slug */
30765
+ slug?: (string|null);
30766
+
30767
+ /** ItemUpdated accessGroups */
30768
+ accessGroups?: (contentful.ISlugReference[]|null);
30769
+
30770
+ /** ItemUpdated updatedAt */
30771
+ updatedAt?: (number|Long|null);
30772
+ }
30773
+
30774
+ /** Represents an ItemUpdated. */
30775
+ export class ItemUpdated implements IItemUpdated {
30776
+
30777
+ /**
30778
+ * Constructs a new ItemUpdated.
30779
+ * @param [properties] Properties to set
30780
+ */
30781
+ constructor(properties?: IItemUpdated);
30782
+
30783
+ /** ItemUpdated slug. */
30784
+ public slug: string;
30785
+
30786
+ /** ItemUpdated accessGroups. */
30787
+ public accessGroups: contentful.ISlugReference[];
30788
+
30789
+ /** ItemUpdated updatedAt. */
30790
+ public updatedAt: (number|Long);
30791
+
30792
+ /**
30793
+ * Creates a new ItemUpdated instance using the specified properties.
30794
+ * @param [properties] Properties to set
30795
+ * @returns ItemUpdated instance
30796
+ */
30797
+ public static create(properties?: IItemUpdated): ItemUpdated;
30798
+
30799
+ /**
30800
+ * Encodes the specified ItemUpdated message. Does not implicitly {@link ItemUpdated.verify|verify} messages.
30801
+ * @param message ItemUpdated message or plain object to encode
30802
+ * @param [writer] Writer to encode to
30803
+ * @returns Writer
30804
+ */
30805
+ public static encode(message: IItemUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
30806
+
30807
+ /**
30808
+ * Encodes the specified ItemUpdated message, length delimited. Does not implicitly {@link ItemUpdated.verify|verify} messages.
30809
+ * @param message ItemUpdated message or plain object to encode
30810
+ * @param [writer] Writer to encode to
30811
+ * @returns Writer
30812
+ */
30813
+ public static encodeDelimited(message: IItemUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
30814
+
30815
+ /**
30816
+ * Decodes an ItemUpdated message from the specified reader or buffer.
30817
+ * @param reader Reader or buffer to decode from
30818
+ * @param [length] Message length if known beforehand
30819
+ * @returns ItemUpdated
30820
+ * @throws {Error} If the payload is not a reader or valid buffer
30821
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30822
+ */
30823
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ItemUpdated;
30824
+
30825
+ /**
30826
+ * Decodes an ItemUpdated message from the specified reader or buffer, length delimited.
30827
+ * @param reader Reader or buffer to decode from
30828
+ * @returns ItemUpdated
30829
+ * @throws {Error} If the payload is not a reader or valid buffer
30830
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30831
+ */
30832
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ItemUpdated;
30833
+
30834
+ /**
30835
+ * Verifies an ItemUpdated message.
30836
+ * @param message Plain object to verify
30837
+ * @returns `null` if valid, otherwise the reason why it is not
30838
+ */
30839
+ public static verify(message: { [k: string]: any }): (string|null);
30840
+
30841
+ /**
30842
+ * Creates an ItemUpdated message from a plain object. Also converts values to their respective internal types.
30843
+ * @param object Plain object
30844
+ * @returns ItemUpdated
30845
+ */
30846
+ public static fromObject(object: { [k: string]: any }): ItemUpdated;
30847
+
30848
+ /**
30849
+ * Creates a plain object from an ItemUpdated message. Also converts values to other types if specified.
30850
+ * @param message ItemUpdated
30851
+ * @param [options] Conversion options
30852
+ * @returns Plain object
30853
+ */
30854
+ public static toObject(message: ItemUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
30855
+
30856
+ /**
30857
+ * Converts this ItemUpdated to JSON.
30858
+ * @returns JSON object
30859
+ */
30860
+ public toJSON(): { [k: string]: any };
30861
+ }
30862
+
30863
+ /** Properties of an ItemDeleted. */
30864
+ export interface IItemDeleted {
30865
+
30866
+ /** ItemDeleted slug */
30867
+ slug?: (string|null);
30868
+
30869
+ /** ItemDeleted deletedAt */
30870
+ deletedAt?: (number|Long|null);
30871
+ }
30872
+
30873
+ /** Represents an ItemDeleted. */
30874
+ export class ItemDeleted implements IItemDeleted {
30875
+
30876
+ /**
30877
+ * Constructs a new ItemDeleted.
30878
+ * @param [properties] Properties to set
30879
+ */
30880
+ constructor(properties?: IItemDeleted);
30881
+
30882
+ /** ItemDeleted slug. */
30883
+ public slug: string;
30884
+
30885
+ /** ItemDeleted deletedAt. */
30886
+ public deletedAt: (number|Long);
30887
+
30888
+ /**
30889
+ * Creates a new ItemDeleted instance using the specified properties.
30890
+ * @param [properties] Properties to set
30891
+ * @returns ItemDeleted instance
30892
+ */
30893
+ public static create(properties?: IItemDeleted): ItemDeleted;
30894
+
30895
+ /**
30896
+ * Encodes the specified ItemDeleted message. Does not implicitly {@link ItemDeleted.verify|verify} messages.
30897
+ * @param message ItemDeleted message or plain object to encode
30898
+ * @param [writer] Writer to encode to
30899
+ * @returns Writer
30900
+ */
30901
+ public static encode(message: IItemDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
30902
+
30903
+ /**
30904
+ * Encodes the specified ItemDeleted message, length delimited. Does not implicitly {@link ItemDeleted.verify|verify} messages.
30905
+ * @param message ItemDeleted message or plain object to encode
30906
+ * @param [writer] Writer to encode to
30907
+ * @returns Writer
30908
+ */
30909
+ public static encodeDelimited(message: IItemDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
30910
+
30911
+ /**
30912
+ * Decodes an ItemDeleted message from the specified reader or buffer.
30913
+ * @param reader Reader or buffer to decode from
30914
+ * @param [length] Message length if known beforehand
30915
+ * @returns ItemDeleted
30916
+ * @throws {Error} If the payload is not a reader or valid buffer
30917
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30918
+ */
30919
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ItemDeleted;
30920
+
30921
+ /**
30922
+ * Decodes an ItemDeleted message from the specified reader or buffer, length delimited.
30923
+ * @param reader Reader or buffer to decode from
30924
+ * @returns ItemDeleted
30925
+ * @throws {Error} If the payload is not a reader or valid buffer
30926
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30927
+ */
30928
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ItemDeleted;
30929
+
30930
+ /**
30931
+ * Verifies an ItemDeleted message.
30932
+ * @param message Plain object to verify
30933
+ * @returns `null` if valid, otherwise the reason why it is not
30934
+ */
30935
+ public static verify(message: { [k: string]: any }): (string|null);
30936
+
30937
+ /**
30938
+ * Creates an ItemDeleted message from a plain object. Also converts values to their respective internal types.
30939
+ * @param object Plain object
30940
+ * @returns ItemDeleted
30941
+ */
30942
+ public static fromObject(object: { [k: string]: any }): ItemDeleted;
30943
+
30944
+ /**
30945
+ * Creates a plain object from an ItemDeleted message. Also converts values to other types if specified.
30946
+ * @param message ItemDeleted
30947
+ * @param [options] Conversion options
30948
+ * @returns Plain object
30949
+ */
30950
+ public static toObject(message: ItemDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
30951
+
30952
+ /**
30953
+ * Converts this ItemDeleted to JSON.
30954
+ * @returns JSON object
30955
+ */
30956
+ public toJSON(): { [k: string]: any };
30957
+ }
30958
+
30659
30959
  /** Properties of a TopicCreated. */
30660
30960
  export interface ITopicCreated {
30661
30961
 
@@ -57627,6 +57927,109 @@ export class InteractiveJournalingMessageCreated implements IInteractiveJournali
57627
57927
  public toJSON(): { [k: string]: any };
57628
57928
  }
57629
57929
 
57930
+ /** InteractiveJournalingReward enum. */
57931
+ export enum InteractiveJournalingReward {
57932
+ INTERACTIVE_JOURNALING_REWARD_UNKNOWN = 0,
57933
+ INTERACTIVE_JOURNALING_REWARD_NEGATIVE = 1,
57934
+ INTERACTIVE_JOURNALING_REWARD_POSITIVE = 2
57935
+ }
57936
+
57937
+ /** Properties of an InteractiveJournalingRewardCreated. */
57938
+ export interface IInteractiveJournalingRewardCreated {
57939
+
57940
+ /** InteractiveJournalingRewardCreated messageId */
57941
+ messageId?: (string|null);
57942
+
57943
+ /** InteractiveJournalingRewardCreated feedback */
57944
+ feedback?: (InteractiveJournalingReward|null);
57945
+ }
57946
+
57947
+ /** Represents an InteractiveJournalingRewardCreated. */
57948
+ export class InteractiveJournalingRewardCreated implements IInteractiveJournalingRewardCreated {
57949
+
57950
+ /**
57951
+ * Constructs a new InteractiveJournalingRewardCreated.
57952
+ * @param [properties] Properties to set
57953
+ */
57954
+ constructor(properties?: IInteractiveJournalingRewardCreated);
57955
+
57956
+ /** InteractiveJournalingRewardCreated messageId. */
57957
+ public messageId: string;
57958
+
57959
+ /** InteractiveJournalingRewardCreated feedback. */
57960
+ public feedback: InteractiveJournalingReward;
57961
+
57962
+ /**
57963
+ * Creates a new InteractiveJournalingRewardCreated instance using the specified properties.
57964
+ * @param [properties] Properties to set
57965
+ * @returns InteractiveJournalingRewardCreated instance
57966
+ */
57967
+ public static create(properties?: IInteractiveJournalingRewardCreated): InteractiveJournalingRewardCreated;
57968
+
57969
+ /**
57970
+ * Encodes the specified InteractiveJournalingRewardCreated message. Does not implicitly {@link InteractiveJournalingRewardCreated.verify|verify} messages.
57971
+ * @param message InteractiveJournalingRewardCreated message or plain object to encode
57972
+ * @param [writer] Writer to encode to
57973
+ * @returns Writer
57974
+ */
57975
+ public static encode(message: IInteractiveJournalingRewardCreated, writer?: $protobuf.Writer): $protobuf.Writer;
57976
+
57977
+ /**
57978
+ * Encodes the specified InteractiveJournalingRewardCreated message, length delimited. Does not implicitly {@link InteractiveJournalingRewardCreated.verify|verify} messages.
57979
+ * @param message InteractiveJournalingRewardCreated message or plain object to encode
57980
+ * @param [writer] Writer to encode to
57981
+ * @returns Writer
57982
+ */
57983
+ public static encodeDelimited(message: IInteractiveJournalingRewardCreated, writer?: $protobuf.Writer): $protobuf.Writer;
57984
+
57985
+ /**
57986
+ * Decodes an InteractiveJournalingRewardCreated message from the specified reader or buffer.
57987
+ * @param reader Reader or buffer to decode from
57988
+ * @param [length] Message length if known beforehand
57989
+ * @returns InteractiveJournalingRewardCreated
57990
+ * @throws {Error} If the payload is not a reader or valid buffer
57991
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
57992
+ */
57993
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingRewardCreated;
57994
+
57995
+ /**
57996
+ * Decodes an InteractiveJournalingRewardCreated message from the specified reader or buffer, length delimited.
57997
+ * @param reader Reader or buffer to decode from
57998
+ * @returns InteractiveJournalingRewardCreated
57999
+ * @throws {Error} If the payload is not a reader or valid buffer
58000
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
58001
+ */
58002
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingRewardCreated;
58003
+
58004
+ /**
58005
+ * Verifies an InteractiveJournalingRewardCreated message.
58006
+ * @param message Plain object to verify
58007
+ * @returns `null` if valid, otherwise the reason why it is not
58008
+ */
58009
+ public static verify(message: { [k: string]: any }): (string|null);
58010
+
58011
+ /**
58012
+ * Creates an InteractiveJournalingRewardCreated message from a plain object. Also converts values to their respective internal types.
58013
+ * @param object Plain object
58014
+ * @returns InteractiveJournalingRewardCreated
58015
+ */
58016
+ public static fromObject(object: { [k: string]: any }): InteractiveJournalingRewardCreated;
58017
+
58018
+ /**
58019
+ * Creates a plain object from an InteractiveJournalingRewardCreated message. Also converts values to other types if specified.
58020
+ * @param message InteractiveJournalingRewardCreated
58021
+ * @param [options] Conversion options
58022
+ * @returns Plain object
58023
+ */
58024
+ public static toObject(message: InteractiveJournalingRewardCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
58025
+
58026
+ /**
58027
+ * Converts this InteractiveJournalingRewardCreated to JSON.
58028
+ * @returns JSON object
58029
+ */
58030
+ public toJSON(): { [k: string]: any };
58031
+ }
58032
+
57630
58033
  /** Properties of a LayoutCreated. */
57631
58034
  export interface ILayoutCreated {
57632
58035