@headspace/protos-events 1.744.0 → 1.745.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
@@ -1276,6 +1276,9 @@ export interface IClinicalCoverageCreated {
1276
1276
 
1277
1277
  /** ClinicalCoverageCreated orgSubscriptionStartDate */
1278
1278
  orgSubscriptionStartDate?: (number|Long|null);
1279
+
1280
+ /** ClinicalCoverageCreated phoneNumber */
1281
+ phoneNumber?: (string|null);
1279
1282
  }
1280
1283
 
1281
1284
  /** Represents a ClinicalCoverageCreated. */
@@ -1314,6 +1317,9 @@ export class ClinicalCoverageCreated implements IClinicalCoverageCreated {
1314
1317
  /** ClinicalCoverageCreated orgSubscriptionStartDate. */
1315
1318
  public orgSubscriptionStartDate: (number|Long);
1316
1319
 
1320
+ /** ClinicalCoverageCreated phoneNumber. */
1321
+ public phoneNumber: string;
1322
+
1317
1323
  /**
1318
1324
  * Creates a new ClinicalCoverageCreated instance using the specified properties.
1319
1325
  * @param [properties] Properties to set
@@ -1414,6 +1420,9 @@ export interface IClinicalCoverageUpdated {
1414
1420
 
1415
1421
  /** ClinicalCoverageUpdated orgSubscriptionStartDate */
1416
1422
  orgSubscriptionStartDate?: (number|Long|null);
1423
+
1424
+ /** ClinicalCoverageUpdated phoneNumber */
1425
+ phoneNumber?: (string|null);
1417
1426
  }
1418
1427
 
1419
1428
  /** Represents a ClinicalCoverageUpdated. */
