@headspace/protos-events 1.183.0 → 1.184.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
@@ -10621,8 +10621,8 @@ export interface IContentfulSleepcastCreated {
10621
10621
  /** ContentfulSleepcastCreated playerBackgroundMedia */
10622
10622
  playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
10623
10623
 
10624
- /** ContentfulSleepcastCreated useVariantPresents */
10625
- useVariantPresents?: (boolean|null);
10624
+ /** ContentfulSleepcastCreated useVariantPresets */
10625
+ useVariantPresets?: (boolean|null);
10626
10626
 
10627
10627
  /** ContentfulSleepcastCreated isEnabled */
10628
10628
  isEnabled?: (boolean|null);
@@ -10673,8 +10673,8 @@ export class ContentfulSleepcastCreated implements IContentfulSleepcastCreated {
10673
10673
  /** ContentfulSleepcastCreated playerBackgroundMedia. */
10674
10674
  public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
10675
10675
 
10676
- /** ContentfulSleepcastCreated useVariantPresents. */
10677
- public useVariantPresents: boolean;
10676
+ /** ContentfulSleepcastCreated useVariantPresets. */
10677
+ public useVariantPresets: boolean;
10678
10678
 
10679
10679
  /** ContentfulSleepcastCreated isEnabled. */
10680
10680
  public isEnabled: boolean;
@@ -10789,8 +10789,8 @@ export interface IContentfulSleepcastUpdated {
10789
10789
  /** ContentfulSleepcastUpdated playerBackgroundMedia */
10790
10790
  playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
10791
10791
 
10792
- /** ContentfulSleepcastUpdated useVariantPresents */
10793
- useVariantPresents?: (boolean|null);
10792
+ /** ContentfulSleepcastUpdated useVariantPresets */
10793
+ useVariantPresets?: (boolean|null);
10794
10794
 
10795
10795
  /** ContentfulSleepcastUpdated isEnabled */
10796
10796
  isEnabled?: (boolean|null);
@@ -10841,8 +10841,8 @@ export class ContentfulSleepcastUpdated implements IContentfulSleepcastUpdated {
10841
10841
  /** ContentfulSleepcastUpdated playerBackgroundMedia. */
10842
10842
  public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
10843
10843
 
10844
- /** ContentfulSleepcastUpdated useVariantPresents. */
10845
- public useVariantPresents: boolean;
10844
+ /** ContentfulSleepcastUpdated useVariantPresets. */
10845
+ public useVariantPresets: boolean;
10846
10846
 
10847
10847
  /** ContentfulSleepcastUpdated isEnabled. */
10848
10848
  public isEnabled: boolean;
package/lib/index.js CHANGED
@@ -29480,7 +29480,7 @@ $root.ContentfulSleepcastCreated = (function() {
29480
29480
  * @property {Object.<string,contentful.ISlugReference>|null} [recipe] ContentfulSleepcastCreated recipe
29481
29481
  * @property {Object.<string,contentful.IIdReference>|null} [tileBackgroundMedia] ContentfulSleepcastCreated tileBackgroundMedia
29482
29482
  * @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulSleepcastCreated playerBackgroundMedia
29483
- * @property {boolean|null} [useVariantPresents] ContentfulSleepcastCreated useVariantPresents
29483
+ * @property {boolean|null} [useVariantPresets] ContentfulSleepcastCreated useVariantPresets
29484
29484
  * @property {boolean|null} [isEnabled] ContentfulSleepcastCreated isEnabled
29485
29485
  * @property {Object.<string,contentful.IIdReferences>|null} [primaryAudioMedia] ContentfulSleepcastCreated primaryAudioMedia
29486
29486
  * @property {Object.<string,contentful.IIdReferences>|null} [secondaryAudioMedia] ContentfulSleepcastCreated secondaryAudioMedia
@@ -29571,12 +29571,12 @@ $root.ContentfulSleepcastCreated = (function() {
29571
29571
  ContentfulSleepcastCreated.prototype.playerBackgroundMedia = $util.emptyObject;
29572
29572
 
29573
29573
  /**
29574
- * ContentfulSleepcastCreated useVariantPresents.
29575
- * @member {boolean} useVariantPresents
29574
+ * ContentfulSleepcastCreated useVariantPresets.
29575
+ * @member {boolean} useVariantPresets
29576
29576
  * @memberof ContentfulSleepcastCreated
29577
29577
  * @instance
29578
29578
  */
29579
- ContentfulSleepcastCreated.prototype.useVariantPresents = false;
29579
+ ContentfulSleepcastCreated.prototype.useVariantPresets = false;
29580
29580
 
29581
29581
  /**
29582
29582
  * ContentfulSleepcastCreated isEnabled.
@@ -29676,8 +29676,8 @@ $root.ContentfulSleepcastCreated = (function() {
29676
29676
  writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
29677
29677
  $root.contentful.IdReference.encode(message.playerBackgroundMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
29678
29678
  }
29679
- if (message.useVariantPresents != null && message.hasOwnProperty("useVariantPresents"))
29680
- writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useVariantPresents);
29679
+ if (message.useVariantPresets != null && message.hasOwnProperty("useVariantPresets"))
29680
+ writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useVariantPresets);
29681
29681
  if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
29682
29682
  writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isEnabled);
29683
29683
  if (message.primaryAudioMedia != null && message.hasOwnProperty("primaryAudioMedia"))
@@ -29786,7 +29786,7 @@ $root.ContentfulSleepcastCreated = (function() {
29786
29786
  message.playerBackgroundMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
29787
29787
  break;
29788
29788
  case 8:
29789
- message.useVariantPresents = reader.bool();
29789
+ message.useVariantPresets = reader.bool();
29790
29790
  break;
29791
29791
  case 9:
29792
29792
  message.isEnabled = reader.bool();
@@ -29915,9 +29915,9 @@ $root.ContentfulSleepcastCreated = (function() {
29915
29915
  return "playerBackgroundMedia." + error;
29916
29916
  }
29917
29917
  }
29918
- if (message.useVariantPresents != null && message.hasOwnProperty("useVariantPresents"))
29919
- if (typeof message.useVariantPresents !== "boolean")
29920
- return "useVariantPresents: boolean expected";
29918
+ if (message.useVariantPresets != null && message.hasOwnProperty("useVariantPresets"))
29919
+ if (typeof message.useVariantPresets !== "boolean")
29920
+ return "useVariantPresets: boolean expected";
29921
29921
  if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
29922
29922
  if (typeof message.isEnabled !== "boolean")
29923
29923
  return "isEnabled: boolean expected";
@@ -30031,8 +30031,8 @@ $root.ContentfulSleepcastCreated = (function() {
30031
30031
  message.playerBackgroundMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.playerBackgroundMedia[keys[i]]);
30032
30032
  }
30033
30033
  }
30034
- if (object.useVariantPresents != null)
30035
- message.useVariantPresents = Boolean(object.useVariantPresents);
30034
+ if (object.useVariantPresets != null)
30035
+ message.useVariantPresets = Boolean(object.useVariantPresets);
30036
30036
  if (object.isEnabled != null)
30037
30037
  message.isEnabled = Boolean(object.isEnabled);
30038
30038
  if (object.primaryAudioMedia) {
@@ -30115,7 +30115,7 @@ $root.ContentfulSleepcastCreated = (function() {
30115
30115
  }
30116
30116
  if (options.defaults) {
30117
30117
  object.slug = "";
30118
- object.useVariantPresents = false;
30118
+ object.useVariantPresets = false;
30119
30119
  object.isEnabled = false;
30120
30120
  if ($util.Long) {
30121
30121
  var long = new $util.Long(0, 0, true);
@@ -30156,8 +30156,8 @@ $root.ContentfulSleepcastCreated = (function() {
30156
30156
  for (var j = 0; j < keys2.length; ++j)
30157
30157
  object.playerBackgroundMedia[keys2[j]] = $root.contentful.IdReference.toObject(message.playerBackgroundMedia[keys2[j]], options);
30158
30158
  }
30159
- if (message.useVariantPresents != null && message.hasOwnProperty("useVariantPresents"))
30160
- object.useVariantPresents = message.useVariantPresents;
30159
+ if (message.useVariantPresets != null && message.hasOwnProperty("useVariantPresets"))
30160
+ object.useVariantPresets = message.useVariantPresets;
30161
30161
  if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
30162
30162
  object.isEnabled = message.isEnabled;
30163
30163
  if (message.primaryAudioMedia && (keys2 = Object.keys(message.primaryAudioMedia)).length) {
@@ -30215,7 +30215,7 @@ $root.ContentfulSleepcastUpdated = (function() {
30215
30215
  * @property {Object.<string,contentful.ISlugReference>|null} [recipe] ContentfulSleepcastUpdated recipe
30216
30216
  * @property {Object.<string,contentful.IIdReference>|null} [tileBackgroundMedia] ContentfulSleepcastUpdated tileBackgroundMedia
30217
30217
  * @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulSleepcastUpdated playerBackgroundMedia
30218
- * @property {boolean|null} [useVariantPresents] ContentfulSleepcastUpdated useVariantPresents
30218
+ * @property {boolean|null} [useVariantPresets] ContentfulSleepcastUpdated useVariantPresets
30219
30219
  * @property {boolean|null} [isEnabled] ContentfulSleepcastUpdated isEnabled
30220
30220
  * @property {Object.<string,contentful.IIdReferences>|null} [primaryAudioMedia] ContentfulSleepcastUpdated primaryAudioMedia
30221
30221
  * @property {Object.<string,contentful.IIdReferences>|null} [secondaryAudioMedia] ContentfulSleepcastUpdated secondaryAudioMedia
@@ -30306,12 +30306,12 @@ $root.ContentfulSleepcastUpdated = (function() {
30306
30306
  ContentfulSleepcastUpdated.prototype.playerBackgroundMedia = $util.emptyObject;
30307
30307
 
30308
30308
  /**
30309
- * ContentfulSleepcastUpdated useVariantPresents.
30310
- * @member {boolean} useVariantPresents
30309
+ * ContentfulSleepcastUpdated useVariantPresets.
30310
+ * @member {boolean} useVariantPresets
30311
30311
  * @memberof ContentfulSleepcastUpdated
30312
30312
  * @instance
30313
30313
  */
30314
- ContentfulSleepcastUpdated.prototype.useVariantPresents = false;
30314
+ ContentfulSleepcastUpdated.prototype.useVariantPresets = false;
30315
30315
 
30316
30316
  /**
30317
30317
  * ContentfulSleepcastUpdated isEnabled.
@@ -30411,8 +30411,8 @@ $root.ContentfulSleepcastUpdated = (function() {
30411
30411
  writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
30412
30412
  $root.contentful.IdReference.encode(message.playerBackgroundMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
30413
30413
  }
30414
- if (message.useVariantPresents != null && message.hasOwnProperty("useVariantPresents"))
30415
- writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useVariantPresents);
30414
+ if (message.useVariantPresets != null && message.hasOwnProperty("useVariantPresets"))
30415
+ writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useVariantPresets);
30416
30416
  if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
30417
30417
  writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isEnabled);
30418
30418
  if (message.primaryAudioMedia != null && message.hasOwnProperty("primaryAudioMedia"))
@@ -30521,7 +30521,7 @@ $root.ContentfulSleepcastUpdated = (function() {
30521
30521
  message.playerBackgroundMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
30522
30522
  break;
30523
30523
  case 8:
30524
- message.useVariantPresents = reader.bool();
30524
+ message.useVariantPresets = reader.bool();
30525
30525
  break;
30526
30526
  case 9:
30527
30527
  message.isEnabled = reader.bool();
@@ -30650,9 +30650,9 @@ $root.ContentfulSleepcastUpdated = (function() {
30650
30650
  return "playerBackgroundMedia." + error;
30651
30651
  }
30652
30652
  }
30653
- if (message.useVariantPresents != null && message.hasOwnProperty("useVariantPresents"))
30654
- if (typeof message.useVariantPresents !== "boolean")
30655
- return "useVariantPresents: boolean expected";
30653
+ if (message.useVariantPresets != null && message.hasOwnProperty("useVariantPresets"))
30654
+ if (typeof message.useVariantPresets !== "boolean")
30655
+ return "useVariantPresets: boolean expected";
30656
30656
  if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
30657
30657
  if (typeof message.isEnabled !== "boolean")
30658
30658
  return "isEnabled: boolean expected";
@@ -30766,8 +30766,8 @@ $root.ContentfulSleepcastUpdated = (function() {
30766
30766
  message.playerBackgroundMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.playerBackgroundMedia[keys[i]]);
30767
30767
  }
30768
30768
  }
30769
- if (object.useVariantPresents != null)
30770
- message.useVariantPresents = Boolean(object.useVariantPresents);
30769
+ if (object.useVariantPresets != null)
30770
+ message.useVariantPresets = Boolean(object.useVariantPresets);
30771
30771
  if (object.isEnabled != null)
30772
30772
  message.isEnabled = Boolean(object.isEnabled);
30773
30773
  if (object.primaryAudioMedia) {
@@ -30850,7 +30850,7 @@ $root.ContentfulSleepcastUpdated = (function() {
30850
30850
  }
30851
30851
  if (options.defaults) {
30852
30852
  object.slug = "";
30853
- object.useVariantPresents = false;
30853
+ object.useVariantPresets = false;
30854
30854
  object.isEnabled = false;
30855
30855
  if ($util.Long) {
30856
30856
  var long = new $util.Long(0, 0, true);
@@ -30891,8 +30891,8 @@ $root.ContentfulSleepcastUpdated = (function() {
30891
30891
  for (var j = 0; j < keys2.length; ++j)
30892
30892
  object.playerBackgroundMedia[keys2[j]] = $root.contentful.IdReference.toObject(message.playerBackgroundMedia[keys2[j]], options);
30893
30893
  }
30894
- if (message.useVariantPresents != null && message.hasOwnProperty("useVariantPresents"))
30895
- object.useVariantPresents = message.useVariantPresents;
30894
+ if (message.useVariantPresets != null && message.hasOwnProperty("useVariantPresets"))
30895
+ object.useVariantPresets = message.useVariantPresets;
30896
30896
  if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
30897
30897
  object.isEnabled = message.isEnabled;
30898
30898
  if (message.primaryAudioMedia && (keys2 = Object.keys(message.primaryAudioMedia)).length) {
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.183.0"
19
+ "version": "1.184.0"
20
20
  }