@headspace/protos-events 1.536.0 → 1.538.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -10026,6 +10026,9 @@ export namespace b2b {
10026
10026
 
10027
10027
  /** Organization country */
10028
10028
  country?: (string|null);
10029
+
10030
+ /** Organization hasEapCoverage */
10031
+ hasEapCoverage?: (boolean|null);
10029
10032
  }
10030
10033
 
10031
10034
  /** Represents an Organization. */
@@ -10100,6 +10103,9 @@ export namespace b2b {
10100
10103
  /** Organization country. */
10101
10104
  public country: string;
10102
10105
 
10106
+ /** Organization hasEapCoverage. */
10107
+ public hasEapCoverage: boolean;
10108
+
10103
10109
  /**
10104
10110
  * Creates a new Organization instance using the specified properties.
10105
10111
  * @param [properties] Properties to set
@@ -38099,8 +38105,8 @@ export interface IEnterpriseUserEnrollmentUpgraded {
38099
38105
  /** EnterpriseUserEnrollmentUpgraded userId */
38100
38106
  userId?: (string|null);
38101
38107
 
38102
- /** EnterpriseUserEnrollmentUpgraded orgId */
38103
- orgId?: (number|null);
38108
+ /** EnterpriseUserEnrollmentUpgraded subscriptionOrgId */
38109
+ subscriptionOrgId?: (number|null);
38104
38110
 
38105
38111
  /** EnterpriseUserEnrollmentUpgraded enrollmentUrl */
38106
38112
  enrollmentUrl?: (string|null);
@@ -38114,8 +38120,8 @@ export interface IEnterpriseUserEnrollmentUpgraded {
38114
38120
  /** EnterpriseUserEnrollmentUpgraded timestamp */
38115
38121
  timestamp?: (number|Long|null);
38116
38122
 
38117
- /** EnterpriseUserEnrollmentUpgraded rootOrgId */
38118
- rootOrgId?: (number|null);
38123
+ /** EnterpriseUserEnrollmentUpgraded enrollmentOrgId */
38124
+ enrollmentOrgId?: (number|null);
38119
38125
  }
38120
38126
 
38121
38127
  /** Represents an EnterpriseUserEnrollmentUpgraded. */
@@ -38130,8 +38136,8 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
38130
38136
  /** EnterpriseUserEnrollmentUpgraded userId. */
38131
38137
  public userId: string;
38132
38138
 
38133
- /** EnterpriseUserEnrollmentUpgraded orgId. */
38134
- public orgId: number;
38139
+ /** EnterpriseUserEnrollmentUpgraded subscriptionOrgId. */
38140
+ public subscriptionOrgId: number;
38135
38141
 
38136
38142
  /** EnterpriseUserEnrollmentUpgraded enrollmentUrl. */
38137
38143
  public enrollmentUrl: string;
@@ -38145,8 +38151,8 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
38145
38151
  /** EnterpriseUserEnrollmentUpgraded timestamp. */
38146
38152
  public timestamp: (number|Long);
38147
38153
 
38148
- /** EnterpriseUserEnrollmentUpgraded rootOrgId. */
38149
- public rootOrgId: number;
38154
+ /** EnterpriseUserEnrollmentUpgraded enrollmentOrgId. */
38155
+ public enrollmentOrgId: number;
38150
38156
 
38151
38157
  /**
38152
38158
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
package/lib/index.js CHANGED
@@ -23883,6 +23883,7 @@ $root.b2b = (function() {
23883
23883
  * @property {number|null} [rootOrgId] Organization rootOrgId
23884
23884
  * @property {number|null} [parentOrgId] Organization parentOrgId
23885
23885
  * @property {string|null} [country] Organization country
23886
+ * @property {boolean|null} [hasEapCoverage] Organization hasEapCoverage
23886
23887
  */
23887
23888
 
23888
23889
  /**
@@ -24069,6 +24070,14 @@ $root.b2b = (function() {
24069
24070
  */
24070
24071
  Organization.prototype.country = "";
24071
24072
 
24073
+ /**
24074
+ * Organization hasEapCoverage.
24075
+ * @member {boolean} hasEapCoverage
24076
+ * @memberof b2b.Organization
24077
+ * @instance
24078
+ */
24079
+ Organization.prototype.hasEapCoverage = false;
24080
+
24072
24081
  /**
24073
24082
  * Creates a new Organization instance using the specified properties.
24074
24083
  * @function create
@@ -24139,6 +24148,8 @@ $root.b2b = (function() {
24139
24148
  writer.uint32(/* id 20, wireType 0 =*/160).uint32(message.parentOrgId);
