@headspace/protos-events 1.849.0 → 1.850.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
@@ -72326,6 +72326,9 @@ export class CmsAccessEligibilityDetermined {
72326
72326
  /** CmsAccessEligibilityDetermined cmsSubmissionId. */
72327
72327
  cmsSubmissionId: string;
72328
72328
 
72329
+ /** CmsAccessEligibilityDetermined submittedAt. */
72330
+ submittedAt: (number|Long);
72331
+
72329
72332
  /**
72330
72333
  * Creates a new CmsAccessEligibilityDetermined instance using the specified properties.
72331
72334
  * @param [properties] Properties to set
@@ -72425,6 +72428,9 @@ export namespace CmsAccessEligibilityDetermined {
72425
72428
  /** CmsAccessEligibilityDetermined cmsSubmissionId */
72426
72429
  cmsSubmissionId?: (string|null);
72427
72430
 
72431
+ /** CmsAccessEligibilityDetermined submittedAt */
72432
+ submittedAt?: (number|Long|null);
72433
+
72428
72434
  /** Unknown fields preserved while decoding */
72429
72435
  $unknowns?: Uint8Array[];
72430
72436
  }
@@ -72478,6 +72484,9 @@ export class CmsAccessAlignmentCompleted {
72478
72484
  /** CmsAccessAlignmentCompleted carePeriodEndsAt. */
72479
72485
  carePeriodEndsAt: (number|Long);
72480
72486
 
72487
+ /** CmsAccessAlignmentCompleted submittedAt. */
72488
+ submittedAt: (number|Long);
72489
+
72481
72490
  /**
72482
72491
  * Creates a new CmsAccessAlignmentCompleted instance using the specified properties.
72483
72492
  * @param [properties] Properties to set
@@ -72583,6 +72592,9 @@ export namespace CmsAccessAlignmentCompleted {
72583
72592
  /** CmsAccessAlignmentCompleted carePeriodEndsAt */
72584
72593
  carePeriodEndsAt?: (number|Long|null);
72585
72594
 
72595
+ /** CmsAccessAlignmentCompleted submittedAt */
72596
+ submittedAt?: (number|Long|null);
72597
+
72586
72598
  /** Unknown fields preserved while decoding */
72587
72599
  $unknowns?: Uint8Array[];
72588
72600
  }
