@headspace/protos-events 1.197.0 → 1.199.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 +4 -46
- package/lib/index.js +82 -229
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10258,9 +10258,6 @@ export interface IContentfulSleepcastRecipeCreated {
|
|
|
10258
10258
|
/** ContentfulSleepcastRecipeCreated slug */
|
|
10259
10259
|
slug?: (string|null);
|
|
10260
10260
|
|
|
10261
|
-
/** ContentfulSleepcastRecipeCreated generator */
|
|
10262
|
-
generator?: (string|null);
|
|
10263
|
-
|
|
10264
10261
|
/** ContentfulSleepcastRecipeCreated ambientMedia */
|
|
10265
10262
|
ambientMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
10266
10263
|
|
|
@@ -10301,9 +10298,6 @@ export class ContentfulSleepcastRecipeCreated implements IContentfulSleepcastRec
|
|
|
10301
10298
|
/** ContentfulSleepcastRecipeCreated slug. */
|
|
10302
10299
|
public slug: string;
|
|
10303
10300
|
|
|
10304
|
-
/** ContentfulSleepcastRecipeCreated generator. */
|
|
10305
|
-
public generator: string;
|
|
10306
|
-
|
|
10307
10301
|
/** ContentfulSleepcastRecipeCreated ambientMedia. */
|
|
10308
10302
|
public ambientMedia: { [k: string]: contentful.IIdReference };
|
|
10309
10303
|
|
|
@@ -10408,9 +10402,6 @@ export interface IContentfulSleepcastRecipeUpdated {
|
|
|
10408
10402
|
/** ContentfulSleepcastRecipeUpdated slug */
|
|
10409
10403
|
slug?: (string|null);
|
|
10410
10404
|
|
|
10411
|
-
/** ContentfulSleepcastRecipeUpdated generator */
|
|
10412
|
-
generator?: (string|null);
|
|
10413
|
-
|
|
10414
10405
|
/** ContentfulSleepcastRecipeUpdated ambientMedia */
|
|
10415
10406
|
ambientMedia?: ({ [k: string]: contentful.IIdReference }|null);
|
|
10416
10407
|
|
|
@@ -10451,9 +10442,6 @@ export class ContentfulSleepcastRecipeUpdated implements IContentfulSleepcastRec
|
|
|
10451
10442
|
/** ContentfulSleepcastRecipeUpdated slug. */
|
|
10452
10443
|
public slug: string;
|
|
10453
10444
|
|
|
10454
|
-
/** ContentfulSleepcastRecipeUpdated generator. */
|
|
10455
|
-
public generator: string;
|
|
10456
|
-
|
|
10457
10445
|
/** ContentfulSleepcastRecipeUpdated ambientMedia. */
|
|
10458
10446
|
public ambientMedia: { [k: string]: contentful.IIdReference };
|
|
10459
10447
|
|
|
@@ -14801,9 +14789,6 @@ export class AssignmentAllocationBatchPushed implements IAssignmentAllocationBat
|
|
|
14801
14789
|
/** Properties of a CreateSleepcastVariant. */
|
|
14802
14790
|
export interface ICreateSleepcastVariant {
|
|
14803
14791
|
|
|
14804
|
-
/** CreateSleepcastVariant id */
|
|
14805
|
-
id?: (string|null);
|
|
14806
|
-
|
|
14807
14792
|
/** CreateSleepcastVariant sleepcastId */
|
|
14808
14793
|
sleepcastId?: (number|null);
|
|
14809
14794
|
|
|
@@ -14826,9 +14811,6 @@ export class CreateSleepcastVariant implements ICreateSleepcastVariant {
|
|
|
14826
14811
|
*/
|
|
14827
14812
|
constructor(properties?: ICreateSleepcastVariant);
|
|
14828
14813
|
|
|
14829
|
-
/** CreateSleepcastVariant id. */
|
|
14830
|
-
public id: string;
|
|
14831
|
-
|
|
14832
14814
|
/** CreateSleepcastVariant sleepcastId. */
|
|
14833
14815
|
public sleepcastId: number;
|
|
14834
14816
|
|
|
@@ -14915,23 +14897,11 @@ export class CreateSleepcastVariant implements ICreateSleepcastVariant {
|
|
|
14915
14897
|
/** Properties of a SleepcastVariantCreated. */
|
|
14916
14898
|
export interface ISleepcastVariantCreated {
|
|
14917
14899
|
|
|
14918
|
-
/** SleepcastVariantCreated id */
|
|
14919
|
-
id?: (string|null);
|
|
14920
|
-
|
|
14921
14900
|
/** SleepcastVariantCreated sleepcastId */
|
|
14922
14901
|
sleepcastId?: (number|null);
|
|
14923
14902
|
|
|
14924
|
-
/** SleepcastVariantCreated
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
/** SleepcastVariantCreated voiceFilePath */
|
|
14928
|
-
voiceFilePath?: (string|null);
|
|
14929
|
-
|
|
14930
|
-
/** SleepcastVariantCreated mixedFilePath */
|
|
14931
|
-
mixedFilePath?: (string|null);
|
|
14932
|
-
|
|
14933
|
-
/** SleepcastVariantCreated createdAt */
|
|
14934
|
-
createdAt?: (number|Long|null);
|
|
14903
|
+
/** SleepcastVariantCreated outputs */
|
|
14904
|
+
outputs?: ({ [k: string]: string }|null);
|
|
14935
14905
|
}
|
|
14936
14906
|
|
|
14937
14907
|
/** Represents a SleepcastVariantCreated. */
|
|
@@ -14943,23 +14913,11 @@ export class SleepcastVariantCreated implements ISleepcastVariantCreated {
|
|
|
14943
14913
|
*/
|
|
14944
14914
|
constructor(properties?: ISleepcastVariantCreated);
|
|
14945
14915
|
|
|
14946
|
-
/** SleepcastVariantCreated id. */
|
|
14947
|
-
public id: string;
|
|
14948
|
-
|
|
14949
14916
|
/** SleepcastVariantCreated sleepcastId. */
|
|
14950
14917
|
public sleepcastId: number;
|
|
14951
14918
|
|
|
14952
|
-
/** SleepcastVariantCreated
|
|
14953
|
-
public
|
|
14954
|
-
|
|
14955
|
-
/** SleepcastVariantCreated voiceFilePath. */
|
|
14956
|
-
public voiceFilePath: string;
|
|
14957
|
-
|
|
14958
|
-
/** SleepcastVariantCreated mixedFilePath. */
|
|
14959
|
-
public mixedFilePath: string;
|
|
14960
|
-
|
|
14961
|
-
/** SleepcastVariantCreated createdAt. */
|
|
14962
|
-
public createdAt: (number|Long);
|
|
14919
|
+
/** SleepcastVariantCreated outputs. */
|
|
14920
|
+
public outputs: { [k: string]: string };
|
|
14963
14921
|
|
|
14964
14922
|
/**
|
|
14965
14923
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
package/lib/index.js
CHANGED
|
@@ -28296,7 +28296,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28296
28296
|
* @exports IContentfulSleepcastRecipeCreated
|
|
28297
28297
|
* @interface IContentfulSleepcastRecipeCreated
|
|
28298
28298
|
* @property {string|null} [slug] ContentfulSleepcastRecipeCreated slug
|
|
28299
|
-
* @property {string|null} [generator] ContentfulSleepcastRecipeCreated generator
|
|
28300
28299
|
* @property {Object.<string,contentful.IIdReference>|null} [ambientMedia] ContentfulSleepcastRecipeCreated ambientMedia
|
|
28301
28300
|
* @property {Object.<string,contentful.IIdReferences>|null} [beforeIntroMedia] ContentfulSleepcastRecipeCreated beforeIntroMedia
|
|
28302
28301
|
* @property {Object.<string,contentful.IIdReferences>|null} [introMedia] ContentfulSleepcastRecipeCreated introMedia
|
|
@@ -28339,14 +28338,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28339
28338
|
*/
|
|
28340
28339
|
ContentfulSleepcastRecipeCreated.prototype.slug = "";
|
|
28341
28340
|
|
|
28342
|
-
/**
|
|
28343
|
-
* ContentfulSleepcastRecipeCreated generator.
|
|
28344
|
-
* @member {string} generator
|
|
28345
|
-
* @memberof ContentfulSleepcastRecipeCreated
|
|
28346
|
-
* @instance
|
|
28347
|
-
*/
|
|
28348
|
-
ContentfulSleepcastRecipeCreated.prototype.generator = "";
|
|
28349
|
-
|
|
28350
28341
|
/**
|
|
28351
28342
|
* ContentfulSleepcastRecipeCreated ambientMedia.
|
|
28352
28343
|
* @member {Object.<string,contentful.IIdReference>} ambientMedia
|
|
@@ -28445,50 +28436,48 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28445
28436
|
writer = $Writer.create();
|
|
28446
28437
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
28447
28438
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
28448
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
28449
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.generator);
|
|
28450
28439
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia"))
|
|
28451
28440
|
for (var keys = Object.keys(message.ambientMedia), i = 0; i < keys.length; ++i) {
|
|
28452
|
-
writer.uint32(/* id
|
|
28441
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28453
28442
|
$root.contentful.IdReference.encode(message.ambientMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28454
28443
|
}
|
|
28455
28444
|
if (message.beforeIntroMedia != null && message.hasOwnProperty("beforeIntroMedia"))
|
|
28456
28445
|
for (var keys = Object.keys(message.beforeIntroMedia), i = 0; i < keys.length; ++i) {
|
|
28457
|
-
writer.uint32(/* id
|
|
28446
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28458
28447
|
$root.contentful.IdReferences.encode(message.beforeIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28459
28448
|
}
|
|
28460
28449
|
if (message.introMedia != null && message.hasOwnProperty("introMedia"))
|
|
28461
28450
|
for (var keys = Object.keys(message.introMedia), i = 0; i < keys.length; ++i) {
|
|
28462
|
-
writer.uint32(/* id
|
|
28451
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28463
28452
|
$root.contentful.IdReferences.encode(message.introMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28464
28453
|
}
|
|
28465
28454
|
if (message.afterIntroMedia != null && message.hasOwnProperty("afterIntroMedia"))
|
|
28466
28455
|
for (var keys = Object.keys(message.afterIntroMedia), i = 0; i < keys.length; ++i) {
|
|
28467
|
-
writer.uint32(/* id
|
|
28456
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28468
28457
|
$root.contentful.IdReferences.encode(message.afterIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28469
28458
|
}
|
|
28470
28459
|
if (message.mainMedia != null && message.hasOwnProperty("mainMedia"))
|
|
28471
28460
|
for (var keys = Object.keys(message.mainMedia), i = 0; i < keys.length; ++i) {
|
|
28472
|
-
writer.uint32(/* id
|
|
28461
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28473
28462
|
$root.contentful.IdReferences.encode(message.mainMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28474
28463
|
}
|
|
28475
28464
|
if (message.beforeOutroMedia != null && message.hasOwnProperty("beforeOutroMedia"))
|
|
28476
28465
|
for (var keys = Object.keys(message.beforeOutroMedia), i = 0; i < keys.length; ++i) {
|
|
28477
|
-
writer.uint32(/* id
|
|
28466
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28478
28467
|
$root.contentful.IdReferences.encode(message.beforeOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28479
28468
|
}
|
|
28480
28469
|
if (message.outroMedia != null && message.hasOwnProperty("outroMedia"))
|
|
28481
28470
|
for (var keys = Object.keys(message.outroMedia), i = 0; i < keys.length; ++i) {
|
|
28482
|
-
writer.uint32(/* id
|
|
28471
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28483
28472
|
$root.contentful.IdReferences.encode(message.outroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28484
28473
|
}
|
|
28485
28474
|
if (message.afterOutroMedia != null && message.hasOwnProperty("afterOutroMedia"))
|
|
28486
28475
|
for (var keys = Object.keys(message.afterOutroMedia), i = 0; i < keys.length; ++i) {
|
|
28487
|
-
writer.uint32(/* id
|
|
28476
|
+
writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
28488
28477
|
$root.contentful.IdReferences.encode(message.afterOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
28489
28478
|
}
|
|
28490
28479
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
28491
|
-
writer.uint32(/* id
|
|
28480
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.createdAt);
|
|
28492
28481
|
return writer;
|
|
28493
28482
|
};
|
|
28494
28483
|
|
|
@@ -28527,9 +28516,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28527
28516
|
message.slug = reader.string();
|
|
28528
28517
|
break;
|
|
28529
28518
|
case 2:
|
|
28530
|
-
message.generator = reader.string();
|
|
28531
|
-
break;
|
|
28532
|
-
case 3:
|
|
28533
28519
|
reader.skip().pos++;
|
|
28534
28520
|
if (message.ambientMedia === $util.emptyObject)
|
|
28535
28521
|
message.ambientMedia = {};
|
|
@@ -28537,7 +28523,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28537
28523
|
reader.pos++;
|
|
28538
28524
|
message.ambientMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
28539
28525
|
break;
|
|
28540
|
-
case
|
|
28526
|
+
case 3:
|
|
28541
28527
|
reader.skip().pos++;
|
|
28542
28528
|
if (message.beforeIntroMedia === $util.emptyObject)
|
|
28543
28529
|
message.beforeIntroMedia = {};
|
|
@@ -28545,7 +28531,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28545
28531
|
reader.pos++;
|
|
28546
28532
|
message.beforeIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28547
28533
|
break;
|
|
28548
|
-
case
|
|
28534
|
+
case 4:
|
|
28549
28535
|
reader.skip().pos++;
|
|
28550
28536
|
if (message.introMedia === $util.emptyObject)
|
|
28551
28537
|
message.introMedia = {};
|
|
@@ -28553,7 +28539,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28553
28539
|
reader.pos++;
|
|
28554
28540
|
message.introMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28555
28541
|
break;
|
|
28556
|
-
case
|
|
28542
|
+
case 5:
|
|
28557
28543
|
reader.skip().pos++;
|
|
28558
28544
|
if (message.afterIntroMedia === $util.emptyObject)
|
|
28559
28545
|
message.afterIntroMedia = {};
|
|
@@ -28561,7 +28547,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28561
28547
|
reader.pos++;
|
|
28562
28548
|
message.afterIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28563
28549
|
break;
|
|
28564
|
-
case
|
|
28550
|
+
case 6:
|
|
28565
28551
|
reader.skip().pos++;
|
|
28566
28552
|
if (message.mainMedia === $util.emptyObject)
|
|
28567
28553
|
message.mainMedia = {};
|
|
@@ -28569,7 +28555,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28569
28555
|
reader.pos++;
|
|
28570
28556
|
message.mainMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28571
28557
|
break;
|
|
28572
|
-
case
|
|
28558
|
+
case 7:
|
|
28573
28559
|
reader.skip().pos++;
|
|
28574
28560
|
if (message.beforeOutroMedia === $util.emptyObject)
|
|
28575
28561
|
message.beforeOutroMedia = {};
|
|
@@ -28577,7 +28563,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28577
28563
|
reader.pos++;
|
|
28578
28564
|
message.beforeOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28579
28565
|
break;
|
|
28580
|
-
case
|
|
28566
|
+
case 8:
|
|
28581
28567
|
reader.skip().pos++;
|
|
28582
28568
|
if (message.outroMedia === $util.emptyObject)
|
|
28583
28569
|
message.outroMedia = {};
|
|
@@ -28585,7 +28571,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28585
28571
|
reader.pos++;
|
|
28586
28572
|
message.outroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28587
28573
|
break;
|
|
28588
|
-
case
|
|
28574
|
+
case 9:
|
|
28589
28575
|
reader.skip().pos++;
|
|
28590
28576
|
if (message.afterOutroMedia === $util.emptyObject)
|
|
28591
28577
|
message.afterOutroMedia = {};
|
|
@@ -28593,7 +28579,7 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28593
28579
|
reader.pos++;
|
|
28594
28580
|
message.afterOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
28595
28581
|
break;
|
|
28596
|
-
case
|
|
28582
|
+
case 10:
|
|
28597
28583
|
message.createdAt = reader.uint64();
|
|
28598
28584
|
break;
|
|
28599
28585
|
default:
|
|
@@ -28634,9 +28620,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28634
28620
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
28635
28621
|
if (!$util.isString(message.slug))
|
|
28636
28622
|
return "slug: string expected";
|
|
28637
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
28638
|
-
if (!$util.isString(message.generator))
|
|
28639
|
-
return "generator: string expected";
|
|
28640
28623
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia")) {
|
|
28641
28624
|
if (!$util.isObject(message.ambientMedia))
|
|
28642
28625
|
return "ambientMedia: object expected";
|
|
@@ -28737,8 +28720,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28737
28720
|
var message = new $root.ContentfulSleepcastRecipeCreated();
|
|
28738
28721
|
if (object.slug != null)
|
|
28739
28722
|
message.slug = String(object.slug);
|
|
28740
|
-
if (object.generator != null)
|
|
28741
|
-
message.generator = String(object.generator);
|
|
28742
28723
|
if (object.ambientMedia) {
|
|
28743
28724
|
if (typeof object.ambientMedia !== "object")
|
|
28744
28725
|
throw TypeError(".ContentfulSleepcastRecipeCreated.ambientMedia: object expected");
|
|
@@ -28856,7 +28837,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28856
28837
|
}
|
|
28857
28838
|
if (options.defaults) {
|
|
28858
28839
|
object.slug = "";
|
|
28859
|
-
object.generator = "";
|
|
28860
28840
|
if ($util.Long) {
|
|
28861
28841
|
var long = new $util.Long(0, 0, true);
|
|
28862
28842
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -28865,8 +28845,6 @@ $root.ContentfulSleepcastRecipeCreated = (function() {
|
|
|
28865
28845
|
}
|
|
28866
28846
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
28867
28847
|
object.slug = message.slug;
|
|
28868
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
28869
|
-
object.generator = message.generator;
|
|
28870
28848
|
var keys2;
|
|
28871
28849
|
if (message.ambientMedia && (keys2 = Object.keys(message.ambientMedia)).length) {
|
|
28872
28850
|
object.ambientMedia = {};
|
|
@@ -28937,7 +28915,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
28937
28915
|
* @exports IContentfulSleepcastRecipeUpdated
|
|
28938
28916
|
* @interface IContentfulSleepcastRecipeUpdated
|
|
28939
28917
|
* @property {string|null} [slug] ContentfulSleepcastRecipeUpdated slug
|
|
28940
|
-
* @property {string|null} [generator] ContentfulSleepcastRecipeUpdated generator
|
|
28941
28918
|
* @property {Object.<string,contentful.IIdReference>|null} [ambientMedia] ContentfulSleepcastRecipeUpdated ambientMedia
|
|
28942
28919
|
* @property {Object.<string,contentful.IIdReferences>|null} [beforeIntroMedia] ContentfulSleepcastRecipeUpdated beforeIntroMedia
|
|
28943
28920
|
* @property {Object.<string,contentful.IIdReferences>|null} [introMedia] ContentfulSleepcastRecipeUpdated introMedia
|
|
@@ -28980,14 +28957,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
28980
28957
|
*/
|
|
28981
28958
|
ContentfulSleepcastRecipeUpdated.prototype.slug = "";
|
|
28982
28959
|
|
|
28983
|
-
/**
|
|
28984
|
-
* ContentfulSleepcastRecipeUpdated generator.
|
|
28985
|
-
* @member {string} generator
|
|
28986
|
-
* @memberof ContentfulSleepcastRecipeUpdated
|
|
28987
|
-
* @instance
|
|
28988
|
-
*/
|
|
28989
|
-
ContentfulSleepcastRecipeUpdated.prototype.generator = "";
|
|
28990
|
-
|
|
28991
28960
|
/**
|
|
28992
28961
|
* ContentfulSleepcastRecipeUpdated ambientMedia.
|
|
28993
28962
|
* @member {Object.<string,contentful.IIdReference>} ambientMedia
|
|
@@ -29086,50 +29055,48 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29086
29055
|
writer = $Writer.create();
|
|
29087
29056
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
29088
29057
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
29089
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
29090
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.generator);
|
|
29091
29058
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia"))
|
|
29092
29059
|
for (var keys = Object.keys(message.ambientMedia), i = 0; i < keys.length; ++i) {
|
|
29093
|
-
writer.uint32(/* id
|
|
29060
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29094
29061
|
$root.contentful.IdReference.encode(message.ambientMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29095
29062
|
}
|
|
29096
29063
|
if (message.beforeIntroMedia != null && message.hasOwnProperty("beforeIntroMedia"))
|
|
29097
29064
|
for (var keys = Object.keys(message.beforeIntroMedia), i = 0; i < keys.length; ++i) {
|
|
29098
|
-
writer.uint32(/* id
|
|
29065
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29099
29066
|
$root.contentful.IdReferences.encode(message.beforeIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29100
29067
|
}
|
|
29101
29068
|
if (message.introMedia != null && message.hasOwnProperty("introMedia"))
|
|
29102
29069
|
for (var keys = Object.keys(message.introMedia), i = 0; i < keys.length; ++i) {
|
|
29103
|
-
writer.uint32(/* id
|
|
29070
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29104
29071
|
$root.contentful.IdReferences.encode(message.introMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29105
29072
|
}
|
|
29106
29073
|
if (message.afterIntroMedia != null && message.hasOwnProperty("afterIntroMedia"))
|
|
29107
29074
|
for (var keys = Object.keys(message.afterIntroMedia), i = 0; i < keys.length; ++i) {
|
|
29108
|
-
writer.uint32(/* id
|
|
29075
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29109
29076
|
$root.contentful.IdReferences.encode(message.afterIntroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29110
29077
|
}
|
|
29111
29078
|
if (message.mainMedia != null && message.hasOwnProperty("mainMedia"))
|
|
29112
29079
|
for (var keys = Object.keys(message.mainMedia), i = 0; i < keys.length; ++i) {
|
|
29113
|
-
writer.uint32(/* id
|
|
29080
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29114
29081
|
$root.contentful.IdReferences.encode(message.mainMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29115
29082
|
}
|
|
29116
29083
|
if (message.beforeOutroMedia != null && message.hasOwnProperty("beforeOutroMedia"))
|
|
29117
29084
|
for (var keys = Object.keys(message.beforeOutroMedia), i = 0; i < keys.length; ++i) {
|
|
29118
|
-
writer.uint32(/* id
|
|
29085
|
+
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29119
29086
|
$root.contentful.IdReferences.encode(message.beforeOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29120
29087
|
}
|
|
29121
29088
|
if (message.outroMedia != null && message.hasOwnProperty("outroMedia"))
|
|
29122
29089
|
for (var keys = Object.keys(message.outroMedia), i = 0; i < keys.length; ++i) {
|
|
29123
|
-
writer.uint32(/* id
|
|
29090
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29124
29091
|
$root.contentful.IdReferences.encode(message.outroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29125
29092
|
}
|
|
29126
29093
|
if (message.afterOutroMedia != null && message.hasOwnProperty("afterOutroMedia"))
|
|
29127
29094
|
for (var keys = Object.keys(message.afterOutroMedia), i = 0; i < keys.length; ++i) {
|
|
29128
|
-
writer.uint32(/* id
|
|
29095
|
+
writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
29129
29096
|
$root.contentful.IdReferences.encode(message.afterOutroMedia[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
29130
29097
|
}
|
|
29131
29098
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
29132
|
-
writer.uint32(/* id
|
|
29099
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.updatedAt);
|
|
29133
29100
|
return writer;
|
|
29134
29101
|
};
|
|
29135
29102
|
|
|
@@ -29168,9 +29135,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29168
29135
|
message.slug = reader.string();
|
|
29169
29136
|
break;
|
|
29170
29137
|
case 2:
|
|
29171
|
-
message.generator = reader.string();
|
|
29172
|
-
break;
|
|
29173
|
-
case 3:
|
|
29174
29138
|
reader.skip().pos++;
|
|
29175
29139
|
if (message.ambientMedia === $util.emptyObject)
|
|
29176
29140
|
message.ambientMedia = {};
|
|
@@ -29178,7 +29142,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29178
29142
|
reader.pos++;
|
|
29179
29143
|
message.ambientMedia[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
29180
29144
|
break;
|
|
29181
|
-
case
|
|
29145
|
+
case 3:
|
|
29182
29146
|
reader.skip().pos++;
|
|
29183
29147
|
if (message.beforeIntroMedia === $util.emptyObject)
|
|
29184
29148
|
message.beforeIntroMedia = {};
|
|
@@ -29186,7 +29150,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29186
29150
|
reader.pos++;
|
|
29187
29151
|
message.beforeIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29188
29152
|
break;
|
|
29189
|
-
case
|
|
29153
|
+
case 4:
|
|
29190
29154
|
reader.skip().pos++;
|
|
29191
29155
|
if (message.introMedia === $util.emptyObject)
|
|
29192
29156
|
message.introMedia = {};
|
|
@@ -29194,7 +29158,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29194
29158
|
reader.pos++;
|
|
29195
29159
|
message.introMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29196
29160
|
break;
|
|
29197
|
-
case
|
|
29161
|
+
case 5:
|
|
29198
29162
|
reader.skip().pos++;
|
|
29199
29163
|
if (message.afterIntroMedia === $util.emptyObject)
|
|
29200
29164
|
message.afterIntroMedia = {};
|
|
@@ -29202,7 +29166,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29202
29166
|
reader.pos++;
|
|
29203
29167
|
message.afterIntroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29204
29168
|
break;
|
|
29205
|
-
case
|
|
29169
|
+
case 6:
|
|
29206
29170
|
reader.skip().pos++;
|
|
29207
29171
|
if (message.mainMedia === $util.emptyObject)
|
|
29208
29172
|
message.mainMedia = {};
|
|
@@ -29210,7 +29174,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29210
29174
|
reader.pos++;
|
|
29211
29175
|
message.mainMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29212
29176
|
break;
|
|
29213
|
-
case
|
|
29177
|
+
case 7:
|
|
29214
29178
|
reader.skip().pos++;
|
|
29215
29179
|
if (message.beforeOutroMedia === $util.emptyObject)
|
|
29216
29180
|
message.beforeOutroMedia = {};
|
|
@@ -29218,7 +29182,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29218
29182
|
reader.pos++;
|
|
29219
29183
|
message.beforeOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29220
29184
|
break;
|
|
29221
|
-
case
|
|
29185
|
+
case 8:
|
|
29222
29186
|
reader.skip().pos++;
|
|
29223
29187
|
if (message.outroMedia === $util.emptyObject)
|
|
29224
29188
|
message.outroMedia = {};
|
|
@@ -29226,7 +29190,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29226
29190
|
reader.pos++;
|
|
29227
29191
|
message.outroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29228
29192
|
break;
|
|
29229
|
-
case
|
|
29193
|
+
case 9:
|
|
29230
29194
|
reader.skip().pos++;
|
|
29231
29195
|
if (message.afterOutroMedia === $util.emptyObject)
|
|
29232
29196
|
message.afterOutroMedia = {};
|
|
@@ -29234,7 +29198,7 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29234
29198
|
reader.pos++;
|
|
29235
29199
|
message.afterOutroMedia[key] = $root.contentful.IdReferences.decode(reader, reader.uint32());
|
|
29236
29200
|
break;
|
|
29237
|
-
case
|
|
29201
|
+
case 10:
|
|
29238
29202
|
message.updatedAt = reader.uint64();
|
|
29239
29203
|
break;
|
|
29240
29204
|
default:
|
|
@@ -29275,9 +29239,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29275
29239
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
29276
29240
|
if (!$util.isString(message.slug))
|
|
29277
29241
|
return "slug: string expected";
|
|
29278
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
29279
|
-
if (!$util.isString(message.generator))
|
|
29280
|
-
return "generator: string expected";
|
|
29281
29242
|
if (message.ambientMedia != null && message.hasOwnProperty("ambientMedia")) {
|
|
29282
29243
|
if (!$util.isObject(message.ambientMedia))
|
|
29283
29244
|
return "ambientMedia: object expected";
|
|
@@ -29378,8 +29339,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29378
29339
|
var message = new $root.ContentfulSleepcastRecipeUpdated();
|
|
29379
29340
|
if (object.slug != null)
|
|
29380
29341
|
message.slug = String(object.slug);
|
|
29381
|
-
if (object.generator != null)
|
|
29382
|
-
message.generator = String(object.generator);
|
|
29383
29342
|
if (object.ambientMedia) {
|
|
29384
29343
|
if (typeof object.ambientMedia !== "object")
|
|
29385
29344
|
throw TypeError(".ContentfulSleepcastRecipeUpdated.ambientMedia: object expected");
|
|
@@ -29497,7 +29456,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29497
29456
|
}
|
|
29498
29457
|
if (options.defaults) {
|
|
29499
29458
|
object.slug = "";
|
|
29500
|
-
object.generator = "";
|
|
29501
29459
|
if ($util.Long) {
|
|
29502
29460
|
var long = new $util.Long(0, 0, true);
|
|
29503
29461
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -29506,8 +29464,6 @@ $root.ContentfulSleepcastRecipeUpdated = (function() {
|
|
|
29506
29464
|
}
|
|
29507
29465
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
29508
29466
|
object.slug = message.slug;
|
|
29509
|
-
if (message.generator != null && message.hasOwnProperty("generator"))
|
|
29510
|
-
object.generator = message.generator;
|
|
29511
29467
|
var keys2;
|
|
29512
29468
|
if (message.ambientMedia && (keys2 = Object.keys(message.ambientMedia)).length) {
|
|
29513
29469
|
object.ambientMedia = {};
|
|
@@ -40895,7 +40851,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
40895
40851
|
* Properties of a CreateSleepcastVariant.
|
|
40896
40852
|
* @exports ICreateSleepcastVariant
|
|
40897
40853
|
* @interface ICreateSleepcastVariant
|
|
40898
|
-
* @property {string|null} [id] CreateSleepcastVariant id
|
|
40899
40854
|
* @property {number|null} [sleepcastId] CreateSleepcastVariant sleepcastId
|
|
40900
40855
|
* @property {string|null} [recipeJson] CreateSleepcastVariant recipeJson
|
|
40901
40856
|
* @property {string|null} [inputDir] CreateSleepcastVariant inputDir
|
|
@@ -40917,14 +40872,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
40917
40872
|
this[keys[i]] = properties[keys[i]];
|
|
40918
40873
|
}
|
|
40919
40874
|
|
|
40920
|
-
/**
|
|
40921
|
-
* CreateSleepcastVariant id.
|
|
40922
|
-
* @member {string} id
|
|
40923
|
-
* @memberof CreateSleepcastVariant
|
|
40924
|
-
* @instance
|
|
40925
|
-
*/
|
|
40926
|
-
CreateSleepcastVariant.prototype.id = "";
|
|
40927
|
-
|
|
40928
40875
|
/**
|
|
40929
40876
|
* CreateSleepcastVariant sleepcastId.
|
|
40930
40877
|
* @member {number} sleepcastId
|
|
@@ -40981,16 +40928,14 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
40981
40928
|
CreateSleepcastVariant.encode = function encode(message, writer) {
|
|
40982
40929
|
if (!writer)
|
|
40983
40930
|
writer = $Writer.create();
|
|
40984
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
40985
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
40986
40931
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
40987
|
-
writer.uint32(/* id
|
|
40932
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.sleepcastId);
|
|
40988
40933
|
if (message.recipeJson != null && message.hasOwnProperty("recipeJson"))
|
|
40989
|
-
writer.uint32(/* id
|
|
40934
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.recipeJson);
|
|
40990
40935
|
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
40991
|
-
writer.uint32(/* id
|
|
40936
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.inputDir);
|
|
40992
40937
|
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
40993
|
-
writer.uint32(/* id
|
|
40938
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.outputDir);
|
|
40994
40939
|
return writer;
|
|
40995
40940
|
};
|
|
40996
40941
|
|
|
@@ -41026,18 +40971,15 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41026
40971
|
var tag = reader.uint32();
|
|
41027
40972
|
switch (tag >>> 3) {
|
|
41028
40973
|
case 1:
|
|
41029
|
-
message.id = reader.string();
|
|
41030
|
-
break;
|
|
41031
|
-
case 2:
|
|
41032
40974
|
message.sleepcastId = reader.int32();
|
|
41033
40975
|
break;
|
|
41034
|
-
case
|
|
40976
|
+
case 2:
|
|
41035
40977
|
message.recipeJson = reader.string();
|
|
41036
40978
|
break;
|
|
41037
|
-
case
|
|
40979
|
+
case 3:
|
|
41038
40980
|
message.inputDir = reader.string();
|
|
41039
40981
|
break;
|
|
41040
|
-
case
|
|
40982
|
+
case 4:
|
|
41041
40983
|
message.outputDir = reader.string();
|
|
41042
40984
|
break;
|
|
41043
40985
|
default:
|
|
@@ -41075,9 +41017,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41075
41017
|
CreateSleepcastVariant.verify = function verify(message) {
|
|
41076
41018
|
if (typeof message !== "object" || message === null)
|
|
41077
41019
|
return "object expected";
|
|
41078
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41079
|
-
if (!$util.isString(message.id))
|
|
41080
|
-
return "id: string expected";
|
|
41081
41020
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41082
41021
|
if (!$util.isInteger(message.sleepcastId))
|
|
41083
41022
|
return "sleepcastId: integer expected";
|
|
@@ -41105,8 +41044,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41105
41044
|
if (object instanceof $root.CreateSleepcastVariant)
|
|
41106
41045
|
return object;
|
|
41107
41046
|
var message = new $root.CreateSleepcastVariant();
|
|
41108
|
-
if (object.id != null)
|
|
41109
|
-
message.id = String(object.id);
|
|
41110
41047
|
if (object.sleepcastId != null)
|
|
41111
41048
|
message.sleepcastId = object.sleepcastId | 0;
|
|
41112
41049
|
if (object.recipeJson != null)
|
|
@@ -41132,14 +41069,11 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41132
41069
|
options = {};
|
|
41133
41070
|
var object = {};
|
|
41134
41071
|
if (options.defaults) {
|
|
41135
|
-
object.id = "";
|
|
41136
41072
|
object.sleepcastId = 0;
|
|
41137
41073
|
object.recipeJson = "";
|
|
41138
41074
|
object.inputDir = "";
|
|
41139
41075
|
object.outputDir = "";
|
|
41140
41076
|
}
|
|
41141
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41142
|
-
object.id = message.id;
|
|
41143
41077
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41144
41078
|
object.sleepcastId = message.sleepcastId;
|
|
41145
41079
|
if (message.recipeJson != null && message.hasOwnProperty("recipeJson"))
|
|
@@ -41171,12 +41105,8 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41171
41105
|
* Properties of a SleepcastVariantCreated.
|
|
41172
41106
|
* @exports ISleepcastVariantCreated
|
|
41173
41107
|
* @interface ISleepcastVariantCreated
|
|
41174
|
-
* @property {string|null} [id] SleepcastVariantCreated id
|
|
41175
41108
|
* @property {number|null} [sleepcastId] SleepcastVariantCreated sleepcastId
|
|
41176
|
-
* @property {string
|
|
41177
|
-
* @property {string|null} [voiceFilePath] SleepcastVariantCreated voiceFilePath
|
|
41178
|
-
* @property {string|null} [mixedFilePath] SleepcastVariantCreated mixedFilePath
|
|
41179
|
-
* @property {number|Long|null} [createdAt] SleepcastVariantCreated createdAt
|
|
41109
|
+
* @property {Object.<string,string>|null} [outputs] SleepcastVariantCreated outputs
|
|
41180
41110
|
*/
|
|
41181
41111
|
|
|
41182
41112
|
/**
|
|
@@ -41188,20 +41118,13 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41188
41118
|
* @param {ISleepcastVariantCreated=} [properties] Properties to set
|
|
41189
41119
|
*/
|
|
41190
41120
|
function SleepcastVariantCreated(properties) {
|
|
41121
|
+
this.outputs = {};
|
|
41191
41122
|
if (properties)
|
|
41192
41123
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41193
41124
|
if (properties[keys[i]] != null)
|
|
41194
41125
|
this[keys[i]] = properties[keys[i]];
|
|
41195
41126
|
}
|
|
41196
41127
|
|
|
41197
|
-
/**
|
|
41198
|
-
* SleepcastVariantCreated id.
|
|
41199
|
-
* @member {string} id
|
|
41200
|
-
* @memberof SleepcastVariantCreated
|
|
41201
|
-
* @instance
|
|
41202
|
-
*/
|
|
41203
|
-
SleepcastVariantCreated.prototype.id = "";
|
|
41204
|
-
|
|
41205
41128
|
/**
|
|
41206
41129
|
* SleepcastVariantCreated sleepcastId.
|
|
41207
41130
|
* @member {number} sleepcastId
|
|
@@ -41211,36 +41134,12 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41211
41134
|
SleepcastVariantCreated.prototype.sleepcastId = 0;
|
|
41212
41135
|
|
|
41213
41136
|
/**
|
|
41214
|
-
* SleepcastVariantCreated
|
|
41215
|
-
* @member {string}
|
|
41216
|
-
* @memberof SleepcastVariantCreated
|
|
41217
|
-
* @instance
|
|
41218
|
-
*/
|
|
41219
|
-
SleepcastVariantCreated.prototype.ambientFilePath = "";
|
|
41220
|
-
|
|
41221
|
-
/**
|
|
41222
|
-
* SleepcastVariantCreated voiceFilePath.
|
|
41223
|
-
* @member {string} voiceFilePath
|
|
41224
|
-
* @memberof SleepcastVariantCreated
|
|
41225
|
-
* @instance
|
|
41226
|
-
*/
|
|
41227
|
-
SleepcastVariantCreated.prototype.voiceFilePath = "";
|
|
41228
|
-
|
|
41229
|
-
/**
|
|
41230
|
-
* SleepcastVariantCreated mixedFilePath.
|
|
41231
|
-
* @member {string} mixedFilePath
|
|
41232
|
-
* @memberof SleepcastVariantCreated
|
|
41233
|
-
* @instance
|
|
41234
|
-
*/
|
|
41235
|
-
SleepcastVariantCreated.prototype.mixedFilePath = "";
|
|
41236
|
-
|
|
41237
|
-
/**
|
|
41238
|
-
* SleepcastVariantCreated createdAt.
|
|
41239
|
-
* @member {number|Long} createdAt
|
|
41137
|
+
* SleepcastVariantCreated outputs.
|
|
41138
|
+
* @member {Object.<string,string>} outputs
|
|
41240
41139
|
* @memberof SleepcastVariantCreated
|
|
41241
41140
|
* @instance
|
|
41242
41141
|
*/
|
|
41243
|
-
SleepcastVariantCreated.prototype.
|
|
41142
|
+
SleepcastVariantCreated.prototype.outputs = $util.emptyObject;
|
|
41244
41143
|
|
|
41245
41144
|
/**
|
|
41246
41145
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
|
@@ -41266,18 +41165,11 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41266
41165
|
SleepcastVariantCreated.encode = function encode(message, writer) {
|
|
41267
41166
|
if (!writer)
|
|
41268
41167
|
writer = $Writer.create();
|
|
41269
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41270
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
41271
41168
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41272
|
-
writer.uint32(/* id
|
|
41273
|
-
if (message.
|
|
41274
|
-
|
|
41275
|
-
|
|
41276
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.voiceFilePath);
|
|
41277
|
-
if (message.mixedFilePath != null && message.hasOwnProperty("mixedFilePath"))
|
|
41278
|
-
writer.uint32(/* id 5, wireType 2 =*/42).string(message.mixedFilePath);
|
|
41279
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
41280
|
-
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAt);
|
|
41169
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.sleepcastId);
|
|
41170
|
+
if (message.outputs != null && message.hasOwnProperty("outputs"))
|
|
41171
|
+
for (var keys = Object.keys(message.outputs), i = 0; i < keys.length; ++i)
|
|
41172
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.outputs[keys[i]]).ldelim();
|
|
41281
41173
|
return writer;
|
|
41282
41174
|
};
|
|
41283
41175
|
|
|
@@ -41308,27 +41200,20 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41308
41200
|
SleepcastVariantCreated.decode = function decode(reader, length) {
|
|
41309
41201
|
if (!(reader instanceof $Reader))
|
|
41310
41202
|
reader = $Reader.create(reader);
|
|
41311
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastVariantCreated();
|
|
41203
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastVariantCreated(), key;
|
|
41312
41204
|
while (reader.pos < end) {
|
|
41313
41205
|
var tag = reader.uint32();
|
|
41314
41206
|
switch (tag >>> 3) {
|
|
41315
41207
|
case 1:
|
|
41316
|
-
message.id = reader.string();
|
|
41317
|
-
break;
|
|
41318
|
-
case 2:
|
|
41319
41208
|
message.sleepcastId = reader.int32();
|
|
41320
41209
|
break;
|
|
41321
|
-
case
|
|
41322
|
-
|
|
41323
|
-
|
|
41324
|
-
|
|
41325
|
-
|
|
41326
|
-
|
|
41327
|
-
|
|
41328
|
-
message.mixedFilePath = reader.string();
|
|
41329
|
-
break;
|
|
41330
|
-
case 6:
|
|
41331
|
-
message.createdAt = reader.uint64();
|
|
41210
|
+
case 2:
|
|
41211
|
+
reader.skip().pos++;
|
|
41212
|
+
if (message.outputs === $util.emptyObject)
|
|
41213
|
+
message.outputs = {};
|
|
41214
|
+
key = reader.string();
|
|
41215
|
+
reader.pos++;
|
|
41216
|
+
message.outputs[key] = reader.string();
|
|
41332
41217
|
break;
|
|
41333
41218
|
default:
|
|
41334
41219
|
reader.skipType(tag & 7);
|
|
@@ -41365,24 +41250,17 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41365
41250
|
SleepcastVariantCreated.verify = function verify(message) {
|
|
41366
41251
|
if (typeof message !== "object" || message === null)
|
|
41367
41252
|
return "object expected";
|
|
41368
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41369
|
-
if (!$util.isString(message.id))
|
|
41370
|
-
return "id: string expected";
|
|
41371
41253
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41372
41254
|
if (!$util.isInteger(message.sleepcastId))
|
|
41373
41255
|
return "sleepcastId: integer expected";
|
|
41374
|
-
if (message.
|
|
41375
|
-
if (!$util.
|
|
41376
|
-
return "
|
|
41377
|
-
|
|
41378
|
-
|
|
41379
|
-
|
|
41380
|
-
|
|
41381
|
-
|
|
41382
|
-
return "mixedFilePath: string expected";
|
|
41383
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
41384
|
-
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
41385
|
-
return "createdAt: integer|Long expected";
|
|
41256
|
+
if (message.outputs != null && message.hasOwnProperty("outputs")) {
|
|
41257
|
+
if (!$util.isObject(message.outputs))
|
|
41258
|
+
return "outputs: object expected";
|
|
41259
|
+
var key = Object.keys(message.outputs);
|
|
41260
|
+
for (var i = 0; i < key.length; ++i)
|
|
41261
|
+
if (!$util.isString(message.outputs[key[i]]))
|
|
41262
|
+
return "outputs: string{k:string} expected";
|
|
41263
|
+
}
|
|
41386
41264
|
return null;
|
|
41387
41265
|
};
|
|
41388
41266
|
|
|
@@ -41398,25 +41276,15 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41398
41276
|
if (object instanceof $root.SleepcastVariantCreated)
|
|
41399
41277
|
return object;
|
|
41400
41278
|
var message = new $root.SleepcastVariantCreated();
|
|
41401
|
-
if (object.id != null)
|
|
41402
|
-
message.id = String(object.id);
|
|
41403
41279
|
if (object.sleepcastId != null)
|
|
41404
41280
|
message.sleepcastId = object.sleepcastId | 0;
|
|
41405
|
-
if (object.
|
|
41406
|
-
|
|
41407
|
-
|
|
41408
|
-
message.
|
|
41409
|
-
|
|
41410
|
-
|
|
41411
|
-
|
|
41412
|
-
if ($util.Long)
|
|
41413
|
-
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
41414
|
-
else if (typeof object.createdAt === "string")
|
|
41415
|
-
message.createdAt = parseInt(object.createdAt, 10);
|
|
41416
|
-
else if (typeof object.createdAt === "number")
|
|
41417
|
-
message.createdAt = object.createdAt;
|
|
41418
|
-
else if (typeof object.createdAt === "object")
|
|
41419
|
-
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
41281
|
+
if (object.outputs) {
|
|
41282
|
+
if (typeof object.outputs !== "object")
|
|
41283
|
+
throw TypeError(".SleepcastVariantCreated.outputs: object expected");
|
|
41284
|
+
message.outputs = {};
|
|
41285
|
+
for (var keys = Object.keys(object.outputs), i = 0; i < keys.length; ++i)
|
|
41286
|
+
message.outputs[keys[i]] = String(object.outputs[keys[i]]);
|
|
41287
|
+
}
|
|
41420
41288
|
return message;
|
|
41421
41289
|
};
|
|
41422
41290
|
|
|
@@ -41433,33 +41301,18 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41433
41301
|
if (!options)
|
|
41434
41302
|
options = {};
|
|
41435
41303
|
var object = {};
|
|
41436
|
-
if (options.defaults)
|
|
41437
|
-
object.
|
|
41304
|
+
if (options.objects || options.defaults)
|
|
41305
|
+
object.outputs = {};
|
|
41306
|
+
if (options.defaults)
|
|
41438
41307
|
object.sleepcastId = 0;
|
|
41439
|
-
object.ambientFilePath = "";
|
|
41440
|
-
object.voiceFilePath = "";
|
|
41441
|
-
object.mixedFilePath = "";
|
|
41442
|
-
if ($util.Long) {
|
|
41443
|
-
var long = new $util.Long(0, 0, true);
|
|
41444
|
-
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
41445
|
-
} else
|
|
41446
|
-
object.createdAt = options.longs === String ? "0" : 0;
|
|
41447
|
-
}
|
|
41448
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41449
|
-
object.id = message.id;
|
|
41450
41308
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41451
41309
|
object.sleepcastId = message.sleepcastId;
|
|
41452
|
-
|
|
41453
|
-
|
|
41454
|
-
|
|
41455
|
-
|
|
41456
|
-
|
|
41457
|
-
|
|
41458
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
41459
|
-
if (typeof message.createdAt === "number")
|
|
41460
|
-
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
41461
|
-
else
|
|
41462
|
-
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;
|
|
41310
|
+
var keys2;
|
|
41311
|
+
if (message.outputs && (keys2 = Object.keys(message.outputs)).length) {
|
|
41312
|
+
object.outputs = {};
|
|
41313
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
41314
|
+
object.outputs[keys2[j]] = message.outputs[keys2[j]];
|
|
41315
|
+
}
|
|
41463
41316
|
return object;
|
|
41464
41317
|
};
|
|
41465
41318
|
|
package/package.json
CHANGED