@headspace/protos-events 1.202.0 → 1.203.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 +16 -16
- package/lib/index.js +116 -116
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10672,11 +10672,11 @@ export interface IContentfulSleepcastCreated {
|
|
|
10672
10672
|
/** ContentfulSleepcastCreated narratorGender */
|
|
10673
10673
|
narratorGender?: ({ [k: string]: string }|null);
|
|
10674
10674
|
|
|
10675
|
-
/** ContentfulSleepcastCreated
|
|
10676
|
-
|
|
10675
|
+
/** ContentfulSleepcastCreated ambientAudioMedia */
|
|
10676
|
+
ambientAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
10677
10677
|
|
|
10678
|
-
/** ContentfulSleepcastCreated
|
|
10679
|
-
|
|
10678
|
+
/** ContentfulSleepcastCreated voiceAudioMedia */
|
|
10679
|
+
voiceAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
10680
10680
|
|
|
10681
10681
|
/** ContentfulSleepcastCreated mixedAudioMedia */
|
|
10682
10682
|
mixedAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
@@ -10730,11 +10730,11 @@ export class ContentfulSleepcastCreated implements IContentfulSleepcastCreated {
|
|
|
10730
10730
|
/** ContentfulSleepcastCreated narratorGender. */
|
|
10731
10731
|
public narratorGender: { [k: string]: string };
|
|
10732
10732
|
|
|
10733
|
-
/** ContentfulSleepcastCreated
|
|
10734
|
-
public
|
|
10733
|
+
/** ContentfulSleepcastCreated ambientAudioMedia. */
|
|
10734
|
+
public ambientAudioMedia: { [k: string]: contentful.IIdReferences };
|
|
10735
10735
|
|
|
10736
|
-
/** ContentfulSleepcastCreated
|
|
10737
|
-
public
|
|
10736
|
+
/** ContentfulSleepcastCreated voiceAudioMedia. */
|
|
10737
|
+
public voiceAudioMedia: { [k: string]: contentful.IIdReferences };
|
|
10738
10738
|
|
|
10739
10739
|
/** ContentfulSleepcastCreated mixedAudioMedia. */
|
|
10740
10740
|
public mixedAudioMedia: { [k: string]: contentful.IIdReferences };
|
|
@@ -10852,11 +10852,11 @@ export interface IContentfulSleepcastUpdated {
|
|
|
10852
10852
|
/** ContentfulSleepcastUpdated narratorGender */
|
|
10853
10853
|
narratorGender?: ({ [k: string]: string }|null);
|
|
10854
10854
|
|
|
10855
|
-
/** ContentfulSleepcastUpdated
|
|
10856
|
-
|
|
10855
|
+
/** ContentfulSleepcastUpdated ambientAudioMedia */
|
|
10856
|
+
ambientAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
10857
10857
|
|
|
10858
|
-
/** ContentfulSleepcastUpdated
|
|
10859
|
-
|
|
10858
|
+
/** ContentfulSleepcastUpdated voiceAudioMedia */
|
|
10859
|
+
voiceAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
10860
10860
|
|
|
10861
10861
|
/** ContentfulSleepcastUpdated mixedAudioMedia */
|
|
10862
10862
|
mixedAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
@@ -10910,11 +10910,11 @@ export class ContentfulSleepcastUpdated implements IContentfulSleepcastUpdated {
|
|
|
10910
10910
|
/** ContentfulSleepcastUpdated narratorGender. */
|
|
10911
10911
|
public narratorGender: { [k: string]: string };
|
|
10912
10912
|
|
|
10913
|
-
/** ContentfulSleepcastUpdated
|
|
10914
|
-
public
|
|
10913
|
+
/** ContentfulSleepcastUpdated ambientAudioMedia. */
|
|
10914
|
+
public ambientAudioMedia: { [k: string]: contentful.IIdReferences };
|
|
10915
10915
|
|
|
10916
|
-
/** ContentfulSleepcastUpdated
|
|
10917
|
-
public
|
|
10916
|
+
/** ContentfulSleepcastUpdated voiceAudioMedia. */
|
|
10917
|
+
public voiceAudioMedia: { [k: string]: contentful.IIdReferences };
|
|
10918
10918
|
|
|
10919
10919
|
/** ContentfulSleepcastUpdated mixedAudioMedia. */
|
|
10920
10920
|
public mixedAudioMedia: { [k: string]: contentful.IIdReferences };
|
package/lib/index.js
CHANGED
|
@@ -29768,8 +29768,8 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
29768
29768
|
* @property {boolean|null} [isEnabled] ContentfulSleepcastCreated isEnabled
|
|
29769
29769
|
* @property {Object.<string,number>|null} [duration] ContentfulSleepcastCreated duration
|
|
29770
29770
|
* @property {Object.<string,string>|null} [narratorGender] ContentfulSleepcastCreated narratorGender
|
|
29771
|
-
* @property {Object.<string,contentful.IIdReferences>|null} [
|
|
29772
|
-
* @property {Object.<string,contentful.IIdReferences>|null} [
|
|
29771
|
+
* @property {Object.<string,contentful.IIdReferences>|null} [ambientAudioMedia] ContentfulSleepcastCreated ambientAudioMedia
|
|
29772
|
+
* @property {Object.<string,contentful.IIdReferences>|null} [voiceAudioMedia] ContentfulSleepcastCreated voiceAudioMedia
|
|
29773
29773
|
* @property {Object.<string,contentful.IIdReferences>|null} [mixedAudioMedia] ContentfulSleepcastCreated mixedAudioMedia
|
|
29774
29774
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulSleepcastCreated accessGroup
|
|
29775
29775
|
* @property {number|Long|null} [createdAt] ContentfulSleepcastCreated createdAt
|
|
@@ -29791,8 +29791,8 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
29791
29791
|
this.playerBackgroundMedia = {};
|
|
29792
29792
|
this.duration = {};
|
|
29793
29793
|
this.narratorGender = {};
|
|
29794
|
-
this.
|
|
29795
|
-
this.
|
|
29794
|
+
this.ambientAudioMedia = {};
|
|
29795
|
+
this.voiceAudioMedia = {};
|
|
29796
29796
|
this.mixedAudioMedia = {};
|
|
29797
29797
|
this.accessGroup = [];
|
|
29798
29798
|
if (properties)
|
|
@@ -29890,20 +29890,20 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
29890
29890
|
ContentfulSleepcastCreated.prototype.narratorGender = $util.emptyObject;
|
|
29891
29891
|
|
|
29892
29892
|
/**
|
|
29893
|
-
* ContentfulSleepcastCreated
|
|
29894
|
-
* @member {Object.<string,contentful.IIdReferences>}
|
|
29893
|
+
* ContentfulSleepcastCreated ambientAudioMedia.
|
|
29894
|
+
* @member {Object.<string,contentful.IIdReferences>} ambientAudioMedia
|
|
29895
29895
|
* @memberof ContentfulSleepcastCreated
|
|
29896
29896
|
* @instance
|
|
29897
29897
|
*/
|
|
29898
|
-
ContentfulSleepcastCreated.prototype.
|
|
29898
|
+
ContentfulSleepcastCreated.prototype.ambientAudioMedia = $util.emptyObject;
|
|
29899
29899
|
|
|
29900
29900
|
/**
|
|
29901
|
-
* ContentfulSleepcastCreated
|
|
29902
|
-
* @member {Object.<string,contentful.IIdReferences>}
|
|
29901
|
+
* ContentfulSleepcastCreated voiceAudioMedia.
|
|
29902
|
+
* @member {Object.<string,contentful.IIdReferences>} voiceAudioMedia
|
|
29903
29903
|
* @memberof ContentfulSleepcastCreated
|
|
29904
29904
|
* @instance
|
|
29905
29905
|
*/
|
|
29906
|
-
ContentfulSleepcastCreated.prototype.
|
|
29906
|
+
ContentfulSleepcastCreated.prototype.voiceAudioMedia = $util.emptyObject;
|
|
29907
29907
|
|
|
29908
29908
|
/**
|
|
29909
29909
|
* ContentfulSleepcastCreated mixedAudioMedia.
|
|
@@ -29986,15 +29986,15 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
29986
29986
|
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
29987
29987
|
for (var keys = Object.keys(message.narratorGender), i = 0; i < keys.length; ++i)
|
|
29988
29988
|
writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.narratorGender[keys[i]]).ldelim();
|
|
29989
|
-
if (message.
|
|
29990
|
-
for (var keys = Object.keys(message.
|
|
29989
|
+
if (message.ambientAudioMedia != null && message.hasOwnProperty("ambientAudioMedia"))
|
|
29990
|
+
for (var keys = Object.keys(message.ambientAudioMedia), i = 0; i < keys.length; ++i) {
|
|
29991
29991
|
writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29992
|
-
$root.contentful.IdReferences.encode(message.
|
|
29992
|
+
$root.contentful.IdReferences.encode(message.ambientAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29993
29993
|
}
|
|
29994
|
-
if (message.
|
|
29995
|
-
for (var keys = Object.keys(message.
|
|
29994
|
+
if (message.voiceAudioMedia != null && message.hasOwnProperty("voiceAudioMedia"))
|
|
29995
|
+
for (var keys = Object.keys(message.voiceAudioMedia), i = 0; i < keys.length; ++i) {
|
|
29996
29996
|
writer.uint32(/* id 13, wireType 2 =*/106).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29997
|
-
$root.contentful.IdReferences.encode(message.
|
|
29997
|
+
$root.contentful.IdReferences.encode(message.voiceAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29998
29998
|
}
|
|
29999
29999
|
if (message.mixedAudioMedia != null && message.hasOwnProperty("mixedAudioMedia"))
|
|
30000
30000
|
for (var keys = Object.keys(message.mixedAudioMedia), i = 0; i < keys.length; ++i) {
|
|
@@ -30110,19 +30110,19 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30110
30110
|
break;
|
|
30111
30111
|
case 12:
|
|
30112
30112
|
reader.skip().pos++;
|
|
30113
|
-
if (message.
|
|
30114
|
-
message.
|
|
30113
|
+
if (message.ambientAudioMedia === $util.emptyObject)
|
|
30114
|
+
message.ambientAudioMedia = {};
|
|
30115
30115
|
key = reader.string();
|
|
30116
30116
|
reader.pos++;
|
|
30117
|
-
message.
|
|
30117
|
+
message.ambientAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30118
30118
|
break;
|
|
30119
30119
|
case 13:
|
|
30120
30120
|
reader.skip().pos++;
|
|
30121
|
-
if (message.
|
|
30122
|
-
message.
|
|
30121
|
+
if (message.voiceAudioMedia === $util.emptyObject)
|
|
30122
|
+
message.voiceAudioMedia = {};
|
|
30123
30123
|
key = reader.string();
|
|
30124
30124
|
reader.pos++;
|
|
30125
|
-
message.
|
|
30125
|
+
message.voiceAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30126
30126
|
break;
|
|
30127
30127
|
case 14:
|
|
30128
30128
|
reader.skip().pos++;
|
|
@@ -30249,24 +30249,24 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30249
30249
|
if (!$util.isString(message.narratorGender[key[i]]))
|
|
30250
30250
|
return "narratorGender: string{k:string} expected";
|
|
30251
30251
|
}
|
|
30252
|
-
if (message.
|
|
30253
|
-
if (!$util.isObject(message.
|
|
30254
|
-
return "
|
|
30255
|
-
var key = Object.keys(message.
|
|
30252
|
+
if (message.ambientAudioMedia != null && message.hasOwnProperty("ambientAudioMedia")) {
|
|
30253
|
+
if (!$util.isObject(message.ambientAudioMedia))
|
|
30254
|
+
return "ambientAudioMedia: object expected";
|
|
30255
|
+
var key = Object.keys(message.ambientAudioMedia);
|
|
30256
30256
|
for (var i = 0; i < key.length; ++i) {
|
|
30257
|
-
var error = $root.contentful.IdReferences.verify(message.
|
|
30257
|
+
var error = $root.contentful.IdReferences.verify(message.ambientAudioMedia[key[i]]);
|
|
30258
30258
|
if (error)
|
|
30259
|
-
return "
|
|
30259
|
+
return "ambientAudioMedia." + error;
|
|
30260
30260
|
}
|
|
30261
30261
|
}
|
|
30262
|
-
if (message.
|
|
30263
|
-
if (!$util.isObject(message.
|
|
30264
|
-
return "
|
|
30265
|
-
var key = Object.keys(message.
|
|
30262
|
+
if (message.voiceAudioMedia != null && message.hasOwnProperty("voiceAudioMedia")) {
|
|
30263
|
+
if (!$util.isObject(message.voiceAudioMedia))
|
|
30264
|
+
return "voiceAudioMedia: object expected";
|
|
30265
|
+
var key = Object.keys(message.voiceAudioMedia);
|
|
30266
30266
|
for (var i = 0; i < key.length; ++i) {
|
|
30267
|
-
var error = $root.contentful.IdReferences.verify(message.
|
|
30267
|
+
var error = $root.contentful.IdReferences.verify(message.voiceAudioMedia[key[i]]);
|
|
30268
30268
|
if (error)
|
|
30269
|
-
return "
|
|
30269
|
+
return "voiceAudioMedia." + error;
|
|
30270
30270
|
}
|
|
30271
30271
|
}
|
|
30272
30272
|
if (message.mixedAudioMedia != null && message.hasOwnProperty("mixedAudioMedia")) {
|
|
@@ -30372,24 +30372,24 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30372
30372
|
for (var keys = Object.keys(object.narratorGender), i = 0; i < keys.length; ++i)
|
|
30373
30373
|
message.narratorGender[keys[i]] = String(object.narratorGender[keys[i]]);
|
|
30374
30374
|
}
|
|
30375
|
-
if (object.
|
|
30376
|
-
if (typeof object.
|
|
30377
|
-
throw TypeError(".ContentfulSleepcastCreated.
|
|
30378
|
-
message.
|
|
30379
|
-
for (var keys = Object.keys(object.
|
|
30380
|
-
if (typeof object.
|
|
30381
|
-
throw TypeError(".ContentfulSleepcastCreated.
|
|
30382
|
-
message.
|
|
30375
|
+
if (object.ambientAudioMedia) {
|
|
30376
|
+
if (typeof object.ambientAudioMedia !== "object")
|
|
30377
|
+
throw TypeError(".ContentfulSleepcastCreated.ambientAudioMedia: object expected");
|
|
30378
|
+
message.ambientAudioMedia = {};
|
|
30379
|
+
for (var keys = Object.keys(object.ambientAudioMedia), i = 0; i < keys.length; ++i) {
|
|
30380
|
+
if (typeof object.ambientAudioMedia[keys[i]] !== "object")
|
|
30381
|
+
throw TypeError(".ContentfulSleepcastCreated.ambientAudioMedia: object expected");
|
|
30382
|
+
message.ambientAudioMedia[keys[i]] = $root.contentful.IdReferences.fromObject(object.ambientAudioMedia[keys[i]]);
|
|
30383
30383
|
}
|
|
30384
30384
|
}
|
|
30385
|
-
if (object.
|
|
30386
|
-
if (typeof object.
|
|
30387
|
-
throw TypeError(".ContentfulSleepcastCreated.
|
|
30388
|
-
message.
|
|
30389
|
-
for (var keys = Object.keys(object.
|
|
30390
|
-
if (typeof object.
|
|
30391
|
-
throw TypeError(".ContentfulSleepcastCreated.
|
|
30392
|
-
message.
|
|
30385
|
+
if (object.voiceAudioMedia) {
|
|
30386
|
+
if (typeof object.voiceAudioMedia !== "object")
|
|
30387
|
+
throw TypeError(".ContentfulSleepcastCreated.voiceAudioMedia: object expected");
|
|
30388
|
+
message.voiceAudioMedia = {};
|
|
30389
|
+
for (var keys = Object.keys(object.voiceAudioMedia), i = 0; i < keys.length; ++i) {
|
|
30390
|
+
if (typeof object.voiceAudioMedia[keys[i]] !== "object")
|
|
30391
|
+
throw TypeError(".ContentfulSleepcastCreated.voiceAudioMedia: object expected");
|
|
30392
|
+
message.voiceAudioMedia[keys[i]] = $root.contentful.IdReferences.fromObject(object.voiceAudioMedia[keys[i]]);
|
|
30393
30393
|
}
|
|
30394
30394
|
}
|
|
30395
30395
|
if (object.mixedAudioMedia) {
|
|
@@ -30447,8 +30447,8 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30447
30447
|
object.playerBackgroundMedia = {};
|
|
30448
30448
|
object.duration = {};
|
|
30449
30449
|
object.narratorGender = {};
|
|
30450
|
-
object.
|
|
30451
|
-
object.
|
|
30450
|
+
object.ambientAudioMedia = {};
|
|
30451
|
+
object.voiceAudioMedia = {};
|
|
30452
30452
|
object.mixedAudioMedia = {};
|
|
30453
30453
|
}
|
|
30454
30454
|
if (options.defaults) {
|
|
@@ -30506,15 +30506,15 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30506
30506
|
for (var j = 0; j < keys2.length; ++j)
|
|
30507
30507
|
object.narratorGender[keys2[j]] = message.narratorGender[keys2[j]];
|
|
30508
30508
|
}
|
|
30509
|
-
if (message.
|
|
30510
|
-
object.
|
|
30509
|
+
if (message.ambientAudioMedia && (keys2 = Object.keys(message.ambientAudioMedia)).length) {
|
|
30510
|
+
object.ambientAudioMedia = {};
|
|
30511
30511
|
for (var j = 0; j < keys2.length; ++j)
|
|
30512
|
-
object.
|
|
30512
|
+
object.ambientAudioMedia[keys2[j]] = $root.contentful.IdReferences.toObject(message.ambientAudioMedia[keys2[j]], options);
|
|
30513
30513
|
}
|
|
30514
|
-
if (message.
|
|
30515
|
-
object.
|
|
30514
|
+
if (message.voiceAudioMedia && (keys2 = Object.keys(message.voiceAudioMedia)).length) {
|
|
30515
|
+
object.voiceAudioMedia = {};
|
|
30516
30516
|
for (var j = 0; j < keys2.length; ++j)
|
|
30517
|
-
object.
|
|
30517
|
+
object.voiceAudioMedia[keys2[j]] = $root.contentful.IdReferences.toObject(message.voiceAudioMedia[keys2[j]], options);
|
|
30518
30518
|
}
|
|
30519
30519
|
if (message.mixedAudioMedia && (keys2 = Object.keys(message.mixedAudioMedia)).length) {
|
|
30520
30520
|
object.mixedAudioMedia = {};
|
|
@@ -30565,8 +30565,8 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30565
30565
|
* @property {boolean|null} [isEnabled] ContentfulSleepcastUpdated isEnabled
|
|
30566
30566
|
* @property {Object.<string,number>|null} [duration] ContentfulSleepcastUpdated duration
|
|
30567
30567
|
* @property {Object.<string,string>|null} [narratorGender] ContentfulSleepcastUpdated narratorGender
|
|
30568
|
-
* @property {Object.<string,contentful.IIdReferences>|null} [
|
|
30569
|
-
* @property {Object.<string,contentful.IIdReferences>|null} [
|
|
30568
|
+
* @property {Object.<string,contentful.IIdReferences>|null} [ambientAudioMedia] ContentfulSleepcastUpdated ambientAudioMedia
|
|
30569
|
+
* @property {Object.<string,contentful.IIdReferences>|null} [voiceAudioMedia] ContentfulSleepcastUpdated voiceAudioMedia
|
|
30570
30570
|
* @property {Object.<string,contentful.IIdReferences>|null} [mixedAudioMedia] ContentfulSleepcastUpdated mixedAudioMedia
|
|
30571
30571
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulSleepcastUpdated accessGroup
|
|
30572
30572
|
* @property {number|Long|null} [updatedAt] ContentfulSleepcastUpdated updatedAt
|
|
@@ -30588,8 +30588,8 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30588
30588
|
this.playerBackgroundMedia = {};
|
|
30589
30589
|
this.duration = {};
|
|
30590
30590
|
this.narratorGender = {};
|
|
30591
|
-
this.
|
|
30592
|
-
this.
|
|
30591
|
+
this.ambientAudioMedia = {};
|
|
30592
|
+
this.voiceAudioMedia = {};
|
|
30593
30593
|
this.mixedAudioMedia = {};
|
|
30594
30594
|
this.accessGroup = [];
|
|
30595
30595
|
if (properties)
|
|
@@ -30687,20 +30687,20 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30687
30687
|
ContentfulSleepcastUpdated.prototype.narratorGender = $util.emptyObject;
|
|
30688
30688
|
|
|
30689
30689
|
/**
|
|
30690
|
-
* ContentfulSleepcastUpdated
|
|
30691
|
-
* @member {Object.<string,contentful.IIdReferences>}
|
|
30690
|
+
* ContentfulSleepcastUpdated ambientAudioMedia.
|
|
30691
|
+
* @member {Object.<string,contentful.IIdReferences>} ambientAudioMedia
|
|
30692
30692
|
* @memberof ContentfulSleepcastUpdated
|
|
30693
30693
|
* @instance
|
|
30694
30694
|
*/
|
|
30695
|
-
ContentfulSleepcastUpdated.prototype.
|
|
30695
|
+
ContentfulSleepcastUpdated.prototype.ambientAudioMedia = $util.emptyObject;
|
|
30696
30696
|
|
|
30697
30697
|
/**
|
|
30698
|
-
* ContentfulSleepcastUpdated
|
|
30699
|
-
* @member {Object.<string,contentful.IIdReferences>}
|
|
30698
|
+
* ContentfulSleepcastUpdated voiceAudioMedia.
|
|
30699
|
+
* @member {Object.<string,contentful.IIdReferences>} voiceAudioMedia
|
|
30700
30700
|
* @memberof ContentfulSleepcastUpdated
|
|
30701
30701
|
* @instance
|
|
30702
30702
|
*/
|
|
30703
|
-
ContentfulSleepcastUpdated.prototype.
|
|
30703
|
+
ContentfulSleepcastUpdated.prototype.voiceAudioMedia = $util.emptyObject;
|
|
30704
30704
|
|
|
30705
30705
|
/**
|
|
30706
30706
|
* ContentfulSleepcastUpdated mixedAudioMedia.
|
|
@@ -30783,15 +30783,15 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30783
30783
|
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
30784
30784
|
for (var keys = Object.keys(message.narratorGender), i = 0; i < keys.length; ++i)
|
|
30785
30785
|
writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.narratorGender[keys[i]]).ldelim();
|
|
30786
|
-
if (message.
|
|
30787
|
-
for (var keys = Object.keys(message.
|
|
30786
|
+
if (message.ambientAudioMedia != null && message.hasOwnProperty("ambientAudioMedia"))
|
|
30787
|
+
for (var keys = Object.keys(message.ambientAudioMedia), i = 0; i < keys.length; ++i) {
|
|
30788
30788
|
writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
30789
|
-
$root.contentful.IdReferences.encode(message.
|
|
30789
|
+
$root.contentful.IdReferences.encode(message.ambientAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
30790
30790
|
}
|
|
30791
|
-
if (message.
|
|
30792
|
-
for (var keys = Object.keys(message.
|
|
30791
|
+
if (message.voiceAudioMedia != null && message.hasOwnProperty("voiceAudioMedia"))
|
|
30792
|
+
for (var keys = Object.keys(message.voiceAudioMedia), i = 0; i < keys.length; ++i) {
|
|
30793
30793
|
writer.uint32(/* id 13, wireType 2 =*/106).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
30794
|
-
$root.contentful.IdReferences.encode(message.
|
|
30794
|
+
$root.contentful.IdReferences.encode(message.voiceAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
30795
30795
|
}
|
|
30796
30796
|
if (message.mixedAudioMedia != null && message.hasOwnProperty("mixedAudioMedia"))
|
|
30797
30797
|
for (var keys = Object.keys(message.mixedAudioMedia), i = 0; i < keys.length; ++i) {
|
|
@@ -30907,19 +30907,19 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30907
30907
|
break;
|
|
30908
30908
|
case 12:
|
|
30909
30909
|
reader.skip().pos++;
|
|
30910
|
-
if (message.
|
|
30911
|
-
message.
|
|
30910
|
+
if (message.ambientAudioMedia === $util.emptyObject)
|
|
30911
|
+
message.ambientAudioMedia = {};
|
|
30912
30912
|
key = reader.string();
|
|
30913
30913
|
reader.pos++;
|
|
30914
|
-
message.
|
|
30914
|
+
message.ambientAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30915
30915
|
break;
|
|
30916
30916
|
case 13:
|
|
30917
30917
|
reader.skip().pos++;
|
|
30918
|
-
if (message.
|
|
30919
|
-
message.
|
|
30918
|
+
if (message.voiceAudioMedia === $util.emptyObject)
|
|
30919
|
+
message.voiceAudioMedia = {};
|
|
30920
30920
|
key = reader.string();
|
|
30921
30921
|
reader.pos++;
|
|
30922
|
-
message.
|
|
30922
|
+
message.voiceAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30923
30923
|
break;
|
|
30924
30924
|
case 14:
|
|
30925
30925
|
reader.skip().pos++;
|
|
@@ -31046,24 +31046,24 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
31046
31046
|
if (!$util.isString(message.narratorGender[key[i]]))
|
|
31047
31047
|
return "narratorGender: string{k:string} expected";
|
|
31048
31048
|
}
|
|
31049
|
-
if (message.
|
|
31050
|
-
if (!$util.isObject(message.
|
|
31051
|
-
return "
|
|
31052
|
-
var key = Object.keys(message.
|
|
31049
|
+
if (message.ambientAudioMedia != null && message.hasOwnProperty("ambientAudioMedia")) {
|
|
31050
|
+
if (!$util.isObject(message.ambientAudioMedia))
|
|
31051
|
+
return "ambientAudioMedia: object expected";
|
|
31052
|
+
var key = Object.keys(message.ambientAudioMedia);
|
|
31053
31053
|
for (var i = 0; i < key.length; ++i) {
|
|
31054
|
-
var error = $root.contentful.IdReferences.verify(message.
|
|
31054
|
+
var error = $root.contentful.IdReferences.verify(message.ambientAudioMedia[key[i]]);
|
|
31055
31055
|
if (error)
|
|
31056
|
-
return "
|
|
31056
|
+
return "ambientAudioMedia." + error;
|
|
31057
31057
|
}
|
|
31058
31058
|
}
|
|
31059
|
-
if (message.
|
|
31060
|
-
if (!$util.isObject(message.
|
|
31061
|
-
return "
|
|
31062
|
-
var key = Object.keys(message.
|
|
31059
|
+
if (message.voiceAudioMedia != null && message.hasOwnProperty("voiceAudioMedia")) {
|
|
31060
|
+
if (!$util.isObject(message.voiceAudioMedia))
|
|
31061
|
+
return "voiceAudioMedia: object expected";
|
|
31062
|
+
var key = Object.keys(message.voiceAudioMedia);
|
|
31063
31063
|
for (var i = 0; i < key.length; ++i) {
|
|
31064
|
-
var error = $root.contentful.IdReferences.verify(message.
|
|
31064
|
+
var error = $root.contentful.IdReferences.verify(message.voiceAudioMedia[key[i]]);
|
|
31065
31065
|
if (error)
|
|
31066
|
-
return "
|
|
31066
|
+
return "voiceAudioMedia." + error;
|
|
31067
31067
|
}
|
|
31068
31068
|
}
|
|
31069
31069
|
if (message.mixedAudioMedia != null && message.hasOwnProperty("mixedAudioMedia")) {
|
|
@@ -31169,24 +31169,24 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
31169
31169
|
for (var keys = Object.keys(object.narratorGender), i = 0; i < keys.length; ++i)
|
|
31170
31170
|
message.narratorGender[keys[i]] = String(object.narratorGender[keys[i]]);
|
|
31171
31171
|
}
|
|
31172
|
-
if (object.
|
|
31173
|
-
if (typeof object.
|
|
31174
|
-
throw TypeError(".ContentfulSleepcastUpdated.
|
|
31175
|
-
message.
|
|
31176
|
-
for (var keys = Object.keys(object.
|
|
31177
|
-
if (typeof object.
|
|
31178
|
-
throw TypeError(".ContentfulSleepcastUpdated.
|
|
31179
|
-
message.
|
|
31172
|
+
if (object.ambientAudioMedia) {
|
|
31173
|
+
if (typeof object.ambientAudioMedia !== "object")
|
|
31174
|
+
throw TypeError(".ContentfulSleepcastUpdated.ambientAudioMedia: object expected");
|
|
31175
|
+
message.ambientAudioMedia = {};
|
|
31176
|
+
for (var keys = Object.keys(object.ambientAudioMedia), i = 0; i < keys.length; ++i) {
|
|
31177
|
+
if (typeof object.ambientAudioMedia[keys[i]] !== "object")
|
|
31178
|
+
throw TypeError(".ContentfulSleepcastUpdated.ambientAudioMedia: object expected");
|
|
31179
|
+
message.ambientAudioMedia[keys[i]] = $root.contentful.IdReferences.fromObject(object.ambientAudioMedia[keys[i]]);
|
|
31180
31180
|
}
|
|
31181
31181
|
}
|
|
31182
|
-
if (object.
|
|
31183
|
-
if (typeof object.
|
|
31184
|
-
throw TypeError(".ContentfulSleepcastUpdated.
|
|
31185
|
-
message.
|
|
31186
|
-
for (var keys = Object.keys(object.
|
|
31187
|
-
if (typeof object.
|
|
31188
|
-
throw TypeError(".ContentfulSleepcastUpdated.
|
|
31189
|
-
message.
|
|
31182
|
+
if (object.voiceAudioMedia) {
|
|
31183
|
+
if (typeof object.voiceAudioMedia !== "object")
|
|
31184
|
+
throw TypeError(".ContentfulSleepcastUpdated.voiceAudioMedia: object expected");
|
|
31185
|
+
message.voiceAudioMedia = {};
|
|
31186
|
+
for (var keys = Object.keys(object.voiceAudioMedia), i = 0; i < keys.length; ++i) {
|
|
31187
|
+
if (typeof object.voiceAudioMedia[keys[i]] !== "object")
|
|
31188
|
+
throw TypeError(".ContentfulSleepcastUpdated.voiceAudioMedia: object expected");
|
|
31189
|
+
message.voiceAudioMedia[keys[i]] = $root.contentful.IdReferences.fromObject(object.voiceAudioMedia[keys[i]]);
|
|
31190
31190
|
}
|
|
31191
31191
|
}
|
|
31192
31192
|
if (object.mixedAudioMedia) {
|
|
@@ -31244,8 +31244,8 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
31244
31244
|
object.playerBackgroundMedia = {};
|
|
31245
31245
|
object.duration = {};
|
|
31246
31246
|
object.narratorGender = {};
|
|
31247
|
-
object.
|
|
31248
|
-
object.
|
|
31247
|
+
object.ambientAudioMedia = {};
|
|
31248
|
+
object.voiceAudioMedia = {};
|
|
31249
31249
|
object.mixedAudioMedia = {};
|
|
31250
31250
|
}
|
|
31251
31251
|
if (options.defaults) {
|
|
@@ -31303,15 +31303,15 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
31303
31303
|
for (var j = 0; j < keys2.length; ++j)
|
|
31304
31304
|
object.narratorGender[keys2[j]] = message.narratorGender[keys2[j]];
|
|
31305
31305
|
}
|
|
31306
|
-
if (message.
|
|
31307
|
-
object.
|
|
31306
|
+
if (message.ambientAudioMedia && (keys2 = Object.keys(message.ambientAudioMedia)).length) {
|
|
31307
|
+
object.ambientAudioMedia = {};
|
|
31308
31308
|
for (var j = 0; j < keys2.length; ++j)
|
|
31309
|
-
object.
|
|
31309
|
+
object.ambientAudioMedia[keys2[j]] = $root.contentful.IdReferences.toObject(message.ambientAudioMedia[keys2[j]], options);
|
|
31310
31310
|
}
|
|
31311
|
-
if (message.
|
|
31312
|
-
object.
|
|
31311
|
+
if (message.voiceAudioMedia && (keys2 = Object.keys(message.voiceAudioMedia)).length) {
|
|
31312
|
+
object.voiceAudioMedia = {};
|
|
31313
31313
|
for (var j = 0; j < keys2.length; ++j)
|
|
31314
|
-
object.
|
|
31314
|
+
object.voiceAudioMedia[keys2[j]] = $root.contentful.IdReferences.toObject(message.voiceAudioMedia[keys2[j]], options);
|
|
31315
31315
|
}
|
|
31316
31316
|
if (message.mixedAudioMedia && (keys2 = Object.keys(message.mixedAudioMedia)).length) {
|
|
31317
31317
|
object.mixedAudioMedia = {};
|
package/package.json
CHANGED