24140
24149
  if (message.country != null && message.hasOwnProperty("country"))
24141
24150
  writer.uint32(/* id 21, wireType 2 =*/170).string(message.country);
24151
+ if (message.hasEapCoverage != null && message.hasOwnProperty("hasEapCoverage"))
24152
+ writer.uint32(/* id 22, wireType 0 =*/176).bool(message.hasEapCoverage);
24142
24153
  return writer;
24143
24154
  };
24144
24155
 
@@ -24243,6 +24254,9 @@ $root.b2b = (function() {
24243
24254
  case 21:
24244
24255
  message.country = reader.string();
24245
24256
  break;
24257
+ case 22:
24258
+ message.hasEapCoverage = reader.bool();
24259
+ break;
24246
24260
  default:
24247
24261
  reader.skipType(tag & 7);
24248
24262
  break;
@@ -24375,6 +24389,9 @@ $root.b2b = (function() {
24375
24389
  if (message.country != null && message.hasOwnProperty("country"))
24376
24390
  if (!$util.isString(message.country))
24377
24391
  return "country: string expected";
24392
+ if (message.hasEapCoverage != null && message.hasOwnProperty("hasEapCoverage"))
24393
+ if (typeof message.hasEapCoverage !== "boolean")
24394
+ return "hasEapCoverage: boolean expected";
24378
24395
  return null;
24379
24396
  };
24380
24397
 
@@ -24523,6 +24540,8 @@ $root.b2b = (function() {
24523
24540
  message.parentOrgId = object.parentOrgId >>> 0;
24524
24541
  if (object.country != null)
24525
24542
  message.country = String(object.country);
24543
+ if (object.hasEapCoverage != null)
24544
+ message.hasEapCoverage = Boolean(object.hasEapCoverage);
24526
24545
  return message;
24527
24546
  };
24528
24547
 
@@ -24562,6 +24581,7 @@ $root.b2b = (function() {
24562
24581
  object.rootOrgId = 0;
24563
24582
  object.parentOrgId = 0;
24564
24583
  object.country = "";
24584
+ object.hasEapCoverage = false;
24565
24585
  }
24566
24586
  if (message.orgId != null && message.hasOwnProperty("orgId"))
24567
24587
  object.orgId = message.orgId;
@@ -24608,6 +24628,8 @@ $root.b2b = (function() {
24608
24628
  object.parentOrgId = message.parentOrgId;
24609
24629
  if (message.country != null && message.hasOwnProperty("country"))
24610
24630
  object.country = message.country;
24631
+ if (message.hasEapCoverage != null && message.hasOwnProperty("hasEapCoverage"))
24632
+ object.hasEapCoverage = message.hasEapCoverage;
24611
24633
  return object;
24612
24634
  };
24613
24635
 
@@ -107376,12 +107398,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107376
107398
  * @name IEnterpriseUserEnrollmentUpgraded
107377
107399
  * @interface IEnterpriseUserEnrollmentUpgraded
107378
107400
  * @property {string|null} [userId] EnterpriseUserEnrollmentUpgraded userId
107379
- * @property {number|null} [orgId] EnterpriseUserEnrollmentUpgraded orgId
107401
+ * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentUpgraded subscriptionOrgId
107380
107402
  * @property {string|null} [enrollmentUrl] EnterpriseUserEnrollmentUpgraded enrollmentUrl
107381
107403
  * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] EnterpriseUserEnrollmentUpgraded enrollmentFlow
107382
107404
  * @property {b2b.EnrollmentFlow|null} [priorEnrollmentFlow] EnterpriseUserEnrollmentUpgraded priorEnrollmentFlow
107383
107405
  * @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentUpgraded timestamp
107384
- * @property {number|null} [rootOrgId] EnterpriseUserEnrollmentUpgraded rootOrgId
107406
+ * @property {number|null} [enrollmentOrgId] EnterpriseUserEnrollmentUpgraded enrollmentOrgId
107385
107407
  */
107386
107408
 
107387
107409
  /**
@@ -107408,12 +107430,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107408
107430
  EnterpriseUserEnrollmentUpgraded.prototype.userId = "";
107409
107431
 
107410
107432
  /**
107411
- * EnterpriseUserEnrollmentUpgraded orgId.
107412
- * @member {number} orgId
107433
+ * EnterpriseUserEnrollmentUpgraded subscriptionOrgId.
107434
+ * @member {number} subscriptionOrgId
107413
107435
  * @memberof EnterpriseUserEnrollmentUpgraded
107414
107436
  * @instance
107415
107437
  */
107416
- EnterpriseUserEnrollmentUpgraded.prototype.orgId = 0;
107438
+ EnterpriseUserEnrollmentUpgraded.prototype.subscriptionOrgId = 0;
107417
107439
 
107418
107440
  /**
107419
107441
  * EnterpriseUserEnrollmentUpgraded enrollmentUrl.
@@ -107448,12 +107470,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107448
107470
  EnterpriseUserEnrollmentUpgraded.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
107449
107471
 
107450
107472
  /**
107451
- * EnterpriseUserEnrollmentUpgraded rootOrgId.
107452
- * @member {number} rootOrgId
107473
+ * EnterpriseUserEnrollmentUpgraded enrollmentOrgId.
107474
+ * @member {number} enrollmentOrgId
107453
107475
  * @memberof EnterpriseUserEnrollmentUpgraded
107454
107476
  * @instance
107455
107477
  */
107456
- EnterpriseUserEnrollmentUpgraded.prototype.rootOrgId = 0;
107478
+ EnterpriseUserEnrollmentUpgraded.prototype.enrollmentOrgId = 0;
107457
107479
 
107458
107480
  /**
107459
107481
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
@@ -107481,8 +107503,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107481
107503
  writer = $Writer.create();
107482
107504
  if (message.userId != null && message.hasOwnProperty("userId"))
107483
107505
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
107484
- if (message.orgId != null && message.hasOwnProperty("orgId"))
107485
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.orgId);
107506
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
107507
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.subscriptionOrgId);
107486
107508
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
107487
107509
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.enrollmentUrl);
107488
107510
  if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
@@ -107491,8 +107513,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107491
107513
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.priorEnrollmentFlow);
107492
107514
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
107493
107515
  writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.timestamp);
107494
- if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
107495
- writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.rootOrgId);
107516
+ if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
107517
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.enrollmentOrgId);
107496
107518
  return writer;
107497
107519
  };
107498
107520
 
@@ -107531,7 +107553,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107531
107553
  message.userId = reader.string();
107532
107554
  break;
107533
107555
  case 2:
107534
- message.orgId = reader.uint32();
107556
+ message.subscriptionOrgId = reader.uint32();
107535
107557
  break;
107536
107558
  case 3:
107537
107559
  message.enrollmentUrl = reader.string();
@@ -107546,7 +107568,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107546
107568
  message.timestamp = reader.uint64();
107547
107569
  break;
107548
107570
  case 7:
107549
- message.rootOrgId = reader.uint32();
107571
+ message.enrollmentOrgId = reader.uint32();
107550
107572
  break;
107551
107573
  default:
107552
107574
  reader.skipType(tag & 7);
@@ -107586,9 +107608,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107586
107608
  if (message.userId != null && message.hasOwnProperty("userId"))
107587
107609
  if (!$util.isString(message.userId))
107588
107610
  return "userId: string expected";
107589
- if (message.orgId != null && message.hasOwnProperty("orgId"))
107590
- if (!$util.isInteger(message.orgId))
107591
- return "orgId: integer expected";
107611
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
107612
+ if (!$util.isInteger(message.subscriptionOrgId))
107613
+ return "subscriptionOrgId: integer expected";
107592
107614
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
107593
107615
  if (!$util.isString(message.enrollmentUrl))
107594
107616
  return "enrollmentUrl: string expected";
@@ -107617,9 +107639,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107617
107639
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
107618
107640
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
107619
107641
  return "timestamp: integer|Long expected";
107620
- if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
107621
- if (!$util.isInteger(message.rootOrgId))
107622
- return "rootOrgId: integer expected";
107642
+ if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
107643
+ if (!$util.isInteger(message.enrollmentOrgId))
107644
+ return "enrollmentOrgId: integer expected";
107623
107645
  return null;
107624
107646
  };
107625
107647
 
@@ -107637,8 +107659,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107637
107659
  var message = new $root.EnterpriseUserEnrollmentUpgraded();
107638
107660
  if (object.userId != null)
107639
107661
  message.userId = String(object.userId);
107640
- if (object.orgId != null)
107641
- message.orgId = object.orgId >>> 0;
107662
+ if (object.subscriptionOrgId != null)
107663
+ message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
107642
107664
  if (object.enrollmentUrl != null)
107643
107665
  message.enrollmentUrl = String(object.enrollmentUrl);
107644
107666
  switch (object.enrollmentFlow) {
@@ -107694,8 +107716,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107694
107716
  message.timestamp = object.timestamp;
107695
107717
  else if (typeof object.timestamp === "object")
107696
107718
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
107697
- if (object.rootOrgId != null)
107698
- message.rootOrgId = object.rootOrgId >>> 0;
107719
+ if (object.enrollmentOrgId != null)
107720
+ message.enrollmentOrgId = object.enrollmentOrgId >>> 0;
107699
107721
  return message;
107700
107722
  };
107701
107723
 
@@ -107714,7 +107736,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107714
107736
  var object = {};
107715
107737
  if (options.defaults) {
107716
107738
  object.userId = "";
107717
- object.orgId = 0;
107739
+ object.subscriptionOrgId = 0;
107718
107740
  object.enrollmentUrl = "";
107719
107741
  object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
107720
107742
  object.priorEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
@@ -107723,12 +107745,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107723
107745
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
107724
107746
  } else
107725
107747
  object.timestamp = options.longs === String ? "0" : 0;
107726
- object.rootOrgId = 0;
107748
+ object.enrollmentOrgId = 0;
107727
107749
  }
107728
107750
  if (message.userId != null && message.hasOwnProperty("userId"))
107729
107751
  object.userId = message.userId;
107730
- if (message.orgId != null && message.hasOwnProperty("orgId"))
107731
- object.orgId = message.orgId;
107752
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
107753
+ object.subscriptionOrgId = message.subscriptionOrgId;
107732
107754
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
107733
107755
  object.enrollmentUrl = message.enrollmentUrl;
107734
107756
  if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
@@ -107740,8 +107762,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107740
107762
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
107741
107763
  else
107742
107764
  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;
107743
- if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
107744
- object.rootOrgId = message.rootOrgId;
107765
+ if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
107766
+ object.enrollmentOrgId = message.enrollmentOrgId;
107745
107767
  return object;
107746
107768
  };
107747
107769
 
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.536.0"
19
+ "version": "1.538.0"
20
20
  }