@headspace/protos-events 1.168.0 → 1.169.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 +46 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7488,6 +7488,9 @@ export interface IContentfulActivityVariationCreated {
|
|
|
7488
7488
|
/** ContentfulActivityVariationCreated media */
|
|
7489
7489
|
media?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7490
7490
|
|
|
7491
|
+
/** ContentfulActivityVariationCreated locale */
|
|
7492
|
+
locale?: (string|null);
|
|
7493
|
+
|
|
7491
7494
|
/** ContentfulActivityVariationCreated createdAt */
|
|
7492
7495
|
createdAt?: (number|Long|null);
|
|
7493
7496
|
}
|
|
@@ -7510,6 +7513,9 @@ export class ContentfulActivityVariationCreated implements IContentfulActivityVa
|
|
|
7510
7513
|
/** ContentfulActivityVariationCreated media. */
|
|
7511
7514
|
public media: { [k: string]: contentful.IIdReference };
|
|
7512
7515
|
|
|
7516
|
+
/** ContentfulActivityVariationCreated locale. */
|
|
7517
|
+
public locale: string;
|
|
7518
|
+
|
|
7513
7519
|
/** ContentfulActivityVariationCreated createdAt. */
|
|
7514
7520
|
public createdAt: (number|Long);
|
|
7515
7521
|
|
|
@@ -7596,6 +7602,9 @@ export interface IContentfulActivityVariationUpdated {
|
|
|
7596
7602
|
/** ContentfulActivityVariationUpdated media */
|
|
7597
7603
|
media?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7598
7604
|
|
|
7605
|
+
/** ContentfulActivityVariationUpdated locale */
|
|
7606
|
+
locale?: (string|null);
|
|
7607
|
+
|
|
7599
7608
|
/** ContentfulActivityVariationUpdated updatedAt */
|
|
7600
7609
|
updatedAt?: (number|Long|null);
|
|
7601
7610
|
}
|
|
@@ -7618,6 +7627,9 @@ export class ContentfulActivityVariationUpdated implements IContentfulActivityVa
|
|
|
7618
7627
|
/** ContentfulActivityVariationUpdated media. */
|
|
7619
7628
|
public media: { [k: string]: contentful.IIdReference };
|
|
7620
7629
|
|
|
7630
|
+
/** ContentfulActivityVariationUpdated locale. */
|
|
7631
|
+
public locale: string;
|
|
7632
|
+
|
|
7621
7633
|
/** ContentfulActivityVariationUpdated updatedAt. */
|
|
7622
7634
|
public updatedAt: (number|Long);
|
|
7623
7635
|
|
package/lib/index.js
CHANGED
|
@@ -19806,6 +19806,7 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19806
19806
|
* @property {string|null} [slug] ContentfulActivityVariationCreated slug
|
|
19807
19807
|
* @property {Object.<string,number>|null} [duration] ContentfulActivityVariationCreated duration
|
|
19808
19808
|
* @property {Object.<string,contentful.IIdReference>|null} [media] ContentfulActivityVariationCreated media
|
|
19809
|
+
* @property {string|null} [locale] ContentfulActivityVariationCreated locale
|
|
19809
19810
|
* @property {number|Long|null} [createdAt] ContentfulActivityVariationCreated createdAt
|
|
19810
19811
|
*/
|
|
19811
19812
|
|
|
@@ -19850,6 +19851,14 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19850
19851
|
*/
|
|
19851
19852
|
ContentfulActivityVariationCreated.prototype.media = $util.emptyObject;
|
|
19852
19853
|
|
|
19854
|
+
/**
|
|
19855
|
+
* ContentfulActivityVariationCreated locale.
|
|
19856
|
+
* @member {string} locale
|
|
19857
|
+
* @memberof ContentfulActivityVariationCreated
|
|
19858
|
+
* @instance
|
|
19859
|
+
*/
|
|
19860
|
+
ContentfulActivityVariationCreated.prototype.locale = "";
|
|
19861
|
+
|
|
19853
19862
|
/**
|
|
19854
19863
|
* ContentfulActivityVariationCreated createdAt.
|
|
19855
19864
|
* @member {number|Long} createdAt
|
|
@@ -19892,8 +19901,10 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19892
19901
|
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
19893
19902
|
$root.contentful.IdReference.encode(message.media[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
19894
19903
|
}
|
|
19904
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
19905
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.locale);
|
|
19895
19906
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
19896
|
-
writer.uint32(/* id
|
|
19907
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
|
|
19897
19908
|
return writer;
|
|
19898
19909
|
};
|
|
19899
19910
|
|
|
@@ -19948,6 +19959,9 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19948
19959
|
message.media[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
19949
19960
|
break;
|
|
19950
19961
|
case 4:
|
|
19962
|
+
message.locale = reader.string();
|
|
19963
|
+
break;
|
|
19964
|
+
case 5:
|
|
19951
19965
|
message.createdAt = reader.uint64();
|
|
19952
19966
|
break;
|
|
19953
19967
|
default:
|
|
@@ -20006,6 +20020,9 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20006
20020
|
return "media." + error;
|
|
20007
20021
|
}
|
|
20008
20022
|
}
|
|
20023
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20024
|
+
if (!$util.isString(message.locale))
|
|
20025
|
+
return "locale: string expected";
|
|
20009
20026
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
20010
20027
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
20011
20028
|
return "createdAt: integer|Long expected";
|
|
@@ -20043,6 +20060,8 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20043
20060
|
message.media[keys[i]] = $root.contentful.IdReference.fromObject(object.media[keys[i]]);
|
|
20044
20061
|
}
|
|
20045
20062
|
}
|
|
20063
|
+
if (object.locale != null)
|
|
20064
|
+
message.locale = String(object.locale);
|
|
20046
20065
|
if (object.createdAt != null)
|
|
20047
20066
|
if ($util.Long)
|
|
20048
20067
|
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
@@ -20074,6 +20093,7 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20074
20093
|
}
|
|
20075
20094
|
if (options.defaults) {
|
|
20076
20095
|
object.slug = "";
|
|
20096
|
+
object.locale = "";
|
|
20077
20097
|
if ($util.Long) {
|
|
20078
20098
|
var long = new $util.Long(0, 0, true);
|
|
20079
20099
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -20093,6 +20113,8 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20093
20113
|
for (var j = 0; j < keys2.length; ++j)
|
|
20094
20114
|
object.media[keys2[j]] = $root.contentful.IdReference.toObject(message.media[keys2[j]], options);
|
|
20095
20115
|
}
|
|
20116
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20117
|
+
object.locale = message.locale;
|
|
20096
20118
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
20097
20119
|
if (typeof message.createdAt === "number")
|
|
20098
20120
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
@@ -20124,6 +20146,7 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20124
20146
|
* @property {string|null} [slug] ContentfulActivityVariationUpdated slug
|
|
20125
20147
|
* @property {Object.<string,number>|null} [duration] ContentfulActivityVariationUpdated duration
|
|
20126
20148
|
* @property {Object.<string,contentful.IIdReference>|null} [media] ContentfulActivityVariationUpdated media
|
|
20149
|
+
* @property {string|null} [locale] ContentfulActivityVariationUpdated locale
|
|
20127
20150
|
* @property {number|Long|null} [updatedAt] ContentfulActivityVariationUpdated updatedAt
|
|
20128
20151
|
*/
|
|
20129
20152
|
|
|
@@ -20168,6 +20191,14 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20168
20191
|
*/
|
|
20169
20192
|
ContentfulActivityVariationUpdated.prototype.media = $util.emptyObject;
|
|
20170
20193
|
|
|
20194
|
+
/**
|
|
20195
|
+
* ContentfulActivityVariationUpdated locale.
|
|
20196
|
+
* @member {string} locale
|
|
20197
|
+
* @memberof ContentfulActivityVariationUpdated
|
|
20198
|
+
* @instance
|
|
20199
|
+
*/
|
|
20200
|
+
ContentfulActivityVariationUpdated.prototype.locale = "";
|
|
20201
|
+
|
|
20171
20202
|
/**
|
|
20172
20203
|
* ContentfulActivityVariationUpdated updatedAt.
|
|
20173
20204
|
* @member {number|Long} updatedAt
|
|
@@ -20210,8 +20241,10 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20210
20241
|
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
20211
20242
|
$root.contentful.IdReference.encode(message.media[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
20212
20243
|
}
|
|
20244
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20245
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.locale);
|
|
20213
20246
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20214
|
-
writer.uint32(/* id
|
|
20247
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
|
|
20215
20248
|
return writer;
|
|
20216
20249
|
};
|
|
20217
20250
|
|
|
@@ -20266,6 +20299,9 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20266
20299
|
message.media[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
20267
20300
|
break;
|
|
20268
20301
|
case 4:
|
|
20302
|
+
message.locale = reader.string();
|
|
20303
|
+
break;
|
|
20304
|
+
case 5:
|
|
20269
20305
|
message.updatedAt = reader.uint64();
|
|
20270
20306
|
break;
|
|
20271
20307
|
default:
|
|
@@ -20324,6 +20360,9 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20324
20360
|
return "media." + error;
|
|
20325
20361
|
}
|
|
20326
20362
|
}
|
|
20363
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20364
|
+
if (!$util.isString(message.locale))
|
|
20365
|
+
return "locale: string expected";
|
|
20327
20366
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20328
20367
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
20329
20368
|
return "updatedAt: integer|Long expected";
|
|
@@ -20361,6 +20400,8 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20361
20400
|
message.media[keys[i]] = $root.contentful.IdReference.fromObject(object.media[keys[i]]);
|
|
20362
20401
|
}
|
|
20363
20402
|
}
|
|
20403
|
+
if (object.locale != null)
|
|
20404
|
+
message.locale = String(object.locale);
|
|
20364
20405
|
if (object.updatedAt != null)
|
|
20365
20406
|
if ($util.Long)
|
|
20366
20407
|
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
@@ -20392,6 +20433,7 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20392
20433
|
}
|
|
20393
20434
|
if (options.defaults) {
|
|
20394
20435
|
object.slug = "";
|
|
20436
|
+
object.locale = "";
|
|
20395
20437
|
if ($util.Long) {
|
|
20396
20438
|
var long = new $util.Long(0, 0, true);
|
|
20397
20439
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -20411,6 +20453,8 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20411
20453
|
for (var j = 0; j < keys2.length; ++j)
|
|
20412
20454
|
object.media[keys2[j]] = $root.contentful.IdReference.toObject(message.media[keys2[j]], options);
|
|
20413
20455
|
}
|
|
20456
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20457
|
+
object.locale = message.locale;
|
|
20414
20458
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20415
20459
|
if (typeof message.updatedAt === "number")
|
|
20416
20460
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
package/package.json
CHANGED