@headspace/protos-events 1.428.0 → 1.429.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
@@ -10040,6 +10040,12 @@ export namespace b2b {
10040
10040
 
10041
10041
  /** Organization orgAddons */
10042
10042
  orgAddons?: (b2b.AddOn[]|null);
10043
+
10044
+ /** Organization rootOrgHeadspaceHealthId */
10045
+ rootOrgHeadspaceHealthId?: (string|null);
10046
+
10047
+ /** Organization parentOrgHeadspaceHealthId */
10048
+ parentOrgHeadspaceHealthId?: (string|null);
10043
10049
  }
10044
10050
 
10045
10051
  /** Represents an Organization. */
@@ -10093,6 +10099,12 @@ export namespace b2b {
10093
10099
  /** Organization orgAddons. */
10094
10100
  public orgAddons: b2b.AddOn[];
10095
10101
 
10102
+ /** Organization rootOrgHeadspaceHealthId. */
10103
+ public rootOrgHeadspaceHealthId: string;
10104
+
10105
+ /** Organization parentOrgHeadspaceHealthId. */
10106
+ public parentOrgHeadspaceHealthId: string;
10107
+
10096
10108
  /**
10097
10109
  * Creates a new Organization instance using the specified properties.
10098
10110
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -23948,6 +23948,8 @@ $root.b2b = (function() {
23948
23948
  * @property {boolean|null} [mfaEnabled] Organization mfaEnabled
23949
23949
  * @property {string|null} [orgSlug] Organization orgSlug
23950
23950
  * @property {Array.<b2b.AddOn>|null} [orgAddons] Organization orgAddons
23951
+ * @property {string|null} [rootOrgHeadspaceHealthId] Organization rootOrgHeadspaceHealthId
23952
+ * @property {string|null} [parentOrgHeadspaceHealthId] Organization parentOrgHeadspaceHealthId
23951
23953
  */
23952
23954
 
23953
23955
  /**
@@ -24078,6 +24080,22 @@ $root.b2b = (function() {
24078
24080
  */
24079
24081
  Organization.prototype.orgAddons = $util.emptyArray;
24080
24082
 
24083
+ /**
24084
+ * Organization rootOrgHeadspaceHealthId.
24085
+ * @member {string} rootOrgHeadspaceHealthId
24086
+ * @memberof b2b.Organization
24087
+ * @instance
24088
+ */
24089
+ Organization.prototype.rootOrgHeadspaceHealthId = "";
24090
+
24091
+ /**
24092
+ * Organization parentOrgHeadspaceHealthId.
24093
+ * @member {string} parentOrgHeadspaceHealthId
24094
+ * @memberof b2b.Organization
24095
+ * @instance
24096
+ */
24097
+ Organization.prototype.parentOrgHeadspaceHealthId = "";
24098
+
24081
24099
  /**
24082
24100
  * Creates a new Organization instance using the specified properties.
24083
24101
  * @function create
@@ -24134,6 +24152,10 @@ $root.b2b = (function() {
24134
24152
  writer.int32(message.orgAddons[i]);
24135
24153
  writer.ldelim();
24136
24154
  }
24155
+ if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
24156
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.rootOrgHeadspaceHealthId);
24157
+ if (message.parentOrgHeadspaceHealthId != null && message.hasOwnProperty("parentOrgHeadspaceHealthId"))
24158
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.parentOrgHeadspaceHealthId);
24137
24159
  return writer;
24138
24160
  };
24139
24161
 
@@ -24217,6 +24239,12 @@ $root.b2b = (function() {
24217
24239
  } else
24218
24240
  message.orgAddons.push(reader.int32());
24219
24241
  break;
24242
+ case 15:
24243
+ message.rootOrgHeadspaceHealthId = reader.string();
24244
+ break;
24245
+ case 16:
24246
+ message.parentOrgHeadspaceHealthId = reader.string();
24247
+ break;
24220
24248
  default:
24221
24249
  reader.skipType(tag & 7);
24222
24250
  break;
@@ -24328,6 +24356,12 @@ $root.b2b = (function() {
24328
24356
  break;
24329
24357
  }
24330
24358
  }
24359
+ if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
24360
+ if (!$util.isString(message.rootOrgHeadspaceHealthId))
24361
+ return "rootOrgHeadspaceHealthId: string expected";
24362
+ if (message.parentOrgHeadspaceHealthId != null && message.hasOwnProperty("parentOrgHeadspaceHealthId"))
24363
+ if (!$util.isString(message.parentOrgHeadspaceHealthId))
24364
+ return "parentOrgHeadspaceHealthId: string expected";
24331
24365
  return null;
24332
24366
  };
24333
24367
 
@@ -24462,6 +24496,10 @@ $root.b2b = (function() {
24462
24496
  break;
24463
24497
  }
24464
24498
  }
24499
+ if (object.rootOrgHeadspaceHealthId != null)
24500
+ message.rootOrgHeadspaceHealthId = String(object.rootOrgHeadspaceHealthId);
24501
+ if (object.parentOrgHeadspaceHealthId != null)
24502
+ message.parentOrgHeadspaceHealthId = String(object.parentOrgHeadspaceHealthId);
24465
24503
  return message;
24466
24504
  };
24467
24505
 
@@ -24494,6 +24532,8 @@ $root.b2b = (function() {
24494
24532
  object.headspaceHealthId = "";
24495
24533
  object.mfaEnabled = false;
24496
24534
  object.orgSlug = "";
24535
+ object.rootOrgHeadspaceHealthId = "";
24536
+ object.parentOrgHeadspaceHealthId = "";
24497
24537
  }
24498
24538
  if (message.orgId != null && message.hasOwnProperty("orgId"))
24499
24539
  object.orgId = message.orgId;
@@ -24526,6 +24566,10 @@ $root.b2b = (function() {
24526
24566
  for (var j = 0; j < message.orgAddons.length; ++j)
24527
24567
  object.orgAddons[j] = options.enums === String ? $root.b2b.AddOn[message.orgAddons[j]] : message.orgAddons[j];
24528
24568
  }
24569
+ if (message.rootOrgHeadspaceHealthId != null && message.hasOwnProperty("rootOrgHeadspaceHealthId"))
24570
+ object.rootOrgHeadspaceHealthId = message.rootOrgHeadspaceHealthId;
24571
+ if (message.parentOrgHeadspaceHealthId != null && message.hasOwnProperty("parentOrgHeadspaceHealthId"))
24572
+ object.parentOrgHeadspaceHealthId = message.parentOrgHeadspaceHealthId;
24529
24573
  return object;
24530
24574
  };
24531
24575
 
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.428.0"
19
+ "version": "1.429.0"
20
20
  }