@headspace/protos-events 1.85.0 → 1.86.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 +309 -204
  2. package/lib/index.js +3797 -3526
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3673,6 +3673,315 @@ export class ContentPlayedMetadata implements IContentPlayedMetadata {
3673
3673
  public toJSON(): { [k: string]: any };
3674
3674
  }
3675
3675
 
3676
+ /** Properties of a SurveyResponse. */
3677
+ export interface ISurveyResponse {
3678
+
3679
+ /** SurveyResponse userId */
3680
+ userId?: (string|null);
3681
+
3682
+ /** SurveyResponse surveyId */
3683
+ surveyId?: (string|null);
3684
+
3685
+ /** SurveyResponse questions */
3686
+ questions?: (ISurveyQuestion[]|null);
3687
+
3688
+ /** SurveyResponse createdAtIsoDate */
3689
+ createdAtIsoDate?: (string|null);
3690
+ }
3691
+
3692
+ /** Represents a SurveyResponse. */
3693
+ export class SurveyResponse implements ISurveyResponse {
3694
+
3695
+ /**
3696
+ * Constructs a new SurveyResponse.
3697
+ * @param [properties] Properties to set
3698
+ */
3699
+ constructor(properties?: ISurveyResponse);
3700
+
3701
+ /** SurveyResponse userId. */
3702
+ public userId: string;
3703
+
3704
+ /** SurveyResponse surveyId. */
3705
+ public surveyId: string;
3706
+
3707
+ /** SurveyResponse questions. */
3708
+ public questions: ISurveyQuestion[];
3709
+
3710
+ /** SurveyResponse createdAtIsoDate. */
3711
+ public createdAtIsoDate: string;
3712
+
3713
+ /**
3714
+ * Creates a new SurveyResponse instance using the specified properties.
3715
+ * @param [properties] Properties to set
3716
+ * @returns SurveyResponse instance
3717
+ */
3718
+ public static create(properties?: ISurveyResponse): SurveyResponse;
3719
+
3720
+ /**
3721
+ * Encodes the specified SurveyResponse message. Does not implicitly {@link SurveyResponse.verify|verify} messages.
3722
+ * @param message SurveyResponse message or plain object to encode
3723
+ * @param [writer] Writer to encode to
3724
+ * @returns Writer
3725
+ */
3726
+ public static encode(message: ISurveyResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3727
+
3728
+ /**
3729
+ * Encodes the specified SurveyResponse message, length delimited. Does not implicitly {@link SurveyResponse.verify|verify} messages.
3730
+ * @param message SurveyResponse message or plain object to encode
3731
+ * @param [writer] Writer to encode to
3732
+ * @returns Writer
3733
+ */
3734
+ public static encodeDelimited(message: ISurveyResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3735
+
3736
+ /**
3737
+ * Decodes a SurveyResponse message from the specified reader or buffer.
3738
+ * @param reader Reader or buffer to decode from
3739
+ * @param [length] Message length if known beforehand
3740
+ * @returns SurveyResponse
3741
+ * @throws {Error} If the payload is not a reader or valid buffer
3742
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3743
+ */
3744
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SurveyResponse;
3745
+
3746
+ /**
3747
+ * Decodes a SurveyResponse message from the specified reader or buffer, length delimited.
3748
+ * @param reader Reader or buffer to decode from
3749
+ * @returns SurveyResponse
3750
+ * @throws {Error} If the payload is not a reader or valid buffer
3751
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3752
+ */
3753
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SurveyResponse;
3754
+
3755
+ /**
3756
+ * Verifies a SurveyResponse message.
3757
+ * @param message Plain object to verify
3758
+ * @returns `null` if valid, otherwise the reason why it is not
3759
+ */
3760
+ public static verify(message: { [k: string]: any }): (string|null);
3761
+
3762
+ /**
3763
+ * Creates a SurveyResponse message from a plain object. Also converts values to their respective internal types.
3764
+ * @param object Plain object
3765
+ * @returns SurveyResponse
3766
+ */
3767
+ public static fromObject(object: { [k: string]: any }): SurveyResponse;
3768
+
3769
+ /**
3770
+ * Creates a plain object from a SurveyResponse message. Also converts values to other types if specified.
3771
+ * @param message SurveyResponse
3772
+ * @param [options] Conversion options
3773
+ * @returns Plain object
3774
+ */
3775
+ public static toObject(message: SurveyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
3776
+
3777
+ /**
3778
+ * Converts this SurveyResponse to JSON.
3779
+ * @returns JSON object
3780
+ */
3781
+ public toJSON(): { [k: string]: any };
3782
+ }
3783
+
3784
+ /** Properties of a SurveyQuestion. */
3785
+ export interface ISurveyQuestion {
3786
+
3787
+ /** SurveyQuestion title */
3788
+ title?: (string|null);
3789
+
3790
+ /** SurveyQuestion answers */
3791
+ answers?: (ISurveyAnswer[]|null);
3792
+ }
3793
+
3794
+ /** Represents a SurveyQuestion. */
3795
+ export class SurveyQuestion implements ISurveyQuestion {
3796
+
3797
+ /**
3798
+ * Constructs a new SurveyQuestion.
3799
+ * @param [properties] Properties to set
3800
+ */
3801
+ constructor(properties?: ISurveyQuestion);
3802
+
3803
+ /** SurveyQuestion title. */
3804
+ public title: string;
3805
+
3806
+ /** SurveyQuestion answers. */
3807
+ public answers: ISurveyAnswer[];
3808
+
3809
+ /**
3810
+ * Creates a new SurveyQuestion instance using the specified properties.
3811
+ * @param [properties] Properties to set
3812
+ * @returns SurveyQuestion instance
3813
+ */
3814
+ public static create(properties?: ISurveyQuestion): SurveyQuestion;
3815
+
3816
+ /**
3817
+ * Encodes the specified SurveyQuestion message. Does not implicitly {@link SurveyQuestion.verify|verify} messages.
3818
+ * @param message SurveyQuestion message or plain object to encode
3819
+ * @param [writer] Writer to encode to
3820
+ * @returns Writer
3821
+ */
3822
+ public static encode(message: ISurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
3823
+
3824
+ /**
3825
+ * Encodes the specified SurveyQuestion message, length delimited. Does not implicitly {@link SurveyQuestion.verify|verify} messages.
3826
+ * @param message SurveyQuestion message or plain object to encode
3827
+ * @param [writer] Writer to encode to
3828
+ * @returns Writer
3829
+ */
3830
+ public static encodeDelimited(message: ISurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
3831
+
3832
+ /**
3833
+ * Decodes a SurveyQuestion message from the specified reader or buffer.
3834
+ * @param reader Reader or buffer to decode from
3835
+ * @param [length] Message length if known beforehand
3836
+ * @returns SurveyQuestion
3837
+ * @throws {Error} If the payload is not a reader or valid buffer
3838
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3839
+ */
3840
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SurveyQuestion;
3841
+
3842
+ /**
3843
+ * Decodes a SurveyQuestion message from the specified reader or buffer, length delimited.
3844
+ * @param reader Reader or buffer to decode from
3845
+ * @returns SurveyQuestion
3846
+ * @throws {Error} If the payload is not a reader or valid buffer
3847
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3848
+ */
3849
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SurveyQuestion;
3850
+
3851
+ /**
3852
+ * Verifies a SurveyQuestion message.
3853
+ * @param message Plain object to verify
3854
+ * @returns `null` if valid, otherwise the reason why it is not
3855
+ */
3856
+ public static verify(message: { [k: string]: any }): (string|null);
3857
+
3858
+ /**
3859
+ * Creates a SurveyQuestion message from a plain object. Also converts values to their respective internal types.
3860
+ * @param object Plain object
3861
+ * @returns SurveyQuestion
3862
+ */
3863
+ public static fromObject(object: { [k: string]: any }): SurveyQuestion;
3864
+
3865
+ /**
3866
+ * Creates a plain object from a SurveyQuestion message. Also converts values to other types if specified.
3867
+ * @param message SurveyQuestion
3868
+ * @param [options] Conversion options
3869
+ * @returns Plain object
3870
+ */
3871
+ public static toObject(message: SurveyQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
3872
+
3873
+ /**
3874
+ * Converts this SurveyQuestion to JSON.
3875
+ * @returns JSON object
3876
+ */
3877
+ public toJSON(): { [k: string]: any };
3878
+ }
3879
+
3880
+ /** Properties of a SurveyAnswer. */
3881
+ export interface ISurveyAnswer {
3882
+
3883
+ /** SurveyAnswer text */
3884
+ text?: (string|null);
3885
+
3886
+ /** SurveyAnswer choice */
3887
+ choice?: (string|null);
3888
+
3889
+ /** SurveyAnswer score */
3890
+ score?: (number|null);
3891
+ }
3892
+
3893
+ /** Represents a SurveyAnswer. */
3894
+ export class SurveyAnswer implements ISurveyAnswer {
3895
+
3896
+ /**
3897
+ * Constructs a new SurveyAnswer.
3898
+ * @param [properties] Properties to set
3899
+ */
3900
+ constructor(properties?: ISurveyAnswer);
3901
+
3902
+ /** SurveyAnswer text. */
3903
+ public text: string;
3904
+
3905
+ /** SurveyAnswer choice. */
3906
+ public choice: string;
3907
+
3908
+ /** SurveyAnswer score. */
3909
+ public score: number;
3910
+
3911
+ /** SurveyAnswer answer. */
3912
+ public answer?: ("text"|"choice");
3913
+
3914
+ /**
3915
+ * Creates a new SurveyAnswer instance using the specified properties.
3916
+ * @param [properties] Properties to set
3917
+ * @returns SurveyAnswer instance
3918
+ */
3919
+ public static create(properties?: ISurveyAnswer): SurveyAnswer;
3920
+
3921
+ /**
3922
+ * Encodes the specified SurveyAnswer message. Does not implicitly {@link SurveyAnswer.verify|verify} messages.
3923
+ * @param message SurveyAnswer message or plain object to encode
3924
+ * @param [writer] Writer to encode to
3925
+ * @returns Writer
3926
+ */
3927
+ public static encode(message: ISurveyAnswer, writer?: $protobuf.Writer): $protobuf.Writer;
3928
+
3929
+ /**
3930
+ * Encodes the specified SurveyAnswer message, length delimited. Does not implicitly {@link SurveyAnswer.verify|verify} messages.
3931
+ * @param message SurveyAnswer message or plain object to encode
3932
+ * @param [writer] Writer to encode to
3933
+ * @returns Writer
3934
+ */
3935
+ public static encodeDelimited(message: ISurveyAnswer, writer?: $protobuf.Writer): $protobuf.Writer;
3936
+
3937
+ /**
3938
+ * Decodes a SurveyAnswer message from the specified reader or buffer.
3939
+ * @param reader Reader or buffer to decode from
3940
+ * @param [length] Message length if known beforehand
3941
+ * @returns SurveyAnswer
3942
+ * @throws {Error} If the payload is not a reader or valid buffer
3943
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3944
+ */
3945
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SurveyAnswer;
3946
+
3947
+ /**
3948
+ * Decodes a SurveyAnswer message from the specified reader or buffer, length delimited.
3949
+ * @param reader Reader or buffer to decode from
3950
+ * @returns SurveyAnswer
3951
+ * @throws {Error} If the payload is not a reader or valid buffer
3952
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3953
+ */
3954
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SurveyAnswer;
3955
+
3956
+ /**
3957
+ * Verifies a SurveyAnswer message.
3958
+ * @param message Plain object to verify
3959
+ * @returns `null` if valid, otherwise the reason why it is not
3960
+ */
3961
+ public static verify(message: { [k: string]: any }): (string|null);
3962
+
3963
+ /**
3964
+ * Creates a SurveyAnswer message from a plain object. Also converts values to their respective internal types.
3965
+ * @param object Plain object
3966
+ * @returns SurveyAnswer
3967
+ */
3968
+ public static fromObject(object: { [k: string]: any }): SurveyAnswer;
3969
+
3970
+ /**
3971
+ * Creates a plain object from a SurveyAnswer message. Also converts values to other types if specified.
3972
+ * @param message SurveyAnswer
3973
+ * @param [options] Conversion options
3974
+ * @returns Plain object
3975
+ */
3976
+ public static toObject(message: SurveyAnswer, options?: $protobuf.IConversionOptions): { [k: string]: any };
3977
+
3978
+ /**
3979
+ * Converts this SurveyAnswer to JSON.
3980
+ * @returns JSON object
3981
+ */
3982
+ public toJSON(): { [k: string]: any };
3983
+ }
3984
+
3676
3985
  /** Properties of a BuddyAccepted. */
3677
3986
  export interface IBuddyAccepted {
3678
3987
 
@@ -6703,210 +7012,6 @@ export class AccessibleEntityDeleted implements IAccessibleEntityDeleted {
6703
7012
  public toJSON(): { [k: string]: any };
6704
7013
  }
6705
7014
 
6706
- /** Properties of an OrganizationAccessGroupMapCreated. */
6707
- export interface IOrganizationAccessGroupMapCreated {
6708
-
6709
- /** OrganizationAccessGroupMapCreated organizationId */
6710
- organizationId?: (string|null);
6711
-
6712
- /** OrganizationAccessGroupMapCreated accessGroupName */
6713
- accessGroupName?: (string|null);
6714
-
6715
- /** OrganizationAccessGroupMapCreated createdAt */
6716
- createdAt?: (number|Long|null);
6717
- }
6718
-
6719
- /** Represents an OrganizationAccessGroupMapCreated. */
6720
- export class OrganizationAccessGroupMapCreated implements IOrganizationAccessGroupMapCreated {
6721
-
6722
- /**
6723
- * Constructs a new OrganizationAccessGroupMapCreated.
6724
- * @param [properties] Properties to set
6725
- */
6726
- constructor(properties?: IOrganizationAccessGroupMapCreated);
6727
-
6728
- /** OrganizationAccessGroupMapCreated organizationId. */
6729
- public organizationId: string;
6730
-
6731
- /** OrganizationAccessGroupMapCreated accessGroupName. */
6732
- public accessGroupName: string;
6733
-
6734
- /** OrganizationAccessGroupMapCreated createdAt. */
6735
- public createdAt: (number|Long);
6736
-
6737
- /**
6738
- * Creates a new OrganizationAccessGroupMapCreated instance using the specified properties.
6739
- * @param [properties] Properties to set
6740
- * @returns OrganizationAccessGroupMapCreated instance
6741
- */
6742
- public static create(properties?: IOrganizationAccessGroupMapCreated): OrganizationAccessGroupMapCreated;
6743
-
6744
- /**
6745
- * Encodes the specified OrganizationAccessGroupMapCreated message. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
6746
- * @param message OrganizationAccessGroupMapCreated message or plain object to encode
6747
- * @param [writer] Writer to encode to
6748
- * @returns Writer
6749
- */
6750
- public static encode(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6751
-
6752
- /**
6753
- * Encodes the specified OrganizationAccessGroupMapCreated message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
6754
- * @param message OrganizationAccessGroupMapCreated message or plain object to encode
6755
- * @param [writer] Writer to encode to
6756
- * @returns Writer
6757
- */
6758
- public static encodeDelimited(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6759
-
6760
- /**
6761
- * Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer.
6762
- * @param reader Reader or buffer to decode from
6763
- * @param [length] Message length if known beforehand
6764
- * @returns OrganizationAccessGroupMapCreated
6765
- * @throws {Error} If the payload is not a reader or valid buffer
6766
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
6767
- */
6768
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapCreated;
6769
-
6770
- /**
6771
- * Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer, length delimited.
6772
- * @param reader Reader or buffer to decode from
6773
- * @returns OrganizationAccessGroupMapCreated
6774
- * @throws {Error} If the payload is not a reader or valid buffer
6775
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
6776
- */
6777
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapCreated;
6778
-
6779
- /**
6780
- * Verifies an OrganizationAccessGroupMapCreated message.
6781
- * @param message Plain object to verify
6782
- * @returns `null` if valid, otherwise the reason why it is not
6783
- */
6784
- public static verify(message: { [k: string]: any }): (string|null);
6785
-
6786
- /**
6787
- * Creates an OrganizationAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
6788
- * @param object Plain object
6789
- * @returns OrganizationAccessGroupMapCreated
6790
- */
6791
- public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapCreated;
6792
-
6793
- /**
6794
- * Creates a plain object from an OrganizationAccessGroupMapCreated message. Also converts values to other types if specified.
6795
- * @param message OrganizationAccessGroupMapCreated
6796
- * @param [options] Conversion options
6797
- * @returns Plain object
6798
- */
6799
- public static toObject(message: OrganizationAccessGroupMapCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6800
-
6801
- /**
6802
- * Converts this OrganizationAccessGroupMapCreated to JSON.
6803
- * @returns JSON object
6804
- */
6805
- public toJSON(): { [k: string]: any };
6806
- }
6807
-
6808
- /** Properties of an OrganizationAccessGroupMapDeleted. */
6809
- export interface IOrganizationAccessGroupMapDeleted {
6810
-
6811
- /** OrganizationAccessGroupMapDeleted organizationId */
6812
- organizationId?: (string|null);
6813
-
6814
- /** OrganizationAccessGroupMapDeleted accessGroupName */
6815
- accessGroupName?: (string|null);
6816
-
6817
- /** OrganizationAccessGroupMapDeleted deletedAt */
6818
- deletedAt?: (number|Long|null);
6819
- }
6820
-
6821
- /** Represents an OrganizationAccessGroupMapDeleted. */
6822
- export class OrganizationAccessGroupMapDeleted implements IOrganizationAccessGroupMapDeleted {
6823
-
6824
- /**
6825
- * Constructs a new OrganizationAccessGroupMapDeleted.
6826
- * @param [properties] Properties to set
6827
- */
6828
- constructor(properties?: IOrganizationAccessGroupMapDeleted);
6829
-
6830
- /** OrganizationAccessGroupMapDeleted organizationId. */
6831
- public organizationId: string;
6832
-
6833
- /** OrganizationAccessGroupMapDeleted accessGroupName. */
6834
- public accessGroupName: string;
6835
-
6836
- /** OrganizationAccessGroupMapDeleted deletedAt. */
6837
- public deletedAt: (number|Long);
6838
-
6839
- /**
6840
- * Creates a new OrganizationAccessGroupMapDeleted instance using the specified properties.
6841
- * @param [properties] Properties to set
6842
- * @returns OrganizationAccessGroupMapDeleted instance
6843
- */
6844
- public static create(properties?: IOrganizationAccessGroupMapDeleted): OrganizationAccessGroupMapDeleted;
6845
-
6846
- /**
6847
- * Encodes the specified OrganizationAccessGroupMapDeleted message. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
6848
- * @param message OrganizationAccessGroupMapDeleted message or plain object to encode
6849
- * @param [writer] Writer to encode to
6850
- * @returns Writer
6851
- */
6852
- public static encode(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6853
-
6854
- /**
6855
- * Encodes the specified OrganizationAccessGroupMapDeleted message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
6856
- * @param message OrganizationAccessGroupMapDeleted message or plain object to encode
6857
- * @param [writer] Writer to encode to
6858
- * @returns Writer
6859
- */
6860
- public static encodeDelimited(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6861
-
6862
- /**
6863
- * Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer.
6864
- * @param reader Reader or buffer to decode from
6865
- * @param [length] Message length if known beforehand
6866
- * @returns OrganizationAccessGroupMapDeleted
6867
- * @throws {Error} If the payload is not a reader or valid buffer
6868
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
6869
- */
6870
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapDeleted;
6871
-
6872
- /**
6873
- * Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
6874
- * @param reader Reader or buffer to decode from
6875
- * @returns OrganizationAccessGroupMapDeleted
6876
- * @throws {Error} If the payload is not a reader or valid buffer
6877
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
6878
- */
6879
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapDeleted;
6880
-
6881
- /**
6882
- * Verifies an OrganizationAccessGroupMapDeleted message.
6883
- * @param message Plain object to verify
6884
- * @returns `null` if valid, otherwise the reason why it is not
6885
- */
6886
- public static verify(message: { [k: string]: any }): (string|null);
6887
-
6888
- /**
6889
- * Creates an OrganizationAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
6890
- * @param object Plain object
6891
- * @returns OrganizationAccessGroupMapDeleted
6892
- */
6893
- public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapDeleted;
6894
-
6895
- /**
6896
- * Creates a plain object from an OrganizationAccessGroupMapDeleted message. Also converts values to other types if specified.
6897
- * @param message OrganizationAccessGroupMapDeleted
6898
- * @param [options] Conversion options
6899
- * @returns Plain object
6900
- */
6901
- public static toObject(message: OrganizationAccessGroupMapDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
6902
-
6903
- /**
6904
- * Converts this OrganizationAccessGroupMapDeleted to JSON.
6905
- * @returns JSON object
6906
- */
6907
- public toJSON(): { [k: string]: any };
6908
- }
6909
-
6910
7015
  /** Properties of a ReferralSignedUp. */
6911
7016
  export interface IReferralSignedUp {
6912
7017