@headspace/protos-events 1.633.0 → 1.634.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
@@ -43385,6 +43385,9 @@ export interface IClinicalCoverageCreated {
43385
43385
 
43386
43386
  /** ClinicalCoverageCreated externalOrgId */
43387
43387
  externalOrgId?: (string|null);
43388
+
43389
+ /** ClinicalCoverageCreated orgSubscriptionStartDate */
43390
+ orgSubscriptionStartDate?: (number|Long|null);
43388
43391
  }
43389
43392
 
43390
43393
  /** Represents a ClinicalCoverageCreated. */
@@ -43420,6 +43423,9 @@ export class ClinicalCoverageCreated implements IClinicalCoverageCreated {
43420
43423
  /** ClinicalCoverageCreated externalOrgId. */
43421
43424
  public externalOrgId: string;
43422
43425
 
43426
+ /** ClinicalCoverageCreated orgSubscriptionStartDate. */
43427
+ public orgSubscriptionStartDate: (number|Long);
43428
+
43423
43429
  /**
43424
43430
  * Creates a new ClinicalCoverageCreated instance using the specified properties.
43425
43431
  * @param [properties] Properties to set
@@ -43517,6 +43523,9 @@ export interface IClinicalCoverageUpdated {
43517
43523
 
43518
43524
  /** ClinicalCoverageUpdated externalOrgId */
43519
43525
  externalOrgId?: (string|null);
43526
+
43527
+ /** ClinicalCoverageUpdated orgSubscriptionStartDate */
43528
+ orgSubscriptionStartDate?: (number|Long|null);
43520
43529
  }
43521
43530
 
43522
43531
  /** Represents a ClinicalCoverageUpdated. */
@@ -43552,6 +43561,9 @@ export class ClinicalCoverageUpdated implements IClinicalCoverageUpdated {
43552
43561
  /** ClinicalCoverageUpdated externalOrgId. */
43553
43562
  public externalOrgId: string;
43554
43563
 
43564
+ /** ClinicalCoverageUpdated orgSubscriptionStartDate. */
43565
+ public orgSubscriptionStartDate: (number|Long);
43566
+
43555
43567
  /**
43556
43568
  * Creates a new ClinicalCoverageUpdated instance using the specified properties.
43557
43569
  * @param [properties] Properties to set
@@ -43649,6 +43661,9 @@ export interface IClinicalCoverageDeleted {
43649
43661
 
43650
43662
  /** ClinicalCoverageDeleted externalOrgId */
43651
43663
  externalOrgId?: (string|null);
43664
+
43665
+ /** ClinicalCoverageDeleted orgSubscriptionStartDate */
43666
+ orgSubscriptionStartDate?: (number|Long|null);
43652
43667
  }
43653
43668
 
43654
43669
  /** Represents a ClinicalCoverageDeleted. */
@@ -43684,6 +43699,9 @@ export class ClinicalCoverageDeleted implements IClinicalCoverageDeleted {
43684
43699
  /** ClinicalCoverageDeleted externalOrgId. */
43685
43700
  public externalOrgId: string;
43686
43701
 
43702
+ /** ClinicalCoverageDeleted orgSubscriptionStartDate. */
43703
+ public orgSubscriptionStartDate: (number|Long);
43704
+
43687
43705
  /**
43688
43706
  * Creates a new ClinicalCoverageDeleted instance using the specified properties.
43689
43707
  * @param [properties] Properties to set
@@ -43778,6 +43796,9 @@ export interface IEapCoverageCreated {
43778
43796
 
43779
43797
  /** EapCoverageCreated externalOrgId */
43780
43798
  externalOrgId?: (string|null);
43799
+
43800
+ /** EapCoverageCreated orgSubscriptionStartDate */
43801
+ orgSubscriptionStartDate?: (number|Long|null);
43781
43802
  }
43782
43803
 
43783
43804
  /** Represents an EapCoverageCreated. */
@@ -43810,6 +43831,9 @@ export class EapCoverageCreated implements IEapCoverageCreated {
43810
43831
  /** EapCoverageCreated externalOrgId. */
43811
43832
  public externalOrgId: string;
43812
43833
 
43834
+ /** EapCoverageCreated orgSubscriptionStartDate. */
43835
+ public orgSubscriptionStartDate: (number|Long);
43836
+
43813
43837
  /**
43814
43838
  * Creates a new EapCoverageCreated instance using the specified properties.
43815
43839
  * @param [properties] Properties to set
@@ -43904,6 +43928,9 @@ export interface IEapCoverageUpdated {
43904
43928
 
43905
43929
  /** EapCoverageUpdated externalOrgId */
43906
43930
  externalOrgId?: (string|null);
43931
+
43932
+ /** EapCoverageUpdated orgSubscriptionStartDate */
43933
+ orgSubscriptionStartDate?: (number|Long|null);
43907
43934
  }
