@headspace/protos-events 1.453.0 → 1.455.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 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
@@ -29698,6 +29716,9 @@ export interface IEligibilityLinked {
29698
29716
 
29699
29717
  /** EligibilityLinked timestamp */
29700
29718
  timestamp?: (number|Long|null);
29719
+
29720
+ /** EligibilityLinked connectionNames */
29721
+ connectionNames?: (string[]|null);
29701
29722
  }
29702
29723
 
29703
29724
  /** Represents an EligibilityLinked. */
@@ -29733,6 +29754,9 @@ export class EligibilityLinked implements IEligibilityLinked {
29733
29754
  /** EligibilityLinked timestamp. */
29734
29755
  public timestamp: (number|Long);
29735
29756
 
29757
+ /** EligibilityLinked connectionNames. */
29758
+ public connectionNames: string[];
29759
+
29736
29760
  /**
29737
29761
  * Creates a new EligibilityLinked instance using the specified properties.
29738
29762
  * @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
 
@@ -82208,6 +82288,7 @@ $root.EligibilityLinked = (function() {
82208
82288
  * @property {string|null} [workId] EligibilityLinked workId
82209
82289
  * @property {boolean|null} [isUmd] EligibilityLinked isUmd
82210
82290
  * @property {number|Long|null} [timestamp] EligibilityLinked timestamp
82291
+ * @property {Array.<string>|null} [connectionNames] EligibilityLinked connectionNames
82211
82292
  */
82212
82293
 
82213
82294
  /**
@@ -82219,6 +82300,7 @@ $root.EligibilityLinked = (function() {
82219
82300
  * @param {IEligibilityLinked=} [properties] Properties to set
82220
82301
  */
82221
82302
  function EligibilityLinked(properties) {
82303
+ this.connectionNames = [];
82222
82304
  if (properties)
82223
82305
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
82224
82306
  if (properties[keys[i]] != null)
@@ -82289,6 +82371,14 @@ $root.EligibilityLinked = (function() {
82289
82371
  */
82290
82372
  EligibilityLinked.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
82291
82373
 
82374
+ /**
82375
+ * EligibilityLinked connectionNames.
82376
+ * @member {Array.<string>} connectionNames
82377
+ * @memberof EligibilityLinked
82378
+ * @instance
82379
+ */
82380
+ EligibilityLinked.prototype.connectionNames = $util.emptyArray;
82381
+
82292
82382
  /**
82293
82383
  * Creates a new EligibilityLinked instance using the specified properties.
82294
82384
  * @function create
@@ -82329,6 +82419,9 @@ $root.EligibilityLinked = (function() {
82329
82419
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isUmd);
82330
82420
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
82331
82421
  writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.timestamp);
82422
+ if (message.connectionNames != null && message.connectionNames.length)
82423
+ for (var i = 0; i < message.connectionNames.length; ++i)
82424
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.connectionNames[i]);
82332
82425
  return writer;
82333
82426
  };
82334
82427
 
@@ -82387,6 +82480,11 @@ $root.EligibilityLinked = (function() {
82387
82480
  case 8:
82388
82481
  message.timestamp = reader.uint64();
82389
82482
  break;
82483
+ case 9:
82484
+ if (!(message.connectionNames && message.connectionNames.length))
82485
+ message.connectionNames = [];
82486
+ message.connectionNames.push(reader.string());
82487
+ break;
82390
82488
  default:
82391
82489
  reader.skipType(tag & 7);
82392
82490
  break;
@@ -82451,6 +82549,13 @@ $root.EligibilityLinked = (function() {
82451
82549
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
82452
82550
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
82453
82551
  return "timestamp: integer|Long expected";
82552
+ if (message.connectionNames != null && message.hasOwnProperty("connectionNames")) {
82553
+ if (!Array.isArray(message.connectionNames))
82554
+ return "connectionNames: array expected";
82555
+ for (var i = 0; i < message.connectionNames.length; ++i)
82556
+ if (!$util.isString(message.connectionNames[i]))
82557
+ return "connectionNames: string[] expected";
82558
+ }
82454
82559
  return null;
82455
82560
  };
82456
82561
 
@@ -82497,6 +82602,13 @@ $root.EligibilityLinked = (function() {
82497
82602
  message.timestamp = object.timestamp;
82498
82603
  else if (typeof object.timestamp === "object")
82499
82604
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
82605
+ if (object.connectionNames) {
82606
+ if (!Array.isArray(object.connectionNames))
82607
+ throw TypeError(".EligibilityLinked.connectionNames: array expected");
82608
+ message.connectionNames = [];
82609
+ for (var i = 0; i < object.connectionNames.length; ++i)
82610
+ message.connectionNames[i] = String(object.connectionNames[i]);
82611
+ }
82500
82612
  return message;
82501
82613
  };
82502
82614
 
@@ -82513,6 +82625,8 @@ $root.EligibilityLinked = (function() {
82513
82625
  if (!options)
82514
82626
  options = {};
82515
82627
  var object = {};
82628
+ if (options.arrays || options.defaults)
82629
+ object.connectionNames = [];
82516
82630
  if (options.defaults) {
82517
82631
  object.headspaceHealthOrgId = "";
82518
82632
  object.headspaceUserId = "";
@@ -82546,6 +82660,11 @@ $root.EligibilityLinked = (function() {
82546
82660
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
82547
82661
  else
82548
82662
  object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
82663
+ if (message.connectionNames && message.connectionNames.length) {
82664
+ object.connectionNames = [];
82665
+ for (var j = 0; j < message.connectionNames.length; ++j)
82666
+ object.connectionNames[j] = message.connectionNames[j];
82667
+ }
82549
82668
  return object;
82550
82669
  };
82551
82670
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.453.0"
19
+ "version": "1.455.0"
20
20
  }