@headspace/protos-events 1.773.0 → 1.775.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.
package/lib/index.d.ts CHANGED
@@ -35113,6 +35113,114 @@ export class OrgCoachingConfigUpdated implements IOrgCoachingConfigUpdated {
35113
35113
  public toJSON(): { [k: string]: any };
35114
35114
  }
35115
35115
 
35116
+ /** Properties of an OrgEbbConfigUpdated. */
35117
+ export interface IOrgEbbConfigUpdated {
35118
+
35119
+ /** OrgEbbConfigUpdated b2bOrgId */
35120
+ b2bOrgId?: (number|null);
35121
+
35122
+ /** OrgEbbConfigUpdated isEbbEnabled */
35123
+ isEbbEnabled?: (boolean|null);
35124
+
35125
+ /** OrgEbbConfigUpdated adminId */
35126
+ adminId?: (number|null);
35127
+
35128
+ /** OrgEbbConfigUpdated timestamp */
35129
+ timestamp?: (number|Long|null);
35130
+ }
35131
+
35132
+ /** Represents an OrgEbbConfigUpdated. */
35133
+ export class OrgEbbConfigUpdated implements IOrgEbbConfigUpdated {
35134
+
35135
+ /**
35136
+ * Constructs a new OrgEbbConfigUpdated.
35137
+ * @param [properties] Properties to set
35138
+ */
35139
+ constructor(properties?: IOrgEbbConfigUpdated);
35140
+
35141
+ /** OrgEbbConfigUpdated b2bOrgId. */
35142
+ public b2bOrgId: number;
35143
+
35144
+ /** OrgEbbConfigUpdated isEbbEnabled. */
35145
+ public isEbbEnabled: boolean;
35146
+
35147
+ /** OrgEbbConfigUpdated adminId. */
35148
+ public adminId: number;
35149
+
35150
+ /** OrgEbbConfigUpdated timestamp. */
35151
+ public timestamp: (number|Long);
35152
+
35153
+ /**
35154
+ * Creates a new OrgEbbConfigUpdated instance using the specified properties.
35155
+ * @param [properties] Properties to set
35156
+ * @returns OrgEbbConfigUpdated instance
35157
+ */
35158
+ public static create(properties?: IOrgEbbConfigUpdated): OrgEbbConfigUpdated;
35159
+
35160
+ /**
35161
+ * Encodes the specified OrgEbbConfigUpdated message. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
35162
+ * @param message OrgEbbConfigUpdated message or plain object to encode
35163
+ * @param [writer] Writer to encode to
35164
+ * @returns Writer
35165
+ */
35166
+ public static encode(message: IOrgEbbConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35167
+
35168
+ /**
35169
+ * Encodes the specified OrgEbbConfigUpdated message, length delimited. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
35170
+ * @param message OrgEbbConfigUpdated message or plain object to encode
35171
+ * @param [writer] Writer to encode to
35172
+ * @returns Writer
35173
+ */
35174
+ public static encodeDelimited(message: IOrgEbbConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35175
+
35176
+ /**
35177
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer.
35178
+ * @param reader Reader or buffer to decode from
35179
+ * @param [length] Message length if known beforehand
35180
+ * @returns OrgEbbConfigUpdated
35181
+ * @throws {Error} If the payload is not a reader or valid buffer
35182
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35183
+ */
35184
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgEbbConfigUpdated;
35185
+
35186
+ /**
35187
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer, length delimited.
35188
+ * @param reader Reader or buffer to decode from
35189
+ * @returns OrgEbbConfigUpdated
35190
+ * @throws {Error} If the payload is not a reader or valid buffer
35191
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35192
+ */
35193
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgEbbConfigUpdated;
35194
+
35195
+ /**
35196
+ * Verifies an OrgEbbConfigUpdated message.
35197
+ * @param message Plain object to verify
35198
+ * @returns `null` if valid, otherwise the reason why it is not
35199
+ */
35200
+ public static verify(message: { [k: string]: any }): (string|null);
35201
+
35202
+ /**
35203
+ * Creates an OrgEbbConfigUpdated message from a plain object. Also converts values to their respective internal types.
35204
+ * @param object Plain object
35205
+ * @returns OrgEbbConfigUpdated
35206
+ */
35207
+ public static fromObject(object: { [k: string]: any }): OrgEbbConfigUpdated;
35208
+
35209
+ /**
35210
+ * Creates a plain object from an OrgEbbConfigUpdated message. Also converts values to other types if specified.
35211
+ * @param message OrgEbbConfigUpdated
35212
+ * @param [options] Conversion options
35213
+ * @returns Plain object
35214
+ */
35215
+ public static toObject(message: OrgEbbConfigUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
35216
+
35217
+ /**
35218
+ * Converts this OrgEbbConfigUpdated to JSON.
35219
+ * @returns JSON object
35220
+ */
35221
+ public toJSON(): { [k: string]: any };
35222
+ }
35223
+
35116
35224
  /** Properties of an OrgMarketingConfigUpdated. */
35117
35225
  export interface IOrgMarketingConfigUpdated {
35118
35226
 
@@ -42274,6 +42382,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
42274
42382
 
42275
42383
  /** EnterpriseUserEnrollmentRemoved brandLogoUrl */
42276
42384
  brandLogoUrl?: (string|null);
42385
+
42386
+ /** EnterpriseUserEnrollmentRemoved taggedCustomFields */
42387
+ taggedCustomFields?: (ITaggedCustomField[]|null);
42277
42388
  }
42278
42389
 
42279
42390
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -42414,6 +42525,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
42414
42525
  /** EnterpriseUserEnrollmentRemoved brandLogoUrl. */
42415
42526
  public brandLogoUrl: string;
42416
42527
 
42528
+ /** EnterpriseUserEnrollmentRemoved taggedCustomFields. */
42529
+ public taggedCustomFields: ITaggedCustomField[];
42530
+
42417
42531
  /**
42418
42532
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
42419
42533
  * @param [properties] Properties to set
@@ -42640,6 +42754,9 @@ export interface IEnterpriseUserEnrollmentAmended {
42640
42754
 
42641
42755
  /** EnterpriseUserEnrollmentAmended isTextCoachingDisabled */
42642
42756
  isTextCoachingDisabled?: (boolean|null);
42757
+
42758
+ /** EnterpriseUserEnrollmentAmended taggedCustomFields */
42759
+ taggedCustomFields?: (ITaggedCustomField[]|null);
42643
42760
  }
42644
42761
 
42645
42762
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -42804,6 +42921,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
42804
42921
  /** EnterpriseUserEnrollmentAmended isTextCoachingDisabled. */
42805
42922
  public isTextCoachingDisabled: boolean;
42806
42923
 
42924
+ /** EnterpriseUserEnrollmentAmended taggedCustomFields. */
42925
+ public taggedCustomFields: ITaggedCustomField[];
42926
+
42807
42927
  /**
42808
42928
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
42809
42929
  * @param [properties] Properties to set
@@ -42925,6 +43045,9 @@ export interface IEnterpriseUserEnrollmentInitiated {
42925
43045
 
42926
43046
  /** EnterpriseUserEnrollmentInitiated suppressCoachingCommunications */
42927
43047
  suppressCoachingCommunications?: (boolean|null);
43048
+
43049
+ /** EnterpriseUserEnrollmentInitiated taggedCustomFields */
43050
+ taggedCustomFields?: (ITaggedCustomField[]|null);
42928
43051
  }
42929
43052
 
42930
43053
  /** Represents an EnterpriseUserEnrollmentInitiated. */
@@ -42984,6 +43107,9 @@ export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollm
42984
43107
  /** EnterpriseUserEnrollmentInitiated suppressCoachingCommunications. */
42985
43108
  public suppressCoachingCommunications: boolean;
42986
43109
 
43110
+ /** EnterpriseUserEnrollmentInitiated taggedCustomFields. */
43111
+ public taggedCustomFields: ITaggedCustomField[];
43112
+
42987
43113
  /**
42988
43114
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
42989
43115
  * @param [properties] Properties to set
@@ -43084,6 +43210,9 @@ export interface IEnterpriseUserEnrollmentUpgraded {
43084
43210
 
43085
43211
  /** EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled */
43086
43212
  isTextCoachingDisabled?: (boolean|null);
43213
+
43214
+ /** EnterpriseUserEnrollmentUpgraded taggedCustomFields */
43215
+ taggedCustomFields?: (ITaggedCustomField[]|null);
43087
43216
  }
