@headspace/protos-events 1.210.0 → 1.211.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
|
@@ -5961,6 +5961,9 @@ export interface IContentfulPlaylistCreated {
|
|
|
5961
5961
|
|
|
5962
5962
|
/** ContentfulPlaylistCreated createdAt */
|
|
5963
5963
|
createdAt?: (number|Long|null);
|
|
5964
|
+
|
|
5965
|
+
/** ContentfulPlaylistCreated variationContainer */
|
|
5966
|
+
variationContainer?: (contentful.ISlugReference|null);
|
|
5964
5967
|
}
|
|
5965
5968
|
|
|
5966
5969
|
/** Represents a ContentfulPlaylistCreated. */
|
|
@@ -6008,6 +6011,9 @@ export class ContentfulPlaylistCreated implements IContentfulPlaylistCreated {
|
|
|
6008
6011
|
/** ContentfulPlaylistCreated createdAt. */
|
|
6009
6012
|
public createdAt: (number|Long);
|
|
6010
6013
|
|
|
6014
|
+
/** ContentfulPlaylistCreated variationContainer. */
|
|
6015
|
+
public variationContainer?: (contentful.ISlugReference|null);
|
|
6016
|
+
|
|
6011
6017
|
/**
|
|
6012
6018
|
* Creates a new ContentfulPlaylistCreated instance using the specified properties.
|
|
6013
6019
|
* @param [properties] Properties to set
|
|
@@ -6117,6 +6123,9 @@ export interface IContentfulPlaylistUpdated {
|
|
|
6117
6123
|
|
|
6118
6124
|
/** ContentfulPlaylistUpdated updatedAt */
|
|
6119
6125
|
updatedAt?: (number|Long|null);
|
|
6126
|
+
|
|
6127
|
+
/** ContentfulPlaylistUpdated variationContainer */
|
|
6128
|
+
variationContainer?: (contentful.ISlugReference|null);
|
|
6120
6129
|
}
|
|
6121
6130
|
|
|
6122
6131
|
/** Represents a ContentfulPlaylistUpdated. */
|
|
@@ -6164,6 +6173,9 @@ export class ContentfulPlaylistUpdated implements IContentfulPlaylistUpdated {
|
|
|
6164
6173
|
/** ContentfulPlaylistUpdated updatedAt. */
|
|
6165
6174
|
public updatedAt: (number|Long);
|
|
6166
6175
|
|
|
6176
|
+
/** ContentfulPlaylistUpdated variationContainer. */
|
|
6177
|
+
public variationContainer?: (contentful.ISlugReference|null);
|
|
6178
|
+
|
|
6167
6179
|
/**
|
|
6168
6180
|
* Creates a new ContentfulPlaylistUpdated instance using the specified properties.
|
|
6169
6181
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -14585,6 +14585,7 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
14585
14585
|
* @property {Object.<string,string>|null} [schedule] ContentfulPlaylistCreated schedule
|
|
14586
14586
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistCreated accessGroups
|
|
14587
14587
|
* @property {number|Long|null} [createdAt] ContentfulPlaylistCreated createdAt
|
|
14588
|
+
* @property {contentful.ISlugReference|null} [variationContainer] ContentfulPlaylistCreated variationContainer
|
|
14588
14589
|
*/
|
|
14589
14590
|
|
|
14590
14591
|
/**
|
|
@@ -14707,6 +14708,14 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
14707
14708
|
*/
|
|
14708
14709
|
ContentfulPlaylistCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14709
14710
|
|
|
14711
|
+
/**
|
|
14712
|
+
* ContentfulPlaylistCreated variationContainer.
|
|
14713
|
+
* @member {contentful.ISlugReference|null|undefined} variationContainer
|
|
14714
|
+
* @memberof ContentfulPlaylistCreated
|
|
14715
|
+
* @instance
|
|
14716
|
+
*/
|
|
14717
|
+
ContentfulPlaylistCreated.prototype.variationContainer = null;
|
|
14718
|
+
|
|
14710
14719
|
/**
|
|
14711
14720
|
* Creates a new ContentfulPlaylistCreated instance using the specified properties.
|
|
14712
14721
|
* @function create
|
|
@@ -14768,6 +14777,8 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
14768
14777
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
14769
14778
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
14770
14779
|
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.createdAt);
|
|
14780
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
14781
|
+
$root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
14771
14782
|
return writer;
|
|
14772
14783
|
};
|
|
14773
14784
|
|
|
@@ -14880,6 +14891,9 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
14880
14891
|
case 12:
|
|
14881
14892
|
message.createdAt = reader.uint64();
|
|
14882
14893
|
break;
|
|
14894
|
+
case 13:
|
|
14895
|
+
message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
14896
|
+
break;
|
|
14883
14897
|
default:
|
|
14884
14898
|
reader.skipType(tag & 7);
|
|
14885
14899
|
break;
|
|
@@ -15001,6 +15015,11 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
15001
15015
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
15002
15016
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
15003
15017
|
return "createdAt: integer|Long expected";
|
|
15018
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer")) {
|
|
15019
|
+
var error = $root.contentful.SlugReference.verify(message.variationContainer);
|
|
15020
|
+
if (error)
|
|
15021
|
+
return "variationContainer." + error;
|
|
15022
|
+
}
|
|
15004
15023
|
return null;
|
|
15005
15024
|
};
|
|
15006
15025
|
|
|
@@ -15101,6 +15120,11 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
15101
15120
|
message.createdAt = object.createdAt;
|
|
15102
15121
|
else if (typeof object.createdAt === "object")
|
|
15103
15122
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
15123
|
+
if (object.variationContainer != null) {
|
|
15124
|
+
if (typeof object.variationContainer !== "object")
|
|
15125
|
+
throw TypeError(".ContentfulPlaylistCreated.variationContainer: object expected");
|
|
15126
|
+
message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
|
|
15127
|
+
}
|
|
15104
15128
|
return message;
|
|
15105
15129
|
};
|
|
15106
15130
|
|
|
@@ -15137,6 +15161,7 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
15137
15161
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
15138
15162
|
} else
|
|
15139
15163
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
15164
|
+
object.variationContainer = null;
|
|
15140
15165
|
}
|
|
15141
15166
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
15142
15167
|
object.slug = message.slug;
|
|
@@ -15193,6 +15218,8 @@ $root.ContentfulPlaylistCreated = (function() {
|
|
|
15193
15218
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
15194
15219
|
else
|
|
15195
15220
|
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;
|
|
15221
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
15222
|
+
object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
|
|
15196
15223
|
return object;
|
|
15197
15224
|
};
|
|
15198
15225
|
|
|
@@ -15228,6 +15255,7 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15228
15255
|
* @property {Object.<string,string>|null} [schedule] ContentfulPlaylistUpdated schedule
|
|
15229
15256
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistUpdated accessGroups
|
|
15230
15257
|
* @property {number|Long|null} [updatedAt] ContentfulPlaylistUpdated updatedAt
|
|
15258
|
+
* @property {contentful.ISlugReference|null} [variationContainer] ContentfulPlaylistUpdated variationContainer
|
|
15231
15259
|
*/
|
|
15232
15260
|
|
|
15233
15261
|
/**
|
|
@@ -15350,6 +15378,14 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15350
15378
|
*/
|
|
15351
15379
|
ContentfulPlaylistUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
15352
15380
|
|
|
15381
|
+
/**
|
|
15382
|
+
* ContentfulPlaylistUpdated variationContainer.
|
|
15383
|
+
* @member {contentful.ISlugReference|null|undefined} variationContainer
|
|
15384
|
+
* @memberof ContentfulPlaylistUpdated
|
|
15385
|
+
* @instance
|
|
15386
|
+
*/
|
|
15387
|
+
ContentfulPlaylistUpdated.prototype.variationContainer = null;
|
|
15388
|
+
|
|
15353
15389
|
/**
|
|
15354
15390
|
* Creates a new ContentfulPlaylistUpdated instance using the specified properties.
|
|
15355
15391
|
* @function create
|
|
@@ -15411,6 +15447,8 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15411
15447
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
15412
15448
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
15413
15449
|
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
|
|
15450
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
15451
|
+
$root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
15414
15452
|
return writer;
|
|
15415
15453
|
};
|
|
15416
15454
|
|
|
@@ -15523,6 +15561,9 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15523
15561
|
case 12:
|
|
15524
15562
|
message.updatedAt = reader.uint64();
|
|
15525
15563
|
break;
|
|
15564
|
+
case 13:
|
|
15565
|
+
message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
15566
|
+
break;
|
|
15526
15567
|
default:
|
|
15527
15568
|
reader.skipType(tag & 7);
|
|
15528
15569
|
break;
|
|
@@ -15644,6 +15685,11 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15644
15685
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
15645
15686
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
15646
15687
|
return "updatedAt: integer|Long expected";
|
|
15688
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer")) {
|
|
15689
|
+
var error = $root.contentful.SlugReference.verify(message.variationContainer);
|
|
15690
|
+
if (error)
|
|
15691
|
+
return "variationContainer." + error;
|
|
15692
|
+
}
|
|
15647
15693
|
return null;
|
|
15648
15694
|
};
|
|
15649
15695
|
|
|
@@ -15744,6 +15790,11 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15744
15790
|
message.updatedAt = object.updatedAt;
|
|
15745
15791
|
else if (typeof object.updatedAt === "object")
|
|
15746
15792
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
15793
|
+
if (object.variationContainer != null) {
|
|
15794
|
+
if (typeof object.variationContainer !== "object")
|
|
15795
|
+
throw TypeError(".ContentfulPlaylistUpdated.variationContainer: object expected");
|
|
15796
|
+
message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
|
|
15797
|
+
}
|
|
15747
15798
|
return message;
|
|
15748
15799
|
};
|
|
15749
15800
|
|
|
@@ -15780,6 +15831,7 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15780
15831
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
15781
15832
|
} else
|
|
15782
15833
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
15834
|
+
object.variationContainer = null;
|
|
15783
15835
|
}
|
|
15784
15836
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
15785
15837
|
object.slug = message.slug;
|
|
@@ -15836,6 +15888,8 @@ $root.ContentfulPlaylistUpdated = (function() {
|
|
|
15836
15888
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
15837
15889
|
else
|
|
15838
15890
|
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;
|
|
15891
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
15892
|
+
object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
|
|
15839
15893
|
return object;
|
|
15840
15894
|
};
|
|
15841
15895
|
|
package/package.json
CHANGED