@headspace/protos-events 1.772.0 → 1.774.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
@@ -35005,6 +35005,114 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
35005
35005
  public toJSON(): { [k: string]: any };
35006
35006
  }
35007
35007
 
35008
+ /** Properties of an OrgCoachingConfigUpdated. */
35009
+ export interface IOrgCoachingConfigUpdated {
35010
+
35011
+ /** OrgCoachingConfigUpdated b2bOrgId */
35012
+ b2bOrgId?: (number|null);
35013
+
35014
+ /** OrgCoachingConfigUpdated isTextCoachingDisabled */
35015
+ isTextCoachingDisabled?: (boolean|null);
35016
+
35017
+ /** OrgCoachingConfigUpdated adminId */
35018
+ adminId?: (number|null);
35019
+
35020
+ /** OrgCoachingConfigUpdated timestamp */
35021
+ timestamp?: (number|Long|null);
35022
+ }
35023
+
35024
+ /** Represents an OrgCoachingConfigUpdated. */
35025
+ export class OrgCoachingConfigUpdated implements IOrgCoachingConfigUpdated {
35026
+
35027
+ /**
35028
+ * Constructs a new OrgCoachingConfigUpdated.
35029
+ * @param [properties] Properties to set
35030
+ */
35031
+ constructor(properties?: IOrgCoachingConfigUpdated);
35032
+
35033
+ /** OrgCoachingConfigUpdated b2bOrgId. */
35034
+ public b2bOrgId: number;
35035
+
35036
+ /** OrgCoachingConfigUpdated isTextCoachingDisabled. */
35037
+ public isTextCoachingDisabled: boolean;
35038
+
35039
+ /** OrgCoachingConfigUpdated adminId. */
35040
+ public adminId: number;
35041
+
35042
+ /** OrgCoachingConfigUpdated timestamp. */
35043
+ public timestamp: (number|Long);
35044
+
35045
+ /**
35046
+ * Creates a new OrgCoachingConfigUpdated instance using the specified properties.
35047
+ * @param [properties] Properties to set
35048
+ * @returns OrgCoachingConfigUpdated instance
35049
+ */
35050
+ public static create(properties?: IOrgCoachingConfigUpdated): OrgCoachingConfigUpdated;
35051
+
35052
+ /**
35053
+ * Encodes the specified OrgCoachingConfigUpdated message. Does not implicitly {@link OrgCoachingConfigUpdated.verify|verify} messages.
35054
+ * @param message OrgCoachingConfigUpdated message or plain object to encode
35055
+ * @param [writer] Writer to encode to
35056
+ * @returns Writer
35057
+ */
35058
+ public static encode(message: IOrgCoachingConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35059
+
35060
+ /**
35061
+ * Encodes the specified OrgCoachingConfigUpdated message, length delimited. Does not implicitly {@link OrgCoachingConfigUpdated.verify|verify} messages.
35062
+ * @param message OrgCoachingConfigUpdated message or plain object to encode
35063
+ * @param [writer] Writer to encode to
35064
+ * @returns Writer
35065
+ */
35066
+ public static encodeDelimited(message: IOrgCoachingConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35067
+
35068
+ /**
35069
+ * Decodes an OrgCoachingConfigUpdated message from the specified reader or buffer.
35070
+ * @param reader Reader or buffer to decode from
35071
+ * @param [length] Message length if known beforehand
35072
+ * @returns OrgCoachingConfigUpdated
35073
+ * @throws {Error} If the payload is not a reader or valid buffer
35074
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35075
+ */
35076
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgCoachingConfigUpdated;
35077
+
35078
+ /**
35079
+ * Decodes an OrgCoachingConfigUpdated message from the specified reader or buffer, length delimited.
35080
+ * @param reader Reader or buffer to decode from
35081
+ * @returns OrgCoachingConfigUpdated
35082
+ * @throws {Error} If the payload is not a reader or valid buffer
35083
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35084
+ */
35085
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgCoachingConfigUpdated;
35086
+
35087
+ /**
35088
+ * Verifies an OrgCoachingConfigUpdated message.
35089
+ * @param message Plain object to verify
35090
+ * @returns `null` if valid, otherwise the reason why it is not
35091
+ */
35092
+ public static verify(message: { [k: string]: any }): (string|null);
35093
+
35094
+ /**
35095
+ * Creates an OrgCoachingConfigUpdated message from a plain object. Also converts values to their respective internal types.
35096
+ * @param object Plain object
35097
+ * @returns OrgCoachingConfigUpdated
35098
+ */
35099
+ public static fromObject(object: { [k: string]: any }): OrgCoachingConfigUpdated;
35100
+
35101
+ /**
35102
+ * Creates a plain object from an OrgCoachingConfigUpdated message. Also converts values to other types if specified.
35103
+ * @param message OrgCoachingConfigUpdated
35104
+ * @param [options] Conversion options
35105
+ * @returns Plain object
35106
+ */
35107
+ public static toObject(message: OrgCoachingConfigUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
35108
+
35109
+ /**
35110
+ * Converts this OrgCoachingConfigUpdated to JSON.
35111
+ * @returns JSON object
35112
+ */
35113
+ public toJSON(): { [k: string]: any };
35114
+ }
35115
+
35008
35116
  /** Properties of an OrgMarketingConfigUpdated. */
35009
35117
  export interface IOrgMarketingConfigUpdated {
35010
35118
 
@@ -42166,6 +42274,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
42166
42274
 
42167
42275
  /** EnterpriseUserEnrollmentRemoved brandLogoUrl */
42168
42276
  brandLogoUrl?: (string|null);
42277
+
42278
+ /** EnterpriseUserEnrollmentRemoved taggedCustomFields */
42279
+ taggedCustomFields?: (ITaggedCustomField[]|null);
42169
42280
  }
42170
42281
 
42171
42282
  /** Represents an EnterpriseUserEnrollmentRemoved. */
@@ -42306,6 +42417,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
42306
42417
  /** EnterpriseUserEnrollmentRemoved brandLogoUrl. */
42307
42418
  public brandLogoUrl: string;
42308
42419
 
42420
+ /** EnterpriseUserEnrollmentRemoved taggedCustomFields. */
42421
+ public taggedCustomFields: ITaggedCustomField[];
42422
+
42309
42423
  /**
42310
42424
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
42311
42425
  * @param [properties] Properties to set
@@ -42532,6 +42646,9 @@ export interface IEnterpriseUserEnrollmentAmended {
42532
42646
 
42533
42647
  /** EnterpriseUserEnrollmentAmended isTextCoachingDisabled */
42534
42648
  isTextCoachingDisabled?: (boolean|null);
42649
+
42650
+ /** EnterpriseUserEnrollmentAmended taggedCustomFields */
42651
+ taggedCustomFields?: (ITaggedCustomField[]|null);
42535
42652
  }
42536
42653
 
42537
42654
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -42696,6 +42813,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
42696
42813
  /** EnterpriseUserEnrollmentAmended isTextCoachingDisabled. */
42697
42814
  public isTextCoachingDisabled: boolean;
42698
42815
 
42816
+ /** EnterpriseUserEnrollmentAmended taggedCustomFields. */
42817
+ public taggedCustomFields: ITaggedCustomField[];
42818
+
42699
42819
  /**
42700
42820
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
42701
42821
  * @param [properties] Properties to set
@@ -42817,6 +42937,9 @@ export interface IEnterpriseUserEnrollmentInitiated {
42817
42937
 
42818
42938
  /** EnterpriseUserEnrollmentInitiated suppressCoachingCommunications */
42819
42939
  suppressCoachingCommunications?: (boolean|null);
42940
+
42941
+ /** EnterpriseUserEnrollmentInitiated taggedCustomFields */
42942
+ taggedCustomFields?: (ITaggedCustomField[]|null);
42820
42943
  }
42821
42944
 
42822
42945
  /** Represents an EnterpriseUserEnrollmentInitiated. */
@@ -42876,6 +42999,9 @@ export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollm
42876
42999
  /** EnterpriseUserEnrollmentInitiated suppressCoachingCommunications. */
42877
43000
  public suppressCoachingCommunications: boolean;
42878
43001
 
43002
+ /** EnterpriseUserEnrollmentInitiated taggedCustomFields. */
43003
+ public taggedCustomFields: ITaggedCustomField[];
43004
+
42879
43005
  /**
42880
43006
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
42881
43007
  * @param [properties] Properties to set
@@ -42976,6 +43102,9 @@ export interface IEnterpriseUserEnrollmentUpgraded {
42976
43102
 
42977
43103
  /** EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled */
42978
43104
  isTextCoachingDisabled?: (boolean|null);
43105
+
43106
+ /** EnterpriseUserEnrollmentUpgraded taggedCustomFields */
43107
+ taggedCustomFields?: (ITaggedCustomField[]|null);
42979
43108
  }