43088
43217
 
43089
43218
  /** Represents an EnterpriseUserEnrollmentUpgraded. */
@@ -43122,6 +43251,9 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
43122
43251
  /** EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled. */
43123
43252
  public isTextCoachingDisabled: boolean;
43124
43253
 
43254
+ /** EnterpriseUserEnrollmentUpgraded taggedCustomFields. */
43255
+ public taggedCustomFields: ITaggedCustomField[];
43256
+
43125
43257
  /**
43126
43258
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
43127
43259
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -98699,6 +98699,274 @@ $root.OrgCoachingConfigUpdated = (function() {
98699
98699
  return OrgCoachingConfigUpdated;
98700
98700
  })();
98701
98701
 
98702
+ $root.OrgEbbConfigUpdated = (function() {
98703
+
98704
+ /**
98705
+ * Properties of an OrgEbbConfigUpdated.
98706
+ * @name IOrgEbbConfigUpdated
98707
+ * @interface IOrgEbbConfigUpdated
98708
+ * @property {number|null} [b2bOrgId] OrgEbbConfigUpdated b2bOrgId
98709
+ * @property {boolean|null} [isEbbEnabled] OrgEbbConfigUpdated isEbbEnabled
98710
+ * @property {number|null} [adminId] OrgEbbConfigUpdated adminId
98711
+ * @property {number|Long|null} [timestamp] OrgEbbConfigUpdated timestamp
98712
+ */
98713
+
98714
+ /**
98715
+ * Constructs a new OrgEbbConfigUpdated.
98716
+ * @name OrgEbbConfigUpdated
98717
+ * @classdesc Represents an OrgEbbConfigUpdated.
98718
+ * @implements IOrgEbbConfigUpdated
98719
+ * @constructor
98720
+ * @param {IOrgEbbConfigUpdated=} [properties] Properties to set
98721
+ */
98722
+ function OrgEbbConfigUpdated(properties) {
98723
+ if (properties)
98724
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
98725
+ if (properties[keys[i]] != null)
98726
+ this[keys[i]] = properties[keys[i]];
98727
+ }
98728
+
98729
+ /**
98730
+ * OrgEbbConfigUpdated b2bOrgId.
98731
+ * @member {number} b2bOrgId
98732
+ * @memberof OrgEbbConfigUpdated
98733
+ * @instance
98734
+ */
98735
+ OrgEbbConfigUpdated.prototype.b2bOrgId = 0;
98736
+
98737
+ /**
98738
+ * OrgEbbConfigUpdated isEbbEnabled.
98739
+ * @member {boolean} isEbbEnabled
98740
+ * @memberof OrgEbbConfigUpdated
98741
+ * @instance
98742
+ */
98743
+ OrgEbbConfigUpdated.prototype.isEbbEnabled = false;
98744
+
98745
+ /**
98746
+ * OrgEbbConfigUpdated adminId.
98747
+ * @member {number} adminId
98748
+ * @memberof OrgEbbConfigUpdated
98749
+ * @instance
98750
+ */
98751
+ OrgEbbConfigUpdated.prototype.adminId = 0;
98752
+
98753
+ /**
98754
+ * OrgEbbConfigUpdated timestamp.
98755
+ * @member {number|Long} timestamp
98756
+ * @memberof OrgEbbConfigUpdated
98757
+ * @instance
98758
+ */
98759
+ OrgEbbConfigUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
98760
+
98761
+ /**
98762
+ * Creates a new OrgEbbConfigUpdated instance using the specified properties.
98763
+ * @function create
98764
+ * @memberof OrgEbbConfigUpdated
98765
+ * @static
98766
+ * @param {IOrgEbbConfigUpdated=} [properties] Properties to set
98767
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated instance
98768
+ */
98769
+ OrgEbbConfigUpdated.create = function create(properties) {
98770
+ return new OrgEbbConfigUpdated(properties);
98771
+ };
98772
+
98773
+ /**
98774
+ * Encodes the specified OrgEbbConfigUpdated message. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
98775
+ * @function encode
98776
+ * @memberof OrgEbbConfigUpdated
98777
+ * @static
98778
+ * @param {IOrgEbbConfigUpdated} message OrgEbbConfigUpdated message or plain object to encode
98779
+ * @param {$protobuf.Writer} [writer] Writer to encode to
98780
+ * @returns {$protobuf.Writer} Writer
98781
+ */
98782
+ OrgEbbConfigUpdated.encode = function encode(message, writer) {
98783
+ if (!writer)
98784
+ writer = $Writer.create();
98785
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98786
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.b2bOrgId);
98787
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
98788
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isEbbEnabled);
98789
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98790
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.adminId);
98791
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98792
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
98793
+ return writer;
98794
+ };
98795
+
98796
+ /**
98797
+ * Encodes the specified OrgEbbConfigUpdated message, length delimited. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
98798
+ * @function encodeDelimited
98799
+ * @memberof OrgEbbConfigUpdated
98800
+ * @static
98801
+ * @param {IOrgEbbConfigUpdated} message OrgEbbConfigUpdated message or plain object to encode
98802
+ * @param {$protobuf.Writer} [writer] Writer to encode to
98803
+ * @returns {$protobuf.Writer} Writer
98804
+ */
98805
+ OrgEbbConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
98806
+ return this.encode(message, writer).ldelim();
98807
+ };
98808
+
98809
+ /**
98810
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer.
98811
+ * @function decode
98812
+ * @memberof OrgEbbConfigUpdated
98813
+ * @static
98814
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
98815
+ * @param {number} [length] Message length if known beforehand
98816
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
98817
+ * @throws {Error} If the payload is not a reader or valid buffer
98818
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
98819
+ */
98820
+ OrgEbbConfigUpdated.decode = function decode(reader, length) {
98821
+ if (!(reader instanceof $Reader))
98822
+ reader = $Reader.create(reader);
98823
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgEbbConfigUpdated();
98824
+ while (reader.pos < end) {
98825
+ var tag = reader.uint32();
98826
+ switch (tag >>> 3) {
98827
+ case 1:
98828
+ message.b2bOrgId = reader.uint32();
98829
+ break;
98830
+ case 2:
98831
+ message.isEbbEnabled = reader.bool();
98832
+ break;
98833
+ case 3:
98834
+ message.adminId = reader.uint32();
98835
+ break;
98836
+ case 4:
98837
+ message.timestamp = reader.uint64();
98838
+ break;
98839
+ default:
98840
+ reader.skipType(tag & 7);
98841
+ break;
98842
+ }
98843
+ }
98844
+ return message;
98845
+ };
98846
+
98847
+ /**
98848
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer, length delimited.
98849
+ * @function decodeDelimited
98850
+ * @memberof OrgEbbConfigUpdated
98851
+ * @static
98852
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
98853
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
98854
+ * @throws {Error} If the payload is not a reader or valid buffer
98855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
98856
+ */
98857
+ OrgEbbConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
98858
+ if (!(reader instanceof $Reader))
98859
+ reader = new $Reader(reader);
98860
+ return this.decode(reader, reader.uint32());
98861
+ };
98862
+
98863
+ /**
98864
+ * Verifies an OrgEbbConfigUpdated message.
98865
+ * @function verify
98866
+ * @memberof OrgEbbConfigUpdated
98867
+ * @static
98868
+ * @param {Object.<string,*>} message Plain object to verify
98869
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
98870
+ */
98871
+ OrgEbbConfigUpdated.verify = function verify(message) {
98872
+ if (typeof message !== "object" || message === null)
98873
+ return "object expected";
98874
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98875
+ if (!$util.isInteger(message.b2bOrgId))
98876
+ return "b2bOrgId: integer expected";
98877
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
98878
+ if (typeof message.isEbbEnabled !== "boolean")
98879
+ return "isEbbEnabled: boolean expected";
98880
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98881
+ if (!$util.isInteger(message.adminId))
98882
+ return "adminId: integer expected";
98883
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98884
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
98885
+ return "timestamp: integer|Long expected";
98886
+ return null;
98887
+ };
98888
+
98889
+ /**
98890
+ * Creates an OrgEbbConfigUpdated message from a plain object. Also converts values to their respective internal types.
98891
+ * @function fromObject
98892
+ * @memberof OrgEbbConfigUpdated
98893
+ * @static
98894
+ * @param {Object.<string,*>} object Plain object
98895
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
98896
+ */
98897
+ OrgEbbConfigUpdated.fromObject = function fromObject(object) {
98898
+ if (object instanceof $root.OrgEbbConfigUpdated)
98899
+ return object;
98900
+ var message = new $root.OrgEbbConfigUpdated();
98901
+ if (object.b2bOrgId != null)
98902
+ message.b2bOrgId = object.b2bOrgId >>> 0;
98903
+ if (object.isEbbEnabled != null)
98904
+ message.isEbbEnabled = Boolean(object.isEbbEnabled);
98905
+ if (object.adminId != null)
98906
+ message.adminId = object.adminId >>> 0;
98907
+ if (object.timestamp != null)
98908
+ if ($util.Long)
98909
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
98910
+ else if (typeof object.timestamp === "string")
98911
+ message.timestamp = parseInt(object.timestamp, 10);
98912
+ else if (typeof object.timestamp === "number")
98913
+ message.timestamp = object.timestamp;
98914
+ else if (typeof object.timestamp === "object")
98915
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
98916
+ return message;
98917
+ };
98918
+
98919
+ /**
98920
+ * Creates a plain object from an OrgEbbConfigUpdated message. Also converts values to other types if specified.
98921
+ * @function toObject
98922
+ * @memberof OrgEbbConfigUpdated
98923
+ * @static
98924
+ * @param {OrgEbbConfigUpdated} message OrgEbbConfigUpdated
98925
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
98926
+ * @returns {Object.<string,*>} Plain object
98927
+ */
98928
+ OrgEbbConfigUpdated.toObject = function toObject(message, options) {
98929
+ if (!options)
98930
+ options = {};
98931
+ var object = {};
98932
+ if (options.defaults) {
98933
+ object.b2bOrgId = 0;
98934
+ object.isEbbEnabled = false;
98935
+ object.adminId = 0;
98936
+ if ($util.Long) {
98937
+ var long = new $util.Long(0, 0, true);
98938
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
98939
+ } else
98940
+ object.timestamp = options.longs === String ? "0" : 0;
98941
+ }
98942
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98943
+ object.b2bOrgId = message.b2bOrgId;
98944
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
98945
+ object.isEbbEnabled = message.isEbbEnabled;
98946
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98947
+ object.adminId = message.adminId;
98948
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98949
+ if (typeof message.timestamp === "number")
98950
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
98951
+ else
98952
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
98953
+ return object;
98954
+ };
98955
+
98956
+ /**
98957
+ * Converts this OrgEbbConfigUpdated to JSON.
98958
+ * @function toJSON
98959
+ * @memberof OrgEbbConfigUpdated
98960
+ * @instance
98961
+ * @returns {Object.<string,*>} JSON object
98962
+ */
98963
+ OrgEbbConfigUpdated.prototype.toJSON = function toJSON() {
98964
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
98965
+ };
98966
+
98967
+ return OrgEbbConfigUpdated;
98968
+ })();
98969
+
98702
98970
  $root.OrgMarketingConfigUpdated = (function() {
98703
98971
 
98704
98972
  /**
@@ -119091,6 +119359,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119091
119359
  * @property {string|null} [externalEligibility] EnterpriseUserEnrollmentRemoved externalEligibility
119092
119360
  * @property {string|null} [externalClientId] EnterpriseUserEnrollmentRemoved externalClientId
119093
119361
  * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentRemoved brandLogoUrl
119362
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentRemoved taggedCustomFields
119094
119363
  */
119095
119364
 
119096
119365
  /**
@@ -119102,6 +119371,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119102
119371
  * @param {IEnterpriseUserEnrollmentRemoved=} [properties] Properties to set
119103
119372
  */
119104
119373
  function EnterpriseUserEnrollmentRemoved(properties) {
119374
+ this.taggedCustomFields = [];
119105
119375
  if (properties)
119106
119376
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
119107
119377
  if (properties[keys[i]] != null)
@@ -119452,6 +119722,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119452
119722
  */
119453
119723
  EnterpriseUserEnrollmentRemoved.prototype.brandLogoUrl = "";
119454
119724
 
119725
+ /**
119726
+ * EnterpriseUserEnrollmentRemoved taggedCustomFields.
119727
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
119728
+ * @memberof EnterpriseUserEnrollmentRemoved
119729
+ * @instance
119730
+ */
119731
+ EnterpriseUserEnrollmentRemoved.prototype.taggedCustomFields = $util.emptyArray;
119732
+
119455
119733
  /**
119456
119734
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
119457
119735
  * @function create
@@ -119562,6 +119840,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119562
119840
  writer.uint32(/* id 48, wireType 2 =*/386).string(message.externalClientId);
119563
119841
  if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
119564
119842
  writer.uint32(/* id 49, wireType 2 =*/394).string(message.brandLogoUrl);
119843
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
119844
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
119845
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
119565
119846
  return writer;
119566
119847
  };
119567
119848
 
@@ -119725,6 +120006,11 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119725
120006
  case 49:
119726
120007
  message.brandLogoUrl = reader.string();
119727
120008
  break;
120009
+ case 50:
120010
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
120011
+ message.taggedCustomFields = [];
120012
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
120013
+ break;
119728
120014
  default:
119729
120015
  reader.skipType(tag & 7);
119730
120016
  break;
@@ -119970,6 +120256,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119970
120256
  if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
119971
120257
  if (!$util.isString(message.brandLogoUrl))
119972
120258
  return "brandLogoUrl: string expected";
120259
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
120260
+ if (!Array.isArray(message.taggedCustomFields))
120261
+ return "taggedCustomFields: array expected";
120262
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
120263
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
120264
+ if (error)
120265
+ return "taggedCustomFields." + error;
120266
+ }
120267
+ }
119973
120268
  return null;
