@headspace/protos-events 1.810.0 → 1.811.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
@@ -104039,6 +104039,139 @@ export namespace UserDeletionRevoked {
104039
104039
  type $Shape = UserDeletionRevoked.$Properties;
104040
104040
  }
104041
104041
 
104042
+ /**
104043
+ * Properties of a UserAppleHealthConnectionSettingUpdated.
104044
+ * @deprecated Use UserAppleHealthConnectionSettingUpdated.$Properties instead.
104045
+ */
104046
+ export interface IUserAppleHealthConnectionSettingUpdated extends UserAppleHealthConnectionSettingUpdated.$Properties {
104047
+ }
104048
+
104049
+ /**
104050
+ * Sent when a user's Apple Health connection setting is updated.
104051
+ * Responsible team: Consumer Growth
104052
+ *
104053
+ */
104054
+ export class UserAppleHealthConnectionSettingUpdated {
104055
+
104056
+ /**
104057
+ * Constructs a new UserAppleHealthConnectionSettingUpdated.
104058
+ * @param [properties] Properties to set
104059
+ */
104060
+ constructor(properties?: UserAppleHealthConnectionSettingUpdated.$Properties);
104061
+
104062
+ /** Unknown fields preserved while decoding */
104063
+ $unknowns?: Uint8Array[];
104064
+
104065
+ /** UserAppleHealthConnectionSettingUpdated hsUserId. */
104066
+ hsUserId: string;
104067
+
104068
+ /** UserAppleHealthConnectionSettingUpdated settingValue. */
104069
+ settingValue: string;
104070
+
104071
+ /** UserAppleHealthConnectionSettingUpdated updatedAt. */
104072
+ updatedAt: (number|Long);
104073
+
104074
+ /**
104075
+ * Creates a new UserAppleHealthConnectionSettingUpdated instance using the specified properties.
104076
+ * @param [properties] Properties to set
104077
+ * @returns UserAppleHealthConnectionSettingUpdated instance
104078
+ */
104079
+ static create(properties: UserAppleHealthConnectionSettingUpdated.$Shape): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
104080
+ static create(properties?: UserAppleHealthConnectionSettingUpdated.$Properties): UserAppleHealthConnectionSettingUpdated;
104081
+
104082
+ /**
104083
+ * Encodes the specified UserAppleHealthConnectionSettingUpdated message. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
104084
+ * @param message UserAppleHealthConnectionSettingUpdated message or plain object to encode
104085
+ * @param [writer] Writer to encode to
104086
+ * @returns Writer
104087
+ */
104088
+ static encode(message: UserAppleHealthConnectionSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
104089
+
104090
+ /**
104091
+ * Encodes the specified UserAppleHealthConnectionSettingUpdated message, length delimited. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
104092
+ * @param message UserAppleHealthConnectionSettingUpdated message or plain object to encode
104093
+ * @param [writer] Writer to encode to
104094
+ * @returns Writer
104095
+ */
104096
+ static encodeDelimited(message: UserAppleHealthConnectionSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
104097
+
104098
+ /**
104099
+ * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer.
104100
+ * @param reader Reader or buffer to decode from
104101
+ * @param [length] Message length if known beforehand
104102
+ * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
104103
+ * @throws {Error} If the payload is not a reader or valid buffer
104104
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
104105
+ */
104106
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
104107
+
104108
+ /**
104109
+ * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer, length delimited.
104110
+ * @param reader Reader or buffer to decode from
104111
+ * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
104112
+ * @throws {Error} If the payload is not a reader or valid buffer
104113
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
104114
+ */
104115
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
104116
+
104117
+ /**
104118
+ * Verifies a UserAppleHealthConnectionSettingUpdated message.
104119
+ * @param message Plain object to verify
104120
+ * @returns `null` if valid, otherwise the reason why it is not
104121
+ */
104122
+ static verify(message: { [k: string]: any }): (string|null);
104123
+
104124
+ /**
104125
+ * Creates a UserAppleHealthConnectionSettingUpdated message from a plain object. Also converts values to their respective internal types.
104126
+ * @param object Plain object
104127
+ * @returns UserAppleHealthConnectionSettingUpdated
104128
+ */
104129
+ static fromObject(object: { [k: string]: any }): UserAppleHealthConnectionSettingUpdated;
104130
+
104131
+ /**
104132
+ * Creates a plain object from a UserAppleHealthConnectionSettingUpdated message. Also converts values to other types if specified.
104133
+ * @param message UserAppleHealthConnectionSettingUpdated
104134
+ * @param [options] Conversion options
104135
+ * @returns Plain object
104136
+ */
104137
+ static toObject(message: UserAppleHealthConnectionSettingUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
104138
+
104139
+ /**
104140
+ * Converts this UserAppleHealthConnectionSettingUpdated to JSON.
104141
+ * @returns JSON object
104142
+ */
104143
+ toJSON(): { [k: string]: any };
104144
+
104145
+ /**
104146
+ * Gets the type url for UserAppleHealthConnectionSettingUpdated
104147
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
104148
+ * @returns The type url
104149
+ */
104150
+ static getTypeUrl(prefix?: string): string;
104151
+ }
104152
+
104153
+ export namespace UserAppleHealthConnectionSettingUpdated {
104154
+
104155
+ /** Properties of a UserAppleHealthConnectionSettingUpdated. */
104156
+ interface $Properties {
104157
+
104158
+ /** UserAppleHealthConnectionSettingUpdated hsUserId */
104159
+ hsUserId?: (string|null);
104160
+
104161
+ /** UserAppleHealthConnectionSettingUpdated settingValue */
104162
+ settingValue?: (string|null);
104163
+
104164
+ /** UserAppleHealthConnectionSettingUpdated updatedAt */
104165
+ updatedAt?: (number|Long|null);
104166
+
104167
+ /** Unknown fields preserved while decoding */
104168
+ $unknowns?: Uint8Array[];
104169
+ }
104170
+
104171
+ /** Shape of a UserAppleHealthConnectionSettingUpdated. */
104172
+ type $Shape = UserAppleHealthConnectionSettingUpdated.$Properties;
104173
+ }
104174
+
104042
104175
  /**
104043
104176
  * User Deletion Request Origin
104044
104177
  *
package/lib/index.js CHANGED
@@ -304728,6 +304728,332 @@ $root.UserDeletionRevoked = (function() {
304728
304728
  return UserDeletionRevoked;
304729
304729
  })();
304730
304730
 
304731
+ $root.UserAppleHealthConnectionSettingUpdated = (function() {
304732
+
304733
+ /**
304734
+ * Properties of a UserAppleHealthConnectionSettingUpdated.
304735
+ * @typedef {Object} UserAppleHealthConnectionSettingUpdated.$Properties
304736
+ * @property {string|null} [hsUserId] UserAppleHealthConnectionSettingUpdated hsUserId
304737
+ * @property {string|null} [settingValue] UserAppleHealthConnectionSettingUpdated settingValue
304738
+ * @property {number|Long|null} [updatedAt] UserAppleHealthConnectionSettingUpdated updatedAt
304739
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
304740
+ */
304741
+
304742
+ /**
304743
+ * Properties of a UserAppleHealthConnectionSettingUpdated.
304744
+ * @name IUserAppleHealthConnectionSettingUpdated
304745
+ * @interface IUserAppleHealthConnectionSettingUpdated
304746
+ * @augments UserAppleHealthConnectionSettingUpdated.$Properties
304747
+ * @deprecated Use UserAppleHealthConnectionSettingUpdated.$Properties instead.
304748
+ */
304749
+
304750
+ /**
304751
+ * Shape of a UserAppleHealthConnectionSettingUpdated.
304752
+ * @typedef {UserAppleHealthConnectionSettingUpdated.$Properties} UserAppleHealthConnectionSettingUpdated.$Shape
304753
+ */
304754
+
304755
+ /**
304756
+ * Constructs a new UserAppleHealthConnectionSettingUpdated.
304757
+ * @name UserAppleHealthConnectionSettingUpdated
304758
+ * @classdesc Sent when a user's Apple Health connection setting is updated.
304759
+ * Responsible team: Consumer Growth
304760
+ *
304761
+ * @example User links their Apple Health, transitioning the setting from "pending" to "active".
304762
+ * @constructor
304763
+ * @param {UserAppleHealthConnectionSettingUpdated.$Properties=} [properties] Properties to set
304764
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
304765
+ */
304766
+ function UserAppleHealthConnectionSettingUpdated(properties) {
304767
+ if (properties)
304768
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
304769
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
304770
+ this[keys[i]] = properties[keys[i]];
304771
+ }
304772
+
304773
+ /**
304774
+ * UserAppleHealthConnectionSettingUpdated hsUserId.
304775
+ * @member {string} hsUserId
304776
+ * @memberof UserAppleHealthConnectionSettingUpdated
304777
+ * @instance
304778
+ */
304779
+ UserAppleHealthConnectionSettingUpdated.prototype.hsUserId = "";
304780
+
304781
+ /**
304782
+ * UserAppleHealthConnectionSettingUpdated settingValue.
304783
+ * @member {string} settingValue
304784
+ * @memberof UserAppleHealthConnectionSettingUpdated
304785
+ * @instance
304786
+ */
304787
+ UserAppleHealthConnectionSettingUpdated.prototype.settingValue = "";
304788
+
304789
+ /**
304790
+ * UserAppleHealthConnectionSettingUpdated updatedAt.
304791
+ * @member {number|Long} updatedAt
304792
+ * @memberof UserAppleHealthConnectionSettingUpdated
304793
+ * @instance
304794
+ */
304795
+ UserAppleHealthConnectionSettingUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
304796
+
304797
+ /**
304798
+ * Creates a new UserAppleHealthConnectionSettingUpdated instance using the specified properties.
304799
+ * @function create
304800
+ * @memberof UserAppleHealthConnectionSettingUpdated
304801
+ * @static
304802
+ * @param {UserAppleHealthConnectionSettingUpdated.$Properties=} [properties] Properties to set
304803
+ * @returns {UserAppleHealthConnectionSettingUpdated} UserAppleHealthConnectionSettingUpdated instance
304804
+ * @type {{
304805
+ * (properties: UserAppleHealthConnectionSettingUpdated.$Shape): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
304806
+ * (properties?: UserAppleHealthConnectionSettingUpdated.$Properties): UserAppleHealthConnectionSettingUpdated;
304807
+ * }}
304808
+ */
304809
+ UserAppleHealthConnectionSettingUpdated.create = function create(properties) {
304810
+ return new UserAppleHealthConnectionSettingUpdated(properties);
304811
+ };
304812
+
304813
+ /**
304814
+ * Encodes the specified UserAppleHealthConnectionSettingUpdated message. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
304815
+ * @function encode
304816
+ * @memberof UserAppleHealthConnectionSettingUpdated
304817
+ * @static
304818
+ * @param {UserAppleHealthConnectionSettingUpdated.$Properties} message UserAppleHealthConnectionSettingUpdated message or plain object to encode
304819
+ * @param {$protobuf.Writer} [writer] Writer to encode to
304820
+ * @returns {$protobuf.Writer} Writer
304821
+ */
304822
+ UserAppleHealthConnectionSettingUpdated.encode = function encode(message, writer) {
304823
+ if (!writer)
304824
+ writer = $Writer.create();
304825
+ if (message.hsUserId != null && Object.hasOwnProperty.call(message, "hsUserId"))
304826
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
304827
+ if (message.settingValue != null && Object.hasOwnProperty.call(message, "settingValue"))
304828
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.settingValue);
304829
+ if (message.updatedAt != null && Object.hasOwnProperty.call(message, "updatedAt"))
304830
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
304831
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
304832
+ for (var i = 0; i < message.$unknowns.length; ++i)
304833
+ writer.raw(message.$unknowns[i]);
304834
+ return writer;
304835
+ };
304836
+
304837
+ /**
304838
+ * Encodes the specified UserAppleHealthConnectionSettingUpdated message, length delimited. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
304839
+ * @function encodeDelimited
304840
+ * @memberof UserAppleHealthConnectionSettingUpdated
304841
+ * @static
304842
+ * @param {UserAppleHealthConnectionSettingUpdated.$Properties} message UserAppleHealthConnectionSettingUpdated message or plain object to encode
304843
+ * @param {$protobuf.Writer} [writer] Writer to encode to
304844
+ * @returns {$protobuf.Writer} Writer
304845
+ */
304846
+ UserAppleHealthConnectionSettingUpdated.encodeDelimited = function encodeDelimited(message, writer) {
304847
+ return this.encode(message, writer).ldelim();
304848
+ };
304849
+
304850
+ /**
304851
+ * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer.
304852
+ * @function decode
304853
+ * @memberof UserAppleHealthConnectionSettingUpdated
304854
+ * @static
304855
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
304856
+ * @param {number} [length] Message length if known beforehand
304857
+ * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
304858
+ * @throws {Error} If the payload is not a reader or valid buffer
304859
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
304860
+ */
304861
+ UserAppleHealthConnectionSettingUpdated.decode = function decode(reader, length, _end, _depth, _target) {
304862
+ if (!(reader instanceof $Reader))
304863
+ reader = $Reader.create(reader);
304864
+ if (_depth === undefined)
304865
+ _depth = 0;
304866
+ if (_depth > $Reader.recursionLimit)
304867
+ throw Error("max depth exceeded");
304868
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.UserAppleHealthConnectionSettingUpdated(), value;
304869
+ while (reader.pos < end) {
304870
+ var start = reader.pos;
304871
+ var tag = reader.tag();
304872
+ if (tag === _end) {
304873
+ _end = undefined;
304874
+ break;
304875
+ }
304876
+ var wireType = tag & 7;
304877
+ switch (tag >>>= 3) {
304878
+ case 1: {
304879
+ if (wireType !== 2)
304880
+ break;
304881
+ if ((value = reader.string()).length)
304882
+ message.hsUserId = value;
304883
+ else
304884
+ delete message.hsUserId;
304885
+ continue;
304886
+ }
304887
+ case 2: {
304888
+ if (wireType !== 2)
304889
+ break;
304890
+ if ((value = reader.string()).length)
304891
+ message.settingValue = value;
304892
+ else
304893
+ delete message.settingValue;
304894
+ continue;
304895
+ }
304896
+ case 3: {
304897
+ if (wireType !== 0)
304898
+ break;
304899
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
304900
+ message.updatedAt = value;
304901
+ else
304902
+ delete message.updatedAt;
304903
+ continue;
304904
+ }
304905
+ }
304906
+ reader.skipType(wireType, _depth, tag);
304907
+ $util.makeProp(message, "$unknowns", false);
304908
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
304909
+ }
304910
+ if (_end !== undefined)
304911
+ throw Error("missing end group");
304912
+ return message;
304913
+ };
304914
+
304915
+ /**
304916
+ * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer, length delimited.
304917
+ * @function decodeDelimited
304918
+ * @memberof UserAppleHealthConnectionSettingUpdated
304919
+ * @static
304920
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
304921
+ * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
304922
+ * @throws {Error} If the payload is not a reader or valid buffer
304923
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
304924
+ */
304925
+ UserAppleHealthConnectionSettingUpdated.decodeDelimited = function decodeDelimited(reader) {
304926
+ if (!(reader instanceof $Reader))
304927
+ reader = new $Reader(reader);
304928
+ return this.decode(reader, reader.uint32());
304929
+ };
304930
+
304931
+ /**
304932
+ * Verifies a UserAppleHealthConnectionSettingUpdated message.
304933
+ * @function verify
304934
+ * @memberof UserAppleHealthConnectionSettingUpdated
304935
+ * @static
304936
+ * @param {Object.<string,*>} message Plain object to verify
304937
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
304938
+ */
304939
+ UserAppleHealthConnectionSettingUpdated.verify = function verify(message, _depth) {
304940
+ if (typeof message !== "object" || message === null)
304941
+ return "object expected";
304942
+ if (_depth === undefined)
304943
+ _depth = 0;
304944
+ if (_depth > $util.recursionLimit)
304945
+ return "max depth exceeded";
304946
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
304947
+ if (!$util.isString(message.hsUserId))
304948
+ return "hsUserId: string expected";
304949
+ if (message.settingValue != null && message.hasOwnProperty("settingValue"))
304950
+ if (!$util.isString(message.settingValue))
304951
+ return "settingValue: string expected";
304952
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
304953
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
304954
+ return "updatedAt: integer|Long expected";
304955
+ return null;
304956
+ };
304957
+
304958
+ /**
304959
+ * Creates a UserAppleHealthConnectionSettingUpdated message from a plain object. Also converts values to their respective internal types.
304960
+ * @function fromObject
304961
+ * @memberof UserAppleHealthConnectionSettingUpdated
304962
+ * @static
304963
+ * @param {Object.<string,*>} object Plain object
304964
+ * @returns {UserAppleHealthConnectionSettingUpdated} UserAppleHealthConnectionSettingUpdated
304965
+ */
304966
+ UserAppleHealthConnectionSettingUpdated.fromObject = function fromObject(object, _depth) {
304967
+ if (object instanceof $root.UserAppleHealthConnectionSettingUpdated)
304968
+ return object;
304969
+ if (_depth === undefined)
304970
+ _depth = 0;
304971
+ if (_depth > $util.recursionLimit)
304972
+ throw Error("max depth exceeded");
304973
+ var message = new $root.UserAppleHealthConnectionSettingUpdated();
304974
+ if (object.hsUserId != null)
304975
+ if (typeof object.hsUserId !== "string" || object.hsUserId.length)
304976
+ message.hsUserId = String(object.hsUserId);
304977
+ if (object.settingValue != null)
304978
+ if (typeof object.settingValue !== "string" || object.settingValue.length)
304979
+ message.settingValue = String(object.settingValue);
304980
+ if (object.updatedAt != null)
304981
+ if (typeof object.updatedAt === "object" ? object.updatedAt.low || object.updatedAt.high : Number(object.updatedAt) !== 0)
304982
+ if ($util.Long)
304983
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
304984
+ else if (typeof object.updatedAt === "string")
304985
+ message.updatedAt = parseInt(object.updatedAt, 10);
304986
+ else if (typeof object.updatedAt === "number")
304987
+ message.updatedAt = object.updatedAt;
304988
+ else if (typeof object.updatedAt === "object")
304989
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
304990
+ return message;
304991
+ };
304992
+
304993
+ /**
304994
+ * Creates a plain object from a UserAppleHealthConnectionSettingUpdated message. Also converts values to other types if specified.
304995
+ * @function toObject
304996
+ * @memberof UserAppleHealthConnectionSettingUpdated
304997
+ * @static
304998
+ * @param {UserAppleHealthConnectionSettingUpdated} message UserAppleHealthConnectionSettingUpdated
304999
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
305000
+ * @returns {Object.<string,*>} Plain object
305001
+ */
305002
+ UserAppleHealthConnectionSettingUpdated.toObject = function toObject(message, options) {
305003
+ if (!options)
305004
+ options = {};
305005
+ var object = {};
305006
+ if (options.defaults) {
305007
+ object.hsUserId = "";
305008
+ object.settingValue = "";
305009
+ if ($util.Long) {
305010
+ var long = new $util.Long(0, 0, true);
305011
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
305012
+ } else
305013
+ object.updatedAt = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
305014
+ }
305015
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
305016
+ object.hsUserId = message.hsUserId;
305017
+ if (message.settingValue != null && message.hasOwnProperty("settingValue"))
305018
+ object.settingValue = message.settingValue;
305019
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
305020
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
305021
+ object.updatedAt = typeof message.updatedAt === "number" ? BigInt(message.updatedAt) : $util.Long.fromBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0, true).toBigInt();
305022
+ else if (typeof message.updatedAt === "number")
305023
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
305024
+ else
305025
+ object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
305026
+ return object;
305027
+ };
305028
+
305029
+ /**
305030
+ * Converts this UserAppleHealthConnectionSettingUpdated to JSON.
305031
+ * @function toJSON
305032
+ * @memberof UserAppleHealthConnectionSettingUpdated
305033
+ * @instance
305034
+ * @returns {Object.<string,*>} JSON object
305035
+ */
305036
+ UserAppleHealthConnectionSettingUpdated.prototype.toJSON = function toJSON() {
305037
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
305038
+ };
305039
+
305040
+ /**
305041
+ * Gets the type url for UserAppleHealthConnectionSettingUpdated
305042
+ * @function getTypeUrl
305043
+ * @memberof UserAppleHealthConnectionSettingUpdated
305044
+ * @static
305045
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
305046
+ * @returns {string} The type url
305047
+ */
305048
+ UserAppleHealthConnectionSettingUpdated.getTypeUrl = function getTypeUrl(prefix) {
305049
+ if (prefix === undefined)
305050
+ prefix = "type.googleapis.com";
305051
+ return prefix + "/UserAppleHealthConnectionSettingUpdated";
305052
+ };
305053
+
305054
+ return UserAppleHealthConnectionSettingUpdated;
305055
+ })();
305056
+
304731
305057
  /**
304732
305058
  * User Deletion Request Origin
304733
305059
  *
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.810.0"
19
+ "version": "1.811.0"
20
20
  }