42980
43109
 
42981
43110
  /** Represents an EnterpriseUserEnrollmentUpgraded. */
@@ -43014,6 +43143,9 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
43014
43143
  /** EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled. */
43015
43144
  public isTextCoachingDisabled: boolean;
43016
43145
 
43146
+ /** EnterpriseUserEnrollmentUpgraded taggedCustomFields. */
43147
+ public taggedCustomFields: ITaggedCustomField[];
43148
+
43017
43149
  /**
43018
43150
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
43019
43151
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -98431,6 +98431,274 @@ $root.OrganizationMFAUpdated = (function() {
98431
98431
  return OrganizationMFAUpdated;
98432
98432
  })();
98433
98433
 
98434
+ $root.OrgCoachingConfigUpdated = (function() {
98435
+
98436
+ /**
98437
+ * Properties of an OrgCoachingConfigUpdated.
98438
+ * @name IOrgCoachingConfigUpdated
98439
+ * @interface IOrgCoachingConfigUpdated
98440
+ * @property {number|null} [b2bOrgId] OrgCoachingConfigUpdated b2bOrgId
98441
+ * @property {boolean|null} [isTextCoachingDisabled] OrgCoachingConfigUpdated isTextCoachingDisabled
98442
+ * @property {number|null} [adminId] OrgCoachingConfigUpdated adminId
98443
+ * @property {number|Long|null} [timestamp] OrgCoachingConfigUpdated timestamp
98444
+ */
98445
+
98446
+ /**
98447
+ * Constructs a new OrgCoachingConfigUpdated.
98448
+ * @name OrgCoachingConfigUpdated
98449
+ * @classdesc Represents an OrgCoachingConfigUpdated.
98450
+ * @implements IOrgCoachingConfigUpdated
98451
+ * @constructor
98452
+ * @param {IOrgCoachingConfigUpdated=} [properties] Properties to set
98453
+ */
98454
+ function OrgCoachingConfigUpdated(properties) {
98455
+ if (properties)
98456
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
98457
+ if (properties[keys[i]] != null)
98458
+ this[keys[i]] = properties[keys[i]];
98459
+ }
98460
+
98461
+ /**
98462
+ * OrgCoachingConfigUpdated b2bOrgId.
98463
+ * @member {number} b2bOrgId
98464
+ * @memberof OrgCoachingConfigUpdated
98465
+ * @instance
98466
+ */
98467
+ OrgCoachingConfigUpdated.prototype.b2bOrgId = 0;
98468
+
98469
+ /**
98470
+ * OrgCoachingConfigUpdated isTextCoachingDisabled.
98471
+ * @member {boolean} isTextCoachingDisabled
98472
+ * @memberof OrgCoachingConfigUpdated
98473
+ * @instance
98474
+ */
98475
+ OrgCoachingConfigUpdated.prototype.isTextCoachingDisabled = false;
98476
+
98477
+ /**
98478
+ * OrgCoachingConfigUpdated adminId.
98479
+ * @member {number} adminId
98480
+ * @memberof OrgCoachingConfigUpdated
98481
+ * @instance
98482
+ */
98483
+ OrgCoachingConfigUpdated.prototype.adminId = 0;
98484
+
98485
+ /**
98486
+ * OrgCoachingConfigUpdated timestamp.
98487
+ * @member {number|Long} timestamp
98488
+ * @memberof OrgCoachingConfigUpdated
98489
+ * @instance
98490
+ */
98491
+ OrgCoachingConfigUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
98492
+
98493
+ /**
98494
+ * Creates a new OrgCoachingConfigUpdated instance using the specified properties.
98495
+ * @function create
98496
+ * @memberof OrgCoachingConfigUpdated
98497
+ * @static
98498
+ * @param {IOrgCoachingConfigUpdated=} [properties] Properties to set
98499
+ * @returns {OrgCoachingConfigUpdated} OrgCoachingConfigUpdated instance
98500
+ */
98501
+ OrgCoachingConfigUpdated.create = function create(properties) {
98502
+ return new OrgCoachingConfigUpdated(properties);
98503
+ };
98504
+
98505
+ /**
98506
+ * Encodes the specified OrgCoachingConfigUpdated message. Does not implicitly {@link OrgCoachingConfigUpdated.verify|verify} messages.
98507
+ * @function encode
98508
+ * @memberof OrgCoachingConfigUpdated
98509
+ * @static
98510
+ * @param {IOrgCoachingConfigUpdated} message OrgCoachingConfigUpdated message or plain object to encode
98511
+ * @param {$protobuf.Writer} [writer] Writer to encode to
98512
+ * @returns {$protobuf.Writer} Writer
98513
+ */
98514
+ OrgCoachingConfigUpdated.encode = function encode(message, writer) {
98515
+ if (!writer)
98516
+ writer = $Writer.create();
98517
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98518
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.b2bOrgId);
98519
+ if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
98520
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isTextCoachingDisabled);
98521
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98522
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.adminId);
98523
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98524
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
98525
+ return writer;
98526
+ };
98527
+
98528
+ /**
98529
+ * Encodes the specified OrgCoachingConfigUpdated message, length delimited. Does not implicitly {@link OrgCoachingConfigUpdated.verify|verify} messages.
98530
+ * @function encodeDelimited
98531
+ * @memberof OrgCoachingConfigUpdated
98532
+ * @static
98533
+ * @param {IOrgCoachingConfigUpdated} message OrgCoachingConfigUpdated message or plain object to encode
98534
+ * @param {$protobuf.Writer} [writer] Writer to encode to
98535
+ * @returns {$protobuf.Writer} Writer
98536
+ */
98537
+ OrgCoachingConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
98538
+ return this.encode(message, writer).ldelim();
98539
+ };
98540
+
98541
+ /**
98542
+ * Decodes an OrgCoachingConfigUpdated message from the specified reader or buffer.
98543
+ * @function decode
98544
+ * @memberof OrgCoachingConfigUpdated
98545
+ * @static
98546
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
98547
+ * @param {number} [length] Message length if known beforehand
98548
+ * @returns {OrgCoachingConfigUpdated} OrgCoachingConfigUpdated
98549
+ * @throws {Error} If the payload is not a reader or valid buffer
98550
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
98551
+ */
98552
+ OrgCoachingConfigUpdated.decode = function decode(reader, length) {
98553
+ if (!(reader instanceof $Reader))
98554
+ reader = $Reader.create(reader);
98555
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgCoachingConfigUpdated();
98556
+ while (reader.pos < end) {
98557
+ var tag = reader.uint32();
98558
+ switch (tag >>> 3) {
98559
+ case 1:
98560
+ message.b2bOrgId = reader.uint32();
98561
+ break;
98562
+ case 2:
98563
+ message.isTextCoachingDisabled = reader.bool();
98564
+ break;
98565
+ case 3:
98566
+ message.adminId = reader.uint32();
98567
+ break;
98568
+ case 4:
98569
+ message.timestamp = reader.uint64();
98570
+ break;
98571
+ default:
98572
+ reader.skipType(tag & 7);
98573
+ break;
98574
+ }
98575
+ }
98576
+ return message;
98577
+ };
98578
+
98579
+ /**
98580
+ * Decodes an OrgCoachingConfigUpdated message from the specified reader or buffer, length delimited.
98581
+ * @function decodeDelimited
98582
+ * @memberof OrgCoachingConfigUpdated
98583
+ * @static
98584
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
98585
+ * @returns {OrgCoachingConfigUpdated} OrgCoachingConfigUpdated
98586
+ * @throws {Error} If the payload is not a reader or valid buffer
98587
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
98588
+ */
98589
+ OrgCoachingConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
98590
+ if (!(reader instanceof $Reader))
98591
+ reader = new $Reader(reader);
98592
+ return this.decode(reader, reader.uint32());
98593
+ };
98594
+
98595
+ /**
98596
+ * Verifies an OrgCoachingConfigUpdated message.
98597
+ * @function verify
98598
+ * @memberof OrgCoachingConfigUpdated
98599
+ * @static
98600
+ * @param {Object.<string,*>} message Plain object to verify
98601
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
98602
+ */
98603
+ OrgCoachingConfigUpdated.verify = function verify(message) {
98604
+ if (typeof message !== "object" || message === null)
98605
+ return "object expected";
98606
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98607
+ if (!$util.isInteger(message.b2bOrgId))
98608
+ return "b2bOrgId: integer expected";
98609
+ if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
98610
+ if (typeof message.isTextCoachingDisabled !== "boolean")
98611
+ return "isTextCoachingDisabled: boolean expected";
98612
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98613
+ if (!$util.isInteger(message.adminId))
98614
+ return "adminId: integer expected";
98615
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98616
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
98617
+ return "timestamp: integer|Long expected";
98618
+ return null;
98619
+ };
98620
+
98621
+ /**
98622
+ * Creates an OrgCoachingConfigUpdated message from a plain object. Also converts values to their respective internal types.
98623
+ * @function fromObject
98624
+ * @memberof OrgCoachingConfigUpdated
98625
+ * @static
98626
+ * @param {Object.<string,*>} object Plain object
98627
+ * @returns {OrgCoachingConfigUpdated} OrgCoachingConfigUpdated
98628
+ */
98629
+ OrgCoachingConfigUpdated.fromObject = function fromObject(object) {
98630
+ if (object instanceof $root.OrgCoachingConfigUpdated)
98631
+ return object;
98632
+ var message = new $root.OrgCoachingConfigUpdated();
98633
+ if (object.b2bOrgId != null)
98634
+ message.b2bOrgId = object.b2bOrgId >>> 0;
98635
+ if (object.isTextCoachingDisabled != null)
98636
+ message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
98637
+ if (object.adminId != null)
98638
+ message.adminId = object.adminId >>> 0;
98639
+ if (object.timestamp != null)
98640
+ if ($util.Long)
98641
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
98642
+ else if (typeof object.timestamp === "string")
98643
+ message.timestamp = parseInt(object.timestamp, 10);
98644
+ else if (typeof object.timestamp === "number")
98645
+ message.timestamp = object.timestamp;
98646
+ else if (typeof object.timestamp === "object")
98647
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
98648
+ return message;
98649
+ };
98650
+
98651
+ /**
98652
+ * Creates a plain object from an OrgCoachingConfigUpdated message. Also converts values to other types if specified.
98653
+ * @function toObject
98654
+ * @memberof OrgCoachingConfigUpdated
98655
+ * @static
98656
+ * @param {OrgCoachingConfigUpdated} message OrgCoachingConfigUpdated
98657
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
98658
+ * @returns {Object.<string,*>} Plain object
98659
+ */
98660
+ OrgCoachingConfigUpdated.toObject = function toObject(message, options) {
98661
+ if (!options)
98662
+ options = {};
98663
+ var object = {};
98664
+ if (options.defaults) {
98665
+ object.b2bOrgId = 0;
98666
+ object.isTextCoachingDisabled = false;
98667
+ object.adminId = 0;
98668
+ if ($util.Long) {
98669
+ var long = new $util.Long(0, 0, true);
98670
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
98671
+ } else
98672
+ object.timestamp = options.longs === String ? "0" : 0;
98673
+ }
98674
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98675
+ object.b2bOrgId = message.b2bOrgId;
98676
+ if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
98677
+ object.isTextCoachingDisabled = message.isTextCoachingDisabled;
98678
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98679
+ object.adminId = message.adminId;
98680
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98681
+ if (typeof message.timestamp === "number")
98682
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
98683
+ else
98684
+ 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;
98685
+ return object;
98686
+ };
98687
+
98688
+ /**
98689
+ * Converts this OrgCoachingConfigUpdated to JSON.
98690
+ * @function toJSON
98691
+ * @memberof OrgCoachingConfigUpdated
98692
+ * @instance
98693
+ * @returns {Object.<string,*>} JSON object
98694
+ */
98695
+ OrgCoachingConfigUpdated.prototype.toJSON = function toJSON() {
98696
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
98697
+ };
98698
+
98699
+ return OrgCoachingConfigUpdated;
98700
+ })();
98701
+
98434
98702
  $root.OrgMarketingConfigUpdated = (function() {
98435
98703
 
98436
98704
  /**
@@ -118823,6 +119091,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
118823
119091
  * @property {string|null} [externalEligibility] EnterpriseUserEnrollmentRemoved externalEligibility
118824
119092
  * @property {string|null} [externalClientId] EnterpriseUserEnrollmentRemoved externalClientId
118825
119093
  * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentRemoved brandLogoUrl
119094
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentRemoved taggedCustomFields
118826
119095
  */
118827
119096
 
118828
119097
  /**
@@ -118834,6 +119103,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
118834
119103
  * @param {IEnterpriseUserEnrollmentRemoved=} [properties] Properties to set
118835
119104
  */
118836
119105
  function EnterpriseUserEnrollmentRemoved(properties) {
119106
+ this.taggedCustomFields = [];
118837
119107
  if (properties)
118838
119108
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
118839
119109
  if (properties[keys[i]] != null)
@@ -119184,6 +119454,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119184
119454
  */
119185
119455
  EnterpriseUserEnrollmentRemoved.prototype.brandLogoUrl = "";
119186
119456
 
119457
+ /**
119458
+ * EnterpriseUserEnrollmentRemoved taggedCustomFields.
119459
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
119460
+ * @memberof EnterpriseUserEnrollmentRemoved
119461
+ * @instance
119462
+ */
119463
+ EnterpriseUserEnrollmentRemoved.prototype.taggedCustomFields = $util.emptyArray;
119464
+
119187
119465
  /**
119188
119466
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
119189
119467
  * @function create
@@ -119294,6 +119572,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119294
119572
  writer.uint32(/* id 48, wireType 2 =*/386).string(message.externalClientId);
119295
119573
  if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
119296
119574
  writer.uint32(/* id 49, wireType 2 =*/394).string(message.brandLogoUrl);
119575
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
119576
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
119577
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
119297
119578
  return writer;
119298
119579
  };
119299
119580
 
@@ -119457,6 +119738,11 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119457
119738
  case 49:
119458
119739
  message.brandLogoUrl = reader.string();
119459
119740
  break;
119741
+ case 50:
119742
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
119743
+ message.taggedCustomFields = [];
119744
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
119745
+ break;
119460
119746
  default:
119461
119747
  reader.skipType(tag & 7);
119462
119748
  break;
@@ -119702,6 +119988,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
119702
119988
  if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
119703
119989
  if (!$util.isString(message.brandLogoUrl))
119704
119990
  return "brandLogoUrl: string expected";
119991
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
119992
+ if (!Array.isArray(message.taggedCustomFields))
119993
+ return "taggedCustomFields: array expected";
119994
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
119995
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
119996
+ if (error)
119997
+ return "taggedCustomFields." + error;
119998
+ }
119999
+ }
119705
120000
  return null;