119974
120269
  };
119975
120270
 
@@ -120310,6 +120605,16 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
120310
120605
  message.externalClientId = String(object.externalClientId);
120311
120606
  if (object.brandLogoUrl != null)
120312
120607
  message.brandLogoUrl = String(object.brandLogoUrl);
120608
+ if (object.taggedCustomFields) {
120609
+ if (!Array.isArray(object.taggedCustomFields))
120610
+ throw TypeError(".EnterpriseUserEnrollmentRemoved.taggedCustomFields: array expected");
120611
+ message.taggedCustomFields = [];
120612
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
120613
+ if (typeof object.taggedCustomFields[i] !== "object")
120614
+ throw TypeError(".EnterpriseUserEnrollmentRemoved.taggedCustomFields: object expected");
120615
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
120616
+ }
120617
+ }
120313
120618
  return message;
120314
120619
  };
120315
120620
 
@@ -120326,6 +120631,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
120326
120631
  if (!options)
120327
120632
  options = {};
120328
120633
  var object = {};
120634
+ if (options.arrays || options.defaults)
120635
+ object.taggedCustomFields = [];
120329
120636
  if (options.defaults) {
120330
120637
  object.userId = "";
120331
120638
  object.orgId = 0;
@@ -120492,6 +120799,11 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
120492
120799
  object.externalClientId = message.externalClientId;
120493
120800
  if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
120494
120801
  object.brandLogoUrl = message.brandLogoUrl;
120802
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
120803
+ object.taggedCustomFields = [];
120804
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
120805
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
120806
+ }
120495
120807
  return object;
