@headspace/protos-events 1.226.0 → 1.227.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 +24 -0
- package/lib/index.js +132 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -16178,6 +16178,18 @@ export interface ISleepcastVariantCreated {
|
|
|
16178
16178
|
|
|
16179
16179
|
/** SleepcastVariantCreated outputs */
|
|
16180
16180
|
outputs?: ({ [k: string]: IOutput }|null);
|
|
16181
|
+
|
|
16182
|
+
/** SleepcastVariantCreated recipes */
|
|
16183
|
+
recipes?: ({ [k: string]: string }|null);
|
|
16184
|
+
|
|
16185
|
+
/** SleepcastVariantCreated inputDir */
|
|
16186
|
+
inputDir?: (string|null);
|
|
16187
|
+
|
|
16188
|
+
/** SleepcastVariantCreated outputDir */
|
|
16189
|
+
outputDir?: (string|null);
|
|
16190
|
+
|
|
16191
|
+
/** SleepcastVariantCreated durations */
|
|
16192
|
+
durations?: ({ [k: string]: number }|null);
|
|
16181
16193
|
}
|
|
16182
16194
|
|
|
16183
16195
|
/** Represents a SleepcastVariantCreated. */
|
|
@@ -16195,6 +16207,18 @@ export class SleepcastVariantCreated implements ISleepcastVariantCreated {
|
|
|
16195
16207
|
/** SleepcastVariantCreated outputs. */
|
|
16196
16208
|
public outputs: { [k: string]: IOutput };
|
|
16197
16209
|
|
|
16210
|
+
/** SleepcastVariantCreated recipes. */
|
|
16211
|
+
public recipes: { [k: string]: string };
|
|
16212
|
+
|
|
16213
|
+
/** SleepcastVariantCreated inputDir. */
|
|
16214
|
+
public inputDir: string;
|
|
16215
|
+
|
|
16216
|
+
/** SleepcastVariantCreated outputDir. */
|
|
16217
|
+
public outputDir: string;
|
|
16218
|
+
|
|
16219
|
+
/** SleepcastVariantCreated durations. */
|
|
16220
|
+
public durations: { [k: string]: number };
|
|
16221
|
+
|
|
16198
16222
|
/**
|
|
16199
16223
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
|
16200
16224
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -45023,6 +45023,10 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45023
45023
|
* @interface ISleepcastVariantCreated
|
|
45024
45024
|
* @property {number|null} [sleepcastId] SleepcastVariantCreated sleepcastId
|
|
45025
45025
|
* @property {Object.<string,IOutput>|null} [outputs] SleepcastVariantCreated outputs
|
|
45026
|
+
* @property {Object.<string,string>|null} [recipes] SleepcastVariantCreated recipes
|
|
45027
|
+
* @property {string|null} [inputDir] SleepcastVariantCreated inputDir
|
|
45028
|
+
* @property {string|null} [outputDir] SleepcastVariantCreated outputDir
|
|
45029
|
+
* @property {Object.<string,number>|null} [durations] SleepcastVariantCreated durations
|
|
45026
45030
|
*/
|
|
45027
45031
|
|
|
45028
45032
|
/**
|
|
@@ -45035,6 +45039,8 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45035
45039
|
*/
|
|
45036
45040
|
function SleepcastVariantCreated(properties) {
|
|
45037
45041
|
this.outputs = {};
|
|
45042
|
+
this.recipes = {};
|
|
45043
|
+
this.durations = {};
|
|
45038
45044
|
if (properties)
|
|
45039
45045
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
45040
45046
|
if (properties[keys[i]] != null)
|
|
@@ -45057,6 +45063,38 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45057
45063
|
*/
|
|
45058
45064
|
SleepcastVariantCreated.prototype.outputs = $util.emptyObject;
|
|
45059
45065
|
|
|
45066
|
+
/**
|
|
45067
|
+
* SleepcastVariantCreated recipes.
|
|
45068
|
+
* @member {Object.<string,string>} recipes
|
|
45069
|
+
* @memberof SleepcastVariantCreated
|
|
45070
|
+
* @instance
|
|
45071
|
+
*/
|
|
45072
|
+
SleepcastVariantCreated.prototype.recipes = $util.emptyObject;
|
|
45073
|
+
|
|
45074
|
+
/**
|
|
45075
|
+
* SleepcastVariantCreated inputDir.
|
|
45076
|
+
* @member {string} inputDir
|
|
45077
|
+
* @memberof SleepcastVariantCreated
|
|
45078
|
+
* @instance
|
|
45079
|
+
*/
|
|
45080
|
+
SleepcastVariantCreated.prototype.inputDir = "";
|
|
45081
|
+
|
|
45082
|
+
/**
|
|
45083
|
+
* SleepcastVariantCreated outputDir.
|
|
45084
|
+
* @member {string} outputDir
|
|
45085
|
+
* @memberof SleepcastVariantCreated
|
|
45086
|
+
* @instance
|
|
45087
|
+
*/
|
|
45088
|
+
SleepcastVariantCreated.prototype.outputDir = "";
|
|
45089
|
+
|
|
45090
|
+
/**
|
|
45091
|
+
* SleepcastVariantCreated durations.
|
|
45092
|
+
* @member {Object.<string,number>} durations
|
|
45093
|
+
* @memberof SleepcastVariantCreated
|
|
45094
|
+
* @instance
|
|
45095
|
+
*/
|
|
45096
|
+
SleepcastVariantCreated.prototype.durations = $util.emptyObject;
|
|
45097
|
+
|
|
45060
45098
|
/**
|
|
45061
45099
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
|
45062
45100
|
* @function create
|
|
@@ -45088,6 +45126,16 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45088
45126
|
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
45089
45127
|
$root.Output.encode(message.outputs[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
45090
45128
|
}
|
|
45129
|
+
if (message.recipes != null && message.hasOwnProperty("recipes"))
|
|
45130
|
+
for (var keys = Object.keys(message.recipes), i = 0; i < keys.length; ++i)
|
|
45131
|
+
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.recipes[keys[i]]).ldelim();
|
|
45132
|
+
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
45133
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.inputDir);
|
|
45134
|
+
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
45135
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.outputDir);
|
|
45136
|
+
if (message.durations != null && message.hasOwnProperty("durations"))
|
|
45137
|
+
for (var keys = Object.keys(message.durations), i = 0; i < keys.length; ++i)
|
|
45138
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).int32(message.durations[keys[i]]).ldelim();
|
|
45091
45139
|
return writer;
|
|
45092
45140
|
};
|
|
45093
45141
|
|
|
@@ -45133,6 +45181,28 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45133
45181
|
reader.pos++;
|
|
45134
45182
|
message.outputs[key] = $root.Output.decode(reader, reader.uint32());
|
|
45135
45183
|
break;
|
|
45184
|
+
case 3:
|
|
45185
|
+
reader.skip().pos++;
|
|
45186
|
+
if (message.recipes === $util.emptyObject)
|
|
45187
|
+
message.recipes = {};
|
|
45188
|
+
key = reader.string();
|
|
45189
|
+
reader.pos++;
|
|
45190
|
+
message.recipes[key] = reader.string();
|
|
45191
|
+
break;
|
|
45192
|
+
case 4:
|
|
45193
|
+
message.inputDir = reader.string();
|
|
45194
|
+
break;
|
|
45195
|
+
case 5:
|
|
45196
|
+
message.outputDir = reader.string();
|
|
45197
|
+
break;
|
|
45198
|
+
case 6:
|
|
45199
|
+
reader.skip().pos++;
|
|
45200
|
+
if (message.durations === $util.emptyObject)
|
|
45201
|
+
message.durations = {};
|
|
45202
|
+
key = reader.string();
|
|
45203
|
+
reader.pos++;
|
|
45204
|
+
message.durations[key] = reader.int32();
|
|
45205
|
+
break;
|
|
45136
45206
|
default:
|
|
45137
45207
|
reader.skipType(tag & 7);
|
|
45138
45208
|
break;
|
|
@@ -45181,6 +45251,28 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45181
45251
|
return "outputs." + error;
|
|
45182
45252
|
}
|
|
45183
45253
|
}
|
|
45254
|
+
if (message.recipes != null && message.hasOwnProperty("recipes")) {
|
|
45255
|
+
if (!$util.isObject(message.recipes))
|
|
45256
|
+
return "recipes: object expected";
|
|
45257
|
+
var key = Object.keys(message.recipes);
|
|
45258
|
+
for (var i = 0; i < key.length; ++i)
|
|
45259
|
+
if (!$util.isString(message.recipes[key[i]]))
|
|
45260
|
+
return "recipes: string{k:string} expected";
|
|
45261
|
+
}
|
|
45262
|
+
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
45263
|
+
if (!$util.isString(message.inputDir))
|
|
45264
|
+
return "inputDir: string expected";
|
|
45265
|
+
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
45266
|
+
if (!$util.isString(message.outputDir))
|
|
45267
|
+
return "outputDir: string expected";
|
|
45268
|
+
if (message.durations != null && message.hasOwnProperty("durations")) {
|
|
45269
|
+
if (!$util.isObject(message.durations))
|
|
45270
|
+
return "durations: object expected";
|
|
45271
|
+
var key = Object.keys(message.durations);
|
|
45272
|
+
for (var i = 0; i < key.length; ++i)
|
|
45273
|
+
if (!$util.isInteger(message.durations[key[i]]))
|
|
45274
|
+
return "durations: integer{k:string} expected";
|
|
45275
|
+
}
|
|
45184
45276
|
return null;
|
|
45185
45277
|
};
|
|
45186
45278
|
|
|
@@ -45208,6 +45300,24 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45208
45300
|
message.outputs[keys[i]] = $root.Output.fromObject(object.outputs[keys[i]]);
|
|
45209
45301
|
}
|
|
45210
45302
|
}
|
|
45303
|
+
if (object.recipes) {
|
|
45304
|
+
if (typeof object.recipes !== "object")
|
|
45305
|
+
throw TypeError(".SleepcastVariantCreated.recipes: object expected");
|
|
45306
|
+
message.recipes = {};
|
|
45307
|
+
for (var keys = Object.keys(object.recipes), i = 0; i < keys.length; ++i)
|
|
45308
|
+
message.recipes[keys[i]] = String(object.recipes[keys[i]]);
|
|
45309
|
+
}
|
|
45310
|
+
if (object.inputDir != null)
|
|
45311
|
+
message.inputDir = String(object.inputDir);
|
|
45312
|
+
if (object.outputDir != null)
|
|
45313
|
+
message.outputDir = String(object.outputDir);
|
|
45314
|
+
if (object.durations) {
|
|
45315
|
+
if (typeof object.durations !== "object")
|
|
45316
|
+
throw TypeError(".SleepcastVariantCreated.durations: object expected");
|
|
45317
|
+
message.durations = {};
|
|
45318
|
+
for (var keys = Object.keys(object.durations), i = 0; i < keys.length; ++i)
|
|
45319
|
+
message.durations[keys[i]] = object.durations[keys[i]] | 0;
|
|
45320
|
+
}
|
|
45211
45321
|
return message;
|
|
45212
45322
|
};
|
|
45213
45323
|
|
|
@@ -45224,10 +45334,16 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45224
45334
|
if (!options)
|
|
45225
45335
|
options = {};
|
|
45226
45336
|
var object = {};
|
|
45227
|
-
if (options.objects || options.defaults)
|
|
45337
|
+
if (options.objects || options.defaults) {
|
|
45228
45338
|
object.outputs = {};
|
|
45229
|
-
|
|
45339
|
+
object.recipes = {};
|
|
45340
|
+
object.durations = {};
|
|
45341
|
+
}
|
|
45342
|
+
if (options.defaults) {
|
|
45230
45343
|
object.sleepcastId = 0;
|
|
45344
|
+
object.inputDir = "";
|
|
45345
|
+
object.outputDir = "";
|
|
45346
|
+
}
|
|
45231
45347
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
45232
45348
|
object.sleepcastId = message.sleepcastId;
|
|
45233
45349
|
var keys2;
|
|
@@ -45236,6 +45352,20 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45236
45352
|
for (var j = 0; j < keys2.length; ++j)
|
|
45237
45353
|
object.outputs[keys2[j]] = $root.Output.toObject(message.outputs[keys2[j]], options);
|
|
45238
45354
|
}
|
|
45355
|
+
if (message.recipes && (keys2 = Object.keys(message.recipes)).length) {
|
|
45356
|
+
object.recipes = {};
|
|
45357
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
45358
|
+
object.recipes[keys2[j]] = message.recipes[keys2[j]];
|
|
45359
|
+
}
|
|
45360
|
+
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
45361
|
+
object.inputDir = message.inputDir;
|
|
45362
|
+
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
45363
|
+
object.outputDir = message.outputDir;
|
|
45364
|
+
if (message.durations && (keys2 = Object.keys(message.durations)).length) {
|
|
45365
|
+
object.durations = {};
|
|
45366
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
45367
|
+
object.durations[keys2[j]] = message.durations[keys2[j]];
|
|
45368
|
+
}
|
|
45239
45369
|
return object;
|
|
45240
45370
|
};
|
|
45241
45371
|
|
package/package.json
CHANGED