43908
43935
 
43909
43936
  /** Represents an EapCoverageUpdated. */
@@ -43936,6 +43963,9 @@ export class EapCoverageUpdated implements IEapCoverageUpdated {
43936
43963
  /** EapCoverageUpdated externalOrgId. */
43937
43964
  public externalOrgId: string;
43938
43965
 
43966
+ /** EapCoverageUpdated orgSubscriptionStartDate. */
43967
+ public orgSubscriptionStartDate: (number|Long);
43968
+
43939
43969
  /**
43940
43970
  * Creates a new EapCoverageUpdated instance using the specified properties.
43941
43971
  * @param [properties] Properties to set
@@ -44030,6 +44060,9 @@ export interface IEapCoverageDeleted {
44030
44060
 
44031
44061
  /** EapCoverageDeleted externalOrgId */
44032
44062
  externalOrgId?: (string|null);
44063
+
44064
+ /** EapCoverageDeleted orgSubscriptionStartDate */
44065
+ orgSubscriptionStartDate?: (number|Long|null);
44033
44066
  }
44034
44067
 
44035
44068
  /** Represents an EapCoverageDeleted. */
@@ -44062,6 +44095,9 @@ export class EapCoverageDeleted implements IEapCoverageDeleted {
44062
44095
  /** EapCoverageDeleted externalOrgId. */
44063
44096
  public externalOrgId: string;
44064
44097
 
44098
+ /** EapCoverageDeleted orgSubscriptionStartDate. */
44099
+ public orgSubscriptionStartDate: (number|Long);
44100
+
44065
44101
  /**
44066
44102
  * Creates a new EapCoverageDeleted instance using the specified properties.
44067
44103
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -118480,6 +118480,7 @@ $root.ClinicalCoverageCreated = (function() {
118480
118480
  * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] ClinicalCoverageCreated clinicalCoverageProvider
118481
118481
  * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageCreated clinicalCoverageType
118482
118482
  * @property {string|null} [externalOrgId] ClinicalCoverageCreated externalOrgId
118483
+ * @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageCreated orgSubscriptionStartDate
118483
118484
  */
118484
118485
 
118485
118486
  /**
@@ -118561,6 +118562,14 @@ $root.ClinicalCoverageCreated = (function() {
118561
118562
  */
118562
118563
  ClinicalCoverageCreated.prototype.externalOrgId = "";
118563
118564
 
118565
+ /**
118566
+ * ClinicalCoverageCreated orgSubscriptionStartDate.
118567
+ * @member {number|Long} orgSubscriptionStartDate
118568
+ * @memberof ClinicalCoverageCreated
118569
+ * @instance
118570
+ */
118571
+ ClinicalCoverageCreated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
118572
+
118564
118573
  /**
118565
118574
  * Creates a new ClinicalCoverageCreated instance using the specified properties.
118566
118575
  * @function create
@@ -118601,6 +118610,8 @@ $root.ClinicalCoverageCreated = (function() {
118601
118610
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clinicalCoverageType);
118602
118611
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
118603
118612
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
118613
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
118614
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
118604
118615
  return writer;
118605
118616
  };
118606
118617
 
@@ -118659,6 +118670,9 @@ $root.ClinicalCoverageCreated = (function() {
118659
118670
  case 8:
118660
118671
  message.externalOrgId = reader.string();
118661
118672
  break;
118673
+ case 9:
118674
+ message.orgSubscriptionStartDate = reader.uint64();
118675
+ break;
118662
118676
  default:
118663
118677
  reader.skipType(tag & 7);
118664
118678
  break;
@@ -118739,6 +118753,9 @@ $root.ClinicalCoverageCreated = (function() {
118739
118753
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
118740
118754
  if (!$util.isString(message.externalOrgId))
118741
118755
  return "externalOrgId: string expected";
118756
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
118757
+ if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
118758
+ return "orgSubscriptionStartDate: integer|Long expected";
118742
118759
  return null;
118743
118760
  };
118744
118761
 
@@ -118846,6 +118863,15 @@ $root.ClinicalCoverageCreated = (function() {
118846
118863
  }
118847
118864
  if (object.externalOrgId != null)
118848
118865
  message.externalOrgId = String(object.externalOrgId);
118866
+ if (object.orgSubscriptionStartDate != null)
118867
+ if ($util.Long)
118868
+ (message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
118869
+ else if (typeof object.orgSubscriptionStartDate === "string")
118870
+ message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
118871
+ else if (typeof object.orgSubscriptionStartDate === "number")
118872
+ message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
118873
+ else if (typeof object.orgSubscriptionStartDate === "object")
118874
+ message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
118849
118875
  return message;
118850
118876
  };
118851
118877
 
@@ -118887,6 +118913,11 @@ $root.ClinicalCoverageCreated = (function() {
118887
118913
  object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
118888
118914
  object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
118889
118915
  object.externalOrgId = "";
118916
+ if ($util.Long) {
118917
+ var long = new $util.Long(0, 0, true);
118918
+ object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
118919
+ } else
118920
+ object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
118890
118921
  }
118891
118922
  if (message.orgId != null && message.hasOwnProperty("orgId"))
118892
118923
  if (typeof message.orgId === "number")
@@ -118916,6 +118947,11 @@ $root.ClinicalCoverageCreated = (function() {
118916
118947
  object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
118917
118948
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
118918
118949
  object.externalOrgId = message.externalOrgId;
118950
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
118951
+ if (typeof message.orgSubscriptionStartDate === "number")
118952
+ object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
118953
+ else
118954
+ object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
118919
118955
  return object;
118920
118956
  };
118921
118957
 
@@ -118947,6 +118983,7 @@ $root.ClinicalCoverageUpdated = (function() {
118947
118983
  * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] ClinicalCoverageUpdated clinicalCoverageProvider
118948
118984
  * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageUpdated clinicalCoverageType
118949
118985
  * @property {string|null} [externalOrgId] ClinicalCoverageUpdated externalOrgId
118986
+ * @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageUpdated orgSubscriptionStartDate
118950
118987
  */
118951
118988
 
118952
118989
  /**
@@ -119028,6 +119065,14 @@ $root.ClinicalCoverageUpdated = (function() {
119028
119065
  */
119029
119066
  ClinicalCoverageUpdated.prototype.externalOrgId = "";
119030
119067
 
119068
+ /**
119069
+ * ClinicalCoverageUpdated orgSubscriptionStartDate.
119070
+ * @member {number|Long} orgSubscriptionStartDate
119071
+ * @memberof ClinicalCoverageUpdated
119072
+ * @instance
119073
+ */
119074
+ ClinicalCoverageUpdated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
119075
+
119031
119076
  /**
119032
119077
  * Creates a new ClinicalCoverageUpdated instance using the specified properties.
119033
119078
  * @function create
@@ -119068,6 +119113,8 @@ $root.ClinicalCoverageUpdated = (function() {
119068
119113
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clinicalCoverageType);
119069
119114
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
119070
119115
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
119116
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
119117
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
119071
119118
  return writer;
119072
119119
  };
119073
119120
 
@@ -119126,6 +119173,9 @@ $root.ClinicalCoverageUpdated = (function() {
119126
119173
  case 8:
119127
119174
  message.externalOrgId = reader.string();
119128
119175
  break;
119176
+ case 9:
119177
+ message.orgSubscriptionStartDate = reader.uint64();
119178
+ break;
119129
119179
  default:
119130
119180
  reader.skipType(tag & 7);
119131
119181
  break;
@@ -119206,6 +119256,9 @@ $root.ClinicalCoverageUpdated = (function() {
119206
119256
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
119207
119257
  if (!$util.isString(message.externalOrgId))
119208
119258
  return "externalOrgId: string expected";
119259
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
119260
+ if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
119261
+ return "orgSubscriptionStartDate: integer|Long expected";
119209
119262
  return null;
119210
119263
  };
119211
119264
 
@@ -119313,6 +119366,15 @@ $root.ClinicalCoverageUpdated = (function() {
119313
119366
  }
119314
119367
  if (object.externalOrgId != null)
119315
119368
  message.externalOrgId = String(object.externalOrgId);
119369
+ if (object.orgSubscriptionStartDate != null)
119370
+ if ($util.Long)
119371
+ (message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
119372
+ else if (typeof object.orgSubscriptionStartDate === "string")
119373
+ message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
119374
+ else if (typeof object.orgSubscriptionStartDate === "number")
119375
+ message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
119376
+ else if (typeof object.orgSubscriptionStartDate === "object")
119377
+ message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
119316
119378
  return message;
119317
119379
  };
119318
119380
 
@@ -119354,6 +119416,11 @@ $root.ClinicalCoverageUpdated = (function() {
119354
119416
  object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
119355
119417
  object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
119356
119418
  object.externalOrgId = "";
119419
+ if ($util.Long) {
119420
+ var long = new $util.Long(0, 0, true);
119421
+ object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
119422
+ } else
119423
+ object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
119357
119424
  }
119358
119425
  if (message.orgId != null && message.hasOwnProperty("orgId"))
119359
119426
  if (typeof message.orgId === "number")
@@ -119383,6 +119450,11 @@ $root.ClinicalCoverageUpdated = (function() {
119383
119450
  object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
119384
119451
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
119385
119452
  object.externalOrgId = message.externalOrgId;
119453
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
119454
+ if (typeof message.orgSubscriptionStartDate === "number")
119455
+ object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
119456
+ else
119457
+ object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
119386
119458
  return object;
119387
119459
  };
119388
119460
 
@@ -119414,6 +119486,7 @@ $root.ClinicalCoverageDeleted = (function() {
119414
119486
  * @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] ClinicalCoverageDeleted clinicalCoverageProvider
119415
119487
  * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageDeleted clinicalCoverageType
119416
119488
  * @property {string|null} [externalOrgId] ClinicalCoverageDeleted externalOrgId
119489
+ * @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageDeleted orgSubscriptionStartDate
119417
119490
  */
119418
119491
 
119419
119492
  /**
@@ -119495,6 +119568,14 @@ $root.ClinicalCoverageDeleted = (function() {
119495
119568
  */
119496
119569
  ClinicalCoverageDeleted.prototype.externalOrgId = "";
119497
119570
 
119571
+ /**
119572
+ * ClinicalCoverageDeleted orgSubscriptionStartDate.
119573
+ * @member {number|Long} orgSubscriptionStartDate
119574
+ * @memberof ClinicalCoverageDeleted
119575
+ * @instance
119576
+ */
119577
+ ClinicalCoverageDeleted.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
119578
+
119498
119579
  /**
119499
119580
  * Creates a new ClinicalCoverageDeleted instance using the specified properties.
119500
119581
  * @function create
@@ -119535,6 +119616,8 @@ $root.ClinicalCoverageDeleted = (function() {
119535
119616
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clinicalCoverageType);
119536
119617
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
119537
119618
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
119619
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
119620
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
119538
119621
  return writer;
119539
119622
  };
119540
119623
 
@@ -119593,6 +119676,9 @@ $root.ClinicalCoverageDeleted = (function() {
119593
119676
  case 8:
119594
119677
  message.externalOrgId = reader.string();
119595
119678
  break;
119679
+ case 9:
119680
+ message.orgSubscriptionStartDate = reader.uint64();
119681
+ break;
119596
119682
  default:
119597
119683
  reader.skipType(tag & 7);
119598
119684
  break;
@@ -119673,6 +119759,9 @@ $root.ClinicalCoverageDeleted = (function() {
119673
119759
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
119674
119760
  if (!$util.isString(message.externalOrgId))
119675
119761
  return "externalOrgId: string expected";
119762
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
119763
+ if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
119764
+ return "orgSubscriptionStartDate: integer|Long expected";
119676
119765
  return null;
119677
119766
  };
119678
119767
 
@@ -119780,6 +119869,15 @@ $root.ClinicalCoverageDeleted = (function() {
119780
119869
  }
119781
119870
  if (object.externalOrgId != null)
119782
119871
  message.externalOrgId = String(object.externalOrgId);
119872
+ if (object.orgSubscriptionStartDate != null)
119873
+ if ($util.Long)
119874
+ (message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
119875
+ else if (typeof object.orgSubscriptionStartDate === "string")
119876
+ message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
119877
+ else if (typeof object.orgSubscriptionStartDate === "number")
119878
+ message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
119879
+ else if (typeof object.orgSubscriptionStartDate === "object")
119880
+ message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
119783
119881
  return message;
119784
119882
  };
119785
119883
 
@@ -119821,6 +119919,11 @@ $root.ClinicalCoverageDeleted = (function() {
119821
119919
  object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
119822
119920
  object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
119823
119921
  object.externalOrgId = "";
119922
+ if ($util.Long) {
119923
+ var long = new $util.Long(0, 0, true);
119924
+ object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
119925
+ } else
119926
+ object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
119824
119927
  }
119825
119928
  if (message.orgId != null && message.hasOwnProperty("orgId"))
119826
119929
  if (typeof message.orgId === "number")
@@ -119850,6 +119953,11 @@ $root.ClinicalCoverageDeleted = (function() {
119850
119953
  object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
119851
119954
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
119852
119955
  object.externalOrgId = message.externalOrgId;
119956
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
119957
+ if (typeof message.orgSubscriptionStartDate === "number")
119958
+ object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
119959
+ else
119960
+ object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
119853
119961
  return object;
119854
119962
  };
119855
119963
 
@@ -119880,6 +119988,7 @@ $root.EapCoverageCreated = (function() {
119880
119988
  * @property {number|Long|null} [updatedAt] EapCoverageCreated updatedAt
119881
119989
  * @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageCreated eapCoverage
119882
119990
  * @property {string|null} [externalOrgId] EapCoverageCreated externalOrgId
119991
+ * @property {number|Long|null} [orgSubscriptionStartDate] EapCoverageCreated orgSubscriptionStartDate
119883
119992
  */
119884
119993
 
119885
119994
  /**
@@ -119953,6 +120062,14 @@ $root.EapCoverageCreated = (function() {
119953
120062
  */
119954
120063
  EapCoverageCreated.prototype.externalOrgId = "";
119955
120064
 
120065
+ /**
120066
+ * EapCoverageCreated orgSubscriptionStartDate.
120067
+ * @member {number|Long} orgSubscriptionStartDate
120068
+ * @memberof EapCoverageCreated
120069
+ * @instance
120070
+ */
120071
+ EapCoverageCreated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
120072
+
119956
120073
  /**
119957
120074
  * Creates a new EapCoverageCreated instance using the specified properties.
119958
120075
  * @function create
@@ -119991,6 +120108,8 @@ $root.EapCoverageCreated = (function() {
119991
120108
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
119992
120109
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
119993
120110
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.externalOrgId);
120111
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
120112
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.orgSubscriptionStartDate);
119994
120113
  return writer;
119995
120114
  };
119996
120115
 
@@ -120046,6 +120165,9 @@ $root.EapCoverageCreated = (function() {
120046
120165
  case 7:
120047
120166
  message.externalOrgId = reader.string();
120048
120167
  break;
120168
+ case 8:
120169
+ message.orgSubscriptionStartDate = reader.uint64();
120170
+ break;
120049
120171
  default:
120050
120172
  reader.skipType(tag & 7);
120051
120173
  break;
@@ -120116,6 +120238,9 @@ $root.EapCoverageCreated = (function() {
120116
120238
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
120117
120239
  if (!$util.isString(message.externalOrgId))
120118
120240
  return "externalOrgId: string expected";
120241
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
120242
+ if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
120243
+ return "orgSubscriptionStartDate: integer|Long expected";
120119
120244
  return null;
120120
120245
  };
120121
120246
 
@@ -120205,6 +120330,15 @@ $root.EapCoverageCreated = (function() {
120205
120330
  }
120206
120331
  if (object.externalOrgId != null)
120207
120332
  message.externalOrgId = String(object.externalOrgId);
120333
+ if (object.orgSubscriptionStartDate != null)
120334
+ if ($util.Long)
120335
+ (message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
120336
+ else if (typeof object.orgSubscriptionStartDate === "string")
120337
+ message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
120338
+ else if (typeof object.orgSubscriptionStartDate === "number")
120339
+ message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
120340
+ else if (typeof object.orgSubscriptionStartDate === "object")
120341
+ message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
120208
120342
  return message;
120209
120343
  };
120210
120344
 
@@ -120245,6 +120379,11 @@ $root.EapCoverageCreated = (function() {
120245
120379
  object.updatedAt = options.longs === String ? "0" : 0;
120246
120380
  object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
120247
120381
  object.externalOrgId = "";
120382
+ if ($util.Long) {
120383
+ var long = new $util.Long(0, 0, true);
120384
+ object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
120385
+ } else
120386
+ object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
120248
120387
  }
120249
120388
  if (message.orgId != null && message.hasOwnProperty("orgId"))
120250
120389
  if (typeof message.orgId === "number")
@@ -120272,6 +120411,11 @@ $root.EapCoverageCreated = (function() {
120272
120411
  object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
120273
120412
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
120274
120413
  object.externalOrgId = message.externalOrgId;
120414
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
120415
+ if (typeof message.orgSubscriptionStartDate === "number")
120416
+ object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
120417
+ else
120418
+ object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
120275
120419
  return object;
120276
120420
  };
120277
120421
 
@@ -120302,6 +120446,7 @@ $root.EapCoverageUpdated = (function() {
120302
120446
  * @property {number|Long|null} [updatedAt] EapCoverageUpdated updatedAt
120303
120447
  * @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageUpdated eapCoverage
120304
120448
  * @property {string|null} [externalOrgId] EapCoverageUpdated externalOrgId
120449
+ * @property {number|Long|null} [orgSubscriptionStartDate] EapCoverageUpdated orgSubscriptionStartDate
120305
120450
  */
120306
120451
 
120307
120452
  /**
@@ -120375,6 +120520,14 @@ $root.EapCoverageUpdated = (function() {
120375
120520
  */
120376
120521
  EapCoverageUpdated.prototype.externalOrgId = "";
120377
120522
 
120523
+ /**
120524
+ * EapCoverageUpdated orgSubscriptionStartDate.
120525
+ * @member {number|Long} orgSubscriptionStartDate
120526
+ * @memberof EapCoverageUpdated
120527
+ * @instance
120528
+ */
120529
+ EapCoverageUpdated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
120530
+
120378
120531
  /**
120379
120532
  * Creates a new EapCoverageUpdated instance using the specified properties.
120380
120533
  * @function create
@@ -120413,6 +120566,8 @@ $root.EapCoverageUpdated = (function() {
120413
120566
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
120414
120567
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
120415
120568
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.externalOrgId);
120569
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
120570
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.orgSubscriptionStartDate);
120416
120571
  return writer;
120417
120572
  };
120418
120573
 
@@ -120468,6 +120623,9 @@ $root.EapCoverageUpdated = (function() {
120468
120623
  case 7:
120469
120624
  message.externalOrgId = reader.string();
120470
120625
  break;
120626
+ case 8:
120627
+ message.orgSubscriptionStartDate = reader.uint64();
120628
+ break;
120471
120629
  default:
120472
120630
  reader.skipType(tag & 7);
120473
120631
  break;
@@ -120538,6 +120696,9 @@ $root.EapCoverageUpdated = (function() {
120538
120696
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
120539
120697
  if (!$util.isString(message.externalOrgId))
120540
120698
  return "externalOrgId: string expected";
120699
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
120700
+ if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
120701
+ return "orgSubscriptionStartDate: integer|Long expected";
120541
120702
  return null;
120542
120703
  };
120543
120704
 
@@ -120627,6 +120788,15 @@ $root.EapCoverageUpdated = (function() {
120627
120788
  }
120628
120789
  if (object.externalOrgId != null)
120629
120790
  message.externalOrgId = String(object.externalOrgId);
120791
+ if (object.orgSubscriptionStartDate != null)
120792
+ if ($util.Long)
120793
+ (message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
120794
+ else if (typeof object.orgSubscriptionStartDate === "string")
120795
+ message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
120796
+ else if (typeof object.orgSubscriptionStartDate === "number")
120797
+ message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
120798
+ else if (typeof object.orgSubscriptionStartDate === "object")
120799
+ message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
120630
120800
  return message;
120631
120801
  };
120632
120802
 
@@ -120667,6 +120837,11 @@ $root.EapCoverageUpdated = (function() {
120667
120837
  object.updatedAt = options.longs === String ? "0" : 0;
120668
120838
  object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
120669
120839
  object.externalOrgId = "";
120840
+ if ($util.Long) {
120841
+ var long = new $util.Long(0, 0, true);
120842
+ object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
120843
+ } else
120844
+ object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
120670
120845
  }
120671
120846
  if (message.orgId != null && message.hasOwnProperty("orgId"))
120672
120847
  if (typeof message.orgId === "number")
@@ -120694,6 +120869,11 @@ $root.EapCoverageUpdated = (function() {
120694
120869
  object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
120695
120870
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
120696
120871
  object.externalOrgId = message.externalOrgId;
120872
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
120873
+ if (typeof message.orgSubscriptionStartDate === "number")
120874
+ object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
120875
+ else
120876
+ object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
120697
120877
  return object;
120698
120878
  };
120699
120879
 
@@ -120724,6 +120904,7 @@ $root.EapCoverageDeleted = (function() {
120724
120904
  * @property {number|Long|null} [updatedAt] EapCoverageDeleted updatedAt
120725
120905
  * @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageDeleted eapCoverage
120726
120906
  * @property {string|null} [externalOrgId] EapCoverageDeleted externalOrgId
120907
+ * @property {number|Long|null} [orgSubscriptionStartDate] EapCoverageDeleted orgSubscriptionStartDate
120727
120908
  */
120728
120909
 
120729
120910
  /**
@@ -120797,6 +120978,14 @@ $root.EapCoverageDeleted = (function() {
120797
120978
  */
120798
120979
  EapCoverageDeleted.prototype.externalOrgId = "";
120799
120980
 
120981
+ /**
120982
+ * EapCoverageDeleted orgSubscriptionStartDate.
120983
+ * @member {number|Long} orgSubscriptionStartDate
120984
+ * @memberof EapCoverageDeleted
120985
+ * @instance
120986
+ */
120987
+ EapCoverageDeleted.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
120988
+
120800
120989
  /**
120801
120990
  * Creates a new EapCoverageDeleted instance using the specified properties.
120802
120991
  * @function create
@@ -120835,6 +121024,8 @@ $root.EapCoverageDeleted = (function() {
120835
121024
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
120836
121025
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
120837
121026
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.externalOrgId);
121027
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
121028
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.orgSubscriptionStartDate);
120838
121029
  return writer;
120839
121030
  };
120840
121031
 
@@ -120890,6 +121081,9 @@ $root.EapCoverageDeleted = (function() {
120890
121081
  case 7:
120891
121082
  message.externalOrgId = reader.string();
120892
121083
  break;
121084
+ case 8:
121085
+ message.orgSubscriptionStartDate = reader.uint64();
121086
+ break;
120893
121087
  default:
120894
121088
  reader.skipType(tag & 7);
120895
121089
  break;
@@ -120960,6 +121154,9 @@ $root.EapCoverageDeleted = (function() {
120960
121154
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
120961
121155
  if (!$util.isString(message.externalOrgId))
120962
121156
  return "externalOrgId: string expected";
121157
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
121158
+ if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
121159
+ return "orgSubscriptionStartDate: integer|Long expected";
120963
121160
  return null;
120964
121161
  };
120965
121162
 
@@ -121049,6 +121246,15 @@ $root.EapCoverageDeleted = (function() {
121049
121246
  }
121050
121247
  if (object.externalOrgId != null)
121051
121248
  message.externalOrgId = String(object.externalOrgId);
121249
+ if (object.orgSubscriptionStartDate != null)
121250
+ if ($util.Long)
121251
+ (message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
121252
+ else if (typeof object.orgSubscriptionStartDate === "string")
121253
+ message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
121254
+ else if (typeof object.orgSubscriptionStartDate === "number")
121255
+ message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
121256
+ else if (typeof object.orgSubscriptionStartDate === "object")
121257
+ message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
121052
121258
  return message;
121053
121259
  };
121054
121260
 
@@ -121089,6 +121295,11 @@ $root.EapCoverageDeleted = (function() {
121089
121295
  object.updatedAt = options.longs === String ? "0" : 0;
121090
121296
  object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
121091
121297
  object.externalOrgId = "";
121298
+ if ($util.Long) {
121299
+ var long = new $util.Long(0, 0, true);
121300
+ object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
121301
+ } else
121302
+ object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
121092
121303
  }
121093
121304
  if (message.orgId != null && message.hasOwnProperty("orgId"))
121094
121305
  if (typeof message.orgId === "number")
@@ -121116,6 +121327,11 @@ $root.EapCoverageDeleted = (function() {
121116
121327
  object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
121117
121328
  if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
121118
121329
  object.externalOrgId = message.externalOrgId;
121330
+ if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
121331
+ if (typeof message.orgSubscriptionStartDate === "number")
121332
+ object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
121333
+ else
121334
+ object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
121119
121335
  return object;
121120
121336
  };
121121
121337
 
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.633.0"
19
+ "version": "1.634.0"
20
20
  }