@headspace/protos-events 1.611.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 +216 -7
  2. package/lib/index.js +574 -43
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -50915,6 +50915,9 @@ export interface IElfRecordPresent {
50915
50915
  /** ElfRecordPresent priorB2bOrgId */
50916
50916
  priorB2bOrgId?: (string|null);
50917
50917
 
50918
+ /** ElfRecordPresent location */
50919
+ location?: (string|null);
50920
+
50918
50921
  /** ElfRecordPresent dependentOf */
50919
50922
  dependentOf?: (string|null);
50920
50923
 
@@ -51015,6 +51018,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
51015
51018
  /** ElfRecordPresent priorB2bOrgId. */
51016
51019
  public priorB2bOrgId: string;
51017
51020
 
51021
+ /** ElfRecordPresent location. */
51022
+ public location: string;
51023
+
51018
51024
  /** ElfRecordPresent dependentOf. */
51019
51025
  public dependentOf: string;
51020
51026
 
@@ -58427,9 +58433,6 @@ export class OnboardingCompleted implements IOnboardingCompleted {
58427
58433
  /** Properties of an OrgCoverageProfile. */
58428
58434
  export interface IOrgCoverageProfile {
58429
58435
 
58430
- /** OrgCoverageProfile orgId */
58431
- orgId?: (number|Long|null);
58432
-
58433
58436
  /** OrgCoverageProfile type */
58434
58437
  type?: (OrgCoverageType|null);
58435
58438
 
@@ -58441,6 +58444,15 @@ export interface IOrgCoverageProfile {
58441
58444
 
58442
58445
  /** OrgCoverageProfile eapCarrier */
58443
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);
58444
58456
  }
58445
58457
 
58446
58458
  /** Represents an OrgCoverageProfile. */
@@ -58452,9 +58464,6 @@ export class OrgCoverageProfile implements IOrgCoverageProfile {
58452
58464
  */
58453
58465
  constructor(properties?: IOrgCoverageProfile);
58454
58466
 
58455
- /** OrgCoverageProfile orgId. */
58456
- public orgId: (number|Long);
58457
-
58458
58467
  /** OrgCoverageProfile type. */
58459
58468
  public type: OrgCoverageType;
58460
58469
 
@@ -58467,6 +58476,15 @@ export class OrgCoverageProfile implements IOrgCoverageProfile {
58467
58476
  /** OrgCoverageProfile eapCarrier. */
58468
58477
  public eapCarrier: OrgCoverageEapCarrier;
58469
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
+
58470
58488
  /**
58471
58489
  * Creates a new OrgCoverageProfile instance using the specified properties.
58472
58490
  * @param [properties] Properties to set
@@ -58640,6 +58658,198 @@ export class OrgCoverageProfileUpdated implements IOrgCoverageProfileUpdated {
58640
58658
  public toJSON(): { [k: string]: any };
58641
58659
  }
58642
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
+
58643
58853
  /** OrgCoverageType enum. */
58644
58854
  export enum OrgCoverageType {
58645
58855
  ORG_COVERAGE_TYPE_UNKNOWN = 0,
@@ -58661,7 +58871,6 @@ export enum OrgCoverageEapCarrier {
58661
58871
  ORG_COVERAGE_EAP_CARRIER_UNKNOWN = 0,
58662
58872
  ORG_COVERAGE_EAP_CARRIER_CCA = 1,
58663
58873
  ORG_COVERAGE_EAP_CARRIER_WPO = 2,
58664
- ORG_COVERAGE_EAP_CARRIER_OTHER = 3,
58665
58874
  ORG_COVERAGE_EAP_CARRIER_NONE = 4
58666
58875
  }
58667
58876
 
package/lib/index.js CHANGED
@@ -140016,6 +140016,7 @@ $root.ElfRecordPresent = (function() {
140016
140016
  * @property {string|null} [rootOrgId] ElfRecordPresent rootOrgId
140017
140017
  * @property {boolean|null} [isMemberMigrated] ElfRecordPresent isMemberMigrated
140018
140018
  * @property {string|null} [priorB2bOrgId] ElfRecordPresent priorB2bOrgId
140019
+ * @property {string|null} [location] ElfRecordPresent location
140019
140020
  * @property {string|null} [dependentOf] ElfRecordPresent dependentOf
140020
140021
  * @property {boolean|null} [isDryRun] ElfRecordPresent isDryRun
140021
140022
  * @property {boolean|null} [gingerShouldProcess] ElfRecordPresent gingerShouldProcess
@@ -140232,6 +140233,14 @@ $root.ElfRecordPresent = (function() {
140232
140233
  */
140233
140234
  ElfRecordPresent.prototype.priorB2bOrgId = "";
140234
140235
 
140236
+ /**
140237
+ * ElfRecordPresent location.
140238
+ * @member {string} location
140239
+ * @memberof ElfRecordPresent
140240
+ * @instance
140241
+ */
140242
+ ElfRecordPresent.prototype.location = "";
140243
+
140235
140244
  /**
140236
140245
  * ElfRecordPresent dependentOf.
140237
140246
  * @member {string} dependentOf
@@ -140362,6 +140371,8 @@ $root.ElfRecordPresent = (function() {
140362
140371
  writer.uint32(/* id 26, wireType 0 =*/208).bool(message.isMemberMigrated);
140363
140372
  if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
140364
140373
  writer.uint32(/* id 27, wireType 2 =*/218).string(message.priorB2bOrgId);
140374
+ if (message.location != null && message.hasOwnProperty("location"))
140375
+ writer.uint32(/* id 28, wireType 2 =*/226).string(message.location);
140365
140376
  if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
140366
140377
  writer.uint32(/* id 29, wireType 2 =*/234).string(message.countryStateCode);
140367
140378
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
@@ -140481,6 +140492,9 @@ $root.ElfRecordPresent = (function() {
140481
140492
  case 27:
140482
140493
  message.priorB2bOrgId = reader.string();
140483
140494
  break;
140495
+ case 28:
140496
+ message.location = reader.string();
140497
+ break;
140484
140498
  case 30:
140485
140499
  message.dependentOf = reader.string();
140486
140500
  break;
@@ -140621,6 +140635,9 @@ $root.ElfRecordPresent = (function() {
140621
140635
  if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
140622
140636
  if (!$util.isString(message.priorB2bOrgId))
140623
140637
  return "priorB2bOrgId: string expected";
140638
+ if (message.location != null && message.hasOwnProperty("location"))
140639
+ if (!$util.isString(message.location))
140640
+ return "location: string expected";
140624
140641
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
140625
140642
  if (!$util.isString(message.dependentOf))
140626
140643
  return "dependentOf: string expected";
@@ -140736,6 +140753,8 @@ $root.ElfRecordPresent = (function() {
140736
140753
  message.isMemberMigrated = Boolean(object.isMemberMigrated);
140737
140754
  if (object.priorB2bOrgId != null)
140738
140755
  message.priorB2bOrgId = String(object.priorB2bOrgId);
140756
+ if (object.location != null)
140757
+ message.location = String(object.location);
140739
140758
  if (object.dependentOf != null)
140740
140759
  message.dependentOf = String(object.dependentOf);
140741
140760
  if (object.isDryRun != null)
@@ -140797,6 +140816,7 @@ $root.ElfRecordPresent = (function() {
140797
140816
  object.rootOrgId = "";
140798
140817
  object.isMemberMigrated = false;
140799
140818
  object.priorB2bOrgId = "";
140819
+ object.location = "";
140800
140820
  object.countryStateCode = "";
140801
140821
  object.dependentOf = "";
140802
140822
  object.collectiveUuid = "";
@@ -140861,6 +140881,8 @@ $root.ElfRecordPresent = (function() {
140861
140881
  object.isMemberMigrated = message.isMemberMigrated;
140862
140882
  if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
140863
140883
  object.priorB2bOrgId = message.priorB2bOrgId;
140884
+ if (message.location != null && message.hasOwnProperty("location"))
140885
+ object.location = message.location;
140864
140886
  if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
140865
140887
  object.countryStateCode = message.countryStateCode;
140866
140888
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
@@ -163112,11 +163134,13 @@ $root.OrgCoverageProfile = (function() {
163112
163134
  * Properties of an OrgCoverageProfile.
163113
163135
  * @name IOrgCoverageProfile
163114
163136
  * @interface IOrgCoverageProfile
163115
- * @property {number|Long|null} [orgId] OrgCoverageProfile orgId
163116
163137
  * @property {OrgCoverageType|null} [type] OrgCoverageProfile type
163117
163138
  * @property {OrgCoverageServicesCovered|null} [servicesCovered] OrgCoverageProfile servicesCovered
163118
163139
  * @property {number|Long|null} [coverageTotal] OrgCoverageProfile coverageTotal
163119
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
163120
163144
  */
163121
163145
 
163122
163146
  /**
@@ -163134,14 +163158,6 @@ $root.OrgCoverageProfile = (function() {
163134
163158
  this[keys[i]] = properties[keys[i]];
163135
163159
  }
163136
163160
 
163137
- /**
163138
- * OrgCoverageProfile orgId.
163139
- * @member {number|Long} orgId
163140
- * @memberof OrgCoverageProfile
163141
- * @instance
163142
- */
163143
- OrgCoverageProfile.prototype.orgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
163144
-
163145
163161
  /**
163146
163162
  * OrgCoverageProfile type.
163147
163163
  * @member {OrgCoverageType} type
@@ -163174,6 +163190,30 @@ $root.OrgCoverageProfile = (function() {
163174
163190
  */
163175
163191
  OrgCoverageProfile.prototype.eapCarrier = 0;
163176
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
+
163177
163217
  /**
163178
163218
  * Creates a new OrgCoverageProfile instance using the specified properties.
163179
163219
  * @function create
@@ -163198,8 +163238,6 @@ $root.OrgCoverageProfile = (function() {
163198
163238
  OrgCoverageProfile.encode = function encode(message, writer) {
163199
163239
  if (!writer)
163200
163240
  writer = $Writer.create();
163201
- if (message.orgId != null && message.hasOwnProperty("orgId"))
163202
- writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.orgId);
163203
163241
  if (message.type != null && message.hasOwnProperty("type"))
163204
163242
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);
163205
163243
  if (message.servicesCovered != null && message.hasOwnProperty("servicesCovered"))
@@ -163208,6 +163246,12 @@ $root.OrgCoverageProfile = (function() {
163208
163246
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.coverageTotal);
163209
163247
  if (message.eapCarrier != null && message.hasOwnProperty("eapCarrier"))
163210
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);
163211
163255
  return writer;
163212
163256
  };
163213
163257
 
@@ -163242,9 +163286,6 @@ $root.OrgCoverageProfile = (function() {
163242
163286
  while (reader.pos < end) {
163243
163287
  var tag = reader.uint32();
163244
163288
  switch (tag >>> 3) {
163245
- case 1:
163246
- message.orgId = reader.uint64();
163247
- break;
163248
163289
  case 2:
163249
163290
  message.type = reader.int32();
163250
163291
  break;
@@ -163257,6 +163298,15 @@ $root.OrgCoverageProfile = (function() {
163257
163298
  case 5:
163258
163299
  message.eapCarrier = reader.int32();
163259
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;
163260
163310
  default:
163261
163311
  reader.skipType(tag & 7);
163262
163312
  break;
@@ -163292,9 +163342,6 @@ $root.OrgCoverageProfile = (function() {
163292
163342
  OrgCoverageProfile.verify = function verify(message) {
163293
163343
  if (typeof message !== "object" || message === null)
163294
163344
  return "object expected";
163295
- if (message.orgId != null && message.hasOwnProperty("orgId"))
163296
- if (!$util.isInteger(message.orgId) && !(message.orgId && $util.isInteger(message.orgId.low) && $util.isInteger(message.orgId.high)))
163297
- return "orgId: integer|Long expected";
163298
163345
  if (message.type != null && message.hasOwnProperty("type"))
163299
163346
  switch (message.type) {
163300
163347
  default:
@@ -163325,10 +163372,18 @@ $root.OrgCoverageProfile = (function() {
163325
163372
  case 0:
163326
163373
  case 1:
163327
163374
  case 2:
163328
- case 3:
163329
163375
  case 4:
163330
163376
  break;
163331
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";
163332
163387
  return null;
163333
163388
  };
163334
163389
 
@@ -163344,15 +163399,6 @@ $root.OrgCoverageProfile = (function() {
163344
163399
  if (object instanceof $root.OrgCoverageProfile)
163345
163400
  return object;
163346
163401
  var message = new $root.OrgCoverageProfile();
163347
- if (object.orgId != null)
163348
- if ($util.Long)
163349
- (message.orgId = $util.Long.fromValue(object.orgId)).unsigned = true;
163350
- else if (typeof object.orgId === "string")
163351
- message.orgId = parseInt(object.orgId, 10);
163352
- else if (typeof object.orgId === "number")
163353
- message.orgId = object.orgId;
163354
- else if (typeof object.orgId === "object")
163355
- message.orgId = new $util.LongBits(object.orgId.low >>> 0, object.orgId.high >>> 0).toNumber(true);
163356
163402
  switch (object.type) {
163357
163403
  case "ORG_COVERAGE_TYPE_UNKNOWN":
163358
163404
  case 0:
@@ -163411,15 +163457,31 @@ $root.OrgCoverageProfile = (function() {
163411
163457
  case 2:
163412
163458
  message.eapCarrier = 2;
163413
163459
  break;
163414
- case "ORG_COVERAGE_EAP_CARRIER_OTHER":
163415
- case 3:
163416
- message.eapCarrier = 3;
163417
- break;
163418
163460
  case "ORG_COVERAGE_EAP_CARRIER_NONE":
163419
163461
  case 4:
163420
163462
  message.eapCarrier = 4;
163421
163463
  break;
163422
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);
163423
163485
  return message;
163424
163486
  };
163425
163487
 
@@ -163437,11 +163499,6 @@ $root.OrgCoverageProfile = (function() {
163437
163499
  options = {};
163438
163500
  var object = {};
163439
163501
  if (options.defaults) {
163440
- if ($util.Long) {
163441
- var long = new $util.Long(0, 0, true);
163442
- object.orgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
163443
- } else
163444
- object.orgId = options.longs === String ? "0" : 0;
163445
163502
  object.type = options.enums === String ? "ORG_COVERAGE_TYPE_UNKNOWN" : 0;
163446
163503
  object.servicesCovered = options.enums === String ? "ORG_COVERAGE_SERVICES_COVERED_UNKNOWN" : 0;
163447
163504
  if ($util.Long) {
@@ -163450,12 +163507,18 @@ $root.OrgCoverageProfile = (function() {
163450
163507
  } else
163451
163508
  object.coverageTotal = options.longs === String ? "0" : 0;
163452
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 = "";
163453
163521
  }
163454
- if (message.orgId != null && message.hasOwnProperty("orgId"))
163455
- if (typeof message.orgId === "number")
163456
- object.orgId = options.longs === String ? String(message.orgId) : message.orgId;
163457
- else
163458
- 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;
163459
163522
  if (message.type != null && message.hasOwnProperty("type"))
163460
163523
  object.type = options.enums === String ? $root.OrgCoverageType[message.type] : message.type;
163461
163524
  if (message.servicesCovered != null && message.hasOwnProperty("servicesCovered"))
@@ -163467,6 +163530,18 @@ $root.OrgCoverageProfile = (function() {
163467
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;
163468
163531
  if (message.eapCarrier != null && message.hasOwnProperty("eapCarrier"))
163469
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;
163470
163545
  return object;
163471
163546
  };
163472
163547
 
@@ -163740,6 +163815,464 @@ $root.OrgCoverageProfileUpdated = (function() {
163740
163815
  return OrgCoverageProfileUpdated;
163741
163816
  })();
163742
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
+
163743
164276
  /**
163744
164277
  * OrgCoverageType enum.
163745
164278
  * @name OrgCoverageType
@@ -163783,7 +164316,6 @@ $root.OrgCoverageServicesCovered = (function() {
163783
164316
  * @property {number} ORG_COVERAGE_EAP_CARRIER_UNKNOWN=0 ORG_COVERAGE_EAP_CARRIER_UNKNOWN value
163784
164317
  * @property {number} ORG_COVERAGE_EAP_CARRIER_CCA=1 ORG_COVERAGE_EAP_CARRIER_CCA value
163785
164318
  * @property {number} ORG_COVERAGE_EAP_CARRIER_WPO=2 ORG_COVERAGE_EAP_CARRIER_WPO value
163786
- * @property {number} ORG_COVERAGE_EAP_CARRIER_OTHER=3 ORG_COVERAGE_EAP_CARRIER_OTHER value
163787
164319
  * @property {number} ORG_COVERAGE_EAP_CARRIER_NONE=4 ORG_COVERAGE_EAP_CARRIER_NONE value
163788
164320
  */
163789
164321
  $root.OrgCoverageEapCarrier = (function() {
@@ -163791,7 +164323,6 @@ $root.OrgCoverageEapCarrier = (function() {
163791
164323
  values[valuesById[0] = "ORG_COVERAGE_EAP_CARRIER_UNKNOWN"] = 0;
163792
164324
  values[valuesById[1] = "ORG_COVERAGE_EAP_CARRIER_CCA"] = 1;
163793
164325
  values[valuesById[2] = "ORG_COVERAGE_EAP_CARRIER_WPO"] = 2;
163794
- values[valuesById[3] = "ORG_COVERAGE_EAP_CARRIER_OTHER"] = 3;
163795
164326
  values[valuesById[4] = "ORG_COVERAGE_EAP_CARRIER_NONE"] = 4;
163796
164327
  return values;
163797
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.611.0"
19
+ "version": "1.613.0"
20
20
  }