@headspace/protos-events 1.197.0 → 1.198.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 -34
- package/lib/index.js +48 -151
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14801,9 +14801,6 @@ export class AssignmentAllocationBatchPushed implements IAssignmentAllocationBat
|
|
|
14801
14801
|
/** Properties of a CreateSleepcastVariant. */
|
|
14802
14802
|
export interface ICreateSleepcastVariant {
|
|
14803
14803
|
|
|
14804
|
-
/** CreateSleepcastVariant id */
|
|
14805
|
-
id?: (string|null);
|
|
14806
|
-
|
|
14807
14804
|
/** CreateSleepcastVariant sleepcastId */
|
|
14808
14805
|
sleepcastId?: (number|null);
|
|
14809
14806
|
|
|
@@ -14826,9 +14823,6 @@ export class CreateSleepcastVariant implements ICreateSleepcastVariant {
|
|
|
14826
14823
|
*/
|
|
14827
14824
|
constructor(properties?: ICreateSleepcastVariant);
|
|
14828
14825
|
|
|
14829
|
-
/** CreateSleepcastVariant id. */
|
|
14830
|
-
public id: string;
|
|
14831
|
-
|
|
14832
14826
|
/** CreateSleepcastVariant sleepcastId. */
|
|
14833
14827
|
public sleepcastId: number;
|
|
14834
14828
|
|
|
@@ -14915,23 +14909,11 @@ export class CreateSleepcastVariant implements ICreateSleepcastVariant {
|
|
|
14915
14909
|
/** Properties of a SleepcastVariantCreated. */
|
|
14916
14910
|
export interface ISleepcastVariantCreated {
|
|
14917
14911
|
|
|
14918
|
-
/** SleepcastVariantCreated id */
|
|
14919
|
-
id?: (string|null);
|
|
14920
|
-
|
|
14921
14912
|
/** SleepcastVariantCreated sleepcastId */
|
|
14922
14913
|
sleepcastId?: (number|null);
|
|
14923
14914
|
|
|
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);
|
|
14915
|
+
/** SleepcastVariantCreated outputs */
|
|
14916
|
+
outputs?: ({ [k: string]: string }|null);
|
|
14935
14917
|
}
|
|
14936
14918
|
|
|
14937
14919
|
/** Represents a SleepcastVariantCreated. */
|
|
@@ -14943,23 +14925,11 @@ export class SleepcastVariantCreated implements ISleepcastVariantCreated {
|
|
|
14943
14925
|
*/
|
|
14944
14926
|
constructor(properties?: ISleepcastVariantCreated);
|
|
14945
14927
|
|
|
14946
|
-
/** SleepcastVariantCreated id. */
|
|
14947
|
-
public id: string;
|
|
14948
|
-
|
|
14949
14928
|
/** SleepcastVariantCreated sleepcastId. */
|
|
14950
14929
|
public sleepcastId: number;
|
|
14951
14930
|
|
|
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);
|
|
14931
|
+
/** SleepcastVariantCreated outputs. */
|
|
14932
|
+
public outputs: { [k: string]: string };
|
|
14963
14933
|
|
|
14964
14934
|
/**
|
|
14965
14935
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
package/lib/index.js
CHANGED
|
@@ -40895,7 +40895,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
40895
40895
|
* Properties of a CreateSleepcastVariant.
|
|
40896
40896
|
* @exports ICreateSleepcastVariant
|
|
40897
40897
|
* @interface ICreateSleepcastVariant
|
|
40898
|
-
* @property {string|null} [id] CreateSleepcastVariant id
|
|
40899
40898
|
* @property {number|null} [sleepcastId] CreateSleepcastVariant sleepcastId
|
|
40900
40899
|
* @property {string|null} [recipeJson] CreateSleepcastVariant recipeJson
|
|
40901
40900
|
* @property {string|null} [inputDir] CreateSleepcastVariant inputDir
|
|
@@ -40917,14 +40916,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
40917
40916
|
this[keys[i]] = properties[keys[i]];
|
|
40918
40917
|
}
|
|
40919
40918
|
|
|
40920
|
-
/**
|
|
40921
|
-
* CreateSleepcastVariant id.
|
|
40922
|
-
* @member {string} id
|
|
40923
|
-
* @memberof CreateSleepcastVariant
|
|
40924
|
-
* @instance
|
|
40925
|
-
*/
|
|
40926
|
-
CreateSleepcastVariant.prototype.id = "";
|
|
40927
|
-
|
|
40928
40919
|
/**
|
|
40929
40920
|
* CreateSleepcastVariant sleepcastId.
|
|
40930
40921
|
* @member {number} sleepcastId
|
|
@@ -40981,16 +40972,14 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
40981
40972
|
CreateSleepcastVariant.encode = function encode(message, writer) {
|
|
40982
40973
|
if (!writer)
|
|
40983
40974
|
writer = $Writer.create();
|
|
40984
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
40985
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
40986
40975
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
40987
|
-
writer.uint32(/* id
|
|
40976
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.sleepcastId);
|
|
40988
40977
|
if (message.recipeJson != null && message.hasOwnProperty("recipeJson"))
|
|
40989
|
-
writer.uint32(/* id
|
|
40978
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.recipeJson);
|
|
40990
40979
|
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
40991
|
-
writer.uint32(/* id
|
|
40980
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.inputDir);
|
|
40992
40981
|
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
40993
|
-
writer.uint32(/* id
|
|
40982
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.outputDir);
|
|
40994
40983
|
return writer;
|
|
40995
40984
|
};
|
|
40996
40985
|
|
|
@@ -41026,18 +41015,15 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41026
41015
|
var tag = reader.uint32();
|
|
41027
41016
|
switch (tag >>> 3) {
|
|
41028
41017
|
case 1:
|
|
41029
|
-
message.id = reader.string();
|
|
41030
|
-
break;
|
|
41031
|
-
case 2:
|
|
41032
41018
|
message.sleepcastId = reader.int32();
|
|
41033
41019
|
break;
|
|
41034
|
-
case
|
|
41020
|
+
case 2:
|
|
41035
41021
|
message.recipeJson = reader.string();
|
|
41036
41022
|
break;
|
|
41037
|
-
case
|
|
41023
|
+
case 3:
|
|
41038
41024
|
message.inputDir = reader.string();
|
|
41039
41025
|
break;
|
|
41040
|
-
case
|
|
41026
|
+
case 4:
|
|
41041
41027
|
message.outputDir = reader.string();
|
|
41042
41028
|
break;
|
|
41043
41029
|
default:
|
|
@@ -41075,9 +41061,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41075
41061
|
CreateSleepcastVariant.verify = function verify(message) {
|
|
41076
41062
|
if (typeof message !== "object" || message === null)
|
|
41077
41063
|
return "object expected";
|
|
41078
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41079
|
-
if (!$util.isString(message.id))
|
|
41080
|
-
return "id: string expected";
|
|
41081
41064
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41082
41065
|
if (!$util.isInteger(message.sleepcastId))
|
|
41083
41066
|
return "sleepcastId: integer expected";
|
|
@@ -41105,8 +41088,6 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41105
41088
|
if (object instanceof $root.CreateSleepcastVariant)
|
|
41106
41089
|
return object;
|
|
41107
41090
|
var message = new $root.CreateSleepcastVariant();
|
|
41108
|
-
if (object.id != null)
|
|
41109
|
-
message.id = String(object.id);
|
|
41110
41091
|
if (object.sleepcastId != null)
|
|
41111
41092
|
message.sleepcastId = object.sleepcastId | 0;
|
|
41112
41093
|
if (object.recipeJson != null)
|
|
@@ -41132,14 +41113,11 @@ $root.CreateSleepcastVariant = (function() {
|
|
|
41132
41113
|
options = {};
|
|
41133
41114
|
var object = {};
|
|
41134
41115
|
if (options.defaults) {
|
|
41135
|
-
object.id = "";
|
|
41136
41116
|
object.sleepcastId = 0;
|
|
41137
41117
|
object.recipeJson = "";
|
|
41138
41118
|
object.inputDir = "";
|
|
41139
41119
|
object.outputDir = "";
|
|
41140
41120
|
}
|
|
41141
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41142
|
-
object.id = message.id;
|
|
41143
41121
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41144
41122
|
object.sleepcastId = message.sleepcastId;
|
|
41145
41123
|
if (message.recipeJson != null && message.hasOwnProperty("recipeJson"))
|
|
@@ -41171,12 +41149,8 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41171
41149
|
* Properties of a SleepcastVariantCreated.
|
|
41172
41150
|
* @exports ISleepcastVariantCreated
|
|
41173
41151
|
* @interface ISleepcastVariantCreated
|
|
41174
|
-
* @property {string|null} [id] SleepcastVariantCreated id
|
|
41175
41152
|
* @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
|
|
41153
|
+
* @property {Object.<string,string>|null} [outputs] SleepcastVariantCreated outputs
|
|
41180
41154
|
*/
|
|
41181
41155
|
|
|
41182
41156
|
/**
|
|
@@ -41188,20 +41162,13 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41188
41162
|
* @param {ISleepcastVariantCreated=} [properties] Properties to set
|
|
41189
41163
|
*/
|
|
41190
41164
|
function SleepcastVariantCreated(properties) {
|
|
41165
|
+
this.outputs = {};
|
|
41191
41166
|
if (properties)
|
|
41192
41167
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41193
41168
|
if (properties[keys[i]] != null)
|
|
41194
41169
|
this[keys[i]] = properties[keys[i]];
|
|
41195
41170
|
}
|
|
41196
41171
|
|
|
41197
|
-
/**
|
|
41198
|
-
* SleepcastVariantCreated id.
|
|
41199
|
-
* @member {string} id
|
|
41200
|
-
* @memberof SleepcastVariantCreated
|
|
41201
|
-
* @instance
|
|
41202
|
-
*/
|
|
41203
|
-
SleepcastVariantCreated.prototype.id = "";
|
|
41204
|
-
|
|
41205
41172
|
/**
|
|
41206
41173
|
* SleepcastVariantCreated sleepcastId.
|
|
41207
41174
|
* @member {number} sleepcastId
|
|
@@ -41211,36 +41178,12 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41211
41178
|
SleepcastVariantCreated.prototype.sleepcastId = 0;
|
|
41212
41179
|
|
|
41213
41180
|
/**
|
|
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
|
|
41181
|
+
* SleepcastVariantCreated outputs.
|
|
41182
|
+
* @member {Object.<string,string>} outputs
|
|
41240
41183
|
* @memberof SleepcastVariantCreated
|
|
41241
41184
|
* @instance
|
|
41242
41185
|
*/
|
|
41243
|
-
SleepcastVariantCreated.prototype.
|
|
41186
|
+
SleepcastVariantCreated.prototype.outputs = $util.emptyObject;
|
|
41244
41187
|
|
|
41245
41188
|
/**
|
|
41246
41189
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
|
@@ -41266,18 +41209,11 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41266
41209
|
SleepcastVariantCreated.encode = function encode(message, writer) {
|
|
41267
41210
|
if (!writer)
|
|
41268
41211
|
writer = $Writer.create();
|
|
41269
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41270
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
41271
41212
|
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);
|
|
41213
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.sleepcastId);
|
|
41214
|
+
if (message.outputs != null && message.hasOwnProperty("outputs"))
|
|
41215
|
+
for (var keys = Object.keys(message.outputs), i = 0; i < keys.length; ++i)
|
|
41216
|
+
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
41217
|
return writer;
|
|
41282
41218
|
};
|
|
41283
41219
|
|
|
@@ -41308,27 +41244,20 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41308
41244
|
SleepcastVariantCreated.decode = function decode(reader, length) {
|
|
41309
41245
|
if (!(reader instanceof $Reader))
|
|
41310
41246
|
reader = $Reader.create(reader);
|
|
41311
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastVariantCreated();
|
|
41247
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastVariantCreated(), key;
|
|
41312
41248
|
while (reader.pos < end) {
|
|
41313
41249
|
var tag = reader.uint32();
|
|
41314
41250
|
switch (tag >>> 3) {
|
|
41315
41251
|
case 1:
|
|
41316
|
-
message.id = reader.string();
|
|
41317
|
-
break;
|
|
41318
|
-
case 2:
|
|
41319
41252
|
message.sleepcastId = reader.int32();
|
|
41320
41253
|
break;
|
|
41321
|
-
case
|
|
41322
|
-
|
|
41323
|
-
|
|
41324
|
-
|
|
41325
|
-
|
|
41326
|
-
|
|
41327
|
-
|
|
41328
|
-
message.mixedFilePath = reader.string();
|
|
41329
|
-
break;
|
|
41330
|
-
case 6:
|
|
41331
|
-
message.createdAt = reader.uint64();
|
|
41254
|
+
case 2:
|
|
41255
|
+
reader.skip().pos++;
|
|
41256
|
+
if (message.outputs === $util.emptyObject)
|
|
41257
|
+
message.outputs = {};
|
|
41258
|
+
key = reader.string();
|
|
41259
|
+
reader.pos++;
|
|
41260
|
+
message.outputs[key] = reader.string();
|
|
41332
41261
|
break;
|
|
41333
41262
|
default:
|
|
41334
41263
|
reader.skipType(tag & 7);
|
|
@@ -41365,24 +41294,17 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41365
41294
|
SleepcastVariantCreated.verify = function verify(message) {
|
|
41366
41295
|
if (typeof message !== "object" || message === null)
|
|
41367
41296
|
return "object expected";
|
|
41368
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
41369
|
-
if (!$util.isString(message.id))
|
|
41370
|
-
return "id: string expected";
|
|
41371
41297
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41372
41298
|
if (!$util.isInteger(message.sleepcastId))
|
|
41373
41299
|
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";
|
|
41300
|
+
if (message.outputs != null && message.hasOwnProperty("outputs")) {
|
|
41301
|
+
if (!$util.isObject(message.outputs))
|
|
41302
|
+
return "outputs: object expected";
|
|
41303
|
+
var key = Object.keys(message.outputs);
|
|
41304
|
+
for (var i = 0; i < key.length; ++i)
|
|
41305
|
+
if (!$util.isString(message.outputs[key[i]]))
|
|
41306
|
+
return "outputs: string{k:string} expected";
|
|
41307
|
+
}
|
|
41386
41308
|
return null;
|
|
41387
41309
|
};
|
|
41388
41310
|
|
|
@@ -41398,25 +41320,15 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41398
41320
|
if (object instanceof $root.SleepcastVariantCreated)
|
|
41399
41321
|
return object;
|
|
41400
41322
|
var message = new $root.SleepcastVariantCreated();
|
|
41401
|
-
if (object.id != null)
|
|
41402
|
-
message.id = String(object.id);
|
|
41403
41323
|
if (object.sleepcastId != null)
|
|
41404
41324
|
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);
|
|
41325
|
+
if (object.outputs) {
|
|
41326
|
+
if (typeof object.outputs !== "object")
|
|
41327
|
+
throw TypeError(".SleepcastVariantCreated.outputs: object expected");
|
|
41328
|
+
message.outputs = {};
|
|
41329
|
+
for (var keys = Object.keys(object.outputs), i = 0; i < keys.length; ++i)
|
|
41330
|
+
message.outputs[keys[i]] = String(object.outputs[keys[i]]);
|
|
41331
|
+
}
|
|
41420
41332
|
return message;
|
|
41421
41333
|
};
|
|
41422
41334
|
|
|
@@ -41433,33 +41345,18 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
41433
41345
|
if (!options)
|
|
41434
41346
|
options = {};
|
|
41435
41347
|
var object = {};
|
|
41436
|
-
if (options.defaults)
|
|
41437
|
-
object.
|
|
41348
|
+
if (options.objects || options.defaults)
|
|
41349
|
+
object.outputs = {};
|
|
41350
|
+
if (options.defaults)
|
|
41438
41351
|
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
41352
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
41451
41353
|
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;
|
|
41354
|
+
var keys2;
|
|
41355
|
+
if (message.outputs && (keys2 = Object.keys(message.outputs)).length) {
|
|
41356
|
+
object.outputs = {};
|
|
41357
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
41358
|
+
object.outputs[keys2[j]] = message.outputs[keys2[j]];
|
|
41359
|
+
}
|
|
41463
41360
|
return object;
|
|
41464
41361
|
};
|
|
41465
41362
|
|
package/package.json
CHANGED