@headspace/protos-events 1.112.0 → 1.114.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 +18 -6
- package/lib/index.js +68 -53
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3220,9 +3220,6 @@ export interface IContentfulAssetDeleted {
|
|
|
3220
3220
|
/** ContentfulAssetDeleted id */
|
|
3221
3221
|
id?: (string|null);
|
|
3222
3222
|
|
|
3223
|
-
/** ContentfulAssetDeleted file */
|
|
3224
|
-
file?: ({ [k: string]: contentful.IMediaFile }|null);
|
|
3225
|
-
|
|
3226
3223
|
/** ContentfulAssetDeleted deletedAt */
|
|
3227
3224
|
deletedAt?: (number|Long|null);
|
|
3228
3225
|
}
|
|
@@ -3239,9 +3236,6 @@ export class ContentfulAssetDeleted implements IContentfulAssetDeleted {
|
|
|
3239
3236
|
/** ContentfulAssetDeleted id. */
|
|
3240
3237
|
public id: string;
|
|
3241
3238
|
|
|
3242
|
-
/** ContentfulAssetDeleted file. */
|
|
3243
|
-
public file: { [k: string]: contentful.IMediaFile };
|
|
3244
|
-
|
|
3245
3239
|
/** ContentfulAssetDeleted deletedAt. */
|
|
3246
3240
|
public deletedAt: (number|Long);
|
|
3247
3241
|
|
|
@@ -7783,6 +7777,9 @@ export interface IWakeupPlaylistCreated {
|
|
|
7783
7777
|
|
|
7784
7778
|
/** WakeupPlaylistCreated createdAt */
|
|
7785
7779
|
createdAt?: (number|Long|null);
|
|
7780
|
+
|
|
7781
|
+
/** WakeupPlaylistCreated entityId */
|
|
7782
|
+
entityId?: (number|null);
|
|
7786
7783
|
}
|
|
7787
7784
|
|
|
7788
7785
|
/** Represents a WakeupPlaylistCreated. */
|
|
@@ -7815,6 +7812,9 @@ export class WakeupPlaylistCreated implements IWakeupPlaylistCreated {
|
|
|
7815
7812
|
/** WakeupPlaylistCreated createdAt. */
|
|
7816
7813
|
public createdAt: (number|Long);
|
|
7817
7814
|
|
|
7815
|
+
/** WakeupPlaylistCreated entityId. */
|
|
7816
|
+
public entityId: number;
|
|
7817
|
+
|
|
7818
7818
|
/**
|
|
7819
7819
|
* Creates a new WakeupPlaylistCreated instance using the specified properties.
|
|
7820
7820
|
* @param [properties] Properties to set
|
|
@@ -7909,6 +7909,9 @@ export interface IWakeupPlaylistUpdated {
|
|
|
7909
7909
|
|
|
7910
7910
|
/** WakeupPlaylistUpdated updatedAt */
|
|
7911
7911
|
updatedAt?: (number|Long|null);
|
|
7912
|
+
|
|
7913
|
+
/** WakeupPlaylistUpdated entityId */
|
|
7914
|
+
entityId?: (number|null);
|
|
7912
7915
|
}
|
|
7913
7916
|
|
|
7914
7917
|
/** Represents a WakeupPlaylistUpdated. */
|
|
@@ -7941,6 +7944,9 @@ export class WakeupPlaylistUpdated implements IWakeupPlaylistUpdated {
|
|
|
7941
7944
|
/** WakeupPlaylistUpdated updatedAt. */
|
|
7942
7945
|
public updatedAt: (number|Long);
|
|
7943
7946
|
|
|
7947
|
+
/** WakeupPlaylistUpdated entityId. */
|
|
7948
|
+
public entityId: number;
|
|
7949
|
+
|
|
7944
7950
|
/**
|
|
7945
7951
|
* Creates a new WakeupPlaylistUpdated instance using the specified properties.
|
|
7946
7952
|
* @param [properties] Properties to set
|
|
@@ -8023,6 +8029,9 @@ export interface IWakeupPlaylistDeleted {
|
|
|
8023
8029
|
|
|
8024
8030
|
/** WakeupPlaylistDeleted deletedAt */
|
|
8025
8031
|
deletedAt?: (number|Long|null);
|
|
8032
|
+
|
|
8033
|
+
/** WakeupPlaylistDeleted entityId */
|
|
8034
|
+
entityId?: (number|null);
|
|
8026
8035
|
}
|
|
8027
8036
|
|
|
8028
8037
|
/** Represents a WakeupPlaylistDeleted. */
|
|
@@ -8043,6 +8052,9 @@ export class WakeupPlaylistDeleted implements IWakeupPlaylistDeleted {
|
|
|
8043
8052
|
/** WakeupPlaylistDeleted deletedAt. */
|
|
8044
8053
|
public deletedAt: (number|Long);
|
|
8045
8054
|
|
|
8055
|
+
/** WakeupPlaylistDeleted entityId. */
|
|
8056
|
+
public entityId: number;
|
|
8057
|
+
|
|
8046
8058
|
/**
|
|
8047
8059
|
* Creates a new WakeupPlaylistDeleted instance using the specified properties.
|
|
8048
8060
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -7864,7 +7864,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7864
7864
|
* @exports IContentfulAssetDeleted
|
|
7865
7865
|
* @interface IContentfulAssetDeleted
|
|
7866
7866
|
* @property {string|null} [id] ContentfulAssetDeleted id
|
|
7867
|
-
* @property {Object.<string,contentful.IMediaFile>|null} [file] ContentfulAssetDeleted file
|
|
7868
7867
|
* @property {number|Long|null} [deletedAt] ContentfulAssetDeleted deletedAt
|
|
7869
7868
|
*/
|
|
7870
7869
|
|
|
@@ -7877,7 +7876,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7877
7876
|
* @param {IContentfulAssetDeleted=} [properties] Properties to set
|
|
7878
7877
|
*/
|
|
7879
7878
|
function ContentfulAssetDeleted(properties) {
|
|
7880
|
-
this.file = {};
|
|
7881
7879
|
if (properties)
|
|
7882
7880
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
7883
7881
|
if (properties[keys[i]] != null)
|
|
@@ -7892,14 +7890,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7892
7890
|
*/
|
|
7893
7891
|
ContentfulAssetDeleted.prototype.id = "";
|
|
7894
7892
|
|
|
7895
|
-
/**
|
|
7896
|
-
* ContentfulAssetDeleted file.
|
|
7897
|
-
* @member {Object.<string,contentful.IMediaFile>} file
|
|
7898
|
-
* @memberof ContentfulAssetDeleted
|
|
7899
|
-
* @instance
|
|
7900
|
-
*/
|
|
7901
|
-
ContentfulAssetDeleted.prototype.file = $util.emptyObject;
|
|
7902
|
-
|
|
7903
7893
|
/**
|
|
7904
7894
|
* ContentfulAssetDeleted deletedAt.
|
|
7905
7895
|
* @member {number|Long} deletedAt
|
|
@@ -7934,13 +7924,8 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7934
7924
|
writer = $Writer.create();
|
|
7935
7925
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
7936
7926
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
7937
|
-
if (message.file != null && message.hasOwnProperty("file"))
|
|
7938
|
-
for (var keys = Object.keys(message.file), i = 0; i < keys.length; ++i) {
|
|
7939
|
-
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
7940
|
-
$root.contentful.MediaFile.encode(message.file[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
7941
|
-
}
|
|
7942
7927
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
7943
|
-
writer.uint32(/* id
|
|
7928
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
7944
7929
|
return writer;
|
|
7945
7930
|
};
|
|
7946
7931
|
|
|
@@ -7971,7 +7956,7 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7971
7956
|
ContentfulAssetDeleted.decode = function decode(reader, length) {
|
|
7972
7957
|
if (!(reader instanceof $Reader))
|
|
7973
7958
|
reader = $Reader.create(reader);
|
|
7974
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulAssetDeleted()
|
|
7959
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulAssetDeleted();
|
|
7975
7960
|
while (reader.pos < end) {
|
|
7976
7961
|
var tag = reader.uint32();
|
|
7977
7962
|
switch (tag >>> 3) {
|
|
@@ -7979,14 +7964,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7979
7964
|
message.id = reader.string();
|
|
7980
7965
|
break;
|
|
7981
7966
|
case 2:
|
|
7982
|
-
reader.skip().pos++;
|
|
7983
|
-
if (message.file === $util.emptyObject)
|
|
7984
|
-
message.file = {};
|
|
7985
|
-
key = reader.string();
|
|
7986
|
-
reader.pos++;
|
|
7987
|
-
message.file[key] = $root.contentful.MediaFile.decode(reader, reader.uint32());
|
|
7988
|
-
break;
|
|
7989
|
-
case 3:
|
|
7990
7967
|
message.deletedAt = reader.uint64();
|
|
7991
7968
|
break;
|
|
7992
7969
|
default:
|
|
@@ -8027,16 +8004,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
8027
8004
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
8028
8005
|
if (!$util.isString(message.id))
|
|
8029
8006
|
return "id: string expected";
|
|
8030
|
-
if (message.file != null && message.hasOwnProperty("file")) {
|
|
8031
|
-
if (!$util.isObject(message.file))
|
|
8032
|
-
return "file: object expected";
|
|
8033
|
-
var key = Object.keys(message.file);
|
|
8034
|
-
for (var i = 0; i < key.length; ++i) {
|
|
8035
|
-
var error = $root.contentful.MediaFile.verify(message.file[key[i]]);
|
|
8036
|
-
if (error)
|
|
8037
|
-
return "file." + error;
|
|
8038
|
-
}
|
|
8039
|
-
}
|
|
8040
8007
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
8041
8008
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
8042
8009
|
return "deletedAt: integer|Long expected";
|
|
@@ -8057,16 +8024,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
8057
8024
|
var message = new $root.ContentfulAssetDeleted();
|
|
8058
8025
|
if (object.id != null)
|
|
8059
8026
|
message.id = String(object.id);
|
|
8060
|
-
if (object.file) {
|
|
8061
|
-
if (typeof object.file !== "object")
|
|
8062
|
-
throw TypeError(".ContentfulAssetDeleted.file: object expected");
|
|
8063
|
-
message.file = {};
|
|
8064
|
-
for (var keys = Object.keys(object.file), i = 0; i < keys.length; ++i) {
|
|
8065
|
-
if (typeof object.file[keys[i]] !== "object")
|
|
8066
|
-
throw TypeError(".ContentfulAssetDeleted.file: object expected");
|
|
8067
|
-
message.file[keys[i]] = $root.contentful.MediaFile.fromObject(object.file[keys[i]]);
|
|
8068
|
-
}
|
|
8069
|
-
}
|
|
8070
8027
|
if (object.deletedAt != null)
|
|
8071
8028
|
if ($util.Long)
|
|
8072
8029
|
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
@@ -8092,8 +8049,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
8092
8049
|
if (!options)
|
|
8093
8050
|
options = {};
|
|
8094
8051
|
var object = {};
|
|
8095
|
-
if (options.objects || options.defaults)
|
|
8096
|
-
object.file = {};
|
|
8097
8052
|
if (options.defaults) {
|
|
8098
8053
|
object.id = "";
|
|
8099
8054
|
if ($util.Long) {
|
|
@@ -8104,12 +8059,6 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
8104
8059
|
}
|
|
8105
8060
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
8106
8061
|
object.id = message.id;
|
|
8107
|
-
var keys2;
|
|
8108
|
-
if (message.file && (keys2 = Object.keys(message.file)).length) {
|
|
8109
|
-
object.file = {};
|
|
8110
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
8111
|
-
object.file[keys2[j]] = $root.contentful.MediaFile.toObject(message.file[keys2[j]], options);
|
|
8112
|
-
}
|
|
8113
8062
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
8114
8063
|
if (typeof message.deletedAt === "number")
|
|
8115
8064
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
@@ -20072,6 +20021,7 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20072
20021
|
* @property {string|null} [previewMediaType] WakeupPlaylistCreated previewMediaType
|
|
20073
20022
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistCreated accessGroups
|
|
20074
20023
|
* @property {number|Long|null} [createdAt] WakeupPlaylistCreated createdAt
|
|
20024
|
+
* @property {number|null} [entityId] WakeupPlaylistCreated entityId
|
|
20075
20025
|
*/
|
|
20076
20026
|
|
|
20077
20027
|
/**
|
|
@@ -20146,6 +20096,14 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20146
20096
|
*/
|
|
20147
20097
|
WakeupPlaylistCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
20148
20098
|
|
|
20099
|
+
/**
|
|
20100
|
+
* WakeupPlaylistCreated entityId.
|
|
20101
|
+
* @member {number} entityId
|
|
20102
|
+
* @memberof WakeupPlaylistCreated
|
|
20103
|
+
* @instance
|
|
20104
|
+
*/
|
|
20105
|
+
WakeupPlaylistCreated.prototype.entityId = 0;
|
|
20106
|
+
|
|
20149
20107
|
/**
|
|
20150
20108
|
* Creates a new WakeupPlaylistCreated instance using the specified properties.
|
|
20151
20109
|
* @function create
|
|
@@ -20185,6 +20143,8 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20185
20143
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
20186
20144
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
20187
20145
|
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.createdAt);
|
|
20146
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20147
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.entityId);
|
|
20188
20148
|
return writer;
|
|
20189
20149
|
};
|
|
20190
20150
|
|
|
@@ -20242,6 +20202,9 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20242
20202
|
case 7:
|
|
20243
20203
|
message.createdAt = reader.uint64();
|
|
20244
20204
|
break;
|
|
20205
|
+
case 8:
|
|
20206
|
+
message.entityId = reader.uint32();
|
|
20207
|
+
break;
|
|
20245
20208
|
default:
|
|
20246
20209
|
reader.skipType(tag & 7);
|
|
20247
20210
|
break;
|
|
@@ -20304,6 +20267,9 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20304
20267
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
20305
20268
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
20306
20269
|
return "createdAt: integer|Long expected";
|
|
20270
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20271
|
+
if (!$util.isInteger(message.entityId))
|
|
20272
|
+
return "entityId: integer expected";
|
|
20307
20273
|
return null;
|
|
20308
20274
|
};
|
|
20309
20275
|
|
|
@@ -20355,6 +20321,8 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20355
20321
|
message.createdAt = object.createdAt;
|
|
20356
20322
|
else if (typeof object.createdAt === "object")
|
|
20357
20323
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
20324
|
+
if (object.entityId != null)
|
|
20325
|
+
message.entityId = object.entityId >>> 0;
|
|
20358
20326
|
return message;
|
|
20359
20327
|
};
|
|
20360
20328
|
|
|
@@ -20388,6 +20356,7 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20388
20356
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
20389
20357
|
} else
|
|
20390
20358
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
20359
|
+
object.entityId = 0;
|
|
20391
20360
|
}
|
|
20392
20361
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
20393
20362
|
object.slug = message.slug;
|
|
@@ -20412,6 +20381,8 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
20412
20381
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
20413
20382
|
else
|
|
20414
20383
|
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;
|
|
20384
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20385
|
+
object.entityId = message.entityId;
|
|
20415
20386
|
return object;
|
|
20416
20387
|
};
|
|
20417
20388
|
|
|
@@ -20442,6 +20413,7 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20442
20413
|
* @property {string|null} [previewMediaType] WakeupPlaylistUpdated previewMediaType
|
|
20443
20414
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistUpdated accessGroups
|
|
20444
20415
|
* @property {number|Long|null} [updatedAt] WakeupPlaylistUpdated updatedAt
|
|
20416
|
+
* @property {number|null} [entityId] WakeupPlaylistUpdated entityId
|
|
20445
20417
|
*/
|
|
20446
20418
|
|
|
20447
20419
|
/**
|
|
@@ -20516,6 +20488,14 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20516
20488
|
*/
|
|
20517
20489
|
WakeupPlaylistUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
20518
20490
|
|
|
20491
|
+
/**
|
|
20492
|
+
* WakeupPlaylistUpdated entityId.
|
|
20493
|
+
* @member {number} entityId
|
|
20494
|
+
* @memberof WakeupPlaylistUpdated
|
|
20495
|
+
* @instance
|
|
20496
|
+
*/
|
|
20497
|
+
WakeupPlaylistUpdated.prototype.entityId = 0;
|
|
20498
|
+
|
|
20519
20499
|
/**
|
|
20520
20500
|
* Creates a new WakeupPlaylistUpdated instance using the specified properties.
|
|
20521
20501
|
* @function create
|
|
@@ -20555,6 +20535,8 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20555
20535
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
20556
20536
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20557
20537
|
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.updatedAt);
|
|
20538
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20539
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.entityId);
|
|
20558
20540
|
return writer;
|
|
20559
20541
|
};
|
|
20560
20542
|
|
|
@@ -20612,6 +20594,9 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20612
20594
|
case 7:
|
|
20613
20595
|
message.updatedAt = reader.uint64();
|
|
20614
20596
|
break;
|
|
20597
|
+
case 8:
|
|
20598
|
+
message.entityId = reader.uint32();
|
|
20599
|
+
break;
|
|
20615
20600
|
default:
|
|
20616
20601
|
reader.skipType(tag & 7);
|
|
20617
20602
|
break;
|
|
@@ -20674,6 +20659,9 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20674
20659
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20675
20660
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
20676
20661
|
return "updatedAt: integer|Long expected";
|
|
20662
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20663
|
+
if (!$util.isInteger(message.entityId))
|
|
20664
|
+
return "entityId: integer expected";
|
|
20677
20665
|
return null;
|
|
20678
20666
|
};
|
|
20679
20667
|
|
|
@@ -20725,6 +20713,8 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20725
20713
|
message.updatedAt = object.updatedAt;
|
|
20726
20714
|
else if (typeof object.updatedAt === "object")
|
|
20727
20715
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
20716
|
+
if (object.entityId != null)
|
|
20717
|
+
message.entityId = object.entityId >>> 0;
|
|
20728
20718
|
return message;
|
|
20729
20719
|
};
|
|
20730
20720
|
|
|
@@ -20758,6 +20748,7 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20758
20748
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
20759
20749
|
} else
|
|
20760
20750
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
20751
|
+
object.entityId = 0;
|
|
20761
20752
|
}
|
|
20762
20753
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
20763
20754
|
object.slug = message.slug;
|
|
@@ -20782,6 +20773,8 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
20782
20773
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
20783
20774
|
else
|
|
20784
20775
|
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;
|
|
20776
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20777
|
+
object.entityId = message.entityId;
|
|
20785
20778
|
return object;
|
|
20786
20779
|
};
|
|
20787
20780
|
|
|
@@ -20808,6 +20801,7 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
20808
20801
|
* @property {string|null} [slug] WakeupPlaylistDeleted slug
|
|
20809
20802
|
* @property {string|null} [entityType] WakeupPlaylistDeleted entityType
|
|
20810
20803
|
* @property {number|Long|null} [deletedAt] WakeupPlaylistDeleted deletedAt
|
|
20804
|
+
* @property {number|null} [entityId] WakeupPlaylistDeleted entityId
|
|
20811
20805
|
*/
|
|
20812
20806
|
|
|
20813
20807
|
/**
|
|
@@ -20849,6 +20843,14 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
20849
20843
|
*/
|
|
20850
20844
|
WakeupPlaylistDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
20851
20845
|
|
|
20846
|
+
/**
|
|
20847
|
+
* WakeupPlaylistDeleted entityId.
|
|
20848
|
+
* @member {number} entityId
|
|
20849
|
+
* @memberof WakeupPlaylistDeleted
|
|
20850
|
+
* @instance
|
|
20851
|
+
*/
|
|
20852
|
+
WakeupPlaylistDeleted.prototype.entityId = 0;
|
|
20853
|
+
|
|
20852
20854
|
/**
|
|
20853
20855
|
* Creates a new WakeupPlaylistDeleted instance using the specified properties.
|
|
20854
20856
|
* @function create
|
|
@@ -20879,6 +20881,8 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
20879
20881
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityType);
|
|
20880
20882
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
20881
20883
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
|
|
20884
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20885
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.entityId);
|
|
20882
20886
|
return writer;
|
|
20883
20887
|
};
|
|
20884
20888
|
|
|
@@ -20922,6 +20926,9 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
20922
20926
|
case 3:
|
|
20923
20927
|
message.deletedAt = reader.uint64();
|
|
20924
20928
|
break;
|
|
20929
|
+
case 4:
|
|
20930
|
+
message.entityId = reader.uint32();
|
|
20931
|
+
break;
|
|
20925
20932
|
default:
|
|
20926
20933
|
reader.skipType(tag & 7);
|
|
20927
20934
|
break;
|
|
@@ -20966,6 +20973,9 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
20966
20973
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
20967
20974
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
20968
20975
|
return "deletedAt: integer|Long expected";
|
|
20976
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
20977
|
+
if (!$util.isInteger(message.entityId))
|
|
20978
|
+
return "entityId: integer expected";
|
|
20969
20979
|
return null;
|
|
20970
20980
|
};
|
|
20971
20981
|
|
|
@@ -20994,6 +21004,8 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
20994
21004
|
message.deletedAt = object.deletedAt;
|
|
20995
21005
|
else if (typeof object.deletedAt === "object")
|
|
20996
21006
|
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
21007
|
+
if (object.entityId != null)
|
|
21008
|
+
message.entityId = object.entityId >>> 0;
|
|
20997
21009
|
return message;
|
|
20998
21010
|
};
|
|
20999
21011
|
|
|
@@ -21018,6 +21030,7 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
21018
21030
|
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
21019
21031
|
} else
|
|
21020
21032
|
object.deletedAt = options.longs === String ? "0" : 0;
|
|
21033
|
+
object.entityId = 0;
|
|
21021
21034
|
}
|
|
21022
21035
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
21023
21036
|
object.slug = message.slug;
|
|
@@ -21028,6 +21041,8 @@ $root.WakeupPlaylistDeleted = (function() {
|
|
|
21028
21041
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
21029
21042
|
else
|
|
21030
21043
|
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;
|
|
21044
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
21045
|
+
object.entityId = message.entityId;
|
|
21031
21046
|
return object;
|
|
21032
21047
|
};
|
|
21033
21048
|
|
package/package.json
CHANGED