@headspace/protos-events 1.124.0 → 1.125.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 CHANGED
@@ -8961,7 +8961,7 @@ export interface IWakeupPlaylistCreated {
8961
8961
  entityType?: (string|null);
8962
8962
 
8963
8963
  /** WakeupPlaylistCreated schedule */
8964
- schedule?: (number|Long|null);
8964
+ schedule?: (string|null);
8965
8965
 
8966
8966
  /** WakeupPlaylistCreated previewMediaId */
8967
8967
  previewMediaId?: (number|null);
@@ -8995,7 +8995,7 @@ export class WakeupPlaylistCreated implements IWakeupPlaylistCreated {
8995
8995
  public entityType: string;
8996
8996
 
8997
8997
  /** WakeupPlaylistCreated schedule. */
8998
- public schedule: (number|Long);
8998
+ public schedule: string;
8999
8999
 
9000
9000
  /** WakeupPlaylistCreated previewMediaId. */
9001
9001
  public previewMediaId: number;
@@ -9093,7 +9093,7 @@ export interface IWakeupPlaylistUpdated {
9093
9093
  entityType?: (string|null);
9094
9094
 
9095
9095
  /** WakeupPlaylistUpdated schedule */
9096
- schedule?: (number|Long|null);
9096
+ schedule?: (string|null);
9097
9097
 
9098
9098
  /** WakeupPlaylistUpdated previewMediaId */
9099
9099
  previewMediaId?: (number|null);
@@ -9127,7 +9127,7 @@ export class WakeupPlaylistUpdated implements IWakeupPlaylistUpdated {
9127
9127
  public entityType: string;
9128
9128
 
9129
9129
  /** WakeupPlaylistUpdated schedule. */
9130
- public schedule: (number|Long);
9130
+ public schedule: string;
9131
9131
 
9132
9132
  /** WakeupPlaylistUpdated previewMediaId. */
9133
9133
  public previewMediaId: number;
package/lib/index.js CHANGED
@@ -23183,7 +23183,7 @@ $root.WakeupPlaylistCreated = (function() {
23183
23183
  * @property {string|null} [slug] WakeupPlaylistCreated slug
23184
23184
  * @property {number|null} [entityId] WakeupPlaylistCreated entityId
23185
23185
  * @property {string|null} [entityType] WakeupPlaylistCreated entityType
23186
- * @property {number|Long|null} [schedule] WakeupPlaylistCreated schedule
23186
+ * @property {string|null} [schedule] WakeupPlaylistCreated schedule
23187
23187
  * @property {number|null} [previewMediaId] WakeupPlaylistCreated previewMediaId
23188
23188
  * @property {string|null} [previewMediaType] WakeupPlaylistCreated previewMediaType
23189
23189
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistCreated accessGroups
@@ -23232,11 +23232,11 @@ $root.WakeupPlaylistCreated = (function() {
23232
23232
 
23233
23233
  /**
23234
23234
  * WakeupPlaylistCreated schedule.
23235
- * @member {number|Long} schedule
23235
+ * @member {string} schedule
23236
23236
  * @memberof WakeupPlaylistCreated
23237
23237
  * @instance
23238
23238
  */
23239
- WakeupPlaylistCreated.prototype.schedule = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
23239
+ WakeupPlaylistCreated.prototype.schedule = "";
23240
23240
 
23241
23241
  /**
23242
23242
  * WakeupPlaylistCreated previewMediaId.
@@ -23301,7 +23301,7 @@ $root.WakeupPlaylistCreated = (function() {
23301
23301
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23302
23302
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.entityType);
23303
23303
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23304
- writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.schedule);
23304
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.schedule);
23305
23305
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23306
23306
  writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.previewMediaId);
23307
23307
  if (message.previewMediaType != null && message.hasOwnProperty("previewMediaType"))
@@ -23355,7 +23355,7 @@ $root.WakeupPlaylistCreated = (function() {
23355
23355
  message.entityType = reader.string();
23356
23356
  break;
23357
23357
  case 4:
23358
- message.schedule = reader.uint64();
23358
+ message.schedule = reader.string();
23359
23359
  break;
23360
23360
  case 5:
23361
23361
  message.previewMediaId = reader.uint32();
@@ -23416,8 +23416,8 @@ $root.WakeupPlaylistCreated = (function() {
23416
23416
  if (!$util.isString(message.entityType))
23417
23417
  return "entityType: string expected";
23418
23418
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23419
- if (!$util.isInteger(message.schedule) && !(message.schedule && $util.isInteger(message.schedule.low) && $util.isInteger(message.schedule.high)))
23420
- return "schedule: integer|Long expected";
23419
+ if (!$util.isString(message.schedule))
23420
+ return "schedule: string expected";
23421
23421
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23422
23422
  if (!$util.isInteger(message.previewMediaId))
23423
23423
  return "previewMediaId: integer expected";
@@ -23458,14 +23458,7 @@ $root.WakeupPlaylistCreated = (function() {
23458
23458
  if (object.entityType != null)
23459
23459
  message.entityType = String(object.entityType);
23460
23460
  if (object.schedule != null)
23461
- if ($util.Long)
23462
- (message.schedule = $util.Long.fromValue(object.schedule)).unsigned = true;
23463
- else if (typeof object.schedule === "string")
23464
- message.schedule = parseInt(object.schedule, 10);
23465
- else if (typeof object.schedule === "number")
23466
- message.schedule = object.schedule;
23467
- else if (typeof object.schedule === "object")
23468
- message.schedule = new $util.LongBits(object.schedule.low >>> 0, object.schedule.high >>> 0).toNumber(true);
23461
+ message.schedule = String(object.schedule);
23469
23462
  if (object.previewMediaId != null)
23470
23463
  message.previewMediaId = object.previewMediaId >>> 0;
23471
23464
  if (object.previewMediaType != null)
@@ -23511,11 +23504,7 @@ $root.WakeupPlaylistCreated = (function() {
23511
23504
  object.slug = "";
23512
23505
  object.entityId = 0;
23513
23506
  object.entityType = "";
23514
- if ($util.Long) {
23515
- var long = new $util.Long(0, 0, true);
23516
- object.schedule = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
23517
- } else
23518
- object.schedule = options.longs === String ? "0" : 0;
23507
+ object.schedule = "";
23519
23508
  object.previewMediaId = 0;
23520
23509
  object.previewMediaType = "";
23521
23510
  if ($util.Long) {
@@ -23531,10 +23520,7 @@ $root.WakeupPlaylistCreated = (function() {
23531
23520
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23532
23521
  object.entityType = message.entityType;
23533
23522
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23534
- if (typeof message.schedule === "number")
23535
- object.schedule = options.longs === String ? String(message.schedule) : message.schedule;
23536
- else
23537
- object.schedule = options.longs === String ? $util.Long.prototype.toString.call(message.schedule) : options.longs === Number ? new $util.LongBits(message.schedule.low >>> 0, message.schedule.high >>> 0).toNumber(true) : message.schedule;
23523
+ object.schedule = message.schedule;
23538
23524
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23539
23525
  object.previewMediaId = message.previewMediaId;
23540
23526
  if (message.previewMediaType != null && message.hasOwnProperty("previewMediaType"))
@@ -23575,7 +23561,7 @@ $root.WakeupPlaylistUpdated = (function() {
23575
23561
  * @property {string|null} [slug] WakeupPlaylistUpdated slug
23576
23562
  * @property {number|null} [entityId] WakeupPlaylistUpdated entityId
23577
23563
  * @property {string|null} [entityType] WakeupPlaylistUpdated entityType
23578
- * @property {number|Long|null} [schedule] WakeupPlaylistUpdated schedule
23564
+ * @property {string|null} [schedule] WakeupPlaylistUpdated schedule
23579
23565
  * @property {number|null} [previewMediaId] WakeupPlaylistUpdated previewMediaId
23580
23566
  * @property {string|null} [previewMediaType] WakeupPlaylistUpdated previewMediaType
23581
23567
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistUpdated accessGroups
@@ -23624,11 +23610,11 @@ $root.WakeupPlaylistUpdated = (function() {
23624
23610
 
23625
23611
  /**
23626
23612
  * WakeupPlaylistUpdated schedule.
23627
- * @member {number|Long} schedule
23613
+ * @member {string} schedule
23628
23614
  * @memberof WakeupPlaylistUpdated
23629
23615
  * @instance
23630
23616
  */
23631
- WakeupPlaylistUpdated.prototype.schedule = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
23617
+ WakeupPlaylistUpdated.prototype.schedule = "";
23632
23618
 
23633
23619
  /**
23634
23620
  * WakeupPlaylistUpdated previewMediaId.
@@ -23693,7 +23679,7 @@ $root.WakeupPlaylistUpdated = (function() {
23693
23679
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23694
23680
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.entityType);
23695
23681
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23696
- writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.schedule);
23682
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.schedule);
23697
23683
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23698
23684
  writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.previewMediaId);
23699
23685
  if (message.previewMediaType != null && message.hasOwnProperty("previewMediaType"))
@@ -23747,7 +23733,7 @@ $root.WakeupPlaylistUpdated = (function() {
23747
23733
  message.entityType = reader.string();
23748
23734
  break;
23749
23735
  case 4:
23750
- message.schedule = reader.uint64();
23736
+ message.schedule = reader.string();
23751
23737
  break;
23752
23738
  case 5:
23753
23739
  message.previewMediaId = reader.uint32();
@@ -23808,8 +23794,8 @@ $root.WakeupPlaylistUpdated = (function() {
23808
23794
  if (!$util.isString(message.entityType))
23809
23795
  return "entityType: string expected";
23810
23796
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23811
- if (!$util.isInteger(message.schedule) && !(message.schedule && $util.isInteger(message.schedule.low) && $util.isInteger(message.schedule.high)))
23812
- return "schedule: integer|Long expected";
23797
+ if (!$util.isString(message.schedule))
23798
+ return "schedule: string expected";
23813
23799
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23814
23800
  if (!$util.isInteger(message.previewMediaId))
23815
23801
  return "previewMediaId: integer expected";
@@ -23850,14 +23836,7 @@ $root.WakeupPlaylistUpdated = (function() {
23850
23836
  if (object.entityType != null)
23851
23837
  message.entityType = String(object.entityType);
23852
23838
  if (object.schedule != null)
23853
- if ($util.Long)
23854
- (message.schedule = $util.Long.fromValue(object.schedule)).unsigned = true;
23855
- else if (typeof object.schedule === "string")
23856
- message.schedule = parseInt(object.schedule, 10);
23857
- else if (typeof object.schedule === "number")
23858
- message.schedule = object.schedule;
23859
- else if (typeof object.schedule === "object")
23860
- message.schedule = new $util.LongBits(object.schedule.low >>> 0, object.schedule.high >>> 0).toNumber(true);
23839
+ message.schedule = String(object.schedule);
23861
23840
  if (object.previewMediaId != null)
23862
23841
  message.previewMediaId = object.previewMediaId >>> 0;
23863
23842
  if (object.previewMediaType != null)
@@ -23903,11 +23882,7 @@ $root.WakeupPlaylistUpdated = (function() {
23903
23882
  object.slug = "";
23904
23883
  object.entityId = 0;
23905
23884
  object.entityType = "";
23906
- if ($util.Long) {
23907
- var long = new $util.Long(0, 0, true);
23908
- object.schedule = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
23909
- } else
23910
- object.schedule = options.longs === String ? "0" : 0;
23885
+ object.schedule = "";
23911
23886
  object.previewMediaId = 0;
23912
23887
  object.previewMediaType = "";
23913
23888
  if ($util.Long) {
@@ -23923,10 +23898,7 @@ $root.WakeupPlaylistUpdated = (function() {
23923
23898
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23924
23899
  object.entityType = message.entityType;
23925
23900
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23926
- if (typeof message.schedule === "number")
23927
- object.schedule = options.longs === String ? String(message.schedule) : message.schedule;
23928
- else
23929
- object.schedule = options.longs === String ? $util.Long.prototype.toString.call(message.schedule) : options.longs === Number ? new $util.LongBits(message.schedule.low >>> 0, message.schedule.high >>> 0).toNumber(true) : message.schedule;
23901
+ object.schedule = message.schedule;
23930
23902
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23931
23903
  object.previewMediaId = message.previewMediaId;
23932
23904
  if (message.previewMediaType != null && message.hasOwnProperty("previewMediaType"))
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.124.0"
19
+ "version": "1.125.0"
20
20
  }