@headspace/protos-events 1.536.0 → 1.537.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
@@ -38099,8 +38099,8 @@ export interface IEnterpriseUserEnrollmentUpgraded {
38099
38099
  /** EnterpriseUserEnrollmentUpgraded userId */
38100
38100
  userId?: (string|null);
38101
38101
 
38102
- /** EnterpriseUserEnrollmentUpgraded orgId */
38103
- orgId?: (number|null);
38102
+ /** EnterpriseUserEnrollmentUpgraded subscriptionOrgId */
38103
+ subscriptionOrgId?: (number|null);
38104
38104
 
38105
38105
  /** EnterpriseUserEnrollmentUpgraded enrollmentUrl */
38106
38106
  enrollmentUrl?: (string|null);
@@ -38114,8 +38114,8 @@ export interface IEnterpriseUserEnrollmentUpgraded {
38114
38114
  /** EnterpriseUserEnrollmentUpgraded timestamp */
38115
38115
  timestamp?: (number|Long|null);
38116
38116
 
38117
- /** EnterpriseUserEnrollmentUpgraded rootOrgId */
38118
- rootOrgId?: (number|null);
38117
+ /** EnterpriseUserEnrollmentUpgraded enrollmentOrgId */
38118
+ enrollmentOrgId?: (number|null);
38119
38119
  }
38120
38120
 
38121
38121
  /** Represents an EnterpriseUserEnrollmentUpgraded. */
@@ -38130,8 +38130,8 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
38130
38130
  /** EnterpriseUserEnrollmentUpgraded userId. */
38131
38131
  public userId: string;
38132
38132
 
38133
- /** EnterpriseUserEnrollmentUpgraded orgId. */
38134
- public orgId: number;
38133
+ /** EnterpriseUserEnrollmentUpgraded subscriptionOrgId. */
38134
+ public subscriptionOrgId: number;
38135
38135
 
38136
38136
  /** EnterpriseUserEnrollmentUpgraded enrollmentUrl. */
38137
38137
  public enrollmentUrl: string;
@@ -38145,8 +38145,8 @@ export class EnterpriseUserEnrollmentUpgraded implements IEnterpriseUserEnrollme
38145
38145
  /** EnterpriseUserEnrollmentUpgraded timestamp. */
38146
38146
  public timestamp: (number|Long);
38147
38147
 
38148
- /** EnterpriseUserEnrollmentUpgraded rootOrgId. */
38149
- public rootOrgId: number;
38148
+ /** EnterpriseUserEnrollmentUpgraded enrollmentOrgId. */
38149
+ public enrollmentOrgId: number;
38150
38150
 
38151
38151
  /**
38152
38152
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
package/lib/index.js CHANGED
@@ -107376,12 +107376,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107376
107376
  * @name IEnterpriseUserEnrollmentUpgraded
107377
107377
  * @interface IEnterpriseUserEnrollmentUpgraded
107378
107378
  * @property {string|null} [userId] EnterpriseUserEnrollmentUpgraded userId
107379
- * @property {number|null} [orgId] EnterpriseUserEnrollmentUpgraded orgId
107379
+ * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentUpgraded subscriptionOrgId
107380
107380
  * @property {string|null} [enrollmentUrl] EnterpriseUserEnrollmentUpgraded enrollmentUrl
107381
107381
  * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] EnterpriseUserEnrollmentUpgraded enrollmentFlow
107382
107382
  * @property {b2b.EnrollmentFlow|null} [priorEnrollmentFlow] EnterpriseUserEnrollmentUpgraded priorEnrollmentFlow
107383
107383
  * @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentUpgraded timestamp
107384
- * @property {number|null} [rootOrgId] EnterpriseUserEnrollmentUpgraded rootOrgId
107384
+ * @property {number|null} [enrollmentOrgId] EnterpriseUserEnrollmentUpgraded enrollmentOrgId
107385
107385
  */
107386
107386
 
107387
107387
  /**
@@ -107408,12 +107408,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107408
107408
  EnterpriseUserEnrollmentUpgraded.prototype.userId = "";
107409
107409
 
107410
107410
  /**
107411
- * EnterpriseUserEnrollmentUpgraded orgId.
107412
- * @member {number} orgId
107411
+ * EnterpriseUserEnrollmentUpgraded subscriptionOrgId.
107412
+ * @member {number} subscriptionOrgId
107413
107413
  * @memberof EnterpriseUserEnrollmentUpgraded
107414
107414
  * @instance
107415
107415
  */
107416
- EnterpriseUserEnrollmentUpgraded.prototype.orgId = 0;
107416
+ EnterpriseUserEnrollmentUpgraded.prototype.subscriptionOrgId = 0;
107417
107417
 
107418
107418
  /**
107419
107419
  * EnterpriseUserEnrollmentUpgraded enrollmentUrl.
@@ -107448,12 +107448,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107448
107448
  EnterpriseUserEnrollmentUpgraded.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
107449
107449
 
107450
107450
  /**
107451
- * EnterpriseUserEnrollmentUpgraded rootOrgId.
107452
- * @member {number} rootOrgId
107451
+ * EnterpriseUserEnrollmentUpgraded enrollmentOrgId.
107452
+ * @member {number} enrollmentOrgId
107453
107453
  * @memberof EnterpriseUserEnrollmentUpgraded
107454
107454
  * @instance
107455
107455
  */
107456
- EnterpriseUserEnrollmentUpgraded.prototype.rootOrgId = 0;
107456
+ EnterpriseUserEnrollmentUpgraded.prototype.enrollmentOrgId = 0;
107457
107457
 
107458
107458
  /**
107459
107459
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
@@ -107481,8 +107481,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107481
107481
  writer = $Writer.create();
107482
107482
  if (message.userId != null && message.hasOwnProperty("userId"))
107483
107483
  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);
107484
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
107485
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.subscriptionOrgId);
107486
107486
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
107487
107487
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.enrollmentUrl);
107488
107488
  if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
@@ -107491,8 +107491,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107491
107491
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.priorEnrollmentFlow);
107492
107492
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
107493
107493
  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);
107494
+ if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
107495
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.enrollmentOrgId);
107496
107496
  return writer;
107497
107497
  };
107498
107498
 
@@ -107531,7 +107531,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107531
107531
  message.userId = reader.string();
107532
107532
  break;
107533
107533
  case 2:
107534
- message.orgId = reader.uint32();
107534
+ message.subscriptionOrgId = reader.uint32();
107535
107535
  break;
107536
107536
  case 3:
107537
107537
  message.enrollmentUrl = reader.string();
@@ -107546,7 +107546,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107546
107546
  message.timestamp = reader.uint64();
107547
107547
  break;
107548
107548
  case 7:
107549
- message.rootOrgId = reader.uint32();
107549
+ message.enrollmentOrgId = reader.uint32();
107550
107550
  break;
107551
107551
  default:
107552
107552
  reader.skipType(tag & 7);
@@ -107586,9 +107586,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107586
107586
  if (message.userId != null && message.hasOwnProperty("userId"))
107587
107587
  if (!$util.isString(message.userId))
107588
107588
  return "userId: string expected";
107589
- if (message.orgId != null && message.hasOwnProperty("orgId"))
107590
- if (!$util.isInteger(message.orgId))
107591
- return "orgId: integer expected";
107589
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
107590
+ if (!$util.isInteger(message.subscriptionOrgId))
107591
+ return "subscriptionOrgId: integer expected";
107592
107592
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
107593
107593
  if (!$util.isString(message.enrollmentUrl))
107594
107594
  return "enrollmentUrl: string expected";
@@ -107617,9 +107617,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107617
107617
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
107618
107618
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
107619
107619
  return "timestamp: integer|Long expected";
107620
- if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
107621
- if (!$util.isInteger(message.rootOrgId))
107622
- return "rootOrgId: integer expected";
107620
+ if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
107621
+ if (!$util.isInteger(message.enrollmentOrgId))
107622
+ return "enrollmentOrgId: integer expected";
107623
107623
  return null;
107624
107624
  };
107625
107625
 
@@ -107637,8 +107637,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107637
107637
  var message = new $root.EnterpriseUserEnrollmentUpgraded();
107638
107638
  if (object.userId != null)
107639
107639
  message.userId = String(object.userId);
107640
- if (object.orgId != null)
107641
- message.orgId = object.orgId >>> 0;
107640
+ if (object.subscriptionOrgId != null)
107641
+ message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
107642
107642
  if (object.enrollmentUrl != null)
107643
107643
  message.enrollmentUrl = String(object.enrollmentUrl);
107644
107644
  switch (object.enrollmentFlow) {
@@ -107694,8 +107694,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107694
107694
  message.timestamp = object.timestamp;
107695
107695
  else if (typeof object.timestamp === "object")
107696
107696
  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;
107697
+ if (object.enrollmentOrgId != null)
107698
+ message.enrollmentOrgId = object.enrollmentOrgId >>> 0;
107699
107699
  return message;
107700
107700
  };
107701
107701
 
@@ -107714,7 +107714,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107714
107714
  var object = {};
107715
107715
  if (options.defaults) {
107716
107716
  object.userId = "";
107717
- object.orgId = 0;
107717
+ object.subscriptionOrgId = 0;
107718
107718
  object.enrollmentUrl = "";
107719
107719
  object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
107720
107720
  object.priorEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
@@ -107723,12 +107723,12 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107723
107723
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
107724
107724
  } else
107725
107725
  object.timestamp = options.longs === String ? "0" : 0;
107726
- object.rootOrgId = 0;
107726
+ object.enrollmentOrgId = 0;
107727
107727
  }
107728
107728
  if (message.userId != null && message.hasOwnProperty("userId"))
107729
107729
  object.userId = message.userId;
107730
- if (message.orgId != null && message.hasOwnProperty("orgId"))
107731
- object.orgId = message.orgId;
107730
+ if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
107731
+ object.subscriptionOrgId = message.subscriptionOrgId;
107732
107732
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
107733
107733
  object.enrollmentUrl = message.enrollmentUrl;
107734
107734
  if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
@@ -107740,8 +107740,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
107740
107740
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
107741
107741
  else
107742
107742
  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;
107743
+ if (message.enrollmentOrgId != null && message.hasOwnProperty("enrollmentOrgId"))
107744
+ object.enrollmentOrgId = message.enrollmentOrgId;
107745
107745
  return object;
107746
107746
  };
107747
107747
 
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.537.0"
20
20
  }