@headspace/protos-events 1.782.0 → 1.784.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 +257 -41
  2. package/lib/index.js +692 -163
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -36818,6 +36818,108 @@ export class ClinicalIntakeCompleted implements IClinicalIntakeCompleted {
36818
36818
  public toJSON(): { [k: string]: any };
36819
36819
  }
36820
36820
 
36821
+ /** Properties of a TaggedCustomField. */
36822
+ export interface ITaggedCustomField {
36823
+
36824
+ /** TaggedCustomField key */
36825
+ key?: (string|null);
36826
+
36827
+ /** TaggedCustomField value */
36828
+ value?: (string|null);
36829
+
36830
+ /** TaggedCustomField fieldTags */
36831
+ fieldTags?: (field_tags.FieldTags[]|null);
36832
+ }
36833
+
36834
+ /** Represents a TaggedCustomField. */
36835
+ export class TaggedCustomField implements ITaggedCustomField {
36836
+
36837
+ /**
36838
+ * Constructs a new TaggedCustomField.
36839
+ * @param [properties] Properties to set
36840
+ */
36841
+ constructor(properties?: ITaggedCustomField);
36842
+
36843
+ /** TaggedCustomField key. */
36844
+ public key: string;
36845
+
36846
+ /** TaggedCustomField value. */
36847
+ public value: string;
36848
+
36849
+ /** TaggedCustomField fieldTags. */
36850
+ public fieldTags: field_tags.FieldTags[];
36851
+
36852
+ /**
36853
+ * Creates a new TaggedCustomField instance using the specified properties.
36854
+ * @param [properties] Properties to set
36855
+ * @returns TaggedCustomField instance
36856
+ */
36857
+ public static create(properties?: ITaggedCustomField): TaggedCustomField;
36858
+
36859
+ /**
36860
+ * Encodes the specified TaggedCustomField message. Does not implicitly {@link TaggedCustomField.verify|verify} messages.
36861
+ * @param message TaggedCustomField message or plain object to encode
36862
+ * @param [writer] Writer to encode to
36863
+ * @returns Writer
36864
+ */
36865
+ public static encode(message: ITaggedCustomField, writer?: $protobuf.Writer): $protobuf.Writer;
36866
+
36867
+ /**
36868
+ * Encodes the specified TaggedCustomField message, length delimited. Does not implicitly {@link TaggedCustomField.verify|verify} messages.
36869
+ * @param message TaggedCustomField message or plain object to encode
36870
+ * @param [writer] Writer to encode to
36871
+ * @returns Writer
36872
+ */
36873
+ public static encodeDelimited(message: ITaggedCustomField, writer?: $protobuf.Writer): $protobuf.Writer;
36874
+
36875
+ /**
36876
+ * Decodes a TaggedCustomField message from the specified reader or buffer.
36877
+ * @param reader Reader or buffer to decode from
36878
+ * @param [length] Message length if known beforehand
36879
+ * @returns TaggedCustomField
36880
+ * @throws {Error} If the payload is not a reader or valid buffer
36881
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36882
+ */
36883
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TaggedCustomField;
36884
+
36885
+ /**
36886
+ * Decodes a TaggedCustomField message from the specified reader or buffer, length delimited.
36887
+ * @param reader Reader or buffer to decode from
36888
+ * @returns TaggedCustomField
36889
+ * @throws {Error} If the payload is not a reader or valid buffer
36890
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36891
+ */
36892
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TaggedCustomField;
36893
+
36894
+ /**
36895
+ * Verifies a TaggedCustomField message.
36896
+ * @param message Plain object to verify
36897
+ * @returns `null` if valid, otherwise the reason why it is not
36898
+ */
36899
+ public static verify(message: { [k: string]: any }): (string|null);
36900
+
36901
+ /**
36902
+ * Creates a TaggedCustomField message from a plain object. Also converts values to their respective internal types.
36903
+ * @param object Plain object
36904
+ * @returns TaggedCustomField
36905
+ */
36906
+ public static fromObject(object: { [k: string]: any }): TaggedCustomField;
36907
+
36908
+ /**
36909
+ * Creates a plain object from a TaggedCustomField message. Also converts values to other types if specified.
36910
+ * @param message TaggedCustomField
36911
+ * @param [options] Conversion options
36912
+ * @returns Plain object
36913
+ */
36914
+ public static toObject(message: TaggedCustomField, options?: $protobuf.IConversionOptions): { [k: string]: any };
36915
+
36916
+ /**
36917
+ * Converts this TaggedCustomField to JSON.
36918
+ * @returns JSON object
36919
+ */
36920
+ public toJSON(): { [k: string]: any };
36921
+ }
36922
+
36821
36923
  /** GroupType enum. */
