@headspace/protos-events 1.119.0 → 1.121.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 +153 -135
- package/lib/index.js +413 -307
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -9183,34 +9183,36 @@ $root.ContentfulAccessGroupDeleted = (function() {
|
|
|
9183
9183
|
return ContentfulAccessGroupDeleted;
|
|
9184
9184
|
})();
|
|
9185
9185
|
|
|
9186
|
-
$root.
|
|
9187
|
-
|
|
9188
|
-
/**
|
|
9189
|
-
* Properties of a
|
|
9190
|
-
* @exports
|
|
9191
|
-
* @interface
|
|
9192
|
-
* @property {string|null} [slug]
|
|
9193
|
-
* @property {string|null} [contentType]
|
|
9194
|
-
* @property {Object.<string,string>|null} [
|
|
9195
|
-
* @property {Object.<string,string>|null} [
|
|
9196
|
-
* @property {Object.<string,string>|null} [
|
|
9197
|
-
* @property {Object.<string,string>|null} [
|
|
9198
|
-
* @property {Object.<string,
|
|
9199
|
-
* @property {Object.<string,contentful.
|
|
9200
|
-
* @property {Object.<string,
|
|
9201
|
-
* @property {
|
|
9202
|
-
* @property {
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
*
|
|
9208
|
-
* @
|
|
9209
|
-
* @
|
|
9186
|
+
$root.ContentfulPlaylistCreated = (function() {
|
|
9187
|
+
|
|
9188
|
+
/**
|
|
9189
|
+
* Properties of a ContentfulPlaylistCreated.
|
|
9190
|
+
* @exports IContentfulPlaylistCreated
|
|
9191
|
+
* @interface IContentfulPlaylistCreated
|
|
9192
|
+
* @property {string|null} [slug] ContentfulPlaylistCreated slug
|
|
9193
|
+
* @property {string|null} [contentType] ContentfulPlaylistCreated contentType
|
|
9194
|
+
* @property {Object.<string,string>|null} [type] ContentfulPlaylistCreated type
|
|
9195
|
+
* @property {Object.<string,string>|null} [title] ContentfulPlaylistCreated title
|
|
9196
|
+
* @property {Object.<string,string>|null} [teaser] ContentfulPlaylistCreated teaser
|
|
9197
|
+
* @property {Object.<string,string>|null} [description] ContentfulPlaylistCreated description
|
|
9198
|
+
* @property {Object.<string,string>|null} [playerOrientation] ContentfulPlaylistCreated playerOrientation
|
|
9199
|
+
* @property {Object.<string,contentful.IIdReference>|null} [previewMedia] ContentfulPlaylistCreated previewMedia
|
|
9200
|
+
* @property {Object.<string,contentful.IIdReferences>|null} [videoSegments] ContentfulPlaylistCreated videoSegments
|
|
9201
|
+
* @property {Object.<string,number|Long>|null} [schedule] ContentfulPlaylistCreated schedule
|
|
9202
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistCreated accessGroups
|
|
9203
|
+
* @property {number|Long|null} [createdAt] ContentfulPlaylistCreated createdAt
|
|
9204
|
+
*/
|
|
9205
|
+
|
|
9206
|
+
/**
|
|
9207
|
+
* Constructs a new ContentfulPlaylistCreated.
|
|
9208
|
+
* @exports ContentfulPlaylistCreated
|
|
9209
|
+
* @classdesc Represents a ContentfulPlaylistCreated.
|
|
9210
|
+
* @implements IContentfulPlaylistCreated
|
|
9210
9211
|
* @constructor
|
|
9211
|
-
* @param {
|
|
9212
|
+
* @param {IContentfulPlaylistCreated=} [properties] Properties to set
|
|
9212
9213
|
*/
|
|
9213
|
-
function
|
|
9214
|
+
function ContentfulPlaylistCreated(properties) {
|
|
9215
|
+
this.type = {};
|
|
9214
9216
|
this.title = {};
|
|
9215
9217
|
this.teaser = {};
|
|
9216
9218
|
this.description = {};
|
|
@@ -9226,182 +9228,193 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9226
9228
|
}
|
|
9227
9229
|
|
|
9228
9230
|
/**
|
|
9229
|
-
*
|
|
9231
|
+
* ContentfulPlaylistCreated slug.
|
|
9230
9232
|
* @member {string} slug
|
|
9231
|
-
* @memberof
|
|
9233
|
+
* @memberof ContentfulPlaylistCreated
|
|
9232
9234
|
* @instance
|
|
9233
9235
|
*/
|
|
9234
|
-
|
|
9236
|
+
ContentfulPlaylistCreated.prototype.slug = "";
|
|
9235
9237
|
|
|
9236
9238
|
/**
|
|
9237
|
-
*
|
|
9239
|
+
* ContentfulPlaylistCreated contentType.
|
|
9238
9240
|
* @member {string} contentType
|
|
9239
|
-
* @memberof
|
|
9241
|
+
* @memberof ContentfulPlaylistCreated
|
|
9240
9242
|
* @instance
|
|
9241
9243
|
*/
|
|
9242
|
-
|
|
9244
|
+
ContentfulPlaylistCreated.prototype.contentType = "";
|
|
9243
9245
|
|
|
9244
9246
|
/**
|
|
9245
|
-
*
|
|
9247
|
+
* ContentfulPlaylistCreated type.
|
|
9248
|
+
* @member {Object.<string,string>} type
|
|
9249
|
+
* @memberof ContentfulPlaylistCreated
|
|
9250
|
+
* @instance
|
|
9251
|
+
*/
|
|
9252
|
+
ContentfulPlaylistCreated.prototype.type = $util.emptyObject;
|
|
9253
|
+
|
|
9254
|
+
/**
|
|
9255
|
+
* ContentfulPlaylistCreated title.
|
|
9246
9256
|
* @member {Object.<string,string>} title
|
|
9247
|
-
* @memberof
|
|
9257
|
+
* @memberof ContentfulPlaylistCreated
|
|
9248
9258
|
* @instance
|
|
9249
9259
|
*/
|
|
9250
|
-
|
|
9260
|
+
ContentfulPlaylistCreated.prototype.title = $util.emptyObject;
|
|
9251
9261
|
|
|
9252
9262
|
/**
|
|
9253
|
-
*
|
|
9263
|
+
* ContentfulPlaylistCreated teaser.
|
|
9254
9264
|
* @member {Object.<string,string>} teaser
|
|
9255
|
-
* @memberof
|
|
9265
|
+
* @memberof ContentfulPlaylistCreated
|
|
9256
9266
|
* @instance
|
|
9257
9267
|
*/
|
|
9258
|
-
|
|
9268
|
+
ContentfulPlaylistCreated.prototype.teaser = $util.emptyObject;
|
|
9259
9269
|
|
|
9260
9270
|
/**
|
|
9261
|
-
*
|
|
9271
|
+
* ContentfulPlaylistCreated description.
|
|
9262
9272
|
* @member {Object.<string,string>} description
|
|
9263
|
-
* @memberof
|
|
9273
|
+
* @memberof ContentfulPlaylistCreated
|
|
9264
9274
|
* @instance
|
|
9265
9275
|
*/
|
|
9266
|
-
|
|
9276
|
+
ContentfulPlaylistCreated.prototype.description = $util.emptyObject;
|
|
9267
9277
|
|
|
9268
9278
|
/**
|
|
9269
|
-
*
|
|
9279
|
+
* ContentfulPlaylistCreated playerOrientation.
|
|
9270
9280
|
* @member {Object.<string,string>} playerOrientation
|
|
9271
|
-
* @memberof
|
|
9281
|
+
* @memberof ContentfulPlaylistCreated
|
|
9272
9282
|
* @instance
|
|
9273
9283
|
*/
|
|
9274
|
-
|
|
9284
|
+
ContentfulPlaylistCreated.prototype.playerOrientation = $util.emptyObject;
|
|
9275
9285
|
|
|
9276
9286
|
/**
|
|
9277
|
-
*
|
|
9287
|
+
* ContentfulPlaylistCreated previewMedia.
|
|
9278
9288
|
* @member {Object.<string,contentful.IIdReference>} previewMedia
|
|
9279
|
-
* @memberof
|
|
9289
|
+
* @memberof ContentfulPlaylistCreated
|
|
9280
9290
|
* @instance
|
|
9281
9291
|
*/
|
|
9282
|
-
|
|
9292
|
+
ContentfulPlaylistCreated.prototype.previewMedia = $util.emptyObject;
|
|
9283
9293
|
|
|
9284
9294
|
/**
|
|
9285
|
-
*
|
|
9295
|
+
* ContentfulPlaylistCreated videoSegments.
|
|
9286
9296
|
* @member {Object.<string,contentful.IIdReferences>} videoSegments
|
|
9287
|
-
* @memberof
|
|
9297
|
+
* @memberof ContentfulPlaylistCreated
|
|
9288
9298
|
* @instance
|
|
9289
9299
|
*/
|
|
9290
|
-
|
|
9300
|
+
ContentfulPlaylistCreated.prototype.videoSegments = $util.emptyObject;
|
|
9291
9301
|
|
|
9292
9302
|
/**
|
|
9293
|
-
*
|
|
9303
|
+
* ContentfulPlaylistCreated schedule.
|
|
9294
9304
|
* @member {Object.<string,number|Long>} schedule
|
|
9295
|
-
* @memberof
|
|
9305
|
+
* @memberof ContentfulPlaylistCreated
|
|
9296
9306
|
* @instance
|
|
9297
9307
|
*/
|
|
9298
|
-
|
|
9308
|
+
ContentfulPlaylistCreated.prototype.schedule = $util.emptyObject;
|
|
9299
9309
|
|
|
9300
9310
|
/**
|
|
9301
|
-
*
|
|
9311
|
+
* ContentfulPlaylistCreated accessGroups.
|
|
9302
9312
|
* @member {Array.<contentful.ISlugReference>} accessGroups
|
|
9303
|
-
* @memberof
|
|
9313
|
+
* @memberof ContentfulPlaylistCreated
|
|
9304
9314
|
* @instance
|
|
9305
9315
|
*/
|
|
9306
|
-
|
|
9316
|
+
ContentfulPlaylistCreated.prototype.accessGroups = $util.emptyArray;
|
|
9307
9317
|
|
|
9308
9318
|
/**
|
|
9309
|
-
*
|
|
9319
|
+
* ContentfulPlaylistCreated createdAt.
|
|
9310
9320
|
* @member {number|Long} createdAt
|
|
9311
|
-
* @memberof
|
|
9321
|
+
* @memberof ContentfulPlaylistCreated
|
|
9312
9322
|
* @instance
|
|
9313
9323
|
*/
|
|
9314
|
-
|
|
9324
|
+
ContentfulPlaylistCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
9315
9325
|
|
|
9316
9326
|
/**
|
|
9317
|
-
* Creates a new
|
|
9327
|
+
* Creates a new ContentfulPlaylistCreated instance using the specified properties.
|
|
9318
9328
|
* @function create
|
|
9319
|
-
* @memberof
|
|
9329
|
+
* @memberof ContentfulPlaylistCreated
|
|
9320
9330
|
* @static
|
|
9321
|
-
* @param {
|
|
9322
|
-
* @returns {
|
|
9331
|
+
* @param {IContentfulPlaylistCreated=} [properties] Properties to set
|
|
9332
|
+
* @returns {ContentfulPlaylistCreated} ContentfulPlaylistCreated instance
|
|
9323
9333
|
*/
|
|
9324
|
-
|
|
9325
|
-
return new
|
|
9334
|
+
ContentfulPlaylistCreated.create = function create(properties) {
|
|
9335
|
+
return new ContentfulPlaylistCreated(properties);
|
|
9326
9336
|
};
|
|
9327
9337
|
|
|
9328
9338
|
/**
|
|
9329
|
-
* Encodes the specified
|
|
9339
|
+
* Encodes the specified ContentfulPlaylistCreated message. Does not implicitly {@link ContentfulPlaylistCreated.verify|verify} messages.
|
|
9330
9340
|
* @function encode
|
|
9331
|
-
* @memberof
|
|
9341
|
+
* @memberof ContentfulPlaylistCreated
|
|
9332
9342
|
* @static
|
|
9333
|
-
* @param {
|
|
9343
|
+
* @param {IContentfulPlaylistCreated} message ContentfulPlaylistCreated message or plain object to encode
|
|
9334
9344
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9335
9345
|
* @returns {$protobuf.Writer} Writer
|
|
9336
9346
|
*/
|
|
9337
|
-
|
|
9347
|
+
ContentfulPlaylistCreated.encode = function encode(message, writer) {
|
|
9338
9348
|
if (!writer)
|
|
9339
9349
|
writer = $Writer.create();
|
|
9340
9350
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
9341
9351
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
9342
9352
|
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
9343
9353
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.contentType);
|
|
9354
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
9355
|
+
for (var keys = Object.keys(message.type), i = 0; i < keys.length; ++i)
|
|
9356
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.type[keys[i]]).ldelim();
|
|
9344
9357
|
if (message.title != null && message.hasOwnProperty("title"))
|
|
9345
9358
|
for (var keys = Object.keys(message.title), i = 0; i < keys.length; ++i)
|
|
9346
|
-
writer.uint32(/* id
|
|
9359
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.title[keys[i]]).ldelim();
|
|
9347
9360
|
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
9348
9361
|
for (var keys = Object.keys(message.teaser), i = 0; i < keys.length; ++i)
|
|
9349
|
-
writer.uint32(/* id
|
|
9362
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.teaser[keys[i]]).ldelim();
|
|
9350
9363
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
9351
9364
|
for (var keys = Object.keys(message.description), i = 0; i < keys.length; ++i)
|
|
9352
|
-
writer.uint32(/* id
|
|
9365
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.description[keys[i]]).ldelim();
|
|
9353
9366
|
if (message.playerOrientation != null && message.hasOwnProperty("playerOrientation"))
|
|
9354
9367
|
for (var keys = Object.keys(message.playerOrientation), i = 0; i < keys.length; ++i)
|
|
9355
|
-
writer.uint32(/* id
|
|
9368
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.playerOrientation[keys[i]]).ldelim();
|
|
9356
9369
|
if (message.previewMedia != null && message.hasOwnProperty("previewMedia"))
|
|
9357
9370
|
for (var keys = Object.keys(message.previewMedia), i = 0; i < keys.length; ++i) {
|
|
9358
|
-
writer.uint32(/* id
|
|
9371
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
9359
9372
|
$root.contentful.IdReference.encode(message.previewMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
9360
9373
|
}
|
|
9361
9374
|
if (message.videoSegments != null && message.hasOwnProperty("videoSegments"))
|
|
9362
9375
|
for (var keys = Object.keys(message.videoSegments), i = 0; i < keys.length; ++i) {
|
|
9363
|
-
writer.uint32(/* id
|
|
9376
|
+
writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
9364
9377
|
$root.contentful.IdReferences.encode(message.videoSegments[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
9365
9378
|
}
|
|
9366
9379
|
if (message.schedule != null && message.hasOwnProperty("schedule"))
|
|
9367
9380
|
for (var keys = Object.keys(message.schedule), i = 0; i < keys.length; ++i)
|
|
9368
|
-
writer.uint32(/* id
|
|
9381
|
+
writer.uint32(/* id 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).uint64(message.schedule[keys[i]]).ldelim();
|
|
9369
9382
|
if (message.accessGroups != null && message.accessGroups.length)
|
|
9370
9383
|
for (var i = 0; i < message.accessGroups.length; ++i)
|
|
9371
|
-
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id
|
|
9384
|
+
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
9372
9385
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
9373
|
-
writer.uint32(/* id
|
|
9386
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.createdAt);
|
|
9374
9387
|
return writer;
|
|
9375
9388
|
};
|
|
9376
9389
|
|
|
9377
9390
|
/**
|
|
9378
|
-
* Encodes the specified
|
|
9391
|
+
* Encodes the specified ContentfulPlaylistCreated message, length delimited. Does not implicitly {@link ContentfulPlaylistCreated.verify|verify} messages.
|
|
9379
9392
|
* @function encodeDelimited
|
|
9380
|
-
* @memberof
|
|
9393
|
+
* @memberof ContentfulPlaylistCreated
|
|
9381
9394
|
* @static
|
|
9382
|
-
* @param {
|
|
9395
|
+
* @param {IContentfulPlaylistCreated} message ContentfulPlaylistCreated message or plain object to encode
|
|
9383
9396
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9384
9397
|
* @returns {$protobuf.Writer} Writer
|
|
9385
9398
|
*/
|
|
9386
|
-
|
|
9399
|
+
ContentfulPlaylistCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
9387
9400
|
return this.encode(message, writer).ldelim();
|
|
9388
9401
|
};
|
|
9389
9402
|
|
|
9390
9403
|
/**
|
|
9391
|
-
* Decodes a
|
|
9404
|
+
* Decodes a ContentfulPlaylistCreated message from the specified reader or buffer.
|
|
9392
9405
|
* @function decode
|
|
9393
|
-
* @memberof
|
|
9406
|
+
* @memberof ContentfulPlaylistCreated
|
|
9394
9407
|
* @static
|
|
9395
9408
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9396
9409
|
* @param {number} [length] Message length if known beforehand
|
|
9397
|
-
* @returns {
|
|
9410
|
+
* @returns {ContentfulPlaylistCreated} ContentfulPlaylistCreated
|
|
9398
9411
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9399
9412
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9400
9413
|
*/
|
|
9401
|
-
|
|
9414
|
+
ContentfulPlaylistCreated.decode = function decode(reader, length) {
|
|
9402
9415
|
if (!(reader instanceof $Reader))
|
|
9403
9416
|
reader = $Reader.create(reader);
|
|
9404
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
9417
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulPlaylistCreated(), key;
|
|
9405
9418
|
while (reader.pos < end) {
|
|
9406
9419
|
var tag = reader.uint32();
|
|
9407
9420
|
switch (tag >>> 3) {
|
|
@@ -9412,6 +9425,14 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9412
9425
|
message.contentType = reader.string();
|
|
9413
9426
|
break;
|
|
9414
9427
|
case 3:
|
|
9428
|
+
reader.skip().pos++;
|
|
9429
|
+
if (message.type === $util.emptyObject)
|
|
9430
|
+
message.type = {};
|
|
9431
|
+
key = reader.string();
|
|
9432
|
+
reader.pos++;
|
|
9433
|
+
message.type[key] = reader.string();
|
|
9434
|
+
break;
|
|
9435
|
+
case 4:
|
|
9415
9436
|
reader.skip().pos++;
|
|
9416
9437
|
if (message.title === $util.emptyObject)
|
|
9417
9438
|
message.title = {};
|
|
@@ -9419,7 +9440,7 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9419
9440
|
reader.pos++;
|
|
9420
9441
|
message.title[key] = reader.string();
|
|
9421
9442
|
break;
|
|
9422
|
-
case
|
|
9443
|
+
case 5:
|
|
9423
9444
|
reader.skip().pos++;
|
|
9424
9445
|
if (message.teaser === $util.emptyObject)
|
|
9425
9446
|
message.teaser = {};
|
|
@@ -9427,7 +9448,7 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9427
9448
|
reader.pos++;
|
|
9428
9449
|
message.teaser[key] = reader.string();
|
|
9429
9450
|
break;
|
|
9430
|
-
case
|
|
9451
|
+
case 6:
|
|
9431
9452
|
reader.skip().pos++;
|
|
9432
9453
|
if (message.description === $util.emptyObject)
|
|
9433
9454
|
message.description = {};
|
|
@@ -9435,7 +9456,7 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9435
9456
|
reader.pos++;
|
|
9436
9457
|
message.description[key] = reader.string();
|
|
9437
9458
|
break;
|
|
9438
|
-
case
|
|
9459
|
+
case 7:
|
|
9439
9460
|
reader.skip().pos++;
|
|
9440
9461
|
if (message.playerOrientation === $util.emptyObject)
|
|
9441
9462
|
message.playerOrientation = {};
|
|
@@ -9443,7 +9464,7 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9443
9464
|
reader.pos++;
|
|
9444
9465
|
message.playerOrientation[key] = reader.string();
|
|
9445
9466
|
break;
|
|
9446
|
-
case
|
|
9467
|
+
case 8:
|
|
9447
9468
|
reader.skip().pos++;
|
|
9448
9469
|
if (message.previewMedia === $util.emptyObject)
|
|
9449
9470
|
message.previewMedia = {};
|
|
@@ -9451,7 +9472,7 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9451
9472
|
reader.pos++;
|
|
9452
9473
|
message.previewMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
9453
9474
|
break;
|
|
9454
|
-
case
|
|
9475
|
+
case 9:
|
|
9455
9476
|
reader.skip().pos++;
|
|
9456
9477
|
if (message.videoSegments === $util.emptyObject)
|
|
9457
9478
|
message.videoSegments = {};
|
|
@@ -9459,7 +9480,7 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9459
9480
|
reader.pos++;
|
|
9460
9481
|
message.videoSegments[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
9461
9482
|
break;
|
|
9462
|
-
case
|
|
9483
|
+
case 10:
|
|
9463
9484
|
reader.skip().pos++;
|
|
9464
9485
|
if (message.schedule === $util.emptyObject)
|
|
9465
9486
|
message.schedule = {};
|
|
@@ -9467,12 +9488,12 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9467
9488
|
reader.pos++;
|
|
9468
9489
|
message.schedule[key] = reader.uint64();
|
|
9469
9490
|
break;
|
|
9470
|
-
case
|
|
9491
|
+
case 11:
|
|
9471
9492
|
if (!(message.accessGroups && message.accessGroups.length))
|
|
9472
9493
|
message.accessGroups = [];
|
|
9473
9494
|
message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
9474
9495
|
break;
|
|
9475
|
-
case
|
|
9496
|
+
case 12:
|
|
9476
9497
|
message.createdAt = reader.uint64();
|
|
9477
9498
|
break;
|
|
9478
9499
|
default:
|
|
@@ -9484,30 +9505,30 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9484
9505
|
};
|
|
9485
9506
|
|
|
9486
9507
|
/**
|
|
9487
|
-
* Decodes a
|
|
9508
|
+
* Decodes a ContentfulPlaylistCreated message from the specified reader or buffer, length delimited.
|
|
9488
9509
|
* @function decodeDelimited
|
|
9489
|
-
* @memberof
|
|
9510
|
+
* @memberof ContentfulPlaylistCreated
|
|
9490
9511
|
* @static
|
|
9491
9512
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9492
|
-
* @returns {
|
|
9513
|
+
* @returns {ContentfulPlaylistCreated} ContentfulPlaylistCreated
|
|
9493
9514
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9494
9515
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9495
9516
|
*/
|
|
9496
|
-
|
|
9517
|
+
ContentfulPlaylistCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
9497
9518
|
if (!(reader instanceof $Reader))
|
|
9498
9519
|
reader = new $Reader(reader);
|
|
9499
9520
|
return this.decode(reader, reader.uint32());
|
|
9500
9521
|
};
|
|
9501
9522
|
|
|
9502
9523
|
/**
|
|
9503
|
-
* Verifies a
|
|
9524
|
+
* Verifies a ContentfulPlaylistCreated message.
|
|
9504
9525
|
* @function verify
|
|
9505
|
-
* @memberof
|
|
9526
|
+
* @memberof ContentfulPlaylistCreated
|
|
9506
9527
|
* @static
|
|
9507
9528
|
* @param {Object.<string,*>} message Plain object to verify
|
|
9508
9529
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
9509
9530
|
*/
|
|
9510
|
-
|
|
9531
|
+
ContentfulPlaylistCreated.verify = function verify(message) {
|
|
9511
9532
|
if (typeof message !== "object" || message === null)
|
|
9512
9533
|
return "object expected";
|
|
9513
9534
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
@@ -9516,6 +9537,14 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9516
9537
|
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
9517
9538
|
if (!$util.isString(message.contentType))
|
|
9518
9539
|
return "contentType: string expected";
|
|
9540
|
+
if (message.type != null && message.hasOwnProperty("type")) {
|
|
9541
|
+
if (!$util.isObject(message.type))
|
|
9542
|
+
return "type: object expected";
|
|
9543
|
+
var key = Object.keys(message.type);
|
|
9544
|
+
for (var i = 0; i < key.length; ++i)
|
|
9545
|
+
if (!$util.isString(message.type[key[i]]))
|
|
9546
|
+
return "type: string{k:string} expected";
|
|
9547
|
+
}
|
|
9519
9548
|
if (message.title != null && message.hasOwnProperty("title")) {
|
|
9520
9549
|
if (!$util.isObject(message.title))
|
|
9521
9550
|
return "title: object expected";
|
|
@@ -9592,72 +9621,79 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9592
9621
|
};
|
|
9593
9622
|
|
|
9594
9623
|
/**
|
|
9595
|
-
* Creates a
|
|
9624
|
+
* Creates a ContentfulPlaylistCreated message from a plain object. Also converts values to their respective internal types.
|
|
9596
9625
|
* @function fromObject
|
|
9597
|
-
* @memberof
|
|
9626
|
+
* @memberof ContentfulPlaylistCreated
|
|
9598
9627
|
* @static
|
|
9599
9628
|
* @param {Object.<string,*>} object Plain object
|
|
9600
|
-
* @returns {
|
|
9629
|
+
* @returns {ContentfulPlaylistCreated} ContentfulPlaylistCreated
|
|
9601
9630
|
*/
|
|
9602
|
-
|
|
9603
|
-
if (object instanceof $root.
|
|
9631
|
+
ContentfulPlaylistCreated.fromObject = function fromObject(object) {
|
|
9632
|
+
if (object instanceof $root.ContentfulPlaylistCreated)
|
|
9604
9633
|
return object;
|
|
9605
|
-
var message = new $root.
|
|
9634
|
+
var message = new $root.ContentfulPlaylistCreated();
|
|
9606
9635
|
if (object.slug != null)
|
|
9607
9636
|
message.slug = String(object.slug);
|
|
9608
9637
|
if (object.contentType != null)
|
|
9609
9638
|
message.contentType = String(object.contentType);
|
|
9639
|
+
if (object.type) {
|
|
9640
|
+
if (typeof object.type !== "object")
|
|
9641
|
+
throw TypeError(".ContentfulPlaylistCreated.type: object expected");
|
|
9642
|
+
message.type = {};
|
|
9643
|
+
for (var keys = Object.keys(object.type), i = 0; i < keys.length; ++i)
|
|
9644
|
+
message.type[keys[i]] = String(object.type[keys[i]]);
|
|
9645
|
+
}
|
|
9610
9646
|
if (object.title) {
|
|
9611
9647
|
if (typeof object.title !== "object")
|
|
9612
|
-
throw TypeError(".
|
|
9648
|
+
throw TypeError(".ContentfulPlaylistCreated.title: object expected");
|
|
9613
9649
|
message.title = {};
|
|
9614
9650
|
for (var keys = Object.keys(object.title), i = 0; i < keys.length; ++i)
|
|
9615
9651
|
message.title[keys[i]] = String(object.title[keys[i]]);
|
|
9616
9652
|
}
|
|
9617
9653
|
if (object.teaser) {
|
|
9618
9654
|
if (typeof object.teaser !== "object")
|
|
9619
|
-
throw TypeError(".
|
|
9655
|
+
throw TypeError(".ContentfulPlaylistCreated.teaser: object expected");
|
|
9620
9656
|
message.teaser = {};
|
|
9621
9657
|
for (var keys = Object.keys(object.teaser), i = 0; i < keys.length; ++i)
|
|
9622
9658
|
message.teaser[keys[i]] = String(object.teaser[keys[i]]);
|
|
9623
9659
|
}
|
|
9624
9660
|
if (object.description) {
|
|
9625
9661
|
if (typeof object.description !== "object")
|
|
9626
|
-
throw TypeError(".
|
|
9662
|
+
throw TypeError(".ContentfulPlaylistCreated.description: object expected");
|
|
9627
9663
|
message.description = {};
|
|
9628
9664
|
for (var keys = Object.keys(object.description), i = 0; i < keys.length; ++i)
|
|
9629
9665
|
message.description[keys[i]] = String(object.description[keys[i]]);
|
|
9630
9666
|
}
|
|
9631
9667
|
if (object.playerOrientation) {
|
|
9632
9668
|
if (typeof object.playerOrientation !== "object")
|
|
9633
|
-
throw TypeError(".
|
|
9669
|
+
throw TypeError(".ContentfulPlaylistCreated.playerOrientation: object expected");
|
|
9634
9670
|
message.playerOrientation = {};
|
|
9635
9671
|
for (var keys = Object.keys(object.playerOrientation), i = 0; i < keys.length; ++i)
|
|
9636
9672
|
message.playerOrientation[keys[i]] = String(object.playerOrientation[keys[i]]);
|
|
9637
9673
|
}
|
|
9638
9674
|
if (object.previewMedia) {
|
|
9639
9675
|
if (typeof object.previewMedia !== "object")
|
|
9640
|
-
throw TypeError(".
|
|
9676
|
+
throw TypeError(".ContentfulPlaylistCreated.previewMedia: object expected");
|
|
9641
9677
|
message.previewMedia = {};
|
|
9642
9678
|
for (var keys = Object.keys(object.previewMedia), i = 0; i < keys.length; ++i) {
|
|
9643
9679
|
if (typeof object.previewMedia[keys[i]] !== "object")
|
|
9644
|
-
throw TypeError(".
|
|
9680
|
+
throw TypeError(".ContentfulPlaylistCreated.previewMedia: object expected");
|
|
9645
9681
|
message.previewMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.previewMedia[keys[i]]);
|
|
9646
9682
|
}
|
|
9647
9683
|
}
|
|
9648
9684
|
if (object.videoSegments) {
|
|
9649
9685
|
if (typeof object.videoSegments !== "object")
|
|
9650
|
-
throw TypeError(".
|
|
9686
|
+
throw TypeError(".ContentfulPlaylistCreated.videoSegments: object expected");
|
|
9651
9687
|
message.videoSegments = {};
|
|
9652
9688
|
for (var keys = Object.keys(object.videoSegments), i = 0; i < keys.length; ++i) {
|
|
9653
9689
|
if (typeof object.videoSegments[keys[i]] !== "object")
|
|
9654
|
-
throw TypeError(".
|
|
9690
|
+
throw TypeError(".ContentfulPlaylistCreated.videoSegments: object expected");
|
|
9655
9691
|
message.videoSegments[keys[i]] = $root.contentful.IdReferences.fromObject(object.videoSegments[keys[i]]);
|
|
9656
9692
|
}
|
|
9657
9693
|
}
|
|
9658
9694
|
if (object.schedule) {
|
|
9659
9695
|
if (typeof object.schedule !== "object")
|
|
9660
|
-
throw TypeError(".
|
|
9696
|
+
throw TypeError(".ContentfulPlaylistCreated.schedule: object expected");
|
|
9661
9697
|
message.schedule = {};
|
|
9662
9698
|
for (var keys = Object.keys(object.schedule), i = 0; i < keys.length; ++i)
|
|
9663
9699
|
if ($util.Long)
|
|
@@ -9671,11 +9707,11 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9671
9707
|
}
|
|
9672
9708
|
if (object.accessGroups) {
|
|
9673
9709
|
if (!Array.isArray(object.accessGroups))
|
|
9674
|
-
throw TypeError(".
|
|
9710
|
+
throw TypeError(".ContentfulPlaylistCreated.accessGroups: array expected");
|
|
9675
9711
|
message.accessGroups = [];
|
|
9676
9712
|
for (var i = 0; i < object.accessGroups.length; ++i) {
|
|
9677
9713
|
if (typeof object.accessGroups[i] !== "object")
|
|
9678
|
-
throw TypeError(".
|
|
9714
|
+
throw TypeError(".ContentfulPlaylistCreated.accessGroups: object expected");
|
|
9679
9715
|
message.accessGroups[i] = $root.contentful.SlugReference.fromObject(object.accessGroups[i]);
|
|
9680
9716
|
}
|
|
9681
9717
|
}
|
|
@@ -9692,21 +9728,22 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9692
9728
|
};
|
|
9693
9729
|
|
|
9694
9730
|
/**
|
|
9695
|
-
* Creates a plain object from a
|
|
9731
|
+
* Creates a plain object from a ContentfulPlaylistCreated message. Also converts values to other types if specified.
|
|
9696
9732
|
* @function toObject
|
|
9697
|
-
* @memberof
|
|
9733
|
+
* @memberof ContentfulPlaylistCreated
|
|
9698
9734
|
* @static
|
|
9699
|
-
* @param {
|
|
9735
|
+
* @param {ContentfulPlaylistCreated} message ContentfulPlaylistCreated
|
|
9700
9736
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
9701
9737
|
* @returns {Object.<string,*>} Plain object
|
|
9702
9738
|
*/
|
|
9703
|
-
|
|
9739
|
+
ContentfulPlaylistCreated.toObject = function toObject(message, options) {
|
|
9704
9740
|
if (!options)
|
|
9705
9741
|
options = {};
|
|
9706
9742
|
var object = {};
|
|
9707
9743
|
if (options.arrays || options.defaults)
|
|
9708
9744
|
object.accessGroups = [];
|
|
9709
9745
|
if (options.objects || options.defaults) {
|
|
9746
|
+
object.type = {};
|
|
9710
9747
|
object.title = {};
|
|
9711
9748
|
object.teaser = {};
|
|
9712
9749
|
object.description = {};
|
|
@@ -9729,6 +9766,11 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9729
9766
|
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
9730
9767
|
object.contentType = message.contentType;
|
|
9731
9768
|
var keys2;
|
|
9769
|
+
if (message.type && (keys2 = Object.keys(message.type)).length) {
|
|
9770
|
+
object.type = {};
|
|
9771
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
9772
|
+
object.type[keys2[j]] = message.type[keys2[j]];
|
|
9773
|
+
}
|
|
9732
9774
|
if (message.title && (keys2 = Object.keys(message.title)).length) {
|
|
9733
9775
|
object.title = {};
|
|
9734
9776
|
for (var j = 0; j < keys2.length; ++j)
|
|
@@ -9781,47 +9823,49 @@ $root.ContentfulWakeupPlaylistCreated = (function() {
|
|
|
9781
9823
|
};
|
|
9782
9824
|
|
|
9783
9825
|
/**
|
|
9784
|
-
* Converts this
|
|
9826
|
+
* Converts this ContentfulPlaylistCreated to JSON.
|
|
9785
9827
|
* @function toJSON
|
|
9786
|
-
* @memberof
|
|
9828
|
+
* @memberof ContentfulPlaylistCreated
|
|
9787
9829
|
* @instance
|
|
9788
9830
|
* @returns {Object.<string,*>} JSON object
|
|
9789
9831
|
*/
|
|
9790
|
-
|
|
9832
|
+
ContentfulPlaylistCreated.prototype.toJSON = function toJSON() {
|
|
9791
9833
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
9792
9834
|
};
|
|
9793
9835
|
|
|
9794
|
-
return
|
|
9836
|
+
return ContentfulPlaylistCreated;
|
|
9795
9837
|
})();
|
|
9796
9838
|
|
|
9797
|
-
$root.
|
|
9839
|
+
$root.ContentfulPlaylistUpdated = (function() {
|
|
9798
9840
|
|
|
9799
9841
|
/**
|
|
9800
|
-
* Properties of a
|
|
9801
|
-
* @exports
|
|
9802
|
-
* @interface
|
|
9803
|
-
* @property {string|null} [slug]
|
|
9804
|
-
* @property {string|null} [contentType]
|
|
9805
|
-
* @property {Object.<string,string>|null} [
|
|
9806
|
-
* @property {Object.<string,string>|null} [
|
|
9807
|
-
* @property {Object.<string,string>|null} [
|
|
9808
|
-
* @property {Object.<string,string>|null} [
|
|
9809
|
-
* @property {Object.<string,
|
|
9810
|
-
* @property {Object.<string,contentful.
|
|
9811
|
-
* @property {Object.<string,
|
|
9812
|
-
* @property {
|
|
9813
|
-
* @property {
|
|
9842
|
+
* Properties of a ContentfulPlaylistUpdated.
|
|
9843
|
+
* @exports IContentfulPlaylistUpdated
|
|
9844
|
+
* @interface IContentfulPlaylistUpdated
|
|
9845
|
+
* @property {string|null} [slug] ContentfulPlaylistUpdated slug
|
|
9846
|
+
* @property {string|null} [contentType] ContentfulPlaylistUpdated contentType
|
|
9847
|
+
* @property {Object.<string,string>|null} [type] ContentfulPlaylistUpdated type
|
|
9848
|
+
* @property {Object.<string,string>|null} [title] ContentfulPlaylistUpdated title
|
|
9849
|
+
* @property {Object.<string,string>|null} [teaser] ContentfulPlaylistUpdated teaser
|
|
9850
|
+
* @property {Object.<string,string>|null} [description] ContentfulPlaylistUpdated description
|
|
9851
|
+
* @property {Object.<string,string>|null} [playerOrientation] ContentfulPlaylistUpdated playerOrientation
|
|
9852
|
+
* @property {Object.<string,contentful.IIdReference>|null} [previewMedia] ContentfulPlaylistUpdated previewMedia
|
|
9853
|
+
* @property {Object.<string,contentful.IIdReferences>|null} [videoSegments] ContentfulPlaylistUpdated videoSegments
|
|
9854
|
+
* @property {Object.<string,number|Long>|null} [schedule] ContentfulPlaylistUpdated schedule
|
|
9855
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistUpdated accessGroups
|
|
9856
|
+
* @property {number|Long|null} [updatedAt] ContentfulPlaylistUpdated updatedAt
|
|
9814
9857
|
*/
|
|
9815
9858
|
|
|
9816
9859
|
/**
|
|
9817
|
-
* Constructs a new
|
|
9818
|
-
* @exports
|
|
9819
|
-
* @classdesc Represents a
|
|
9820
|
-
* @implements
|
|
9860
|
+
* Constructs a new ContentfulPlaylistUpdated.
|
|
9861
|
+
* @exports ContentfulPlaylistUpdated
|
|
9862
|
+
* @classdesc Represents a ContentfulPlaylistUpdated.
|
|
9863
|
+
* @implements IContentfulPlaylistUpdated
|
|
9821
9864
|
* @constructor
|
|
9822
|
-
* @param {
|
|
9865
|
+
* @param {IContentfulPlaylistUpdated=} [properties] Properties to set
|
|
9823
9866
|
*/
|
|
9824
|
-
function
|
|
9867
|
+
function ContentfulPlaylistUpdated(properties) {
|
|
9868
|
+
this.type = {};
|
|
9825
9869
|
this.title = {};
|
|
9826
9870
|
this.teaser = {};
|
|
9827
9871
|
this.description = {};
|
|
@@ -9837,182 +9881,193 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
9837
9881
|
}
|
|
9838
9882
|
|
|
9839
9883
|
/**
|
|
9840
|
-
*
|
|
9884
|
+
* ContentfulPlaylistUpdated slug.
|
|
9841
9885
|
* @member {string} slug
|
|
9842
|
-
* @memberof
|
|
9886
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9843
9887
|
* @instance
|
|
9844
9888
|
*/
|
|
9845
|
-
|
|
9889
|
+
ContentfulPlaylistUpdated.prototype.slug = "";
|
|
9846
9890
|
|
|
9847
9891
|
/**
|
|
9848
|
-
*
|
|
9892
|
+
* ContentfulPlaylistUpdated contentType.
|
|
9849
9893
|
* @member {string} contentType
|
|
9850
|
-
* @memberof
|
|
9894
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9895
|
+
* @instance
|
|
9896
|
+
*/
|
|
9897
|
+
ContentfulPlaylistUpdated.prototype.contentType = "";
|
|
9898
|
+
|
|
9899
|
+
/**
|
|
9900
|
+
* ContentfulPlaylistUpdated type.
|
|
9901
|
+
* @member {Object.<string,string>} type
|
|
9902
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9851
9903
|
* @instance
|
|
9852
9904
|
*/
|
|
9853
|
-
|
|
9905
|
+
ContentfulPlaylistUpdated.prototype.type = $util.emptyObject;
|
|
9854
9906
|
|
|
9855
9907
|
/**
|
|
9856
|
-
*
|
|
9908
|
+
* ContentfulPlaylistUpdated title.
|
|
9857
9909
|
* @member {Object.<string,string>} title
|
|
9858
|
-
* @memberof
|
|
9910
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9859
9911
|
* @instance
|
|
9860
9912
|
*/
|
|
9861
|
-
|
|
9913
|
+
ContentfulPlaylistUpdated.prototype.title = $util.emptyObject;
|
|
9862
9914
|
|
|
9863
9915
|
/**
|
|
9864
|
-
*
|
|
9916
|
+
* ContentfulPlaylistUpdated teaser.
|
|
9865
9917
|
* @member {Object.<string,string>} teaser
|
|
9866
|
-
* @memberof
|
|
9918
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9867
9919
|
* @instance
|
|
9868
9920
|
*/
|
|
9869
|
-
|
|
9921
|
+
ContentfulPlaylistUpdated.prototype.teaser = $util.emptyObject;
|
|
9870
9922
|
|
|
9871
9923
|
/**
|
|
9872
|
-
*
|
|
9924
|
+
* ContentfulPlaylistUpdated description.
|
|
9873
9925
|
* @member {Object.<string,string>} description
|
|
9874
|
-
* @memberof
|
|
9926
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9875
9927
|
* @instance
|
|
9876
9928
|
*/
|
|
9877
|
-
|
|
9929
|
+
ContentfulPlaylistUpdated.prototype.description = $util.emptyObject;
|
|
9878
9930
|
|
|
9879
9931
|
/**
|
|
9880
|
-
*
|
|
9932
|
+
* ContentfulPlaylistUpdated playerOrientation.
|
|
9881
9933
|
* @member {Object.<string,string>} playerOrientation
|
|
9882
|
-
* @memberof
|
|
9934
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9883
9935
|
* @instance
|
|
9884
9936
|
*/
|
|
9885
|
-
|
|
9937
|
+
ContentfulPlaylistUpdated.prototype.playerOrientation = $util.emptyObject;
|
|
9886
9938
|
|
|
9887
9939
|
/**
|
|
9888
|
-
*
|
|
9940
|
+
* ContentfulPlaylistUpdated previewMedia.
|
|
9889
9941
|
* @member {Object.<string,contentful.IIdReference>} previewMedia
|
|
9890
|
-
* @memberof
|
|
9942
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9891
9943
|
* @instance
|
|
9892
9944
|
*/
|
|
9893
|
-
|
|
9945
|
+
ContentfulPlaylistUpdated.prototype.previewMedia = $util.emptyObject;
|
|
9894
9946
|
|
|
9895
9947
|
/**
|
|
9896
|
-
*
|
|
9948
|
+
* ContentfulPlaylistUpdated videoSegments.
|
|
9897
9949
|
* @member {Object.<string,contentful.IIdReferences>} videoSegments
|
|
9898
|
-
* @memberof
|
|
9950
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9899
9951
|
* @instance
|
|
9900
9952
|
*/
|
|
9901
|
-
|
|
9953
|
+
ContentfulPlaylistUpdated.prototype.videoSegments = $util.emptyObject;
|
|
9902
9954
|
|
|
9903
9955
|
/**
|
|
9904
|
-
*
|
|
9956
|
+
* ContentfulPlaylistUpdated schedule.
|
|
9905
9957
|
* @member {Object.<string,number|Long>} schedule
|
|
9906
|
-
* @memberof
|
|
9958
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9907
9959
|
* @instance
|
|
9908
9960
|
*/
|
|
9909
|
-
|
|
9961
|
+
ContentfulPlaylistUpdated.prototype.schedule = $util.emptyObject;
|
|
9910
9962
|
|
|
9911
9963
|
/**
|
|
9912
|
-
*
|
|
9964
|
+
* ContentfulPlaylistUpdated accessGroups.
|
|
9913
9965
|
* @member {Array.<contentful.ISlugReference>} accessGroups
|
|
9914
|
-
* @memberof
|
|
9966
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9915
9967
|
* @instance
|
|
9916
9968
|
*/
|
|
9917
|
-
|
|
9969
|
+
ContentfulPlaylistUpdated.prototype.accessGroups = $util.emptyArray;
|
|
9918
9970
|
|
|
9919
9971
|
/**
|
|
9920
|
-
*
|
|
9972
|
+
* ContentfulPlaylistUpdated updatedAt.
|
|
9921
9973
|
* @member {number|Long} updatedAt
|
|
9922
|
-
* @memberof
|
|
9974
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9923
9975
|
* @instance
|
|
9924
9976
|
*/
|
|
9925
|
-
|
|
9977
|
+
ContentfulPlaylistUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
9926
9978
|
|
|
9927
9979
|
/**
|
|
9928
|
-
* Creates a new
|
|
9980
|
+
* Creates a new ContentfulPlaylistUpdated instance using the specified properties.
|
|
9929
9981
|
* @function create
|
|
9930
|
-
* @memberof
|
|
9982
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9931
9983
|
* @static
|
|
9932
|
-
* @param {
|
|
9933
|
-
* @returns {
|
|
9984
|
+
* @param {IContentfulPlaylistUpdated=} [properties] Properties to set
|
|
9985
|
+
* @returns {ContentfulPlaylistUpdated} ContentfulPlaylistUpdated instance
|
|
9934
9986
|
*/
|
|
9935
|
-
|
|
9936
|
-
return new
|
|
9987
|
+
ContentfulPlaylistUpdated.create = function create(properties) {
|
|
9988
|
+
return new ContentfulPlaylistUpdated(properties);
|
|
9937
9989
|
};
|
|
9938
9990
|
|
|
9939
9991
|
/**
|
|
9940
|
-
* Encodes the specified
|
|
9992
|
+
* Encodes the specified ContentfulPlaylistUpdated message. Does not implicitly {@link ContentfulPlaylistUpdated.verify|verify} messages.
|
|
9941
9993
|
* @function encode
|
|
9942
|
-
* @memberof
|
|
9994
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9943
9995
|
* @static
|
|
9944
|
-
* @param {
|
|
9996
|
+
* @param {IContentfulPlaylistUpdated} message ContentfulPlaylistUpdated message or plain object to encode
|
|
9945
9997
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9946
9998
|
* @returns {$protobuf.Writer} Writer
|
|
9947
9999
|
*/
|
|
9948
|
-
|
|
10000
|
+
ContentfulPlaylistUpdated.encode = function encode(message, writer) {
|
|
9949
10001
|
if (!writer)
|
|
9950
10002
|
writer = $Writer.create();
|
|
9951
10003
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
9952
10004
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
9953
10005
|
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
9954
10006
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.contentType);
|
|
10007
|
+
if (message.type != null && message.hasOwnProperty("type"))
|
|
10008
|
+
for (var keys = Object.keys(message.type), i = 0; i < keys.length; ++i)
|
|
10009
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.type[keys[i]]).ldelim();
|
|
9955
10010
|
if (message.title != null && message.hasOwnProperty("title"))
|
|
9956
10011
|
for (var keys = Object.keys(message.title), i = 0; i < keys.length; ++i)
|
|
9957
|
-
writer.uint32(/* id
|
|
10012
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.title[keys[i]]).ldelim();
|
|
9958
10013
|
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
9959
10014
|
for (var keys = Object.keys(message.teaser), i = 0; i < keys.length; ++i)
|
|
9960
|
-
writer.uint32(/* id
|
|
10015
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.teaser[keys[i]]).ldelim();
|
|
9961
10016
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
9962
10017
|
for (var keys = Object.keys(message.description), i = 0; i < keys.length; ++i)
|
|
9963
|
-
writer.uint32(/* id
|
|
10018
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.description[keys[i]]).ldelim();
|
|
9964
10019
|
if (message.playerOrientation != null && message.hasOwnProperty("playerOrientation"))
|
|
9965
10020
|
for (var keys = Object.keys(message.playerOrientation), i = 0; i < keys.length; ++i)
|
|
9966
|
-
writer.uint32(/* id
|
|
10021
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.playerOrientation[keys[i]]).ldelim();
|
|
9967
10022
|
if (message.previewMedia != null && message.hasOwnProperty("previewMedia"))
|
|
9968
10023
|
for (var keys = Object.keys(message.previewMedia), i = 0; i < keys.length; ++i) {
|
|
9969
|
-
writer.uint32(/* id
|
|
10024
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
9970
10025
|
$root.contentful.IdReference.encode(message.previewMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
9971
10026
|
}
|
|
9972
10027
|
if (message.videoSegments != null && message.hasOwnProperty("videoSegments"))
|
|
9973
10028
|
for (var keys = Object.keys(message.videoSegments), i = 0; i < keys.length; ++i) {
|
|
9974
|
-
writer.uint32(/* id
|
|
10029
|
+
writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
9975
10030
|
$root.contentful.IdReferences.encode(message.videoSegments[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
9976
10031
|
}
|
|
9977
10032
|
if (message.schedule != null && message.hasOwnProperty("schedule"))
|
|
9978
10033
|
for (var keys = Object.keys(message.schedule), i = 0; i < keys.length; ++i)
|
|
9979
|
-
writer.uint32(/* id
|
|
10034
|
+
writer.uint32(/* id 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).uint64(message.schedule[keys[i]]).ldelim();
|
|
9980
10035
|
if (message.accessGroups != null && message.accessGroups.length)
|
|
9981
10036
|
for (var i = 0; i < message.accessGroups.length; ++i)
|
|
9982
|
-
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id
|
|
10037
|
+
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
9983
10038
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
9984
|
-
writer.uint32(/* id
|
|
10039
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
|
|
9985
10040
|
return writer;
|
|
9986
10041
|
};
|
|
9987
10042
|
|
|
9988
10043
|
/**
|
|
9989
|
-
* Encodes the specified
|
|
10044
|
+
* Encodes the specified ContentfulPlaylistUpdated message, length delimited. Does not implicitly {@link ContentfulPlaylistUpdated.verify|verify} messages.
|
|
9990
10045
|
* @function encodeDelimited
|
|
9991
|
-
* @memberof
|
|
10046
|
+
* @memberof ContentfulPlaylistUpdated
|
|
9992
10047
|
* @static
|
|
9993
|
-
* @param {
|
|
10048
|
+
* @param {IContentfulPlaylistUpdated} message ContentfulPlaylistUpdated message or plain object to encode
|
|
9994
10049
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9995
10050
|
* @returns {$protobuf.Writer} Writer
|
|
9996
10051
|
*/
|
|
9997
|
-
|
|
10052
|
+
ContentfulPlaylistUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
9998
10053
|
return this.encode(message, writer).ldelim();
|
|
9999
10054
|
};
|
|
10000
10055
|
|
|
10001
10056
|
/**
|
|
10002
|
-
* Decodes a
|
|
10057
|
+
* Decodes a ContentfulPlaylistUpdated message from the specified reader or buffer.
|
|
10003
10058
|
* @function decode
|
|
10004
|
-
* @memberof
|
|
10059
|
+
* @memberof ContentfulPlaylistUpdated
|
|
10005
10060
|
* @static
|
|
10006
10061
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10007
10062
|
* @param {number} [length] Message length if known beforehand
|
|
10008
|
-
* @returns {
|
|
10063
|
+
* @returns {ContentfulPlaylistUpdated} ContentfulPlaylistUpdated
|
|
10009
10064
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10010
10065
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10011
10066
|
*/
|
|
10012
|
-
|
|
10067
|
+
ContentfulPlaylistUpdated.decode = function decode(reader, length) {
|
|
10013
10068
|
if (!(reader instanceof $Reader))
|
|
10014
10069
|
reader = $Reader.create(reader);
|
|
10015
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
10070
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulPlaylistUpdated(), key;
|
|
10016
10071
|
while (reader.pos < end) {
|
|
10017
10072
|
var tag = reader.uint32();
|
|
10018
10073
|
switch (tag >>> 3) {
|
|
@@ -10023,6 +10078,14 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10023
10078
|
message.contentType = reader.string();
|
|
10024
10079
|
break;
|
|
10025
10080
|
case 3:
|
|
10081
|
+
reader.skip().pos++;
|
|
10082
|
+
if (message.type === $util.emptyObject)
|
|
10083
|
+
message.type = {};
|
|
10084
|
+
key = reader.string();
|
|
10085
|
+
reader.pos++;
|
|
10086
|
+
message.type[key] = reader.string();
|
|
10087
|
+
break;
|
|
10088
|
+
case 4:
|
|
10026
10089
|
reader.skip().pos++;
|
|
10027
10090
|
if (message.title === $util.emptyObject)
|
|
10028
10091
|
message.title = {};
|
|
@@ -10030,7 +10093,7 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10030
10093
|
reader.pos++;
|
|
10031
10094
|
message.title[key] = reader.string();
|
|
10032
10095
|
break;
|
|
10033
|
-
case
|
|
10096
|
+
case 5:
|
|
10034
10097
|
reader.skip().pos++;
|
|
10035
10098
|
if (message.teaser === $util.emptyObject)
|
|
10036
10099
|
message.teaser = {};
|
|
@@ -10038,7 +10101,7 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10038
10101
|
reader.pos++;
|
|
10039
10102
|
message.teaser[key] = reader.string();
|
|
10040
10103
|
break;
|
|
10041
|
-
case
|
|
10104
|
+
case 6:
|
|
10042
10105
|
reader.skip().pos++;
|
|
10043
10106
|
if (message.description === $util.emptyObject)
|
|
10044
10107
|
message.description = {};
|
|
@@ -10046,7 +10109,7 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10046
10109
|
reader.pos++;
|
|
10047
10110
|
message.description[key] = reader.string();
|
|
10048
10111
|
break;
|
|
10049
|
-
case
|
|
10112
|
+
case 7:
|
|
10050
10113
|
reader.skip().pos++;
|
|
10051
10114
|
if (message.playerOrientation === $util.emptyObject)
|
|
10052
10115
|
message.playerOrientation = {};
|
|
@@ -10054,7 +10117,7 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10054
10117
|
reader.pos++;
|
|
10055
10118
|
message.playerOrientation[key] = reader.string();
|
|
10056
10119
|
break;
|
|
10057
|
-
case
|
|
10120
|
+
case 8:
|
|
10058
10121
|
reader.skip().pos++;
|
|
10059
10122
|
if (message.previewMedia === $util.emptyObject)
|
|
10060
10123
|
message.previewMedia = {};
|
|
@@ -10062,7 +10125,7 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10062
10125
|
reader.pos++;
|
|
10063
10126
|
message.previewMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
10064
10127
|
break;
|
|
10065
|
-
case
|
|
10128
|
+
case 9:
|
|
10066
10129
|
reader.skip().pos++;
|
|
10067
10130
|
if (message.videoSegments === $util.emptyObject)
|
|
10068
10131
|
message.videoSegments = {};
|
|
@@ -10070,7 +10133,7 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10070
10133
|
reader.pos++;
|
|
10071
10134
|
message.videoSegments[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
10072
10135
|
break;
|
|
10073
|
-
case
|
|
10136
|
+
case 10:
|
|
10074
10137
|
reader.skip().pos++;
|
|
10075
10138
|
if (message.schedule === $util.emptyObject)
|
|
10076
10139
|
message.schedule = {};
|
|
@@ -10078,12 +10141,12 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10078
10141
|
reader.pos++;
|
|
10079
10142
|
message.schedule[key] = reader.uint64();
|
|
10080
10143
|
break;
|
|
10081
|
-
case
|
|
10144
|
+
case 11:
|
|
10082
10145
|
if (!(message.accessGroups && message.accessGroups.length))
|
|
10083
10146
|
message.accessGroups = [];
|
|
10084
10147
|
message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
10085
10148
|
break;
|
|
10086
|
-
case
|
|
10149
|
+
case 12:
|
|
10087
10150
|
message.updatedAt = reader.uint64();
|
|
10088
10151
|
break;
|
|
10089
10152
|
default:
|
|
@@ -10095,30 +10158,30 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10095
10158
|
};
|
|
10096
10159
|
|
|
10097
10160
|
/**
|
|
10098
|
-
* Decodes a
|
|
10161
|
+
* Decodes a ContentfulPlaylistUpdated message from the specified reader or buffer, length delimited.
|
|
10099
10162
|
* @function decodeDelimited
|
|
10100
|
-
* @memberof
|
|
10163
|
+
* @memberof ContentfulPlaylistUpdated
|
|
10101
10164
|
* @static
|
|
10102
10165
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10103
|
-
* @returns {
|
|
10166
|
+
* @returns {ContentfulPlaylistUpdated} ContentfulPlaylistUpdated
|
|
10104
10167
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10105
10168
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10106
10169
|
*/
|
|
10107
|
-
|
|
10170
|
+
ContentfulPlaylistUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
10108
10171
|
if (!(reader instanceof $Reader))
|
|
10109
10172
|
reader = new $Reader(reader);
|
|
10110
10173
|
return this.decode(reader, reader.uint32());
|
|
10111
10174
|
};
|
|
10112
10175
|
|
|
10113
10176
|
/**
|
|
10114
|
-
* Verifies a
|
|
10177
|
+
* Verifies a ContentfulPlaylistUpdated message.
|
|
10115
10178
|
* @function verify
|
|
10116
|
-
* @memberof
|
|
10179
|
+
* @memberof ContentfulPlaylistUpdated
|
|
10117
10180
|
* @static
|
|
10118
10181
|
* @param {Object.<string,*>} message Plain object to verify
|
|
10119
10182
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
10120
10183
|
*/
|
|
10121
|
-
|
|
10184
|
+
ContentfulPlaylistUpdated.verify = function verify(message) {
|
|
10122
10185
|
if (typeof message !== "object" || message === null)
|
|
10123
10186
|
return "object expected";
|
|
10124
10187
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
@@ -10127,6 +10190,14 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10127
10190
|
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
10128
10191
|
if (!$util.isString(message.contentType))
|
|
10129
10192
|
return "contentType: string expected";
|
|
10193
|
+
if (message.type != null && message.hasOwnProperty("type")) {
|
|
10194
|
+
if (!$util.isObject(message.type))
|
|
10195
|
+
return "type: object expected";
|
|
10196
|
+
var key = Object.keys(message.type);
|
|
10197
|
+
for (var i = 0; i < key.length; ++i)
|
|
10198
|
+
if (!$util.isString(message.type[key[i]]))
|
|
10199
|
+
return "type: string{k:string} expected";
|
|
10200
|
+
}
|
|
10130
10201
|
if (message.title != null && message.hasOwnProperty("title")) {
|
|
10131
10202
|
if (!$util.isObject(message.title))
|
|
10132
10203
|
return "title: object expected";
|
|
@@ -10203,72 +10274,79 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10203
10274
|
};
|
|
10204
10275
|
|
|
10205
10276
|
/**
|
|
10206
|
-
* Creates a
|
|
10277
|
+
* Creates a ContentfulPlaylistUpdated message from a plain object. Also converts values to their respective internal types.
|
|
10207
10278
|
* @function fromObject
|
|
10208
|
-
* @memberof
|
|
10279
|
+
* @memberof ContentfulPlaylistUpdated
|
|
10209
10280
|
* @static
|
|
10210
10281
|
* @param {Object.<string,*>} object Plain object
|
|
10211
|
-
* @returns {
|
|
10282
|
+
* @returns {ContentfulPlaylistUpdated} ContentfulPlaylistUpdated
|
|
10212
10283
|
*/
|
|
10213
|
-
|
|
10214
|
-
if (object instanceof $root.
|
|
10284
|
+
ContentfulPlaylistUpdated.fromObject = function fromObject(object) {
|
|
10285
|
+
if (object instanceof $root.ContentfulPlaylistUpdated)
|
|
10215
10286
|
return object;
|
|
10216
|
-
var message = new $root.
|
|
10287
|
+
var message = new $root.ContentfulPlaylistUpdated();
|
|
10217
10288
|
if (object.slug != null)
|
|
10218
10289
|
message.slug = String(object.slug);
|
|
10219
10290
|
if (object.contentType != null)
|
|
10220
10291
|
message.contentType = String(object.contentType);
|
|
10292
|
+
if (object.type) {
|
|
10293
|
+
if (typeof object.type !== "object")
|
|
10294
|
+
throw TypeError(".ContentfulPlaylistUpdated.type: object expected");
|
|
10295
|
+
message.type = {};
|
|
10296
|
+
for (var keys = Object.keys(object.type), i = 0; i < keys.length; ++i)
|
|
10297
|
+
message.type[keys[i]] = String(object.type[keys[i]]);
|
|
10298
|
+
}
|
|
10221
10299
|
if (object.title) {
|
|
10222
10300
|
if (typeof object.title !== "object")
|
|
10223
|
-
throw TypeError(".
|
|
10301
|
+
throw TypeError(".ContentfulPlaylistUpdated.title: object expected");
|
|
10224
10302
|
message.title = {};
|
|
10225
10303
|
for (var keys = Object.keys(object.title), i = 0; i < keys.length; ++i)
|
|
10226
10304
|
message.title[keys[i]] = String(object.title[keys[i]]);
|
|
10227
10305
|
}
|
|
10228
10306
|
if (object.teaser) {
|
|
10229
10307
|
if (typeof object.teaser !== "object")
|
|
10230
|
-
throw TypeError(".
|
|
10308
|
+
throw TypeError(".ContentfulPlaylistUpdated.teaser: object expected");
|
|
10231
10309
|
message.teaser = {};
|
|
10232
10310
|
for (var keys = Object.keys(object.teaser), i = 0; i < keys.length; ++i)
|
|
10233
10311
|
message.teaser[keys[i]] = String(object.teaser[keys[i]]);
|
|
10234
10312
|
}
|
|
10235
10313
|
if (object.description) {
|
|
10236
10314
|
if (typeof object.description !== "object")
|
|
10237
|
-
throw TypeError(".
|
|
10315
|
+
throw TypeError(".ContentfulPlaylistUpdated.description: object expected");
|
|
10238
10316
|
message.description = {};
|
|
10239
10317
|
for (var keys = Object.keys(object.description), i = 0; i < keys.length; ++i)
|
|
10240
10318
|
message.description[keys[i]] = String(object.description[keys[i]]);
|
|
10241
10319
|
}
|
|
10242
10320
|
if (object.playerOrientation) {
|
|
10243
10321
|
if (typeof object.playerOrientation !== "object")
|
|
10244
|
-
throw TypeError(".
|
|
10322
|
+
throw TypeError(".ContentfulPlaylistUpdated.playerOrientation: object expected");
|
|
10245
10323
|
message.playerOrientation = {};
|
|
10246
10324
|
for (var keys = Object.keys(object.playerOrientation), i = 0; i < keys.length; ++i)
|
|
10247
10325
|
message.playerOrientation[keys[i]] = String(object.playerOrientation[keys[i]]);
|
|
10248
10326
|
}
|
|
10249
10327
|
if (object.previewMedia) {
|
|
10250
10328
|
if (typeof object.previewMedia !== "object")
|
|
10251
|
-
throw TypeError(".
|
|
10329
|
+
throw TypeError(".ContentfulPlaylistUpdated.previewMedia: object expected");
|
|
10252
10330
|
message.previewMedia = {};
|
|
10253
10331
|
for (var keys = Object.keys(object.previewMedia), i = 0; i < keys.length; ++i) {
|
|
10254
10332
|
if (typeof object.previewMedia[keys[i]] !== "object")
|
|
10255
|
-
throw TypeError(".
|
|
10333
|
+
throw TypeError(".ContentfulPlaylistUpdated.previewMedia: object expected");
|
|
10256
10334
|
message.previewMedia[keys[i]] = $root.contentful.IdReference.fromObject(object.previewMedia[keys[i]]);
|
|
10257
10335
|
}
|
|
10258
10336
|
}
|
|
10259
10337
|
if (object.videoSegments) {
|
|
10260
10338
|
if (typeof object.videoSegments !== "object")
|
|
10261
|
-
throw TypeError(".
|
|
10339
|
+
throw TypeError(".ContentfulPlaylistUpdated.videoSegments: object expected");
|
|
10262
10340
|
message.videoSegments = {};
|
|
10263
10341
|
for (var keys = Object.keys(object.videoSegments), i = 0; i < keys.length; ++i) {
|
|
10264
10342
|
if (typeof object.videoSegments[keys[i]] !== "object")
|
|
10265
|
-
throw TypeError(".
|
|
10343
|
+
throw TypeError(".ContentfulPlaylistUpdated.videoSegments: object expected");
|
|
10266
10344
|
message.videoSegments[keys[i]] = $root.contentful.IdReferences.fromObject(object.videoSegments[keys[i]]);
|
|
10267
10345
|
}
|
|
10268
10346
|
}
|
|
10269
10347
|
if (object.schedule) {
|
|
10270
10348
|
if (typeof object.schedule !== "object")
|
|
10271
|
-
throw TypeError(".
|
|
10349
|
+
throw TypeError(".ContentfulPlaylistUpdated.schedule: object expected");
|
|
10272
10350
|
message.schedule = {};
|
|
10273
10351
|
for (var keys = Object.keys(object.schedule), i = 0; i < keys.length; ++i)
|
|
10274
10352
|
if ($util.Long)
|
|
@@ -10282,11 +10360,11 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10282
10360
|
}
|
|
10283
10361
|
if (object.accessGroups) {
|
|
10284
10362
|
if (!Array.isArray(object.accessGroups))
|
|
10285
|
-
throw TypeError(".
|
|
10363
|
+
throw TypeError(".ContentfulPlaylistUpdated.accessGroups: array expected");
|
|
10286
10364
|
message.accessGroups = [];
|
|
10287
10365
|
for (var i = 0; i < object.accessGroups.length; ++i) {
|
|
10288
10366
|
if (typeof object.accessGroups[i] !== "object")
|
|
10289
|
-
throw TypeError(".
|
|
10367
|
+
throw TypeError(".ContentfulPlaylistUpdated.accessGroups: object expected");
|
|
10290
10368
|
message.accessGroups[i] = $root.contentful.SlugReference.fromObject(object.accessGroups[i]);
|
|
10291
10369
|
}
|
|
10292
10370
|
}
|
|
@@ -10303,21 +10381,22 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10303
10381
|
};
|
|
10304
10382
|
|
|
10305
10383
|
/**
|
|
10306
|
-
* Creates a plain object from a
|
|
10384
|
+
* Creates a plain object from a ContentfulPlaylistUpdated message. Also converts values to other types if specified.
|
|
10307
10385
|
* @function toObject
|
|
10308
|
-
* @memberof
|
|
10386
|
+
* @memberof ContentfulPlaylistUpdated
|
|
10309
10387
|
* @static
|
|
10310
|
-
* @param {
|
|
10388
|
+
* @param {ContentfulPlaylistUpdated} message ContentfulPlaylistUpdated
|
|
10311
10389
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
10312
10390
|
* @returns {Object.<string,*>} Plain object
|
|
10313
10391
|
*/
|
|
10314
|
-
|
|
10392
|
+
ContentfulPlaylistUpdated.toObject = function toObject(message, options) {
|
|
10315
10393
|
if (!options)
|
|
10316
10394
|
options = {};
|
|
10317
10395
|
var object = {};
|
|
10318
10396
|
if (options.arrays || options.defaults)
|
|
10319
10397
|
object.accessGroups = [];
|
|
10320
10398
|
if (options.objects || options.defaults) {
|
|
10399
|
+
object.type = {};
|
|
10321
10400
|
object.title = {};
|
|
10322
10401
|
object.teaser = {};
|
|
10323
10402
|
object.description = {};
|
|
@@ -10340,6 +10419,11 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10340
10419
|
if (message.contentType != null && message.hasOwnProperty("contentType"))
|
|
10341
10420
|
object.contentType = message.contentType;
|
|
10342
10421
|
var keys2;
|
|
10422
|
+
if (message.type && (keys2 = Object.keys(message.type)).length) {
|
|
10423
|
+
object.type = {};
|
|
10424
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
10425
|
+
object.type[keys2[j]] = message.type[keys2[j]];
|
|
10426
|
+
}
|
|
10343
10427
|
if (message.title && (keys2 = Object.keys(message.title)).length) {
|
|
10344
10428
|
object.title = {};
|
|
10345
10429
|
for (var j = 0; j < keys2.length; ++j)
|
|
@@ -10392,38 +10476,38 @@ $root.ContentfulWakeupPlaylistUpdated = (function() {
|
|
|
10392
10476
|
};
|
|
10393
10477
|
|
|
10394
10478
|
/**
|
|
10395
|
-
* Converts this
|
|
10479
|
+
* Converts this ContentfulPlaylistUpdated to JSON.
|
|
10396
10480
|
* @function toJSON
|
|
10397
|
-
* @memberof
|
|
10481
|
+
* @memberof ContentfulPlaylistUpdated
|
|
10398
10482
|
* @instance
|
|
10399
10483
|
* @returns {Object.<string,*>} JSON object
|
|
10400
10484
|
*/
|
|
10401
|
-
|
|
10485
|
+
ContentfulPlaylistUpdated.prototype.toJSON = function toJSON() {
|
|
10402
10486
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10403
10487
|
};
|
|
10404
10488
|
|
|
10405
|
-
return
|
|
10489
|
+
return ContentfulPlaylistUpdated;
|
|
10406
10490
|
})();
|
|
10407
10491
|
|
|
10408
|
-
$root.
|
|
10492
|
+
$root.ContentfulPlaylistDeleted = (function() {
|
|
10409
10493
|
|
|
10410
10494
|
/**
|
|
10411
|
-
* Properties of a
|
|
10412
|
-
* @exports
|
|
10413
|
-
* @interface
|
|
10414
|
-
* @property {string|null} [slug]
|
|
10415
|
-
* @property {number|Long|null} [deletedAt]
|
|
10495
|
+
* Properties of a ContentfulPlaylistDeleted.
|
|
10496
|
+
* @exports IContentfulPlaylistDeleted
|
|
10497
|
+
* @interface IContentfulPlaylistDeleted
|
|
10498
|
+
* @property {string|null} [slug] ContentfulPlaylistDeleted slug
|
|
10499
|
+
* @property {number|Long|null} [deletedAt] ContentfulPlaylistDeleted deletedAt
|
|
10416
10500
|
*/
|
|
10417
10501
|
|
|
10418
10502
|
/**
|
|
10419
|
-
* Constructs a new
|
|
10420
|
-
* @exports
|
|
10421
|
-
* @classdesc Represents a
|
|
10422
|
-
* @implements
|
|
10503
|
+
* Constructs a new ContentfulPlaylistDeleted.
|
|
10504
|
+
* @exports ContentfulPlaylistDeleted
|
|
10505
|
+
* @classdesc Represents a ContentfulPlaylistDeleted.
|
|
10506
|
+
* @implements IContentfulPlaylistDeleted
|
|
10423
10507
|
* @constructor
|
|
10424
|
-
* @param {
|
|
10508
|
+
* @param {IContentfulPlaylistDeleted=} [properties] Properties to set
|
|
10425
10509
|
*/
|
|
10426
|
-
function
|
|
10510
|
+
function ContentfulPlaylistDeleted(properties) {
|
|
10427
10511
|
if (properties)
|
|
10428
10512
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
10429
10513
|
if (properties[keys[i]] != null)
|
|
@@ -10431,43 +10515,43 @@ $root.ContentfulWakeupPlaylistDeleted = (function() {
|
|
|
10431
10515
|
}
|
|
10432
10516
|
|
|
10433
10517
|
/**
|
|
10434
|
-
*
|
|
10518
|
+
* ContentfulPlaylistDeleted slug.
|
|
10435
10519
|
* @member {string} slug
|
|
10436
|
-
* @memberof
|
|
10520
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10437
10521
|
* @instance
|
|
10438
10522
|
*/
|
|
10439
|
-
|
|
10523
|
+
ContentfulPlaylistDeleted.prototype.slug = "";
|
|
10440
10524
|
|
|
10441
10525
|
/**
|
|
10442
|
-
*
|
|
10526
|
+
* ContentfulPlaylistDeleted deletedAt.
|
|
10443
10527
|
* @member {number|Long} deletedAt
|
|
10444
|
-
* @memberof
|
|
10528
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10445
10529
|
* @instance
|
|
10446
10530
|
*/
|
|
10447
|
-
|
|
10531
|
+
ContentfulPlaylistDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
10448
10532
|
|
|
10449
10533
|
/**
|
|
10450
|
-
* Creates a new
|
|
10534
|
+
* Creates a new ContentfulPlaylistDeleted instance using the specified properties.
|
|
10451
10535
|
* @function create
|
|
10452
|
-
* @memberof
|
|
10536
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10453
10537
|
* @static
|
|
10454
|
-
* @param {
|
|
10455
|
-
* @returns {
|
|
10538
|
+
* @param {IContentfulPlaylistDeleted=} [properties] Properties to set
|
|
10539
|
+
* @returns {ContentfulPlaylistDeleted} ContentfulPlaylistDeleted instance
|
|
10456
10540
|
*/
|
|
10457
|
-
|
|
10458
|
-
return new
|
|
10541
|
+
ContentfulPlaylistDeleted.create = function create(properties) {
|
|
10542
|
+
return new ContentfulPlaylistDeleted(properties);
|
|
10459
10543
|
};
|
|
10460
10544
|
|
|
10461
10545
|
/**
|
|
10462
|
-
* Encodes the specified
|
|
10546
|
+
* Encodes the specified ContentfulPlaylistDeleted message. Does not implicitly {@link ContentfulPlaylistDeleted.verify|verify} messages.
|
|
10463
10547
|
* @function encode
|
|
10464
|
-
* @memberof
|
|
10548
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10465
10549
|
* @static
|
|
10466
|
-
* @param {
|
|
10550
|
+
* @param {IContentfulPlaylistDeleted} message ContentfulPlaylistDeleted message or plain object to encode
|
|
10467
10551
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10468
10552
|
* @returns {$protobuf.Writer} Writer
|
|
10469
10553
|
*/
|
|
10470
|
-
|
|
10554
|
+
ContentfulPlaylistDeleted.encode = function encode(message, writer) {
|
|
10471
10555
|
if (!writer)
|
|
10472
10556
|
writer = $Writer.create();
|
|
10473
10557
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
@@ -10478,33 +10562,33 @@ $root.ContentfulWakeupPlaylistDeleted = (function() {
|
|
|
10478
10562
|
};
|
|
10479
10563
|
|
|
10480
10564
|
/**
|
|
10481
|
-
* Encodes the specified
|
|
10565
|
+
* Encodes the specified ContentfulPlaylistDeleted message, length delimited. Does not implicitly {@link ContentfulPlaylistDeleted.verify|verify} messages.
|
|
10482
10566
|
* @function encodeDelimited
|
|
10483
|
-
* @memberof
|
|
10567
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10484
10568
|
* @static
|
|
10485
|
-
* @param {
|
|
10569
|
+
* @param {IContentfulPlaylistDeleted} message ContentfulPlaylistDeleted message or plain object to encode
|
|
10486
10570
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10487
10571
|
* @returns {$protobuf.Writer} Writer
|
|
10488
10572
|
*/
|
|
10489
|
-
|
|
10573
|
+
ContentfulPlaylistDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
10490
10574
|
return this.encode(message, writer).ldelim();
|
|
10491
10575
|
};
|
|
10492
10576
|
|
|
10493
10577
|
/**
|
|
10494
|
-
* Decodes a
|
|
10578
|
+
* Decodes a ContentfulPlaylistDeleted message from the specified reader or buffer.
|
|
10495
10579
|
* @function decode
|
|
10496
|
-
* @memberof
|
|
10580
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10497
10581
|
* @static
|
|
10498
10582
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10499
10583
|
* @param {number} [length] Message length if known beforehand
|
|
10500
|
-
* @returns {
|
|
10584
|
+
* @returns {ContentfulPlaylistDeleted} ContentfulPlaylistDeleted
|
|
10501
10585
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10502
10586
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10503
10587
|
*/
|
|
10504
|
-
|
|
10588
|
+
ContentfulPlaylistDeleted.decode = function decode(reader, length) {
|
|
10505
10589
|
if (!(reader instanceof $Reader))
|
|
10506
10590
|
reader = $Reader.create(reader);
|
|
10507
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
10591
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulPlaylistDeleted();
|
|
10508
10592
|
while (reader.pos < end) {
|
|
10509
10593
|
var tag = reader.uint32();
|
|
10510
10594
|
switch (tag >>> 3) {
|
|
@@ -10523,30 +10607,30 @@ $root.ContentfulWakeupPlaylistDeleted = (function() {
|
|
|
10523
10607
|
};
|
|
10524
10608
|
|
|
10525
10609
|
/**
|
|
10526
|
-
* Decodes a
|
|
10610
|
+
* Decodes a ContentfulPlaylistDeleted message from the specified reader or buffer, length delimited.
|
|
10527
10611
|
* @function decodeDelimited
|
|
10528
|
-
* @memberof
|
|
10612
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10529
10613
|
* @static
|
|
10530
10614
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10531
|
-
* @returns {
|
|
10615
|
+
* @returns {ContentfulPlaylistDeleted} ContentfulPlaylistDeleted
|
|
10532
10616
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10533
10617
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10534
10618
|
*/
|
|
10535
|
-
|
|
10619
|
+
ContentfulPlaylistDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
10536
10620
|
if (!(reader instanceof $Reader))
|
|
10537
10621
|
reader = new $Reader(reader);
|
|
10538
10622
|
return this.decode(reader, reader.uint32());
|
|
10539
10623
|
};
|
|
10540
10624
|
|
|
10541
10625
|
/**
|
|
10542
|
-
* Verifies a
|
|
10626
|
+
* Verifies a ContentfulPlaylistDeleted message.
|
|
10543
10627
|
* @function verify
|
|
10544
|
-
* @memberof
|
|
10628
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10545
10629
|
* @static
|
|
10546
10630
|
* @param {Object.<string,*>} message Plain object to verify
|
|
10547
10631
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
10548
10632
|
*/
|
|
10549
|
-
|
|
10633
|
+
ContentfulPlaylistDeleted.verify = function verify(message) {
|
|
10550
10634
|
if (typeof message !== "object" || message === null)
|
|
10551
10635
|
return "object expected";
|
|
10552
10636
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
@@ -10559,17 +10643,17 @@ $root.ContentfulWakeupPlaylistDeleted = (function() {
|
|
|
10559
10643
|
};
|
|
10560
10644
|
|
|
10561
10645
|
/**
|
|
10562
|
-
* Creates a
|
|
10646
|
+
* Creates a ContentfulPlaylistDeleted message from a plain object. Also converts values to their respective internal types.
|
|
10563
10647
|
* @function fromObject
|
|
10564
|
-
* @memberof
|
|
10648
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10565
10649
|
* @static
|
|
10566
10650
|
* @param {Object.<string,*>} object Plain object
|
|
10567
|
-
* @returns {
|
|
10651
|
+
* @returns {ContentfulPlaylistDeleted} ContentfulPlaylistDeleted
|
|
10568
10652
|
*/
|
|
10569
|
-
|
|
10570
|
-
if (object instanceof $root.
|
|
10653
|
+
ContentfulPlaylistDeleted.fromObject = function fromObject(object) {
|
|
10654
|
+
if (object instanceof $root.ContentfulPlaylistDeleted)
|
|
10571
10655
|
return object;
|
|
10572
|
-
var message = new $root.
|
|
10656
|
+
var message = new $root.ContentfulPlaylistDeleted();
|
|
10573
10657
|
if (object.slug != null)
|
|
10574
10658
|
message.slug = String(object.slug);
|
|
10575
10659
|
if (object.deletedAt != null)
|
|
@@ -10585,15 +10669,15 @@ $root.ContentfulWakeupPlaylistDeleted = (function() {
|
|
|
10585
10669
|
};
|
|
10586
10670
|
|
|
10587
10671
|
/**
|
|
10588
|
-
* Creates a plain object from a
|
|
10672
|
+
* Creates a plain object from a ContentfulPlaylistDeleted message. Also converts values to other types if specified.
|
|
10589
10673
|
* @function toObject
|
|
10590
|
-
* @memberof
|
|
10674
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10591
10675
|
* @static
|
|
10592
|
-
* @param {
|
|
10676
|
+
* @param {ContentfulPlaylistDeleted} message ContentfulPlaylistDeleted
|
|
10593
10677
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
10594
10678
|
* @returns {Object.<string,*>} Plain object
|
|
10595
10679
|
*/
|
|
10596
|
-
|
|
10680
|
+
ContentfulPlaylistDeleted.toObject = function toObject(message, options) {
|
|
10597
10681
|
if (!options)
|
|
10598
10682
|
options = {};
|
|
10599
10683
|
var object = {};
|
|
@@ -10616,17 +10700,17 @@ $root.ContentfulWakeupPlaylistDeleted = (function() {
|
|
|
10616
10700
|
};
|
|
10617
10701
|
|
|
10618
10702
|
/**
|
|
10619
|
-
* Converts this
|
|
10703
|
+
* Converts this ContentfulPlaylistDeleted to JSON.
|
|
10620
10704
|
* @function toJSON
|
|
10621
|
-
* @memberof
|
|
10705
|
+
* @memberof ContentfulPlaylistDeleted
|
|
10622
10706
|
* @instance
|
|
10623
10707
|
* @returns {Object.<string,*>} JSON object
|
|
10624
10708
|
*/
|
|
10625
|
-
|
|
10709
|
+
ContentfulPlaylistDeleted.prototype.toJSON = function toJSON() {
|
|
10626
10710
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10627
10711
|
};
|
|
10628
10712
|
|
|
10629
|
-
return
|
|
10713
|
+
return ContentfulPlaylistDeleted;
|
|
10630
10714
|
})();
|
|
10631
10715
|
|
|
10632
10716
|
$root.ContentfulSubscriptionAccessGroupCreated = (function() {
|
|
@@ -27834,6 +27918,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
27834
27918
|
* @property {subscription.IPlan|null} [plan] SubscriptionCreated plan
|
|
27835
27919
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionCreated subscriptionState
|
|
27836
27920
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionCreated labels
|
|
27921
|
+
* @property {boolean|null} [isQueuedSubscription] SubscriptionCreated isQueuedSubscription
|
|
27837
27922
|
*/
|
|
27838
27923
|
|
|
27839
27924
|
/**
|
|
@@ -27948,6 +28033,14 @@ $root.SubscriptionCreated = (function() {
|
|
|
27948
28033
|
*/
|
|
27949
28034
|
SubscriptionCreated.prototype.labels = $util.emptyArray;
|
|
27950
28035
|
|
|
28036
|
+
/**
|
|
28037
|
+
* SubscriptionCreated isQueuedSubscription.
|
|
28038
|
+
* @member {boolean} isQueuedSubscription
|
|
28039
|
+
* @memberof SubscriptionCreated
|
|
28040
|
+
* @instance
|
|
28041
|
+
*/
|
|
28042
|
+
SubscriptionCreated.prototype.isQueuedSubscription = false;
|
|
28043
|
+
|
|
27951
28044
|
/**
|
|
27952
28045
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
27953
28046
|
* @function create
|
|
@@ -28000,6 +28093,8 @@ $root.SubscriptionCreated = (function() {
|
|
|
28000
28093
|
writer.int32(message.labels[i]);
|
|
28001
28094
|
writer.ldelim();
|
|
28002
28095
|
}
|
|
28096
|
+
if (message.isQueuedSubscription != null && message.hasOwnProperty("isQueuedSubscription"))
|
|
28097
|
+
writer.uint32(/* id 13, wireType 0 =*/104).bool(message.isQueuedSubscription);
|
|
28003
28098
|
return writer;
|
|
28004
28099
|
};
|
|
28005
28100
|
|
|
@@ -28077,6 +28172,9 @@ $root.SubscriptionCreated = (function() {
|
|
|
28077
28172
|
} else
|
|
28078
28173
|
message.labels.push(reader.int32());
|
|
28079
28174
|
break;
|
|
28175
|
+
case 13:
|
|
28176
|
+
message.isQueuedSubscription = reader.bool();
|
|
28177
|
+
break;
|
|
28080
28178
|
default:
|
|
28081
28179
|
reader.skipType(tag & 7);
|
|
28082
28180
|
break;
|
|
@@ -28183,6 +28281,9 @@ $root.SubscriptionCreated = (function() {
|
|
|
28183
28281
|
break;
|
|
28184
28282
|
}
|
|
28185
28283
|
}
|
|
28284
|
+
if (message.isQueuedSubscription != null && message.hasOwnProperty("isQueuedSubscription"))
|
|
28285
|
+
if (typeof message.isQueuedSubscription !== "boolean")
|
|
28286
|
+
return "isQueuedSubscription: boolean expected";
|
|
28186
28287
|
return null;
|
|
28187
28288
|
};
|
|
28188
28289
|
|
|
@@ -28328,6 +28429,8 @@ $root.SubscriptionCreated = (function() {
|
|
|
28328
28429
|
break;
|
|
28329
28430
|
}
|
|
28330
28431
|
}
|
|
28432
|
+
if (object.isQueuedSubscription != null)
|
|
28433
|
+
message.isQueuedSubscription = Boolean(object.isQueuedSubscription);
|
|
28331
28434
|
return message;
|
|
28332
28435
|
};
|
|
28333
28436
|
|
|
@@ -28374,6 +28477,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
28374
28477
|
object.autoRenewalStatus = options.enums === String ? "UNKNOWN_STATUS" : 0;
|
|
28375
28478
|
object.plan = null;
|
|
28376
28479
|
object.subscriptionState = options.enums === String ? "SUBSTATE_UNKNOWN" : 0;
|
|
28480
|
+
object.isQueuedSubscription = false;
|
|
28377
28481
|
}
|
|
28378
28482
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
28379
28483
|
object.id = message.id;
|
|
@@ -28414,6 +28518,8 @@ $root.SubscriptionCreated = (function() {
|
|
|
28414
28518
|
for (var j = 0; j < message.labels.length; ++j)
|
|
28415
28519
|
object.labels[j] = options.enums === String ? $root.subscription.SubscriptionLabels[message.labels[j]] : message.labels[j];
|
|
28416
28520
|
}
|
|
28521
|
+
if (message.isQueuedSubscription != null && message.hasOwnProperty("isQueuedSubscription"))
|
|
28522
|
+
object.isQueuedSubscription = message.isQueuedSubscription;
|
|
28417
28523
|
return object;
|
|
28418
28524
|
};
|
|
28419
28525
|
|