@headspace/protos-events 1.142.0 → 1.143.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 +50 -6
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8585,6 +8585,9 @@ export interface IActivityGroupCreated {
|
|
|
8585
8585
|
/** ActivityGroupCreated slug */
|
|
8586
8586
|
slug?: (string|null);
|
|
8587
8587
|
|
|
8588
|
+
/** ActivityGroupCreated contentType */
|
|
8589
|
+
contentType?: (string|null);
|
|
8590
|
+
|
|
8588
8591
|
/** ActivityGroupCreated accessGroup */
|
|
8589
8592
|
accessGroup?: (contentful.ISlugReference[]|null);
|
|
8590
8593
|
|
|
@@ -8604,6 +8607,9 @@ export class ActivityGroupCreated implements IActivityGroupCreated {
|
|
|
8604
8607
|
/** ActivityGroupCreated slug. */
|
|
8605
8608
|
public slug: string;
|
|
8606
8609
|
|
|
8610
|
+
/** ActivityGroupCreated contentType. */
|
|
8611
|
+
public contentType: string;
|
|
8612
|
+
|
|
8607
8613
|
/** ActivityGroupCreated accessGroup. */
|
|
8608
8614
|
public accessGroup: contentful.ISlugReference[];
|
|
8609
8615
|
|
|
@@ -8687,6 +8693,9 @@ export interface IActivityGroupUpdated {
|
|
|
8687
8693
|
/** ActivityGroupUpdated slug */
|
|
8688
8694
|
slug?: (string|null);
|
|
8689
8695
|
|
|
8696
|
+
/** ActivityGroupUpdated contentType */
|
|
8697
|
+
contentType?: (string|null);
|
|
8698
|
+
|
|
8690
8699
|
/** ActivityGroupUpdated accessGroup */
|
|
8691
8700
|
accessGroup?: (contentful.ISlugReference[]|null);
|
|
8692
8701
|
|
|
@@ -8706,6 +8715,9 @@ export class ActivityGroupUpdated implements IActivityGroupUpdated {
|
|
|
8706
8715
|
/** ActivityGroupUpdated slug. */
|
|
8707
8716
|
public slug: string;
|
|
8708
8717
|
|
|
8718
|
+
/** ActivityGroupUpdated contentType. */
|
|
8719
|
+
public contentType: string;
|
|
8720
|
+
|
|
8709
8721
|
/** ActivityGroupUpdated accessGroup. */
|
|
8710
8722
|
public accessGroup: contentful.ISlugReference[];
|
|
8711
8723
|
|
package/lib/index.js
CHANGED
|
@@ -23834,6 +23834,7 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23834
23834
|
* @exports IActivityGroupCreated
|
|
23835
23835
|
* @interface IActivityGroupCreated
|
|
23836
23836
|
* @property {string|null} [slug] ActivityGroupCreated slug
|
|
23837
|
+
* @property {string|null} [contentType] ActivityGroupCreated contentType
|
|
23837
23838
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ActivityGroupCreated accessGroup
|
|
23838
23839
|
* @property {number|Long|null} [createdAt] ActivityGroupCreated createdAt
|
|
23839
23840
|
*/
|
|
@@ -23862,6 +23863,14 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23862
23863
|
*/
|
|
23863
23864
|
ActivityGroupCreated.prototype.slug = "";
|
|
23864
23865
|
|
|
23866
|
+
/**
|
|
23867
|
+
* ActivityGroupCreated contentType.
|
|
23868
|
+
* @member {string} contentType
|
|
23869
|
+
* @memberof ActivityGroupCreated
|
|
23870
|
+
* @instance
|
|
23871
|
+
*/
|
|
23872
|
+
ActivityGroupCreated.prototype.contentType = "";
|
|
23873
|
+
|
|
23865
23874
|
/**
|
|
23866
23875
|
* ActivityGroupCreated accessGroup.
|
|
23867
23876
|
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
@@ -23904,11 +23913,13 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23904
23913
|
writer = $Writer.create();
|
|
23905
23914
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
23906
23915
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
23916
|
+
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
23917
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.contentType);
|
|
23907
23918
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
23908
23919
|
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
23909
|
-
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id
|
|
23920
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
23910
23921
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
23911
|
-
writer.uint32(/* id
|
|
23922
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
23912
23923
|
return writer;
|
|
23913
23924
|
};
|
|
23914
23925
|
|
|
@@ -23947,11 +23958,14 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23947
23958
|
message.slug = reader.string();
|
|
23948
23959
|
break;
|
|
23949
23960
|
case 2:
|
|
23961
|
+
message.contentType = reader.string();
|
|
23962
|
+
break;
|
|
23963
|
+
case 3:
|
|
23950
23964
|
if (!(message.accessGroup && message.accessGroup.length))
|
|
23951
23965
|
message.accessGroup = [];
|
|
23952
23966
|
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
23953
23967
|
break;
|
|
23954
|
-
case
|
|
23968
|
+
case 4:
|
|
23955
23969
|
message.createdAt = reader.uint64();
|
|
23956
23970
|
break;
|
|
23957
23971
|
default:
|
|
@@ -23992,6 +24006,9 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23992
24006
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
23993
24007
|
if (!$util.isString(message.slug))
|
|
23994
24008
|
return "slug: string expected";
|
|
24009
|
+
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
24010
|
+
if (!$util.isString(message.contentType))
|
|
24011
|
+
return "contentType: string expected";
|
|
23995
24012
|
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
23996
24013
|
if (!Array.isArray(message.accessGroup))
|
|
23997
24014
|
return "accessGroup: array expected";
|
|
@@ -24021,6 +24038,8 @@ $root.ActivityGroupCreated = (function() {
|
|
|
24021
24038
|
var message = new $root.ActivityGroupCreated();
|
|
24022
24039
|
if (object.slug != null)
|
|
24023
24040
|
message.slug = String(object.slug);
|
|
24041
|
+
if (object.contentType != null)
|
|
24042
|
+
message.contentType = String(object.contentType);
|
|
24024
24043
|
if (object.accessGroup) {
|
|
24025
24044
|
if (!Array.isArray(object.accessGroup))
|
|
24026
24045
|
throw TypeError(".ActivityGroupCreated.accessGroup: array expected");
|
|
@@ -24060,6 +24079,7 @@ $root.ActivityGroupCreated = (function() {
|
|
|
24060
24079
|
object.accessGroup = [];
|
|
24061
24080
|
if (options.defaults) {
|
|
24062
24081
|
object.slug = "";
|
|
24082
|
+
object.contentType = "";
|
|
24063
24083
|
if ($util.Long) {
|
|
24064
24084
|
var long = new $util.Long(0, 0, true);
|
|
24065
24085
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -24068,6 +24088,8 @@ $root.ActivityGroupCreated = (function() {
|
|
|
24068
24088
|
}
|
|
24069
24089
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24070
24090
|
object.slug = message.slug;
|
|
24091
|
+
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
24092
|
+
object.contentType = message.contentType;
|
|
24071
24093
|
if (message.accessGroup && message.accessGroup.length) {
|
|
24072
24094
|
object.accessGroup = [];
|
|
24073
24095
|
for (var j = 0; j < message.accessGroup.length; ++j)
|
|
@@ -24102,6 +24124,7 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24102
24124
|
* @exports IActivityGroupUpdated
|
|
24103
24125
|
* @interface IActivityGroupUpdated
|
|
24104
24126
|
* @property {string|null} [slug] ActivityGroupUpdated slug
|
|
24127
|
+
* @property {string|null} [contentType] ActivityGroupUpdated contentType
|
|
24105
24128
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ActivityGroupUpdated accessGroup
|
|
24106
24129
|
* @property {number|Long|null} [updatedAt] ActivityGroupUpdated updatedAt
|
|
24107
24130
|
*/
|
|
@@ -24130,6 +24153,14 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24130
24153
|
*/
|
|
24131
24154
|
ActivityGroupUpdated.prototype.slug = "";
|
|
24132
24155
|
|
|
24156
|
+
/**
|
|
24157
|
+
* ActivityGroupUpdated contentType.
|
|
24158
|
+
* @member {string} contentType
|
|
24159
|
+
* @memberof ActivityGroupUpdated
|
|
24160
|
+
* @instance
|
|
24161
|
+
*/
|
|
24162
|
+
ActivityGroupUpdated.prototype.contentType = "";
|
|
24163
|
+
|
|
24133
24164
|
/**
|
|
24134
24165
|
* ActivityGroupUpdated accessGroup.
|
|
24135
24166
|
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
@@ -24172,11 +24203,13 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24172
24203
|
writer = $Writer.create();
|
|
24173
24204
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24174
24205
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
24206
|
+
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
24207
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.contentType);
|
|
24175
24208
|
if (message.accessGroup != null && message.accessGroup.length)
|
|
24176
24209
|
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
24177
|
-
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id
|
|
24210
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
24178
24211
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
24179
|
-
writer.uint32(/* id
|
|
24212
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
|
|
24180
24213
|
return writer;
|
|
24181
24214
|
};
|
|
24182
24215
|
|
|
@@ -24215,11 +24248,14 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24215
24248
|
message.slug = reader.string();
|
|
24216
24249
|
break;
|
|
24217
24250
|
case 2:
|
|
24251
|
+
message.contentType = reader.string();
|
|
24252
|
+
break;
|
|
24253
|
+
case 3:
|
|
24218
24254
|
if (!(message.accessGroup && message.accessGroup.length))
|
|
24219
24255
|
message.accessGroup = [];
|
|
24220
24256
|
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
24221
24257
|
break;
|
|
24222
|
-
case
|
|
24258
|
+
case 4:
|
|
24223
24259
|
message.updatedAt = reader.uint64();
|
|
24224
24260
|
break;
|
|
24225
24261
|
default:
|
|
@@ -24260,6 +24296,9 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24260
24296
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24261
24297
|
if (!$util.isString(message.slug))
|
|
24262
24298
|
return "slug: string expected";
|
|
24299
|
+
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
24300
|
+
if (!$util.isString(message.contentType))
|
|
24301
|
+
return "contentType: string expected";
|
|
24263
24302
|
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
24264
24303
|
if (!Array.isArray(message.accessGroup))
|
|
24265
24304
|
return "accessGroup: array expected";
|
|
@@ -24289,6 +24328,8 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24289
24328
|
var message = new $root.ActivityGroupUpdated();
|
|
24290
24329
|
if (object.slug != null)
|
|
24291
24330
|
message.slug = String(object.slug);
|
|
24331
|
+
if (object.contentType != null)
|
|
24332
|
+
message.contentType = String(object.contentType);
|
|
24292
24333
|
if (object.accessGroup) {
|
|
24293
24334
|
if (!Array.isArray(object.accessGroup))
|
|
24294
24335
|
throw TypeError(".ActivityGroupUpdated.accessGroup: array expected");
|
|
@@ -24328,6 +24369,7 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24328
24369
|
object.accessGroup = [];
|
|
24329
24370
|
if (options.defaults) {
|
|
24330
24371
|
object.slug = "";
|
|
24372
|
+
object.contentType = "";
|
|
24331
24373
|
if ($util.Long) {
|
|
24332
24374
|
var long = new $util.Long(0, 0, true);
|
|
24333
24375
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -24336,6 +24378,8 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24336
24378
|
}
|
|
24337
24379
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24338
24380
|
object.slug = message.slug;
|
|
24381
|
+
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
24382
|
+
object.contentType = message.contentType;
|
|
24339
24383
|
if (message.accessGroup && message.accessGroup.length) {
|
|
24340
24384
|
object.accessGroup = [];
|
|
24341
24385
|
for (var j = 0; j < message.accessGroup.length; ++j)
|
package/package.json
CHANGED