@headspace/protos-events 1.520.0 → 1.522.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 +336 -0
  2. package/lib/index.js +970 -86
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -34122,6 +34122,132 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
34122
34122
  public toJSON(): { [k: string]: any };
34123
34123
  }
34124
34124
 
34125
+ /** Properties of an InviteRemoved. */
34126
+ export interface IInviteRemoved {
34127
+
34128
+ /** InviteRemoved timestamp */
34129
+ timestamp?: (number|Long|null);
34130
+
34131
+ /** InviteRemoved email */
34132
+ email?: (string|null);
34133
+
34134
+ /** InviteRemoved groupOwnerHsUserId */
34135
+ groupOwnerHsUserId?: (string|null);
34136
+
34137
+ /** InviteRemoved dependentGroupId */
34138
+ dependentGroupId?: (number|null);
34139
+
34140
+ /** InviteRemoved groupType */
34141
+ groupType?: (GroupType[]|null);
34142
+
34143
+ /** InviteRemoved orgId */
34144
+ orgId?: (number|null);
34145
+
34146
+ /** InviteRemoved b2bOrgSubscriptionId */
34147
+ b2bOrgSubscriptionId?: (number|null);
34148
+ }
34149
+
34150
+ /** Represents an InviteRemoved. */
34151
+ export class InviteRemoved implements IInviteRemoved {
34152
+
34153
+ /**
34154
+ * Constructs a new InviteRemoved.
34155
+ * @param [properties] Properties to set
34156
+ */
34157
+ constructor(properties?: IInviteRemoved);
34158
+
34159
+ /** InviteRemoved timestamp. */
34160
+ public timestamp: (number|Long);
34161
+
34162
+ /** InviteRemoved email. */
34163
+ public email: string;
34164
+
34165
+ /** InviteRemoved groupOwnerHsUserId. */
34166
+ public groupOwnerHsUserId: string;
34167
+
34168
+ /** InviteRemoved dependentGroupId. */
34169
+ public dependentGroupId: number;
34170
+
34171
+ /** InviteRemoved groupType. */
34172
+ public groupType: GroupType[];
34173
+
34174
+ /** InviteRemoved orgId. */
34175
+ public orgId: number;
34176
+
34177
+ /** InviteRemoved b2bOrgSubscriptionId. */
34178
+ public b2bOrgSubscriptionId: number;
34179
+
34180
+ /**
34181
+ * Creates a new InviteRemoved instance using the specified properties.
34182
+ * @param [properties] Properties to set
34183
+ * @returns InviteRemoved instance
34184
+ */
34185
+ public static create(properties?: IInviteRemoved): InviteRemoved;
34186
+
34187
+ /**
34188
+ * Encodes the specified InviteRemoved message. Does not implicitly {@link InviteRemoved.verify|verify} messages.
34189
+ * @param message InviteRemoved message or plain object to encode
34190
+ * @param [writer] Writer to encode to
34191
+ * @returns Writer
34192
+ */
34193
+ public static encode(message: IInviteRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
34194
+
34195
+ /**
34196
+ * Encodes the specified InviteRemoved message, length delimited. Does not implicitly {@link InviteRemoved.verify|verify} messages.
34197
+ * @param message InviteRemoved message or plain object to encode
34198
+ * @param [writer] Writer to encode to
34199
+ * @returns Writer
34200
+ */
34201
+ public static encodeDelimited(message: IInviteRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
34202
+
34203
+ /**
34204
+ * Decodes an InviteRemoved message from the specified reader or buffer.
34205
+ * @param reader Reader or buffer to decode from
34206
+ * @param [length] Message length if known beforehand
34207
+ * @returns InviteRemoved
34208
+ * @throws {Error} If the payload is not a reader or valid buffer
34209
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34210
+ */
34211
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InviteRemoved;
34212
+
34213
+ /**
34214
+ * Decodes an InviteRemoved message from the specified reader or buffer, length delimited.
34215
+ * @param reader Reader or buffer to decode from
34216
+ * @returns InviteRemoved
34217
+ * @throws {Error} If the payload is not a reader or valid buffer
34218
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34219
+ */
34220
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InviteRemoved;
34221
+
34222
+ /**
34223
+ * Verifies an InviteRemoved message.
34224
+ * @param message Plain object to verify
34225
+ * @returns `null` if valid, otherwise the reason why it is not
34226
+ */
34227
+ public static verify(message: { [k: string]: any }): (string|null);
34228
+
34229
+ /**
34230
+ * Creates an InviteRemoved message from a plain object. Also converts values to their respective internal types.
34231
+ * @param object Plain object
34232
+ * @returns InviteRemoved
34233
+ */
34234
+ public static fromObject(object: { [k: string]: any }): InviteRemoved;
34235
+
34236
+ /**
34237
+ * Creates a plain object from an InviteRemoved message. Also converts values to other types if specified.
34238
+ * @param message InviteRemoved
34239
+ * @param [options] Conversion options
34240
+ * @returns Plain object
34241
+ */
34242
+ public static toObject(message: InviteRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
34243
+
34244
+ /**
34245
+ * Converts this InviteRemoved to JSON.
34246
+ * @returns JSON object
34247
+ */
34248
+ public toJSON(): { [k: string]: any };
34249
+ }
34250
+
34125
34251
  /** Properties of a VoiceDeviceConnected. */
34126
34252
  export interface IVoiceDeviceConnected {
34127
34253
 
@@ -34620,6 +34746,102 @@ export class DiscussionUser implements IDiscussionUser {
34620
34746
  public toJSON(): { [k: string]: any };
34621
34747
  }
34622
34748
 
34749
+ /** Properties of a CourseInfo. */
34750
+ export interface ICourseInfo {
34751
+
34752
+ /** CourseInfo courseId */
34753
+ courseId?: (string|null);
34754
+
34755
+ /** CourseInfo courseName */
34756
+ courseName?: (string|null);
34757
+ }
34758
+
34759
+ /** Represents a CourseInfo. */
34760
+ export class CourseInfo implements ICourseInfo {
34761
+
34762
+ /**
34763
+ * Constructs a new CourseInfo.
34764
+ * @param [properties] Properties to set
34765
+ */
34766
+ constructor(properties?: ICourseInfo);
34767
+
34768
+ /** CourseInfo courseId. */
34769
+ public courseId: string;
34770
+
34771
+ /** CourseInfo courseName. */
34772
+ public courseName: string;
34773
+
34774
+ /**
34775
+ * Creates a new CourseInfo instance using the specified properties.
34776
+ * @param [properties] Properties to set
34777
+ * @returns CourseInfo instance
34778
+ */
34779
+ public static create(properties?: ICourseInfo): CourseInfo;
34780
+
34781
+ /**
34782
+ * Encodes the specified CourseInfo message. Does not implicitly {@link CourseInfo.verify|verify} messages.
34783
+ * @param message CourseInfo message or plain object to encode
34784
+ * @param [writer] Writer to encode to
34785
+ * @returns Writer
34786
+ */
34787
+ public static encode(message: ICourseInfo, writer?: $protobuf.Writer): $protobuf.Writer;
34788
+
34789
+ /**
34790
+ * Encodes the specified CourseInfo message, length delimited. Does not implicitly {@link CourseInfo.verify|verify} messages.
34791
+ * @param message CourseInfo message or plain object to encode
34792
+ * @param [writer] Writer to encode to
34793
+ * @returns Writer
34794
+ */
34795
+ public static encodeDelimited(message: ICourseInfo, writer?: $protobuf.Writer): $protobuf.Writer;
34796
+
34797
+ /**
34798
+ * Decodes a CourseInfo message from the specified reader or buffer.
34799
+ * @param reader Reader or buffer to decode from
34800
+ * @param [length] Message length if known beforehand
34801
+ * @returns CourseInfo
34802
+ * @throws {Error} If the payload is not a reader or valid buffer
34803
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34804
+ */
34805
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CourseInfo;
34806
+
34807
+ /**
34808
+ * Decodes a CourseInfo message from the specified reader or buffer, length delimited.
34809
+ * @param reader Reader or buffer to decode from
34810
+ * @returns CourseInfo
34811
+ * @throws {Error} If the payload is not a reader or valid buffer
34812
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34813
+ */
34814
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CourseInfo;
34815
+
34816
+ /**
34817
+ * Verifies a CourseInfo message.
34818
+ * @param message Plain object to verify
34819
+ * @returns `null` if valid, otherwise the reason why it is not
34820
+ */
34821
+ public static verify(message: { [k: string]: any }): (string|null);
34822
+
34823
+ /**
34824
+ * Creates a CourseInfo message from a plain object. Also converts values to their respective internal types.
34825
+ * @param object Plain object
34826
+ * @returns CourseInfo
34827
+ */
34828
+ public static fromObject(object: { [k: string]: any }): CourseInfo;
34829
+
34830
+ /**
34831
+ * Creates a plain object from a CourseInfo message. Also converts values to other types if specified.
34832
+ * @param message CourseInfo
34833
+ * @param [options] Conversion options
34834
+ * @returns Plain object
34835
+ */
34836
+ public static toObject(message: CourseInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
34837
+
34838
+ /**
34839
+ * Converts this CourseInfo to JSON.
34840
+ * @returns JSON object
34841
+ */
34842
+ public toJSON(): { [k: string]: any };
34843
+ }
34844
+
34623
34845
  /** Properties of a DiscussionPost. */
34624
34846
  export interface IDiscussionPost {
34625
34847
 
@@ -34628,6 +34850,18 @@ export interface IDiscussionPost {
34628
34850
 
34629
34851
  /** DiscussionPost author */
34630
34852
  author?: (IDiscussionUser|null);
34853
+
34854
+ /** DiscussionPost courseInfo */
34855
+ courseInfo?: (ICourseInfo|null);
34856
+
34857
+ /** DiscussionPost parentId */
34858
+ parentId?: (string|null);
34859
+
34860
+ /** DiscussionPost discussionGroupId */
34861
+ discussionGroupId?: (string|null);
34862
+
34863
+ /** DiscussionPost messageBody */
34864
+ messageBody?: (string|null);
34631
34865
  }
34632
34866
 
34633
34867
  /** Represents a DiscussionPost. */
@@ -34645,6 +34879,18 @@ export class DiscussionPost implements IDiscussionPost {
34645
34879
  /** DiscussionPost author. */
34646
34880
  public author?: (IDiscussionUser|null);
34647
34881
 
34882
+ /** DiscussionPost courseInfo. */
34883
+ public courseInfo?: (ICourseInfo|null);
34884
+
34885
+ /** DiscussionPost parentId. */
34886
+ public parentId: string;
34887
+
34888
+ /** DiscussionPost discussionGroupId. */
34889
+ public discussionGroupId: string;
34890
+
34891
+ /** DiscussionPost messageBody. */
34892
+ public messageBody: string;
34893
+
34648
34894
  /**
34649
34895
  * Creates a new DiscussionPost instance using the specified properties.
34650
34896
  * @param [properties] Properties to set
@@ -34847,6 +35093,96 @@ export namespace DiscussionPostReactionCreated {
34847
35093
  }
34848
35094
  }
34849
35095
 
35096
+ /** Properties of a DiscussionPostCreated. */
35097
+ export interface IDiscussionPostCreated {
35098
+
35099
+ /** DiscussionPostCreated post */
35100
+ post?: (IDiscussionPost|null);
35101
+ }
35102
+
35103
+ /** Represents a DiscussionPostCreated. */
35104
+ export class DiscussionPostCreated implements IDiscussionPostCreated {
35105
+
35106
+ /**
35107
+ * Constructs a new DiscussionPostCreated.
35108
+ * @param [properties] Properties to set
35109
+ */
35110
+ constructor(properties?: IDiscussionPostCreated);
35111
+
35112
+ /** DiscussionPostCreated post. */
35113
+ public post?: (IDiscussionPost|null);
35114
+
35115
+ /**
35116
+ * Creates a new DiscussionPostCreated instance using the specified properties.
35117
+ * @param [properties] Properties to set
35118
+ * @returns DiscussionPostCreated instance
35119
+ */
35120
+ public static create(properties?: IDiscussionPostCreated): DiscussionPostCreated;
35121
+
35122
+ /**
35123
+ * Encodes the specified DiscussionPostCreated message. Does not implicitly {@link DiscussionPostCreated.verify|verify} messages.
35124
+ * @param message DiscussionPostCreated message or plain object to encode
35125
+ * @param [writer] Writer to encode to
35126
+ * @returns Writer
35127
+ */
35128
+ public static encode(message: IDiscussionPostCreated, writer?: $protobuf.Writer): $protobuf.Writer;
35129
+
35130
+ /**
35131
+ * Encodes the specified DiscussionPostCreated message, length delimited. Does not implicitly {@link DiscussionPostCreated.verify|verify} messages.
35132
+ * @param message DiscussionPostCreated message or plain object to encode
35133
+ * @param [writer] Writer to encode to
35134
+ * @returns Writer
35135
+ */
35136
+ public static encodeDelimited(message: IDiscussionPostCreated, writer?: $protobuf.Writer): $protobuf.Writer;
35137
+
35138
+ /**
35139
+ * Decodes a DiscussionPostCreated message from the specified reader or buffer.
35140
+ * @param reader Reader or buffer to decode from
35141
+ * @param [length] Message length if known beforehand
35142
+ * @returns DiscussionPostCreated
35143
+ * @throws {Error} If the payload is not a reader or valid buffer
35144
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35145
+ */
35146
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DiscussionPostCreated;
35147
+
35148
+ /**
35149
+ * Decodes a DiscussionPostCreated message from the specified reader or buffer, length delimited.
35150
+ * @param reader Reader or buffer to decode from
35151
+ * @returns DiscussionPostCreated
35152
+ * @throws {Error} If the payload is not a reader or valid buffer
35153
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35154
+ */
35155
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DiscussionPostCreated;
35156
+
35157
+ /**
35158
+ * Verifies a DiscussionPostCreated message.
35159
+ * @param message Plain object to verify
35160
+ * @returns `null` if valid, otherwise the reason why it is not
35161
+ */
35162
+ public static verify(message: { [k: string]: any }): (string|null);
35163
+
35164
+ /**
35165
+ * Creates a DiscussionPostCreated message from a plain object. Also converts values to their respective internal types.
35166
+ * @param object Plain object
35167
+ * @returns DiscussionPostCreated
35168
+ */
35169
+ public static fromObject(object: { [k: string]: any }): DiscussionPostCreated;
35170
+
35171
+ /**
35172
+ * Creates a plain object from a DiscussionPostCreated message. Also converts values to other types if specified.
35173
+ * @param message DiscussionPostCreated
35174
+ * @param [options] Conversion options
35175
+ * @returns Plain object
35176
+ */
35177
+ public static toObject(message: DiscussionPostCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
35178
+
35179
+ /**
35180
+ * Converts this DiscussionPostCreated to JSON.
35181
+ * @returns JSON object
35182
+ */
35183
+ public toJSON(): { [k: string]: any };
35184
+ }
35185
+
34850
35186
  /** Properties of an ElfProcessingStarted. */
34851
35187
  export interface IElfProcessingStarted {
34852
35188