@headspace/protos-events 0.0.4 → 0.0.5
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 +2 -2
- package/lib/index.js +9 -9
- package/package.json +2 -2
- package/user.proto +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -411,7 +411,7 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
411
411
|
export interface IUserPasswordUpdated {
|
|
412
412
|
|
|
413
413
|
/** UserPasswordUpdated userId */
|
|
414
|
-
userId?: (
|
|
414
|
+
userId?: (string|null);
|
|
415
415
|
|
|
416
416
|
/** UserPasswordUpdated updatedOn */
|
|
417
417
|
updatedOn?: (number|Long|null);
|
|
@@ -430,7 +430,7 @@ export class UserPasswordUpdated implements IUserPasswordUpdated {
|
|
|
430
430
|
constructor(properties?: IUserPasswordUpdated);
|
|
431
431
|
|
|
432
432
|
/** UserPasswordUpdated userId. */
|
|
433
|
-
public userId:
|
|
433
|
+
public userId: string;
|
|
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 {
|
|
1002
|
+
* @property {string|null} [userId] UserPasswordUpdated userId
|
|
1003
1003
|
* @property {number|Long|null} [updatedOn] UserPasswordUpdated updatedOn
|
|
1004
1004
|
* @property {string|null} [email] UserPasswordUpdated email
|
|
1005
1005
|
*/
|
|
@@ -1021,11 +1021,11 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1021
1021
|
|
|
1022
1022
|
/**
|
|
1023
1023
|
* UserPasswordUpdated userId.
|
|
1024
|
-
* @member {
|
|
1024
|
+
* @member {string} userId
|
|
1025
1025
|
* @memberof UserPasswordUpdated
|
|
1026
1026
|
* @instance
|
|
1027
1027
|
*/
|
|
1028
|
-
UserPasswordUpdated.prototype.userId =
|
|
1028
|
+
UserPasswordUpdated.prototype.userId = "";
|
|
1029
1029
|
|
|
1030
1030
|
/**
|
|
1031
1031
|
* UserPasswordUpdated updatedOn.
|
|
@@ -1068,7 +1068,7 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1068
1068
|
if (!writer)
|
|
1069
1069
|
writer = $Writer.create();
|
|
1070
1070
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
1071
|
-
writer.uint32(/* id 1, wireType
|
|
1071
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(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.userId = reader.
|
|
1111
|
+
message.userId = reader.string();
|
|
1112
1112
|
break;
|
|
1113
1113
|
case 2:
|
|
1114
1114
|
message.updatedOn = reader.uint64();
|
|
@@ -1152,8 +1152,8 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1152
1152
|
if (typeof message !== "object" || message === null)
|
|
1153
1153
|
return "object expected";
|
|
1154
1154
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
1155
|
-
if (!$util.
|
|
1156
|
-
return "userId:
|
|
1155
|
+
if (!$util.isString(message.userId))
|
|
1156
|
+
return "userId: string 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";
|
|
@@ -1176,7 +1176,7 @@ $root.UserPasswordUpdated = (function() {
|
|
|
1176
1176
|
return object;
|
|
1177
1177
|
var message = new $root.UserPasswordUpdated();
|
|
1178
1178
|
if (object.userId != null)
|
|
1179
|
-
message.userId = object.userId
|
|
1179
|
+
message.userId = String(object.userId);
|
|
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.userId =
|
|
1208
|
+
object.userId = "";
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headspace/protos-events",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
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": "b3faf5b4835f10316b9abb6b0c0420f816343370"
|
|
20
20
|
}
|