120496
120808
  };
120497
120809
 
@@ -120566,6 +120878,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
120566
120878
  * @property {string|null} [externalClientId] EnterpriseUserEnrollmentAmended externalClientId
120567
120879
  * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentAmended brandLogoUrl
120568
120880
  * @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentAmended isTextCoachingDisabled
120881
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentAmended taggedCustomFields
120569
120882
  */
120570
120883
 
120571
120884
  /**
@@ -120577,6 +120890,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
120577
120890
  * @param {IEnterpriseUserEnrollmentAmended=} [properties] Properties to set
120578
120891
  */
120579
120892
  function EnterpriseUserEnrollmentAmended(properties) {
120893
+ this.taggedCustomFields = [];
120580
120894
  if (properties)
120581
120895
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
120582
120896
  if (properties[keys[i]] != null)
@@ -120991,6 +121305,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
120991
121305
  */
120992
121306
  EnterpriseUserEnrollmentAmended.prototype.isTextCoachingDisabled = false;
120993
121307
 
121308
+ /**
121309
+ * EnterpriseUserEnrollmentAmended taggedCustomFields.
121310
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
121311
+ * @memberof EnterpriseUserEnrollmentAmended
121312
+ * @instance
121313
+ */
121314
+ EnterpriseUserEnrollmentAmended.prototype.taggedCustomFields = $util.emptyArray;
121315
+
120994
121316
  /**
120995
121317
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
120996
121318
  * @function create
@@ -121117,6 +121439,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121117
121439
  writer.uint32(/* id 56, wireType 2 =*/450).string(message.brandLogoUrl);
