@headspace/protos-events 1.567.0 → 1.569.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 +446 -14
  2. package/lib/index.js +1265 -27
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -10643,6 +10643,14 @@ export namespace b2b {
10643
10643
  EAP_COVERAGE_WPO = 2,
10644
10644
  EAP_COVERAGE_NONE = 3
10645
10645
  }
10646
+
10647
+ /** EapServiceType enum. */
10648
+ enum EapServiceType {
10649
+ EAP_SERVICE_TYPE_UNKNOWN = 0,
10650
+ EAP_SERVICE_TYPE_PSYCHIATRY = 1,
10651
+ EAP_SERVICE_TYPE_THERAPY = 2,
10652
+ EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY = 3
10653
+ }
10646
10654
  }
10647
10655
 
10648
10656
  /** Namespace community. */
@@ -27616,6 +27624,426 @@ export class SurveyAnswer implements ISurveyAnswer {
27616
27624
  public toJSON(): { [k: string]: any };
27617
27625
  }
27618
27626
 
27627
+ /** Properties of a Survey. */
27628
+ export interface ISurvey {
27629
+
27630
+ /** Survey name */
27631
+ name?: (string|null);
27632
+
27633
+ /** Survey slug */
27634
+ slug?: (string|null);
27635
+
27636
+ /** Survey title */
27637
+ title?: (contentful.ILanguageTextEntity[]|null);
27638
+
27639
+ /** Survey description */
27640
+ description?: (contentful.ILanguageTextEntity[]|null);
27641
+
27642
+ /** Survey actionButtonTitle */
27643
+ actionButtonTitle?: (contentful.ILanguageTextEntity[]|null);
27644
+
27645
+ /** Survey tileMedia */
27646
+ tileMedia?: (contentful.ILanguageMediaEntity[]|null);
27647
+
27648
+ /** Survey label */
27649
+ label?: (contentful.ILanguageTextEntity[]|null);
27650
+
27651
+ /** Survey duration */
27652
+ duration?: (contentful.ILanguageTextEntity[]|null);
27653
+ }
27654
+
27655
+ /** Represents a Survey. */
27656
+ export class Survey implements ISurvey {
27657
+
27658
+ /**
27659
+ * Constructs a new Survey.
27660
+ * @param [properties] Properties to set
27661
+ */
27662
+ constructor(properties?: ISurvey);
27663
+
27664
+ /** Survey name. */
27665
+ public name: string;
27666
+
27667
+ /** Survey slug. */
27668
+ public slug: string;
27669
+
27670
+ /** Survey title. */
27671
+ public title: contentful.ILanguageTextEntity[];
27672
+
27673
+ /** Survey description. */
27674
+ public description: contentful.ILanguageTextEntity[];
27675
+
27676
+ /** Survey actionButtonTitle. */
27677
+ public actionButtonTitle: contentful.ILanguageTextEntity[];
27678
+
27679
+ /** Survey tileMedia. */
27680
+ public tileMedia: contentful.ILanguageMediaEntity[];
27681
+
27682
+ /** Survey label. */
27683
+ public label: contentful.ILanguageTextEntity[];
27684
+
27685
+ /** Survey duration. */
27686
+ public duration: contentful.ILanguageTextEntity[];
27687
+
27688
+ /**
27689
+ * Creates a new Survey instance using the specified properties.
27690
+ * @param [properties] Properties to set
27691
+ * @returns Survey instance
27692
+ */
27693
+ public static create(properties?: ISurvey): Survey;
27694
+
27695
+ /**
27696
+ * Encodes the specified Survey message. Does not implicitly {@link Survey.verify|verify} messages.
27697
+ * @param message Survey message or plain object to encode
27698
+ * @param [writer] Writer to encode to
27699
+ * @returns Writer
27700
+ */
27701
+ public static encode(message: ISurvey, writer?: $protobuf.Writer): $protobuf.Writer;
27702
+
27703
+ /**
27704
+ * Encodes the specified Survey message, length delimited. Does not implicitly {@link Survey.verify|verify} messages.
27705
+ * @param message Survey message or plain object to encode
27706
+ * @param [writer] Writer to encode to
27707
+ * @returns Writer
27708
+ */
27709
+ public static encodeDelimited(message: ISurvey, writer?: $protobuf.Writer): $protobuf.Writer;
27710
+
27711
+ /**
27712
+ * Decodes a Survey message from the specified reader or buffer.
27713
+ * @param reader Reader or buffer to decode from
27714
+ * @param [length] Message length if known beforehand
27715
+ * @returns Survey
27716
+ * @throws {Error} If the payload is not a reader or valid buffer
27717
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27718
+ */
27719
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Survey;
27720
+
27721
+ /**
27722
+ * Decodes a Survey message from the specified reader or buffer, length delimited.
27723
+ * @param reader Reader or buffer to decode from
27724
+ * @returns Survey
27725
+ * @throws {Error} If the payload is not a reader or valid buffer
27726
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27727
+ */
27728
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Survey;
27729
+
27730
+ /**
27731
+ * Verifies a Survey message.
27732
+ * @param message Plain object to verify
27733
+ * @returns `null` if valid, otherwise the reason why it is not
27734
+ */
27735
+ public static verify(message: { [k: string]: any }): (string|null);
27736
+
27737
+ /**
27738
+ * Creates a Survey message from a plain object. Also converts values to their respective internal types.
27739
+ * @param object Plain object
27740
+ * @returns Survey
27741
+ */
27742
+ public static fromObject(object: { [k: string]: any }): Survey;
27743
+
27744
+ /**
27745
+ * Creates a plain object from a Survey message. Also converts values to other types if specified.
27746
+ * @param message Survey
27747
+ * @param [options] Conversion options
27748
+ * @returns Plain object
27749
+ */
27750
+ public static toObject(message: Survey, options?: $protobuf.IConversionOptions): { [k: string]: any };
27751
+
27752
+ /**
27753
+ * Converts this Survey to JSON.
27754
+ * @returns JSON object
27755
+ */
27756
+ public toJSON(): { [k: string]: any };
27757
+ }
27758
+
27759
+ /** Properties of a SurveyCreated. */
27760
+ export interface ISurveyCreated {
27761
+
27762
+ /** SurveyCreated timestamp */
27763
+ timestamp?: (number|Long|null);
27764
+
27765
+ /** SurveyCreated survey */
27766
+ survey?: (ISurvey|null);
27767
+ }
27768
+
27769
+ /** Represents a SurveyCreated. */
27770
+ export class SurveyCreated implements ISurveyCreated {
27771
+
27772
+ /**
27773
+ * Constructs a new SurveyCreated.
27774
+ * @param [properties] Properties to set
27775
+ */
27776
+ constructor(properties?: ISurveyCreated);
27777
+
27778
+ /** SurveyCreated timestamp. */
27779
+ public timestamp: (number|Long);
27780
+
27781
+ /** SurveyCreated survey. */
27782
+ public survey?: (ISurvey|null);
27783
+
27784
+ /**
27785
+ * Creates a new SurveyCreated instance using the specified properties.
27786
+ * @param [properties] Properties to set
27787
+ * @returns SurveyCreated instance
27788
+ */
27789
+ public static create(properties?: ISurveyCreated): SurveyCreated;
27790
+
27791
+ /**
27792
+ * Encodes the specified SurveyCreated message. Does not implicitly {@link SurveyCreated.verify|verify} messages.
27793
+ * @param message SurveyCreated message or plain object to encode
27794
+ * @param [writer] Writer to encode to
27795
+ * @returns Writer
27796
+ */
27797
+ public static encode(message: ISurveyCreated, writer?: $protobuf.Writer): $protobuf.Writer;
27798
+
27799
+ /**
27800
+ * Encodes the specified SurveyCreated message, length delimited. Does not implicitly {@link SurveyCreated.verify|verify} messages.
27801
+ * @param message SurveyCreated message or plain object to encode
27802
+ * @param [writer] Writer to encode to
27803
+ * @returns Writer
27804
+ */
27805
+ public static encodeDelimited(message: ISurveyCreated, writer?: $protobuf.Writer): $protobuf.Writer;
27806
+
27807
+ /**
27808
+ * Decodes a SurveyCreated message from the specified reader or buffer.
27809
+ * @param reader Reader or buffer to decode from
27810
+ * @param [length] Message length if known beforehand
27811
+ * @returns SurveyCreated
27812
+ * @throws {Error} If the payload is not a reader or valid buffer
27813
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27814
+ */
27815
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SurveyCreated;
27816
+
27817
+ /**
27818
+ * Decodes a SurveyCreated message from the specified reader or buffer, length delimited.
27819
+ * @param reader Reader or buffer to decode from
27820
+ * @returns SurveyCreated
27821
+ * @throws {Error} If the payload is not a reader or valid buffer
27822
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27823
+ */
27824
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SurveyCreated;
27825
+
27826
+ /**
27827
+ * Verifies a SurveyCreated message.
27828
+ * @param message Plain object to verify
27829
+ * @returns `null` if valid, otherwise the reason why it is not
27830
+ */
27831
+ public static verify(message: { [k: string]: any }): (string|null);
27832
+
27833
+ /**
27834
+ * Creates a SurveyCreated message from a plain object. Also converts values to their respective internal types.
27835
+ * @param object Plain object
27836
+ * @returns SurveyCreated
27837
+ */
27838
+ public static fromObject(object: { [k: string]: any }): SurveyCreated;
27839
+
27840
+ /**
27841
+ * Creates a plain object from a SurveyCreated message. Also converts values to other types if specified.
27842
+ * @param message SurveyCreated
27843
+ * @param [options] Conversion options
27844
+ * @returns Plain object
27845
+ */
27846
+ public static toObject(message: SurveyCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
27847
+
27848
+ /**
27849
+ * Converts this SurveyCreated to JSON.
27850
+ * @returns JSON object
27851
+ */
27852
+ public toJSON(): { [k: string]: any };
27853
+ }
27854
+
27855
+ /** Properties of a SurveyUpdated. */
27856
+ export interface ISurveyUpdated {
27857
+
27858
+ /** SurveyUpdated timestamp */
27859
+ timestamp?: (number|Long|null);
27860
+
27861
+ /** SurveyUpdated survey */
27862
+ survey?: (ISurvey|null);
27863
+ }
27864
+
27865
+ /** Represents a SurveyUpdated. */
27866
+ export class SurveyUpdated implements ISurveyUpdated {
27867
+
27868
+ /**
27869
+ * Constructs a new SurveyUpdated.
27870
+ * @param [properties] Properties to set
27871
+ */
27872
+ constructor(properties?: ISurveyUpdated);
27873
+
27874
+ /** SurveyUpdated timestamp. */
27875
+ public timestamp: (number|Long);
27876
+
27877
+ /** SurveyUpdated survey. */
27878
+ public survey?: (ISurvey|null);
27879
+
27880
+ /**
27881
+ * Creates a new SurveyUpdated instance using the specified properties.
27882
+ * @param [properties] Properties to set
27883
+ * @returns SurveyUpdated instance
27884
+ */
27885
+ public static create(properties?: ISurveyUpdated): SurveyUpdated;
27886
+
27887
+ /**
27888
+ * Encodes the specified SurveyUpdated message. Does not implicitly {@link SurveyUpdated.verify|verify} messages.
27889
+ * @param message SurveyUpdated message or plain object to encode
27890
+ * @param [writer] Writer to encode to
27891
+ * @returns Writer
27892
+ */
27893
+ public static encode(message: ISurveyUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
27894
+
27895
+ /**
27896
+ * Encodes the specified SurveyUpdated message, length delimited. Does not implicitly {@link SurveyUpdated.verify|verify} messages.
27897
+ * @param message SurveyUpdated message or plain object to encode
27898
+ * @param [writer] Writer to encode to
27899
+ * @returns Writer
27900
+ */
27901
+ public static encodeDelimited(message: ISurveyUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
27902
+
27903
+ /**
27904
+ * Decodes a SurveyUpdated message from the specified reader or buffer.
27905
+ * @param reader Reader or buffer to decode from
27906
+ * @param [length] Message length if known beforehand
27907
+ * @returns SurveyUpdated
27908
+ * @throws {Error} If the payload is not a reader or valid buffer
27909
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27910
+ */
27911
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SurveyUpdated;
27912
+
27913
+ /**
27914
+ * Decodes a SurveyUpdated message from the specified reader or buffer, length delimited.
27915
+ * @param reader Reader or buffer to decode from
27916
+ * @returns SurveyUpdated
27917
+ * @throws {Error} If the payload is not a reader or valid buffer
27918
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27919
+ */
27920
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SurveyUpdated;
27921
+
27922
+ /**
27923
+ * Verifies a SurveyUpdated message.
27924
+ * @param message Plain object to verify
27925
+ * @returns `null` if valid, otherwise the reason why it is not
27926
+ */
27927
+ public static verify(message: { [k: string]: any }): (string|null);
27928
+
27929
+ /**
27930
+ * Creates a SurveyUpdated message from a plain object. Also converts values to their respective internal types.
27931
+ * @param object Plain object
27932
+ * @returns SurveyUpdated
27933
+ */
27934
+ public static fromObject(object: { [k: string]: any }): SurveyUpdated;
27935
+
27936
+ /**
27937
+ * Creates a plain object from a SurveyUpdated message. Also converts values to other types if specified.
27938
+ * @param message SurveyUpdated
27939
+ * @param [options] Conversion options
27940
+ * @returns Plain object
27941
+ */
27942
+ public static toObject(message: SurveyUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
27943
+
27944
+ /**
27945
+ * Converts this SurveyUpdated to JSON.
27946
+ * @returns JSON object
27947
+ */
27948
+ public toJSON(): { [k: string]: any };
27949
+ }
27950
+
27951
+ /** Properties of a SurveyDeleted. */
27952
+ export interface ISurveyDeleted {
27953
+
27954
+ /** SurveyDeleted timestamp */
27955
+ timestamp?: (number|Long|null);
27956
+
27957
+ /** SurveyDeleted survey */
27958
+ survey?: (ISurvey|null);
27959
+ }
27960
+
27961
+ /** Represents a SurveyDeleted. */
27962
+ export class SurveyDeleted implements ISurveyDeleted {
27963
+
27964
+ /**
27965
+ * Constructs a new SurveyDeleted.
27966
+ * @param [properties] Properties to set
27967
+ */
27968
+ constructor(properties?: ISurveyDeleted);
27969
+
27970
+ /** SurveyDeleted timestamp. */
27971
+ public timestamp: (number|Long);
27972
+
27973
+ /** SurveyDeleted survey. */
27974
+ public survey?: (ISurvey|null);
27975
+
27976
+ /**
27977
+ * Creates a new SurveyDeleted instance using the specified properties.
27978
+ * @param [properties] Properties to set
27979
+ * @returns SurveyDeleted instance
27980
+ */
27981
+ public static create(properties?: ISurveyDeleted): SurveyDeleted;
27982
+
27983
+ /**
27984
+ * Encodes the specified SurveyDeleted message. Does not implicitly {@link SurveyDeleted.verify|verify} messages.
27985
+ * @param message SurveyDeleted message or plain object to encode
27986
+ * @param [writer] Writer to encode to
27987
+ * @returns Writer
27988
+ */
27989
+ public static encode(message: ISurveyDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
27990
+
27991
+ /**
27992
+ * Encodes the specified SurveyDeleted message, length delimited. Does not implicitly {@link SurveyDeleted.verify|verify} messages.
27993
+ * @param message SurveyDeleted message or plain object to encode
27994
+ * @param [writer] Writer to encode to
27995
+ * @returns Writer
27996
+ */
27997
+ public static encodeDelimited(message: ISurveyDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
27998
+
27999
+ /**
28000
+ * Decodes a SurveyDeleted message from the specified reader or buffer.
28001
+ * @param reader Reader or buffer to decode from
28002
+ * @param [length] Message length if known beforehand
28003
+ * @returns SurveyDeleted
28004
+ * @throws {Error} If the payload is not a reader or valid buffer
28005
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28006
+ */
28007
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SurveyDeleted;
28008
+
28009
+ /**
28010
+ * Decodes a SurveyDeleted message from the specified reader or buffer, length delimited.
28011
+ * @param reader Reader or buffer to decode from
28012
+ * @returns SurveyDeleted
28013
+ * @throws {Error} If the payload is not a reader or valid buffer
28014
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28015
+ */
28016
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SurveyDeleted;
28017
+
28018
+ /**
28019
+ * Verifies a SurveyDeleted message.
28020
+ * @param message Plain object to verify
28021
+ * @returns `null` if valid, otherwise the reason why it is not
28022
+ */
28023
+ public static verify(message: { [k: string]: any }): (string|null);
28024
+
28025
+ /**
28026
+ * Creates a SurveyDeleted message from a plain object. Also converts values to their respective internal types.
28027
+ * @param object Plain object
28028
+ * @returns SurveyDeleted
28029
+ */
28030
+ public static fromObject(object: { [k: string]: any }): SurveyDeleted;
28031
+
28032
+ /**
28033
+ * Creates a plain object from a SurveyDeleted message. Also converts values to other types if specified.
28034
+ * @param message SurveyDeleted
28035
+ * @param [options] Conversion options
28036
+ * @returns Plain object
28037
+ */
28038
+ public static toObject(message: SurveyDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
28039
+
28040
+ /**
28041
+ * Converts this SurveyDeleted to JSON.
28042
+ * @returns JSON object
28043
+ */
28044
+ public toJSON(): { [k: string]: any };
28045
+ }
28046
+
27619
28047
  /** Properties of an AssessmentScore. */
27620
28048
  export interface IAssessmentScore {
27621
28049
 
@@ -30429,7 +30857,7 @@ export interface IEapCoverageCreated {
30429
30857
  orgId?: (number|Long|null);
30430
30858
 
30431
30859
  /** EapCoverageCreated serviceType */
30432
- serviceType?: (EapServiceType|null);
30860
+ serviceType?: (b2b.EapServiceType|null);
30433
30861
 
30434
30862
  /** EapCoverageCreated coverageTotal */
30435
30863
  coverageTotal?: (number|Long|null);
@@ -30457,7 +30885,7 @@ export class EapCoverageCreated implements IEapCoverageCreated {
30457
30885
  public orgId: (number|Long);
30458
30886
 
30459
30887
  /** EapCoverageCreated serviceType. */
30460
- public serviceType: EapServiceType;
30888
+ public serviceType: b2b.EapServiceType;
30461
30889
 
30462
30890
  /** EapCoverageCreated coverageTotal. */
30463
30891
  public coverageTotal: (number|Long);
@@ -30549,7 +30977,7 @@ export interface IEapCoverageUpdated {
30549
30977
  orgId?: (number|Long|null);
30550
30978
 
30551
30979
  /** EapCoverageUpdated serviceType */
30552
- serviceType?: (EapServiceType|null);
30980
+ serviceType?: (b2b.EapServiceType|null);
30553
30981
 
30554
30982
  /** EapCoverageUpdated coverageTotal */
30555
30983
  coverageTotal?: (number|Long|null);
@@ -30577,7 +31005,7 @@ export class EapCoverageUpdated implements IEapCoverageUpdated {
30577
31005
  public orgId: (number|Long);
30578
31006
 
30579
31007
  /** EapCoverageUpdated serviceType. */
30580
- public serviceType: EapServiceType;
31008
+ public serviceType: b2b.EapServiceType;
30581
31009
 
30582
31010
  /** EapCoverageUpdated coverageTotal. */
30583
31011
  public coverageTotal: (number|Long);
@@ -30669,7 +31097,7 @@ export interface IEapCoverageDeleted {
30669
31097
  orgId?: (number|Long|null);
30670
31098
 
30671
31099
  /** EapCoverageDeleted serviceType */
30672
- serviceType?: (EapServiceType|null);
31100
+ serviceType?: (b2b.EapServiceType|null);
30673
31101
 
30674
31102
  /** EapCoverageDeleted coverageTotal */
30675
31103
  coverageTotal?: (number|Long|null);
@@ -30697,7 +31125,7 @@ export class EapCoverageDeleted implements IEapCoverageDeleted {
30697
31125
  public orgId: (number|Long);
30698
31126
 
30699
31127
  /** EapCoverageDeleted serviceType. */
30700
- public serviceType: EapServiceType;
31128
+ public serviceType: b2b.EapServiceType;
30701
31129
 
30702
31130
  /** EapCoverageDeleted coverageTotal. */
30703
31131
  public coverageTotal: (number|Long);
@@ -30782,14 +31210,6 @@ export class EapCoverageDeleted implements IEapCoverageDeleted {
30782
31210
  public toJSON(): { [k: string]: any };
30783
31211
  }
30784
31212
 
30785
- /** EapServiceType enum. */
30786
- export enum EapServiceType {
30787
- EAP_SERVICE_TYPE_UNKNOWN = 0,
30788
- EAP_SERVICE_TYPE_PSYCHIATRY = 1,
30789
- EAP_SERVICE_TYPE_THERAPY = 2,
30790
- EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY = 3
30791
- }
30792
-
30793
31213
  /** Properties of an EligibilityFileProcessed. */
30794
31214
  export interface IEligibilityFileProcessed {
30795
31215
 
@@ -38111,6 +38531,12 @@ export interface IEnterpriseUserEnrollmentCreated {
38111
38531
 
38112
38532
  /** EnterpriseUserEnrollmentCreated medicalPlan */
38113
38533
  medicalPlan?: (string|null);
38534
+
38535
+ /** EnterpriseUserEnrollmentCreated eapCoverageTotal */
38536
+ eapCoverageTotal?: (number|Long|null);
38537
+
38538
+ /** EnterpriseUserEnrollmentCreated eapServiceType */
38539
+ eapServiceType?: (b2b.EapServiceType|null);
38114
38540
  }
38115
38541
 
38116
38542
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -38224,6 +38650,12 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
38224
38650
  /** EnterpriseUserEnrollmentCreated medicalPlan. */
38225
38651
  public medicalPlan: string;
38226
38652
 
38653
+ /** EnterpriseUserEnrollmentCreated eapCoverageTotal. */
38654
+ public eapCoverageTotal: (number|Long);
38655
+
38656
+ /** EnterpriseUserEnrollmentCreated eapServiceType. */
38657
+ public eapServiceType: b2b.EapServiceType;
38658
+
38227
38659
  /**
38228
38660
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
38229
38661
  * @param [properties] Properties to set