package/lib/index.js CHANGED
@@ -210306,6 +210306,7 @@ $root.CmsAccessEligibilityDetermined = (function() {
210306
210306
  * @property {string|null} [trackingId] CmsAccessEligibilityDetermined trackingId
210307
210307
  * @property {CmsAccessEligibilityResult|null} [result] CmsAccessEligibilityDetermined result
210308
210308
  * @property {string|null} [cmsSubmissionId] CmsAccessEligibilityDetermined cmsSubmissionId
210309
+ * @property {number|Long|null} [submittedAt] CmsAccessEligibilityDetermined submittedAt
210309
210310
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
210310
210311
  */
210311
210312
 
@@ -210380,6 +210381,14 @@ $root.CmsAccessEligibilityDetermined = (function() {
210380
210381
  */
210381
210382
  CmsAccessEligibilityDetermined.prototype.cmsSubmissionId = "";
210382
210383
 
210384
+ /**
210385
+ * CmsAccessEligibilityDetermined submittedAt.
210386
+ * @member {number|Long} submittedAt
210387
+ * @memberof CmsAccessEligibilityDetermined
210388
+ * @instance
210389
+ */
210390
+ CmsAccessEligibilityDetermined.prototype.submittedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
210391
+
210383
210392
  /**
210384
210393
  * Creates a new CmsAccessEligibilityDetermined instance using the specified properties.
210385
210394
  * @function create
@@ -210418,6 +210427,8 @@ $root.CmsAccessEligibilityDetermined = (function() {
210418
210427
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.result);
210419
210428
  if (message.cmsSubmissionId != null && Object.hasOwnProperty.call(message, "cmsSubmissionId"))
210420
210429
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.cmsSubmissionId);
210430
+ if (message.submittedAt != null && Object.hasOwnProperty.call(message, "submittedAt"))
210431
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.submittedAt);
210421
210432
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
210422
210433
  for (var i = 0; i < message.$unknowns.length; ++i)
210423
210434
  writer.raw(message.$unknowns[i]);
@@ -210510,6 +210521,15 @@ $root.CmsAccessEligibilityDetermined = (function() {
210510
210521
  delete message.cmsSubmissionId;
210511
210522
  continue;
210512
210523
  }
210524
+ case 6: {
210525
+ if (wireType !== 0)
210526
+ break;
210527
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
210528
+ message.submittedAt = value;
210529
+ else
210530
+ delete message.submittedAt;
210531
+ continue;
210532
+ }
210513
210533
  }
210514
210534
  reader.skipType(wireType, _depth, tag);
210515
210535
  $util.makeProp(message, "$unknowns", false);
@@ -210580,6 +210600,9 @@ $root.CmsAccessEligibilityDetermined = (function() {
210580
210600
  if (message.cmsSubmissionId != null && message.hasOwnProperty("cmsSubmissionId"))
210581
210601
  if (!$util.isString(message.cmsSubmissionId))
210582
210602
  return "cmsSubmissionId: string expected";
210603
+ if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
210604
+ if (!$util.isInteger(message.submittedAt) && !(message.submittedAt && $util.isInteger(message.submittedAt.low) && $util.isInteger(message.submittedAt.high)))
210605
+ return "submittedAt: integer|Long expected";
210583
210606
  return null;
210584
210607
  };
210585
210608
 
@@ -210671,6 +210694,16 @@ $root.CmsAccessEligibilityDetermined = (function() {
210671
210694
  if (object.cmsSubmissionId != null)
210672
210695
  if (typeof object.cmsSubmissionId !== "string" || object.cmsSubmissionId.length)
210673
210696
  message.cmsSubmissionId = String(object.cmsSubmissionId);
210697
+ if (object.submittedAt != null)
210698
+ if (typeof object.submittedAt === "object" ? object.submittedAt.low || object.submittedAt.high : Number(object.submittedAt) !== 0)
210699
+ if ($util.Long)
210700
+ (message.submittedAt = $util.Long.fromValue(object.submittedAt)).unsigned = true;
210701
+ else if (typeof object.submittedAt === "string")
210702
+ message.submittedAt = parseInt(object.submittedAt, 10);
210703
+ else if (typeof object.submittedAt === "number")
210704
+ message.submittedAt = object.submittedAt;
210705
+ else if (typeof object.submittedAt === "object")
210706
+ message.submittedAt = new $util.LongBits(object.submittedAt.low >>> 0, object.submittedAt.high >>> 0).toNumber(true);
210674
210707
  return message;
210675
210708
  };
210676
210709
 
@@ -210697,6 +210730,11 @@ $root.CmsAccessEligibilityDetermined = (function() {
210697
210730
  object.trackingId = "";
210698
210731
  object.result = options.enums === String ? "CMS_ACCESS_ELIGIBILITY_RESULT_UNKNOWN" : 0;
210699
210732
  object.cmsSubmissionId = "";
210733
+ if ($util.Long) {
210734
+ var long = new $util.Long(0, 0, true);
210735
+ object.submittedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
210736
+ } else
210737
+ object.submittedAt = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
210700
210738
  }
210701
210739
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
210702
210740
  if (typeof BigInt !== "undefined" && options.longs === BigInt)
@@ -210713,6 +210751,13 @@ $root.CmsAccessEligibilityDetermined = (function() {
210713
210751
  object.result = options.enums === String ? $root.CmsAccessEligibilityResult[message.result] === undefined ? message.result : $root.CmsAccessEligibilityResult[message.result] : message.result;
210714
210752
  if (message.cmsSubmissionId != null && message.hasOwnProperty("cmsSubmissionId"))
210715
210753
  object.cmsSubmissionId = message.cmsSubmissionId;
210754
+ if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
210755
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
210756
+ object.submittedAt = typeof message.submittedAt === "number" ? BigInt(message.submittedAt) : $util.Long.fromBits(message.submittedAt.low >>> 0, message.submittedAt.high >>> 0, true).toBigInt();
210757
+ else if (typeof message.submittedAt === "number")
210758
+ object.submittedAt = options.longs === String ? String(message.submittedAt) : message.submittedAt;
210759
+ else
210760
+ object.submittedAt = options.longs === String ? $util.Long.prototype.toString.call(message.submittedAt) : options.longs === Number ? new $util.LongBits(message.submittedAt.low >>> 0, message.submittedAt.high >>> 0).toNumber(true) : message.submittedAt;
210716
210761
  return object;
210717
210762
  };
210718
210763
 
@@ -210756,6 +210801,7 @@ $root.CmsAccessAlignmentCompleted = (function() {
210756
210801
  * @property {string|null} [cmsSubmissionId] CmsAccessAlignmentCompleted cmsSubmissionId
210757
210802
  * @property {number|Long|null} [alignedAt] CmsAccessAlignmentCompleted alignedAt
210758
210803
  * @property {number|Long|null} [carePeriodEndsAt] CmsAccessAlignmentCompleted carePeriodEndsAt
210804
+ * @property {number|Long|null} [submittedAt] CmsAccessAlignmentCompleted submittedAt
210759
210805
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
210760
210806
  */
210761
210807
 
@@ -210846,6 +210892,14 @@ $root.CmsAccessAlignmentCompleted = (function() {
210846
210892
  */
210847
210893
  CmsAccessAlignmentCompleted.prototype.carePeriodEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
210848
210894
 
210895
+ /**
210896
+ * CmsAccessAlignmentCompleted submittedAt.
210897
+ * @member {number|Long} submittedAt
210898
+ * @memberof CmsAccessAlignmentCompleted
210899
+ * @instance
210900
+ */
210901
+ CmsAccessAlignmentCompleted.prototype.submittedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
210902
+
210849
210903
  /**
210850
210904
  * Creates a new CmsAccessAlignmentCompleted instance using the specified properties.
210851
210905
  * @function create
@@ -210888,6 +210942,8 @@ $root.CmsAccessAlignmentCompleted = (function() {
210888
210942
  writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.alignedAt);
210889
210943
  if (message.carePeriodEndsAt != null && Object.hasOwnProperty.call(message, "carePeriodEndsAt"))
210890
210944
  writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.carePeriodEndsAt);
210945
+ if (message.submittedAt != null && Object.hasOwnProperty.call(message, "submittedAt"))
210946
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.submittedAt);
210891
210947
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
210892
210948
  for (var i = 0; i < message.$unknowns.length; ++i)
210893
210949
  writer.raw(message.$unknowns[i]);
@@ -210998,6 +211054,15 @@ $root.CmsAccessAlignmentCompleted = (function() {
210998
211054
  delete message.carePeriodEndsAt;
210999
211055
  continue;
211000
211056
  }
211057
+ case 8: {
211058
+ if (wireType !== 0)
211059
+ break;
211060
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
211061
+ message.submittedAt = value;
211062
+ else
211063
+ delete message.submittedAt;
211064
+ continue;
211065
+ }
211001
211066
  }
211002
211067
  reader.skipType(wireType, _depth, tag);
211003
211068
  $util.makeProp(message, "$unknowns", false);
@@ -211074,6 +211139,9 @@ $root.CmsAccessAlignmentCompleted = (function() {
211074
211139
  if (message.carePeriodEndsAt != null && message.hasOwnProperty("carePeriodEndsAt"))
211075
211140
  if (!$util.isInteger(message.carePeriodEndsAt) && !(message.carePeriodEndsAt && $util.isInteger(message.carePeriodEndsAt.low) && $util.isInteger(message.carePeriodEndsAt.high)))
211076
211141
  return "carePeriodEndsAt: integer|Long expected";
211142
+ if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
211143
+ if (!$util.isInteger(message.submittedAt) && !(message.submittedAt && $util.isInteger(message.submittedAt.low) && $util.isInteger(message.submittedAt.high)))
211144
+ return "submittedAt: integer|Long expected";
211077
211145
  return null;
211078
211146
  };
211079
211147
 
@@ -211185,6 +211253,16 @@ $root.CmsAccessAlignmentCompleted = (function() {
211185
211253
  message.carePeriodEndsAt = object.carePeriodEndsAt;
211186
211254
  else if (typeof object.carePeriodEndsAt === "object")
211187
211255
  message.carePeriodEndsAt = new $util.LongBits(object.carePeriodEndsAt.low >>> 0, object.carePeriodEndsAt.high >>> 0).toNumber(true);
211256
+ if (object.submittedAt != null)
211257
+ if (typeof object.submittedAt === "object" ? object.submittedAt.low || object.submittedAt.high : Number(object.submittedAt) !== 0)
211258
+ if ($util.Long)
211259
+ (message.submittedAt = $util.Long.fromValue(object.submittedAt)).unsigned = true;
211260
+ else if (typeof object.submittedAt === "string")
211261
+ message.submittedAt = parseInt(object.submittedAt, 10);
211262
+ else if (typeof object.submittedAt === "number")
211263
+ message.submittedAt = object.submittedAt;
211264
+ else if (typeof object.submittedAt === "object")
211265
+ message.submittedAt = new $util.LongBits(object.submittedAt.low >>> 0, object.submittedAt.high >>> 0).toNumber(true);
211188
211266
  return message;
211189
211267
  };
211190
211268
 
@@ -211221,6 +211299,11 @@ $root.CmsAccessAlignmentCompleted = (function() {
211221
211299
  object.carePeriodEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
211222
211300
  } else
211223
211301
  object.carePeriodEndsAt = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
211302
+ if ($util.Long) {
211303
+ var long = new $util.Long(0, 0, true);
211304
+ object.submittedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
211305
+ } else
211306
+ object.submittedAt = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
211224
211307
  }
211225
211308
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
211226
211309
  if (typeof BigInt !== "undefined" && options.longs === BigInt)
@@ -211251,6 +211334,13 @@ $root.CmsAccessAlignmentCompleted = (function() {
211251
211334
  object.carePeriodEndsAt = options.longs === String ? String(message.carePeriodEndsAt) : message.carePeriodEndsAt;
211252
211335
  else
211253
211336
  object.carePeriodEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.carePeriodEndsAt) : options.longs === Number ? new $util.LongBits(message.carePeriodEndsAt.low >>> 0, message.carePeriodEndsAt.high >>> 0).toNumber(true) : message.carePeriodEndsAt;
211337
+ if (message.submittedAt != null && message.hasOwnProperty("submittedAt"))
211338
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
211339
+ object.submittedAt = typeof message.submittedAt === "number" ? BigInt(message.submittedAt) : $util.Long.fromBits(message.submittedAt.low >>> 0, message.submittedAt.high >>> 0, true).toBigInt();
211340
+ else if (typeof message.submittedAt === "number")
211341
+ object.submittedAt = options.longs === String ? String(message.submittedAt) : message.submittedAt;
211342
+ else
211343
+ object.submittedAt = options.longs === String ? $util.Long.prototype.toString.call(message.submittedAt) : options.longs === Number ? new $util.LongBits(message.submittedAt.low >>> 0, message.submittedAt.high >>> 0).toNumber(true) : message.submittedAt;
211254
211344
  return object;
211255
211345
  };
211256
211346
 
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.849.0"
19
+ "version": "1.850.0"
20
20
  }