121118
121440
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
121119
121441
  writer.uint32(/* id 57, wireType 0 =*/456).bool(message.isTextCoachingDisabled);
121442
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
121443
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
121444
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 58, wireType 2 =*/466).fork()).ldelim();
121120
121445
  return writer;
121121
121446
  };
121122
121447
 
@@ -121304,6 +121629,11 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121304
121629
  case 57:
121305
121630
  message.isTextCoachingDisabled = reader.bool();
121306
121631
  break;
121632
+ case 58:
121633
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
121634
+ message.taggedCustomFields = [];
121635
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
121636
+ break;
121307
121637
  default:
121308
121638
  reader.skipType(tag & 7);
121309
121639
  break;
@@ -121558,6 +121888,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121558
121888
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
121559
121889
  if (typeof message.isTextCoachingDisabled !== "boolean")
121560
121890
  return "isTextCoachingDisabled: boolean expected";
121891
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
121892
+ if (!Array.isArray(message.taggedCustomFields))
121893
+ return "taggedCustomFields: array expected";
121894
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
121895
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
121896
+ if (error)
121897
+ return "taggedCustomFields." + error;
121898
+ }
121899
+ }
121561
121900
  return null;
121562
121901
  };
121563
121902
 
@@ -121866,6 +122205,16 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121866
122205
  message.brandLogoUrl = String(object.brandLogoUrl);
