@headspace/protos-events 0.0.3 → 0.0.4
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 +4 -4
- package/lib/index.js +15 -15
- package/package.json +2 -2
- package/user.proto +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -410,8 +410,8 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
410
410
|
/** Properties of a UserPasswordUpdated. */
|
|
411
411
|
export interface IUserPasswordUpdated {
|
|
412
412
|
|
|
413
|
-
/** UserPasswordUpdated
|
|
414
|
-
|
|
413
|
+
/** UserPasswordUpdated userId */
|
|
414
|
+
userId?: (number|null);
|
|
415
415
|
|
|
416
416
|
/** UserPasswordUpdated updatedOn */
|
|
417
417
|
updatedOn?: (number|Long|null);
|
|
@@ -429,8 +429,8 @@ export class UserPasswordUpdated implements IUserPasswordUpdated {
|
|
|
429
429
|
*/
|
|
430
430
|
constructor(properties?: IUserPasswordUpdated);
|
|
431
431
|
|
|
432
|
-
/** UserPasswordUpdated
|
|
433
|
-
public
|
|
432
|
+
/** UserPasswordUpdated userId. */
|
|
433
|
+
public userId: number;
|
|
434
434
|
|
|
435
435
|
/** UserPasswordUpdated updatedOn. */
|
|
436
436
|
public updatedOn: (number|Long);
|
package/lib/index.js
CHANGED
|
@@ -999,7 +999,7 @@ $root.UserPasswordUpdated = (function() {
|
|
|
999
999
|
* Properties of a UserPasswordUpdated.
|
|
1000
1000
|
* @exports IUserPasswordUpdated
|
|
1001
1001
|
* @interface IUserPasswordUpdated
|
|
1002
|
-
* @property {number|null} [
|
|
1002
|
+
* @property {number|null} [userId] UserPasswordUpdated userId
|
|
1003
1003
|
* @property {number|Long|null} [updatedOn] UserPasswordUpdated updatedOn
|
|
1004
1004
|
* @property {string|null} [email] UserPasswordUpdated email
|
|
1005
1005
|
*/
|
|
@@ -1020,12 +1020,12 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
/**
|
|
1023
|
-
* UserPasswordUpdated
|
|
1024
|
-
* @member {number}
|
|
1023
|
+
* UserPasswordUpdated userId.
|
|
1024
|
+
* @member {number} userId
|
|
1025
1025
|
* @memberof UserPasswordUpdated
|
|
1026
1026
|
* @instance
|
|
1027
1027
|
*/
|
|
1028
|
-
UserPasswordUpdated.prototype.
|
|
1028
|
+
UserPasswordUpdated.prototype.userId = 0;
|
|
1029
1029
|
|
|
1030
1030
|
/**
|
|
1031
1031
|
* UserPasswordUpdated updatedOn.
|
|
@@ -1067,8 +1067,8 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1067
1067
|
UserPasswordUpdated.encode = function encode(message, writer) {
|
|
1068
1068
|
if (!writer)
|
|
1069
1069
|
writer = $Writer.create();
|
|
1070
|
-
if (message.
|
|
1071
|
-
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.
|
|
1070
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
1071
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.userId);
|
|
1072
1072
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
1073
1073
|
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedOn);
|
|
1074
1074
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
@@ -1108,7 +1108,7 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1108
1108
|
var tag = reader.uint32();
|
|
1109
1109
|
switch (tag >>> 3) {
|
|
1110
1110
|
case 1:
|
|
1111
|
-
message.
|
|
1111
|
+
message.userId = reader.uint32();
|
|
1112
1112
|
break;
|
|
1113
1113
|
case 2:
|
|
1114
1114
|
message.updatedOn = reader.uint64();
|
|
@@ -1151,9 +1151,9 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1151
1151
|
UserPasswordUpdated.verify = function verify(message) {
|
|
1152
1152
|
if (typeof message !== "object" || message === null)
|
|
1153
1153
|
return "object expected";
|
|
1154
|
-
if (message.
|
|
1155
|
-
if (!$util.isInteger(message.
|
|
1156
|
-
return "
|
|
1154
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
1155
|
+
if (!$util.isInteger(message.userId))
|
|
1156
|
+
return "userId: integer expected";
|
|
1157
1157
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
1158
1158
|
if (!$util.isInteger(message.updatedOn) && !(message.updatedOn && $util.isInteger(message.updatedOn.low) && $util.isInteger(message.updatedOn.high)))
|
|
1159
1159
|
return "updatedOn: integer|Long expected";
|
|
@@ -1175,8 +1175,8 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1175
1175
|
if (object instanceof $root.UserPasswordUpdated)
|
|
1176
1176
|
return object;
|
|
1177
1177
|
var message = new $root.UserPasswordUpdated();
|
|
1178
|
-
if (object.
|
|
1179
|
-
message.
|
|
1178
|
+
if (object.userId != null)
|
|
1179
|
+
message.userId = object.userId >>> 0;
|
|
1180
1180
|
if (object.updatedOn != null)
|
|
1181
1181
|
if ($util.Long)
|
|
1182
1182
|
(message.updatedOn = $util.Long.fromValue(object.updatedOn)).unsigned = true;
|
|
@@ -1205,7 +1205,7 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1205
1205
|
options = {};
|
|
1206
1206
|
var object = {};
|
|
1207
1207
|
if (options.defaults) {
|
|
1208
|
-
object.
|
|
1208
|
+
object.userId = 0;
|
|
1209
1209
|
if ($util.Long) {
|
|
1210
1210
|
var long = new $util.Long(0, 0, true);
|
|
1211
1211
|
object.updatedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -1213,8 +1213,8 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1213
1213
|
object.updatedOn = options.longs === String ? "0" : 0;
|
|
1214
1214
|
object.email = "";
|
|
1215
1215
|
}
|
|
1216
|
-
if (message.
|
|
1217
|
-
object.
|
|
1216
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
1217
|
+
object.userId = message.userId;
|
|
1218
1218
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
1219
1219
|
if (typeof message.updatedOn === "number")
|
|
1220
1220
|
object.updatedOn = options.longs === String ? String(message.updatedOn) : message.updatedOn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headspace/protos-events",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"typings": "lib/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"typescript": "^3.0.1"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "19f734c0975f537e754a5e48950013ba7aa93c6a"
|
|
20
20
|
}
|