@headspace/protos-events 1.59.0 → 1.60.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 +24 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3473,6 +3473,9 @@ export interface IUserEnabledWakeupNotifications {
|
|
|
3473
3473
|
|
|
3474
3474
|
/** UserEnabledWakeupNotifications userId */
|
|
3475
3475
|
userId?: (string|null);
|
|
3476
|
+
|
|
3477
|
+
/** UserEnabledWakeupNotifications isEnabled */
|
|
3478
|
+
isEnabled?: (boolean|null);
|
|
3476
3479
|
}
|
|
3477
3480
|
|
|
3478
3481
|
/** Represents a UserEnabledWakeupNotifications. */
|
|
@@ -3487,6 +3490,9 @@ export class UserEnabledWakeupNotifications implements IUserEnabledWakeupNotific
|
|
|
3487
3490
|
/** UserEnabledWakeupNotifications userId. */
|
|
3488
3491
|
public userId: string;
|
|
3489
3492
|
|
|
3493
|
+
/** UserEnabledWakeupNotifications isEnabled. */
|
|
3494
|
+
public isEnabled: boolean;
|
|
3495
|
+
|
|
3490
3496
|
/**
|
|
3491
3497
|
* Creates a new UserEnabledWakeupNotifications instance using the specified properties.
|
|
3492
3498
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -8390,6 +8390,7 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8390
8390
|
* @exports IUserEnabledWakeupNotifications
|
|
8391
8391
|
* @interface IUserEnabledWakeupNotifications
|
|
8392
8392
|
* @property {string|null} [userId] UserEnabledWakeupNotifications userId
|
|
8393
|
+
* @property {boolean|null} [isEnabled] UserEnabledWakeupNotifications isEnabled
|
|
8393
8394
|
*/
|
|
8394
8395
|
|
|
8395
8396
|
/**
|
|
@@ -8415,6 +8416,14 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8415
8416
|
*/
|
|
8416
8417
|
UserEnabledWakeupNotifications.prototype.userId = "";
|
|
8417
8418
|
|
|
8419
|
+
/**
|
|
8420
|
+
* UserEnabledWakeupNotifications isEnabled.
|
|
8421
|
+
* @member {boolean} isEnabled
|
|
8422
|
+
* @memberof UserEnabledWakeupNotifications
|
|
8423
|
+
* @instance
|
|
8424
|
+
*/
|
|
8425
|
+
UserEnabledWakeupNotifications.prototype.isEnabled = false;
|
|
8426
|
+
|
|
8418
8427
|
/**
|
|
8419
8428
|
* Creates a new UserEnabledWakeupNotifications instance using the specified properties.
|
|
8420
8429
|
* @function create
|
|
@@ -8441,6 +8450,8 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8441
8450
|
writer = $Writer.create();
|
|
8442
8451
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
8443
8452
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
8453
|
+
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
8454
|
+
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isEnabled);
|
|
8444
8455
|
return writer;
|
|
8445
8456
|
};
|
|
8446
8457
|
|
|
@@ -8478,6 +8489,9 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8478
8489
|
case 1:
|
|
8479
8490
|
message.userId = reader.string();
|
|
8480
8491
|
break;
|
|
8492
|
+
case 2:
|
|
8493
|
+
message.isEnabled = reader.bool();
|
|
8494
|
+
break;
|
|
8481
8495
|
default:
|
|
8482
8496
|
reader.skipType(tag & 7);
|
|
8483
8497
|
break;
|
|
@@ -8516,6 +8530,9 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8516
8530
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
8517
8531
|
if (!$util.isString(message.userId))
|
|
8518
8532
|
return "userId: string expected";
|
|
8533
|
+
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
8534
|
+
if (typeof message.isEnabled !== "boolean")
|
|
8535
|
+
return "isEnabled: boolean expected";
|
|
8519
8536
|
return null;
|
|
8520
8537
|
};
|
|
8521
8538
|
|
|
@@ -8533,6 +8550,8 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8533
8550
|
var message = new $root.UserEnabledWakeupNotifications();
|
|
8534
8551
|
if (object.userId != null)
|
|
8535
8552
|
message.userId = String(object.userId);
|
|
8553
|
+
if (object.isEnabled != null)
|
|
8554
|
+
message.isEnabled = Boolean(object.isEnabled);
|
|
8536
8555
|
return message;
|
|
8537
8556
|
};
|
|
8538
8557
|
|
|
@@ -8549,10 +8568,14 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8549
8568
|
if (!options)
|
|
8550
8569
|
options = {};
|
|
8551
8570
|
var object = {};
|
|
8552
|
-
if (options.defaults)
|
|
8571
|
+
if (options.defaults) {
|
|
8553
8572
|
object.userId = "";
|
|
8573
|
+
object.isEnabled = false;
|
|
8574
|
+
}
|
|
8554
8575
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
8555
8576
|
object.userId = message.userId;
|
|
8577
|
+
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
8578
|
+
object.isEnabled = message.isEnabled;
|
|
8556
8579
|
return object;
|
|
8557
8580
|
};
|
|
8558
8581
|
|
package/package.json
CHANGED