@headspace/protos-events 1.291.0 → 1.292.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 +98 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14708,6 +14708,9 @@ export interface IContentfulMediaWrapperCreated {
|
|
|
14708
14708
|
|
|
14709
14709
|
/** ContentfulMediaWrapperCreated createdAt */
|
|
14710
14710
|
createdAt?: (number|Long|null);
|
|
14711
|
+
|
|
14712
|
+
/** ContentfulMediaWrapperCreated audioDescription */
|
|
14713
|
+
audioDescription?: ({ [k: string]: contentful.IIdReference }|null);
|
|
14711
14714
|
}
|
|
14712
14715
|
|
|
14713
14716
|
/** Represents a ContentfulMediaWrapperCreated. */
|
|
@@ -14731,6 +14734,9 @@ export class ContentfulMediaWrapperCreated implements IContentfulMediaWrapperCre
|
|
|
14731
14734
|
/** ContentfulMediaWrapperCreated createdAt. */
|
|
14732
14735
|
public createdAt: (number|Long);
|
|
14733
14736
|
|
|
14737
|
+
/** ContentfulMediaWrapperCreated audioDescription. */
|
|
14738
|
+
public audioDescription: { [k: string]: contentful.IIdReference };
|
|
14739
|
+
|
|
14734
14740
|
/**
|
|
14735
14741
|
* Creates a new ContentfulMediaWrapperCreated instance using the specified properties.
|
|
14736
14742
|
* @param [properties] Properties to set
|
|
@@ -14816,6 +14822,9 @@ export interface IContentfulMediaWrapperUpdated {
|
|
|
14816
14822
|
|
|
14817
14823
|
/** ContentfulMediaWrapperUpdated updatedAt */
|
|
14818
14824
|
updatedAt?: (number|Long|null);
|
|
14825
|
+
|
|
14826
|
+
/** ContentfulMediaWrapperUpdated audioDescription */
|
|
14827
|
+
audioDescription?: ({ [k: string]: contentful.IIdReference }|null);
|
|
14819
14828
|
}
|
|
14820
14829
|
|
|
14821
14830
|
/** Represents a ContentfulMediaWrapperUpdated. */
|
|
@@ -14839,6 +14848,9 @@ export class ContentfulMediaWrapperUpdated implements IContentfulMediaWrapperUpd
|
|
|
14839
14848
|
/** ContentfulMediaWrapperUpdated updatedAt. */
|
|
14840
14849
|
public updatedAt: (number|Long);
|
|
14841
14850
|
|
|
14851
|
+
/** ContentfulMediaWrapperUpdated audioDescription. */
|
|
14852
|
+
public audioDescription: { [k: string]: contentful.IIdReference };
|
|
14853
|
+
|
|
14842
14854
|
/**
|
|
14843
14855
|
* Creates a new ContentfulMediaWrapperUpdated instance using the specified properties.
|
|
14844
14856
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -38000,6 +38000,7 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38000
38000
|
* @property {Object.<string,contentful.IIdReference>|null} [media] ContentfulMediaWrapperCreated media
|
|
38001
38001
|
* @property {Object.<string,contentful.IIdReference>|null} [caption] ContentfulMediaWrapperCreated caption
|
|
38002
38002
|
* @property {number|Long|null} [createdAt] ContentfulMediaWrapperCreated createdAt
|
|
38003
|
+
* @property {Object.<string,contentful.IIdReference>|null} [audioDescription] ContentfulMediaWrapperCreated audioDescription
|
|
38003
38004
|
*/
|
|
38004
38005
|
|
|
38005
38006
|
/**
|
|
@@ -38013,6 +38014,7 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38013
38014
|
function ContentfulMediaWrapperCreated(properties) {
|
|
38014
38015
|
this.media = {};
|
|
38015
38016
|
this.caption = {};
|
|
38017
|
+
this.audioDescription = {};
|
|
38016
38018
|
if (properties)
|
|
38017
38019
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38018
38020
|
if (properties[keys[i]] != null)
|
|
@@ -38051,6 +38053,14 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38051
38053
|
*/
|
|
38052
38054
|
ContentfulMediaWrapperCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
38053
38055
|
|
|
38056
|
+
/**
|
|
38057
|
+
* ContentfulMediaWrapperCreated audioDescription.
|
|
38058
|
+
* @member {Object.<string,contentful.IIdReference>} audioDescription
|
|
38059
|
+
* @memberof ContentfulMediaWrapperCreated
|
|
38060
|
+
* @instance
|
|
38061
|
+
*/
|
|
38062
|
+
ContentfulMediaWrapperCreated.prototype.audioDescription = $util.emptyObject;
|
|
38063
|
+
|
|
38054
38064
|
/**
|
|
38055
38065
|
* Creates a new ContentfulMediaWrapperCreated instance using the specified properties.
|
|
38056
38066
|
* @function create
|
|
@@ -38089,6 +38099,11 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38089
38099
|
}
|
|
38090
38100
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
38091
38101
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
38102
|
+
if (message.audioDescription != null && message.hasOwnProperty("audioDescription"))
|
|
38103
|
+
for (var keys = Object.keys(message.audioDescription), i = 0; i < keys.length; ++i) {
|
|
38104
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
38105
|
+
$root.contentful.IdReference.encode(message.audioDescription[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
38106
|
+
}
|
|
38092
38107
|
return writer;
|
|
38093
38108
|
};
|
|
38094
38109
|
|
|
@@ -38145,6 +38160,14 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38145
38160
|
case 4:
|
|
38146
38161
|
message.createdAt = reader.uint64();
|
|
38147
38162
|
break;
|
|
38163
|
+
case 5:
|
|
38164
|
+
reader.skip().pos++;
|
|
38165
|
+
if (message.audioDescription === $util.emptyObject)
|
|
38166
|
+
message.audioDescription = {};
|
|
38167
|
+
key = reader.string();
|
|
38168
|
+
reader.pos++;
|
|
38169
|
+
message.audioDescription[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
38170
|
+
break;
|
|
38148
38171
|
default:
|
|
38149
38172
|
reader.skipType(tag & 7);
|
|
38150
38173
|
break;
|
|
@@ -38206,6 +38229,16 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38206
38229
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
38207
38230
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
38208
38231
|
return "createdAt: integer|Long expected";
|
|
38232
|
+
if (message.audioDescription != null && message.hasOwnProperty("audioDescription")) {
|
|
38233
|
+
if (!$util.isObject(message.audioDescription))
|
|
38234
|
+
return "audioDescription: object expected";
|
|
38235
|
+
var key = Object.keys(message.audioDescription);
|
|
38236
|
+
for (var i = 0; i < key.length; ++i) {
|
|
38237
|
+
var error = $root.contentful.IdReference.verify(message.audioDescription[key[i]]);
|
|
38238
|
+
if (error)
|
|
38239
|
+
return "audioDescription." + error;
|
|
38240
|
+
}
|
|
38241
|
+
}
|
|
38209
38242
|
return null;
|
|
38210
38243
|
};
|
|
38211
38244
|
|
|
@@ -38252,6 +38285,16 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38252
38285
|
message.createdAt = object.createdAt;
|
|
38253
38286
|
else if (typeof object.createdAt === "object")
|
|
38254
38287
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
38288
|
+
if (object.audioDescription) {
|
|
38289
|
+
if (typeof object.audioDescription !== "object")
|
|
38290
|
+
throw TypeError(".ContentfulMediaWrapperCreated.audioDescription: object expected");
|
|
38291
|
+
message.audioDescription = {};
|
|
38292
|
+
for (var keys = Object.keys(object.audioDescription), i = 0; i < keys.length; ++i) {
|
|
38293
|
+
if (typeof object.audioDescription[keys[i]] !== "object")
|
|
38294
|
+
throw TypeError(".ContentfulMediaWrapperCreated.audioDescription: object expected");
|
|
38295
|
+
message.audioDescription[keys[i]] = $root.contentful.IdReference.fromObject(object.audioDescription[keys[i]]);
|
|
38296
|
+
}
|
|
38297
|
+
}
|
|
38255
38298
|
return message;
|
|
38256
38299
|
};
|
|
38257
38300
|
|
|
@@ -38271,6 +38314,7 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38271
38314
|
if (options.objects || options.defaults) {
|
|
38272
38315
|
object.media = {};
|
|
38273
38316
|
object.caption = {};
|
|
38317
|
+
object.audioDescription = {};
|
|
38274
38318
|
}
|
|
38275
38319
|
if (options.defaults) {
|
|
38276
38320
|
object.slug = "";
|
|
@@ -38298,6 +38342,11 @@ $root.ContentfulMediaWrapperCreated = (function() {
|
|
|
38298
38342
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
38299
38343
|
else
|
|
38300
38344
|
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;
|
|
38345
|
+
if (message.audioDescription && (keys2 = Object.keys(message.audioDescription)).length) {
|
|
38346
|
+
object.audioDescription = {};
|
|
38347
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
38348
|
+
object.audioDescription[keys2[j]] = $root.contentful.IdReference.toObject(message.audioDescription[keys2[j]], options);
|
|
38349
|
+
}
|
|
38301
38350
|
return object;
|
|
38302
38351
|
};
|
|
38303
38352
|
|
|
@@ -38325,6 +38374,7 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38325
38374
|
* @property {Object.<string,contentful.IIdReference>|null} [media] ContentfulMediaWrapperUpdated media
|
|
38326
38375
|
* @property {Object.<string,contentful.IIdReference>|null} [caption] ContentfulMediaWrapperUpdated caption
|
|
38327
38376
|
* @property {number|Long|null} [updatedAt] ContentfulMediaWrapperUpdated updatedAt
|
|
38377
|
+
* @property {Object.<string,contentful.IIdReference>|null} [audioDescription] ContentfulMediaWrapperUpdated audioDescription
|
|
38328
38378
|
*/
|
|
38329
38379
|
|
|
38330
38380
|
/**
|
|
@@ -38338,6 +38388,7 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38338
38388
|
function ContentfulMediaWrapperUpdated(properties) {
|
|
38339
38389
|
this.media = {};
|
|
38340
38390
|
this.caption = {};
|
|
38391
|
+
this.audioDescription = {};
|
|
38341
38392
|
if (properties)
|
|
38342
38393
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38343
38394
|
if (properties[keys[i]] != null)
|
|
@@ -38376,6 +38427,14 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38376
38427
|
*/
|
|
38377
38428
|
ContentfulMediaWrapperUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
38378
38429
|
|
|
38430
|
+
/**
|
|
38431
|
+
* ContentfulMediaWrapperUpdated audioDescription.
|
|
38432
|
+
* @member {Object.<string,contentful.IIdReference>} audioDescription
|
|
38433
|
+
* @memberof ContentfulMediaWrapperUpdated
|
|
38434
|
+
* @instance
|
|
38435
|
+
*/
|
|
38436
|
+
ContentfulMediaWrapperUpdated.prototype.audioDescription = $util.emptyObject;
|
|
38437
|
+
|
|
38379
38438
|
/**
|
|
38380
38439
|
* Creates a new ContentfulMediaWrapperUpdated instance using the specified properties.
|
|
38381
38440
|
* @function create
|
|
@@ -38414,6 +38473,11 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38414
38473
|
}
|
|
38415
38474
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
38416
38475
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
|
|
38476
|
+
if (message.audioDescription != null && message.hasOwnProperty("audioDescription"))
|
|
38477
|
+
for (var keys = Object.keys(message.audioDescription), i = 0; i < keys.length; ++i) {
|
|
38478
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
38479
|
+
$root.contentful.IdReference.encode(message.audioDescription[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
38480
|
+
}
|
|
38417
38481
|
return writer;
|
|
38418
38482
|
};
|
|
38419
38483
|
|
|
@@ -38470,6 +38534,14 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38470
38534
|
case 4:
|
|
38471
38535
|
message.updatedAt = reader.uint64();
|
|
38472
38536
|
break;
|
|
38537
|
+
case 5:
|
|
38538
|
+
reader.skip().pos++;
|
|
38539
|
+
if (message.audioDescription === $util.emptyObject)
|
|
38540
|
+
message.audioDescription = {};
|
|
38541
|
+
key = reader.string();
|
|
38542
|
+
reader.pos++;
|
|
38543
|
+
message.audioDescription[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
38544
|
+
break;
|
|
38473
38545
|
default:
|
|
38474
38546
|
reader.skipType(tag & 7);
|
|
38475
38547
|
break;
|
|
@@ -38531,6 +38603,16 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38531
38603
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
38532
38604
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
38533
38605
|
return "updatedAt: integer|Long expected";
|
|
38606
|
+
if (message.audioDescription != null && message.hasOwnProperty("audioDescription")) {
|
|
38607
|
+
if (!$util.isObject(message.audioDescription))
|
|
38608
|
+
return "audioDescription: object expected";
|
|
38609
|
+
var key = Object.keys(message.audioDescription);
|
|
38610
|
+
for (var i = 0; i < key.length; ++i) {
|
|
38611
|
+
var error = $root.contentful.IdReference.verify(message.audioDescription[key[i]]);
|
|
38612
|
+
if (error)
|
|
38613
|
+
return "audioDescription." + error;
|
|
38614
|
+
}
|
|
38615
|
+
}
|
|
38534
38616
|
return null;
|
|
38535
38617
|
};
|
|
38536
38618
|
|
|
@@ -38577,6 +38659,16 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38577
38659
|
message.updatedAt = object.updatedAt;
|
|
38578
38660
|
else if (typeof object.updatedAt === "object")
|
|
38579
38661
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
38662
|
+
if (object.audioDescription) {
|
|
38663
|
+
if (typeof object.audioDescription !== "object")
|
|
38664
|
+
throw TypeError(".ContentfulMediaWrapperUpdated.audioDescription: object expected");
|
|
38665
|
+
message.audioDescription = {};
|
|
38666
|
+
for (var keys = Object.keys(object.audioDescription), i = 0; i < keys.length; ++i) {
|
|
38667
|
+
if (typeof object.audioDescription[keys[i]] !== "object")
|
|
38668
|
+
throw TypeError(".ContentfulMediaWrapperUpdated.audioDescription: object expected");
|
|
38669
|
+
message.audioDescription[keys[i]] = $root.contentful.IdReference.fromObject(object.audioDescription[keys[i]]);
|
|
38670
|
+
}
|
|
38671
|
+
}
|
|
38580
38672
|
return message;
|
|
38581
38673
|
};
|
|
38582
38674
|
|
|
@@ -38596,6 +38688,7 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38596
38688
|
if (options.objects || options.defaults) {
|
|
38597
38689
|
object.media = {};
|
|
38598
38690
|
object.caption = {};
|
|
38691
|
+
object.audioDescription = {};
|
|
38599
38692
|
}
|
|
38600
38693
|
if (options.defaults) {
|
|
38601
38694
|
object.slug = "";
|
|
@@ -38623,6 +38716,11 @@ $root.ContentfulMediaWrapperUpdated = (function() {
|
|
|
38623
38716
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
38624
38717
|
else
|
|
38625
38718
|
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;
|
|
38719
|
+
if (message.audioDescription && (keys2 = Object.keys(message.audioDescription)).length) {
|
|
38720
|
+
object.audioDescription = {};
|
|
38721
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
38722
|
+
object.audioDescription[keys2[j]] = $root.contentful.IdReference.toObject(message.audioDescription[keys2[j]], options);
|
|
38723
|
+
}
|
|
38626
38724
|
return object;
|
|
38627
38725
|
};
|
|
38628
38726
|
|
package/package.json
CHANGED