@headspace/protos-events 1.190.0 → 1.191.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 +26 -1
- package/lib/index.js +154 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3318,7 +3318,8 @@ export namespace b2b {
|
|
|
3318
3318
|
REMOVAL_REASON_GRACEFUL_EXIT = 1,
|
|
3319
3319
|
REMOVAL_REASON_MANUAL = 2,
|
|
3320
3320
|
REMOVAL_REASON_EXPIRATION = 3,
|
|
3321
|
-
REMOVAL_REASON_MERGE_ORGS = 4
|
|
3321
|
+
REMOVAL_REASON_MERGE_ORGS = 4,
|
|
3322
|
+
REMOVAL_REASON_ROLLOVER = 5
|
|
3322
3323
|
}
|
|
3323
3324
|
|
|
3324
3325
|
/** OrgMemberPlan enum. */
|
|
@@ -4602,6 +4603,12 @@ export namespace userdomain {
|
|
|
4602
4603
|
CONNSRC_SPOTIFY = 3,
|
|
4603
4604
|
CONNSRC_APPLE = 4
|
|
4604
4605
|
}
|
|
4606
|
+
|
|
4607
|
+
/** UserDeleteReason enum. */
|
|
4608
|
+
enum UserDeleteReason {
|
|
4609
|
+
UNKNOWN_REASON = 0,
|
|
4610
|
+
INACTIVE = 1
|
|
4611
|
+
}
|
|
4605
4612
|
}
|
|
4606
4613
|
}
|
|
4607
4614
|
|
|
@@ -8375,6 +8382,9 @@ export interface IContentfulActivityGroupCreated {
|
|
|
8375
8382
|
|
|
8376
8383
|
/** ContentfulActivityGroupCreated createdAt */
|
|
8377
8384
|
createdAt?: (number|Long|null);
|
|
8385
|
+
|
|
8386
|
+
/** ContentfulActivityGroupCreated playerBackgroundMedia */
|
|
8387
|
+
playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
8378
8388
|
}
|
|
8379
8389
|
|
|
8380
8390
|
/** Represents a ContentfulActivityGroupCreated. */
|
|
@@ -8446,6 +8456,9 @@ export class ContentfulActivityGroupCreated implements IContentfulActivityGroupC
|
|
|
8446
8456
|
/** ContentfulActivityGroupCreated createdAt. */
|
|
8447
8457
|
public createdAt: (number|Long);
|
|
8448
8458
|
|
|
8459
|
+
/** ContentfulActivityGroupCreated playerBackgroundMedia. */
|
|
8460
|
+
public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
|
|
8461
|
+
|
|
8449
8462
|
/**
|
|
8450
8463
|
* Creates a new ContentfulActivityGroupCreated instance using the specified properties.
|
|
8451
8464
|
* @param [properties] Properties to set
|
|
@@ -8579,6 +8592,9 @@ export interface IContentfulActivityGroupUpdated {
|
|
|
8579
8592
|
|
|
8580
8593
|
/** ContentfulActivityGroupUpdated updatedAt */
|
|
8581
8594
|
updatedAt?: (number|Long|null);
|
|
8595
|
+
|
|
8596
|
+
/** ContentfulActivityGroupUpdated playerBackgroundMedia */
|
|
8597
|
+
playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
8582
8598
|
}
|
|
8583
8599
|
|
|
8584
8600
|
/** Represents a ContentfulActivityGroupUpdated. */
|
|
@@ -8650,6 +8666,9 @@ export class ContentfulActivityGroupUpdated implements IContentfulActivityGroupU
|
|
|
8650
8666
|
/** ContentfulActivityGroupUpdated updatedAt. */
|
|
8651
8667
|
public updatedAt: (number|Long);
|
|
8652
8668
|
|
|
8669
|
+
/** ContentfulActivityGroupUpdated playerBackgroundMedia. */
|
|
8670
|
+
public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
|
|
8671
|
+
|
|
8653
8672
|
/**
|
|
8654
8673
|
* Creates a new ContentfulActivityGroupUpdated instance using the specified properties.
|
|
8655
8674
|
* @param [properties] Properties to set
|
|
@@ -11855,6 +11874,9 @@ export interface IUserDomainDeleted {
|
|
|
11855
11874
|
|
|
11856
11875
|
/** UserDomainDeleted deletedAt */
|
|
11857
11876
|
deletedAt?: (number|Long|null);
|
|
11877
|
+
|
|
11878
|
+
/** UserDomainDeleted deleteReason */
|
|
11879
|
+
deleteReason?: (userdomain.users.UserDeleteReason|null);
|
|
11858
11880
|
}
|
|
11859
11881
|
|
|
11860
11882
|
/** Represents a UserDomainDeleted. */
|
|
@@ -11872,6 +11894,9 @@ export class UserDomainDeleted implements IUserDomainDeleted {
|
|
|
11872
11894
|
/** UserDomainDeleted deletedAt. */
|
|
11873
11895
|
public deletedAt: (number|Long);
|
|
11874
11896
|
|
|
11897
|
+
/** UserDomainDeleted deleteReason. */
|
|
11898
|
+
public deleteReason: userdomain.users.UserDeleteReason;
|
|
11899
|
+
|
|
11875
11900
|
/**
|
|
11876
11901
|
* Creates a new UserDomainDeleted instance using the specified properties.
|
|
11877
11902
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -7522,6 +7522,7 @@ $root.b2b = (function() {
|
|
|
7522
7522
|
* @property {number} REMOVAL_REASON_MANUAL=2 REMOVAL_REASON_MANUAL value
|
|
7523
7523
|
* @property {number} REMOVAL_REASON_EXPIRATION=3 REMOVAL_REASON_EXPIRATION value
|
|
7524
7524
|
* @property {number} REMOVAL_REASON_MERGE_ORGS=4 REMOVAL_REASON_MERGE_ORGS value
|
|
7525
|
+
* @property {number} REMOVAL_REASON_ROLLOVER=5 REMOVAL_REASON_ROLLOVER value
|
|
7525
7526
|
*/
|
|
7526
7527
|
b2b.OrgMemberRemovalReason = (function() {
|
|
7527
7528
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -7530,6 +7531,7 @@ $root.b2b = (function() {
|
|
|
7530
7531
|
values[valuesById[2] = "REMOVAL_REASON_MANUAL"] = 2;
|
|
7531
7532
|
values[valuesById[3] = "REMOVAL_REASON_EXPIRATION"] = 3;
|
|
7532
7533
|
values[valuesById[4] = "REMOVAL_REASON_MERGE_ORGS"] = 4;
|
|
7534
|
+
values[valuesById[5] = "REMOVAL_REASON_ROLLOVER"] = 5;
|
|
7533
7535
|
return values;
|
|
7534
7536
|
})();
|
|
7535
7537
|
|
|
@@ -11049,6 +11051,20 @@ $root.userdomain = (function() {
|
|
|
11049
11051
|
return values;
|
|
11050
11052
|
})();
|
|
11051
11053
|
|
|
11054
|
+
/**
|
|
11055
|
+
* UserDeleteReason enum.
|
|
11056
|
+
* @name userdomain.users.UserDeleteReason
|
|
11057
|
+
* @enum {string}
|
|
11058
|
+
* @property {number} UNKNOWN_REASON=0 UNKNOWN_REASON value
|
|
11059
|
+
* @property {number} INACTIVE=1 INACTIVE value
|
|
11060
|
+
*/
|
|
11061
|
+
users.UserDeleteReason = (function() {
|
|
11062
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
11063
|
+
values[valuesById[0] = "UNKNOWN_REASON"] = 0;
|
|
11064
|
+
values[valuesById[1] = "INACTIVE"] = 1;
|
|
11065
|
+
return values;
|
|
11066
|
+
})();
|
|
11067
|
+
|
|
11052
11068
|
return users;
|
|
11053
11069
|
})();
|
|
11054
11070
|
|
|
@@ -22323,6 +22339,7 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22323
22339
|
* @property {Array.<contentful.ISlugReference>|null} [related] ContentfulActivityGroupCreated related
|
|
22324
22340
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulActivityGroupCreated accessGroup
|
|
22325
22341
|
* @property {number|Long|null} [createdAt] ContentfulActivityGroupCreated createdAt
|
|
22342
|
+
* @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulActivityGroupCreated playerBackgroundMedia
|
|
22326
22343
|
*/
|
|
22327
22344
|
|
|
22328
22345
|
/**
|
|
@@ -22343,6 +22360,7 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22343
22360
|
this.techniques = [];
|
|
22344
22361
|
this.related = [];
|
|
22345
22362
|
this.accessGroup = [];
|
|
22363
|
+
this.playerBackgroundMedia = {};
|
|
22346
22364
|
if (properties)
|
|
22347
22365
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
22348
22366
|
if (properties[keys[i]] != null)
|
|
@@ -22509,6 +22527,14 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22509
22527
|
*/
|
|
22510
22528
|
ContentfulActivityGroupCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
22511
22529
|
|
|
22530
|
+
/**
|
|
22531
|
+
* ContentfulActivityGroupCreated playerBackgroundMedia.
|
|
22532
|
+
* @member {Object.<string,contentful.IIdReference>} playerBackgroundMedia
|
|
22533
|
+
* @memberof ContentfulActivityGroupCreated
|
|
22534
|
+
* @instance
|
|
22535
|
+
*/
|
|
22536
|
+
ContentfulActivityGroupCreated.prototype.playerBackgroundMedia = $util.emptyObject;
|
|
22537
|
+
|
|
22512
22538
|
/**
|
|
22513
22539
|
* Creates a new ContentfulActivityGroupCreated instance using the specified properties.
|
|
22514
22540
|
* @function create
|
|
@@ -22586,6 +22612,11 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22586
22612
|
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
22587
22613
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
22588
22614
|
writer.uint32(/* id 20, wireType 0 =*/160).uint64(message.createdAt);
|
|
22615
|
+
if (message.playerBackgroundMedia != null && message.hasOwnProperty("playerBackgroundMedia"))
|
|
22616
|
+
for (var keys = Object.keys(message.playerBackgroundMedia), i = 0; i < keys.length; ++i) {
|
|
22617
|
+
writer.uint32(/* id 21, wireType 2 =*/170).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
22618
|
+
$root.contentful.IdReference.encode(message.playerBackgroundMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
22619
|
+
}
|
|
22589
22620
|
return writer;
|
|
22590
22621
|
};
|
|
22591
22622
|
|
|
@@ -22713,6 +22744,14 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22713
22744
|
case 20:
|
|
22714
22745
|
message.createdAt = reader.uint64();
|
|
22715
22746
|
break;
|
|
22747
|
+
case 21:
|
|
22748
|
+
reader.skip().pos++;
|
|
22749
|
+
if (message.playerBackgroundMedia === $util.emptyObject)
|
|
22750
|
+
message.playerBackgroundMedia = {};
|
|
22751
|
+
key = reader.string();
|
|
22752
|
+
reader.pos++;
|
|
22753
|
+
message.playerBackgroundMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
22754
|
+
break;
|
|
22716
22755
|
default:
|
|
22717
22756
|
reader.skipType(tag & 7);
|
|
22718
22757
|
break;
|
|
@@ -22861,6 +22900,16 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22861
22900
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
22862
22901
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
22863
22902
|
return "createdAt: integer|Long expected";
|
|
22903
|
+
if (message.playerBackgroundMedia != null && message.hasOwnProperty("playerBackgroundMedia")) {
|
|
22904
|
+
if (!$util.isObject(message.playerBackgroundMedia))
|
|
22905
|
+
return "playerBackgroundMedia: object expected";
|
|
22906
|
+
var key = Object.keys(message.playerBackgroundMedia);
|
|
22907
|
+
for (var i = 0; i < key.length; ++i) {
|
|
22908
|
+
var error = $root.contentful.IdReference.verify(message.playerBackgroundMedia[key[i]]);
|
|
22909
|
+
if (error)
|
|
22910
|
+
return "playerBackgroundMedia." + error;
|
|
22911
|
+
}
|
|
22912
|
+
}
|
|
22864
22913
|
return null;
|
|
22865
22914
|
};
|
|
22866
22915
|
|
|
@@ -22986,6 +23035,16 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22986
23035
|
message.createdAt = object.createdAt;
|
|
22987
23036
|
else if (typeof object.createdAt === "object")
|
|
22988
23037
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
23038
|
+
if (object.playerBackgroundMedia) {
|
|
23039
|
+
if (typeof object.playerBackgroundMedia !== "object")
|
|
23040
|
+
throw TypeError(".ContentfulActivityGroupCreated.playerBackgroundMedia: object expected");
|
|
23041
|
+
message.playerBackgroundMedia = {};
|
|
23042
|
+
for (var keys = Object.keys(object.playerBackgroundMedia), i = 0; i < keys.length; ++i) {
|
|
23043
|
+
if (typeof object.playerBackgroundMedia[keys[i]] !== "object")
|
|
23044
|
+
throw TypeError(".ContentfulActivityGroupCreated.playerBackgroundMedia: object expected");
|
|
23045
|
+
message.playerBackgroundMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.playerBackgroundMedia[keys[i]]);
|
|
23046
|
+
}
|
|
23047
|
+
}
|
|
22989
23048
|
return message;
|
|
22990
23049
|
};
|
|
22991
23050
|
|
|
@@ -23014,6 +23073,7 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
23014
23073
|
object.description = {};
|
|
23015
23074
|
object.bannerMedia = {};
|
|
23016
23075
|
object.patternMedia = {};
|
|
23076
|
+
object.playerBackgroundMedia = {};
|
|
23017
23077
|
}
|
|
23018
23078
|
if (options.defaults) {
|
|
23019
23079
|
object.slug = "";
|
|
@@ -23103,6 +23163,11 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
23103
23163
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
23104
23164
|
else
|
|
23105
23165
|
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;
|
|
23166
|
+
if (message.playerBackgroundMedia && (keys2 = Object.keys(message.playerBackgroundMedia)).length) {
|
|
23167
|
+
object.playerBackgroundMedia = {};
|
|
23168
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
23169
|
+
object.playerBackgroundMedia[keys2[j]] = $root.contentful.IdReference.toObject(message.playerBackgroundMedia[keys2[j]], options);
|
|
23170
|
+
}
|
|
23106
23171
|
return object;
|
|
23107
23172
|
};
|
|
23108
23173
|
|
|
@@ -23146,6 +23211,7 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23146
23211
|
* @property {Array.<contentful.ISlugReference>|null} [related] ContentfulActivityGroupUpdated related
|
|
23147
23212
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulActivityGroupUpdated accessGroup
|
|
23148
23213
|
* @property {number|Long|null} [updatedAt] ContentfulActivityGroupUpdated updatedAt
|
|
23214
|
+
* @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulActivityGroupUpdated playerBackgroundMedia
|
|
23149
23215
|
*/
|
|
23150
23216
|
|
|
23151
23217
|
/**
|
|
@@ -23166,6 +23232,7 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23166
23232
|
this.techniques = [];
|
|
23167
23233
|
this.related = [];
|
|
23168
23234
|
this.accessGroup = [];
|
|
23235
|
+
this.playerBackgroundMedia = {};
|
|
23169
23236
|
if (properties)
|
|
23170
23237
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23171
23238
|
if (properties[keys[i]] != null)
|
|
@@ -23332,6 +23399,14 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23332
23399
|
*/
|
|
23333
23400
|
ContentfulActivityGroupUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
23334
23401
|
|
|
23402
|
+
/**
|
|
23403
|
+
* ContentfulActivityGroupUpdated playerBackgroundMedia.
|
|
23404
|
+
* @member {Object.<string,contentful.IIdReference>} playerBackgroundMedia
|
|
23405
|
+
* @memberof ContentfulActivityGroupUpdated
|
|
23406
|
+
* @instance
|
|
23407
|
+
*/
|
|
23408
|
+
ContentfulActivityGroupUpdated.prototype.playerBackgroundMedia = $util.emptyObject;
|
|
23409
|
+
|
|
23335
23410
|
/**
|
|
23336
23411
|
* Creates a new ContentfulActivityGroupUpdated instance using the specified properties.
|
|
23337
23412
|
* @function create
|
|
@@ -23409,6 +23484,11 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23409
23484
|
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
23410
23485
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
23411
23486
|
writer.uint32(/* id 20, wireType 0 =*/160).uint64(message.updatedAt);
|
|
23487
|
+
if (message.playerBackgroundMedia != null && message.hasOwnProperty("playerBackgroundMedia"))
|
|
23488
|
+
for (var keys = Object.keys(message.playerBackgroundMedia), i = 0; i < keys.length; ++i) {
|
|
23489
|
+
writer.uint32(/* id 21, wireType 2 =*/170).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
23490
|
+
$root.contentful.IdReference.encode(message.playerBackgroundMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
23491
|
+
}
|
|
23412
23492
|
return writer;
|
|
23413
23493
|
};
|
|
23414
23494
|
|
|
@@ -23536,6 +23616,14 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23536
23616
|
case 20:
|
|
23537
23617
|
message.updatedAt = reader.uint64();
|
|
23538
23618
|
break;
|
|
23619
|
+
case 21:
|
|
23620
|
+
reader.skip().pos++;
|
|
23621
|
+
if (message.playerBackgroundMedia === $util.emptyObject)
|
|
23622
|
+
message.playerBackgroundMedia = {};
|
|
23623
|
+
key = reader.string();
|
|
23624
|
+
reader.pos++;
|
|
23625
|
+
message.playerBackgroundMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
23626
|
+
break;
|
|
23539
23627
|
default:
|
|
23540
23628
|
reader.skipType(tag & 7);
|
|
23541
23629
|
break;
|
|
@@ -23684,6 +23772,16 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23684
23772
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
23685
23773
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
23686
23774
|
return "updatedAt: integer|Long expected";
|
|
23775
|
+
if (message.playerBackgroundMedia != null && message.hasOwnProperty("playerBackgroundMedia")) {
|
|
23776
|
+
if (!$util.isObject(message.playerBackgroundMedia))
|
|
23777
|
+
return "playerBackgroundMedia: object expected";
|
|
23778
|
+
var key = Object.keys(message.playerBackgroundMedia);
|
|
23779
|
+
for (var i = 0; i < key.length; ++i) {
|
|
23780
|
+
var error = $root.contentful.IdReference.verify(message.playerBackgroundMedia[key[i]]);
|
|
23781
|
+
if (error)
|
|
23782
|
+
return "playerBackgroundMedia." + error;
|
|
23783
|
+
}
|
|
23784
|
+
}
|
|
23687
23785
|
return null;
|
|
23688
23786
|
};
|
|
23689
23787
|
|
|
@@ -23809,6 +23907,16 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23809
23907
|
message.updatedAt = object.updatedAt;
|
|
23810
23908
|
else if (typeof object.updatedAt === "object")
|
|
23811
23909
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
23910
|
+
if (object.playerBackgroundMedia) {
|
|
23911
|
+
if (typeof object.playerBackgroundMedia !== "object")
|
|
23912
|
+
throw TypeError(".ContentfulActivityGroupUpdated.playerBackgroundMedia: object expected");
|
|
23913
|
+
message.playerBackgroundMedia = {};
|
|
23914
|
+
for (var keys = Object.keys(object.playerBackgroundMedia), i = 0; i < keys.length; ++i) {
|
|
23915
|
+
if (typeof object.playerBackgroundMedia[keys[i]] !== "object")
|
|
23916
|
+
throw TypeError(".ContentfulActivityGroupUpdated.playerBackgroundMedia: object expected");
|
|
23917
|
+
message.playerBackgroundMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.playerBackgroundMedia[keys[i]]);
|
|
23918
|
+
}
|
|
23919
|
+
}
|
|
23812
23920
|
return message;
|
|
23813
23921
|
};
|
|
23814
23922
|
|
|
@@ -23837,6 +23945,7 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23837
23945
|
object.description = {};
|
|
23838
23946
|
object.bannerMedia = {};
|
|
23839
23947
|
object.patternMedia = {};
|
|
23948
|
+
object.playerBackgroundMedia = {};
|
|
23840
23949
|
}
|
|
23841
23950
|
if (options.defaults) {
|
|
23842
23951
|
object.slug = "";
|
|
@@ -23926,6 +24035,11 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23926
24035
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
23927
24036
|
else
|
|
23928
24037
|
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;
|
|
24038
|
+
if (message.playerBackgroundMedia && (keys2 = Object.keys(message.playerBackgroundMedia)).length) {
|
|
24039
|
+
object.playerBackgroundMedia = {};
|
|
24040
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
24041
|
+
object.playerBackgroundMedia[keys2[j]] = $root.contentful.IdReference.toObject(message.playerBackgroundMedia[keys2[j]], options);
|
|
24042
|
+
}
|
|
23929
24043
|
return object;
|
|
23930
24044
|
};
|
|
23931
24045
|
|
|
@@ -33143,6 +33257,7 @@ $root.UserDomainDeleted = (function() {
|
|
|
33143
33257
|
* @interface IUserDomainDeleted
|
|
33144
33258
|
* @property {string|null} [hsId] UserDomainDeleted hsId
|
|
33145
33259
|
* @property {number|Long|null} [deletedAt] UserDomainDeleted deletedAt
|
|
33260
|
+
* @property {userdomain.users.UserDeleteReason|null} [deleteReason] UserDomainDeleted deleteReason
|
|
33146
33261
|
*/
|
|
33147
33262
|
|
|
33148
33263
|
/**
|
|
@@ -33176,6 +33291,14 @@ $root.UserDomainDeleted = (function() {
|
|
|
33176
33291
|
*/
|
|
33177
33292
|
UserDomainDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33178
33293
|
|
|
33294
|
+
/**
|
|
33295
|
+
* UserDomainDeleted deleteReason.
|
|
33296
|
+
* @member {userdomain.users.UserDeleteReason} deleteReason
|
|
33297
|
+
* @memberof UserDomainDeleted
|
|
33298
|
+
* @instance
|
|
33299
|
+
*/
|
|
33300
|
+
UserDomainDeleted.prototype.deleteReason = 0;
|
|
33301
|
+
|
|
33179
33302
|
/**
|
|
33180
33303
|
* Creates a new UserDomainDeleted instance using the specified properties.
|
|
33181
33304
|
* @function create
|
|
@@ -33204,6 +33327,8 @@ $root.UserDomainDeleted = (function() {
|
|
|
33204
33327
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
33205
33328
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
33206
33329
|
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
33330
|
+
if (message.deleteReason != null && message.hasOwnProperty("deleteReason"))
|
|
33331
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.deleteReason);
|
|
33207
33332
|
return writer;
|
|
33208
33333
|
};
|
|
33209
33334
|
|
|
@@ -33244,6 +33369,9 @@ $root.UserDomainDeleted = (function() {
|
|
|
33244
33369
|
case 2:
|
|
33245
33370
|
message.deletedAt = reader.uint64();
|
|
33246
33371
|
break;
|
|
33372
|
+
case 3:
|
|
33373
|
+
message.deleteReason = reader.int32();
|
|
33374
|
+
break;
|
|
33247
33375
|
default:
|
|
33248
33376
|
reader.skipType(tag & 7);
|
|
33249
33377
|
break;
|
|
@@ -33285,6 +33413,14 @@ $root.UserDomainDeleted = (function() {
|
|
|
33285
33413
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
33286
33414
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
33287
33415
|
return "deletedAt: integer|Long expected";
|
|
33416
|
+
if (message.deleteReason != null && message.hasOwnProperty("deleteReason"))
|
|
33417
|
+
switch (message.deleteReason) {
|
|
33418
|
+
default:
|
|
33419
|
+
return "deleteReason: enum value expected";
|
|
33420
|
+
case 0:
|
|
33421
|
+
case 1:
|
|
33422
|
+
break;
|
|
33423
|
+
}
|
|
33288
33424
|
return null;
|
|
33289
33425
|
};
|
|
33290
33426
|
|
|
@@ -33311,6 +33447,16 @@ $root.UserDomainDeleted = (function() {
|
|
|
33311
33447
|
message.deletedAt = object.deletedAt;
|
|
33312
33448
|
else if (typeof object.deletedAt === "object")
|
|
33313
33449
|
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
33450
|
+
switch (object.deleteReason) {
|
|
33451
|
+
case "UNKNOWN_REASON":
|
|
33452
|
+
case 0:
|
|
33453
|
+
message.deleteReason = 0;
|
|
33454
|
+
break;
|
|
33455
|
+
case "INACTIVE":
|
|
33456
|
+
case 1:
|
|
33457
|
+
message.deleteReason = 1;
|
|
33458
|
+
break;
|
|
33459
|
+
}
|
|
33314
33460
|
return message;
|
|
33315
33461
|
};
|
|
33316
33462
|
|
|
@@ -33334,6 +33480,7 @@ $root.UserDomainDeleted = (function() {
|
|
|
33334
33480
|
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
33335
33481
|
} else
|
|
33336
33482
|
object.deletedAt = options.longs === String ? "0" : 0;
|
|
33483
|
+
object.deleteReason = options.enums === String ? "UNKNOWN_REASON" : 0;
|
|
33337
33484
|
}
|
|
33338
33485
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
33339
33486
|
object.hsId = message.hsId;
|
|
@@ -33342,6 +33489,8 @@ $root.UserDomainDeleted = (function() {
|
|
|
33342
33489
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
33343
33490
|
else
|
|
33344
33491
|
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
33492
|
+
if (message.deleteReason != null && message.hasOwnProperty("deleteReason"))
|
|
33493
|
+
object.deleteReason = options.enums === String ? $root.userdomain.users.UserDeleteReason[message.deleteReason] : message.deleteReason;
|
|
33345
33494
|
return object;
|
|
33346
33495
|
};
|
|
33347
33496
|
|
|
@@ -46582,6 +46731,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
46582
46731
|
case 2:
|
|
46583
46732
|
case 3:
|
|
46584
46733
|
case 4:
|
|
46734
|
+
case 5:
|
|
46585
46735
|
break;
|
|
46586
46736
|
}
|
|
46587
46737
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -46689,6 +46839,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
46689
46839
|
case 4:
|
|
46690
46840
|
message.reason = 4;
|
|
46691
46841
|
break;
|
|
46842
|
+
case "REMOVAL_REASON_ROLLOVER":
|
|
46843
|
+
case 5:
|
|
46844
|
+
message.reason = 5;
|
|
46845
|
+
break;
|
|
46692
46846
|
}
|
|
46693
46847
|
if (object.timestamp != null)
|
|
46694
46848
|
if ($util.Long)
|
package/package.json
CHANGED