@headspace/protos-events 1.123.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
@@ -3785,7 +3785,7 @@ export interface IContentfulPlaylistCreated {
3785
3785
  videoSegments?: ({ [k: string]: contentful.IIdReferences }|null);
3786
3786
 
3787
3787
  /** ContentfulPlaylistCreated schedule */
3788
- schedule?: ({ [k: string]: (number|Long) }|null);
3788
+ schedule?: ({ [k: string]: string }|null);
3789
3789
 
3790
3790
  /** ContentfulPlaylistCreated accessGroups */
3791
3791
  accessGroups?: (contentful.ISlugReference[]|null);
@@ -3831,7 +3831,7 @@ export class ContentfulPlaylistCreated implements IContentfulPlaylistCreated {
3831
3831
  public videoSegments: { [k: string]: contentful.IIdReferences };
3832
3832
 
3833
3833
  /** ContentfulPlaylistCreated schedule. */
3834
- public schedule: { [k: string]: (number|Long) };
3834
+ public schedule: { [k: string]: string };
3835
3835
 
3836
3836
  /** ContentfulPlaylistCreated accessGroups. */
3837
3837
  public accessGroups: contentful.ISlugReference[];
@@ -3941,7 +3941,7 @@ export interface IContentfulPlaylistUpdated {
3941
3941
  videoSegments?: ({ [k: string]: contentful.IIdReferences }|null);
3942
3942
 
3943
3943
  /** ContentfulPlaylistUpdated schedule */
3944
- schedule?: ({ [k: string]: (number|Long) }|null);
3944
+ schedule?: ({ [k: string]: string }|null);
3945
3945
 
3946
3946
  /** ContentfulPlaylistUpdated accessGroups */
3947
3947
  accessGroups?: (contentful.ISlugReference[]|null);
@@ -3987,7 +3987,7 @@ export class ContentfulPlaylistUpdated implements IContentfulPlaylistUpdated {
3987
3987
  public videoSegments: { [k: string]: contentful.IIdReferences };
3988
3988
 
3989
3989
  /** ContentfulPlaylistUpdated schedule. */
3990
- public schedule: { [k: string]: (number|Long) };
3990
+ public schedule: { [k: string]: string };
3991
3991
 
3992
3992
  /** ContentfulPlaylistUpdated accessGroups. */
3993
3993
  public accessGroups: contentful.ISlugReference[];
@@ -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
@@ -9198,7 +9198,7 @@ $root.ContentfulPlaylistCreated = (function() {
9198
9198
  * @property {Object.<string,string>|null} [playerOrientation] ContentfulPlaylistCreated playerOrientation
9199
9199
  * @property {Object.<string,contentful.IIdReference>|null} [previewMedia] ContentfulPlaylistCreated previewMedia
9200
9200
  * @property {Object.<string,contentful.IIdReferences>|null} [videoSegments] ContentfulPlaylistCreated videoSegments
9201
- * @property {Object.<string,number|Long>|null} [schedule] ContentfulPlaylistCreated schedule
9201
+ * @property {Object.<string,string>|null} [schedule] ContentfulPlaylistCreated schedule
9202
9202
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistCreated accessGroups
9203
9203
  * @property {number|Long|null} [createdAt] ContentfulPlaylistCreated createdAt
9204
9204
  */
@@ -9301,7 +9301,7 @@ $root.ContentfulPlaylistCreated = (function() {
9301
9301
 
9302
9302
  /**
9303
9303
  * ContentfulPlaylistCreated schedule.
9304
- * @member {Object.<string,number|Long>} schedule
9304
+ * @member {Object.<string,string>} schedule
9305
9305
  * @memberof ContentfulPlaylistCreated
9306
9306
  * @instance
9307
9307
  */
@@ -9378,7 +9378,7 @@ $root.ContentfulPlaylistCreated = (function() {
9378
9378
  }
9379
9379
  if (message.schedule != null && message.hasOwnProperty("schedule"))
9380
9380
  for (var keys = Object.keys(message.schedule), i = 0; i < keys.length; ++i)
9381
- writer.uint32(/* id 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).uint64(message.schedule[keys[i]]).ldelim();
9381
+ writer.uint32(/* id 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.schedule[keys[i]]).ldelim();
9382
9382
  if (message.accessGroups != null && message.accessGroups.length)
9383
9383
  for (var i = 0; i < message.accessGroups.length; ++i)
9384
9384
  $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
@@ -9486,7 +9486,7 @@ $root.ContentfulPlaylistCreated = (function() {
9486
9486
  message.schedule = {};
9487
9487
  key = reader.string();
9488
9488
  reader.pos++;
9489
- message.schedule[key] = reader.uint64();
9489
+ message.schedule[key] = reader.string();
9490
9490
  break;
9491
9491
  case 11:
9492
9492
  if (!(message.accessGroups && message.accessGroups.length))
@@ -9602,8 +9602,8 @@ $root.ContentfulPlaylistCreated = (function() {
9602
9602
  return "schedule: object expected";
9603
9603
  var key = Object.keys(message.schedule);
9604
9604
  for (var i = 0; i < key.length; ++i)
9605
- if (!$util.isInteger(message.schedule[key[i]]) && !(message.schedule[key[i]] && $util.isInteger(message.schedule[key[i]].low) && $util.isInteger(message.schedule[key[i]].high)))
9606
- return "schedule: integer|Long{k:string} expected";
9605
+ if (!$util.isString(message.schedule[key[i]]))
9606
+ return "schedule: string{k:string} expected";
9607
9607
  }
9608
9608
  if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
9609
9609
  if (!Array.isArray(message.accessGroups))
@@ -9696,14 +9696,7 @@ $root.ContentfulPlaylistCreated = (function() {
9696
9696
  throw TypeError(".ContentfulPlaylistCreated.schedule: object expected");
9697
9697
  message.schedule = {};
9698
9698
  for (var keys = Object.keys(object.schedule), i = 0; i < keys.length; ++i)
9699
- if ($util.Long)
9700
- (message.schedule[keys[i]] = $util.Long.fromValue(object.schedule[keys[i]])).unsigned = true;
9701
- else if (typeof object.schedule[keys[i]] === "string")
9702
- message.schedule[keys[i]] = parseInt(object.schedule[keys[i]], 10);
9703
- else if (typeof object.schedule[keys[i]] === "number")
9704
- message.schedule[keys[i]] = object.schedule[keys[i]];
9705
- else if (typeof object.schedule[keys[i]] === "object")
9706
- message.schedule[keys[i]] = new $util.LongBits(object.schedule[keys[i]].low >>> 0, object.schedule[keys[i]].high >>> 0).toNumber(true);
9699
+ message.schedule[keys[i]] = String(object.schedule[keys[i]]);
9707
9700
  }
9708
9701
  if (object.accessGroups) {
9709
9702
  if (!Array.isArray(object.accessGroups))
@@ -9804,10 +9797,7 @@ $root.ContentfulPlaylistCreated = (function() {
9804
9797
  if (message.schedule && (keys2 = Object.keys(message.schedule)).length) {
9805
9798
  object.schedule = {};
9806
9799
  for (var j = 0; j < keys2.length; ++j)
9807
- if (typeof message.schedule[keys2[j]] === "number")
9808
- object.schedule[keys2[j]] = options.longs === String ? String(message.schedule[keys2[j]]) : message.schedule[keys2[j]];
9809
- else
9810
- object.schedule[keys2[j]] = options.longs === String ? $util.Long.prototype.toString.call(message.schedule[keys2[j]]) : options.longs === Number ? new $util.LongBits(message.schedule[keys2[j]].low >>> 0, message.schedule[keys2[j]].high >>> 0).toNumber(true) : message.schedule[keys2[j]];
9800
+ object.schedule[keys2[j]] = message.schedule[keys2[j]];
9811
9801
  }
9812
9802
  if (message.accessGroups && message.accessGroups.length) {
9813
9803
  object.accessGroups = [];
@@ -9851,7 +9841,7 @@ $root.ContentfulPlaylistUpdated = (function() {
9851
9841
  * @property {Object.<string,string>|null} [playerOrientation] ContentfulPlaylistUpdated playerOrientation
9852
9842
  * @property {Object.<string,contentful.IIdReference>|null} [previewMedia] ContentfulPlaylistUpdated previewMedia
9853
9843
  * @property {Object.<string,contentful.IIdReferences>|null} [videoSegments] ContentfulPlaylistUpdated videoSegments
9854
- * @property {Object.<string,number|Long>|null} [schedule] ContentfulPlaylistUpdated schedule
9844
+ * @property {Object.<string,string>|null} [schedule] ContentfulPlaylistUpdated schedule
9855
9845
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistUpdated accessGroups
9856
9846
  * @property {number|Long|null} [updatedAt] ContentfulPlaylistUpdated updatedAt
9857
9847
  */
@@ -9954,7 +9944,7 @@ $root.ContentfulPlaylistUpdated = (function() {
9954
9944
 
9955
9945
  /**
9956
9946
  * ContentfulPlaylistUpdated schedule.
9957
- * @member {Object.<string,number|Long>} schedule
9947
+ * @member {Object.<string,string>} schedule
9958
9948
  * @memberof ContentfulPlaylistUpdated
9959
9949
  * @instance
9960
9950
  */
@@ -10031,7 +10021,7 @@ $root.ContentfulPlaylistUpdated = (function() {
10031
10021
  }
10032
10022
  if (message.schedule != null && message.hasOwnProperty("schedule"))
10033
10023
  for (var keys = Object.keys(message.schedule), i = 0; i < keys.length; ++i)
10034
- writer.uint32(/* id 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).uint64(message.schedule[keys[i]]).ldelim();
10024
+ writer.uint32(/* id 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.schedule[keys[i]]).ldelim();
10035
10025
  if (message.accessGroups != null && message.accessGroups.length)
10036
10026
  for (var i = 0; i < message.accessGroups.length; ++i)
10037
10027
  $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
@@ -10139,7 +10129,7 @@ $root.ContentfulPlaylistUpdated = (function() {
10139
10129
  message.schedule = {};
10140
10130
  key = reader.string();
10141
10131
  reader.pos++;
10142
- message.schedule[key] = reader.uint64();
10132
+ message.schedule[key] = reader.string();
10143
10133
  break;
10144
10134
  case 11:
10145
10135
  if (!(message.accessGroups && message.accessGroups.length))
@@ -10255,8 +10245,8 @@ $root.ContentfulPlaylistUpdated = (function() {
10255
10245
  return "schedule: object expected";
10256
10246
  var key = Object.keys(message.schedule);
10257
10247
  for (var i = 0; i < key.length; ++i)
10258
- if (!$util.isInteger(message.schedule[key[i]]) && !(message.schedule[key[i]] && $util.isInteger(message.schedule[key[i]].low) && $util.isInteger(message.schedule[key[i]].high)))
10259
- return "schedule: integer|Long{k:string} expected";
10248
+ if (!$util.isString(message.schedule[key[i]]))
10249
+ return "schedule: string{k:string} expected";
10260
10250
  }
10261
10251
  if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
10262
10252
  if (!Array.isArray(message.accessGroups))
@@ -10349,14 +10339,7 @@ $root.ContentfulPlaylistUpdated = (function() {
10349
10339
  throw TypeError(".ContentfulPlaylistUpdated.schedule: object expected");
10350
10340
  message.schedule = {};
10351
10341
  for (var keys = Object.keys(object.schedule), i = 0; i < keys.length; ++i)
10352
- if ($util.Long)
10353
- (message.schedule[keys[i]] = $util.Long.fromValue(object.schedule[keys[i]])).unsigned = true;
10354
- else if (typeof object.schedule[keys[i]] === "string")
10355
- message.schedule[keys[i]] = parseInt(object.schedule[keys[i]], 10);
10356
- else if (typeof object.schedule[keys[i]] === "number")
10357
- message.schedule[keys[i]] = object.schedule[keys[i]];
10358
- else if (typeof object.schedule[keys[i]] === "object")
10359
- message.schedule[keys[i]] = new $util.LongBits(object.schedule[keys[i]].low >>> 0, object.schedule[keys[i]].high >>> 0).toNumber(true);
10342
+ message.schedule[keys[i]] = String(object.schedule[keys[i]]);
10360
10343
  }
10361
10344
  if (object.accessGroups) {
10362
10345
  if (!Array.isArray(object.accessGroups))
@@ -10457,10 +10440,7 @@ $root.ContentfulPlaylistUpdated = (function() {
10457
10440
  if (message.schedule && (keys2 = Object.keys(message.schedule)).length) {
10458
10441
  object.schedule = {};
10459
10442
  for (var j = 0; j < keys2.length; ++j)
10460
- if (typeof message.schedule[keys2[j]] === "number")
10461
- object.schedule[keys2[j]] = options.longs === String ? String(message.schedule[keys2[j]]) : message.schedule[keys2[j]];
10462
- else
10463
- object.schedule[keys2[j]] = options.longs === String ? $util.Long.prototype.toString.call(message.schedule[keys2[j]]) : options.longs === Number ? new $util.LongBits(message.schedule[keys2[j]].low >>> 0, message.schedule[keys2[j]].high >>> 0).toNumber(true) : message.schedule[keys2[j]];
10443
+ object.schedule[keys2[j]] = message.schedule[keys2[j]];
10464
10444
  }
10465
10445
  if (message.accessGroups && message.accessGroups.length) {
10466
10446
  object.accessGroups = [];
@@ -23203,7 +23183,7 @@ $root.WakeupPlaylistCreated = (function() {
23203
23183
  * @property {string|null} [slug] WakeupPlaylistCreated slug
23204
23184
  * @property {number|null} [entityId] WakeupPlaylistCreated entityId
23205
23185
  * @property {string|null} [entityType] WakeupPlaylistCreated entityType
23206
- * @property {number|Long|null} [schedule] WakeupPlaylistCreated schedule
23186
+ * @property {string|null} [schedule] WakeupPlaylistCreated schedule
23207
23187
  * @property {number|null} [previewMediaId] WakeupPlaylistCreated previewMediaId
23208
23188
  * @property {string|null} [previewMediaType] WakeupPlaylistCreated previewMediaType
23209
23189
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistCreated accessGroups
@@ -23252,11 +23232,11 @@ $root.WakeupPlaylistCreated = (function() {
23252
23232
 
23253
23233
  /**
23254
23234
  * WakeupPlaylistCreated schedule.
23255
- * @member {number|Long} schedule
23235
+ * @member {string} schedule
23256
23236
  * @memberof WakeupPlaylistCreated
23257
23237
  * @instance
23258
23238
  */
23259
- WakeupPlaylistCreated.prototype.schedule = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
23239
+ WakeupPlaylistCreated.prototype.schedule = "";
23260
23240
 
23261
23241
  /**
23262
23242
  * WakeupPlaylistCreated previewMediaId.
@@ -23321,7 +23301,7 @@ $root.WakeupPlaylistCreated = (function() {
23321
23301
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23322
23302
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.entityType);
23323
23303
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23324
- writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.schedule);
23304
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.schedule);
23325
23305
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23326
23306
  writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.previewMediaId);
23327
23307
  if (message.previewMediaType != null && message.hasOwnProperty("previewMediaType"))
@@ -23375,7 +23355,7 @@ $root.WakeupPlaylistCreated = (function() {
23375
23355
  message.entityType = reader.string();
23376
23356
  break;
23377
23357
  case 4:
23378
- message.schedule = reader.uint64();
23358
+ message.schedule = reader.string();
23379
23359
  break;
23380
23360
  case 5:
23381
23361
  message.previewMediaId = reader.uint32();
@@ -23436,8 +23416,8 @@ $root.WakeupPlaylistCreated = (function() {
23436
23416
  if (!$util.isString(message.entityType))
23437
23417
  return "entityType: string expected";
23438
23418
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23439
- if (!$util.isInteger(message.schedule) && !(message.schedule && $util.isInteger(message.schedule.low) && $util.isInteger(message.schedule.high)))
23440
- return "schedule: integer|Long expected";
23419
+ if (!$util.isString(message.schedule))
23420
+ return "schedule: string expected";
23441
23421
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23442
23422
  if (!$util.isInteger(message.previewMediaId))
23443
23423
  return "previewMediaId: integer expected";
@@ -23478,14 +23458,7 @@ $root.WakeupPlaylistCreated = (function() {
23478
23458
  if (object.entityType != null)
23479
23459
  message.entityType = String(object.entityType);
23480
23460
  if (object.schedule != null)
23481
- if ($util.Long)
23482
- (message.schedule = $util.Long.fromValue(object.schedule)).unsigned = true;
23483
- else if (typeof object.schedule === "string")
23484
- message.schedule = parseInt(object.schedule, 10);
23485
- else if (typeof object.schedule === "number")
23486
- message.schedule = object.schedule;
23487
- else if (typeof object.schedule === "object")
23488
- message.schedule = new $util.LongBits(object.schedule.low >>> 0, object.schedule.high >>> 0).toNumber(true);
23461
+ message.schedule = String(object.schedule);
23489
23462
  if (object.previewMediaId != null)
23490
23463
  message.previewMediaId = object.previewMediaId >>> 0;
23491
23464
  if (object.previewMediaType != null)
@@ -23531,11 +23504,7 @@ $root.WakeupPlaylistCreated = (function() {
23531
23504
  object.slug = "";
23532
23505
  object.entityId = 0;
23533
23506
  object.entityType = "";
23534
- if ($util.Long) {
23535
- var long = new $util.Long(0, 0, true);
23536
- object.schedule = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
23537
- } else
23538
- object.schedule = options.longs === String ? "0" : 0;
23507
+ object.schedule = "";
23539
23508
  object.previewMediaId = 0;
23540
23509
  object.previewMediaType = "";
23541
23510
  if ($util.Long) {
@@ -23551,10 +23520,7 @@ $root.WakeupPlaylistCreated = (function() {
23551
23520
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23552
23521
  object.entityType = message.entityType;
23553
23522
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23554
- if (typeof message.schedule === "number")
23555
- object.schedule = options.longs === String ? String(message.schedule) : message.schedule;
23556
- else
23557
- 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;
23558
23524
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23559
23525
  object.previewMediaId = message.previewMediaId;
23560
23526
  if (message.previewMediaType != null && message.hasOwnProperty("previewMediaType"))
@@ -23595,7 +23561,7 @@ $root.WakeupPlaylistUpdated = (function() {
23595
23561
  * @property {string|null} [slug] WakeupPlaylistUpdated slug
23596
23562
  * @property {number|null} [entityId] WakeupPlaylistUpdated entityId
23597
23563
  * @property {string|null} [entityType] WakeupPlaylistUpdated entityType
23598
- * @property {number|Long|null} [schedule] WakeupPlaylistUpdated schedule
23564
+ * @property {string|null} [schedule] WakeupPlaylistUpdated schedule
23599
23565
  * @property {number|null} [previewMediaId] WakeupPlaylistUpdated previewMediaId
23600
23566
  * @property {string|null} [previewMediaType] WakeupPlaylistUpdated previewMediaType
23601
23567
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistUpdated accessGroups
@@ -23644,11 +23610,11 @@ $root.WakeupPlaylistUpdated = (function() {
23644
23610
 
23645
23611
  /**
23646
23612
  * WakeupPlaylistUpdated schedule.
23647
- * @member {number|Long} schedule
23613
+ * @member {string} schedule
23648
23614
  * @memberof WakeupPlaylistUpdated
23649
23615
  * @instance
23650
23616
  */
23651
- WakeupPlaylistUpdated.prototype.schedule = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
23617
+ WakeupPlaylistUpdated.prototype.schedule = "";
23652
23618
 
23653
23619
  /**
23654
23620
  * WakeupPlaylistUpdated previewMediaId.
@@ -23713,7 +23679,7 @@ $root.WakeupPlaylistUpdated = (function() {
23713
23679
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23714
23680
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.entityType);
23715
23681
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23716
- writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.schedule);
23682
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.schedule);
23717
23683
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23718
23684
  writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.previewMediaId);
23719
23685
  if (message.previewMediaType != null && message.hasOwnProperty("previewMediaType"))
@@ -23767,7 +23733,7 @@ $root.WakeupPlaylistUpdated = (function() {
23767
23733
  message.entityType = reader.string();
23768
23734
  break;
23769
23735
  case 4:
23770
- message.schedule = reader.uint64();
23736
+ message.schedule = reader.string();
23771
23737
  break;
23772
23738
  case 5:
23773
23739
  message.previewMediaId = reader.uint32();
@@ -23828,8 +23794,8 @@ $root.WakeupPlaylistUpdated = (function() {
23828
23794
  if (!$util.isString(message.entityType))
23829
23795
  return "entityType: string expected";
23830
23796
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23831
- if (!$util.isInteger(message.schedule) && !(message.schedule && $util.isInteger(message.schedule.low) && $util.isInteger(message.schedule.high)))
23832
- return "schedule: integer|Long expected";
23797
+ if (!$util.isString(message.schedule))
23798
+ return "schedule: string expected";
23833
23799
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23834
23800
  if (!$util.isInteger(message.previewMediaId))
23835
23801
  return "previewMediaId: integer expected";
@@ -23870,14 +23836,7 @@ $root.WakeupPlaylistUpdated = (function() {
23870
23836
  if (object.entityType != null)
23871
23837
  message.entityType = String(object.entityType);
23872
23838
  if (object.schedule != null)
23873
- if ($util.Long)
23874
- (message.schedule = $util.Long.fromValue(object.schedule)).unsigned = true;
23875
- else if (typeof object.schedule === "string")
23876
- message.schedule = parseInt(object.schedule, 10);
23877
- else if (typeof object.schedule === "number")
23878
- message.schedule = object.schedule;
23879
- else if (typeof object.schedule === "object")
23880
- message.schedule = new $util.LongBits(object.schedule.low >>> 0, object.schedule.high >>> 0).toNumber(true);
23839
+ message.schedule = String(object.schedule);
23881
23840
  if (object.previewMediaId != null)
23882
23841
  message.previewMediaId = object.previewMediaId >>> 0;
23883
23842
  if (object.previewMediaType != null)
@@ -23923,11 +23882,7 @@ $root.WakeupPlaylistUpdated = (function() {
23923
23882
  object.slug = "";
23924
23883
  object.entityId = 0;
23925
23884
  object.entityType = "";
23926
- if ($util.Long) {
23927
- var long = new $util.Long(0, 0, true);
23928
- object.schedule = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
23929
- } else
23930
- object.schedule = options.longs === String ? "0" : 0;
23885
+ object.schedule = "";
23931
23886
  object.previewMediaId = 0;
23932
23887
  object.previewMediaType = "";
23933
23888
  if ($util.Long) {
@@ -23943,10 +23898,7 @@ $root.WakeupPlaylistUpdated = (function() {
23943
23898
  if (message.entityType != null && message.hasOwnProperty("entityType"))
23944
23899
  object.entityType = message.entityType;
23945
23900
  if (message.schedule != null && message.hasOwnProperty("schedule"))
23946
- if (typeof message.schedule === "number")
23947
- object.schedule = options.longs === String ? String(message.schedule) : message.schedule;
23948
- else
23949
- 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;
23950
23902
  if (message.previewMediaId != null && message.hasOwnProperty("previewMediaId"))
23951
23903
  object.previewMediaId = message.previewMediaId;
23952
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.123.0"
19
+ "version": "1.125.0"
20
20
  }