121867
122206
  if (object.isTextCoachingDisabled != null)
121868
122207
  message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
122208
+ if (object.taggedCustomFields) {
122209
+ if (!Array.isArray(object.taggedCustomFields))
122210
+ throw TypeError(".EnterpriseUserEnrollmentAmended.taggedCustomFields: array expected");
122211
+ message.taggedCustomFields = [];
122212
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
122213
+ if (typeof object.taggedCustomFields[i] !== "object")
122214
+ throw TypeError(".EnterpriseUserEnrollmentAmended.taggedCustomFields: object expected");
122215
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
122216
+ }
122217
+ }
121869
122218
  return message;
121870
122219
  };
121871
122220
 
@@ -121882,6 +122231,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121882
122231
  if (!options)
121883
122232
  options = {};
121884
122233
  var object = {};
122234
+ if (options.arrays || options.defaults)
122235
+ object.taggedCustomFields = [];
121885
122236
  if (options.defaults) {
121886
122237
  object.userId = "";
121887
122238
  object.orgId = 0;
@@ -122072,6 +122423,11 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
122072
122423
  object.brandLogoUrl = message.brandLogoUrl;
122073
122424
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
122074
122425
  object.isTextCoachingDisabled = message.isTextCoachingDisabled;
122426
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
122427
+ object.taggedCustomFields = [];
122428
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
122429
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
122430
+ }
122075
122431
  return object;
