@headspace/protos-events 1.137.0 → 1.138.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 +90 -6
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6490,6 +6490,9 @@ export interface IContentfulActivityCreated {
|
|
|
6490
6490
|
/** ContentfulActivityCreated variations */
|
|
6491
6491
|
variations?: ({ [k: string]: contentful.ISlugReferences }|null);
|
|
6492
6492
|
|
|
6493
|
+
/** ContentfulActivityCreated statCardText */
|
|
6494
|
+
statCardText?: ({ [k: string]: string }|null);
|
|
6495
|
+
|
|
6493
6496
|
/** ContentfulActivityCreated accessGroup */
|
|
6494
6497
|
accessGroup?: (contentful.ISlugReference[]|null);
|
|
6495
6498
|
|
|
@@ -6521,6 +6524,9 @@ export class ContentfulActivityCreated implements IContentfulActivityCreated {
|
|
|
6521
6524
|
/** ContentfulActivityCreated variations. */
|
|
6522
6525
|
public variations: { [k: string]: contentful.ISlugReferences };
|
|
6523
6526
|
|
|
6527
|
+
/** ContentfulActivityCreated statCardText. */
|
|
6528
|
+
public statCardText: { [k: string]: string };
|
|
6529
|
+
|
|
6524
6530
|
/** ContentfulActivityCreated accessGroup. */
|
|
6525
6531
|
public accessGroup: contentful.ISlugReference[];
|
|
6526
6532
|
|
|
@@ -6616,6 +6622,9 @@ export interface IContentfulActivityUpdated {
|
|
|
6616
6622
|
/** ContentfulActivityUpdated variations */
|
|
6617
6623
|
variations?: ({ [k: string]: contentful.ISlugReferences }|null);
|
|
6618
6624
|
|
|
6625
|
+
/** ContentfulActivityUpdated statCardText */
|
|
6626
|
+
statCardText?: ({ [k: string]: string }|null);
|
|
6627
|
+
|
|
6619
6628
|
/** ContentfulActivityUpdated accessGroup */
|
|
6620
6629
|
accessGroup?: (contentful.ISlugReference[]|null);
|
|
6621
6630
|
|
|
@@ -6647,6 +6656,9 @@ export class ContentfulActivityUpdated implements IContentfulActivityUpdated {
|
|
|
6647
6656
|
/** ContentfulActivityUpdated variations. */
|
|
6648
6657
|
public variations: { [k: string]: contentful.ISlugReferences };
|
|
6649
6658
|
|
|
6659
|
+
/** ContentfulActivityUpdated statCardText. */
|
|
6660
|
+
public statCardText: { [k: string]: string };
|
|
6661
|
+
|
|
6650
6662
|
/** ContentfulActivityUpdated accessGroup. */
|
|
6651
6663
|
public accessGroup: contentful.ISlugReference[];
|
|
6652
6664
|
|
package/lib/index.js
CHANGED
|
@@ -17704,6 +17704,7 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
17704
17704
|
* @property {string|null} [format] ContentfulActivityCreated format
|
|
17705
17705
|
* @property {string|null} [enabled] ContentfulActivityCreated enabled
|
|
17706
17706
|
* @property {Object.<string,contentful.ISlugReferences>|null} [variations] ContentfulActivityCreated variations
|
|
17707
|
+
* @property {Object.<string,string>|null} [statCardText] ContentfulActivityCreated statCardText
|
|
17707
17708
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulActivityCreated accessGroup
|
|
17708
17709
|
* @property {number|Long|null} [createdAt] ContentfulActivityCreated createdAt
|
|
17709
17710
|
*/
|
|
@@ -17719,6 +17720,7 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
17719
17720
|
function ContentfulActivityCreated(properties) {
|
|
17720
17721
|
this.name = {};
|
|
17721
17722
|
this.variations = {};
|
|
17723
|
+
this.statCardText = {};
|
|
17722
17724
|
this.accessGroup = [];
|
|
17723
17725
|
if (properties)
|
|
17724
17726
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
@@ -17766,6 +17768,14 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
17766
17768
|
*/
|
|
17767
17769
|
ContentfulActivityCreated.prototype.variations = $util.emptyObject;
|
|
17768
17770
|
|
|
17771
|
+
/**
|
|
17772
|
+
* ContentfulActivityCreated statCardText.
|
|
17773
|
+
* @member {Object.<string,string>} statCardText
|
|
17774
|
+
* @memberof ContentfulActivityCreated
|
|
17775
|
+
* @instance
|
|
17776
|
+
*/
|
|
17777
|
+
ContentfulActivityCreated.prototype.statCardText = $util.emptyObject;
|
|
17778
|
+
|
|
17769
17779
|
/**
|
|
17770
17780
|
* ContentfulActivityCreated accessGroup.
|
|
17771
17781
|
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
@@ -17820,11 +17830,14 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
17820
17830
|
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
17821
17831
|
$root.contentful.SlugReferences.encode(message.variations[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
17822
17832
|
}
|
|
17833
|
+
if (message.statCardText != null && message.hasOwnProperty("statCardText"))
|
|
17834
|
+
for (var keys = Object.keys(message.statCardText), i = 0; i < keys.length; ++i)
|
|
17835
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.statCardText[keys[i]]).ldelim();
|
|
17823
17836
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
17824
17837
|
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
17825
|
-
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id
|
|
17838
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
17826
17839
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
17827
|
-
writer.uint32(/* id
|
|
17840
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.createdAt);
|
|
17828
17841
|
return writer;
|
|
17829
17842
|
};
|
|
17830
17843
|
|
|
@@ -17885,11 +17898,19 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
17885
17898
|
message.variations[key] = $root.contentful.SlugReferences.decode(reader, reader.uint32());
|
|
17886
17899
|
break;
|
|
17887
17900
|
case 6:
|
|
17901
|
+
reader.skip().pos++;
|
|
17902
|
+
if (message.statCardText === $util.emptyObject)
|
|
17903
|
+
message.statCardText = {};
|
|
17904
|
+
key = reader.string();
|
|
17905
|
+
reader.pos++;
|
|
17906
|
+
message.statCardText[key] = reader.string();
|
|
17907
|
+
break;
|
|
17908
|
+
case 7:
|
|
17888
17909
|
if (!(message.accessGroup && message.accessGroup.length))
|
|
17889
17910
|
message.accessGroup = [];
|
|
17890
17911
|
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
17891
17912
|
break;
|
|
17892
|
-
case
|
|
17913
|
+
case 8:
|
|
17893
17914
|
message.createdAt = reader.uint64();
|
|
17894
17915
|
break;
|
|
17895
17916
|
default:
|
|
@@ -17954,6 +17975,14 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
17954
17975
|
return "variations." + error;
|
|
17955
17976
|
}
|
|
17956
17977
|
}
|
|
17978
|
+
if (message.statCardText != null && message.hasOwnProperty("statCardText")) {
|
|
17979
|
+
if (!$util.isObject(message.statCardText))
|
|
17980
|
+
return "statCardText: object expected";
|
|
17981
|
+
var key = Object.keys(message.statCardText);
|
|
17982
|
+
for (var i = 0; i < key.length; ++i)
|
|
17983
|
+
if (!$util.isString(message.statCardText[key[i]]))
|
|
17984
|
+
return "statCardText: string{k:string} expected";
|
|
17985
|
+
}
|
|
17957
17986
|
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
17958
17987
|
if (!Array.isArray(message.accessGroup))
|
|
17959
17988
|
return "accessGroup: array expected";
|
|
@@ -18004,6 +18033,13 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
18004
18033
|
message.variations[keys[i]] = $root.contentful.SlugReferences.fromObject(object.variations[keys[i]]);
|
|
18005
18034
|
}
|
|
18006
18035
|
}
|
|
18036
|
+
if (object.statCardText) {
|
|
18037
|
+
if (typeof object.statCardText !== "object")
|
|
18038
|
+
throw TypeError(".ContentfulActivityCreated.statCardText: object expected");
|
|
18039
|
+
message.statCardText = {};
|
|
18040
|
+
for (var keys = Object.keys(object.statCardText), i = 0; i < keys.length; ++i)
|
|
18041
|
+
message.statCardText[keys[i]] = String(object.statCardText[keys[i]]);
|
|
18042
|
+
}
|
|
18007
18043
|
if (object.accessGroup) {
|
|
18008
18044
|
if (!Array.isArray(object.accessGroup))
|
|
18009
18045
|
throw TypeError(".ContentfulActivityCreated.accessGroup: array expected");
|
|
@@ -18044,6 +18080,7 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
18044
18080
|
if (options.objects || options.defaults) {
|
|
18045
18081
|
object.name = {};
|
|
18046
18082
|
object.variations = {};
|
|
18083
|
+
object.statCardText = {};
|
|
18047
18084
|
}
|
|
18048
18085
|
if (options.defaults) {
|
|
18049
18086
|
object.slug = "";
|
|
@@ -18072,6 +18109,11 @@ $root.ContentfulActivityCreated = (function() {
|
|
|
18072
18109
|
for (var j = 0; j < keys2.length; ++j)
|
|
18073
18110
|
object.variations[keys2[j]] = $root.contentful.SlugReferences.toObject(message.variations[keys2[j]], options);
|
|
18074
18111
|
}
|
|
18112
|
+
if (message.statCardText && (keys2 = Object.keys(message.statCardText)).length) {
|
|
18113
|
+
object.statCardText = {};
|
|
18114
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
18115
|
+
object.statCardText[keys2[j]] = message.statCardText[keys2[j]];
|
|
18116
|
+
}
|
|
18075
18117
|
if (message.accessGroup && message.accessGroup.length) {
|
|
18076
18118
|
object.accessGroup = [];
|
|
18077
18119
|
for (var j = 0; j < message.accessGroup.length; ++j)
|
|
@@ -18110,6 +18152,7 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18110
18152
|
* @property {string|null} [format] ContentfulActivityUpdated format
|
|
18111
18153
|
* @property {string|null} [enabled] ContentfulActivityUpdated enabled
|
|
18112
18154
|
* @property {Object.<string,contentful.ISlugReferences>|null} [variations] ContentfulActivityUpdated variations
|
|
18155
|
+
* @property {Object.<string,string>|null} [statCardText] ContentfulActivityUpdated statCardText
|
|
18113
18156
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulActivityUpdated accessGroup
|
|
18114
18157
|
* @property {number|Long|null} [updatedAt] ContentfulActivityUpdated updatedAt
|
|
18115
18158
|
*/
|
|
@@ -18125,6 +18168,7 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18125
18168
|
function ContentfulActivityUpdated(properties) {
|
|
18126
18169
|
this.name = {};
|
|
18127
18170
|
this.variations = {};
|
|
18171
|
+
this.statCardText = {};
|
|
18128
18172
|
this.accessGroup = [];
|
|
18129
18173
|
if (properties)
|
|
18130
18174
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
@@ -18172,6 +18216,14 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18172
18216
|
*/
|
|
18173
18217
|
ContentfulActivityUpdated.prototype.variations = $util.emptyObject;
|
|
18174
18218
|
|
|
18219
|
+
/**
|
|
18220
|
+
* ContentfulActivityUpdated statCardText.
|
|
18221
|
+
* @member {Object.<string,string>} statCardText
|
|
18222
|
+
* @memberof ContentfulActivityUpdated
|
|
18223
|
+
* @instance
|
|
18224
|
+
*/
|
|
18225
|
+
ContentfulActivityUpdated.prototype.statCardText = $util.emptyObject;
|
|
18226
|
+
|
|
18175
18227
|
/**
|
|
18176
18228
|
* ContentfulActivityUpdated accessGroup.
|
|
18177
18229
|
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
@@ -18226,11 +18278,14 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18226
18278
|
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
18227
18279
|
$root.contentful.SlugReferences.encode(message.variations[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
18228
18280
|
}
|
|
18281
|
+
if (message.statCardText != null && message.hasOwnProperty("statCardText"))
|
|
18282
|
+
for (var keys = Object.keys(message.statCardText), i = 0; i < keys.length; ++i)
|
|
18283
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.statCardText[keys[i]]).ldelim();
|
|
18229
18284
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
18230
18285
|
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
18231
|
-
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id
|
|
18286
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
18232
18287
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
18233
|
-
writer.uint32(/* id
|
|
18288
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.updatedAt);
|
|
18234
18289
|
return writer;
|
|
18235
18290
|
};
|
|
18236
18291
|
|
|
@@ -18291,11 +18346,19 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18291
18346
|
message.variations[key] = $root.contentful.SlugReferences.decode(reader, reader.uint32());
|
|
18292
18347
|
break;
|
|
18293
18348
|
case 6:
|
|
18349
|
+
reader.skip().pos++;
|
|
18350
|
+
if (message.statCardText === $util.emptyObject)
|
|
18351
|
+
message.statCardText = {};
|
|
18352
|
+
key = reader.string();
|
|
18353
|
+
reader.pos++;
|
|
18354
|
+
message.statCardText[key] = reader.string();
|
|
18355
|
+
break;
|
|
18356
|
+
case 7:
|
|
18294
18357
|
if (!(message.accessGroup && message.accessGroup.length))
|
|
18295
18358
|
message.accessGroup = [];
|
|
18296
18359
|
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
18297
18360
|
break;
|
|
18298
|
-
case
|
|
18361
|
+
case 8:
|
|
18299
18362
|
message.updatedAt = reader.uint64();
|
|
18300
18363
|
break;
|
|
18301
18364
|
default:
|
|
@@ -18360,6 +18423,14 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18360
18423
|
return "variations." + error;
|
|
18361
18424
|
}
|
|
18362
18425
|
}
|
|
18426
|
+
if (message.statCardText != null && message.hasOwnProperty("statCardText")) {
|
|
18427
|
+
if (!$util.isObject(message.statCardText))
|
|
18428
|
+
return "statCardText: object expected";
|
|
18429
|
+
var key = Object.keys(message.statCardText);
|
|
18430
|
+
for (var i = 0; i < key.length; ++i)
|
|
18431
|
+
if (!$util.isString(message.statCardText[key[i]]))
|
|
18432
|
+
return "statCardText: string{k:string} expected";
|
|
18433
|
+
}
|
|
18363
18434
|
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
18364
18435
|
if (!Array.isArray(message.accessGroup))
|
|
18365
18436
|
return "accessGroup: array expected";
|
|
@@ -18410,6 +18481,13 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18410
18481
|
message.variations[keys[i]] = $root.contentful.SlugReferences.fromObject(object.variations[keys[i]]);
|
|
18411
18482
|
}
|
|
18412
18483
|
}
|
|
18484
|
+
if (object.statCardText) {
|
|
18485
|
+
if (typeof object.statCardText !== "object")
|
|
18486
|
+
throw TypeError(".ContentfulActivityUpdated.statCardText: object expected");
|
|
18487
|
+
message.statCardText = {};
|
|
18488
|
+
for (var keys = Object.keys(object.statCardText), i = 0; i < keys.length; ++i)
|
|
18489
|
+
message.statCardText[keys[i]] = String(object.statCardText[keys[i]]);
|
|
18490
|
+
}
|
|
18413
18491
|
if (object.accessGroup) {
|
|
18414
18492
|
if (!Array.isArray(object.accessGroup))
|
|
18415
18493
|
throw TypeError(".ContentfulActivityUpdated.accessGroup: array expected");
|
|
@@ -18450,6 +18528,7 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18450
18528
|
if (options.objects || options.defaults) {
|
|
18451
18529
|
object.name = {};
|
|
18452
18530
|
object.variations = {};
|
|
18531
|
+
object.statCardText = {};
|
|
18453
18532
|
}
|
|
18454
18533
|
if (options.defaults) {
|
|
18455
18534
|
object.slug = "";
|
|
@@ -18478,6 +18557,11 @@ $root.ContentfulActivityUpdated = (function() {
|
|
|
18478
18557
|
for (var j = 0; j < keys2.length; ++j)
|
|
18479
18558
|
object.variations[keys2[j]] = $root.contentful.SlugReferences.toObject(message.variations[keys2[j]], options);
|
|
18480
18559
|
}
|
|
18560
|
+
if (message.statCardText && (keys2 = Object.keys(message.statCardText)).length) {
|
|
18561
|
+
object.statCardText = {};
|
|
18562
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
18563
|
+
object.statCardText[keys2[j]] = message.statCardText[keys2[j]];
|
|
18564
|
+
}
|
|
18481
18565
|
if (message.accessGroup && message.accessGroup.length) {
|
|
18482
18566
|
object.accessGroup = [];
|
|
18483
18567
|
for (var j = 0; j < message.accessGroup.length; ++j)
|
package/package.json
CHANGED