119706
120001
  };
119707
120002
 
@@ -120042,6 +120337,16 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
120042
120337
  message.externalClientId = String(object.externalClientId);
120043
120338
  if (object.brandLogoUrl != null)
120044
120339
  message.brandLogoUrl = String(object.brandLogoUrl);
120340
+ if (object.taggedCustomFields) {
120341
+ if (!Array.isArray(object.taggedCustomFields))
120342
+ throw TypeError(".EnterpriseUserEnrollmentRemoved.taggedCustomFields: array expected");
120343
+ message.taggedCustomFields = [];
120344
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
120345
+ if (typeof object.taggedCustomFields[i] !== "object")
120346
+ throw TypeError(".EnterpriseUserEnrollmentRemoved.taggedCustomFields: object expected");
120347
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
120348
+ }
120349
+ }
120045
120350
  return message;
120046
120351
  };
120047
120352
 
@@ -120058,6 +120363,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
120058
120363
  if (!options)
120059
120364
  options = {};
120060
120365
  var object = {};
120366
+ if (options.arrays || options.defaults)
120367
+ object.taggedCustomFields = [];
120061
120368
  if (options.defaults) {
120062
120369
  object.userId = "";
120063
120370
  object.orgId = 0;
@@ -120224,6 +120531,11 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
120224
120531
  object.externalClientId = message.externalClientId;
120225
120532
  if (message.brandLogoUrl != null && message.hasOwnProperty("brandLogoUrl"))
120226
120533
  object.brandLogoUrl = message.brandLogoUrl;
120534
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
120535
+ object.taggedCustomFields = [];
120536
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
120537
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
120538
+ }
120227
120539
  return object;
