@headspace/protos-events 1.452.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 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
@@ -34452,6 +34470,9 @@ export interface IEnterpriseUserEnrollmentInitiated {
34452
34470
 
34453
34471
  /** EnterpriseUserEnrollmentInitiated timestampEpochMs */
34454
34472
  timestampEpochMs?: (number|Long|null);
34473
+
34474
+ /** EnterpriseUserEnrollmentInitiated languagePreference */
34475
+ languagePreference?: (string|null);
34455
34476
  }
34456
34477
 
34457
34478
  /** Represents an EnterpriseUserEnrollmentInitiated. */
@@ -34487,6 +34508,9 @@ export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollm
34487
34508
  /** EnterpriseUserEnrollmentInitiated timestampEpochMs. */
34488
34509
  public timestampEpochMs: (number|Long);
34489
34510
 
34511
+ /** EnterpriseUserEnrollmentInitiated languagePreference. */
34512
+ public languagePreference: string;
34513
+
34490
34514
  /**
34491
34515
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
34492
34516
  * @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
 
@@ -96312,6 +96392,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96312
96392
  * @property {string|null} [verifyLink] EnterpriseUserEnrollmentInitiated verifyLink
96313
96393
  * @property {string|null} [enrollmentPage] EnterpriseUserEnrollmentInitiated enrollmentPage
96314
96394
  * @property {number|Long|null} [timestampEpochMs] EnterpriseUserEnrollmentInitiated timestampEpochMs
96395
+ * @property {string|null} [languagePreference] EnterpriseUserEnrollmentInitiated languagePreference
96315
96396
  */
96316
96397
 
96317
96398
  /**
@@ -96393,6 +96474,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96393
96474
  */
96394
96475
  EnterpriseUserEnrollmentInitiated.prototype.timestampEpochMs = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
96395
96476
 
96477
+ /**
96478
+ * EnterpriseUserEnrollmentInitiated languagePreference.
96479
+ * @member {string} languagePreference
96480
+ * @memberof EnterpriseUserEnrollmentInitiated
96481
+ * @instance
96482
+ */
96483
+ EnterpriseUserEnrollmentInitiated.prototype.languagePreference = "";
96484
+
96396
96485
  /**
96397
96486
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
96398
96487
  * @function create
@@ -96433,6 +96522,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96433
96522
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.enrollmentPage);
96434
96523
  if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
96435
96524
  writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.timestampEpochMs);
96525
+ if (message.languagePreference != null && message.hasOwnProperty("languagePreference"))
96526
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.languagePreference);
96436
96527
  return writer;
96437
96528
  };
96438
96529
 
@@ -96491,6 +96582,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96491
96582
  case 8:
96492
96583
  message.timestampEpochMs = reader.uint64();
96493
96584
  break;
96585
+ case 9:
96586
+ message.languagePreference = reader.string();
96587
+ break;
96494
96588
  default:
96495
96589
  reader.skipType(tag & 7);
96496
96590
  break;
@@ -96550,6 +96644,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96550
96644
  if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
96551
96645
  if (!$util.isInteger(message.timestampEpochMs) && !(message.timestampEpochMs && $util.isInteger(message.timestampEpochMs.low) && $util.isInteger(message.timestampEpochMs.high)))
96552
96646
  return "timestampEpochMs: integer|Long expected";
96647
+ if (message.languagePreference != null && message.hasOwnProperty("languagePreference"))
96648
+ if (!$util.isString(message.languagePreference))
96649
+ return "languagePreference: string expected";
96553
96650
  return null;
96554
96651
  };
96555
96652
 
@@ -96588,6 +96685,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96588
96685
  message.timestampEpochMs = object.timestampEpochMs;
96589
96686
  else if (typeof object.timestampEpochMs === "object")
96590
96687
  message.timestampEpochMs = new $util.LongBits(object.timestampEpochMs.low >>> 0, object.timestampEpochMs.high >>> 0).toNumber(true);
96688
+ if (object.languagePreference != null)
96689
+ message.languagePreference = String(object.languagePreference);
96591
96690
  return message;
96592
96691
  };
96593
96692
 
@@ -96617,6 +96716,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96617
96716
  object.timestampEpochMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
96618
96717
  } else
96619
96718
  object.timestampEpochMs = options.longs === String ? "0" : 0;
96719
+ object.languagePreference = "";
96620
96720
  }
96621
96721
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
96622
96722
  object.hsUserId = message.hsUserId;
@@ -96637,6 +96737,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
96637
96737
  object.timestampEpochMs = options.longs === String ? String(message.timestampEpochMs) : message.timestampEpochMs;
96638
96738
  else
96639
96739
  object.timestampEpochMs = options.longs === String ? $util.Long.prototype.toString.call(message.timestampEpochMs) : options.longs === Number ? new $util.LongBits(message.timestampEpochMs.low >>> 0, message.timestampEpochMs.high >>> 0).toNumber(true) : message.timestampEpochMs;
96740
+ if (message.languagePreference != null && message.hasOwnProperty("languagePreference"))
96741
+ object.languagePreference = message.languagePreference;
96640
96742
  return object;
96641
96743
  };
96642
96744
 
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.452.0"
19
+ "version": "1.454.0"
20
20
  }