@headspace/protos-events 1.464.0 → 1.465.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 +84 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14671,6 +14671,9 @@ export interface IContentfulWorkoutPlaylistCreated {
|
|
|
14671
14671
|
|
|
14672
14672
|
/** ContentfulWorkoutPlaylistCreated contentTypeDisplayValue */
|
|
14673
14673
|
contentTypeDisplayValue?: (string|null);
|
|
14674
|
+
|
|
14675
|
+
/** ContentfulWorkoutPlaylistCreated subtype */
|
|
14676
|
+
subtype?: ({ [k: string]: string }|null);
|
|
14674
14677
|
}
|
|
14675
14678
|
|
|
14676
14679
|
/** Represents a ContentfulWorkoutPlaylistCreated. */
|
|
@@ -14727,6 +14730,9 @@ export class ContentfulWorkoutPlaylistCreated implements IContentfulWorkoutPlayl
|
|
|
14727
14730
|
/** ContentfulWorkoutPlaylistCreated contentTypeDisplayValue. */
|
|
14728
14731
|
public contentTypeDisplayValue: string;
|
|
14729
14732
|
|
|
14733
|
+
/** ContentfulWorkoutPlaylistCreated subtype. */
|
|
14734
|
+
public subtype: { [k: string]: string };
|
|
14735
|
+
|
|
14730
14736
|
/**
|
|
14731
14737
|
* Creates a new ContentfulWorkoutPlaylistCreated instance using the specified properties.
|
|
14732
14738
|
* @param [properties] Properties to set
|
|
@@ -14845,6 +14851,9 @@ export interface IContentfulWorkoutPlaylistUpdated {
|
|
|
14845
14851
|
|
|
14846
14852
|
/** ContentfulWorkoutPlaylistUpdated contentTypeDisplayValue */
|
|
14847
14853
|
contentTypeDisplayValue?: (string|null);
|
|
14854
|
+
|
|
14855
|
+
/** ContentfulWorkoutPlaylistUpdated subtype */
|
|
14856
|
+
subtype?: ({ [k: string]: string }|null);
|
|
14848
14857
|
}
|
|
14849
14858
|
|
|
14850
14859
|
/** Represents a ContentfulWorkoutPlaylistUpdated. */
|
|
@@ -14901,6 +14910,9 @@ export class ContentfulWorkoutPlaylistUpdated implements IContentfulWorkoutPlayl
|
|
|
14901
14910
|
/** ContentfulWorkoutPlaylistUpdated contentTypeDisplayValue. */
|
|
14902
14911
|
public contentTypeDisplayValue: string;
|
|
14903
14912
|
|
|
14913
|
+
/** ContentfulWorkoutPlaylistUpdated subtype. */
|
|
14914
|
+
public subtype: { [k: string]: string };
|
|
14915
|
+
|
|
14904
14916
|
/**
|
|
14905
14917
|
* Creates a new ContentfulWorkoutPlaylistUpdated instance using the specified properties.
|
|
14906
14918
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -36806,6 +36806,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
36806
36806
|
* @property {number|Long|null} [createdAt] ContentfulWorkoutPlaylistCreated createdAt
|
|
36807
36807
|
* @property {Object.<string,contentful.ITags>|null} [tags] ContentfulWorkoutPlaylistCreated tags
|
|
36808
36808
|
* @property {string|null} [contentTypeDisplayValue] ContentfulWorkoutPlaylistCreated contentTypeDisplayValue
|
|
36809
|
+
* @property {Object.<string,string>|null} [subtype] ContentfulWorkoutPlaylistCreated subtype
|
|
36809
36810
|
*/
|
|
36810
36811
|
|
|
36811
36812
|
/**
|
|
@@ -36828,6 +36829,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
36828
36829
|
this.headerImageMedia = {};
|
|
36829
36830
|
this.accessGroups = [];
|
|
36830
36831
|
this.tags = {};
|
|
36832
|
+
this.subtype = {};
|
|
36831
36833
|
if (properties)
|
|
36832
36834
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36833
36835
|
if (properties[keys[i]] != null)
|
|
@@ -36954,6 +36956,14 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
36954
36956
|
*/
|
|
36955
36957
|
ContentfulWorkoutPlaylistCreated.prototype.contentTypeDisplayValue = "";
|
|
36956
36958
|
|
|
36959
|
+
/**
|
|
36960
|
+
* ContentfulWorkoutPlaylistCreated subtype.
|
|
36961
|
+
* @member {Object.<string,string>} subtype
|
|
36962
|
+
* @memberof ContentfulWorkoutPlaylistCreated
|
|
36963
|
+
* @instance
|
|
36964
|
+
*/
|
|
36965
|
+
ContentfulWorkoutPlaylistCreated.prototype.subtype = $util.emptyObject;
|
|
36966
|
+
|
|
36957
36967
|
/**
|
|
36958
36968
|
* Creates a new ContentfulWorkoutPlaylistCreated instance using the specified properties.
|
|
36959
36969
|
* @function create
|
|
@@ -37027,6 +37037,9 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37027
37037
|
}
|
|
37028
37038
|
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37029
37039
|
writer.uint32(/* id 15, wireType 2 =*/122).string(message.contentTypeDisplayValue);
|
|
37040
|
+
if (message.subtype != null && message.hasOwnProperty("subtype"))
|
|
37041
|
+
for (var keys = Object.keys(message.subtype), i = 0; i < keys.length; ++i)
|
|
37042
|
+
writer.uint32(/* id 16, wireType 2 =*/130).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.subtype[keys[i]]).ldelim();
|
|
37030
37043
|
return writer;
|
|
37031
37044
|
};
|
|
37032
37045
|
|
|
@@ -37158,6 +37171,14 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37158
37171
|
case 15:
|
|
37159
37172
|
message.contentTypeDisplayValue = reader.string();
|
|
37160
37173
|
break;
|
|
37174
|
+
case 16:
|
|
37175
|
+
reader.skip().pos++;
|
|
37176
|
+
if (message.subtype === $util.emptyObject)
|
|
37177
|
+
message.subtype = {};
|
|
37178
|
+
key = reader.string();
|
|
37179
|
+
reader.pos++;
|
|
37180
|
+
message.subtype[key] = reader.string();
|
|
37181
|
+
break;
|
|
37161
37182
|
default:
|
|
37162
37183
|
reader.skipType(tag & 7);
|
|
37163
37184
|
break;
|
|
@@ -37302,6 +37323,14 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37302
37323
|
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37303
37324
|
if (!$util.isString(message.contentTypeDisplayValue))
|
|
37304
37325
|
return "contentTypeDisplayValue: string expected";
|
|
37326
|
+
if (message.subtype != null && message.hasOwnProperty("subtype")) {
|
|
37327
|
+
if (!$util.isObject(message.subtype))
|
|
37328
|
+
return "subtype: object expected";
|
|
37329
|
+
var key = Object.keys(message.subtype);
|
|
37330
|
+
for (var i = 0; i < key.length; ++i)
|
|
37331
|
+
if (!$util.isString(message.subtype[key[i]]))
|
|
37332
|
+
return "subtype: string{k:string} expected";
|
|
37333
|
+
}
|
|
37305
37334
|
return null;
|
|
37306
37335
|
};
|
|
37307
37336
|
|
|
@@ -37424,6 +37453,13 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37424
37453
|
}
|
|
37425
37454
|
if (object.contentTypeDisplayValue != null)
|
|
37426
37455
|
message.contentTypeDisplayValue = String(object.contentTypeDisplayValue);
|
|
37456
|
+
if (object.subtype) {
|
|
37457
|
+
if (typeof object.subtype !== "object")
|
|
37458
|
+
throw TypeError(".ContentfulWorkoutPlaylistCreated.subtype: object expected");
|
|
37459
|
+
message.subtype = {};
|
|
37460
|
+
for (var keys = Object.keys(object.subtype), i = 0; i < keys.length; ++i)
|
|
37461
|
+
message.subtype[keys[i]] = String(object.subtype[keys[i]]);
|
|
37462
|
+
}
|
|
37427
37463
|
return message;
|
|
37428
37464
|
};
|
|
37429
37465
|
|
|
@@ -37453,6 +37489,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37453
37489
|
object.tileMedia = {};
|
|
37454
37490
|
object.headerImageMedia = {};
|
|
37455
37491
|
object.tags = {};
|
|
37492
|
+
object.subtype = {};
|
|
37456
37493
|
}
|
|
37457
37494
|
if (options.defaults) {
|
|
37458
37495
|
object.slug = "";
|
|
@@ -37531,6 +37568,11 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37531
37568
|
}
|
|
37532
37569
|
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37533
37570
|
object.contentTypeDisplayValue = message.contentTypeDisplayValue;
|
|
37571
|
+
if (message.subtype && (keys2 = Object.keys(message.subtype)).length) {
|
|
37572
|
+
object.subtype = {};
|
|
37573
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
37574
|
+
object.subtype[keys2[j]] = message.subtype[keys2[j]];
|
|
37575
|
+
}
|
|
37534
37576
|
return object;
|
|
37535
37577
|
};
|
|
37536
37578
|
|
|
@@ -37569,6 +37611,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37569
37611
|
* @property {number|Long|null} [updatedAt] ContentfulWorkoutPlaylistUpdated updatedAt
|
|
37570
37612
|
* @property {Object.<string,contentful.ITags>|null} [tags] ContentfulWorkoutPlaylistUpdated tags
|
|
37571
37613
|
* @property {string|null} [contentTypeDisplayValue] ContentfulWorkoutPlaylistUpdated contentTypeDisplayValue
|
|
37614
|
+
* @property {Object.<string,string>|null} [subtype] ContentfulWorkoutPlaylistUpdated subtype
|
|
37572
37615
|
*/
|
|
37573
37616
|
|
|
37574
37617
|
/**
|
|
@@ -37591,6 +37634,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37591
37634
|
this.headerImageMedia = {};
|
|
37592
37635
|
this.accessGroups = [];
|
|
37593
37636
|
this.tags = {};
|
|
37637
|
+
this.subtype = {};
|
|
37594
37638
|
if (properties)
|
|
37595
37639
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37596
37640
|
if (properties[keys[i]] != null)
|
|
@@ -37717,6 +37761,14 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37717
37761
|
*/
|
|
37718
37762
|
ContentfulWorkoutPlaylistUpdated.prototype.contentTypeDisplayValue = "";
|
|
37719
37763
|
|
|
37764
|
+
/**
|
|
37765
|
+
* ContentfulWorkoutPlaylistUpdated subtype.
|
|
37766
|
+
* @member {Object.<string,string>} subtype
|
|
37767
|
+
* @memberof ContentfulWorkoutPlaylistUpdated
|
|
37768
|
+
* @instance
|
|
37769
|
+
*/
|
|
37770
|
+
ContentfulWorkoutPlaylistUpdated.prototype.subtype = $util.emptyObject;
|
|
37771
|
+
|
|
37720
37772
|
/**
|
|
37721
37773
|
* Creates a new ContentfulWorkoutPlaylistUpdated instance using the specified properties.
|
|
37722
37774
|
* @function create
|
|
@@ -37790,6 +37842,9 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37790
37842
|
}
|
|
37791
37843
|
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37792
37844
|
writer.uint32(/* id 15, wireType 2 =*/122).string(message.contentTypeDisplayValue);
|
|
37845
|
+
if (message.subtype != null && message.hasOwnProperty("subtype"))
|
|
37846
|
+
for (var keys = Object.keys(message.subtype), i = 0; i < keys.length; ++i)
|
|
37847
|
+
writer.uint32(/* id 16, wireType 2 =*/130).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.subtype[keys[i]]).ldelim();
|
|
37793
37848
|
return writer;
|
|
37794
37849
|
};
|
|
37795
37850
|
|
|
@@ -37921,6 +37976,14 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37921
37976
|
case 15:
|
|
37922
37977
|
message.contentTypeDisplayValue = reader.string();
|
|
37923
37978
|
break;
|
|
37979
|
+
case 16:
|
|
37980
|
+
reader.skip().pos++;
|
|
37981
|
+
if (message.subtype === $util.emptyObject)
|
|
37982
|
+
message.subtype = {};
|
|
37983
|
+
key = reader.string();
|
|
37984
|
+
reader.pos++;
|
|
37985
|
+
message.subtype[key] = reader.string();
|
|
37986
|
+
break;
|
|
37924
37987
|
default:
|
|
37925
37988
|
reader.skipType(tag & 7);
|
|
37926
37989
|
break;
|
|
@@ -38065,6 +38128,14 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
38065
38128
|
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
38066
38129
|
if (!$util.isString(message.contentTypeDisplayValue))
|
|
38067
38130
|
return "contentTypeDisplayValue: string expected";
|
|
38131
|
+
if (message.subtype != null && message.hasOwnProperty("subtype")) {
|
|
38132
|
+
if (!$util.isObject(message.subtype))
|
|
38133
|
+
return "subtype: object expected";
|
|
38134
|
+
var key = Object.keys(message.subtype);
|
|
38135
|
+
for (var i = 0; i < key.length; ++i)
|
|
38136
|
+
if (!$util.isString(message.subtype[key[i]]))
|
|
38137
|
+
return "subtype: string{k:string} expected";
|
|
38138
|
+
}
|
|
38068
38139
|
return null;
|
|
38069
38140
|
};
|
|
38070
38141
|
|
|
@@ -38187,6 +38258,13 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
38187
38258
|
}
|
|
38188
38259
|
if (object.contentTypeDisplayValue != null)
|
|
38189
38260
|
message.contentTypeDisplayValue = String(object.contentTypeDisplayValue);
|
|
38261
|
+
if (object.subtype) {
|
|
38262
|
+
if (typeof object.subtype !== "object")
|
|
38263
|
+
throw TypeError(".ContentfulWorkoutPlaylistUpdated.subtype: object expected");
|
|
38264
|
+
message.subtype = {};
|
|
38265
|
+
for (var keys = Object.keys(object.subtype), i = 0; i < keys.length; ++i)
|
|
38266
|
+
message.subtype[keys[i]] = String(object.subtype[keys[i]]);
|
|
38267
|
+
}
|
|
38190
38268
|
return message;
|
|
38191
38269
|
};
|
|
38192
38270
|
|
|
@@ -38216,6 +38294,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
38216
38294
|
object.tileMedia = {};
|
|
38217
38295
|
object.headerImageMedia = {};
|
|
38218
38296
|
object.tags = {};
|
|
38297
|
+
object.subtype = {};
|
|
38219
38298
|
}
|
|
38220
38299
|
if (options.defaults) {
|
|
38221
38300
|
object.slug = "";
|
|
@@ -38294,6 +38373,11 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
38294
38373
|
}
|
|
38295
38374
|
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
38296
38375
|
object.contentTypeDisplayValue = message.contentTypeDisplayValue;
|
|
38376
|
+
if (message.subtype && (keys2 = Object.keys(message.subtype)).length) {
|
|
38377
|
+
object.subtype = {};
|
|
38378
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
38379
|
+
object.subtype[keys2[j]] = message.subtype[keys2[j]];
|
|
38380
|
+
}
|
|
38297
38381
|
return object;
|
|
38298
38382
|
};
|
|
38299
38383
|
|
package/package.json
CHANGED