120228
120540
  };
120229
120541
 
@@ -120298,6 +120610,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
120298
120610
  * @property {string|null} [externalClientId] EnterpriseUserEnrollmentAmended externalClientId
120299
120611
  * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentAmended brandLogoUrl
120300
120612
  * @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentAmended isTextCoachingDisabled
120613
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentAmended taggedCustomFields
120301
120614
  */
120302
120615
 
120303
120616
  /**
@@ -120309,6 +120622,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
120309
120622
  * @param {IEnterpriseUserEnrollmentAmended=} [properties] Properties to set
120310
120623
  */
120311
120624
  function EnterpriseUserEnrollmentAmended(properties) {
120625
+ this.taggedCustomFields = [];
120312
120626
  if (properties)
120313
120627
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
120314
120628
  if (properties[keys[i]] != null)
@@ -120723,6 +121037,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
120723
121037
  */
120724
121038
  EnterpriseUserEnrollmentAmended.prototype.isTextCoachingDisabled = false;
120725
121039
 
121040
+ /**
121041
+ * EnterpriseUserEnrollmentAmended taggedCustomFields.
121042
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
121043
+ * @memberof EnterpriseUserEnrollmentAmended
121044
+ * @instance
121045
+ */
121046
+ EnterpriseUserEnrollmentAmended.prototype.taggedCustomFields = $util.emptyArray;
121047
+
120726
121048
  /**
120727
121049
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
120728
121050
  * @function create
@@ -120849,6 +121171,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
120849
121171
  writer.uint32(/* id 56, wireType 2 =*/450).string(message.brandLogoUrl);
