@headspace/protos-events 1.211.0 → 1.212.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 +12 -0
- package/lib/index.js +54 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -21541,6 +21541,9 @@ export interface IWakeupPlaylistCreated {
|
|
|
21541
21541
|
|
|
21542
21542
|
/** WakeupPlaylistCreated createdAt */
|
|
21543
21543
|
createdAt?: (number|Long|null);
|
|
21544
|
+
|
|
21545
|
+
/** WakeupPlaylistCreated variationContainer */
|
|
21546
|
+
variationContainer?: (contentful.ISlugReference|null);
|
|
21544
21547
|
}
|
|
21545
21548
|
|
|
21546
21549
|
/** Represents a WakeupPlaylistCreated. */
|
|
@@ -21576,6 +21579,9 @@ export class WakeupPlaylistCreated implements IWakeupPlaylistCreated {
|
|
|
21576
21579
|
/** WakeupPlaylistCreated createdAt. */
|
|
21577
21580
|
public createdAt: (number|Long);
|
|
21578
21581
|
|
|
21582
|
+
/** WakeupPlaylistCreated variationContainer. */
|
|
21583
|
+
public variationContainer?: (contentful.ISlugReference|null);
|
|
21584
|
+
|
|
21579
21585
|
/**
|
|
21580
21586
|
* Creates a new WakeupPlaylistCreated instance using the specified properties.
|
|
21581
21587
|
* @param [properties] Properties to set
|
|
@@ -21673,6 +21679,9 @@ export interface IWakeupPlaylistUpdated {
|
|
|
21673
21679
|
|
|
21674
21680
|
/** WakeupPlaylistUpdated updatedAt */
|
|
21675
21681
|
updatedAt?: (number|Long|null);
|
|
21682
|
+
|
|
21683
|
+
/** WakeupPlaylistUpdated variationContainer */
|
|
21684
|
+
variationContainer?: (contentful.ISlugReference|null);
|
|
21676
21685
|
}
|
|
21677
21686
|
|
|
21678
21687
|
/** Represents a WakeupPlaylistUpdated. */
|
|
@@ -21708,6 +21717,9 @@ export class WakeupPlaylistUpdated implements IWakeupPlaylistUpdated {
|
|
|
21708
21717
|
/** WakeupPlaylistUpdated updatedAt. */
|
|
21709
21718
|
public updatedAt: (number|Long);
|
|
21710
21719
|
|
|
21720
|
+
/** WakeupPlaylistUpdated variationContainer. */
|
|
21721
|
+
public variationContainer?: (contentful.ISlugReference|null);
|
|
21722
|
+
|
|
21711
21723
|
/**
|
|
21712
21724
|
* Creates a new WakeupPlaylistUpdated instance using the specified properties.
|
|
21713
21725
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -60331,6 +60331,7 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60331
60331
|
* @property {string|null} [previewMediaType] WakeupPlaylistCreated previewMediaType
|
|
60332
60332
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistCreated accessGroups
|
|
60333
60333
|
* @property {number|Long|null} [createdAt] WakeupPlaylistCreated createdAt
|
|
60334
|
+
* @property {contentful.ISlugReference|null} [variationContainer] WakeupPlaylistCreated variationContainer
|
|
60334
60335
|
*/
|
|
60335
60336
|
|
|
60336
60337
|
/**
|
|
@@ -60413,6 +60414,14 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60413
60414
|
*/
|
|
60414
60415
|
WakeupPlaylistCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
60415
60416
|
|
|
60417
|
+
/**
|
|
60418
|
+
* WakeupPlaylistCreated variationContainer.
|
|
60419
|
+
* @member {contentful.ISlugReference|null|undefined} variationContainer
|
|
60420
|
+
* @memberof WakeupPlaylistCreated
|
|
60421
|
+
* @instance
|
|
60422
|
+
*/
|
|
60423
|
+
WakeupPlaylistCreated.prototype.variationContainer = null;
|
|
60424
|
+
|
|
60416
60425
|
/**
|
|
60417
60426
|
* Creates a new WakeupPlaylistCreated instance using the specified properties.
|
|
60418
60427
|
* @function create
|
|
@@ -60454,6 +60463,8 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60454
60463
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
60455
60464
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
60456
60465
|
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.createdAt);
|
|
60466
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
60467
|
+
$root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
60457
60468
|
return writer;
|
|
60458
60469
|
};
|
|
60459
60470
|
|
|
@@ -60514,6 +60525,9 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60514
60525
|
case 8:
|
|
60515
60526
|
message.createdAt = reader.uint64();
|
|
60516
60527
|
break;
|
|
60528
|
+
case 9:
|
|
60529
|
+
message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
60530
|
+
break;
|
|
60517
60531
|
default:
|
|
60518
60532
|
reader.skipType(tag & 7);
|
|
60519
60533
|
break;
|
|
@@ -60579,6 +60593,11 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60579
60593
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
60580
60594
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
60581
60595
|
return "createdAt: integer|Long expected";
|
|
60596
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer")) {
|
|
60597
|
+
var error = $root.contentful.SlugReference.verify(message.variationContainer);
|
|
60598
|
+
if (error)
|
|
60599
|
+
return "variationContainer." + error;
|
|
60600
|
+
}
|
|
60582
60601
|
return null;
|
|
60583
60602
|
};
|
|
60584
60603
|
|
|
@@ -60625,6 +60644,11 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60625
60644
|
message.createdAt = object.createdAt;
|
|
60626
60645
|
else if (typeof object.createdAt === "object")
|
|
60627
60646
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
60647
|
+
if (object.variationContainer != null) {
|
|
60648
|
+
if (typeof object.variationContainer !== "object")
|
|
60649
|
+
throw TypeError(".WakeupPlaylistCreated.variationContainer: object expected");
|
|
60650
|
+
message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
|
|
60651
|
+
}
|
|
60628
60652
|
return message;
|
|
60629
60653
|
};
|
|
60630
60654
|
|
|
@@ -60655,6 +60679,7 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60655
60679
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
60656
60680
|
} else
|
|
60657
60681
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
60682
|
+
object.variationContainer = null;
|
|
60658
60683
|
}
|
|
60659
60684
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
60660
60685
|
object.slug = message.slug;
|
|
@@ -60678,6 +60703,8 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60678
60703
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
60679
60704
|
else
|
|
60680
60705
|
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
60706
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
60707
|
+
object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
|
|
60681
60708
|
return object;
|
|
60682
60709
|
};
|
|
60683
60710
|
|
|
@@ -60709,6 +60736,7 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60709
60736
|
* @property {string|null} [previewMediaType] WakeupPlaylistUpdated previewMediaType
|
|
60710
60737
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistUpdated accessGroups
|
|
60711
60738
|
* @property {number|Long|null} [updatedAt] WakeupPlaylistUpdated updatedAt
|
|
60739
|
+
* @property {contentful.ISlugReference|null} [variationContainer] WakeupPlaylistUpdated variationContainer
|
|
60712
60740
|
*/
|
|
60713
60741
|
|
|
60714
60742
|
/**
|
|
@@ -60791,6 +60819,14 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60791
60819
|
*/
|
|
60792
60820
|
WakeupPlaylistUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
60793
60821
|
|
|
60822
|
+
/**
|
|
60823
|
+
* WakeupPlaylistUpdated variationContainer.
|
|
60824
|
+
* @member {contentful.ISlugReference|null|undefined} variationContainer
|
|
60825
|
+
* @memberof WakeupPlaylistUpdated
|
|
60826
|
+
* @instance
|
|
60827
|
+
*/
|
|
60828
|
+
WakeupPlaylistUpdated.prototype.variationContainer = null;
|
|
60829
|
+
|
|
60794
60830
|
/**
|
|
60795
60831
|
* Creates a new WakeupPlaylistUpdated instance using the specified properties.
|
|
60796
60832
|
* @function create
|
|
@@ -60832,6 +60868,8 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60832
60868
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
60833
60869
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
60834
60870
|
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.updatedAt);
|
|
60871
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
60872
|
+
$root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
60835
60873
|
return writer;
|
|
60836
60874
|
};
|
|
60837
60875
|
|
|
@@ -60892,6 +60930,9 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60892
60930
|
case 8:
|
|
60893
60931
|
message.updatedAt = reader.uint64();
|
|
60894
60932
|
break;
|
|
60933
|
+
case 9:
|
|
60934
|
+
message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
60935
|
+
break;
|
|
60895
60936
|
default:
|
|
60896
60937
|
reader.skipType(tag & 7);
|
|
60897
60938
|
break;
|
|
@@ -60957,6 +60998,11 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60957
60998
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
60958
60999
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
60959
61000
|
return "updatedAt: integer|Long expected";
|
|
61001
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer")) {
|
|
61002
|
+
var error = $root.contentful.SlugReference.verify(message.variationContainer);
|
|
61003
|
+
if (error)
|
|
61004
|
+
return "variationContainer." + error;
|
|
61005
|
+
}
|
|
60960
61006
|
return null;
|
|
60961
61007
|
};
|
|
60962
61008
|
|
|
@@ -61003,6 +61049,11 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
61003
61049
|
message.updatedAt = object.updatedAt;
|
|
61004
61050
|
else if (typeof object.updatedAt === "object")
|
|
61005
61051
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
61052
|
+
if (object.variationContainer != null) {
|
|
61053
|
+
if (typeof object.variationContainer !== "object")
|
|
61054
|
+
throw TypeError(".WakeupPlaylistUpdated.variationContainer: object expected");
|
|
61055
|
+
message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
|
|
61056
|
+
}
|
|
61006
61057
|
return message;
|
|
61007
61058
|
};
|
|
61008
61059
|
|
|
@@ -61033,6 +61084,7 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
61033
61084
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
61034
61085
|
} else
|
|
61035
61086
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
61087
|
+
object.variationContainer = null;
|
|
61036
61088
|
}
|
|
61037
61089
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
61038
61090
|
object.slug = message.slug;
|
|
@@ -61056,6 +61108,8 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
61056
61108
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
61057
61109
|
else
|
|
61058
61110
|
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
61111
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
61112
|
+
object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
|
|
61059
61113
|
return object;
|
|
61060
61114
|
};
|
|
61061
61115
|
|
package/package.json
CHANGED