122076
122432
  };
122077
122433
 
@@ -122111,6 +122467,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122111
122467
  * @property {boolean|null} [b2bAreNonmemberCommsEnabled] EnterpriseUserEnrollmentInitiated b2bAreNonmemberCommsEnabled
122112
122468
  * @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentInitiated b2bAreEnrollmentCommsEnabled
122113
122469
  * @property {boolean|null} [suppressCoachingCommunications] EnterpriseUserEnrollmentInitiated suppressCoachingCommunications
122470
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentInitiated taggedCustomFields
122114
122471
  */
122115
122472
 
122116
122473
  /**
@@ -122122,6 +122479,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122122
122479
  * @param {IEnterpriseUserEnrollmentInitiated=} [properties] Properties to set
122123
122480
  */
122124
122481
  function EnterpriseUserEnrollmentInitiated(properties) {
122482
+ this.taggedCustomFields = [];
122125
122483
  if (properties)
122126
122484
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
122127
122485
  if (properties[keys[i]] != null)
@@ -122256,6 +122614,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122256
122614
  */
122257
122615
  EnterpriseUserEnrollmentInitiated.prototype.suppressCoachingCommunications = false;
122258
122616
 
122617
+ /**
122618
+ * EnterpriseUserEnrollmentInitiated taggedCustomFields.
122619
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
122620
+ * @memberof EnterpriseUserEnrollmentInitiated
122621
+ * @instance
122622
+ */
122623
+ EnterpriseUserEnrollmentInitiated.prototype.taggedCustomFields = $util.emptyArray;
122624
+
122259
122625
  /**
122260
122626
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
122261
122627
  * @function create
@@ -122312,6 +122678,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122312
122678
  writer.uint32(/* id 15, wireType 0 =*/120).bool(message.b2bAreEnrollmentCommsEnabled);
122313
122679
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
122314
122680
  writer.uint32(/* id 16, wireType 0 =*/128).bool(message.suppressCoachingCommunications);
122681
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
122682
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
122683
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
122315
122684
  return writer;
122316
122685
  };
122317
122686
 
@@ -122394,6 +122763,11 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122394
122763
  case 16:
122395
122764
  message.suppressCoachingCommunications = reader.bool();
122396
122765
  break;
122766
+ case 17:
122767
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
122768
+ message.taggedCustomFields = [];
122769
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
122770
+ break;
122397
122771
  default:
122398
122772
  reader.skipType(tag & 7);
122399
122773
  break;
@@ -122477,6 +122851,15 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122477
122851
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
122478
122852
  if (typeof message.suppressCoachingCommunications !== "boolean")
122479
122853
  return "suppressCoachingCommunications: boolean expected";
122854
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
122855
+ if (!Array.isArray(message.taggedCustomFields))
122856
+ return "taggedCustomFields: array expected";
122857
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
122858
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
122859
+ if (error)
122860
+ return "taggedCustomFields." + error;
122861
+ }
122862
+ }
122480
122863
  return null;
122481
122864
  };
122482
122865
 
@@ -122531,6 +122914,16 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122531
122914
  message.b2bAreEnrollmentCommsEnabled = Boolean(object.b2bAreEnrollmentCommsEnabled);
122532
122915
  if (object.suppressCoachingCommunications != null)
122533
122916
  message.suppressCoachingCommunications = Boolean(object.suppressCoachingCommunications);
122917
+ if (object.taggedCustomFields) {
122918
+ if (!Array.isArray(object.taggedCustomFields))
122919
+ throw TypeError(".EnterpriseUserEnrollmentInitiated.taggedCustomFields: array expected");
122920
+ message.taggedCustomFields = [];
122921
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
122922
+ if (typeof object.taggedCustomFields[i] !== "object")
122923
+ throw TypeError(".EnterpriseUserEnrollmentInitiated.taggedCustomFields: object expected");
122924
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
122925
+ }
122926
+ }
122534
122927
  return message;
122535
122928
  };
122536
122929
 
@@ -122547,6 +122940,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122547
122940
  if (!options)
122548
122941
  options = {};
122549
122942
  var object = {};
122943
+ if (options.arrays || options.defaults)
122944
+ object.taggedCustomFields = [];
122550
122945
  if (options.defaults) {
122551
122946
  object.hsUserId = "";
122552
122947
  object.orgId = 0;
@@ -122604,6 +122999,11 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122604
122999
  object.b2bAreEnrollmentCommsEnabled = message.b2bAreEnrollmentCommsEnabled;
122605
123000
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
122606
123001
  object.suppressCoachingCommunications = message.suppressCoachingCommunications;
123002
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
123003
+ object.taggedCustomFields = [];
123004
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
123005
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
123006
+ }
122607
123007
  return object;
