@headspace/protos-events 1.189.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 +28 -2
- package/lib/index.js +171 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2133,7 +2133,8 @@ export namespace appleReceipt {
|
|
|
2133
2133
|
/** IosSubscriptionTag enum. */
|
|
2134
2134
|
enum IosSubscriptionTag {
|
|
2135
2135
|
IOSTAG_UNKNOWN = 0,
|
|
2136
|
-
IOSTAG_FREE_TRIAL = 1
|
|
2136
|
+
IOSTAG_FREE_TRIAL = 1,
|
|
2137
|
+
IOSTAG_ACTIVE_GRACE_PERIOD = 2
|
|
2137
2138
|
}
|
|
2138
2139
|
|
|
2139
2140
|
/** IosSubscriptionAutoRenewalStatus enum. */
|
|
@@ -3317,7 +3318,8 @@ export namespace b2b {
|
|
|
3317
3318
|
REMOVAL_REASON_GRACEFUL_EXIT = 1,
|
|
3318
3319
|
REMOVAL_REASON_MANUAL = 2,
|
|
3319
3320
|
REMOVAL_REASON_EXPIRATION = 3,
|
|
3320
|
-
REMOVAL_REASON_MERGE_ORGS = 4
|
|
3321
|
+
REMOVAL_REASON_MERGE_ORGS = 4,
|
|
3322
|
+
REMOVAL_REASON_ROLLOVER = 5
|
|
3321
3323
|
}
|
|
3322
3324
|
|
|
3323
3325
|
/** OrgMemberPlan enum. */
|
|
@@ -4601,6 +4603,12 @@ export namespace userdomain {
|
|
|
4601
4603
|
CONNSRC_SPOTIFY = 3,
|
|
4602
4604
|
CONNSRC_APPLE = 4
|
|
4603
4605
|
}
|
|
4606
|
+
|
|
4607
|
+
/** UserDeleteReason enum. */
|
|
4608
|
+
enum UserDeleteReason {
|
|
4609
|
+
UNKNOWN_REASON = 0,
|
|
4610
|
+
INACTIVE = 1
|
|
4611
|
+
}
|
|
4604
4612
|
}
|
|
4605
4613
|
}
|
|
4606
4614
|
|
|
@@ -8374,6 +8382,9 @@ export interface IContentfulActivityGroupCreated {
|
|
|
8374
8382
|
|
|
8375
8383
|
/** ContentfulActivityGroupCreated createdAt */
|
|
8376
8384
|
createdAt?: (number|Long|null);
|
|
8385
|
+
|
|
8386
|
+
/** ContentfulActivityGroupCreated playerBackgroundMedia */
|
|
8387
|
+
playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
8377
8388
|
}
|
|
8378
8389
|
|
|
8379
8390
|
/** Represents a ContentfulActivityGroupCreated. */
|
|
@@ -8445,6 +8456,9 @@ export class ContentfulActivityGroupCreated implements IContentfulActivityGroupC
|
|
|
8445
8456
|
/** ContentfulActivityGroupCreated createdAt. */
|
|
8446
8457
|
public createdAt: (number|Long);
|
|
8447
8458
|
|
|
8459
|
+
/** ContentfulActivityGroupCreated playerBackgroundMedia. */
|
|
8460
|
+
public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
|
|
8461
|
+
|
|
8448
8462
|
/**
|
|
8449
8463
|
* Creates a new ContentfulActivityGroupCreated instance using the specified properties.
|
|
8450
8464
|
* @param [properties] Properties to set
|
|
@@ -8578,6 +8592,9 @@ export interface IContentfulActivityGroupUpdated {
|
|
|
8578
8592
|
|
|
8579
8593
|
/** ContentfulActivityGroupUpdated updatedAt */
|
|
8580
8594
|
updatedAt?: (number|Long|null);
|
|
8595
|
+
|
|
8596
|
+
/** ContentfulActivityGroupUpdated playerBackgroundMedia */
|
|
8597
|
+
playerBackgroundMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
8581
8598
|
}
|
|
8582
8599
|
|
|
8583
8600
|
/** Represents a ContentfulActivityGroupUpdated. */
|
|
@@ -8649,6 +8666,9 @@ export class ContentfulActivityGroupUpdated implements IContentfulActivityGroupU
|
|
|
8649
8666
|
/** ContentfulActivityGroupUpdated updatedAt. */
|
|
8650
8667
|
public updatedAt: (number|Long);
|
|
8651
8668
|
|
|
8669
|
+
/** ContentfulActivityGroupUpdated playerBackgroundMedia. */
|
|
8670
|
+
public playerBackgroundMedia: { [k: string]: contentful.IIdReference };
|
|
8671
|
+
|
|
8652
8672
|
/**
|
|
8653
8673
|
* Creates a new ContentfulActivityGroupUpdated instance using the specified properties.
|
|
8654
8674
|
* @param [properties] Properties to set
|
|
@@ -11854,6 +11874,9 @@ export interface IUserDomainDeleted {
|
|
|
11854
11874
|
|
|
11855
11875
|
/** UserDomainDeleted deletedAt */
|
|
11856
11876
|
deletedAt?: (number|Long|null);
|
|
11877
|
+
|
|
11878
|
+
/** UserDomainDeleted deleteReason */
|
|
11879
|
+
deleteReason?: (userdomain.users.UserDeleteReason|null);
|
|
11857
11880
|
}
|
|
11858
11881
|
|
|
11859
11882
|
/** Represents a UserDomainDeleted. */
|
|
@@ -11871,6 +11894,9 @@ export class UserDomainDeleted implements IUserDomainDeleted {
|
|
|
11871
11894
|
/** UserDomainDeleted deletedAt. */
|
|
11872
11895
|
public deletedAt: (number|Long);
|
|
11873
11896
|
|
|
11897
|
+
/** UserDomainDeleted deleteReason. */
|
|
11898
|
+
public deleteReason: userdomain.users.UserDeleteReason;
|
|
11899
|
+
|
|
11874
11900
|
/**
|
|
11875
11901
|
* Creates a new UserDomainDeleted instance using the specified properties.
|
|
11876
11902
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -4921,11 +4921,13 @@ $root.appleReceipt = (function() {
|
|
|
4921
4921
|
* @enum {string}
|
|
4922
4922
|
* @property {number} IOSTAG_UNKNOWN=0 IOSTAG_UNKNOWN value
|
|
4923
4923
|
* @property {number} IOSTAG_FREE_TRIAL=1 IOSTAG_FREE_TRIAL value
|
|
4924
|
+
* @property {number} IOSTAG_ACTIVE_GRACE_PERIOD=2 IOSTAG_ACTIVE_GRACE_PERIOD value
|
|
4924
4925
|
*/
|
|
4925
4926
|
appleReceipt.IosSubscriptionTag = (function() {
|
|
4926
4927
|
var valuesById = {}, values = Object.create(valuesById);
|
|
4927
4928
|
values[valuesById[0] = "IOSTAG_UNKNOWN"] = 0;
|
|
4928
4929
|
values[valuesById[1] = "IOSTAG_FREE_TRIAL"] = 1;
|
|
4930
|
+
values[valuesById[2] = "IOSTAG_ACTIVE_GRACE_PERIOD"] = 2;
|
|
4929
4931
|
return values;
|
|
4930
4932
|
})();
|
|
4931
4933
|
|
|
@@ -7520,6 +7522,7 @@ $root.b2b = (function() {
|
|
|
7520
7522
|
* @property {number} REMOVAL_REASON_MANUAL=2 REMOVAL_REASON_MANUAL value
|
|
7521
7523
|
* @property {number} REMOVAL_REASON_EXPIRATION=3 REMOVAL_REASON_EXPIRATION value
|
|
7522
7524
|
* @property {number} REMOVAL_REASON_MERGE_ORGS=4 REMOVAL_REASON_MERGE_ORGS value
|
|
7525
|
+
* @property {number} REMOVAL_REASON_ROLLOVER=5 REMOVAL_REASON_ROLLOVER value
|
|
7523
7526
|
*/
|
|
7524
7527
|
b2b.OrgMemberRemovalReason = (function() {
|
|
7525
7528
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -7528,6 +7531,7 @@ $root.b2b = (function() {
|
|
|
7528
7531
|
values[valuesById[2] = "REMOVAL_REASON_MANUAL"] = 2;
|
|
7529
7532
|
values[valuesById[3] = "REMOVAL_REASON_EXPIRATION"] = 3;
|
|
7530
7533
|
values[valuesById[4] = "REMOVAL_REASON_MERGE_ORGS"] = 4;
|
|
7534
|
+
values[valuesById[5] = "REMOVAL_REASON_ROLLOVER"] = 5;
|
|
7531
7535
|
return values;
|
|
7532
7536
|
})();
|
|
7533
7537
|
|
|
@@ -11047,6 +11051,20 @@ $root.userdomain = (function() {
|
|
|
11047
11051
|
return values;
|
|
11048
11052
|
})();
|
|
11049
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
|
+
|
|
11050
11068
|
return users;
|
|
11051
11069
|
})();
|
|
11052
11070
|
|
|
@@ -22321,6 +22339,7 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22321
22339
|
* @property {Array.<contentful.ISlugReference>|null} [related] ContentfulActivityGroupCreated related
|
|
22322
22340
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulActivityGroupCreated accessGroup
|
|
22323
22341
|
* @property {number|Long|null} [createdAt] ContentfulActivityGroupCreated createdAt
|
|
22342
|
+
* @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulActivityGroupCreated playerBackgroundMedia
|
|
22324
22343
|
*/
|
|
22325
22344
|
|
|
22326
22345
|
/**
|
|
@@ -22341,6 +22360,7 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22341
22360
|
this.techniques = [];
|
|
22342
22361
|
this.related = [];
|
|
22343
22362
|
this.accessGroup = [];
|
|
22363
|
+
this.playerBackgroundMedia = {};
|
|
22344
22364
|
if (properties)
|
|
22345
22365
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
22346
22366
|
if (properties[keys[i]] != null)
|
|
@@ -22507,6 +22527,14 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22507
22527
|
*/
|
|
22508
22528
|
ContentfulActivityGroupCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
22509
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
|
+
|
|
22510
22538
|
/**
|
|
22511
22539
|
* Creates a new ContentfulActivityGroupCreated instance using the specified properties.
|
|
22512
22540
|
* @function create
|
|
@@ -22584,6 +22612,11 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22584
22612
|
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
22585
22613
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
22586
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
|
+
}
|
|
22587
22620
|
return writer;
|
|
22588
22621
|
};
|
|
22589
22622
|
|
|
@@ -22711,6 +22744,14 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22711
22744
|
case 20:
|
|
22712
22745
|
message.createdAt = reader.uint64();
|
|
22713
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;
|
|
22714
22755
|
default:
|
|
22715
22756
|
reader.skipType(tag & 7);
|
|
22716
22757
|
break;
|
|
@@ -22859,6 +22900,16 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22859
22900
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
22860
22901
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
22861
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
|
+
}
|
|
22862
22913
|
return null;
|
|
22863
22914
|
};
|
|
22864
22915
|
|
|
@@ -22984,6 +23035,16 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
22984
23035
|
message.createdAt = object.createdAt;
|
|
22985
23036
|
else if (typeof object.createdAt === "object")
|
|
22986
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
|
+
}
|
|
22987
23048
|
return message;
|
|
22988
23049
|
};
|
|
22989
23050
|
|
|
@@ -23012,6 +23073,7 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
23012
23073
|
object.description = {};
|
|
23013
23074
|
object.bannerMedia = {};
|
|
23014
23075
|
object.patternMedia = {};
|
|
23076
|
+
object.playerBackgroundMedia = {};
|
|
23015
23077
|
}
|
|
23016
23078
|
if (options.defaults) {
|
|
23017
23079
|
object.slug = "";
|
|
@@ -23101,6 +23163,11 @@ $root.ContentfulActivityGroupCreated = (function() {
|
|
|
23101
23163
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
23102
23164
|
else
|
|
23103
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
|
+
}
|
|
23104
23171
|
return object;
|
|
23105
23172
|
};
|
|
23106
23173
|
|
|
@@ -23144,6 +23211,7 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23144
23211
|
* @property {Array.<contentful.ISlugReference>|null} [related] ContentfulActivityGroupUpdated related
|
|
23145
23212
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] ContentfulActivityGroupUpdated accessGroup
|
|
23146
23213
|
* @property {number|Long|null} [updatedAt] ContentfulActivityGroupUpdated updatedAt
|
|
23214
|
+
* @property {Object.<string,contentful.IIdReference>|null} [playerBackgroundMedia] ContentfulActivityGroupUpdated playerBackgroundMedia
|
|
23147
23215
|
*/
|
|
23148
23216
|
|
|
23149
23217
|
/**
|
|
@@ -23164,6 +23232,7 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23164
23232
|
this.techniques = [];
|
|
23165
23233
|
this.related = [];
|
|
23166
23234
|
this.accessGroup = [];
|
|
23235
|
+
this.playerBackgroundMedia = {};
|
|
23167
23236
|
if (properties)
|
|
23168
23237
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23169
23238
|
if (properties[keys[i]] != null)
|
|
@@ -23330,6 +23399,14 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23330
23399
|
*/
|
|
23331
23400
|
ContentfulActivityGroupUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
23332
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
|
+
|
|
23333
23410
|
/**
|
|
23334
23411
|
* Creates a new ContentfulActivityGroupUpdated instance using the specified properties.
|
|
23335
23412
|
* @function create
|
|
@@ -23407,6 +23484,11 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23407
23484
|
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
23408
23485
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
23409
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
|
+
}
|
|
23410
23492
|
return writer;
|
|
23411
23493
|
};
|
|
23412
23494
|
|
|
@@ -23534,6 +23616,14 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23534
23616
|
case 20:
|
|
23535
23617
|
message.updatedAt = reader.uint64();
|
|
23536
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;
|
|
23537
23627
|
default:
|
|
23538
23628
|
reader.skipType(tag & 7);
|
|
23539
23629
|
break;
|
|
@@ -23682,6 +23772,16 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23682
23772
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
23683
23773
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
23684
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
|
+
}
|
|
23685
23785
|
return null;
|
|
23686
23786
|
};
|
|
23687
23787
|
|
|
@@ -23807,6 +23907,16 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23807
23907
|
message.updatedAt = object.updatedAt;
|
|
23808
23908
|
else if (typeof object.updatedAt === "object")
|
|
23809
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
|
+
}
|
|
23810
23920
|
return message;
|
|
23811
23921
|
};
|
|
23812
23922
|
|
|
@@ -23835,6 +23945,7 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23835
23945
|
object.description = {};
|
|
23836
23946
|
object.bannerMedia = {};
|
|
23837
23947
|
object.patternMedia = {};
|
|
23948
|
+
object.playerBackgroundMedia = {};
|
|
23838
23949
|
}
|
|
23839
23950
|
if (options.defaults) {
|
|
23840
23951
|
object.slug = "";
|
|
@@ -23924,6 +24035,11 @@ $root.ContentfulActivityGroupUpdated = (function() {
|
|
|
23924
24035
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
23925
24036
|
else
|
|
23926
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
|
+
}
|
|
23927
24043
|
return object;
|
|
23928
24044
|
};
|
|
23929
24045
|
|
|
@@ -33141,6 +33257,7 @@ $root.UserDomainDeleted = (function() {
|
|
|
33141
33257
|
* @interface IUserDomainDeleted
|
|
33142
33258
|
* @property {string|null} [hsId] UserDomainDeleted hsId
|
|
33143
33259
|
* @property {number|Long|null} [deletedAt] UserDomainDeleted deletedAt
|
|
33260
|
+
* @property {userdomain.users.UserDeleteReason|null} [deleteReason] UserDomainDeleted deleteReason
|
|
33144
33261
|
*/
|
|
33145
33262
|
|
|
33146
33263
|
/**
|
|
@@ -33174,6 +33291,14 @@ $root.UserDomainDeleted = (function() {
|
|
|
33174
33291
|
*/
|
|
33175
33292
|
UserDomainDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
33176
33293
|
|
|
33294
|
+
/**
|
|
33295
|
+
* UserDomainDeleted deleteReason.
|
|
33296
|
+
* @member {userdomain.users.UserDeleteReason} deleteReason
|
|
33297
|
+
* @memberof UserDomainDeleted
|
|
33298
|
+
* @instance
|
|
33299
|
+
*/
|
|
33300
|
+
UserDomainDeleted.prototype.deleteReason = 0;
|
|
33301
|
+
|
|
33177
33302
|
/**
|
|
33178
33303
|
* Creates a new UserDomainDeleted instance using the specified properties.
|
|
33179
33304
|
* @function create
|
|
@@ -33202,6 +33327,8 @@ $root.UserDomainDeleted = (function() {
|
|
|
33202
33327
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
33203
33328
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
33204
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);
|
|
33205
33332
|
return writer;
|
|
33206
33333
|
};
|
|
33207
33334
|
|
|
@@ -33242,6 +33369,9 @@ $root.UserDomainDeleted = (function() {
|
|
|
33242
33369
|
case 2:
|
|
33243
33370
|
message.deletedAt = reader.uint64();
|
|
33244
33371
|
break;
|
|
33372
|
+
case 3:
|
|
33373
|
+
message.deleteReason = reader.int32();
|
|
33374
|
+
break;
|
|
33245
33375
|
default:
|
|
33246
33376
|
reader.skipType(tag & 7);
|
|
33247
33377
|
break;
|
|
@@ -33283,6 +33413,14 @@ $root.UserDomainDeleted = (function() {
|
|
|
33283
33413
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
33284
33414
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
33285
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
|
+
}
|
|
33286
33424
|
return null;
|
|
33287
33425
|
};
|
|
33288
33426
|
|
|
@@ -33309,6 +33447,16 @@ $root.UserDomainDeleted = (function() {
|
|
|
33309
33447
|
message.deletedAt = object.deletedAt;
|
|
33310
33448
|
else if (typeof object.deletedAt === "object")
|
|
33311
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
|
+
}
|
|
33312
33460
|
return message;
|
|
33313
33461
|
};
|
|
33314
33462
|
|
|
@@ -33332,6 +33480,7 @@ $root.UserDomainDeleted = (function() {
|
|
|
33332
33480
|
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
33333
33481
|
} else
|
|
33334
33482
|
object.deletedAt = options.longs === String ? "0" : 0;
|
|
33483
|
+
object.deleteReason = options.enums === String ? "UNKNOWN_REASON" : 0;
|
|
33335
33484
|
}
|
|
33336
33485
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
33337
33486
|
object.hsId = message.hsId;
|
|
@@ -33340,6 +33489,8 @@ $root.UserDomainDeleted = (function() {
|
|
|
33340
33489
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
33341
33490
|
else
|
|
33342
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;
|
|
33343
33494
|
return object;
|
|
33344
33495
|
};
|
|
33345
33496
|
|
|
@@ -41725,6 +41876,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
41725
41876
|
return "tags: enum value[] expected";
|
|
41726
41877
|
case 0:
|
|
41727
41878
|
case 1:
|
|
41879
|
+
case 2:
|
|
41728
41880
|
break;
|
|
41729
41881
|
}
|
|
41730
41882
|
}
|
|
@@ -41805,6 +41957,10 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
41805
41957
|
case 1:
|
|
41806
41958
|
message.tags[i] = 1;
|
|
41807
41959
|
break;
|
|
41960
|
+
case "IOSTAG_ACTIVE_GRACE_PERIOD":
|
|
41961
|
+
case 2:
|
|
41962
|
+
message.tags[i] = 2;
|
|
41963
|
+
break;
|
|
41808
41964
|
}
|
|
41809
41965
|
}
|
|
41810
41966
|
if (object.terms) {
|
|
@@ -42175,6 +42331,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
42175
42331
|
return "tags: enum value[] expected";
|
|
42176
42332
|
case 0:
|
|
42177
42333
|
case 1:
|
|
42334
|
+
case 2:
|
|
42178
42335
|
break;
|
|
42179
42336
|
}
|
|
42180
42337
|
}
|
|
@@ -42255,6 +42412,10 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
42255
42412
|
case 1:
|
|
42256
42413
|
message.tags[i] = 1;
|
|
42257
42414
|
break;
|
|
42415
|
+
case "IOSTAG_ACTIVE_GRACE_PERIOD":
|
|
42416
|
+
case 2:
|
|
42417
|
+
message.tags[i] = 2;
|
|
42418
|
+
break;
|
|
42258
42419
|
}
|
|
42259
42420
|
}
|
|
42260
42421
|
if (object.terms) {
|
|
@@ -42625,6 +42786,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
42625
42786
|
return "tags: enum value[] expected";
|
|
42626
42787
|
case 0:
|
|
42627
42788
|
case 1:
|
|
42789
|
+
case 2:
|
|
42628
42790
|
break;
|
|
42629
42791
|
}
|
|
42630
42792
|
}
|
|
@@ -42705,6 +42867,10 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
42705
42867
|
case 1:
|
|
42706
42868
|
message.tags[i] = 1;
|
|
42707
42869
|
break;
|
|
42870
|
+
case "IOSTAG_ACTIVE_GRACE_PERIOD":
|
|
42871
|
+
case 2:
|
|
42872
|
+
message.tags[i] = 2;
|
|
42873
|
+
break;
|
|
42708
42874
|
}
|
|
42709
42875
|
}
|
|
42710
42876
|
if (object.terms) {
|
|
@@ -46565,6 +46731,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
46565
46731
|
case 2:
|
|
46566
46732
|
case 3:
|
|
46567
46733
|
case 4:
|
|
46734
|
+
case 5:
|
|
46568
46735
|
break;
|
|
46569
46736
|
}
|
|
46570
46737
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -46672,6 +46839,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
46672
46839
|
case 4:
|
|
46673
46840
|
message.reason = 4;
|
|
46674
46841
|
break;
|
|
46842
|
+
case "REMOVAL_REASON_ROLLOVER":
|
|
46843
|
+
case 5:
|
|
46844
|
+
message.reason = 5;
|
|
46845
|
+
break;
|
|
46675
46846
|
}
|
|
46676
46847
|
if (object.timestamp != null)
|
|
46677
46848
|
if ($util.Long)
|
package/package.json
CHANGED