@headspace/protos-events 1.363.0 → 1.365.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 -192
- package/lib/index.js +22 -420
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -42199,6 +42199,9 @@ export interface IUserReminderSettingUpdated {
|
|
|
42199
42199
|
|
|
42200
42200
|
/** UserReminderSettingUpdated timestamp */
|
|
42201
42201
|
timestamp?: (number|Long|null);
|
|
42202
|
+
|
|
42203
|
+
/** UserReminderSettingUpdated reminderType */
|
|
42204
|
+
reminderType?: (string|null);
|
|
42202
42205
|
}
|
|
42203
42206
|
|
|
42204
42207
|
/** Represents a UserReminderSettingUpdated. */
|
|
@@ -42228,6 +42231,9 @@ export class UserReminderSettingUpdated implements IUserReminderSettingUpdated {
|
|
|
42228
42231
|
/** UserReminderSettingUpdated timestamp. */
|
|
42229
42232
|
public timestamp: (number|Long);
|
|
42230
42233
|
|
|
42234
|
+
/** UserReminderSettingUpdated reminderType. */
|
|
42235
|
+
public reminderType: string;
|
|
42236
|
+
|
|
42231
42237
|
/**
|
|
42232
42238
|
* Creates a new UserReminderSettingUpdated instance using the specified properties.
|
|
42233
42239
|
* @param [properties] Properties to set
|
|
@@ -42497,198 +42503,6 @@ export class UserConsentUpdated implements IUserConsentUpdated {
|
|
|
42497
42503
|
public toJSON(): { [k: string]: any };
|
|
42498
42504
|
}
|
|
42499
42505
|
|
|
42500
|
-
/** Properties of a UserBedtimeNotificationsSettingUpdated. */
|
|
42501
|
-
export interface IUserBedtimeNotificationsSettingUpdated {
|
|
42502
|
-
|
|
42503
|
-
/** UserBedtimeNotificationsSettingUpdated userId */
|
|
42504
|
-
userId?: (string|null);
|
|
42505
|
-
|
|
42506
|
-
/** UserBedtimeNotificationsSettingUpdated isEnabled */
|
|
42507
|
-
isEnabled?: (boolean|null);
|
|
42508
|
-
}
|
|
42509
|
-
|
|
42510
|
-
/** Represents a UserBedtimeNotificationsSettingUpdated. */
|
|
42511
|
-
export class UserBedtimeNotificationsSettingUpdated implements IUserBedtimeNotificationsSettingUpdated {
|
|
42512
|
-
|
|
42513
|
-
/**
|
|
42514
|
-
* Constructs a new UserBedtimeNotificationsSettingUpdated.
|
|
42515
|
-
* @param [properties] Properties to set
|
|
42516
|
-
*/
|
|
42517
|
-
constructor(properties?: IUserBedtimeNotificationsSettingUpdated);
|
|
42518
|
-
|
|
42519
|
-
/** UserBedtimeNotificationsSettingUpdated userId. */
|
|
42520
|
-
public userId: string;
|
|
42521
|
-
|
|
42522
|
-
/** UserBedtimeNotificationsSettingUpdated isEnabled. */
|
|
42523
|
-
public isEnabled: boolean;
|
|
42524
|
-
|
|
42525
|
-
/**
|
|
42526
|
-
* Creates a new UserBedtimeNotificationsSettingUpdated instance using the specified properties.
|
|
42527
|
-
* @param [properties] Properties to set
|
|
42528
|
-
* @returns UserBedtimeNotificationsSettingUpdated instance
|
|
42529
|
-
*/
|
|
42530
|
-
public static create(properties?: IUserBedtimeNotificationsSettingUpdated): UserBedtimeNotificationsSettingUpdated;
|
|
42531
|
-
|
|
42532
|
-
/**
|
|
42533
|
-
* Encodes the specified UserBedtimeNotificationsSettingUpdated message. Does not implicitly {@link UserBedtimeNotificationsSettingUpdated.verify|verify} messages.
|
|
42534
|
-
* @param message UserBedtimeNotificationsSettingUpdated message or plain object to encode
|
|
42535
|
-
* @param [writer] Writer to encode to
|
|
42536
|
-
* @returns Writer
|
|
42537
|
-
*/
|
|
42538
|
-
public static encode(message: IUserBedtimeNotificationsSettingUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42539
|
-
|
|
42540
|
-
/**
|
|
42541
|
-
* Encodes the specified UserBedtimeNotificationsSettingUpdated message, length delimited. Does not implicitly {@link UserBedtimeNotificationsSettingUpdated.verify|verify} messages.
|
|
42542
|
-
* @param message UserBedtimeNotificationsSettingUpdated message or plain object to encode
|
|
42543
|
-
* @param [writer] Writer to encode to
|
|
42544
|
-
* @returns Writer
|
|
42545
|
-
*/
|
|
42546
|
-
public static encodeDelimited(message: IUserBedtimeNotificationsSettingUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42547
|
-
|
|
42548
|
-
/**
|
|
42549
|
-
* Decodes a UserBedtimeNotificationsSettingUpdated message from the specified reader or buffer.
|
|
42550
|
-
* @param reader Reader or buffer to decode from
|
|
42551
|
-
* @param [length] Message length if known beforehand
|
|
42552
|
-
* @returns UserBedtimeNotificationsSettingUpdated
|
|
42553
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42554
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42555
|
-
*/
|
|
42556
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserBedtimeNotificationsSettingUpdated;
|
|
42557
|
-
|
|
42558
|
-
/**
|
|
42559
|
-
* Decodes a UserBedtimeNotificationsSettingUpdated message from the specified reader or buffer, length delimited.
|
|
42560
|
-
* @param reader Reader or buffer to decode from
|
|
42561
|
-
* @returns UserBedtimeNotificationsSettingUpdated
|
|
42562
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42563
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42564
|
-
*/
|
|
42565
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserBedtimeNotificationsSettingUpdated;
|
|
42566
|
-
|
|
42567
|
-
/**
|
|
42568
|
-
* Verifies a UserBedtimeNotificationsSettingUpdated message.
|
|
42569
|
-
* @param message Plain object to verify
|
|
42570
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
42571
|
-
*/
|
|
42572
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
42573
|
-
|
|
42574
|
-
/**
|
|
42575
|
-
* Creates a UserBedtimeNotificationsSettingUpdated message from a plain object. Also converts values to their respective internal types.
|
|
42576
|
-
* @param object Plain object
|
|
42577
|
-
* @returns UserBedtimeNotificationsSettingUpdated
|
|
42578
|
-
*/
|
|
42579
|
-
public static fromObject(object: { [k: string]: any }): UserBedtimeNotificationsSettingUpdated;
|
|
42580
|
-
|
|
42581
|
-
/**
|
|
42582
|
-
* Creates a plain object from a UserBedtimeNotificationsSettingUpdated message. Also converts values to other types if specified.
|
|
42583
|
-
* @param message UserBedtimeNotificationsSettingUpdated
|
|
42584
|
-
* @param [options] Conversion options
|
|
42585
|
-
* @returns Plain object
|
|
42586
|
-
*/
|
|
42587
|
-
public static toObject(message: UserBedtimeNotificationsSettingUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
42588
|
-
|
|
42589
|
-
/**
|
|
42590
|
-
* Converts this UserBedtimeNotificationsSettingUpdated to JSON.
|
|
42591
|
-
* @returns JSON object
|
|
42592
|
-
*/
|
|
42593
|
-
public toJSON(): { [k: string]: any };
|
|
42594
|
-
}
|
|
42595
|
-
|
|
42596
|
-
/** Properties of a UserWindDownNotificationsSettingUpdated. */
|
|
42597
|
-
export interface IUserWindDownNotificationsSettingUpdated {
|
|
42598
|
-
|
|
42599
|
-
/** UserWindDownNotificationsSettingUpdated userId */
|
|
42600
|
-
userId?: (string|null);
|
|
42601
|
-
|
|
42602
|
-
/** UserWindDownNotificationsSettingUpdated isEnabled */
|
|
42603
|
-
isEnabled?: (boolean|null);
|
|
42604
|
-
}
|
|
42605
|
-
|
|
42606
|
-
/** Represents a UserWindDownNotificationsSettingUpdated. */
|
|
42607
|
-
export class UserWindDownNotificationsSettingUpdated implements IUserWindDownNotificationsSettingUpdated {
|
|
42608
|
-
|
|
42609
|
-
/**
|
|
42610
|
-
* Constructs a new UserWindDownNotificationsSettingUpdated.
|
|
42611
|
-
* @param [properties] Properties to set
|
|
42612
|
-
*/
|
|
42613
|
-
constructor(properties?: IUserWindDownNotificationsSettingUpdated);
|
|
42614
|
-
|
|
42615
|
-
/** UserWindDownNotificationsSettingUpdated userId. */
|
|
42616
|
-
public userId: string;
|
|
42617
|
-
|
|
42618
|
-
/** UserWindDownNotificationsSettingUpdated isEnabled. */
|
|
42619
|
-
public isEnabled: boolean;
|
|
42620
|
-
|
|
42621
|
-
/**
|
|
42622
|
-
* Creates a new UserWindDownNotificationsSettingUpdated instance using the specified properties.
|
|
42623
|
-
* @param [properties] Properties to set
|
|
42624
|
-
* @returns UserWindDownNotificationsSettingUpdated instance
|
|
42625
|
-
*/
|
|
42626
|
-
public static create(properties?: IUserWindDownNotificationsSettingUpdated): UserWindDownNotificationsSettingUpdated;
|
|
42627
|
-
|
|
42628
|
-
/**
|
|
42629
|
-
* Encodes the specified UserWindDownNotificationsSettingUpdated message. Does not implicitly {@link UserWindDownNotificationsSettingUpdated.verify|verify} messages.
|
|
42630
|
-
* @param message UserWindDownNotificationsSettingUpdated message or plain object to encode
|
|
42631
|
-
* @param [writer] Writer to encode to
|
|
42632
|
-
* @returns Writer
|
|
42633
|
-
*/
|
|
42634
|
-
public static encode(message: IUserWindDownNotificationsSettingUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42635
|
-
|
|
42636
|
-
/**
|
|
42637
|
-
* Encodes the specified UserWindDownNotificationsSettingUpdated message, length delimited. Does not implicitly {@link UserWindDownNotificationsSettingUpdated.verify|verify} messages.
|
|
42638
|
-
* @param message UserWindDownNotificationsSettingUpdated message or plain object to encode
|
|
42639
|
-
* @param [writer] Writer to encode to
|
|
42640
|
-
* @returns Writer
|
|
42641
|
-
*/
|
|
42642
|
-
public static encodeDelimited(message: IUserWindDownNotificationsSettingUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42643
|
-
|
|
42644
|
-
/**
|
|
42645
|
-
* Decodes a UserWindDownNotificationsSettingUpdated message from the specified reader or buffer.
|
|
42646
|
-
* @param reader Reader or buffer to decode from
|
|
42647
|
-
* @param [length] Message length if known beforehand
|
|
42648
|
-
* @returns UserWindDownNotificationsSettingUpdated
|
|
42649
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42650
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42651
|
-
*/
|
|
42652
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserWindDownNotificationsSettingUpdated;
|
|
42653
|
-
|
|
42654
|
-
/**
|
|
42655
|
-
* Decodes a UserWindDownNotificationsSettingUpdated message from the specified reader or buffer, length delimited.
|
|
42656
|
-
* @param reader Reader or buffer to decode from
|
|
42657
|
-
* @returns UserWindDownNotificationsSettingUpdated
|
|
42658
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42659
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42660
|
-
*/
|
|
42661
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserWindDownNotificationsSettingUpdated;
|
|
42662
|
-
|
|
42663
|
-
/**
|
|
42664
|
-
* Verifies a UserWindDownNotificationsSettingUpdated message.
|
|
42665
|
-
* @param message Plain object to verify
|
|
42666
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
42667
|
-
*/
|
|
42668
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
42669
|
-
|
|
42670
|
-
/**
|
|
42671
|
-
* Creates a UserWindDownNotificationsSettingUpdated message from a plain object. Also converts values to their respective internal types.
|
|
42672
|
-
* @param object Plain object
|
|
42673
|
-
* @returns UserWindDownNotificationsSettingUpdated
|
|
42674
|
-
*/
|
|
42675
|
-
public static fromObject(object: { [k: string]: any }): UserWindDownNotificationsSettingUpdated;
|
|
42676
|
-
|
|
42677
|
-
/**
|
|
42678
|
-
* Creates a plain object from a UserWindDownNotificationsSettingUpdated message. Also converts values to other types if specified.
|
|
42679
|
-
* @param message UserWindDownNotificationsSettingUpdated
|
|
42680
|
-
* @param [options] Conversion options
|
|
42681
|
-
* @returns Plain object
|
|
42682
|
-
*/
|
|
42683
|
-
public static toObject(message: UserWindDownNotificationsSettingUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
42684
|
-
|
|
42685
|
-
/**
|
|
42686
|
-
* Converts this UserWindDownNotificationsSettingUpdated to JSON.
|
|
42687
|
-
* @returns JSON object
|
|
42688
|
-
*/
|
|
42689
|
-
public toJSON(): { [k: string]: any };
|
|
42690
|
-
}
|
|
42691
|
-
|
|
42692
42506
|
/** Properties of a VirginPulseAccountLinked. */
|
|
42693
42507
|
export interface IVirginPulseAccountLinked {
|
|
42694
42508
|
|
package/lib/index.js
CHANGED
|
@@ -119197,6 +119197,7 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119197
119197
|
* @property {boolean|null} [isEnabled] UserReminderSettingUpdated isEnabled
|
|
119198
119198
|
* @property {boolean|null} [migratedToServer] UserReminderSettingUpdated migratedToServer
|
|
119199
119199
|
* @property {number|Long|null} [timestamp] UserReminderSettingUpdated timestamp
|
|
119200
|
+
* @property {string|null} [reminderType] UserReminderSettingUpdated reminderType
|
|
119200
119201
|
*/
|
|
119201
119202
|
|
|
119202
119203
|
/**
|
|
@@ -119262,6 +119263,14 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119262
119263
|
*/
|
|
119263
119264
|
UserReminderSettingUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
119264
119265
|
|
|
119266
|
+
/**
|
|
119267
|
+
* UserReminderSettingUpdated reminderType.
|
|
119268
|
+
* @member {string} reminderType
|
|
119269
|
+
* @memberof UserReminderSettingUpdated
|
|
119270
|
+
* @instance
|
|
119271
|
+
*/
|
|
119272
|
+
UserReminderSettingUpdated.prototype.reminderType = "";
|
|
119273
|
+
|
|
119265
119274
|
/**
|
|
119266
119275
|
* Creates a new UserReminderSettingUpdated instance using the specified properties.
|
|
119267
119276
|
* @function create
|
|
@@ -119298,6 +119307,8 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119298
119307
|
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.migratedToServer);
|
|
119299
119308
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
119300
119309
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.timestamp);
|
|
119310
|
+
if (message.reminderType != null && message.hasOwnProperty("reminderType"))
|
|
119311
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.reminderType);
|
|
119301
119312
|
return writer;
|
|
119302
119313
|
};
|
|
119303
119314
|
|
|
@@ -119350,6 +119361,9 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119350
119361
|
case 6:
|
|
119351
119362
|
message.timestamp = reader.uint64();
|
|
119352
119363
|
break;
|
|
119364
|
+
case 7:
|
|
119365
|
+
message.reminderType = reader.string();
|
|
119366
|
+
break;
|
|
119353
119367
|
default:
|
|
119354
119368
|
reader.skipType(tag & 7);
|
|
119355
119369
|
break;
|
|
@@ -119403,6 +119417,9 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119403
119417
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
119404
119418
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
119405
119419
|
return "timestamp: integer|Long expected";
|
|
119420
|
+
if (message.reminderType != null && message.hasOwnProperty("reminderType"))
|
|
119421
|
+
if (!$util.isString(message.reminderType))
|
|
119422
|
+
return "reminderType: string expected";
|
|
119406
119423
|
return null;
|
|
119407
119424
|
};
|
|
119408
119425
|
|
|
@@ -119437,6 +119454,8 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119437
119454
|
message.timestamp = object.timestamp;
|
|
119438
119455
|
else if (typeof object.timestamp === "object")
|
|
119439
119456
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
119457
|
+
if (object.reminderType != null)
|
|
119458
|
+
message.reminderType = String(object.reminderType);
|
|
119440
119459
|
return message;
|
|
119441
119460
|
};
|
|
119442
119461
|
|
|
@@ -119464,6 +119483,7 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119464
119483
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
119465
119484
|
} else
|
|
119466
119485
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
119486
|
+
object.reminderType = "";
|
|
119467
119487
|
}
|
|
119468
119488
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
119469
119489
|
object.userId = message.userId;
|
|
@@ -119480,6 +119500,8 @@ $root.UserReminderSettingUpdated = (function() {
|
|
|
119480
119500
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
119481
119501
|
else
|
|
119482
119502
|
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;
|
|
119503
|
+
if (message.reminderType != null && message.hasOwnProperty("reminderType"))
|
|
119504
|
+
object.reminderType = message.reminderType;
|
|
119483
119505
|
return object;
|
|
119484
119506
|
};
|
|
119485
119507
|
|
|
@@ -119939,426 +119961,6 @@ $root.UserConsentUpdated = (function() {
|
|
|
119939
119961
|
return UserConsentUpdated;
|
|
119940
119962
|
})();
|
|
119941
119963
|
|
|
119942
|
-
$root.UserBedtimeNotificationsSettingUpdated = (function() {
|
|
119943
|
-
|
|
119944
|
-
/**
|
|
119945
|
-
* Properties of a UserBedtimeNotificationsSettingUpdated.
|
|
119946
|
-
* @exports IUserBedtimeNotificationsSettingUpdated
|
|
119947
|
-
* @interface IUserBedtimeNotificationsSettingUpdated
|
|
119948
|
-
* @property {string|null} [userId] UserBedtimeNotificationsSettingUpdated userId
|
|
119949
|
-
* @property {boolean|null} [isEnabled] UserBedtimeNotificationsSettingUpdated isEnabled
|
|
119950
|
-
*/
|
|
119951
|
-
|
|
119952
|
-
/**
|
|
119953
|
-
* Constructs a new UserBedtimeNotificationsSettingUpdated.
|
|
119954
|
-
* @exports UserBedtimeNotificationsSettingUpdated
|
|
119955
|
-
* @classdesc Represents a UserBedtimeNotificationsSettingUpdated.
|
|
119956
|
-
* @implements IUserBedtimeNotificationsSettingUpdated
|
|
119957
|
-
* @constructor
|
|
119958
|
-
* @param {IUserBedtimeNotificationsSettingUpdated=} [properties] Properties to set
|
|
119959
|
-
*/
|
|
119960
|
-
function UserBedtimeNotificationsSettingUpdated(properties) {
|
|
119961
|
-
if (properties)
|
|
119962
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
119963
|
-
if (properties[keys[i]] != null)
|
|
119964
|
-
this[keys[i]] = properties[keys[i]];
|
|
119965
|
-
}
|
|
119966
|
-
|
|
119967
|
-
/**
|
|
119968
|
-
* UserBedtimeNotificationsSettingUpdated userId.
|
|
119969
|
-
* @member {string} userId
|
|
119970
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
119971
|
-
* @instance
|
|
119972
|
-
*/
|
|
119973
|
-
UserBedtimeNotificationsSettingUpdated.prototype.userId = "";
|
|
119974
|
-
|
|
119975
|
-
/**
|
|
119976
|
-
* UserBedtimeNotificationsSettingUpdated isEnabled.
|
|
119977
|
-
* @member {boolean} isEnabled
|
|
119978
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
119979
|
-
* @instance
|
|
119980
|
-
*/
|
|
119981
|
-
UserBedtimeNotificationsSettingUpdated.prototype.isEnabled = false;
|
|
119982
|
-
|
|
119983
|
-
/**
|
|
119984
|
-
* Creates a new UserBedtimeNotificationsSettingUpdated instance using the specified properties.
|
|
119985
|
-
* @function create
|
|
119986
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
119987
|
-
* @static
|
|
119988
|
-
* @param {IUserBedtimeNotificationsSettingUpdated=} [properties] Properties to set
|
|
119989
|
-
* @returns {UserBedtimeNotificationsSettingUpdated} UserBedtimeNotificationsSettingUpdated instance
|
|
119990
|
-
*/
|
|
119991
|
-
UserBedtimeNotificationsSettingUpdated.create = function create(properties) {
|
|
119992
|
-
return new UserBedtimeNotificationsSettingUpdated(properties);
|
|
119993
|
-
};
|
|
119994
|
-
|
|
119995
|
-
/**
|
|
119996
|
-
* Encodes the specified UserBedtimeNotificationsSettingUpdated message. Does not implicitly {@link UserBedtimeNotificationsSettingUpdated.verify|verify} messages.
|
|
119997
|
-
* @function encode
|
|
119998
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
119999
|
-
* @static
|
|
120000
|
-
* @param {IUserBedtimeNotificationsSettingUpdated} message UserBedtimeNotificationsSettingUpdated message or plain object to encode
|
|
120001
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
120002
|
-
* @returns {$protobuf.Writer} Writer
|
|
120003
|
-
*/
|
|
120004
|
-
UserBedtimeNotificationsSettingUpdated.encode = function encode(message, writer) {
|
|
120005
|
-
if (!writer)
|
|
120006
|
-
writer = $Writer.create();
|
|
120007
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
120008
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
120009
|
-
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
120010
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isEnabled);
|
|
120011
|
-
return writer;
|
|
120012
|
-
};
|
|
120013
|
-
|
|
120014
|
-
/**
|
|
120015
|
-
* Encodes the specified UserBedtimeNotificationsSettingUpdated message, length delimited. Does not implicitly {@link UserBedtimeNotificationsSettingUpdated.verify|verify} messages.
|
|
120016
|
-
* @function encodeDelimited
|
|
120017
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
120018
|
-
* @static
|
|
120019
|
-
* @param {IUserBedtimeNotificationsSettingUpdated} message UserBedtimeNotificationsSettingUpdated message or plain object to encode
|
|
120020
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
120021
|
-
* @returns {$protobuf.Writer} Writer
|
|
120022
|
-
*/
|
|
120023
|
-
UserBedtimeNotificationsSettingUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
120024
|
-
return this.encode(message, writer).ldelim();
|
|
120025
|
-
};
|
|
120026
|
-
|
|
120027
|
-
/**
|
|
120028
|
-
* Decodes a UserBedtimeNotificationsSettingUpdated message from the specified reader or buffer.
|
|
120029
|
-
* @function decode
|
|
120030
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
120031
|
-
* @static
|
|
120032
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
120033
|
-
* @param {number} [length] Message length if known beforehand
|
|
120034
|
-
* @returns {UserBedtimeNotificationsSettingUpdated} UserBedtimeNotificationsSettingUpdated
|
|
120035
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
120036
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
120037
|
-
*/
|
|
120038
|
-
UserBedtimeNotificationsSettingUpdated.decode = function decode(reader, length) {
|
|
120039
|
-
if (!(reader instanceof $Reader))
|
|
120040
|
-
reader = $Reader.create(reader);
|
|
120041
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserBedtimeNotificationsSettingUpdated();
|
|
120042
|
-
while (reader.pos < end) {
|
|
120043
|
-
var tag = reader.uint32();
|
|
120044
|
-
switch (tag >>> 3) {
|
|
120045
|
-
case 1:
|
|
120046
|
-
message.userId = reader.string();
|
|
120047
|
-
break;
|
|
120048
|
-
case 2:
|
|
120049
|
-
message.isEnabled = reader.bool();
|
|
120050
|
-
break;
|
|
120051
|
-
default:
|
|
120052
|
-
reader.skipType(tag & 7);
|
|
120053
|
-
break;
|
|
120054
|
-
}
|
|
120055
|
-
}
|
|
120056
|
-
return message;
|
|
120057
|
-
};
|
|
120058
|
-
|
|
120059
|
-
/**
|
|
120060
|
-
* Decodes a UserBedtimeNotificationsSettingUpdated message from the specified reader or buffer, length delimited.
|
|
120061
|
-
* @function decodeDelimited
|
|
120062
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
120063
|
-
* @static
|
|
120064
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
120065
|
-
* @returns {UserBedtimeNotificationsSettingUpdated} UserBedtimeNotificationsSettingUpdated
|
|
120066
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
120067
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
120068
|
-
*/
|
|
120069
|
-
UserBedtimeNotificationsSettingUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
120070
|
-
if (!(reader instanceof $Reader))
|
|
120071
|
-
reader = new $Reader(reader);
|
|
120072
|
-
return this.decode(reader, reader.uint32());
|
|
120073
|
-
};
|
|
120074
|
-
|
|
120075
|
-
/**
|
|
120076
|
-
* Verifies a UserBedtimeNotificationsSettingUpdated message.
|
|
120077
|
-
* @function verify
|
|
120078
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
120079
|
-
* @static
|
|
120080
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
120081
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
120082
|
-
*/
|
|
120083
|
-
UserBedtimeNotificationsSettingUpdated.verify = function verify(message) {
|
|
120084
|
-
if (typeof message !== "object" || message === null)
|
|
120085
|
-
return "object expected";
|
|
120086
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
120087
|
-
if (!$util.isString(message.userId))
|
|
120088
|
-
return "userId: string expected";
|
|
120089
|
-
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
120090
|
-
if (typeof message.isEnabled !== "boolean")
|
|
120091
|
-
return "isEnabled: boolean expected";
|
|
120092
|
-
return null;
|
|
120093
|
-
};
|
|
120094
|
-
|
|
120095
|
-
/**
|
|
120096
|
-
* Creates a UserBedtimeNotificationsSettingUpdated message from a plain object. Also converts values to their respective internal types.
|
|
120097
|
-
* @function fromObject
|
|
120098
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
120099
|
-
* @static
|
|
120100
|
-
* @param {Object.<string,*>} object Plain object
|
|
120101
|
-
* @returns {UserBedtimeNotificationsSettingUpdated} UserBedtimeNotificationsSettingUpdated
|
|
120102
|
-
*/
|
|
120103
|
-
UserBedtimeNotificationsSettingUpdated.fromObject = function fromObject(object) {
|
|
120104
|
-
if (object instanceof $root.UserBedtimeNotificationsSettingUpdated)
|
|
120105
|
-
return object;
|
|
120106
|
-
var message = new $root.UserBedtimeNotificationsSettingUpdated();
|
|
120107
|
-
if (object.userId != null)
|
|
120108
|
-
message.userId = String(object.userId);
|
|
120109
|
-
if (object.isEnabled != null)
|
|
120110
|
-
message.isEnabled = Boolean(object.isEnabled);
|
|
120111
|
-
return message;
|
|
120112
|
-
};
|
|
120113
|
-
|
|
120114
|
-
/**
|
|
120115
|
-
* Creates a plain object from a UserBedtimeNotificationsSettingUpdated message. Also converts values to other types if specified.
|
|
120116
|
-
* @function toObject
|
|
120117
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
120118
|
-
* @static
|
|
120119
|
-
* @param {UserBedtimeNotificationsSettingUpdated} message UserBedtimeNotificationsSettingUpdated
|
|
120120
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
120121
|
-
* @returns {Object.<string,*>} Plain object
|
|
120122
|
-
*/
|
|
120123
|
-
UserBedtimeNotificationsSettingUpdated.toObject = function toObject(message, options) {
|
|
120124
|
-
if (!options)
|
|
120125
|
-
options = {};
|
|
120126
|
-
var object = {};
|
|
120127
|
-
if (options.defaults) {
|
|
120128
|
-
object.userId = "";
|
|
120129
|
-
object.isEnabled = false;
|
|
120130
|
-
}
|
|
120131
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
120132
|
-
object.userId = message.userId;
|
|
120133
|
-
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
120134
|
-
object.isEnabled = message.isEnabled;
|
|
120135
|
-
return object;
|
|
120136
|
-
};
|
|
120137
|
-
|
|
120138
|
-
/**
|
|
120139
|
-
* Converts this UserBedtimeNotificationsSettingUpdated to JSON.
|
|
120140
|
-
* @function toJSON
|
|
120141
|
-
* @memberof UserBedtimeNotificationsSettingUpdated
|
|
120142
|
-
* @instance
|
|
120143
|
-
* @returns {Object.<string,*>} JSON object
|
|
120144
|
-
*/
|
|
120145
|
-
UserBedtimeNotificationsSettingUpdated.prototype.toJSON = function toJSON() {
|
|
120146
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
120147
|
-
};
|
|
120148
|
-
|
|
120149
|
-
return UserBedtimeNotificationsSettingUpdated;
|
|
120150
|
-
})();
|
|
120151
|
-
|
|
120152
|
-
$root.UserWindDownNotificationsSettingUpdated = (function() {
|
|
120153
|
-
|
|
120154
|
-
/**
|
|
120155
|
-
* Properties of a UserWindDownNotificationsSettingUpdated.
|
|
120156
|
-
* @exports IUserWindDownNotificationsSettingUpdated
|
|
120157
|
-
* @interface IUserWindDownNotificationsSettingUpdated
|
|
120158
|
-
* @property {string|null} [userId] UserWindDownNotificationsSettingUpdated userId
|
|
120159
|
-
* @property {boolean|null} [isEnabled] UserWindDownNotificationsSettingUpdated isEnabled
|
|
120160
|
-
*/
|
|
120161
|
-
|
|
120162
|
-
/**
|
|
120163
|
-
* Constructs a new UserWindDownNotificationsSettingUpdated.
|
|
120164
|
-
* @exports UserWindDownNotificationsSettingUpdated
|
|
120165
|
-
* @classdesc Represents a UserWindDownNotificationsSettingUpdated.
|
|
120166
|
-
* @implements IUserWindDownNotificationsSettingUpdated
|
|
120167
|
-
* @constructor
|
|
120168
|
-
* @param {IUserWindDownNotificationsSettingUpdated=} [properties] Properties to set
|
|
120169
|
-
*/
|
|
120170
|
-
function UserWindDownNotificationsSettingUpdated(properties) {
|
|
120171
|
-
if (properties)
|
|
120172
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
120173
|
-
if (properties[keys[i]] != null)
|
|
120174
|
-
this[keys[i]] = properties[keys[i]];
|
|
120175
|
-
}
|
|
120176
|
-
|
|
120177
|
-
/**
|
|
120178
|
-
* UserWindDownNotificationsSettingUpdated userId.
|
|
120179
|
-
* @member {string} userId
|
|
120180
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120181
|
-
* @instance
|
|
120182
|
-
*/
|
|
120183
|
-
UserWindDownNotificationsSettingUpdated.prototype.userId = "";
|
|
120184
|
-
|
|
120185
|
-
/**
|
|
120186
|
-
* UserWindDownNotificationsSettingUpdated isEnabled.
|
|
120187
|
-
* @member {boolean} isEnabled
|
|
120188
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120189
|
-
* @instance
|
|
120190
|
-
*/
|
|
120191
|
-
UserWindDownNotificationsSettingUpdated.prototype.isEnabled = false;
|
|
120192
|
-
|
|
120193
|
-
/**
|
|
120194
|
-
* Creates a new UserWindDownNotificationsSettingUpdated instance using the specified properties.
|
|
120195
|
-
* @function create
|
|
120196
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120197
|
-
* @static
|
|
120198
|
-
* @param {IUserWindDownNotificationsSettingUpdated=} [properties] Properties to set
|
|
120199
|
-
* @returns {UserWindDownNotificationsSettingUpdated} UserWindDownNotificationsSettingUpdated instance
|
|
120200
|
-
*/
|
|
120201
|
-
UserWindDownNotificationsSettingUpdated.create = function create(properties) {
|
|
120202
|
-
return new UserWindDownNotificationsSettingUpdated(properties);
|
|
120203
|
-
};
|
|
120204
|
-
|
|
120205
|
-
/**
|
|
120206
|
-
* Encodes the specified UserWindDownNotificationsSettingUpdated message. Does not implicitly {@link UserWindDownNotificationsSettingUpdated.verify|verify} messages.
|
|
120207
|
-
* @function encode
|
|
120208
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120209
|
-
* @static
|
|
120210
|
-
* @param {IUserWindDownNotificationsSettingUpdated} message UserWindDownNotificationsSettingUpdated message or plain object to encode
|
|
120211
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
120212
|
-
* @returns {$protobuf.Writer} Writer
|
|
120213
|
-
*/
|
|
120214
|
-
UserWindDownNotificationsSettingUpdated.encode = function encode(message, writer) {
|
|
120215
|
-
if (!writer)
|
|
120216
|
-
writer = $Writer.create();
|
|
120217
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
120218
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
120219
|
-
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
120220
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isEnabled);
|
|
120221
|
-
return writer;
|
|
120222
|
-
};
|
|
120223
|
-
|
|
120224
|
-
/**
|
|
120225
|
-
* Encodes the specified UserWindDownNotificationsSettingUpdated message, length delimited. Does not implicitly {@link UserWindDownNotificationsSettingUpdated.verify|verify} messages.
|
|
120226
|
-
* @function encodeDelimited
|
|
120227
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120228
|
-
* @static
|
|
120229
|
-
* @param {IUserWindDownNotificationsSettingUpdated} message UserWindDownNotificationsSettingUpdated message or plain object to encode
|
|
120230
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
120231
|
-
* @returns {$protobuf.Writer} Writer
|
|
120232
|
-
*/
|
|
120233
|
-
UserWindDownNotificationsSettingUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
120234
|
-
return this.encode(message, writer).ldelim();
|
|
120235
|
-
};
|
|
120236
|
-
|
|
120237
|
-
/**
|
|
120238
|
-
* Decodes a UserWindDownNotificationsSettingUpdated message from the specified reader or buffer.
|
|
120239
|
-
* @function decode
|
|
120240
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120241
|
-
* @static
|
|
120242
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
120243
|
-
* @param {number} [length] Message length if known beforehand
|
|
120244
|
-
* @returns {UserWindDownNotificationsSettingUpdated} UserWindDownNotificationsSettingUpdated
|
|
120245
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
120246
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
120247
|
-
*/
|
|
120248
|
-
UserWindDownNotificationsSettingUpdated.decode = function decode(reader, length) {
|
|
120249
|
-
if (!(reader instanceof $Reader))
|
|
120250
|
-
reader = $Reader.create(reader);
|
|
120251
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserWindDownNotificationsSettingUpdated();
|
|
120252
|
-
while (reader.pos < end) {
|
|
120253
|
-
var tag = reader.uint32();
|
|
120254
|
-
switch (tag >>> 3) {
|
|
120255
|
-
case 1:
|
|
120256
|
-
message.userId = reader.string();
|
|
120257
|
-
break;
|
|
120258
|
-
case 2:
|
|
120259
|
-
message.isEnabled = reader.bool();
|
|
120260
|
-
break;
|
|
120261
|
-
default:
|
|
120262
|
-
reader.skipType(tag & 7);
|
|
120263
|
-
break;
|
|
120264
|
-
}
|
|
120265
|
-
}
|
|
120266
|
-
return message;
|
|
120267
|
-
};
|
|
120268
|
-
|
|
120269
|
-
/**
|
|
120270
|
-
* Decodes a UserWindDownNotificationsSettingUpdated message from the specified reader or buffer, length delimited.
|
|
120271
|
-
* @function decodeDelimited
|
|
120272
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120273
|
-
* @static
|
|
120274
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
120275
|
-
* @returns {UserWindDownNotificationsSettingUpdated} UserWindDownNotificationsSettingUpdated
|
|
120276
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
120277
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
120278
|
-
*/
|
|
120279
|
-
UserWindDownNotificationsSettingUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
120280
|
-
if (!(reader instanceof $Reader))
|
|
120281
|
-
reader = new $Reader(reader);
|
|
120282
|
-
return this.decode(reader, reader.uint32());
|
|
120283
|
-
};
|
|
120284
|
-
|
|
120285
|
-
/**
|
|
120286
|
-
* Verifies a UserWindDownNotificationsSettingUpdated message.
|
|
120287
|
-
* @function verify
|
|
120288
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120289
|
-
* @static
|
|
120290
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
120291
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
120292
|
-
*/
|
|
120293
|
-
UserWindDownNotificationsSettingUpdated.verify = function verify(message) {
|
|
120294
|
-
if (typeof message !== "object" || message === null)
|
|
120295
|
-
return "object expected";
|
|
120296
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
120297
|
-
if (!$util.isString(message.userId))
|
|
120298
|
-
return "userId: string expected";
|
|
120299
|
-
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
120300
|
-
if (typeof message.isEnabled !== "boolean")
|
|
120301
|
-
return "isEnabled: boolean expected";
|
|
120302
|
-
return null;
|
|
120303
|
-
};
|
|
120304
|
-
|
|
120305
|
-
/**
|
|
120306
|
-
* Creates a UserWindDownNotificationsSettingUpdated message from a plain object. Also converts values to their respective internal types.
|
|
120307
|
-
* @function fromObject
|
|
120308
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120309
|
-
* @static
|
|
120310
|
-
* @param {Object.<string,*>} object Plain object
|
|
120311
|
-
* @returns {UserWindDownNotificationsSettingUpdated} UserWindDownNotificationsSettingUpdated
|
|
120312
|
-
*/
|
|
120313
|
-
UserWindDownNotificationsSettingUpdated.fromObject = function fromObject(object) {
|
|
120314
|
-
if (object instanceof $root.UserWindDownNotificationsSettingUpdated)
|
|
120315
|
-
return object;
|
|
120316
|
-
var message = new $root.UserWindDownNotificationsSettingUpdated();
|
|
120317
|
-
if (object.userId != null)
|
|
120318
|
-
message.userId = String(object.userId);
|
|
120319
|
-
if (object.isEnabled != null)
|
|
120320
|
-
message.isEnabled = Boolean(object.isEnabled);
|
|
120321
|
-
return message;
|
|
120322
|
-
};
|
|
120323
|
-
|
|
120324
|
-
/**
|
|
120325
|
-
* Creates a plain object from a UserWindDownNotificationsSettingUpdated message. Also converts values to other types if specified.
|
|
120326
|
-
* @function toObject
|
|
120327
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120328
|
-
* @static
|
|
120329
|
-
* @param {UserWindDownNotificationsSettingUpdated} message UserWindDownNotificationsSettingUpdated
|
|
120330
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
120331
|
-
* @returns {Object.<string,*>} Plain object
|
|
120332
|
-
*/
|
|
120333
|
-
UserWindDownNotificationsSettingUpdated.toObject = function toObject(message, options) {
|
|
120334
|
-
if (!options)
|
|
120335
|
-
options = {};
|
|
120336
|
-
var object = {};
|
|
120337
|
-
if (options.defaults) {
|
|
120338
|
-
object.userId = "";
|
|
120339
|
-
object.isEnabled = false;
|
|
120340
|
-
}
|
|
120341
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
120342
|
-
object.userId = message.userId;
|
|
120343
|
-
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
120344
|
-
object.isEnabled = message.isEnabled;
|
|
120345
|
-
return object;
|
|
120346
|
-
};
|
|
120347
|
-
|
|
120348
|
-
/**
|
|
120349
|
-
* Converts this UserWindDownNotificationsSettingUpdated to JSON.
|
|
120350
|
-
* @function toJSON
|
|
120351
|
-
* @memberof UserWindDownNotificationsSettingUpdated
|
|
120352
|
-
* @instance
|
|
120353
|
-
* @returns {Object.<string,*>} JSON object
|
|
120354
|
-
*/
|
|
120355
|
-
UserWindDownNotificationsSettingUpdated.prototype.toJSON = function toJSON() {
|
|
120356
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
120357
|
-
};
|
|
120358
|
-
|
|
120359
|
-
return UserWindDownNotificationsSettingUpdated;
|
|
120360
|
-
})();
|
|
120361
|
-
|
|
120362
119964
|
$root.VirginPulseAccountLinked = (function() {
|
|
120363
119965
|
|
|
120364
119966
|
/**
|
package/package.json
CHANGED