122608
123008
  };
122609
123009
 
@@ -122636,6 +123036,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122636
123036
  * @property {number|null} [enrollmentOrgId] EnterpriseUserEnrollmentUpgraded enrollmentOrgId
122637
123037
  * @property {number|null} [overlappedCareOrgId] EnterpriseUserEnrollmentUpgraded overlappedCareOrgId
122638
123038
  * @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled
123039
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentUpgraded taggedCustomFields
122639
123040
  */
122640
123041
 
122641
123042
  /**
@@ -122647,6 +123048,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122647
123048
  * @param {IEnterpriseUserEnrollmentUpgraded=} [properties] Properties to set
122648
123049
  */
122649
123050
  function EnterpriseUserEnrollmentUpgraded(properties) {
123051
+ this.taggedCustomFields = [];
122650
123052
  if (properties)
122651
123053
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
122652
123054
  if (properties[keys[i]] != null)
@@ -122725,6 +123127,14 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122725
123127
  */
122726
123128
  EnterpriseUserEnrollmentUpgraded.prototype.isTextCoachingDisabled = false;
122727
123129
 
123130
+ /**
123131
+ * EnterpriseUserEnrollmentUpgraded taggedCustomFields.
123132
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
123133
+ * @memberof EnterpriseUserEnrollmentUpgraded
123134
+ * @instance
123135
+ */
123136
+ EnterpriseUserEnrollmentUpgraded.prototype.taggedCustomFields = $util.emptyArray;
123137
+
122728
123138
  /**
122729
123139
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
122730
123140
  * @function create
@@ -122767,6 +123177,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122767
123177
  writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.overlappedCareOrgId);
122768
123178
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
122769
123179
  writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isTextCoachingDisabled);
123180
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
123181
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
123182
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
122770
123183
  return writer;
122771
123184
  };
122772
123185
 
@@ -122828,6 +123241,11 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122828
123241
  case 9:
122829
123242
  message.isTextCoachingDisabled = reader.bool();
122830
123243
  break;
123244
+ case 10:
123245
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
123246
+ message.taggedCustomFields = [];
123247
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
123248
+ break;
122831
123249
  default:
122832
123250
  reader.skipType(tag & 7);
122833
123251
  break;
@@ -122908,6 +123326,15 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122908
123326
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
122909
123327
  if (typeof message.isTextCoachingDisabled !== "boolean")
122910
123328
  return "isTextCoachingDisabled: boolean expected";
123329
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
123330
+ if (!Array.isArray(message.taggedCustomFields))
123331
+ return "taggedCustomFields: array expected";
123332
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
123333
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
123334
+ if (error)
123335
+ return "taggedCustomFields." + error;
123336
+ }
123337
+ }
122911
123338
  return null;
122912
123339
  };
122913
123340
 
@@ -122996,6 +123423,16 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122996
123423
  message.overlappedCareOrgId = object.overlappedCareOrgId >>> 0;
122997
123424
  if (object.isTextCoachingDisabled != null)
122998
123425
  message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
123426
+ if (object.taggedCustomFields) {
123427
+ if (!Array.isArray(object.taggedCustomFields))
123428
+ throw TypeError(".EnterpriseUserEnrollmentUpgraded.taggedCustomFields: array expected");
123429
+ message.taggedCustomFields = [];
123430
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
123431
+ if (typeof object.taggedCustomFields[i] !== "object")
123432
+ throw TypeError(".EnterpriseUserEnrollmentUpgraded.taggedCustomFields: object expected");
123433
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
123434
+ }
123435
+ }
122999
123436
  return message;
123000
123437
  };
123001
123438
 
@@ -123012,6 +123449,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
123012
123449
  if (!options)
123013
123450
  options = {};
123014
123451
  var object = {};
123452
+ if (options.arrays || options.defaults)
123453
+ object.taggedCustomFields = [];
123015
123454
  if (options.defaults) {
123016
123455
  object.userId = "";
123017
123456
  object.subscriptionOrgId = 0;
@@ -123048,6 +123487,11 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
123048
123487
  object.overlappedCareOrgId = message.overlappedCareOrgId;
123049
123488
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
123050
123489
  object.isTextCoachingDisabled = message.isTextCoachingDisabled;
123490
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
123491
+ object.taggedCustomFields = [];
123492
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
123493
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
123494
+ }
123051
123495
  return object;
123052
123496
  };
123053
123497
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.773.0"
19
+ "version": "1.775.0"
20
20
  }