@headspace/protos-events 1.200.0 → 1.201.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 +28 -4
- package/lib/index.js +124 -36
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10666,6 +10666,12 @@ export interface IContentfulSleepcastCreated {
|
|
|
10666
10666
|
/** ContentfulSleepcastCreated isEnabled */
|
|
10667
10667
|
isEnabled?: (boolean|null);
|
|
10668
10668
|
|
|
10669
|
+
/** ContentfulSleepcastCreated duration */
|
|
10670
|
+
duration?: (number|null);
|
|
10671
|
+
|
|
10672
|
+
/** ContentfulSleepcastCreated narratorGender */
|
|
10673
|
+
narratorGender?: (string|null);
|
|
10674
|
+
|
|
10669
10675
|
/** ContentfulSleepcastCreated primaryAudioMedia */
|
|
10670
10676
|
primaryAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
10671
10677
|
|
|
@@ -10718,6 +10724,12 @@ export class ContentfulSleepcastCreated implements IContentfulSleepcastCreated {
|
|
|
10718
10724
|
/** ContentfulSleepcastCreated isEnabled. */
|
|
10719
10725
|
public isEnabled: boolean;
|
|
10720
10726
|
|
|
10727
|
+
/** ContentfulSleepcastCreated duration. */
|
|
10728
|
+
public duration: number;
|
|
10729
|
+
|
|
10730
|
+
/** ContentfulSleepcastCreated narratorGender. */
|
|
10731
|
+
public narratorGender: string;
|
|
10732
|
+
|
|
10721
10733
|
/** ContentfulSleepcastCreated primaryAudioMedia. */
|
|
10722
10734
|
public primaryAudioMedia: { [k: string]: contentful.IIdReferences };
|
|
10723
10735
|
|
|
@@ -10834,6 +10846,12 @@ export interface IContentfulSleepcastUpdated {
|
|
|
10834
10846
|
/** ContentfulSleepcastUpdated isEnabled */
|
|
10835
10847
|
isEnabled?: (boolean|null);
|
|
10836
10848
|
|
|
10849
|
+
/** ContentfulSleepcastUpdated duration */
|
|
10850
|
+
duration?: (number|null);
|
|
10851
|
+
|
|
10852
|
+
/** ContentfulSleepcastUpdated narratorGender */
|
|
10853
|
+
narratorGender?: (string|null);
|
|
10854
|
+
|
|
10837
10855
|
/** ContentfulSleepcastUpdated primaryAudioMedia */
|
|
10838
10856
|
primaryAudioMedia?: ({ [k: string]: contentful.IIdReferences }|null);
|
|
10839
10857
|
|
|
@@ -10886,6 +10904,12 @@ export class ContentfulSleepcastUpdated implements IContentfulSleepcastUpdated {
|
|
|
10886
10904
|
/** ContentfulSleepcastUpdated isEnabled. */
|
|
10887
10905
|
public isEnabled: boolean;
|
|
10888
10906
|
|
|
10907
|
+
/** ContentfulSleepcastUpdated duration. */
|
|
10908
|
+
public duration: number;
|
|
10909
|
+
|
|
10910
|
+
/** ContentfulSleepcastUpdated narratorGender. */
|
|
10911
|
+
public narratorGender: string;
|
|
10912
|
+
|
|
10889
10913
|
/** ContentfulSleepcastUpdated primaryAudioMedia. */
|
|
10890
10914
|
public primaryAudioMedia: { [k: string]: contentful.IIdReferences };
|
|
10891
10915
|
|
|
@@ -15087,7 +15111,7 @@ export interface ISleepcastCreated {
|
|
|
15087
15111
|
slug?: (string|null);
|
|
15088
15112
|
|
|
15089
15113
|
/** SleepcastCreated entityId */
|
|
15090
|
-
entityId?: (
|
|
15114
|
+
entityId?: (number|null);
|
|
15091
15115
|
|
|
15092
15116
|
/** SleepcastCreated tileBackgroundMediaId */
|
|
15093
15117
|
tileBackgroundMediaId?: (number|null);
|
|
@@ -15112,7 +15136,7 @@ export class SleepcastCreated implements ISleepcastCreated {
|
|
|
15112
15136
|
public slug: string;
|
|
15113
15137
|
|
|
15114
15138
|
/** SleepcastCreated entityId. */
|
|
15115
|
-
public entityId:
|
|
15139
|
+
public entityId: number;
|
|
15116
15140
|
|
|
15117
15141
|
/** SleepcastCreated tileBackgroundMediaId. */
|
|
15118
15142
|
public tileBackgroundMediaId: number;
|
|
@@ -15201,7 +15225,7 @@ export interface ISleepcastUpdated {
|
|
|
15201
15225
|
slug?: (string|null);
|
|
15202
15226
|
|
|
15203
15227
|
/** SleepcastUpdated entityId */
|
|
15204
|
-
entityId?: (
|
|
15228
|
+
entityId?: (number|null);
|
|
15205
15229
|
|
|
15206
15230
|
/** SleepcastUpdated tileBackgroundMediaId */
|
|
15207
15231
|
tileBackgroundMediaId?: (number|null);
|
|
@@ -15226,7 +15250,7 @@ export class SleepcastUpdated implements ISleepcastUpdated {
|
|
|
15226
15250
|
public slug: string;
|
|
15227
15251
|
|
|
15228
15252
|
/** SleepcastUpdated entityId. */
|
|
15229
|
-
public entityId:
|
|
15253
|
+
public entityId: number;
|
|
15230
15254
|
|
|
15231
15255
|
/** SleepcastUpdated tileBackgroundMediaId. */
|
|
15232
15256
|
public tileBackgroundMediaId: number;
|
package/lib/index.js
CHANGED
|
@@ -29766,6 +29766,8 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
29766
29766
|
* @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulSleepcastCreated playerBackgroundMedia
|
|
29767
29767
|
* @property {boolean|null} [useVariantPresets] ContentfulSleepcastCreated useVariantPresets
|
|
29768
29768
|
* @property {boolean|null} [isEnabled] ContentfulSleepcastCreated isEnabled
|
|
29769
|
+
* @property {number|null} [duration] ContentfulSleepcastCreated duration
|
|
29770
|
+
* @property {string|null} [narratorGender] ContentfulSleepcastCreated narratorGender
|
|
29769
29771
|
* @property {Object.<string,contentful.IIdReferences>|null} [primaryAudioMedia] ContentfulSleepcastCreated primaryAudioMedia
|
|
29770
29772
|
* @property {Object.<string,contentful.IIdReferences>|null} [secondaryAudioMedia] ContentfulSleepcastCreated secondaryAudioMedia
|
|
29771
29773
|
* @property {Object.<string,contentful.IIdReferences>|null} [mixedAudioMedia] ContentfulSleepcastCreated mixedAudioMedia
|
|
@@ -29869,6 +29871,22 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
29869
29871
|
*/
|
|
29870
29872
|
ContentfulSleepcastCreated.prototype.isEnabled = false;
|
|
29871
29873
|
|
|
29874
|
+
/**
|
|
29875
|
+
* ContentfulSleepcastCreated duration.
|
|
29876
|
+
* @member {number} duration
|
|
29877
|
+
* @memberof ContentfulSleepcastCreated
|
|
29878
|
+
* @instance
|
|
29879
|
+
*/
|
|
29880
|
+
ContentfulSleepcastCreated.prototype.duration = 0;
|
|
29881
|
+
|
|
29882
|
+
/**
|
|
29883
|
+
* ContentfulSleepcastCreated narratorGender.
|
|
29884
|
+
* @member {string} narratorGender
|
|
29885
|
+
* @memberof ContentfulSleepcastCreated
|
|
29886
|
+
* @instance
|
|
29887
|
+
*/
|
|
29888
|
+
ContentfulSleepcastCreated.prototype.narratorGender = "";
|
|
29889
|
+
|
|
29872
29890
|
/**
|
|
29873
29891
|
* ContentfulSleepcastCreated primaryAudioMedia.
|
|
29874
29892
|
* @member {Object.<string,contentful.IIdReferences>} primaryAudioMedia
|
|
@@ -29960,26 +29978,30 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
29960
29978
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useVariantPresets);
|
|
29961
29979
|
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
29962
29980
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isEnabled);
|
|
29981
|
+
if (message.duration != null && message.hasOwnProperty("duration"))
|
|
29982
|
+
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.duration);
|
|
29983
|
+
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
29984
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.narratorGender);
|
|
29963
29985
|
if (message.primaryAudioMedia != null && message.hasOwnProperty("primaryAudioMedia"))
|
|
29964
29986
|
for (var keys = Object.keys(message.primaryAudioMedia), i = 0; i < keys.length; ++i) {
|
|
29965
|
-
writer.uint32(/* id
|
|
29987
|
+
writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29966
29988
|
$root.contentful.IdReferences.encode(message.primaryAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29967
29989
|
}
|
|
29968
29990
|
if (message.secondaryAudioMedia != null && message.hasOwnProperty("secondaryAudioMedia"))
|
|
29969
29991
|
for (var keys = Object.keys(message.secondaryAudioMedia), i = 0; i < keys.length; ++i) {
|
|
29970
|
-
writer.uint32(/* id
|
|
29992
|
+
writer.uint32(/* id 13, wireType 2 =*/106).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29971
29993
|
$root.contentful.IdReferences.encode(message.secondaryAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29972
29994
|
}
|
|
29973
29995
|
if (message.mixedAudioMedia != null && message.hasOwnProperty("mixedAudioMedia"))
|
|
29974
29996
|
for (var keys = Object.keys(message.mixedAudioMedia), i = 0; i < keys.length; ++i) {
|
|
29975
|
-
writer.uint32(/* id
|
|
29997
|
+
writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29976
29998
|
$root.contentful.IdReferences.encode(message.mixedAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29977
29999
|
}
|
|
29978
30000
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
29979
30001
|
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
29980
|
-
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id
|
|
30002
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
29981
30003
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
29982
|
-
writer.uint32(/* id
|
|
30004
|
+
writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.createdAt);
|
|
29983
30005
|
return writer;
|
|
29984
30006
|
};
|
|
29985
30007
|
|
|
@@ -30067,6 +30089,12 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30067
30089
|
message.isEnabled = reader.bool();
|
|
30068
30090
|
break;
|
|
30069
30091
|
case 10:
|
|
30092
|
+
message.duration = reader.int32();
|
|
30093
|
+
break;
|
|
30094
|
+
case 11:
|
|
30095
|
+
message.narratorGender = reader.string();
|
|
30096
|
+
break;
|
|
30097
|
+
case 12:
|
|
30070
30098
|
reader.skip().pos++;
|
|
30071
30099
|
if (message.primaryAudioMedia === $util.emptyObject)
|
|
30072
30100
|
message.primaryAudioMedia = {};
|
|
@@ -30074,7 +30102,7 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30074
30102
|
reader.pos++;
|
|
30075
30103
|
message.primaryAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30076
30104
|
break;
|
|
30077
|
-
case
|
|
30105
|
+
case 13:
|
|
30078
30106
|
reader.skip().pos++;
|
|
30079
30107
|
if (message.secondaryAudioMedia === $util.emptyObject)
|
|
30080
30108
|
message.secondaryAudioMedia = {};
|
|
@@ -30082,7 +30110,7 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30082
30110
|
reader.pos++;
|
|
30083
30111
|
message.secondaryAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30084
30112
|
break;
|
|
30085
|
-
case
|
|
30113
|
+
case 14:
|
|
30086
30114
|
reader.skip().pos++;
|
|
30087
30115
|
if (message.mixedAudioMedia === $util.emptyObject)
|
|
30088
30116
|
message.mixedAudioMedia = {};
|
|
@@ -30090,12 +30118,12 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30090
30118
|
reader.pos++;
|
|
30091
30119
|
message.mixedAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30092
30120
|
break;
|
|
30093
|
-
case
|
|
30121
|
+
case 15:
|
|
30094
30122
|
if (!(message.accessGroup && message.accessGroup.length))
|
|
30095
30123
|
message.accessGroup = [];
|
|
30096
30124
|
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
30097
30125
|
break;
|
|
30098
|
-
case
|
|
30126
|
+
case 16:
|
|
30099
30127
|
message.createdAt = reader.uint64();
|
|
30100
30128
|
break;
|
|
30101
30129
|
default:
|
|
@@ -30191,6 +30219,12 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30191
30219
|
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
30192
30220
|
if (typeof message.isEnabled !== "boolean")
|
|
30193
30221
|
return "isEnabled: boolean expected";
|
|
30222
|
+
if (message.duration != null && message.hasOwnProperty("duration"))
|
|
30223
|
+
if (!$util.isInteger(message.duration))
|
|
30224
|
+
return "duration: integer expected";
|
|
30225
|
+
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
30226
|
+
if (!$util.isString(message.narratorGender))
|
|
30227
|
+
return "narratorGender: string expected";
|
|
30194
30228
|
if (message.primaryAudioMedia != null && message.hasOwnProperty("primaryAudioMedia")) {
|
|
30195
30229
|
if (!$util.isObject(message.primaryAudioMedia))
|
|
30196
30230
|
return "primaryAudioMedia: object expected";
|
|
@@ -30300,6 +30334,10 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30300
30334
|
message.useVariantPresets = Boolean(object.useVariantPresets);
|
|
30301
30335
|
if (object.isEnabled != null)
|
|
30302
30336
|
message.isEnabled = Boolean(object.isEnabled);
|
|
30337
|
+
if (object.duration != null)
|
|
30338
|
+
message.duration = object.duration | 0;
|
|
30339
|
+
if (object.narratorGender != null)
|
|
30340
|
+
message.narratorGender = String(object.narratorGender);
|
|
30303
30341
|
if (object.primaryAudioMedia) {
|
|
30304
30342
|
if (typeof object.primaryAudioMedia !== "object")
|
|
30305
30343
|
throw TypeError(".ContentfulSleepcastCreated.primaryAudioMedia: object expected");
|
|
@@ -30382,6 +30420,8 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30382
30420
|
object.recipe = null;
|
|
30383
30421
|
object.useVariantPresets = false;
|
|
30384
30422
|
object.isEnabled = false;
|
|
30423
|
+
object.duration = 0;
|
|
30424
|
+
object.narratorGender = "";
|
|
30385
30425
|
if ($util.Long) {
|
|
30386
30426
|
var long = new $util.Long(0, 0, true);
|
|
30387
30427
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -30422,6 +30462,10 @@ $root.ContentfulSleepcastCreated = (function() {
|
|
|
30422
30462
|
object.useVariantPresets = message.useVariantPresets;
|
|
30423
30463
|
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
30424
30464
|
object.isEnabled = message.isEnabled;
|
|
30465
|
+
if (message.duration != null && message.hasOwnProperty("duration"))
|
|
30466
|
+
object.duration = message.duration;
|
|
30467
|
+
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
30468
|
+
object.narratorGender = message.narratorGender;
|
|
30425
30469
|
if (message.primaryAudioMedia && (keys2 = Object.keys(message.primaryAudioMedia)).length) {
|
|
30426
30470
|
object.primaryAudioMedia = {};
|
|
30427
30471
|
for (var j = 0; j < keys2.length; ++j)
|
|
@@ -30479,6 +30523,8 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30479
30523
|
* @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulSleepcastUpdated playerBackgroundMedia
|
|
30480
30524
|
* @property {boolean|null} [useVariantPresets] ContentfulSleepcastUpdated useVariantPresets
|
|
30481
30525
|
* @property {boolean|null} [isEnabled] ContentfulSleepcastUpdated isEnabled
|
|
30526
|
+
* @property {number|null} [duration] ContentfulSleepcastUpdated duration
|
|
30527
|
+
* @property {string|null} [narratorGender] ContentfulSleepcastUpdated narratorGender
|
|
30482
30528
|
* @property {Object.<string,contentful.IIdReferences>|null} [primaryAudioMedia] ContentfulSleepcastUpdated primaryAudioMedia
|
|
30483
30529
|
* @property {Object.<string,contentful.IIdReferences>|null} [secondaryAudioMedia] ContentfulSleepcastUpdated secondaryAudioMedia
|
|
30484
30530
|
* @property {Object.<string,contentful.IIdReferences>|null} [mixedAudioMedia] ContentfulSleepcastUpdated mixedAudioMedia
|
|
@@ -30582,6 +30628,22 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30582
30628
|
*/
|
|
30583
30629
|
ContentfulSleepcastUpdated.prototype.isEnabled = false;
|
|
30584
30630
|
|
|
30631
|
+
/**
|
|
30632
|
+
* ContentfulSleepcastUpdated duration.
|
|
30633
|
+
* @member {number} duration
|
|
30634
|
+
* @memberof ContentfulSleepcastUpdated
|
|
30635
|
+
* @instance
|
|
30636
|
+
*/
|
|
30637
|
+
ContentfulSleepcastUpdated.prototype.duration = 0;
|
|
30638
|
+
|
|
30639
|
+
/**
|
|
30640
|
+
* ContentfulSleepcastUpdated narratorGender.
|
|
30641
|
+
* @member {string} narratorGender
|
|
30642
|
+
* @memberof ContentfulSleepcastUpdated
|
|
30643
|
+
* @instance
|
|
30644
|
+
*/
|
|
30645
|
+
ContentfulSleepcastUpdated.prototype.narratorGender = "";
|
|
30646
|
+
|
|
30585
30647
|
/**
|
|
30586
30648
|
* ContentfulSleepcastUpdated primaryAudioMedia.
|
|
30587
30649
|
* @member {Object.<string,contentful.IIdReferences>} primaryAudioMedia
|
|
@@ -30673,26 +30735,30 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30673
30735
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useVariantPresets);
|
|
30674
30736
|
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
30675
30737
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isEnabled);
|
|
30738
|
+
if (message.duration != null && message.hasOwnProperty("duration"))
|
|
30739
|
+
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.duration);
|
|
30740
|
+
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
30741
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.narratorGender);
|
|
30676
30742
|
if (message.primaryAudioMedia != null && message.hasOwnProperty("primaryAudioMedia"))
|
|
30677
30743
|
for (var keys = Object.keys(message.primaryAudioMedia), i = 0; i < keys.length; ++i) {
|
|
30678
|
-
writer.uint32(/* id
|
|
30744
|
+
writer.uint32(/* id 12, wireType 2 =*/98).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
30679
30745
|
$root.contentful.IdReferences.encode(message.primaryAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
30680
30746
|
}
|
|
30681
30747
|
if (message.secondaryAudioMedia != null && message.hasOwnProperty("secondaryAudioMedia"))
|
|
30682
30748
|
for (var keys = Object.keys(message.secondaryAudioMedia), i = 0; i < keys.length; ++i) {
|
|
30683
|
-
writer.uint32(/* id
|
|
30749
|
+
writer.uint32(/* id 13, wireType 2 =*/106).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
30684
30750
|
$root.contentful.IdReferences.encode(message.secondaryAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
30685
30751
|
}
|
|
30686
30752
|
if (message.mixedAudioMedia != null && message.hasOwnProperty("mixedAudioMedia"))
|
|
30687
30753
|
for (var keys = Object.keys(message.mixedAudioMedia), i = 0; i < keys.length; ++i) {
|
|
30688
|
-
writer.uint32(/* id
|
|
30754
|
+
writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
30689
30755
|
$root.contentful.IdReferences.encode(message.mixedAudioMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
30690
30756
|
}
|
|
30691
30757
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
30692
30758
|
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
30693
|
-
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id
|
|
30759
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
30694
30760
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
30695
|
-
writer.uint32(/* id
|
|
30761
|
+
writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.updatedAt);
|
|
30696
30762
|
return writer;
|
|
30697
30763
|
};
|
|
30698
30764
|
|
|
@@ -30780,6 +30846,12 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30780
30846
|
message.isEnabled = reader.bool();
|
|
30781
30847
|
break;
|
|
30782
30848
|
case 10:
|
|
30849
|
+
message.duration = reader.int32();
|
|
30850
|
+
break;
|
|
30851
|
+
case 11:
|
|
30852
|
+
message.narratorGender = reader.string();
|
|
30853
|
+
break;
|
|
30854
|
+
case 12:
|
|
30783
30855
|
reader.skip().pos++;
|
|
30784
30856
|
if (message.primaryAudioMedia === $util.emptyObject)
|
|
30785
30857
|
message.primaryAudioMedia = {};
|
|
@@ -30787,7 +30859,7 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30787
30859
|
reader.pos++;
|
|
30788
30860
|
message.primaryAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30789
30861
|
break;
|
|
30790
|
-
case
|
|
30862
|
+
case 13:
|
|
30791
30863
|
reader.skip().pos++;
|
|
30792
30864
|
if (message.secondaryAudioMedia === $util.emptyObject)
|
|
30793
30865
|
message.secondaryAudioMedia = {};
|
|
@@ -30795,7 +30867,7 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30795
30867
|
reader.pos++;
|
|
30796
30868
|
message.secondaryAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30797
30869
|
break;
|
|
30798
|
-
case
|
|
30870
|
+
case 14:
|
|
30799
30871
|
reader.skip().pos++;
|
|
30800
30872
|
if (message.mixedAudioMedia === $util.emptyObject)
|
|
30801
30873
|
message.mixedAudioMedia = {};
|
|
@@ -30803,12 +30875,12 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30803
30875
|
reader.pos++;
|
|
30804
30876
|
message.mixedAudioMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
30805
30877
|
break;
|
|
30806
|
-
case
|
|
30878
|
+
case 15:
|
|
30807
30879
|
if (!(message.accessGroup && message.accessGroup.length))
|
|
30808
30880
|
message.accessGroup = [];
|
|
30809
30881
|
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
30810
30882
|
break;
|
|
30811
|
-
case
|
|
30883
|
+
case 16:
|
|
30812
30884
|
message.updatedAt = reader.uint64();
|
|
30813
30885
|
break;
|
|
30814
30886
|
default:
|
|
@@ -30904,6 +30976,12 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
30904
30976
|
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
30905
30977
|
if (typeof message.isEnabled !== "boolean")
|
|
30906
30978
|
return "isEnabled: boolean expected";
|
|
30979
|
+
if (message.duration != null && message.hasOwnProperty("duration"))
|
|
30980
|
+
if (!$util.isInteger(message.duration))
|
|
30981
|
+
return "duration: integer expected";
|
|
30982
|
+
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
30983
|
+
if (!$util.isString(message.narratorGender))
|
|
30984
|
+
return "narratorGender: string expected";
|
|
30907
30985
|
if (message.primaryAudioMedia != null && message.hasOwnProperty("primaryAudioMedia")) {
|
|
30908
30986
|
if (!$util.isObject(message.primaryAudioMedia))
|
|
30909
30987
|
return "primaryAudioMedia: object expected";
|
|
@@ -31013,6 +31091,10 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
31013
31091
|
message.useVariantPresets = Boolean(object.useVariantPresets);
|
|
31014
31092
|
if (object.isEnabled != null)
|
|
31015
31093
|
message.isEnabled = Boolean(object.isEnabled);
|
|
31094
|
+
if (object.duration != null)
|
|
31095
|
+
message.duration = object.duration | 0;
|
|
31096
|
+
if (object.narratorGender != null)
|
|
31097
|
+
message.narratorGender = String(object.narratorGender);
|
|
31016
31098
|
if (object.primaryAudioMedia) {
|
|
31017
31099
|
if (typeof object.primaryAudioMedia !== "object")
|
|
31018
31100
|
throw TypeError(".ContentfulSleepcastUpdated.primaryAudioMedia: object expected");
|
|
@@ -31095,6 +31177,8 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
31095
31177
|
object.recipe = null;
|
|
31096
31178
|
object.useVariantPresets = false;
|
|
31097
31179
|
object.isEnabled = false;
|
|
31180
|
+
object.duration = 0;
|
|
31181
|
+
object.narratorGender = "";
|
|
31098
31182
|
if ($util.Long) {
|
|
31099
31183
|
var long = new $util.Long(0, 0, true);
|
|
31100
31184
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -31135,6 +31219,10 @@ $root.ContentfulSleepcastUpdated = (function() {
|
|
|
31135
31219
|
object.useVariantPresets = message.useVariantPresets;
|
|
31136
31220
|
if (message.isEnabled != null && message.hasOwnProperty("isEnabled"))
|
|
31137
31221
|
object.isEnabled = message.isEnabled;
|
|
31222
|
+
if (message.duration != null && message.hasOwnProperty("duration"))
|
|
31223
|
+
object.duration = message.duration;
|
|
31224
|
+
if (message.narratorGender != null && message.hasOwnProperty("narratorGender"))
|
|
31225
|
+
object.narratorGender = message.narratorGender;
|
|
31138
31226
|
if (message.primaryAudioMedia && (keys2 = Object.keys(message.primaryAudioMedia)).length) {
|
|
31139
31227
|
object.primaryAudioMedia = {};
|
|
31140
31228
|
for (var j = 0; j < keys2.length; ++j)
|
|
@@ -41574,7 +41662,7 @@ $root.SleepcastCreated = (function() {
|
|
|
41574
41662
|
* @exports ISleepcastCreated
|
|
41575
41663
|
* @interface ISleepcastCreated
|
|
41576
41664
|
* @property {string|null} [slug] SleepcastCreated slug
|
|
41577
|
-
* @property {
|
|
41665
|
+
* @property {number|null} [entityId] SleepcastCreated entityId
|
|
41578
41666
|
* @property {number|null} [tileBackgroundMediaId] SleepcastCreated tileBackgroundMediaId
|
|
41579
41667
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] SleepcastCreated accessGroup
|
|
41580
41668
|
* @property {number|Long|null} [createdAt] SleepcastCreated createdAt
|
|
@@ -41606,11 +41694,11 @@ $root.SleepcastCreated = (function() {
|
|
|
41606
41694
|
|
|
41607
41695
|
/**
|
|
41608
41696
|
* SleepcastCreated entityId.
|
|
41609
|
-
* @member {
|
|
41697
|
+
* @member {number} entityId
|
|
41610
41698
|
* @memberof SleepcastCreated
|
|
41611
41699
|
* @instance
|
|
41612
41700
|
*/
|
|
41613
|
-
SleepcastCreated.prototype.entityId =
|
|
41701
|
+
SleepcastCreated.prototype.entityId = 0;
|
|
41614
41702
|
|
|
41615
41703
|
/**
|
|
41616
41704
|
* SleepcastCreated tileBackgroundMediaId.
|
|
@@ -41663,7 +41751,7 @@ $root.SleepcastCreated = (function() {
|
|
|
41663
41751
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
41664
41752
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
41665
41753
|
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
41666
|
-
writer.uint32(/* id 2, wireType
|
|
41754
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.entityId);
|
|
41667
41755
|
if (message.tileBackgroundMediaId != null && message.hasOwnProperty("tileBackgroundMediaId"))
|
|
41668
41756
|
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.tileBackgroundMediaId);
|
|
41669
41757
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
@@ -41709,7 +41797,7 @@ $root.SleepcastCreated = (function() {
|
|
|
41709
41797
|
message.slug = reader.string();
|
|
41710
41798
|
break;
|
|
41711
41799
|
case 2:
|
|
41712
|
-
message.entityId = reader.
|
|
41800
|
+
message.entityId = reader.uint32();
|
|
41713
41801
|
break;
|
|
41714
41802
|
case 3:
|
|
41715
41803
|
message.tileBackgroundMediaId = reader.uint32();
|
|
@@ -41761,8 +41849,8 @@ $root.SleepcastCreated = (function() {
|
|
|
41761
41849
|
if (!$util.isString(message.slug))
|
|
41762
41850
|
return "slug: string expected";
|
|
41763
41851
|
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
41764
|
-
if (!$util.
|
|
41765
|
-
return "entityId:
|
|
41852
|
+
if (!$util.isInteger(message.entityId))
|
|
41853
|
+
return "entityId: integer expected";
|
|
41766
41854
|
if (message.tileBackgroundMediaId != null && message.hasOwnProperty("tileBackgroundMediaId"))
|
|
41767
41855
|
if (!$util.isInteger(message.tileBackgroundMediaId))
|
|
41768
41856
|
return "tileBackgroundMediaId: integer expected";
|
|
@@ -41796,7 +41884,7 @@ $root.SleepcastCreated = (function() {
|
|
|
41796
41884
|
if (object.slug != null)
|
|
41797
41885
|
message.slug = String(object.slug);
|
|
41798
41886
|
if (object.entityId != null)
|
|
41799
|
-
message.entityId =
|
|
41887
|
+
message.entityId = object.entityId >>> 0;
|
|
41800
41888
|
if (object.tileBackgroundMediaId != null)
|
|
41801
41889
|
message.tileBackgroundMediaId = object.tileBackgroundMediaId >>> 0;
|
|
41802
41890
|
if (object.accessGroup) {
|
|
@@ -41838,7 +41926,7 @@ $root.SleepcastCreated = (function() {
|
|
|
41838
41926
|
object.accessGroup = [];
|
|
41839
41927
|
if (options.defaults) {
|
|
41840
41928
|
object.slug = "";
|
|
41841
|
-
object.entityId =
|
|
41929
|
+
object.entityId = 0;
|
|
41842
41930
|
object.tileBackgroundMediaId = 0;
|
|
41843
41931
|
if ($util.Long) {
|
|
41844
41932
|
var long = new $util.Long(0, 0, true);
|
|
@@ -41886,7 +41974,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
41886
41974
|
* @exports ISleepcastUpdated
|
|
41887
41975
|
* @interface ISleepcastUpdated
|
|
41888
41976
|
* @property {string|null} [slug] SleepcastUpdated slug
|
|
41889
|
-
* @property {
|
|
41977
|
+
* @property {number|null} [entityId] SleepcastUpdated entityId
|
|
41890
41978
|
* @property {number|null} [tileBackgroundMediaId] SleepcastUpdated tileBackgroundMediaId
|
|
41891
41979
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] SleepcastUpdated accessGroup
|
|
41892
41980
|
* @property {number|Long|null} [updatedAt] SleepcastUpdated updatedAt
|
|
@@ -41918,11 +42006,11 @@ $root.SleepcastUpdated = (function() {
|
|
|
41918
42006
|
|
|
41919
42007
|
/**
|
|
41920
42008
|
* SleepcastUpdated entityId.
|
|
41921
|
-
* @member {
|
|
42009
|
+
* @member {number} entityId
|
|
41922
42010
|
* @memberof SleepcastUpdated
|
|
41923
42011
|
* @instance
|
|
41924
42012
|
*/
|
|
41925
|
-
SleepcastUpdated.prototype.entityId =
|
|
42013
|
+
SleepcastUpdated.prototype.entityId = 0;
|
|
41926
42014
|
|
|
41927
42015
|
/**
|
|
41928
42016
|
* SleepcastUpdated tileBackgroundMediaId.
|
|
@@ -41975,7 +42063,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
41975
42063
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
41976
42064
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
41977
42065
|
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
41978
|
-
writer.uint32(/* id 2, wireType
|
|
42066
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.entityId);
|
|
41979
42067
|
if (message.tileBackgroundMediaId != null && message.hasOwnProperty("tileBackgroundMediaId"))
|
|
41980
42068
|
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.tileBackgroundMediaId);
|
|
41981
42069
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
@@ -42021,7 +42109,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
42021
42109
|
message.slug = reader.string();
|
|
42022
42110
|
break;
|
|
42023
42111
|
case 2:
|
|
42024
|
-
message.entityId = reader.
|
|
42112
|
+
message.entityId = reader.uint32();
|
|
42025
42113
|
break;
|
|
42026
42114
|
case 3:
|
|
42027
42115
|
message.tileBackgroundMediaId = reader.uint32();
|
|
@@ -42073,8 +42161,8 @@ $root.SleepcastUpdated = (function() {
|
|
|
42073
42161
|
if (!$util.isString(message.slug))
|
|
42074
42162
|
return "slug: string expected";
|
|
42075
42163
|
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
42076
|
-
if (!$util.
|
|
42077
|
-
return "entityId:
|
|
42164
|
+
if (!$util.isInteger(message.entityId))
|
|
42165
|
+
return "entityId: integer expected";
|
|
42078
42166
|
if (message.tileBackgroundMediaId != null && message.hasOwnProperty("tileBackgroundMediaId"))
|
|
42079
42167
|
if (!$util.isInteger(message.tileBackgroundMediaId))
|
|
42080
42168
|
return "tileBackgroundMediaId: integer expected";
|
|
@@ -42108,7 +42196,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
42108
42196
|
if (object.slug != null)
|
|
42109
42197
|
message.slug = String(object.slug);
|
|
42110
42198
|
if (object.entityId != null)
|
|
42111
|
-
message.entityId =
|
|
42199
|
+
message.entityId = object.entityId >>> 0;
|
|
42112
42200
|
if (object.tileBackgroundMediaId != null)
|
|
42113
42201
|
message.tileBackgroundMediaId = object.tileBackgroundMediaId >>> 0;
|
|
42114
42202
|
if (object.accessGroup) {
|
|
@@ -42150,7 +42238,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
42150
42238
|
object.accessGroup = [];
|
|
42151
42239
|
if (options.defaults) {
|
|
42152
42240
|
object.slug = "";
|
|
42153
|
-
object.entityId =
|
|
42241
|
+
object.entityId = 0;
|
|
42154
42242
|
object.tileBackgroundMediaId = 0;
|
|
42155
42243
|
if ($util.Long) {
|
|
42156
42244
|
var long = new $util.Long(0, 0, true);
|
package/package.json
CHANGED