@headspace/protos-events 1.141.0 → 1.142.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 +16 -16
- package/lib/index.js +120 -120
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8585,8 +8585,8 @@ export interface IActivityGroupCreated {
|
|
|
8585
8585
|
/** ActivityGroupCreated slug */
|
|
8586
8586
|
slug?: (string|null);
|
|
8587
8587
|
|
|
8588
|
-
/** ActivityGroupCreated
|
|
8589
|
-
|
|
8588
|
+
/** ActivityGroupCreated accessGroup */
|
|
8589
|
+
accessGroup?: (contentful.ISlugReference[]|null);
|
|
8590
8590
|
|
|
8591
8591
|
/** ActivityGroupCreated createdAt */
|
|
8592
8592
|
createdAt?: (number|Long|null);
|
|
@@ -8604,8 +8604,8 @@ export class ActivityGroupCreated implements IActivityGroupCreated {
|
|
|
8604
8604
|
/** ActivityGroupCreated slug. */
|
|
8605
8605
|
public slug: string;
|
|
8606
8606
|
|
|
8607
|
-
/** ActivityGroupCreated
|
|
8608
|
-
public
|
|
8607
|
+
/** ActivityGroupCreated accessGroup. */
|
|
8608
|
+
public accessGroup: contentful.ISlugReference[];
|
|
8609
8609
|
|
|
8610
8610
|
/** ActivityGroupCreated createdAt. */
|
|
8611
8611
|
public createdAt: (number|Long);
|
|
@@ -8687,8 +8687,8 @@ export interface IActivityGroupUpdated {
|
|
|
8687
8687
|
/** ActivityGroupUpdated slug */
|
|
8688
8688
|
slug?: (string|null);
|
|
8689
8689
|
|
|
8690
|
-
/** ActivityGroupUpdated
|
|
8691
|
-
|
|
8690
|
+
/** ActivityGroupUpdated accessGroup */
|
|
8691
|
+
accessGroup?: (contentful.ISlugReference[]|null);
|
|
8692
8692
|
|
|
8693
8693
|
/** ActivityGroupUpdated updatedAt */
|
|
8694
8694
|
updatedAt?: (number|Long|null);
|
|
@@ -8706,8 +8706,8 @@ export class ActivityGroupUpdated implements IActivityGroupUpdated {
|
|
|
8706
8706
|
/** ActivityGroupUpdated slug. */
|
|
8707
8707
|
public slug: string;
|
|
8708
8708
|
|
|
8709
|
-
/** ActivityGroupUpdated
|
|
8710
|
-
public
|
|
8709
|
+
/** ActivityGroupUpdated accessGroup. */
|
|
8710
|
+
public accessGroup: contentful.ISlugReference[];
|
|
8711
8711
|
|
|
8712
8712
|
/** ActivityGroupUpdated updatedAt. */
|
|
8713
8713
|
public updatedAt: (number|Long);
|
|
@@ -9095,8 +9095,8 @@ export interface IActivityCreated {
|
|
|
9095
9095
|
/** ActivityCreated slug */
|
|
9096
9096
|
slug?: (string|null);
|
|
9097
9097
|
|
|
9098
|
-
/** ActivityCreated
|
|
9099
|
-
|
|
9098
|
+
/** ActivityCreated accessGroup */
|
|
9099
|
+
accessGroup?: (contentful.ISlugReference[]|null);
|
|
9100
9100
|
|
|
9101
9101
|
/** ActivityCreated createdAt */
|
|
9102
9102
|
createdAt?: (number|Long|null);
|
|
@@ -9114,8 +9114,8 @@ export class ActivityCreated implements IActivityCreated {
|
|
|
9114
9114
|
/** ActivityCreated slug. */
|
|
9115
9115
|
public slug: string;
|
|
9116
9116
|
|
|
9117
|
-
/** ActivityCreated
|
|
9118
|
-
public
|
|
9117
|
+
/** ActivityCreated accessGroup. */
|
|
9118
|
+
public accessGroup: contentful.ISlugReference[];
|
|
9119
9119
|
|
|
9120
9120
|
/** ActivityCreated createdAt. */
|
|
9121
9121
|
public createdAt: (number|Long);
|
|
@@ -9197,8 +9197,8 @@ export interface IActivityUpdated {
|
|
|
9197
9197
|
/** ActivityUpdated slug */
|
|
9198
9198
|
slug?: (string|null);
|
|
9199
9199
|
|
|
9200
|
-
/** ActivityUpdated
|
|
9201
|
-
|
|
9200
|
+
/** ActivityUpdated accessGroup */
|
|
9201
|
+
accessGroup?: (contentful.ISlugReference[]|null);
|
|
9202
9202
|
|
|
9203
9203
|
/** ActivityUpdated updatedAt */
|
|
9204
9204
|
updatedAt?: (number|Long|null);
|
|
@@ -9216,8 +9216,8 @@ export class ActivityUpdated implements IActivityUpdated {
|
|
|
9216
9216
|
/** ActivityUpdated slug. */
|
|
9217
9217
|
public slug: string;
|
|
9218
9218
|
|
|
9219
|
-
/** ActivityUpdated
|
|
9220
|
-
public
|
|
9219
|
+
/** ActivityUpdated accessGroup. */
|
|
9220
|
+
public accessGroup: contentful.ISlugReference[];
|
|
9221
9221
|
|
|
9222
9222
|
/** ActivityUpdated updatedAt. */
|
|
9223
9223
|
public updatedAt: (number|Long);
|
package/lib/index.js
CHANGED
|
@@ -23834,7 +23834,7 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23834
23834
|
* @exports IActivityGroupCreated
|
|
23835
23835
|
* @interface IActivityGroupCreated
|
|
23836
23836
|
* @property {string|null} [slug] ActivityGroupCreated slug
|
|
23837
|
-
* @property {Array.<contentful.ISlugReference>|null} [
|
|
23837
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ActivityGroupCreated accessGroup
|
|
23838
23838
|
* @property {number|Long|null} [createdAt] ActivityGroupCreated createdAt
|
|
23839
23839
|
*/
|
|
23840
23840
|
|
|
@@ -23847,7 +23847,7 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23847
23847
|
* @param {IActivityGroupCreated=} [properties] Properties to set
|
|
23848
23848
|
*/
|
|
23849
23849
|
function ActivityGroupCreated(properties) {
|
|
23850
|
-
this.
|
|
23850
|
+
this.accessGroup = [];
|
|
23851
23851
|
if (properties)
|
|
23852
23852
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23853
23853
|
if (properties[keys[i]] != null)
|
|
@@ -23863,12 +23863,12 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23863
23863
|
ActivityGroupCreated.prototype.slug = "";
|
|
23864
23864
|
|
|
23865
23865
|
/**
|
|
23866
|
-
* ActivityGroupCreated
|
|
23867
|
-
* @member {Array.<contentful.ISlugReference>}
|
|
23866
|
+
* ActivityGroupCreated accessGroup.
|
|
23867
|
+
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
23868
23868
|
* @memberof ActivityGroupCreated
|
|
23869
23869
|
* @instance
|
|
23870
23870
|
*/
|
|
23871
|
-
ActivityGroupCreated.prototype.
|
|
23871
|
+
ActivityGroupCreated.prototype.accessGroup = $util.emptyArray;
|
|
23872
23872
|
|
|
23873
23873
|
/**
|
|
23874
23874
|
* ActivityGroupCreated createdAt.
|
|
@@ -23904,9 +23904,9 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23904
23904
|
writer = $Writer.create();
|
|
23905
23905
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
23906
23906
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
23907
|
-
if (message.
|
|
23908
|
-
for (var i = 0; i < message.
|
|
23909
|
-
$root.contentful.SlugReference.encode(message.
|
|
23907
|
+
if (message.accessGroup != null && message.accessGroup.length)
|
|
23908
|
+
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
23909
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
23910
23910
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
23911
23911
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
23912
23912
|
return writer;
|
|
@@ -23947,9 +23947,9 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23947
23947
|
message.slug = reader.string();
|
|
23948
23948
|
break;
|
|
23949
23949
|
case 2:
|
|
23950
|
-
if (!(message.
|
|
23951
|
-
message.
|
|
23952
|
-
message.
|
|
23950
|
+
if (!(message.accessGroup && message.accessGroup.length))
|
|
23951
|
+
message.accessGroup = [];
|
|
23952
|
+
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
23953
23953
|
break;
|
|
23954
23954
|
case 3:
|
|
23955
23955
|
message.createdAt = reader.uint64();
|
|
@@ -23992,13 +23992,13 @@ $root.ActivityGroupCreated = (function() {
|
|
|
23992
23992
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
23993
23993
|
if (!$util.isString(message.slug))
|
|
23994
23994
|
return "slug: string expected";
|
|
23995
|
-
if (message.
|
|
23996
|
-
if (!Array.isArray(message.
|
|
23997
|
-
return "
|
|
23998
|
-
for (var i = 0; i < message.
|
|
23999
|
-
var error = $root.contentful.SlugReference.verify(message.
|
|
23995
|
+
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
23996
|
+
if (!Array.isArray(message.accessGroup))
|
|
23997
|
+
return "accessGroup: array expected";
|
|
23998
|
+
for (var i = 0; i < message.accessGroup.length; ++i) {
|
|
23999
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroup[i]);
|
|
24000
24000
|
if (error)
|
|
24001
|
-
return "
|
|
24001
|
+
return "accessGroup." + error;
|
|
24002
24002
|
}
|
|
24003
24003
|
}
|
|
24004
24004
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
@@ -24021,14 +24021,14 @@ $root.ActivityGroupCreated = (function() {
|
|
|
24021
24021
|
var message = new $root.ActivityGroupCreated();
|
|
24022
24022
|
if (object.slug != null)
|
|
24023
24023
|
message.slug = String(object.slug);
|
|
24024
|
-
if (object.
|
|
24025
|
-
if (!Array.isArray(object.
|
|
24026
|
-
throw TypeError(".ActivityGroupCreated.
|
|
24027
|
-
message.
|
|
24028
|
-
for (var i = 0; i < object.
|
|
24029
|
-
if (typeof object.
|
|
24030
|
-
throw TypeError(".ActivityGroupCreated.
|
|
24031
|
-
message.
|
|
24024
|
+
if (object.accessGroup) {
|
|
24025
|
+
if (!Array.isArray(object.accessGroup))
|
|
24026
|
+
throw TypeError(".ActivityGroupCreated.accessGroup: array expected");
|
|
24027
|
+
message.accessGroup = [];
|
|
24028
|
+
for (var i = 0; i < object.accessGroup.length; ++i) {
|
|
24029
|
+
if (typeof object.accessGroup[i] !== "object")
|
|
24030
|
+
throw TypeError(".ActivityGroupCreated.accessGroup: object expected");
|
|
24031
|
+
message.accessGroup[i] = $root.contentful.SlugReference.fromObject(object.accessGroup[i]);
|
|
24032
24032
|
}
|
|
24033
24033
|
}
|
|
24034
24034
|
if (object.createdAt != null)
|
|
@@ -24057,7 +24057,7 @@ $root.ActivityGroupCreated = (function() {
|
|
|
24057
24057
|
options = {};
|
|
24058
24058
|
var object = {};
|
|
24059
24059
|
if (options.arrays || options.defaults)
|
|
24060
|
-
object.
|
|
24060
|
+
object.accessGroup = [];
|
|
24061
24061
|
if (options.defaults) {
|
|
24062
24062
|
object.slug = "";
|
|
24063
24063
|
if ($util.Long) {
|
|
@@ -24068,10 +24068,10 @@ $root.ActivityGroupCreated = (function() {
|
|
|
24068
24068
|
}
|
|
24069
24069
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24070
24070
|
object.slug = message.slug;
|
|
24071
|
-
if (message.
|
|
24072
|
-
object.
|
|
24073
|
-
for (var j = 0; j < message.
|
|
24074
|
-
object.
|
|
24071
|
+
if (message.accessGroup && message.accessGroup.length) {
|
|
24072
|
+
object.accessGroup = [];
|
|
24073
|
+
for (var j = 0; j < message.accessGroup.length; ++j)
|
|
24074
|
+
object.accessGroup[j] = $root.contentful.SlugReference.toObject(message.accessGroup[j], options);
|
|
24075
24075
|
}
|
|
24076
24076
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
24077
24077
|
if (typeof message.createdAt === "number")
|
|
@@ -24102,7 +24102,7 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24102
24102
|
* @exports IActivityGroupUpdated
|
|
24103
24103
|
* @interface IActivityGroupUpdated
|
|
24104
24104
|
* @property {string|null} [slug] ActivityGroupUpdated slug
|
|
24105
|
-
* @property {Array.<contentful.ISlugReference>|null} [
|
|
24105
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ActivityGroupUpdated accessGroup
|
|
24106
24106
|
* @property {number|Long|null} [updatedAt] ActivityGroupUpdated updatedAt
|
|
24107
24107
|
*/
|
|
24108
24108
|
|
|
@@ -24115,7 +24115,7 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24115
24115
|
* @param {IActivityGroupUpdated=} [properties] Properties to set
|
|
24116
24116
|
*/
|
|
24117
24117
|
function ActivityGroupUpdated(properties) {
|
|
24118
|
-
this.
|
|
24118
|
+
this.accessGroup = [];
|
|
24119
24119
|
if (properties)
|
|
24120
24120
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
24121
24121
|
if (properties[keys[i]] != null)
|
|
@@ -24131,12 +24131,12 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24131
24131
|
ActivityGroupUpdated.prototype.slug = "";
|
|
24132
24132
|
|
|
24133
24133
|
/**
|
|
24134
|
-
* ActivityGroupUpdated
|
|
24135
|
-
* @member {Array.<contentful.ISlugReference>}
|
|
24134
|
+
* ActivityGroupUpdated accessGroup.
|
|
24135
|
+
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
24136
24136
|
* @memberof ActivityGroupUpdated
|
|
24137
24137
|
* @instance
|
|
24138
24138
|
*/
|
|
24139
|
-
ActivityGroupUpdated.prototype.
|
|
24139
|
+
ActivityGroupUpdated.prototype.accessGroup = $util.emptyArray;
|
|
24140
24140
|
|
|
24141
24141
|
/**
|
|
24142
24142
|
* ActivityGroupUpdated updatedAt.
|
|
@@ -24172,9 +24172,9 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24172
24172
|
writer = $Writer.create();
|
|
24173
24173
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24174
24174
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
24175
|
-
if (message.
|
|
24176
|
-
for (var i = 0; i < message.
|
|
24177
|
-
$root.contentful.SlugReference.encode(message.
|
|
24175
|
+
if (message.accessGroup != null && message.accessGroup.length)
|
|
24176
|
+
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
24177
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
24178
24178
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
24179
24179
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
24180
24180
|
return writer;
|
|
@@ -24215,9 +24215,9 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24215
24215
|
message.slug = reader.string();
|
|
24216
24216
|
break;
|
|
24217
24217
|
case 2:
|
|
24218
|
-
if (!(message.
|
|
24219
|
-
message.
|
|
24220
|
-
message.
|
|
24218
|
+
if (!(message.accessGroup && message.accessGroup.length))
|
|
24219
|
+
message.accessGroup = [];
|
|
24220
|
+
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
24221
24221
|
break;
|
|
24222
24222
|
case 3:
|
|
24223
24223
|
message.updatedAt = reader.uint64();
|
|
@@ -24260,13 +24260,13 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24260
24260
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24261
24261
|
if (!$util.isString(message.slug))
|
|
24262
24262
|
return "slug: string expected";
|
|
24263
|
-
if (message.
|
|
24264
|
-
if (!Array.isArray(message.
|
|
24265
|
-
return "
|
|
24266
|
-
for (var i = 0; i < message.
|
|
24267
|
-
var error = $root.contentful.SlugReference.verify(message.
|
|
24263
|
+
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
24264
|
+
if (!Array.isArray(message.accessGroup))
|
|
24265
|
+
return "accessGroup: array expected";
|
|
24266
|
+
for (var i = 0; i < message.accessGroup.length; ++i) {
|
|
24267
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroup[i]);
|
|
24268
24268
|
if (error)
|
|
24269
|
-
return "
|
|
24269
|
+
return "accessGroup." + error;
|
|
24270
24270
|
}
|
|
24271
24271
|
}
|
|
24272
24272
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
@@ -24289,14 +24289,14 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24289
24289
|
var message = new $root.ActivityGroupUpdated();
|
|
24290
24290
|
if (object.slug != null)
|
|
24291
24291
|
message.slug = String(object.slug);
|
|
24292
|
-
if (object.
|
|
24293
|
-
if (!Array.isArray(object.
|
|
24294
|
-
throw TypeError(".ActivityGroupUpdated.
|
|
24295
|
-
message.
|
|
24296
|
-
for (var i = 0; i < object.
|
|
24297
|
-
if (typeof object.
|
|
24298
|
-
throw TypeError(".ActivityGroupUpdated.
|
|
24299
|
-
message.
|
|
24292
|
+
if (object.accessGroup) {
|
|
24293
|
+
if (!Array.isArray(object.accessGroup))
|
|
24294
|
+
throw TypeError(".ActivityGroupUpdated.accessGroup: array expected");
|
|
24295
|
+
message.accessGroup = [];
|
|
24296
|
+
for (var i = 0; i < object.accessGroup.length; ++i) {
|
|
24297
|
+
if (typeof object.accessGroup[i] !== "object")
|
|
24298
|
+
throw TypeError(".ActivityGroupUpdated.accessGroup: object expected");
|
|
24299
|
+
message.accessGroup[i] = $root.contentful.SlugReference.fromObject(object.accessGroup[i]);
|
|
24300
24300
|
}
|
|
24301
24301
|
}
|
|
24302
24302
|
if (object.updatedAt != null)
|
|
@@ -24325,7 +24325,7 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24325
24325
|
options = {};
|
|
24326
24326
|
var object = {};
|
|
24327
24327
|
if (options.arrays || options.defaults)
|
|
24328
|
-
object.
|
|
24328
|
+
object.accessGroup = [];
|
|
24329
24329
|
if (options.defaults) {
|
|
24330
24330
|
object.slug = "";
|
|
24331
24331
|
if ($util.Long) {
|
|
@@ -24336,10 +24336,10 @@ $root.ActivityGroupUpdated = (function() {
|
|
|
24336
24336
|
}
|
|
24337
24337
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
24338
24338
|
object.slug = message.slug;
|
|
24339
|
-
if (message.
|
|
24340
|
-
object.
|
|
24341
|
-
for (var j = 0; j < message.
|
|
24342
|
-
object.
|
|
24339
|
+
if (message.accessGroup && message.accessGroup.length) {
|
|
24340
|
+
object.accessGroup = [];
|
|
24341
|
+
for (var j = 0; j < message.accessGroup.length; ++j)
|
|
24342
|
+
object.accessGroup[j] = $root.contentful.SlugReference.toObject(message.accessGroup[j], options);
|
|
24343
24343
|
}
|
|
24344
24344
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
24345
24345
|
if (typeof message.updatedAt === "number")
|
|
@@ -25100,7 +25100,7 @@ $root.ActivityCreated = (function() {
|
|
|
25100
25100
|
* @exports IActivityCreated
|
|
25101
25101
|
* @interface IActivityCreated
|
|
25102
25102
|
* @property {string|null} [slug] ActivityCreated slug
|
|
25103
|
-
* @property {Array.<contentful.ISlugReference>|null} [
|
|
25103
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ActivityCreated accessGroup
|
|
25104
25104
|
* @property {number|Long|null} [createdAt] ActivityCreated createdAt
|
|
25105
25105
|
*/
|
|
25106
25106
|
|
|
@@ -25113,7 +25113,7 @@ $root.ActivityCreated = (function() {
|
|
|
25113
25113
|
* @param {IActivityCreated=} [properties] Properties to set
|
|
25114
25114
|
*/
|
|
25115
25115
|
function ActivityCreated(properties) {
|
|
25116
|
-
this.
|
|
25116
|
+
this.accessGroup = [];
|
|
25117
25117
|
if (properties)
|
|
25118
25118
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25119
25119
|
if (properties[keys[i]] != null)
|
|
@@ -25129,12 +25129,12 @@ $root.ActivityCreated = (function() {
|
|
|
25129
25129
|
ActivityCreated.prototype.slug = "";
|
|
25130
25130
|
|
|
25131
25131
|
/**
|
|
25132
|
-
* ActivityCreated
|
|
25133
|
-
* @member {Array.<contentful.ISlugReference>}
|
|
25132
|
+
* ActivityCreated accessGroup.
|
|
25133
|
+
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
25134
25134
|
* @memberof ActivityCreated
|
|
25135
25135
|
* @instance
|
|
25136
25136
|
*/
|
|
25137
|
-
ActivityCreated.prototype.
|
|
25137
|
+
ActivityCreated.prototype.accessGroup = $util.emptyArray;
|
|
25138
25138
|
|
|
25139
25139
|
/**
|
|
25140
25140
|
* ActivityCreated createdAt.
|
|
@@ -25170,9 +25170,9 @@ $root.ActivityCreated = (function() {
|
|
|
25170
25170
|
writer = $Writer.create();
|
|
25171
25171
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
25172
25172
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
25173
|
-
if (message.
|
|
25174
|
-
for (var i = 0; i < message.
|
|
25175
|
-
$root.contentful.SlugReference.encode(message.
|
|
25173
|
+
if (message.accessGroup != null && message.accessGroup.length)
|
|
25174
|
+
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
25175
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
25176
25176
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
25177
25177
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
25178
25178
|
return writer;
|
|
@@ -25213,9 +25213,9 @@ $root.ActivityCreated = (function() {
|
|
|
25213
25213
|
message.slug = reader.string();
|
|
25214
25214
|
break;
|
|
25215
25215
|
case 2:
|
|
25216
|
-
if (!(message.
|
|
25217
|
-
message.
|
|
25218
|
-
message.
|
|
25216
|
+
if (!(message.accessGroup && message.accessGroup.length))
|
|
25217
|
+
message.accessGroup = [];
|
|
25218
|
+
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
25219
25219
|
break;
|
|
25220
25220
|
case 3:
|
|
25221
25221
|
message.createdAt = reader.uint64();
|
|
@@ -25258,13 +25258,13 @@ $root.ActivityCreated = (function() {
|
|
|
25258
25258
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
25259
25259
|
if (!$util.isString(message.slug))
|
|
25260
25260
|
return "slug: string expected";
|
|
25261
|
-
if (message.
|
|
25262
|
-
if (!Array.isArray(message.
|
|
25263
|
-
return "
|
|
25264
|
-
for (var i = 0; i < message.
|
|
25265
|
-
var error = $root.contentful.SlugReference.verify(message.
|
|
25261
|
+
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
25262
|
+
if (!Array.isArray(message.accessGroup))
|
|
25263
|
+
return "accessGroup: array expected";
|
|
25264
|
+
for (var i = 0; i < message.accessGroup.length; ++i) {
|
|
25265
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroup[i]);
|
|
25266
25266
|
if (error)
|
|
25267
|
-
return "
|
|
25267
|
+
return "accessGroup." + error;
|
|
25268
25268
|
}
|
|
25269
25269
|
}
|
|
25270
25270
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
@@ -25287,14 +25287,14 @@ $root.ActivityCreated = (function() {
|
|
|
25287
25287
|
var message = new $root.ActivityCreated();
|
|
25288
25288
|
if (object.slug != null)
|
|
25289
25289
|
message.slug = String(object.slug);
|
|
25290
|
-
if (object.
|
|
25291
|
-
if (!Array.isArray(object.
|
|
25292
|
-
throw TypeError(".ActivityCreated.
|
|
25293
|
-
message.
|
|
25294
|
-
for (var i = 0; i < object.
|
|
25295
|
-
if (typeof object.
|
|
25296
|
-
throw TypeError(".ActivityCreated.
|
|
25297
|
-
message.
|
|
25290
|
+
if (object.accessGroup) {
|
|
25291
|
+
if (!Array.isArray(object.accessGroup))
|
|
25292
|
+
throw TypeError(".ActivityCreated.accessGroup: array expected");
|
|
25293
|
+
message.accessGroup = [];
|
|
25294
|
+
for (var i = 0; i < object.accessGroup.length; ++i) {
|
|
25295
|
+
if (typeof object.accessGroup[i] !== "object")
|
|
25296
|
+
throw TypeError(".ActivityCreated.accessGroup: object expected");
|
|
25297
|
+
message.accessGroup[i] = $root.contentful.SlugReference.fromObject(object.accessGroup[i]);
|
|
25298
25298
|
}
|
|
25299
25299
|
}
|
|
25300
25300
|
if (object.createdAt != null)
|
|
@@ -25323,7 +25323,7 @@ $root.ActivityCreated = (function() {
|
|
|
25323
25323
|
options = {};
|
|
25324
25324
|
var object = {};
|
|
25325
25325
|
if (options.arrays || options.defaults)
|
|
25326
|
-
object.
|
|
25326
|
+
object.accessGroup = [];
|
|
25327
25327
|
if (options.defaults) {
|
|
25328
25328
|
object.slug = "";
|
|
25329
25329
|
if ($util.Long) {
|
|
@@ -25334,10 +25334,10 @@ $root.ActivityCreated = (function() {
|
|
|
25334
25334
|
}
|
|
25335
25335
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
25336
25336
|
object.slug = message.slug;
|
|
25337
|
-
if (message.
|
|
25338
|
-
object.
|
|
25339
|
-
for (var j = 0; j < message.
|
|
25340
|
-
object.
|
|
25337
|
+
if (message.accessGroup && message.accessGroup.length) {
|
|
25338
|
+
object.accessGroup = [];
|
|
25339
|
+
for (var j = 0; j < message.accessGroup.length; ++j)
|
|
25340
|
+
object.accessGroup[j] = $root.contentful.SlugReference.toObject(message.accessGroup[j], options);
|
|
25341
25341
|
}
|
|
25342
25342
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
25343
25343
|
if (typeof message.createdAt === "number")
|
|
@@ -25368,7 +25368,7 @@ $root.ActivityUpdated = (function() {
|
|
|
25368
25368
|
* @exports IActivityUpdated
|
|
25369
25369
|
* @interface IActivityUpdated
|
|
25370
25370
|
* @property {string|null} [slug] ActivityUpdated slug
|
|
25371
|
-
* @property {Array.<contentful.ISlugReference>|null} [
|
|
25371
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ActivityUpdated accessGroup
|
|
25372
25372
|
* @property {number|Long|null} [updatedAt] ActivityUpdated updatedAt
|
|
25373
25373
|
*/
|
|
25374
25374
|
|
|
@@ -25381,7 +25381,7 @@ $root.ActivityUpdated = (function() {
|
|
|
25381
25381
|
* @param {IActivityUpdated=} [properties] Properties to set
|
|
25382
25382
|
*/
|
|
25383
25383
|
function ActivityUpdated(properties) {
|
|
25384
|
-
this.
|
|
25384
|
+
this.accessGroup = [];
|
|
25385
25385
|
if (properties)
|
|
25386
25386
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25387
25387
|
if (properties[keys[i]] != null)
|
|
@@ -25397,12 +25397,12 @@ $root.ActivityUpdated = (function() {
|
|
|
25397
25397
|
ActivityUpdated.prototype.slug = "";
|
|
25398
25398
|
|
|
25399
25399
|
/**
|
|
25400
|
-
* ActivityUpdated
|
|
25401
|
-
* @member {Array.<contentful.ISlugReference>}
|
|
25400
|
+
* ActivityUpdated accessGroup.
|
|
25401
|
+
* @member {Array.<contentful.ISlugReference>} accessGroup
|
|
25402
25402
|
* @memberof ActivityUpdated
|
|
25403
25403
|
* @instance
|
|
25404
25404
|
*/
|
|
25405
|
-
ActivityUpdated.prototype.
|
|
25405
|
+
ActivityUpdated.prototype.accessGroup = $util.emptyArray;
|
|
25406
25406
|
|
|
25407
25407
|
/**
|
|
25408
25408
|
* ActivityUpdated updatedAt.
|
|
@@ -25438,9 +25438,9 @@ $root.ActivityUpdated = (function() {
|
|
|
25438
25438
|
writer = $Writer.create();
|
|
25439
25439
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
25440
25440
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
25441
|
-
if (message.
|
|
25442
|
-
for (var i = 0; i < message.
|
|
25443
|
-
$root.contentful.SlugReference.encode(message.
|
|
25441
|
+
if (message.accessGroup != null && message.accessGroup.length)
|
|
25442
|
+
for (var i = 0; i < message.accessGroup.length; ++i)
|
|
25443
|
+
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
25444
25444
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
25445
25445
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
25446
25446
|
return writer;
|
|
@@ -25481,9 +25481,9 @@ $root.ActivityUpdated = (function() {
|
|
|
25481
25481
|
message.slug = reader.string();
|
|
25482
25482
|
break;
|
|
25483
25483
|
case 2:
|
|
25484
|
-
if (!(message.
|
|
25485
|
-
message.
|
|
25486
|
-
message.
|
|
25484
|
+
if (!(message.accessGroup && message.accessGroup.length))
|
|
25485
|
+
message.accessGroup = [];
|
|
25486
|
+
message.accessGroup.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
25487
25487
|
break;
|
|
25488
25488
|
case 3:
|
|
25489
25489
|
message.updatedAt = reader.uint64();
|
|
@@ -25526,13 +25526,13 @@ $root.ActivityUpdated = (function() {
|
|
|
25526
25526
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
25527
25527
|
if (!$util.isString(message.slug))
|
|
25528
25528
|
return "slug: string expected";
|
|
25529
|
-
if (message.
|
|
25530
|
-
if (!Array.isArray(message.
|
|
25531
|
-
return "
|
|
25532
|
-
for (var i = 0; i < message.
|
|
25533
|
-
var error = $root.contentful.SlugReference.verify(message.
|
|
25529
|
+
if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
|
|
25530
|
+
if (!Array.isArray(message.accessGroup))
|
|
25531
|
+
return "accessGroup: array expected";
|
|
25532
|
+
for (var i = 0; i < message.accessGroup.length; ++i) {
|
|
25533
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroup[i]);
|
|
25534
25534
|
if (error)
|
|
25535
|
-
return "
|
|
25535
|
+
return "accessGroup." + error;
|
|
25536
25536
|
}
|
|
25537
25537
|
}
|
|
25538
25538
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
@@ -25555,14 +25555,14 @@ $root.ActivityUpdated = (function() {
|
|
|
25555
25555
|
var message = new $root.ActivityUpdated();
|
|
25556
25556
|
if (object.slug != null)
|
|
25557
25557
|
message.slug = String(object.slug);
|
|
25558
|
-
if (object.
|
|
25559
|
-
if (!Array.isArray(object.
|
|
25560
|
-
throw TypeError(".ActivityUpdated.
|
|
25561
|
-
message.
|
|
25562
|
-
for (var i = 0; i < object.
|
|
25563
|
-
if (typeof object.
|
|
25564
|
-
throw TypeError(".ActivityUpdated.
|
|
25565
|
-
message.
|
|
25558
|
+
if (object.accessGroup) {
|
|
25559
|
+
if (!Array.isArray(object.accessGroup))
|
|
25560
|
+
throw TypeError(".ActivityUpdated.accessGroup: array expected");
|
|
25561
|
+
message.accessGroup = [];
|
|
25562
|
+
for (var i = 0; i < object.accessGroup.length; ++i) {
|
|
25563
|
+
if (typeof object.accessGroup[i] !== "object")
|
|
25564
|
+
throw TypeError(".ActivityUpdated.accessGroup: object expected");
|
|
25565
|
+
message.accessGroup[i] = $root.contentful.SlugReference.fromObject(object.accessGroup[i]);
|
|
25566
25566
|
}
|
|
25567
25567
|
}
|
|
25568
25568
|
if (object.updatedAt != null)
|
|
@@ -25591,7 +25591,7 @@ $root.ActivityUpdated = (function() {
|
|
|
25591
25591
|
options = {};
|
|
25592
25592
|
var object = {};
|
|
25593
25593
|
if (options.arrays || options.defaults)
|
|
25594
|
-
object.
|
|
25594
|
+
object.accessGroup = [];
|
|
25595
25595
|
if (options.defaults) {
|
|
25596
25596
|
object.slug = "";
|
|
25597
25597
|
if ($util.Long) {
|
|
@@ -25602,10 +25602,10 @@ $root.ActivityUpdated = (function() {
|
|
|
25602
25602
|
}
|
|
25603
25603
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
25604
25604
|
object.slug = message.slug;
|
|
25605
|
-
if (message.
|
|
25606
|
-
object.
|
|
25607
|
-
for (var j = 0; j < message.
|
|
25608
|
-
object.
|
|
25605
|
+
if (message.accessGroup && message.accessGroup.length) {
|
|
25606
|
+
object.accessGroup = [];
|
|
25607
|
+
for (var j = 0; j < message.accessGroup.length; ++j)
|
|
25608
|
+
object.accessGroup[j] = $root.contentful.SlugReference.toObject(message.accessGroup[j], options);
|
|
25609
25609
|
}
|
|
25610
25610
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
25611
25611
|
if (typeof message.updatedAt === "number")
|
package/package.json
CHANGED