120850
121172
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
120851
121173
  writer.uint32(/* id 57, wireType 0 =*/456).bool(message.isTextCoachingDisabled);
121174
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
121175
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
121176
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 58, wireType 2 =*/466).fork()).ldelim();
120852
121177
  return writer;
120853
121178
  };
120854
121179
 
@@ -121036,6 +121361,11 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121036
121361
  case 57:
121037
121362
  message.isTextCoachingDisabled = reader.bool();
121038
121363
  break;
121364
+ case 58:
121365
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
121366
+ message.taggedCustomFields = [];
121367
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
121368
+ break;
121039
121369
  default:
121040
121370
  reader.skipType(tag & 7);
121041
121371
  break;
@@ -121290,6 +121620,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121290
121620
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
121291
121621
  if (typeof message.isTextCoachingDisabled !== "boolean")
121292
121622
  return "isTextCoachingDisabled: boolean expected";
121623
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
121624
+ if (!Array.isArray(message.taggedCustomFields))
121625
+ return "taggedCustomFields: array expected";
121626
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
121627
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
121628
+ if (error)
121629
+ return "taggedCustomFields." + error;
121630
+ }
121631
+ }
121293
121632
  return null;
121294
121633
  };
121295
121634
 
@@ -121598,6 +121937,16 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121598
121937
  message.brandLogoUrl = String(object.brandLogoUrl);