36822
36924
  export enum GroupType {
36823
36925
  GROUP_TYPE_UNKNOWN = 0,
@@ -41976,103 +42078,103 @@ export enum PartnerName {
41976
42078
  PARTNER_NAME_PERSONIFY = 3
41977
42079
  }
41978
42080
 
41979
- /** Properties of a TaggedCustomField. */
41980
- export interface ITaggedCustomField {
42081
+ /** Properties of an UtmParams. */
42082
+ export interface IUtmParams {
41981
42083
 
41982
- /** TaggedCustomField key */
41983
- key?: (string|null);
42084
+ /** UtmParams source */
42085
+ source?: (string|null);
41984
42086
 
41985
- /** TaggedCustomField value */
41986
- value?: (string|null);
42087
+ /** UtmParams medium */
42088
+ medium?: (string|null);
41987
42089
 
41988
- /** TaggedCustomField fieldTags */
41989
- fieldTags?: (field_tags.FieldTags[]|null);
42090
+ /** UtmParams campaign */
42091
+ campaign?: (string|null);
41990
42092
  }
41991
42093
 
41992
- /** Represents a TaggedCustomField. */
41993
- export class TaggedCustomField implements ITaggedCustomField {
42094
+ /** Represents an UtmParams. */
42095
+ export class UtmParams implements IUtmParams {
41994
42096
 
41995
42097
  /**
41996
- * Constructs a new TaggedCustomField.
42098
+ * Constructs a new UtmParams.
41997
42099
  * @param [properties] Properties to set
41998
42100
  */
41999
- constructor(properties?: ITaggedCustomField);
42101
+ constructor(properties?: IUtmParams);
42000
42102
 
42001
- /** TaggedCustomField key. */
42002
- public key: string;
42103
+ /** UtmParams source. */
42104
+ public source: string;
42003
42105
 
42004
- /** TaggedCustomField value. */
42005
- public value: string;
42106
+ /** UtmParams medium. */
42107
+ public medium: string;
42006
42108
 
42007
- /** TaggedCustomField fieldTags. */
42008
- public fieldTags: field_tags.FieldTags[];
42109
+ /** UtmParams campaign. */
42110
+ public campaign: string;
42009
42111
 
42010
42112
  /**
42011
- * Creates a new TaggedCustomField instance using the specified properties.
42113
+ * Creates a new UtmParams instance using the specified properties.
42012
42114
  * @param [properties] Properties to set
42013
- * @returns TaggedCustomField instance
42115
+ * @returns UtmParams instance
42014
42116
  */
42015
- public static create(properties?: ITaggedCustomField): TaggedCustomField;
42117
+ public static create(properties?: IUtmParams): UtmParams;
42016
42118
 
42017
42119
  /**
42018
- * Encodes the specified TaggedCustomField message. Does not implicitly {@link TaggedCustomField.verify|verify} messages.
42019
- * @param message TaggedCustomField message or plain object to encode
42120
+ * Encodes the specified UtmParams message. Does not implicitly {@link UtmParams.verify|verify} messages.
42121
+ * @param message UtmParams message or plain object to encode
42020
42122
  * @param [writer] Writer to encode to
42021
42123
  * @returns Writer
42022
42124
  */
42023
- public static encode(message: ITaggedCustomField, writer?: $protobuf.Writer): $protobuf.Writer;
42125
+ public static encode(message: IUtmParams, writer?: $protobuf.Writer): $protobuf.Writer;
42024
42126
 
42025
42127
  /**
42026
- * Encodes the specified TaggedCustomField message, length delimited. Does not implicitly {@link TaggedCustomField.verify|verify} messages.
42027
- * @param message TaggedCustomField message or plain object to encode
42128
+ * Encodes the specified UtmParams message, length delimited. Does not implicitly {@link UtmParams.verify|verify} messages.
42129
+ * @param message UtmParams message or plain object to encode
42028
42130
  * @param [writer] Writer to encode to
42029
42131
  * @returns Writer
42030
42132
  */
42031
- public static encodeDelimited(message: ITaggedCustomField, writer?: $protobuf.Writer): $protobuf.Writer;
42133
+ public static encodeDelimited(message: IUtmParams, writer?: $protobuf.Writer): $protobuf.Writer;
42032
42134
 
42033
42135
  /**
42034
- * Decodes a TaggedCustomField message from the specified reader or buffer.
42136
+ * Decodes an UtmParams message from the specified reader or buffer.
42035
42137
  * @param reader Reader or buffer to decode from
42036
42138
  * @param [length] Message length if known beforehand
42037
- * @returns TaggedCustomField
42139
+ * @returns UtmParams
42038
42140
  * @throws {Error} If the payload is not a reader or valid buffer
42039
42141
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
42040
42142
  */
42041
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TaggedCustomField;
42143
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UtmParams;
42042
42144
 
42043
42145
  /**
42044
- * Decodes a TaggedCustomField message from the specified reader or buffer, length delimited.
42146
+ * Decodes an UtmParams message from the specified reader or buffer, length delimited.
42045
42147
  * @param reader Reader or buffer to decode from
42046
- * @returns TaggedCustomField
42148
+ * @returns UtmParams
42047
42149
  * @throws {Error} If the payload is not a reader or valid buffer
42048
42150
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
42049
42151
  */
42050
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TaggedCustomField;
42152
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UtmParams;
42051
42153
 
42052
42154
  /**
42053
- * Verifies a TaggedCustomField message.
42155
+ * Verifies an UtmParams message.
42054
42156
  * @param message Plain object to verify
42055
42157
  * @returns `null` if valid, otherwise the reason why it is not
42056
42158
  */
42057
42159
  public static verify(message: { [k: string]: any }): (string|null);
42058
42160
 
42059
42161
  /**
42060
- * Creates a TaggedCustomField message from a plain object. Also converts values to their respective internal types.
42162
+ * Creates an UtmParams message from a plain object. Also converts values to their respective internal types.
42061
42163
  * @param object Plain object
42062
- * @returns TaggedCustomField
42164
+ * @returns UtmParams
42063
42165
  */
42064
- public static fromObject(object: { [k: string]: any }): TaggedCustomField;
42166
+ public static fromObject(object: { [k: string]: any }): UtmParams;
42065
42167
 
42066
42168
  /**
42067
- * Creates a plain object from a TaggedCustomField message. Also converts values to other types if specified.
42068
- * @param message TaggedCustomField
42169
+ * Creates a plain object from an UtmParams message. Also converts values to other types if specified.
42170
+ * @param message UtmParams
42069
42171
  * @param [options] Conversion options
42070
42172
  * @returns Plain object
42071
42173
  */
42072
- public static toObject(message: TaggedCustomField, options?: $protobuf.IConversionOptions): { [k: string]: any };
42174
+ public static toObject(message: UtmParams, options?: $protobuf.IConversionOptions): { [k: string]: any };
42073
42175
 
42074
42176
  /**
42075
- * Converts this TaggedCustomField to JSON.
42177
+ * Converts this UtmParams to JSON.
42076
42178
  * @returns JSON object
42077
42179
  */
42078
42180
  public toJSON(): { [k: string]: any };
@@ -42380,6 +42482,9 @@ export interface IEnterpriseUserEnrollmentCreated {
42380
42482
 
42381
42483
  /** EnterpriseUserEnrollmentCreated isTextCoachingDisabled */
42382
42484
  isTextCoachingDisabled?: (boolean|null);
42485
+
42486
+ /** EnterpriseUserEnrollmentCreated utmParams */
42487
+ utmParams?: (IUtmParams|null);
42383
42488
  }
42384
42489
 
42385
42490
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -42559,6 +42664,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
42559
42664
  /** EnterpriseUserEnrollmentCreated isTextCoachingDisabled. */
42560
42665
  public isTextCoachingDisabled: boolean;
42561
42666
 
42667
+ /** EnterpriseUserEnrollmentCreated utmParams. */
42668
+ public utmParams?: (IUtmParams|null);
42669
+
42562
42670
  /**
42563
42671
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
42564
42672
  * @param [properties] Properties to set
@@ -51014,6 +51122,114 @@ export class PartnerRedemptionRevoked implements IPartnerRedemptionRevoked {
51014
51122
  public toJSON(): { [k: string]: any };
51015
51123
  }
51016
51124
 
51125
+ /** Properties of a PartnerEventUpdated. */
51126
+ export interface IPartnerEventUpdated {
51127
+
51128
+ /** Unique identifier of the partner. Formatted as a 24-char hex string. */
51129
+ partnerId?: (string|null);
51130
+
51131
+ /**
51132
+ * Extracted webhook fields with appropriate sensitivity tags.
51133
+ * Keeps the event schema generic and avoids leaking partner-specific implementation details.
51134
+ */
51135
+ taggedCustomFields?: (ITaggedCustomField[]|null);
51136
+
51137
+ /** UTC epoch milliseconds - when the webhook was received. */
51138
+ receivedAtTimestamp?: (number|Long|null);
51139
+ }
51140
+
51141
+ /** Represents a PartnerEventUpdated. */
51142
+ export class PartnerEventUpdated implements IPartnerEventUpdated {
51143
+
51144
+ /**
51145
+ * Constructs a new PartnerEventUpdated.
51146
+ * @param [properties] Properties to set
51147
+ */
51148
+ constructor(properties?: IPartnerEventUpdated);
51149
+
51150
+ /** Unique identifier of the partner. Formatted as a 24-char hex string. */
51151
+ public partnerId: string;
51152
+
51153
+ /**
51154
+ * Extracted webhook fields with appropriate sensitivity tags.
51155
+ * Keeps the event schema generic and avoids leaking partner-specific implementation details.
51156
+ */
51157
+ public taggedCustomFields: ITaggedCustomField[];
51158
+
51159
+ /** UTC epoch milliseconds - when the webhook was received. */
51160
+ public receivedAtTimestamp: (number|Long);
51161
+
51162
+ /**
51163
+ * Creates a new PartnerEventUpdated instance using the specified properties.
51164
+ * @param [properties] Properties to set
51165
+ * @returns PartnerEventUpdated instance
51166
+ */
51167
+ public static create(properties?: IPartnerEventUpdated): PartnerEventUpdated;
51168
+
51169
+ /**
51170
+ * Encodes the specified PartnerEventUpdated message. Does not implicitly {@link PartnerEventUpdated.verify|verify} messages.
51171
+ * @param message PartnerEventUpdated message or plain object to encode
51172
+ * @param [writer] Writer to encode to
51173
+ * @returns Writer
51174
+ */
51175
+ public static encode(message: IPartnerEventUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
51176
+
51177
+ /**
51178
+ * Encodes the specified PartnerEventUpdated message, length delimited. Does not implicitly {@link PartnerEventUpdated.verify|verify} messages.
51179
+ * @param message PartnerEventUpdated message or plain object to encode
51180
+ * @param [writer] Writer to encode to
51181
+ * @returns Writer
51182
+ */
51183
+ public static encodeDelimited(message: IPartnerEventUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
51184
+
51185
+ /**
51186
+ * Decodes a PartnerEventUpdated message from the specified reader or buffer.
51187
+ * @param reader Reader or buffer to decode from
51188
+ * @param [length] Message length if known beforehand
51189
+ * @returns PartnerEventUpdated
51190
+ * @throws {Error} If the payload is not a reader or valid buffer
51191
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51192
+ */
51193
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PartnerEventUpdated;
51194
+
51195
+ /**
51196
+ * Decodes a PartnerEventUpdated message from the specified reader or buffer, length delimited.
51197
+ * @param reader Reader or buffer to decode from
51198
+ * @returns PartnerEventUpdated
51199
+ * @throws {Error} If the payload is not a reader or valid buffer
51200
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51201
+ */
51202
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PartnerEventUpdated;
51203
+
51204
+ /**
51205
+ * Verifies a PartnerEventUpdated message.
51206
+ * @param message Plain object to verify
51207
+ * @returns `null` if valid, otherwise the reason why it is not
51208
+ */
51209
+ public static verify(message: { [k: string]: any }): (string|null);
51210
+
51211
+ /**
51212
+ * Creates a PartnerEventUpdated message from a plain object. Also converts values to their respective internal types.
51213
+ * @param object Plain object
51214
+ * @returns PartnerEventUpdated
51215
+ */
51216
+ public static fromObject(object: { [k: string]: any }): PartnerEventUpdated;
51217
+
51218
+ /**
51219
+ * Creates a plain object from a PartnerEventUpdated message. Also converts values to other types if specified.
51220
+ * @param message PartnerEventUpdated
51221
+ * @param [options] Conversion options
51222
+ * @returns Plain object
51223
+ */
51224
+ public static toObject(message: PartnerEventUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
51225
+
51226
+ /**
51227
+ * Converts this PartnerEventUpdated to JSON.
51228
+ * @returns JSON object
51229
+ */
51230
+ public toJSON(): { [k: string]: any };
51231
+ }
51232
+
51017
51233
  /** Properties of a PHQAssessmentAssigned. */
51018
51234
  export interface IPHQAssessmentAssigned {
51019
51235