@headspace/protos-events 1.453.0 → 1.454.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +18 -0
- package/lib/index.js +80 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11538,6 +11538,15 @@ export namespace elf {
|
|
|
11538
11538
|
|
|
11539
11539
|
/** NormalizationJob customVariables */
|
|
11540
11540
|
customVariables?: ({ [k: string]: string }|null);
|
|
11541
|
+
|
|
11542
|
+
/** NormalizationJob b2bOrgId */
|
|
11543
|
+
b2bOrgId?: (string|null);
|
|
11544
|
+
|
|
11545
|
+
/** NormalizationJob importedAtTimestamp */
|
|
11546
|
+
importedAtTimestamp?: (number|Long|null);
|
|
11547
|
+
|
|
11548
|
+
/** NormalizationJob isDryRun */
|
|
11549
|
+
isDryRun?: (boolean|null);
|
|
11541
11550
|
}
|
|
11542
11551
|
|
|
11543
11552
|
/** Represents a NormalizationJob. */
|
|
@@ -11564,6 +11573,15 @@ export namespace elf {
|
|
|
11564
11573
|
/** NormalizationJob customVariables. */
|
|
11565
11574
|
public customVariables: { [k: string]: string };
|
|
11566
11575
|
|
|
11576
|
+
/** NormalizationJob b2bOrgId. */
|
|
11577
|
+
public b2bOrgId: string;
|
|
11578
|
+
|
|
11579
|
+
/** NormalizationJob importedAtTimestamp. */
|
|
11580
|
+
public importedAtTimestamp: (number|Long);
|
|
11581
|
+
|
|
11582
|
+
/** NormalizationJob isDryRun. */
|
|
11583
|
+
public isDryRun: boolean;
|
|
11584
|
+
|
|
11567
11585
|
/**
|
|
11568
11586
|
* Creates a new NormalizationJob instance using the specified properties.
|
|
11569
11587
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -28100,6 +28100,9 @@ $root.elf = (function() {
|
|
|
28100
28100
|
* @property {string|null} [elfKeyField] NormalizationJob elfKeyField
|
|
28101
28101
|
* @property {Array.<string>|null} [elfRequiredFields] NormalizationJob elfRequiredFields
|
|
28102
28102
|
* @property {Object.<string,string>|null} [customVariables] NormalizationJob customVariables
|
|
28103
|
+
* @property {string|null} [b2bOrgId] NormalizationJob b2bOrgId
|
|
28104
|
+
* @property {number|Long|null} [importedAtTimestamp] NormalizationJob importedAtTimestamp
|
|
28105
|
+
* @property {boolean|null} [isDryRun] NormalizationJob isDryRun
|
|
28103
28106
|
*/
|
|
28104
28107
|
|
|
28105
28108
|
/**
|
|
@@ -28159,6 +28162,30 @@ $root.elf = (function() {
|
|
|
28159
28162
|
*/
|
|
28160
28163
|
NormalizationJob.prototype.customVariables = $util.emptyObject;
|
|
28161
28164
|
|
|
28165
|
+
/**
|
|
28166
|
+
* NormalizationJob b2bOrgId.
|
|
28167
|
+
* @member {string} b2bOrgId
|
|
28168
|
+
* @memberof elf.NormalizationJob
|
|
28169
|
+
* @instance
|
|
28170
|
+
*/
|
|
28171
|
+
NormalizationJob.prototype.b2bOrgId = "";
|
|
28172
|
+
|
|
28173
|
+
/**
|
|
28174
|
+
* NormalizationJob importedAtTimestamp.
|
|
28175
|
+
* @member {number|Long} importedAtTimestamp
|
|
28176
|
+
* @memberof elf.NormalizationJob
|
|
28177
|
+
* @instance
|
|
28178
|
+
*/
|
|
28179
|
+
NormalizationJob.prototype.importedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
28180
|
+
|
|
28181
|
+
/**
|
|
28182
|
+
* NormalizationJob isDryRun.
|
|
28183
|
+
* @member {boolean} isDryRun
|
|
28184
|
+
* @memberof elf.NormalizationJob
|
|
28185
|
+
* @instance
|
|
28186
|
+
*/
|
|
28187
|
+
NormalizationJob.prototype.isDryRun = false;
|
|
28188
|
+
|
|
28162
28189
|
/**
|
|
28163
28190
|
* Creates a new NormalizationJob instance using the specified properties.
|
|
28164
28191
|
* @function create
|
|
@@ -28195,6 +28222,12 @@ $root.elf = (function() {
|
|
|
28195
28222
|
if (message.customVariables != null && message.hasOwnProperty("customVariables"))
|
|
28196
28223
|
for (var keys = Object.keys(message.customVariables), i = 0; i < keys.length; ++i)
|
|
28197
28224
|
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.customVariables[keys[i]]).ldelim();
|
|
28225
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
28226
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgId);
|
|
28227
|
+
if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
|
|
28228
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.importedAtTimestamp);
|
|
28229
|
+
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
28230
|
+
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isDryRun);
|
|
28198
28231
|
return writer;
|
|
28199
28232
|
};
|
|
28200
28233
|
|
|
@@ -28251,6 +28284,15 @@ $root.elf = (function() {
|
|
|
28251
28284
|
reader.pos++;
|
|
28252
28285
|
message.customVariables[key] = reader.string();
|
|
28253
28286
|
break;
|
|
28287
|
+
case 6:
|
|
28288
|
+
message.b2bOrgId = reader.string();
|
|
28289
|
+
break;
|
|
28290
|
+
case 7:
|
|
28291
|
+
message.importedAtTimestamp = reader.uint64();
|
|
28292
|
+
break;
|
|
28293
|
+
case 8:
|
|
28294
|
+
message.isDryRun = reader.bool();
|
|
28295
|
+
break;
|
|
28254
28296
|
default:
|
|
28255
28297
|
reader.skipType(tag & 7);
|
|
28256
28298
|
break;
|
|
@@ -28310,6 +28352,15 @@ $root.elf = (function() {
|
|
|
28310
28352
|
if (!$util.isString(message.customVariables[key[i]]))
|
|
28311
28353
|
return "customVariables: string{k:string} expected";
|
|
28312
28354
|
}
|
|
28355
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
28356
|
+
if (!$util.isString(message.b2bOrgId))
|
|
28357
|
+
return "b2bOrgId: string expected";
|
|
28358
|
+
if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
|
|
28359
|
+
if (!$util.isInteger(message.importedAtTimestamp) && !(message.importedAtTimestamp && $util.isInteger(message.importedAtTimestamp.low) && $util.isInteger(message.importedAtTimestamp.high)))
|
|
28360
|
+
return "importedAtTimestamp: integer|Long expected";
|
|
28361
|
+
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
28362
|
+
if (typeof message.isDryRun !== "boolean")
|
|
28363
|
+
return "isDryRun: boolean expected";
|
|
28313
28364
|
return null;
|
|
28314
28365
|
};
|
|
28315
28366
|
|
|
@@ -28345,6 +28396,19 @@ $root.elf = (function() {
|
|
|
28345
28396
|
for (var keys = Object.keys(object.customVariables), i = 0; i < keys.length; ++i)
|
|
28346
28397
|
message.customVariables[keys[i]] = String(object.customVariables[keys[i]]);
|
|
28347
28398
|
}
|
|
28399
|
+
if (object.b2bOrgId != null)
|
|
28400
|
+
message.b2bOrgId = String(object.b2bOrgId);
|
|
28401
|
+
if (object.importedAtTimestamp != null)
|
|
28402
|
+
if ($util.Long)
|
|
28403
|
+
(message.importedAtTimestamp = $util.Long.fromValue(object.importedAtTimestamp)).unsigned = true;
|
|
28404
|
+
else if (typeof object.importedAtTimestamp === "string")
|
|
28405
|
+
message.importedAtTimestamp = parseInt(object.importedAtTimestamp, 10);
|
|
28406
|
+
else if (typeof object.importedAtTimestamp === "number")
|
|
28407
|
+
message.importedAtTimestamp = object.importedAtTimestamp;
|
|
28408
|
+
else if (typeof object.importedAtTimestamp === "object")
|
|
28409
|
+
message.importedAtTimestamp = new $util.LongBits(object.importedAtTimestamp.low >>> 0, object.importedAtTimestamp.high >>> 0).toNumber(true);
|
|
28410
|
+
if (object.isDryRun != null)
|
|
28411
|
+
message.isDryRun = Boolean(object.isDryRun);
|
|
28348
28412
|
return message;
|
|
28349
28413
|
};
|
|
28350
28414
|
|
|
@@ -28369,6 +28433,13 @@ $root.elf = (function() {
|
|
|
28369
28433
|
object.s3Bucket = "";
|
|
28370
28434
|
object.s3Key = "";
|
|
28371
28435
|
object.elfKeyField = "";
|
|
28436
|
+
object.b2bOrgId = "";
|
|
28437
|
+
if ($util.Long) {
|
|
28438
|
+
var long = new $util.Long(0, 0, true);
|
|
28439
|
+
object.importedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
28440
|
+
} else
|
|
28441
|
+
object.importedAtTimestamp = options.longs === String ? "0" : 0;
|
|
28442
|
+
object.isDryRun = false;
|
|
28372
28443
|
}
|
|
28373
28444
|
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
28374
28445
|
object.s3Bucket = message.s3Bucket;
|
|
@@ -28387,6 +28458,15 @@ $root.elf = (function() {
|
|
|
28387
28458
|
for (var j = 0; j < keys2.length; ++j)
|
|
28388
28459
|
object.customVariables[keys2[j]] = message.customVariables[keys2[j]];
|
|
28389
28460
|
}
|
|
28461
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
28462
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
28463
|
+
if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
|
|
28464
|
+
if (typeof message.importedAtTimestamp === "number")
|
|
28465
|
+
object.importedAtTimestamp = options.longs === String ? String(message.importedAtTimestamp) : message.importedAtTimestamp;
|
|
28466
|
+
else
|
|
28467
|
+
object.importedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.importedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.importedAtTimestamp.low >>> 0, message.importedAtTimestamp.high >>> 0).toNumber(true) : message.importedAtTimestamp;
|
|
28468
|
+
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
28469
|
+
object.isDryRun = message.isDryRun;
|
|
28390
28470
|
return object;
|
|
28391
28471
|
};
|
|
28392
28472
|
|
package/package.json
CHANGED