@headspace/protos-events 1.812.0 → 1.813.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 +6 -0
- package/lib/index.js +29 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -104086,6 +104086,9 @@ export class UserAppleHealthConnectionSettingUpdated {
|
|
|
104086
104086
|
/** UserAppleHealthConnectionSettingUpdated updatedAt. */
|
|
104087
104087
|
updatedAt: (number|Long);
|
|
104088
104088
|
|
|
104089
|
+
/** UserAppleHealthConnectionSettingUpdated source. */
|
|
104090
|
+
source: string;
|
|
104091
|
+
|
|
104089
104092
|
/**
|
|
104090
104093
|
* Creates a new UserAppleHealthConnectionSettingUpdated instance using the specified properties.
|
|
104091
104094
|
* @param [properties] Properties to set
|
|
@@ -104179,6 +104182,9 @@ export namespace UserAppleHealthConnectionSettingUpdated {
|
|
|
104179
104182
|
/** UserAppleHealthConnectionSettingUpdated updatedAt */
|
|
104180
104183
|
updatedAt?: (number|Long|null);
|
|
104181
104184
|
|
|
104185
|
+
/** UserAppleHealthConnectionSettingUpdated source */
|
|
104186
|
+
source?: (string|null);
|
|
104187
|
+
|
|
104182
104188
|
/** Unknown fields preserved while decoding */
|
|
104183
104189
|
$unknowns?: Uint8Array[];
|
|
104184
104190
|
}
|
package/lib/index.js
CHANGED
|
@@ -304771,6 +304771,7 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304771
304771
|
* @property {string|null} [hsUserId] UserAppleHealthConnectionSettingUpdated hsUserId
|
|
304772
304772
|
* @property {string|null} [settingValue] UserAppleHealthConnectionSettingUpdated settingValue
|
|
304773
304773
|
* @property {number|Long|null} [updatedAt] UserAppleHealthConnectionSettingUpdated updatedAt
|
|
304774
|
+
* @property {string|null} [source] UserAppleHealthConnectionSettingUpdated source
|
|
304774
304775
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
304775
304776
|
*/
|
|
304776
304777
|
|
|
@@ -304829,6 +304830,14 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304829
304830
|
*/
|
|
304830
304831
|
UserAppleHealthConnectionSettingUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
304831
304832
|
|
|
304833
|
+
/**
|
|
304834
|
+
* UserAppleHealthConnectionSettingUpdated source.
|
|
304835
|
+
* @member {string} source
|
|
304836
|
+
* @memberof UserAppleHealthConnectionSettingUpdated
|
|
304837
|
+
* @instance
|
|
304838
|
+
*/
|
|
304839
|
+
UserAppleHealthConnectionSettingUpdated.prototype.source = "";
|
|
304840
|
+
|
|
304832
304841
|
/**
|
|
304833
304842
|
* Creates a new UserAppleHealthConnectionSettingUpdated instance using the specified properties.
|
|
304834
304843
|
* @function create
|
|
@@ -304863,6 +304872,8 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304863
304872
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.settingValue);
|
|
304864
304873
|
if (message.updatedAt != null && Object.hasOwnProperty.call(message, "updatedAt"))
|
|
304865
304874
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
304875
|
+
if (message.source != null && Object.hasOwnProperty.call(message, "source"))
|
|
304876
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.source);
|
|
304866
304877
|
if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
|
|
304867
304878
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
304868
304879
|
writer.raw(message.$unknowns[i]);
|
|
@@ -304937,6 +304948,15 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304937
304948
|
delete message.updatedAt;
|
|
304938
304949
|
continue;
|
|
304939
304950
|
}
|
|
304951
|
+
case 4: {
|
|
304952
|
+
if (wireType !== 2)
|
|
304953
|
+
break;
|
|
304954
|
+
if ((value = reader.string()).length)
|
|
304955
|
+
message.source = value;
|
|
304956
|
+
else
|
|
304957
|
+
delete message.source;
|
|
304958
|
+
continue;
|
|
304959
|
+
}
|
|
304940
304960
|
}
|
|
304941
304961
|
reader.skipType(wireType, _depth, tag);
|
|
304942
304962
|
$util.makeProp(message, "$unknowns", false);
|
|
@@ -304987,6 +305007,9 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304987
305007
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
304988
305008
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
304989
305009
|
return "updatedAt: integer|Long expected";
|
|
305010
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
305011
|
+
if (!$util.isString(message.source))
|
|
305012
|
+
return "source: string expected";
|
|
304990
305013
|
return null;
|
|
304991
305014
|
};
|
|
304992
305015
|
|
|
@@ -305022,6 +305045,9 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
305022
305045
|
message.updatedAt = object.updatedAt;
|
|
305023
305046
|
else if (typeof object.updatedAt === "object")
|
|
305024
305047
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
305048
|
+
if (object.source != null)
|
|
305049
|
+
if (typeof object.source !== "string" || object.source.length)
|
|
305050
|
+
message.source = String(object.source);
|
|
305025
305051
|
return message;
|
|
305026
305052
|
};
|
|
305027
305053
|
|
|
@@ -305046,6 +305072,7 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
305046
305072
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
|
|
305047
305073
|
} else
|
|
305048
305074
|
object.updatedAt = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
|
|
305075
|
+
object.source = "";
|
|
305049
305076
|
}
|
|
305050
305077
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
305051
305078
|
object.hsUserId = message.hsUserId;
|
|
@@ -305058,6 +305085,8 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
305058
305085
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
305059
305086
|
else
|
|
305060
305087
|
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;
|
|
305088
|
+
if (message.source != null && message.hasOwnProperty("source"))
|
|
305089
|
+
object.source = message.source;
|
|
305061
305090
|
return object;
|
|
305062
305091
|
};
|
|
305063
305092
|
|
package/package.json
CHANGED