121599
121938
  if (object.isTextCoachingDisabled != null)
121600
121939
  message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
121940
+ if (object.taggedCustomFields) {
121941
+ if (!Array.isArray(object.taggedCustomFields))
121942
+ throw TypeError(".EnterpriseUserEnrollmentAmended.taggedCustomFields: array expected");
121943
+ message.taggedCustomFields = [];
121944
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
121945
+ if (typeof object.taggedCustomFields[i] !== "object")
121946
+ throw TypeError(".EnterpriseUserEnrollmentAmended.taggedCustomFields: object expected");
121947
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
121948
+ }
121949
+ }
121601
121950
  return message;
121602
121951
  };
121603
121952
 
@@ -121614,6 +121963,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121614
121963
  if (!options)
121615
121964
  options = {};
121616
121965
  var object = {};
121966
+ if (options.arrays || options.defaults)
121967
+ object.taggedCustomFields = [];
121617
121968
  if (options.defaults) {
121618
121969
  object.userId = "";
121619
121970
  object.orgId = 0;
@@ -121804,6 +122155,11 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
121804
122155
  object.brandLogoUrl = message.brandLogoUrl;
121805
122156
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
121806
122157
  object.isTextCoachingDisabled = message.isTextCoachingDisabled;
122158
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
122159
+ object.taggedCustomFields = [];
122160
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
122161
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
122162
+ }
121807
122163
  return object;
121808
122164
  };
121809
122165
 
@@ -121843,6 +122199,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
121843
122199
  * @property {boolean|null} [b2bAreNonmemberCommsEnabled] EnterpriseUserEnrollmentInitiated b2bAreNonmemberCommsEnabled