@@ -1452,6 +1461,9 @@ export class ClinicalCoverageUpdated implements IClinicalCoverageUpdated {
1452
1461
  /** ClinicalCoverageUpdated orgSubscriptionStartDate. */
1453
1462
  public orgSubscriptionStartDate: (number|Long);
1454
1463
 
1464
+ /** ClinicalCoverageUpdated phoneNumber. */
1465
+ public phoneNumber: string;
1466
+
1455
1467
  /**
1456
1468
  * Creates a new ClinicalCoverageUpdated instance using the specified properties.
1457
1469
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -3366,6 +3366,7 @@ $root.ClinicalCoverageCreated = (function() {
3366
3366
  * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageCreated clinicalCoverageType
3367
3367
  * @property {string|null} [externalOrgId] ClinicalCoverageCreated externalOrgId
3368
3368
  * @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageCreated orgSubscriptionStartDate
3369
+ * @property {string|null} [phoneNumber] ClinicalCoverageCreated phoneNumber
3369
3370
  */
3370
3371
 
3371
3372
  /**
@@ -3455,6 +3456,14 @@ $root.ClinicalCoverageCreated = (function() {
3455
3456
  */
3456
3457
  ClinicalCoverageCreated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
3457
3458
 
3459
+ /**
3460
+ * ClinicalCoverageCreated phoneNumber.
3461
+ * @member {string} phoneNumber
3462
+ * @memberof ClinicalCoverageCreated
3463
+ * @instance
3464
+ */
3465
+ ClinicalCoverageCreated.prototype.phoneNumber = "";
3466
+
3458
3467
  /**
3459
3468
  * Creates a new ClinicalCoverageCreated instance using the specified properties.
3460
3469
  * @function create
@@ -3497,6 +3506,8 @@ $root.ClinicalCoverageCreated = (function() {
3497
3506
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
3498
3507
  if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
3499
3508
  writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
3509
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
3510
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.phoneNumber);
3500
3511
  return writer;
3501
3512
  };
3502
3513
 
@@ -3558,6 +3569,9 @@ $root.ClinicalCoverageCreated = (function() {
3558
3569
  case 9:
3559
3570
  message.orgSubscriptionStartDate = reader.uint64();
3560
3571
  break;
3572
+ case 10:
3573
+ message.phoneNumber = reader.string();
3574
+ break;
3561
3575
  default:
3562
3576
  reader.skipType(tag & 7);
3563
3577
  break;
@@ -3641,6 +3655,9 @@ $root.ClinicalCoverageCreated = (function() {
3641
3655
  if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
3642
3656
  if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
3643
3657
  return "orgSubscriptionStartDate: integer|Long expected";
3658
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
3659
+ if (!$util.isString(message.phoneNumber))
3660
+ return "phoneNumber: string expected";
3644
3661
  return null;
3645
3662
  };
3646
3663
 
@@ -3757,6 +3774,8 @@ $root.ClinicalCoverageCreated = (function() {
3757
3774
  message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
3758
3775
  else if (typeof object.orgSubscriptionStartDate === "object")
3759
3776
  message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
3777
+ if (object.phoneNumber != null)
3778
+ message.phoneNumber = String(object.phoneNumber);
3760
3779
  return message;
3761
3780
  };
3762
3781
 
@@ -3803,6 +3822,7 @@ $root.ClinicalCoverageCreated = (function() {
3803
3822
  object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
3804
3823
  } else
3805
3824
  object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
3825
+ object.phoneNumber = "";
3806
3826
  }
3807
3827
  if (message.orgId != null && message.hasOwnProperty("orgId"))
3808
3828
  if (typeof message.orgId === "number")
@@ -3837,6 +3857,8 @@ $root.ClinicalCoverageCreated = (function() {
3837
3857
  object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
3838
3858
  else
3839
3859
  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;
3860
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
3861
+ object.phoneNumber = message.phoneNumber;
3840
3862
  return object;
3841
3863
  };
3842
3864
 
@@ -3869,6 +3891,7 @@ $root.ClinicalCoverageUpdated = (function() {
3869
3891
  * @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageUpdated clinicalCoverageType
3870
3892
  * @property {string|null} [externalOrgId] ClinicalCoverageUpdated externalOrgId
3871
3893
  * @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageUpdated orgSubscriptionStartDate
3894
+ * @property {string|null} [phoneNumber] ClinicalCoverageUpdated phoneNumber
3872
3895
  */
3873
3896
 
3874
3897
  /**
@@ -3958,6 +3981,14 @@ $root.ClinicalCoverageUpdated = (function() {
3958
3981
  */
3959
3982
  ClinicalCoverageUpdated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
3960
3983
 
3984
+ /**
3985
+ * ClinicalCoverageUpdated phoneNumber.
3986
+ * @member {string} phoneNumber
3987
+ * @memberof ClinicalCoverageUpdated
3988
+ * @instance
3989
+ */
3990
+ ClinicalCoverageUpdated.prototype.phoneNumber = "";
3991
+
3961
3992
  /**
3962
3993
  * Creates a new ClinicalCoverageUpdated instance using the specified properties.
3963
3994
  * @function create
@@ -4000,6 +4031,8 @@ $root.ClinicalCoverageUpdated = (function() {
4000
4031
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
4001
4032
  if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
4002
4033
  writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
4034
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
4035
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.phoneNumber);
4003
4036
  return writer;
4004
4037
  };
4005
4038
 
@@ -4061,6 +4094,9 @@ $root.ClinicalCoverageUpdated = (function() {
4061
4094
  case 9:
4062
4095
  message.orgSubscriptionStartDate = reader.uint64();
4063
4096
  break;
4097
+ case 10:
4098
+ message.phoneNumber = reader.string();
4099
+ break;
4064
4100
  default:
4065
4101
  reader.skipType(tag & 7);
4066
4102
  break;
@@ -4144,6 +4180,9 @@ $root.ClinicalCoverageUpdated = (function() {
4144
4180
  if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
4145
4181
  if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
4146
4182
  return "orgSubscriptionStartDate: integer|Long expected";
4183
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
4184
+ if (!$util.isString(message.phoneNumber))
4185
+ return "phoneNumber: string expected";
4147
4186
  return null;
4148
4187
  };
4149
4188
 
@@ -4260,6 +4299,8 @@ $root.ClinicalCoverageUpdated = (function() {
4260
4299
  message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
4261
4300
  else if (typeof object.orgSubscriptionStartDate === "object")
4262
4301
  message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
4302
+ if (object.phoneNumber != null)
4303
+ message.phoneNumber = String(object.phoneNumber);
4263
4304
  return message;
4264
4305
  };
4265
4306
 
@@ -4306,6 +4347,7 @@ $root.ClinicalCoverageUpdated = (function() {
4306
4347
  object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
4307
4348
  } else
4308
4349
  object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
4350
+ object.phoneNumber = "";
4309
4351
  }
4310
4352
  if (message.orgId != null && message.hasOwnProperty("orgId"))
4311
4353
  if (typeof message.orgId === "number")
@@ -4340,6 +4382,8 @@ $root.ClinicalCoverageUpdated = (function() {
4340
4382
  object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
4341
4383
  else
4342
4384
  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;
4385
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
4386
+ object.phoneNumber = message.phoneNumber;
4343
4387
  return object;
4344
4388
  };
4345
4389
 
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.744.0"
19
+ "version": "1.745.0"
20
20
  }