@headspace/protos-events 1.793.0 → 1.794.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 +38 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -36898,6 +36898,9 @@ export interface IBrazeProxyAppleHapticNotificationSent {
|
|
|
36898
36898
|
|
|
36899
36899
|
/** BrazeProxyAppleHapticNotificationSent hsUserId */
|
|
36900
36900
|
hsUserId?: (string|null);
|
|
36901
|
+
|
|
36902
|
+
/** BrazeProxyAppleHapticNotificationSent timestamp */
|
|
36903
|
+
timestamp?: (number|Long|null);
|
|
36901
36904
|
}
|
|
36902
36905
|
|
|
36903
36906
|
/**
|
|
@@ -36916,6 +36919,9 @@ export class BrazeProxyAppleHapticNotificationSent implements IBrazeProxyAppleHa
|
|
|
36916
36919
|
/** BrazeProxyAppleHapticNotificationSent hsUserId. */
|
|
36917
36920
|
public hsUserId: string;
|
|
36918
36921
|
|
|
36922
|
+
/** BrazeProxyAppleHapticNotificationSent timestamp. */
|
|
36923
|
+
public timestamp: (number|Long);
|
|
36924
|
+
|
|
36919
36925
|
/**
|
|
36920
36926
|
* Creates a new BrazeProxyAppleHapticNotificationSent instance using the specified properties.
|
|
36921
36927
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -103867,6 +103867,7 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103867
103867
|
* @name IBrazeProxyAppleHapticNotificationSent
|
|
103868
103868
|
* @interface IBrazeProxyAppleHapticNotificationSent
|
|
103869
103869
|
* @property {string|null} [hsUserId] BrazeProxyAppleHapticNotificationSent hsUserId
|
|
103870
|
+
* @property {number|Long|null} [timestamp] BrazeProxyAppleHapticNotificationSent timestamp
|
|
103870
103871
|
*/
|
|
103871
103872
|
|
|
103872
103873
|
/**
|
|
@@ -103896,6 +103897,14 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103896
103897
|
*/
|
|
103897
103898
|
BrazeProxyAppleHapticNotificationSent.prototype.hsUserId = "";
|
|
103898
103899
|
|
|
103900
|
+
/**
|
|
103901
|
+
* BrazeProxyAppleHapticNotificationSent timestamp.
|
|
103902
|
+
* @member {number|Long} timestamp
|
|
103903
|
+
* @memberof BrazeProxyAppleHapticNotificationSent
|
|
103904
|
+
* @instance
|
|
103905
|
+
*/
|
|
103906
|
+
BrazeProxyAppleHapticNotificationSent.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
103907
|
+
|
|
103899
103908
|
/**
|
|
103900
103909
|
* Creates a new BrazeProxyAppleHapticNotificationSent instance using the specified properties.
|
|
103901
103910
|
* @function create
|
|
@@ -103922,6 +103931,8 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103922
103931
|
writer = $Writer.create();
|
|
103923
103932
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103924
103933
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
103934
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103935
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
103925
103936
|
return writer;
|
|
103926
103937
|
};
|
|
103927
103938
|
|
|
@@ -103959,6 +103970,9 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103959
103970
|
case 1:
|
|
103960
103971
|
message.hsUserId = reader.string();
|
|
103961
103972
|
break;
|
|
103973
|
+
case 2:
|
|
103974
|
+
message.timestamp = reader.uint64();
|
|
103975
|
+
break;
|
|
103962
103976
|
default:
|
|
103963
103977
|
reader.skipType(tag & 7);
|
|
103964
103978
|
break;
|
|
@@ -103997,6 +104011,9 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103997
104011
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103998
104012
|
if (!$util.isString(message.hsUserId))
|
|
103999
104013
|
return "hsUserId: string expected";
|
|
104014
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
104015
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
104016
|
+
return "timestamp: integer|Long expected";
|
|
104000
104017
|
return null;
|
|
104001
104018
|
};
|
|
104002
104019
|
|
|
@@ -104014,6 +104031,15 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
104014
104031
|
var message = new $root.BrazeProxyAppleHapticNotificationSent();
|
|
104015
104032
|
if (object.hsUserId != null)
|
|
104016
104033
|
message.hsUserId = String(object.hsUserId);
|
|
104034
|
+
if (object.timestamp != null)
|
|
104035
|
+
if ($util.Long)
|
|
104036
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
104037
|
+
else if (typeof object.timestamp === "string")
|
|
104038
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
104039
|
+
else if (typeof object.timestamp === "number")
|
|
104040
|
+
message.timestamp = object.timestamp;
|
|
104041
|
+
else if (typeof object.timestamp === "object")
|
|
104042
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
104017
104043
|
return message;
|
|
104018
104044
|
};
|
|
104019
104045
|
|
|
@@ -104030,10 +104056,21 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
104030
104056
|
if (!options)
|
|
104031
104057
|
options = {};
|
|
104032
104058
|
var object = {};
|
|
104033
|
-
if (options.defaults)
|
|
104059
|
+
if (options.defaults) {
|
|
104034
104060
|
object.hsUserId = "";
|
|
104061
|
+
if ($util.Long) {
|
|
104062
|
+
var long = new $util.Long(0, 0, true);
|
|
104063
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
104064
|
+
} else
|
|
104065
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
104066
|
+
}
|
|
104035
104067
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
104036
104068
|
object.hsUserId = message.hsUserId;
|
|
104069
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
104070
|
+
if (typeof message.timestamp === "number")
|
|
104071
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
104072
|
+
else
|
|
104073
|
+
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;
|
|
104037
104074
|
return object;
|
|
104038
104075
|
};
|
|
104039
104076
|
|
package/package.json
CHANGED