121844
122200
  * @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentInitiated b2bAreEnrollmentCommsEnabled
121845
122201
  * @property {boolean|null} [suppressCoachingCommunications] EnterpriseUserEnrollmentInitiated suppressCoachingCommunications
122202
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentInitiated taggedCustomFields
121846
122203
  */
121847
122204
 
121848
122205
  /**
@@ -121854,6 +122211,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
121854
122211
  * @param {IEnterpriseUserEnrollmentInitiated=} [properties] Properties to set
121855
122212
  */
121856
122213
  function EnterpriseUserEnrollmentInitiated(properties) {
122214
+ this.taggedCustomFields = [];
121857
122215
  if (properties)
121858
122216
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
121859
122217
  if (properties[keys[i]] != null)
@@ -121988,6 +122346,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
121988
122346
  */
121989
122347
  EnterpriseUserEnrollmentInitiated.prototype.suppressCoachingCommunications = false;
121990
122348
 
122349
+ /**
122350
+ * EnterpriseUserEnrollmentInitiated taggedCustomFields.
122351
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
122352
+ * @memberof EnterpriseUserEnrollmentInitiated
122353
+ * @instance
122354
+ */
122355
+ EnterpriseUserEnrollmentInitiated.prototype.taggedCustomFields = $util.emptyArray;
122356
+
121991
122357
  /**
121992
122358
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
121993
122359
  * @function create
@@ -122044,6 +122410,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122044
122410
  writer.uint32(/* id 15, wireType 0 =*/120).bool(message.b2bAreEnrollmentCommsEnabled);
122045
122411
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
122046
122412
  writer.uint32(/* id 16, wireType 0 =*/128).bool(message.suppressCoachingCommunications);
122413
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
122414
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
122415
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
122047
122416
  return writer;
122048
122417
  };
122049
122418
 
@@ -122126,6 +122495,11 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122126
122495
  case 16:
122127
122496
  message.suppressCoachingCommunications = reader.bool();
122128
122497
  break;
122498
+ case 17:
122499
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
122500
+ message.taggedCustomFields = [];
122501
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
122502
+ break;
122129
122503
  default:
122130
122504
  reader.skipType(tag & 7);
122131
122505
  break;
@@ -122209,6 +122583,15 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122209
122583
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
122210
122584
  if (typeof message.suppressCoachingCommunications !== "boolean")
122211
122585
  return "suppressCoachingCommunications: boolean expected";
122586
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
122587
+ if (!Array.isArray(message.taggedCustomFields))
122588
+ return "taggedCustomFields: array expected";
122589
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
122590
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
122591
+ if (error)
122592
+ return "taggedCustomFields." + error;
122593
+ }
122594
+ }
122212
122595
  return null;
122213
122596
  };
122214
122597
 
@@ -122263,6 +122646,16 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122263
122646
  message.b2bAreEnrollmentCommsEnabled = Boolean(object.b2bAreEnrollmentCommsEnabled);
122264
122647
  if (object.suppressCoachingCommunications != null)
122265
122648
  message.suppressCoachingCommunications = Boolean(object.suppressCoachingCommunications);
122649
+ if (object.taggedCustomFields) {
122650
+ if (!Array.isArray(object.taggedCustomFields))
122651
+ throw TypeError(".EnterpriseUserEnrollmentInitiated.taggedCustomFields: array expected");
122652
+ message.taggedCustomFields = [];
122653
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
122654
+ if (typeof object.taggedCustomFields[i] !== "object")
122655
+ throw TypeError(".EnterpriseUserEnrollmentInitiated.taggedCustomFields: object expected");
122656
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
122657
+ }
122658
+ }
122266
122659
  return message;
122267
122660
  };
122268
122661
 
@@ -122279,6 +122672,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122279
122672
  if (!options)
122280
122673
  options = {};
122281
122674
  var object = {};
122675
+ if (options.arrays || options.defaults)
122676
+ object.taggedCustomFields = [];
122282
122677
  if (options.defaults) {
122283
122678
  object.hsUserId = "";
122284
122679
  object.orgId = 0;
@@ -122336,6 +122731,11 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
122336
122731
  object.b2bAreEnrollmentCommsEnabled = message.b2bAreEnrollmentCommsEnabled;
122337
122732
  if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
122338
122733
  object.suppressCoachingCommunications = message.suppressCoachingCommunications;
122734
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
122735
+ object.taggedCustomFields = [];
122736
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
122737
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
122738
+ }
122339
122739
  return object;
122340
122740
  };
122341
122741
 
@@ -122368,6 +122768,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122368
122768
  * @property {number|null} [enrollmentOrgId] EnterpriseUserEnrollmentUpgraded enrollmentOrgId
122369
122769
  * @property {number|null} [overlappedCareOrgId] EnterpriseUserEnrollmentUpgraded overlappedCareOrgId
122370
122770
  * @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled
122771
+ * @property {Array.<ITaggedCustomField>|null} [taggedCustomFields] EnterpriseUserEnrollmentUpgraded taggedCustomFields
122371
122772
  */
