@headspace/protos-events 1.612.0 → 1.613.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +210 -7
  2. package/lib/index.js +552 -43
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -58433,9 +58433,6 @@ export class OnboardingCompleted implements IOnboardingCompleted {
58433
58433
  /** Properties of an OrgCoverageProfile. */
58434
58434
  export interface IOrgCoverageProfile {
58435
58435
 
58436
- /** OrgCoverageProfile orgId */
58437
- orgId?: (number|Long|null);
58438
-
58439
58436
  /** OrgCoverageProfile type */
58440
58437
  type?: (OrgCoverageType|null);
58441
58438
 
@@ -58447,6 +58444,15 @@ export interface IOrgCoverageProfile {
58447
58444
 
58448
58445
  /** OrgCoverageProfile eapCarrier */
58449
58446
  eapCarrier?: (OrgCoverageEapCarrier|null);
58447
+
58448
+ /** OrgCoverageProfile careOrgId */
58449
+ careOrgId?: (number|Long|null);
58450
+
58451
+ /** OrgCoverageProfile headspaceOrgId */
58452
+ headspaceOrgId?: (number|Long|null);
58453
+
58454
+ /** OrgCoverageProfile headspaceHealthOrgId */
58455
+ headspaceHealthOrgId?: (string|null);
58450
58456
  }
58451
58457
 
58452
58458
  /** Represents an OrgCoverageProfile. */
@@ -58458,9 +58464,6 @@ export class OrgCoverageProfile implements IOrgCoverageProfile {
58458
58464
  */
58459
58465
  constructor(properties?: IOrgCoverageProfile);
58460
58466
 
58461
- /** OrgCoverageProfile orgId. */
58462
- public orgId: (number|Long);
58463
-
58464
58467
  /** OrgCoverageProfile type. */
58465
58468
  public type: OrgCoverageType;
58466
58469
 
@@ -58473,6 +58476,15 @@ export class OrgCoverageProfile implements IOrgCoverageProfile {
58473
58476
  /** OrgCoverageProfile eapCarrier. */
58474
58477
  public eapCarrier: OrgCoverageEapCarrier;
58475
58478
 
58479
+ /** OrgCoverageProfile careOrgId. */
58480
+ public careOrgId: (number|Long);
58481
+
58482
+ /** OrgCoverageProfile headspaceOrgId. */
58483
+ public headspaceOrgId: (number|Long);
58484
+
58485
+ /** OrgCoverageProfile headspaceHealthOrgId. */
58486
+ public headspaceHealthOrgId: string;
58487
+
58476
58488
  /**
58477
58489
  * Creates a new OrgCoverageProfile instance using the specified properties.
58478
58490
  * @param [properties] Properties to set
@@ -58646,6 +58658,198 @@ export class OrgCoverageProfileUpdated implements IOrgCoverageProfileUpdated {
58646
58658
  public toJSON(): { [k: string]: any };
58647
58659
  }
58648
58660
 
58661
+ /** Properties of an OrgCoverageProfileCreated. */
58662
+ export interface IOrgCoverageProfileCreated {
58663
+
58664
+ /** OrgCoverageProfileCreated timestamp */
58665
+ timestamp?: (number|Long|null);
58666
+
58667
+ /** OrgCoverageProfileCreated instance */
58668
+ instance?: (IOrgCoverageProfile|null);
58669
+ }
58670
+
58671
+ /** Represents an OrgCoverageProfileCreated. */
58672
+ export class OrgCoverageProfileCreated implements IOrgCoverageProfileCreated {
58673
+
58674
+ /**
58675
+ * Constructs a new OrgCoverageProfileCreated.
58676
+ * @param [properties] Properties to set
58677
+ */
58678
+ constructor(properties?: IOrgCoverageProfileCreated);
58679
+
58680
+ /** OrgCoverageProfileCreated timestamp. */
58681
+ public timestamp: (number|Long);
58682
+
58683
+ /** OrgCoverageProfileCreated instance. */
58684
+ public instance?: (IOrgCoverageProfile|null);
58685
+
58686
+ /**
58687
+ * Creates a new OrgCoverageProfileCreated instance using the specified properties.
58688
+ * @param [properties] Properties to set
58689
+ * @returns OrgCoverageProfileCreated instance
58690
+ */
58691
+ public static create(properties?: IOrgCoverageProfileCreated): OrgCoverageProfileCreated;
58692
+
58693
+ /**
58694
+ * Encodes the specified OrgCoverageProfileCreated message. Does not implicitly {@link OrgCoverageProfileCreated.verify|verify} messages.
58695
+ * @param message OrgCoverageProfileCreated message or plain object to encode
58696
+ * @param [writer] Writer to encode to
58697
+ * @returns Writer
58698
+ */
58699
+ public static encode(message: IOrgCoverageProfileCreated, writer?: $protobuf.Writer): $protobuf.Writer;
58700
+
58701
+ /**
58702
+ * Encodes the specified OrgCoverageProfileCreated message, length delimited. Does not implicitly {@link OrgCoverageProfileCreated.verify|verify} messages.
58703
+ * @param message OrgCoverageProfileCreated message or plain object to encode
58704
+ * @param [writer] Writer to encode to
58705
+ * @returns Writer
58706
+ */
58707
+ public static encodeDelimited(message: IOrgCoverageProfileCreated, writer?: $protobuf.Writer): $protobuf.Writer;
58708
+
58709
+ /**
58710
+ * Decodes an OrgCoverageProfileCreated message from the specified reader or buffer.
58711
+ * @param reader Reader or buffer to decode from
58712
+ * @param [length] Message length if known beforehand
58713
+ * @returns OrgCoverageProfileCreated
58714
+ * @throws {Error} If the payload is not a reader or valid buffer
58715
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
58716
+ */
58717
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgCoverageProfileCreated;
58718
+
58719
+ /**
58720
+ * Decodes an OrgCoverageProfileCreated message from the specified reader or buffer, length delimited.
58721
+ * @param reader Reader or buffer to decode from
58722
+ * @returns OrgCoverageProfileCreated
58723
+ * @throws {Error} If the payload is not a reader or valid buffer
58724
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
58725
+ */
58726
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgCoverageProfileCreated;
58727
+
58728
+ /**
58729
+ * Verifies an OrgCoverageProfileCreated message.
58730
+ * @param message Plain object to verify
58731
+ * @returns `null` if valid, otherwise the reason why it is not
58732
+ */
58733
+ public static verify(message: { [k: string]: any }): (string|null);
58734
+
58735
+ /**
58736
+ * Creates an OrgCoverageProfileCreated message from a plain object. Also converts values to their respective internal types.
58737
+ * @param object Plain object
58738
+ * @returns OrgCoverageProfileCreated
58739
+ */
58740
+ public static fromObject(object: { [k: string]: any }): OrgCoverageProfileCreated;
58741
+
58742
+ /**
58743
+ * Creates a plain object from an OrgCoverageProfileCreated message. Also converts values to other types if specified.
58744
+ * @param message OrgCoverageProfileCreated
58745
+ * @param [options] Conversion options
58746
+ * @returns Plain object
58747
+ */
58748
+ public static toObject(message: OrgCoverageProfileCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
58749
+
58750
+ /**
58751
+ * Converts this OrgCoverageProfileCreated to JSON.
58752
+ * @returns JSON object
58753
+ */
58754
+ public toJSON(): { [k: string]: any };
58755
+ }
58756
+
58757
+ /** Properties of an OrgCoverageProfileDeleted. */
58758
+ export interface IOrgCoverageProfileDeleted {
58759
+
58760
+ /** OrgCoverageProfileDeleted timestamp */
58761
+ timestamp?: (number|Long|null);
58762
+
58763
+ /** OrgCoverageProfileDeleted instance */
58764
+ instance?: (IOrgCoverageProfile|null);
58765
+ }
58766
+
58767
+ /** Represents an OrgCoverageProfileDeleted. */
58768
+ export class OrgCoverageProfileDeleted implements IOrgCoverageProfileDeleted {
58769
+
58770
+ /**
58771
+ * Constructs a new OrgCoverageProfileDeleted.
58772
+ * @param [properties] Properties to set
58773
+ */
58774
+ constructor(properties?: IOrgCoverageProfileDeleted);
58775
+
58776
+ /** OrgCoverageProfileDeleted timestamp. */
58777
+ public timestamp: (number|Long);
58778
+
58779
+ /** OrgCoverageProfileDeleted instance. */
58780
+ public instance?: (IOrgCoverageProfile|null);
58781
+
58782
+ /**
58783
+ * Creates a new OrgCoverageProfileDeleted instance using the specified properties.
58784
+ * @param [properties] Properties to set
58785
+ * @returns OrgCoverageProfileDeleted instance
58786
+ */
58787
+ public static create(properties?: IOrgCoverageProfileDeleted): OrgCoverageProfileDeleted;
58788
+
58789
+ /**
58790
+ * Encodes the specified OrgCoverageProfileDeleted message. Does not implicitly {@link OrgCoverageProfileDeleted.verify|verify} messages.
58791
+ * @param message OrgCoverageProfileDeleted message or plain object to encode
58792
+ * @param [writer] Writer to encode to
58793
+ * @returns Writer
58794
+ */
58795
+ public static encode(message: IOrgCoverageProfileDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
58796
+
58797
+ /**
58798
+ * Encodes the specified OrgCoverageProfileDeleted message, length delimited. Does not implicitly {@link OrgCoverageProfileDeleted.verify|verify} messages.
58799
+ * @param message OrgCoverageProfileDeleted message or plain object to encode
58800
+ * @param [writer] Writer to encode to
58801
+ * @returns Writer
58802
+ */
58803
+ public static encodeDelimited(message: IOrgCoverageProfileDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
58804
+
58805
+ /**
58806
+ * Decodes an OrgCoverageProfileDeleted message from the specified reader or buffer.
58807
+ * @param reader Reader or buffer to decode from
58808
+ * @param [length] Message length if known beforehand
58809
+ * @returns OrgCoverageProfileDeleted
58810
+ * @throws {Error} If the payload is not a reader or valid buffer
58811
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
58812
+ */
58813
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgCoverageProfileDeleted;
58814
+
58815
+ /**
58816
+ * Decodes an OrgCoverageProfileDeleted message from the specified reader or buffer, length delimited.
58817
+ * @param reader Reader or buffer to decode from
58818
+ * @returns OrgCoverageProfileDeleted
58819
+ * @throws {Error} If the payload is not a reader or valid buffer
58820
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
58821
+ */
58822
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgCoverageProfileDeleted;
58823
+
58824
+ /**
58825
+ * Verifies an OrgCoverageProfileDeleted message.
58826
+ * @param message Plain object to verify
58827
+ * @returns `null` if valid, otherwise the reason why it is not
58828
+ */
58829
+ public static verify(message: { [k: string]: any }): (string|null);
58830
+
58831
+ /**
58832
+ * Creates an OrgCoverageProfileDeleted message from a plain object. Also converts values to their respective internal types.
58833
+ * @param object Plain object
58834
+ * @returns OrgCoverageProfileDeleted
58835
+ */
58836
+ public static fromObject(object: { [k: string]: any }): OrgCoverageProfileDeleted;
58837
+
58838
+ /**
58839
+ * Creates a plain object from an OrgCoverageProfileDeleted message. Also converts values to other types if specified.
58840
+ * @param message OrgCoverageProfileDeleted
58841
+ * @param [options] Conversion options
58842
+ * @returns Plain object
58843
+ */
58844
+ public static toObject(message: OrgCoverageProfileDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
58845
+
58846
+ /**
58847
+ * Converts this OrgCoverageProfileDeleted to JSON.
58848
+ * @returns JSON object
58849
+ */
58850
+ public toJSON(): { [k: string]: any };
58851
+ }
58852
+
58649
58853
  /** OrgCoverageType enum. */
58650
58854
  export enum OrgCoverageType {
58651
58855
  ORG_COVERAGE_TYPE_UNKNOWN = 0,
@@ -58667,7 +58871,6 @@ export enum OrgCoverageEapCarrier {
58667
58871
  ORG_COVERAGE_EAP_CARRIER_UNKNOWN = 0,
58668
58872
  ORG_COVERAGE_EAP_CARRIER_CCA = 1,
58669
58873
  ORG_COVERAGE_EAP_CARRIER_WPO = 2,
58670
- ORG_COVERAGE_EAP_CARRIER_OTHER = 3,
58671
58874
  ORG_COVERAGE_EAP_CARRIER_NONE = 4
58672
58875
  }
58673
58876
 
package/lib/index.js CHANGED
@@ -163134,11 +163134,13 @@ $root.OrgCoverageProfile = (function() {
163134
163134
  * Properties of an OrgCoverageProfile.
163135
163135
  * @name IOrgCoverageProfile
163136
163136
  * @interface IOrgCoverageProfile
163137
- * @property {number|Long|null} [orgId] OrgCoverageProfile orgId
163138
163137
  * @property {OrgCoverageType|null} [type] OrgCoverageProfile type
163139
163138
  * @property {OrgCoverageServicesCovered|null} [servicesCovered] OrgCoverageProfile servicesCovered
163140
163139
  * @property {number|Long|null} [coverageTotal] OrgCoverageProfile coverageTotal
163141
163140
  * @property {OrgCoverageEapCarrier|null} [eapCarrier] OrgCoverageProfile eapCarrier
163141
+ * @property {number|Long|null} [careOrgId] OrgCoverageProfile careOrgId
163142
+ * @property {number|Long|null} [headspaceOrgId] OrgCoverageProfile headspaceOrgId
163143
+ * @property {string|null} [headspaceHealthOrgId] OrgCoverageProfile headspaceHealthOrgId
163142
163144
  */
163143
163145
 
163144
163146
  /**
@@ -163156,14 +163158,6 @@ $root.OrgCoverageProfile = (function() {
163156
163158
  this[keys[i]] = properties[keys[i]];
163157
163159
  }
163158
163160
 
163159
- /**
163160
- * OrgCoverageProfile orgId.
163161
- * @member {number|Long} orgId
163162
- * @memberof OrgCoverageProfile
163163
- * @instance
163164
- */
163165
- OrgCoverageProfile.prototype.orgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
163166
-
163167
163161
  /**
163168
163162
  * OrgCoverageProfile type.
163169
163163
  * @member {OrgCoverageType} type
@@ -163196,6 +163190,30 @@ $root.OrgCoverageProfile = (function() {
163196
163190
  */
163197
163191
  OrgCoverageProfile.prototype.eapCarrier = 0;
163198
163192
 
163193
+ /**
163194
+ * OrgCoverageProfile careOrgId.
163195
+ * @member {number|Long} careOrgId
163196
+ * @memberof OrgCoverageProfile
163197
+ * @instance
163198
+ */
163199
+ OrgCoverageProfile.prototype.careOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
163200
+
163201
+ /**
163202
+ * OrgCoverageProfile headspaceOrgId.
163203
+ * @member {number|Long} headspaceOrgId
163204
+ * @memberof OrgCoverageProfile
163205
+ * @instance
163206
+ */
163207
+ OrgCoverageProfile.prototype.headspaceOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
163208
+
163209
+ /**
163210
+ * OrgCoverageProfile headspaceHealthOrgId.
163211
+ * @member {string} headspaceHealthOrgId
163212
+ * @memberof OrgCoverageProfile
163213
+ * @instance
163214
+ */
163215
+ OrgCoverageProfile.prototype.headspaceHealthOrgId = "";
163216
+
163199
163217
  /**
163200
163218
  * Creates a new OrgCoverageProfile instance using the specified properties.
163201
163219
  * @function create
@@ -163220,8 +163238,6 @@ $root.OrgCoverageProfile = (function() {
163220
163238
  OrgCoverageProfile.encode = function encode(message, writer) {
163221
163239
  if (!writer)
163222
163240
  writer = $Writer.create();
163223
- if (message.orgId != null && message.hasOwnProperty("orgId"))
163224
- writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.orgId);
163225
163241
  if (message.type != null && message.hasOwnProperty("type"))
163226
163242
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);
163227
163243
  if (message.servicesCovered != null && message.hasOwnProperty("servicesCovered"))
@@ -163230,6 +163246,12 @@ $root.OrgCoverageProfile = (function() {
163230
163246
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.coverageTotal);
163231
163247
  if (message.eapCarrier != null && message.hasOwnProperty("eapCarrier"))
163232
163248
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.eapCarrier);
163249
+ if (message.careOrgId != null && message.hasOwnProperty("careOrgId"))
163250
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.careOrgId);
163251
+ if (message.headspaceOrgId != null && message.hasOwnProperty("headspaceOrgId"))
163252
+ writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.headspaceOrgId);
163253
+ if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
163254
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.headspaceHealthOrgId);
163233
163255
  return writer;
163234
163256
  };
163235
163257
 
@@ -163264,9 +163286,6 @@ $root.OrgCoverageProfile = (function() {
163264
163286
  while (reader.pos < end) {
163265
163287
  var tag = reader.uint32();
163266
163288
  switch (tag >>> 3) {
163267
- case 1:
163268
- message.orgId = reader.uint64();
163269
- break;
163270
163289
  case 2:
163271
163290
  message.type = reader.int32();
163272
163291
  break;
@@ -163279,6 +163298,15 @@ $root.OrgCoverageProfile = (function() {
163279
163298
  case 5:
163280
163299
  message.eapCarrier = reader.int32();
163281
163300
  break;
163301
+ case 6:
163302
+ message.careOrgId = reader.uint64();
163303
+ break;
163304
+ case 7:
163305
+ message.headspaceOrgId = reader.uint64();
163306
+ break;
163307
+ case 8:
163308
+ message.headspaceHealthOrgId = reader.string();
163309
+ break;
163282
163310
  default:
163283
163311
  reader.skipType(tag & 7);
163284
163312
  break;
@@ -163314,9 +163342,6 @@ $root.OrgCoverageProfile = (function() {
163314
163342
  OrgCoverageProfile.verify = function verify(message) {
163315
163343
  if (typeof message !== "object" || message === null)
163316
163344
  return "object expected";
163317
- if (message.orgId != null && message.hasOwnProperty("orgId"))
163318
- if (!$util.isInteger(message.orgId) && !(message.orgId && $util.isInteger(message.orgId.low) && $util.isInteger(message.orgId.high)))
163319
- return "orgId: integer|Long expected";
163320
163345
  if (message.type != null && message.hasOwnProperty("type"))
163321
163346
  switch (message.type) {
163322
163347
  default:
@@ -163347,10 +163372,18 @@ $root.OrgCoverageProfile = (function() {
163347
163372
  case 0:
163348
163373
  case 1:
163349
163374
  case 2:
163350
- case 3:
163351
163375
  case 4:
163352
163376
  break;
163353
163377
  }
163378
+ if (message.careOrgId != null && message.hasOwnProperty("careOrgId"))
163379
+ if (!$util.isInteger(message.careOrgId) && !(message.careOrgId && $util.isInteger(message.careOrgId.low) && $util.isInteger(message.careOrgId.high)))
163380
+ return "careOrgId: integer|Long expected";
163381
+ if (message.headspaceOrgId != null && message.hasOwnProperty("headspaceOrgId"))
163382
+ if (!$util.isInteger(message.headspaceOrgId) && !(message.headspaceOrgId && $util.isInteger(message.headspaceOrgId.low) && $util.isInteger(message.headspaceOrgId.high)))
163383
+ return "headspaceOrgId: integer|Long expected";
163384
+ if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
163385
+ if (!$util.isString(message.headspaceHealthOrgId))
163386
+ return "headspaceHealthOrgId: string expected";
163354
163387
  return null;
163355
163388
  };
163356
163389
 
@@ -163366,15 +163399,6 @@ $root.OrgCoverageProfile = (function() {
163366
163399
  if (object instanceof $root.OrgCoverageProfile)
163367
163400
  return object;
163368
163401
  var message = new $root.OrgCoverageProfile();
163369
- if (object.orgId != null)
163370
- if ($util.Long)
163371
- (message.orgId = $util.Long.fromValue(object.orgId)).unsigned = true;
163372
- else if (typeof object.orgId === "string")
163373
- message.orgId = parseInt(object.orgId, 10);
163374
- else if (typeof object.orgId === "number")
163375
- message.orgId = object.orgId;
163376
- else if (typeof object.orgId === "object")
163377
- message.orgId = new $util.LongBits(object.orgId.low >>> 0, object.orgId.high >>> 0).toNumber(true);
163378
163402
  switch (object.type) {
163379
163403
  case "ORG_COVERAGE_TYPE_UNKNOWN":
163380
163404
  case 0:
@@ -163433,15 +163457,31 @@ $root.OrgCoverageProfile = (function() {
163433
163457
  case 2:
163434
163458
  message.eapCarrier = 2;
163435
163459
  break;
163436
- case "ORG_COVERAGE_EAP_CARRIER_OTHER":
163437
- case 3:
163438
- message.eapCarrier = 3;
163439
- break;
163440
163460
  case "ORG_COVERAGE_EAP_CARRIER_NONE":
163441
163461
  case 4:
163442
163462
  message.eapCarrier = 4;
163443
163463
  break;
163444
163464
  }
163465
+ if (object.careOrgId != null)
163466
+ if ($util.Long)
163467
+ (message.careOrgId = $util.Long.fromValue(object.careOrgId)).unsigned = true;
163468
+ else if (typeof object.careOrgId === "string")
163469
+ message.careOrgId = parseInt(object.careOrgId, 10);
163470
+ else if (typeof object.careOrgId === "number")
163471
+ message.careOrgId = object.careOrgId;
163472
+ else if (typeof object.careOrgId === "object")
163473
+ message.careOrgId = new $util.LongBits(object.careOrgId.low >>> 0, object.careOrgId.high >>> 0).toNumber(true);
163474
+ if (object.headspaceOrgId != null)
163475
+ if ($util.Long)
163476
+ (message.headspaceOrgId = $util.Long.fromValue(object.headspaceOrgId)).unsigned = true;
163477
+ else if (typeof object.headspaceOrgId === "string")
163478
+ message.headspaceOrgId = parseInt(object.headspaceOrgId, 10);
163479
+ else if (typeof object.headspaceOrgId === "number")
163480
+ message.headspaceOrgId = object.headspaceOrgId;
163481
+ else if (typeof object.headspaceOrgId === "object")
163482
+ message.headspaceOrgId = new $util.LongBits(object.headspaceOrgId.low >>> 0, object.headspaceOrgId.high >>> 0).toNumber(true);
163483
+ if (object.headspaceHealthOrgId != null)
163484
+ message.headspaceHealthOrgId = String(object.headspaceHealthOrgId);
163445
163485
  return message;
163446
163486
  };
163447
163487
 
@@ -163459,11 +163499,6 @@ $root.OrgCoverageProfile = (function() {
163459
163499
  options = {};
163460
163500
  var object = {};
163461
163501
  if (options.defaults) {
163462
- if ($util.Long) {
163463
- var long = new $util.Long(0, 0, true);
163464
- object.orgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
163465
- } else
163466
- object.orgId = options.longs === String ? "0" : 0;
163467
163502
  object.type = options.enums === String ? "ORG_COVERAGE_TYPE_UNKNOWN" : 0;
163468
163503
  object.servicesCovered = options.enums === String ? "ORG_COVERAGE_SERVICES_COVERED_UNKNOWN" : 0;
163469
163504
  if ($util.Long) {
@@ -163472,12 +163507,18 @@ $root.OrgCoverageProfile = (function() {
163472
163507
  } else
163473
163508
  object.coverageTotal = options.longs === String ? "0" : 0;
163474
163509
  object.eapCarrier = options.enums === String ? "ORG_COVERAGE_EAP_CARRIER_UNKNOWN" : 0;
163510
+ if ($util.Long) {
163511
+ var long = new $util.Long(0, 0, true);
163512
+ object.careOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
163513
+ } else
163514
+ object.careOrgId = options.longs === String ? "0" : 0;
163515
+ if ($util.Long) {
163516
+ var long = new $util.Long(0, 0, true);
163517
+ object.headspaceOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
163518
+ } else
163519
+ object.headspaceOrgId = options.longs === String ? "0" : 0;
163520
+ object.headspaceHealthOrgId = "";
163475
163521
  }
163476
- if (message.orgId != null && message.hasOwnProperty("orgId"))
163477
- if (typeof message.orgId === "number")
163478
- object.orgId = options.longs === String ? String(message.orgId) : message.orgId;
163479
- else
163480
- object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
163481
163522
  if (message.type != null && message.hasOwnProperty("type"))
163482
163523
  object.type = options.enums === String ? $root.OrgCoverageType[message.type] : message.type;
163483
163524
  if (message.servicesCovered != null && message.hasOwnProperty("servicesCovered"))
@@ -163489,6 +163530,18 @@ $root.OrgCoverageProfile = (function() {
163489
163530
  object.coverageTotal = options.longs === String ? $util.Long.prototype.toString.call(message.coverageTotal) : options.longs === Number ? new $util.LongBits(message.coverageTotal.low >>> 0, message.coverageTotal.high >>> 0).toNumber(true) : message.coverageTotal;
163490
163531
  if (message.eapCarrier != null && message.hasOwnProperty("eapCarrier"))
163491
163532
  object.eapCarrier = options.enums === String ? $root.OrgCoverageEapCarrier[message.eapCarrier] : message.eapCarrier;
163533
+ if (message.careOrgId != null && message.hasOwnProperty("careOrgId"))
163534
+ if (typeof message.careOrgId === "number")
163535
+ object.careOrgId = options.longs === String ? String(message.careOrgId) : message.careOrgId;
163536
+ else
163537
+ object.careOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.careOrgId) : options.longs === Number ? new $util.LongBits(message.careOrgId.low >>> 0, message.careOrgId.high >>> 0).toNumber(true) : message.careOrgId;
163538
+ if (message.headspaceOrgId != null && message.hasOwnProperty("headspaceOrgId"))
163539
+ if (typeof message.headspaceOrgId === "number")
163540
+ object.headspaceOrgId = options.longs === String ? String(message.headspaceOrgId) : message.headspaceOrgId;
163541
+ else
163542
+ object.headspaceOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.headspaceOrgId) : options.longs === Number ? new $util.LongBits(message.headspaceOrgId.low >>> 0, message.headspaceOrgId.high >>> 0).toNumber(true) : message.headspaceOrgId;
163543
+ if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
163544
+ object.headspaceHealthOrgId = message.headspaceHealthOrgId;
163492
163545
  return object;
163493
163546
  };
163494
163547
 
@@ -163762,6 +163815,464 @@ $root.OrgCoverageProfileUpdated = (function() {
163762
163815
  return OrgCoverageProfileUpdated;
163763
163816
  })();
163764
163817
 
163818
+ $root.OrgCoverageProfileCreated = (function() {
163819
+
163820
+ /**
163821
+ * Properties of an OrgCoverageProfileCreated.
163822
+ * @name IOrgCoverageProfileCreated
163823
+ * @interface IOrgCoverageProfileCreated
163824
+ * @property {number|Long|null} [timestamp] OrgCoverageProfileCreated timestamp
163825
+ * @property {IOrgCoverageProfile|null} [instance] OrgCoverageProfileCreated instance
163826
+ */
163827
+
163828
+ /**
163829
+ * Constructs a new OrgCoverageProfileCreated.
163830
+ * @name OrgCoverageProfileCreated
163831
+ * @classdesc Represents an OrgCoverageProfileCreated.
163832
+ * @implements IOrgCoverageProfileCreated
163833
+ * @constructor
163834
+ * @param {IOrgCoverageProfileCreated=} [properties] Properties to set
163835
+ */
163836
+ function OrgCoverageProfileCreated(properties) {
163837
+ if (properties)
163838
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
163839
+ if (properties[keys[i]] != null)
163840
+ this[keys[i]] = properties[keys[i]];
163841
+ }
163842
+
163843
+ /**
163844
+ * OrgCoverageProfileCreated timestamp.
163845
+ * @member {number|Long} timestamp
163846
+ * @memberof OrgCoverageProfileCreated
163847
+ * @instance
163848
+ */
163849
+ OrgCoverageProfileCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
163850
+
163851
+ /**
163852
+ * OrgCoverageProfileCreated instance.
163853
+ * @member {IOrgCoverageProfile|null|undefined} instance
163854
+ * @memberof OrgCoverageProfileCreated
163855
+ * @instance
163856
+ */
163857
+ OrgCoverageProfileCreated.prototype.instance = null;
163858
+
163859
+ /**
163860
+ * Creates a new OrgCoverageProfileCreated instance using the specified properties.
163861
+ * @function create
163862
+ * @memberof OrgCoverageProfileCreated
163863
+ * @static
163864
+ * @param {IOrgCoverageProfileCreated=} [properties] Properties to set
163865
+ * @returns {OrgCoverageProfileCreated} OrgCoverageProfileCreated instance
163866
+ */
163867
+ OrgCoverageProfileCreated.create = function create(properties) {
163868
+ return new OrgCoverageProfileCreated(properties);
163869
+ };
163870
+
163871
+ /**
163872
+ * Encodes the specified OrgCoverageProfileCreated message. Does not implicitly {@link OrgCoverageProfileCreated.verify|verify} messages.
163873
+ * @function encode
163874
+ * @memberof OrgCoverageProfileCreated
163875
+ * @static
163876
+ * @param {IOrgCoverageProfileCreated} message OrgCoverageProfileCreated message or plain object to encode
163877
+ * @param {$protobuf.Writer} [writer] Writer to encode to
163878
+ * @returns {$protobuf.Writer} Writer
163879
+ */
163880
+ OrgCoverageProfileCreated.encode = function encode(message, writer) {
163881
+ if (!writer)
163882
+ writer = $Writer.create();
163883
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
163884
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
163885
+ if (message.instance != null && message.hasOwnProperty("instance"))
163886
+ $root.OrgCoverageProfile.encode(message.instance, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
163887
+ return writer;
163888
+ };
163889
+
163890
+ /**
163891
+ * Encodes the specified OrgCoverageProfileCreated message, length delimited. Does not implicitly {@link OrgCoverageProfileCreated.verify|verify} messages.
163892
+ * @function encodeDelimited
163893
+ * @memberof OrgCoverageProfileCreated
163894
+ * @static
163895
+ * @param {IOrgCoverageProfileCreated} message OrgCoverageProfileCreated message or plain object to encode
163896
+ * @param {$protobuf.Writer} [writer] Writer to encode to
163897
+ * @returns {$protobuf.Writer} Writer
163898
+ */
163899
+ OrgCoverageProfileCreated.encodeDelimited = function encodeDelimited(message, writer) {
163900
+ return this.encode(message, writer).ldelim();
163901
+ };
163902
+
163903
+ /**
163904
+ * Decodes an OrgCoverageProfileCreated message from the specified reader or buffer.
163905
+ * @function decode
163906
+ * @memberof OrgCoverageProfileCreated
163907
+ * @static
163908
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
163909
+ * @param {number} [length] Message length if known beforehand
163910
+ * @returns {OrgCoverageProfileCreated} OrgCoverageProfileCreated
163911
+ * @throws {Error} If the payload is not a reader or valid buffer
163912
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
163913
+ */
163914
+ OrgCoverageProfileCreated.decode = function decode(reader, length) {
163915
+ if (!(reader instanceof $Reader))
163916
+ reader = $Reader.create(reader);
163917
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgCoverageProfileCreated();
163918
+ while (reader.pos < end) {
163919
+ var tag = reader.uint32();
163920
+ switch (tag >>> 3) {
163921
+ case 1:
163922
+ message.timestamp = reader.uint64();
163923
+ break;
163924
+ case 2:
163925
+ message.instance = $root.OrgCoverageProfile.decode(reader, reader.uint32());
163926
+ break;
163927
+ default:
163928
+ reader.skipType(tag & 7);
163929
+ break;
163930
+ }
163931
+ }
163932
+ return message;
163933
+ };
163934
+
163935
+ /**
163936
+ * Decodes an OrgCoverageProfileCreated message from the specified reader or buffer, length delimited.
163937
+ * @function decodeDelimited
163938
+ * @memberof OrgCoverageProfileCreated
163939
+ * @static
163940
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
163941
+ * @returns {OrgCoverageProfileCreated} OrgCoverageProfileCreated
163942
+ * @throws {Error} If the payload is not a reader or valid buffer
163943
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
163944
+ */
163945
+ OrgCoverageProfileCreated.decodeDelimited = function decodeDelimited(reader) {
163946
+ if (!(reader instanceof $Reader))
163947
+ reader = new $Reader(reader);
163948
+ return this.decode(reader, reader.uint32());
163949
+ };
163950
+
163951
+ /**
163952
+ * Verifies an OrgCoverageProfileCreated message.
163953
+ * @function verify
163954
+ * @memberof OrgCoverageProfileCreated
163955
+ * @static
163956
+ * @param {Object.<string,*>} message Plain object to verify
163957
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
163958
+ */
163959
+ OrgCoverageProfileCreated.verify = function verify(message) {
163960
+ if (typeof message !== "object" || message === null)
163961
+ return "object expected";
163962
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
163963
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
163964
+ return "timestamp: integer|Long expected";
163965
+ if (message.instance != null && message.hasOwnProperty("instance")) {
163966
+ var error = $root.OrgCoverageProfile.verify(message.instance);
163967
+ if (error)
163968
+ return "instance." + error;
163969
+ }
163970
+ return null;
163971
+ };
163972
+
163973
+ /**
163974
+ * Creates an OrgCoverageProfileCreated message from a plain object. Also converts values to their respective internal types.
163975
+ * @function fromObject
163976
+ * @memberof OrgCoverageProfileCreated
163977
+ * @static
163978
+ * @param {Object.<string,*>} object Plain object
163979
+ * @returns {OrgCoverageProfileCreated} OrgCoverageProfileCreated
163980
+ */
163981
+ OrgCoverageProfileCreated.fromObject = function fromObject(object) {
163982
+ if (object instanceof $root.OrgCoverageProfileCreated)
163983
+ return object;
163984
+ var message = new $root.OrgCoverageProfileCreated();
163985
+ if (object.timestamp != null)
163986
+ if ($util.Long)
163987
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
163988
+ else if (typeof object.timestamp === "string")
163989
+ message.timestamp = parseInt(object.timestamp, 10);
163990
+ else if (typeof object.timestamp === "number")
163991
+ message.timestamp = object.timestamp;
163992
+ else if (typeof object.timestamp === "object")
163993
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
163994
+ if (object.instance != null) {
163995
+ if (typeof object.instance !== "object")
163996
+ throw TypeError(".OrgCoverageProfileCreated.instance: object expected");
163997
+ message.instance = $root.OrgCoverageProfile.fromObject(object.instance);
163998
+ }
163999
+ return message;
164000
+ };
164001
+
164002
+ /**
164003
+ * Creates a plain object from an OrgCoverageProfileCreated message. Also converts values to other types if specified.
164004
+ * @function toObject
164005
+ * @memberof OrgCoverageProfileCreated
164006
+ * @static
164007
+ * @param {OrgCoverageProfileCreated} message OrgCoverageProfileCreated
164008
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
164009
+ * @returns {Object.<string,*>} Plain object
164010
+ */
164011
+ OrgCoverageProfileCreated.toObject = function toObject(message, options) {
164012
+ if (!options)
164013
+ options = {};
164014
+ var object = {};
164015
+ if (options.defaults) {
164016
+ if ($util.Long) {
164017
+ var long = new $util.Long(0, 0, true);
164018
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
164019
+ } else
164020
+ object.timestamp = options.longs === String ? "0" : 0;
164021
+ object.instance = null;
164022
+ }
164023
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
164024
+ if (typeof message.timestamp === "number")
164025
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
164026
+ else
164027
+ 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;
164028
+ if (message.instance != null && message.hasOwnProperty("instance"))
164029
+ object.instance = $root.OrgCoverageProfile.toObject(message.instance, options);
164030
+ return object;
164031
+ };
164032
+
164033
+ /**
164034
+ * Converts this OrgCoverageProfileCreated to JSON.
164035
+ * @function toJSON
164036
+ * @memberof OrgCoverageProfileCreated
164037
+ * @instance
164038
+ * @returns {Object.<string,*>} JSON object
164039
+ */
164040
+ OrgCoverageProfileCreated.prototype.toJSON = function toJSON() {
164041
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
164042
+ };
164043
+
164044
+ return OrgCoverageProfileCreated;
164045
+ })();
164046
+
164047
+ $root.OrgCoverageProfileDeleted = (function() {
164048
+
164049
+ /**
164050
+ * Properties of an OrgCoverageProfileDeleted.
164051
+ * @name IOrgCoverageProfileDeleted
164052
+ * @interface IOrgCoverageProfileDeleted
164053
+ * @property {number|Long|null} [timestamp] OrgCoverageProfileDeleted timestamp
164054
+ * @property {IOrgCoverageProfile|null} [instance] OrgCoverageProfileDeleted instance
164055
+ */
164056
+
164057
+ /**
164058
+ * Constructs a new OrgCoverageProfileDeleted.
164059
+ * @name OrgCoverageProfileDeleted
164060
+ * @classdesc Represents an OrgCoverageProfileDeleted.
164061
+ * @implements IOrgCoverageProfileDeleted
164062
+ * @constructor
164063
+ * @param {IOrgCoverageProfileDeleted=} [properties] Properties to set
164064
+ */
164065
+ function OrgCoverageProfileDeleted(properties) {
164066
+ if (properties)
164067
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
164068
+ if (properties[keys[i]] != null)
164069
+ this[keys[i]] = properties[keys[i]];
164070
+ }
164071
+
164072
+ /**
164073
+ * OrgCoverageProfileDeleted timestamp.
164074
+ * @member {number|Long} timestamp
164075
+ * @memberof OrgCoverageProfileDeleted
164076
+ * @instance
164077
+ */
164078
+ OrgCoverageProfileDeleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
164079
+
164080
+ /**
164081
+ * OrgCoverageProfileDeleted instance.
164082
+ * @member {IOrgCoverageProfile|null|undefined} instance
164083
+ * @memberof OrgCoverageProfileDeleted
164084
+ * @instance
164085
+ */
164086
+ OrgCoverageProfileDeleted.prototype.instance = null;
164087
+
164088
+ /**
164089
+ * Creates a new OrgCoverageProfileDeleted instance using the specified properties.
164090
+ * @function create
164091
+ * @memberof OrgCoverageProfileDeleted
164092
+ * @static
164093
+ * @param {IOrgCoverageProfileDeleted=} [properties] Properties to set
164094
+ * @returns {OrgCoverageProfileDeleted} OrgCoverageProfileDeleted instance
164095
+ */
164096
+ OrgCoverageProfileDeleted.create = function create(properties) {
164097
+ return new OrgCoverageProfileDeleted(properties);
164098
+ };
164099
+
164100
+ /**
164101
+ * Encodes the specified OrgCoverageProfileDeleted message. Does not implicitly {@link OrgCoverageProfileDeleted.verify|verify} messages.
164102
+ * @function encode
164103
+ * @memberof OrgCoverageProfileDeleted
164104
+ * @static
164105
+ * @param {IOrgCoverageProfileDeleted} message OrgCoverageProfileDeleted message or plain object to encode
164106
+ * @param {$protobuf.Writer} [writer] Writer to encode to
164107
+ * @returns {$protobuf.Writer} Writer
164108
+ */
164109
+ OrgCoverageProfileDeleted.encode = function encode(message, writer) {
164110
+ if (!writer)
164111
+ writer = $Writer.create();
164112
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
164113
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
164114
+ if (message.instance != null && message.hasOwnProperty("instance"))
164115
+ $root.OrgCoverageProfile.encode(message.instance, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
164116
+ return writer;
164117
+ };
164118
+
164119
+ /**
164120
+ * Encodes the specified OrgCoverageProfileDeleted message, length delimited. Does not implicitly {@link OrgCoverageProfileDeleted.verify|verify} messages.
164121
+ * @function encodeDelimited
164122
+ * @memberof OrgCoverageProfileDeleted
164123
+ * @static
164124
+ * @param {IOrgCoverageProfileDeleted} message OrgCoverageProfileDeleted message or plain object to encode
164125
+ * @param {$protobuf.Writer} [writer] Writer to encode to
164126
+ * @returns {$protobuf.Writer} Writer
164127
+ */
164128
+ OrgCoverageProfileDeleted.encodeDelimited = function encodeDelimited(message, writer) {
164129
+ return this.encode(message, writer).ldelim();
164130
+ };
164131
+
164132
+ /**
164133
+ * Decodes an OrgCoverageProfileDeleted message from the specified reader or buffer.
164134
+ * @function decode
164135
+ * @memberof OrgCoverageProfileDeleted
164136
+ * @static
164137
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
164138
+ * @param {number} [length] Message length if known beforehand
164139
+ * @returns {OrgCoverageProfileDeleted} OrgCoverageProfileDeleted
164140
+ * @throws {Error} If the payload is not a reader or valid buffer
164141
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
164142
+ */
164143
+ OrgCoverageProfileDeleted.decode = function decode(reader, length) {
164144
+ if (!(reader instanceof $Reader))
164145
+ reader = $Reader.create(reader);
164146
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgCoverageProfileDeleted();
164147
+ while (reader.pos < end) {
164148
+ var tag = reader.uint32();
164149
+ switch (tag >>> 3) {
164150
+ case 1:
164151
+ message.timestamp = reader.uint64();
164152
+ break;
164153
+ case 2:
164154
+ message.instance = $root.OrgCoverageProfile.decode(reader, reader.uint32());
164155
+ break;
164156
+ default:
164157
+ reader.skipType(tag & 7);
164158
+ break;
164159
+ }
164160
+ }
164161
+ return message;
164162
+ };
164163
+
164164
+ /**
164165
+ * Decodes an OrgCoverageProfileDeleted message from the specified reader or buffer, length delimited.
164166
+ * @function decodeDelimited
164167
+ * @memberof OrgCoverageProfileDeleted
164168
+ * @static
164169
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
164170
+ * @returns {OrgCoverageProfileDeleted} OrgCoverageProfileDeleted
164171
+ * @throws {Error} If the payload is not a reader or valid buffer
164172
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
164173
+ */
164174
+ OrgCoverageProfileDeleted.decodeDelimited = function decodeDelimited(reader) {
164175
+ if (!(reader instanceof $Reader))
164176
+ reader = new $Reader(reader);
164177
+ return this.decode(reader, reader.uint32());
164178
+ };
164179
+
164180
+ /**
164181
+ * Verifies an OrgCoverageProfileDeleted message.
164182
+ * @function verify
164183
+ * @memberof OrgCoverageProfileDeleted
164184
+ * @static
164185
+ * @param {Object.<string,*>} message Plain object to verify
164186
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
164187
+ */
164188
+ OrgCoverageProfileDeleted.verify = function verify(message) {
164189
+ if (typeof message !== "object" || message === null)
164190
+ return "object expected";
164191
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
164192
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
164193
+ return "timestamp: integer|Long expected";
164194
+ if (message.instance != null && message.hasOwnProperty("instance")) {
164195
+ var error = $root.OrgCoverageProfile.verify(message.instance);
164196
+ if (error)
164197
+ return "instance." + error;
164198
+ }
164199
+ return null;
164200
+ };
164201
+
164202
+ /**
164203
+ * Creates an OrgCoverageProfileDeleted message from a plain object. Also converts values to their respective internal types.
164204
+ * @function fromObject
164205
+ * @memberof OrgCoverageProfileDeleted
164206
+ * @static
164207
+ * @param {Object.<string,*>} object Plain object
164208
+ * @returns {OrgCoverageProfileDeleted} OrgCoverageProfileDeleted
164209
+ */
164210
+ OrgCoverageProfileDeleted.fromObject = function fromObject(object) {
164211
+ if (object instanceof $root.OrgCoverageProfileDeleted)
164212
+ return object;
164213
+ var message = new $root.OrgCoverageProfileDeleted();
164214
+ if (object.timestamp != null)
164215
+ if ($util.Long)
164216
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
164217
+ else if (typeof object.timestamp === "string")
164218
+ message.timestamp = parseInt(object.timestamp, 10);
164219
+ else if (typeof object.timestamp === "number")
164220
+ message.timestamp = object.timestamp;
164221
+ else if (typeof object.timestamp === "object")
164222
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
164223
+ if (object.instance != null) {
164224
+ if (typeof object.instance !== "object")
164225
+ throw TypeError(".OrgCoverageProfileDeleted.instance: object expected");
164226
+ message.instance = $root.OrgCoverageProfile.fromObject(object.instance);
164227
+ }
164228
+ return message;
164229
+ };
164230
+
164231
+ /**
164232
+ * Creates a plain object from an OrgCoverageProfileDeleted message. Also converts values to other types if specified.
164233
+ * @function toObject
164234
+ * @memberof OrgCoverageProfileDeleted
164235
+ * @static
164236
+ * @param {OrgCoverageProfileDeleted} message OrgCoverageProfileDeleted
164237
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
164238
+ * @returns {Object.<string,*>} Plain object
164239
+ */
164240
+ OrgCoverageProfileDeleted.toObject = function toObject(message, options) {
164241
+ if (!options)
164242
+ options = {};
164243
+ var object = {};
164244
+ if (options.defaults) {
164245
+ if ($util.Long) {
164246
+ var long = new $util.Long(0, 0, true);
164247
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
164248
+ } else
164249
+ object.timestamp = options.longs === String ? "0" : 0;
164250
+ object.instance = null;
164251
+ }
164252
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
164253
+ if (typeof message.timestamp === "number")
164254
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
164255
+ else
164256
+ 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;
164257
+ if (message.instance != null && message.hasOwnProperty("instance"))
164258
+ object.instance = $root.OrgCoverageProfile.toObject(message.instance, options);
164259
+ return object;
164260
+ };
164261
+
164262
+ /**
164263
+ * Converts this OrgCoverageProfileDeleted to JSON.
164264
+ * @function toJSON
164265
+ * @memberof OrgCoverageProfileDeleted
164266
+ * @instance
164267
+ * @returns {Object.<string,*>} JSON object
164268
+ */
164269
+ OrgCoverageProfileDeleted.prototype.toJSON = function toJSON() {
164270
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
164271
+ };
164272
+
164273
+ return OrgCoverageProfileDeleted;
164274
+ })();
164275
+
163765
164276
  /**
163766
164277
  * OrgCoverageType enum.
163767
164278
  * @name OrgCoverageType
@@ -163805,7 +164316,6 @@ $root.OrgCoverageServicesCovered = (function() {
163805
164316
  * @property {number} ORG_COVERAGE_EAP_CARRIER_UNKNOWN=0 ORG_COVERAGE_EAP_CARRIER_UNKNOWN value
163806
164317
  * @property {number} ORG_COVERAGE_EAP_CARRIER_CCA=1 ORG_COVERAGE_EAP_CARRIER_CCA value
163807
164318
  * @property {number} ORG_COVERAGE_EAP_CARRIER_WPO=2 ORG_COVERAGE_EAP_CARRIER_WPO value
163808
- * @property {number} ORG_COVERAGE_EAP_CARRIER_OTHER=3 ORG_COVERAGE_EAP_CARRIER_OTHER value
163809
164319
  * @property {number} ORG_COVERAGE_EAP_CARRIER_NONE=4 ORG_COVERAGE_EAP_CARRIER_NONE value
163810
164320
  */
163811
164321
  $root.OrgCoverageEapCarrier = (function() {
@@ -163813,7 +164323,6 @@ $root.OrgCoverageEapCarrier = (function() {
163813
164323
  values[valuesById[0] = "ORG_COVERAGE_EAP_CARRIER_UNKNOWN"] = 0;
163814
164324
  values[valuesById[1] = "ORG_COVERAGE_EAP_CARRIER_CCA"] = 1;
163815
164325
  values[valuesById[2] = "ORG_COVERAGE_EAP_CARRIER_WPO"] = 2;
163816
- values[valuesById[3] = "ORG_COVERAGE_EAP_CARRIER_OTHER"] = 3;
163817
164326
  values[valuesById[4] = "ORG_COVERAGE_EAP_CARRIER_NONE"] = 4;
163818
164327
  return values;
163819
164328
  })();
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.612.0"
19
+ "version": "1.613.0"
20
20
  }