@headspace/protos-events 1.771.0 → 1.773.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
 
@@ -44892,6 +45000,108 @@ export class PossibleStaleCareMemberSelected implements IPossibleStaleCareMember
44892
45000
  public toJSON(): { [k: string]: any };
44893
45001
  }
44894
45002
 
45003
+ /** Properties of a CareMemberAddressUpdated. */
45004
+ export interface ICareMemberAddressUpdated {
45005
+
45006
+ /** CareMemberAddressUpdated hsUserId */
45007
+ hsUserId?: (string|null);
45008
+
45009
+ /** CareMemberAddressUpdated country */
45010
+ country?: (string|null);
45011
+
45012
+ /** CareMemberAddressUpdated eventTimestamp */
45013
+ eventTimestamp?: (number|Long|null);
45014
+ }
45015
+
45016
+ /** Indicates the address has been updated for a member. */
45017
+ export class CareMemberAddressUpdated implements ICareMemberAddressUpdated {
45018
+
45019
+ /**
45020
+ * Constructs a new CareMemberAddressUpdated.
45021
+ * @param [properties] Properties to set
45022
+ */
45023
+ constructor(properties?: ICareMemberAddressUpdated);
45024
+
45025
+ /** CareMemberAddressUpdated hsUserId. */
45026
+ public hsUserId: string;
45027
+
45028
+ /** CareMemberAddressUpdated country. */
45029
+ public country: string;
45030
+
45031
+ /** CareMemberAddressUpdated eventTimestamp. */
45032
+ public eventTimestamp: (number|Long);
45033
+
45034
+ /**
45035
+ * Creates a new CareMemberAddressUpdated instance using the specified properties.
45036
+ * @param [properties] Properties to set
45037
+ * @returns CareMemberAddressUpdated instance
45038
+ */
45039
+ public static create(properties?: ICareMemberAddressUpdated): CareMemberAddressUpdated;
45040
+
45041
+ /**
45042
+ * Encodes the specified CareMemberAddressUpdated message. Does not implicitly {@link CareMemberAddressUpdated.verify|verify} messages.
45043
+ * @param message CareMemberAddressUpdated message or plain object to encode
45044
+ * @param [writer] Writer to encode to
45045
+ * @returns Writer
45046
+ */
45047
+ public static encode(message: ICareMemberAddressUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
45048
+
45049
+ /**
45050
+ * Encodes the specified CareMemberAddressUpdated message, length delimited. Does not implicitly {@link CareMemberAddressUpdated.verify|verify} messages.
45051
+ * @param message CareMemberAddressUpdated message or plain object to encode
45052
+ * @param [writer] Writer to encode to
45053
+ * @returns Writer
45054
+ */
45055
+ public static encodeDelimited(message: ICareMemberAddressUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
45056
+
45057
+ /**
45058
+ * Decodes a CareMemberAddressUpdated message from the specified reader or buffer.
45059
+ * @param reader Reader or buffer to decode from
45060
+ * @param [length] Message length if known beforehand
45061
+ * @returns CareMemberAddressUpdated
45062
+ * @throws {Error} If the payload is not a reader or valid buffer
45063
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45064
+ */
45065
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareMemberAddressUpdated;
45066
+
45067
+ /**
45068
+ * Decodes a CareMemberAddressUpdated message from the specified reader or buffer, length delimited.
45069
+ * @param reader Reader or buffer to decode from
45070
+ * @returns CareMemberAddressUpdated
45071
+ * @throws {Error} If the payload is not a reader or valid buffer
45072
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45073
+ */
45074
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareMemberAddressUpdated;
45075
+
45076
+ /**
45077
+ * Verifies a CareMemberAddressUpdated message.
45078
+ * @param message Plain object to verify
45079
+ * @returns `null` if valid, otherwise the reason why it is not
45080
+ */
45081
+ public static verify(message: { [k: string]: any }): (string|null);
45082
+
45083
+ /**
45084
+ * Creates a CareMemberAddressUpdated message from a plain object. Also converts values to their respective internal types.
45085
+ * @param object Plain object
45086
+ * @returns CareMemberAddressUpdated
45087
+ */
45088
+ public static fromObject(object: { [k: string]: any }): CareMemberAddressUpdated;
45089
+
45090
+ /**
45091
+ * Creates a plain object from a CareMemberAddressUpdated message. Also converts values to other types if specified.
45092
+ * @param message CareMemberAddressUpdated
45093
+ * @param [options] Conversion options
45094
+ * @returns Plain object
45095
+ */
45096
+ public static toObject(message: CareMemberAddressUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
45097
+
45098
+ /**
45099
+ * Converts this CareMemberAddressUpdated to JSON.
45100
+ * @returns JSON object
45101
+ */
45102
+ public toJSON(): { [k: string]: any };
45103
+ }
45104
+
44895
45105
  /** Properties of a GoalSet. */
44896
45106
  export interface IGoalSet {
44897
45107
 
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
  /**
@@ -127910,6 +128178,252 @@ $root.PossibleStaleCareMemberSelected = (function() {
127910
128178
  return PossibleStaleCareMemberSelected;
127911
128179
  })();
127912
128180
 
128181
+ $root.CareMemberAddressUpdated = (function() {
128182
+
128183
+ /**
128184
+ * Properties of a CareMemberAddressUpdated.
128185
+ * @name ICareMemberAddressUpdated
128186
+ * @interface ICareMemberAddressUpdated
128187
+ * @property {string|null} [hsUserId] CareMemberAddressUpdated hsUserId
128188
+ * @property {string|null} [country] CareMemberAddressUpdated country
128189
+ * @property {number|Long|null} [eventTimestamp] CareMemberAddressUpdated eventTimestamp
128190
+ */
128191
+
128192
+ /**
128193
+ * Constructs a new CareMemberAddressUpdated.
128194
+ * @name CareMemberAddressUpdated
128195
+ * @classdesc Indicates the address has been updated for a member.
128196
+ * @implements ICareMemberAddressUpdated
128197
+ * @constructor
128198
+ * @param {ICareMemberAddressUpdated=} [properties] Properties to set
128199
+ */
128200
+ function CareMemberAddressUpdated(properties) {
128201
+ if (properties)
128202
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
128203
+ if (properties[keys[i]] != null)
128204
+ this[keys[i]] = properties[keys[i]];
128205
+ }
128206
+
128207
+ /**
128208
+ * CareMemberAddressUpdated hsUserId.
128209
+ * @member {string} hsUserId
128210
+ * @memberof CareMemberAddressUpdated
128211
+ * @instance
128212
+ */
128213
+ CareMemberAddressUpdated.prototype.hsUserId = "";
128214
+
128215
+ /**
128216
+ * CareMemberAddressUpdated country.
128217
+ * @member {string} country
128218
+ * @memberof CareMemberAddressUpdated
128219
+ * @instance
128220
+ */
128221
+ CareMemberAddressUpdated.prototype.country = "";
128222
+
128223
+ /**
128224
+ * CareMemberAddressUpdated eventTimestamp.
128225
+ * @member {number|Long} eventTimestamp
128226
+ * @memberof CareMemberAddressUpdated
128227
+ * @instance
128228
+ */
128229
+ CareMemberAddressUpdated.prototype.eventTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
128230
+
128231
+ /**
128232
+ * Creates a new CareMemberAddressUpdated instance using the specified properties.
128233
+ * @function create
128234
+ * @memberof CareMemberAddressUpdated
128235
+ * @static
128236
+ * @param {ICareMemberAddressUpdated=} [properties] Properties to set
128237
+ * @returns {CareMemberAddressUpdated} CareMemberAddressUpdated instance
128238
+ */
128239
+ CareMemberAddressUpdated.create = function create(properties) {
128240
+ return new CareMemberAddressUpdated(properties);
128241
+ };
128242
+
128243
+ /**
128244
+ * Encodes the specified CareMemberAddressUpdated message. Does not implicitly {@link CareMemberAddressUpdated.verify|verify} messages.
128245
+ * @function encode
128246
+ * @memberof CareMemberAddressUpdated
128247
+ * @static
128248
+ * @param {ICareMemberAddressUpdated} message CareMemberAddressUpdated message or plain object to encode
128249
+ * @param {$protobuf.Writer} [writer] Writer to encode to
128250
+ * @returns {$protobuf.Writer} Writer
128251
+ */
128252
+ CareMemberAddressUpdated.encode = function encode(message, writer) {
128253
+ if (!writer)
128254
+ writer = $Writer.create();
128255
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
128256
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
128257
+ if (message.country != null && message.hasOwnProperty("country"))
128258
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.country);
128259
+ if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
128260
+ writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.eventTimestamp);
128261
+ return writer;
128262
+ };
128263
+
128264
+ /**
128265
+ * Encodes the specified CareMemberAddressUpdated message, length delimited. Does not implicitly {@link CareMemberAddressUpdated.verify|verify} messages.
128266
+ * @function encodeDelimited
128267
+ * @memberof CareMemberAddressUpdated
128268
+ * @static
128269
+ * @param {ICareMemberAddressUpdated} message CareMemberAddressUpdated message or plain object to encode
128270
+ * @param {$protobuf.Writer} [writer] Writer to encode to
128271
+ * @returns {$protobuf.Writer} Writer
128272
+ */
128273
+ CareMemberAddressUpdated.encodeDelimited = function encodeDelimited(message, writer) {
128274
+ return this.encode(message, writer).ldelim();
128275
+ };
128276
+
128277
+ /**
128278
+ * Decodes a CareMemberAddressUpdated message from the specified reader or buffer.
128279
+ * @function decode
128280
+ * @memberof CareMemberAddressUpdated
128281
+ * @static
128282
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
128283
+ * @param {number} [length] Message length if known beforehand
128284
+ * @returns {CareMemberAddressUpdated} CareMemberAddressUpdated
128285
+ * @throws {Error} If the payload is not a reader or valid buffer
128286
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
128287
+ */
128288
+ CareMemberAddressUpdated.decode = function decode(reader, length) {
128289
+ if (!(reader instanceof $Reader))
128290
+ reader = $Reader.create(reader);
128291
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CareMemberAddressUpdated();
128292
+ while (reader.pos < end) {
128293
+ var tag = reader.uint32();
128294
+ switch (tag >>> 3) {
128295
+ case 1:
128296
+ message.hsUserId = reader.string();
128297
+ break;
128298
+ case 2:
128299
+ message.country = reader.string();
128300
+ break;
128301
+ case 12:
128302
+ message.eventTimestamp = reader.uint64();
128303
+ break;
128304
+ default:
128305
+ reader.skipType(tag & 7);
128306
+ break;
128307
+ }
128308
+ }
128309
+ return message;
128310
+ };
128311
+
128312
+ /**
128313
+ * Decodes a CareMemberAddressUpdated message from the specified reader or buffer, length delimited.
128314
+ * @function decodeDelimited
128315
+ * @memberof CareMemberAddressUpdated
128316
+ * @static
128317
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
128318
+ * @returns {CareMemberAddressUpdated} CareMemberAddressUpdated
128319
+ * @throws {Error} If the payload is not a reader or valid buffer
128320
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
128321
+ */
128322
+ CareMemberAddressUpdated.decodeDelimited = function decodeDelimited(reader) {
128323
+ if (!(reader instanceof $Reader))
128324
+ reader = new $Reader(reader);
128325
+ return this.decode(reader, reader.uint32());
128326
+ };
128327
+
128328
+ /**
128329
+ * Verifies a CareMemberAddressUpdated message.
128330
+ * @function verify
128331
+ * @memberof CareMemberAddressUpdated
128332
+ * @static
128333
+ * @param {Object.<string,*>} message Plain object to verify
128334
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
128335
+ */
128336
+ CareMemberAddressUpdated.verify = function verify(message) {
128337
+ if (typeof message !== "object" || message === null)
128338
+ return "object expected";
128339
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
128340
+ if (!$util.isString(message.hsUserId))
128341
+ return "hsUserId: string expected";
128342
+ if (message.country != null && message.hasOwnProperty("country"))
128343
+ if (!$util.isString(message.country))
128344
+ return "country: string expected";
128345
+ if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
128346
+ if (!$util.isInteger(message.eventTimestamp) && !(message.eventTimestamp && $util.isInteger(message.eventTimestamp.low) && $util.isInteger(message.eventTimestamp.high)))
128347
+ return "eventTimestamp: integer|Long expected";
128348
+ return null;
128349
+ };
128350
+
128351
+ /**
128352
+ * Creates a CareMemberAddressUpdated message from a plain object. Also converts values to their respective internal types.
128353
+ * @function fromObject
128354
+ * @memberof CareMemberAddressUpdated
128355
+ * @static
128356
+ * @param {Object.<string,*>} object Plain object
128357
+ * @returns {CareMemberAddressUpdated} CareMemberAddressUpdated
128358
+ */
128359
+ CareMemberAddressUpdated.fromObject = function fromObject(object) {
128360
+ if (object instanceof $root.CareMemberAddressUpdated)
128361
+ return object;
128362
+ var message = new $root.CareMemberAddressUpdated();
128363
+ if (object.hsUserId != null)
128364
+ message.hsUserId = String(object.hsUserId);
128365
+ if (object.country != null)
128366
+ message.country = String(object.country);
128367
+ if (object.eventTimestamp != null)
128368
+ if ($util.Long)
128369
+ (message.eventTimestamp = $util.Long.fromValue(object.eventTimestamp)).unsigned = true;
128370
+ else if (typeof object.eventTimestamp === "string")
128371
+ message.eventTimestamp = parseInt(object.eventTimestamp, 10);
128372
+ else if (typeof object.eventTimestamp === "number")
128373
+ message.eventTimestamp = object.eventTimestamp;
128374
+ else if (typeof object.eventTimestamp === "object")
128375
+ message.eventTimestamp = new $util.LongBits(object.eventTimestamp.low >>> 0, object.eventTimestamp.high >>> 0).toNumber(true);
128376
+ return message;
128377
+ };
128378
+
128379
+ /**
128380
+ * Creates a plain object from a CareMemberAddressUpdated message. Also converts values to other types if specified.
128381
+ * @function toObject
128382
+ * @memberof CareMemberAddressUpdated
128383
+ * @static
128384
+ * @param {CareMemberAddressUpdated} message CareMemberAddressUpdated
128385
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
128386
+ * @returns {Object.<string,*>} Plain object
128387
+ */
128388
+ CareMemberAddressUpdated.toObject = function toObject(message, options) {
128389
+ if (!options)
128390
+ options = {};
128391
+ var object = {};
128392
+ if (options.defaults) {
128393
+ object.hsUserId = "";
128394
+ object.country = "";
128395
+ if ($util.Long) {
128396
+ var long = new $util.Long(0, 0, true);
128397
+ object.eventTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
128398
+ } else
128399
+ object.eventTimestamp = options.longs === String ? "0" : 0;
128400
+ }
128401
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
128402
+ object.hsUserId = message.hsUserId;
128403
+ if (message.country != null && message.hasOwnProperty("country"))
128404
+ object.country = message.country;
128405
+ if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
128406
+ if (typeof message.eventTimestamp === "number")
128407
+ object.eventTimestamp = options.longs === String ? String(message.eventTimestamp) : message.eventTimestamp;
128408
+ else
128409
+ object.eventTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.eventTimestamp) : options.longs === Number ? new $util.LongBits(message.eventTimestamp.low >>> 0, message.eventTimestamp.high >>> 0).toNumber(true) : message.eventTimestamp;
128410
+ return object;
128411
+ };
128412
+
128413
+ /**
128414
+ * Converts this CareMemberAddressUpdated to JSON.
128415
+ * @function toJSON
128416
+ * @memberof CareMemberAddressUpdated
128417
+ * @instance
128418
+ * @returns {Object.<string,*>} JSON object
128419
+ */
128420
+ CareMemberAddressUpdated.prototype.toJSON = function toJSON() {
128421
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
128422
+ };
128423
+
128424
+ return CareMemberAddressUpdated;
128425
+ })();
128426
+
127913
128427
  $root.GoalSet = (function() {
127914
128428
 
127915
128429
  /**
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.771.0"
19
+ "version": "1.773.0"
20
20
  }