122372
122773
 
122373
122774
  /**
@@ -122379,6 +122780,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122379
122780
  * @param {IEnterpriseUserEnrollmentUpgraded=} [properties] Properties to set
122380
122781
  */
122381
122782
  function EnterpriseUserEnrollmentUpgraded(properties) {
122783
+ this.taggedCustomFields = [];
122382
122784
  if (properties)
122383
122785
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
122384
122786
  if (properties[keys[i]] != null)
@@ -122457,6 +122859,14 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122457
122859
  */
122458
122860
  EnterpriseUserEnrollmentUpgraded.prototype.isTextCoachingDisabled = false;
122459
122861
 
122862
+ /**
122863
+ * EnterpriseUserEnrollmentUpgraded taggedCustomFields.
122864
+ * @member {Array.<ITaggedCustomField>} taggedCustomFields
122865
+ * @memberof EnterpriseUserEnrollmentUpgraded
122866
+ * @instance
122867
+ */
122868
+ EnterpriseUserEnrollmentUpgraded.prototype.taggedCustomFields = $util.emptyArray;
122869
+
122460
122870
  /**
122461
122871
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
122462
122872
  * @function create
@@ -122499,6 +122909,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122499
122909
  writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.overlappedCareOrgId);
122500
122910
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
122501
122911
  writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isTextCoachingDisabled);
122912
+ if (message.taggedCustomFields != null && message.taggedCustomFields.length)
122913
+ for (var i = 0; i < message.taggedCustomFields.length; ++i)
122914
+ $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
122502
122915
  return writer;
122503
122916
  };
122504
122917
 
@@ -122560,6 +122973,11 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122560
122973
  case 9:
122561
122974
  message.isTextCoachingDisabled = reader.bool();
122562
122975
  break;
122976
+ case 10:
122977
+ if (!(message.taggedCustomFields && message.taggedCustomFields.length))
122978
+ message.taggedCustomFields = [];
122979
+ message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32()));
122980
+ break;
122563
122981
  default:
122564
122982
  reader.skipType(tag & 7);
122565
122983
  break;
@@ -122640,6 +123058,15 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122640
123058
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
122641
123059
  if (typeof message.isTextCoachingDisabled !== "boolean")
122642
123060
  return "isTextCoachingDisabled: boolean expected";
123061
+ if (message.taggedCustomFields != null && message.hasOwnProperty("taggedCustomFields")) {
123062
+ if (!Array.isArray(message.taggedCustomFields))
123063
+ return "taggedCustomFields: array expected";
123064
+ for (var i = 0; i < message.taggedCustomFields.length; ++i) {
123065
+ var error = $root.TaggedCustomField.verify(message.taggedCustomFields[i]);
123066
+ if (error)
123067
+ return "taggedCustomFields." + error;
123068
+ }
123069
+ }
122643
123070
  return null;
122644
123071
  };
122645
123072
 
@@ -122728,6 +123155,16 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122728
123155
  message.overlappedCareOrgId = object.overlappedCareOrgId >>> 0;
122729
123156
  if (object.isTextCoachingDisabled != null)
122730
123157
  message.isTextCoachingDisabled = Boolean(object.isTextCoachingDisabled);
123158
+ if (object.taggedCustomFields) {
123159
+ if (!Array.isArray(object.taggedCustomFields))
123160
+ throw TypeError(".EnterpriseUserEnrollmentUpgraded.taggedCustomFields: array expected");
123161
+ message.taggedCustomFields = [];
123162
+ for (var i = 0; i < object.taggedCustomFields.length; ++i) {
123163
+ if (typeof object.taggedCustomFields[i] !== "object")
123164
+ throw TypeError(".EnterpriseUserEnrollmentUpgraded.taggedCustomFields: object expected");
123165
+ message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i]);
123166
+ }
123167
+ }
122731
123168
  return message;
122732
123169
  };
122733
123170
 
@@ -122744,6 +123181,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122744
123181
  if (!options)
122745
123182
  options = {};
122746
123183
  var object = {};
123184
+ if (options.arrays || options.defaults)
123185
+ object.taggedCustomFields = [];
122747
123186
  if (options.defaults) {
122748
123187
  object.userId = "";
122749
123188
  object.subscriptionOrgId = 0;
@@ -122780,6 +123219,11 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
122780
123219
  object.overlappedCareOrgId = message.overlappedCareOrgId;
122781
123220
  if (message.isTextCoachingDisabled != null && message.hasOwnProperty("isTextCoachingDisabled"))
122782
123221
  object.isTextCoachingDisabled = message.isTextCoachingDisabled;
123222
+ if (message.taggedCustomFields && message.taggedCustomFields.length) {
123223
+ object.taggedCustomFields = [];
123224
+ for (var j = 0; j < message.taggedCustomFields.length; ++j)
123225
+ object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
123226
+ }
122783
123227
  return object;
122784
123228
  };
122785
123229
 
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.772.0"
19
+ "version": "1.774.0"
20
20
  }