@headspace/protos-events 1.450.0 → 1.451.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 +12 -0
- package/lib/index.js +44 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10052,6 +10052,12 @@ export namespace b2b {
|
|
|
10052
10052
|
|
|
10053
10053
|
/** Organization enrollmentUrl */
|
|
10054
10054
|
enrollmentUrl?: (string|null);
|
|
10055
|
+
|
|
10056
|
+
/** Organization rootOrgId */
|
|
10057
|
+
rootOrgId?: (number|null);
|
|
10058
|
+
|
|
10059
|
+
/** Organization parentOrgId */
|
|
10060
|
+
parentOrgId?: (number|null);
|
|
10055
10061
|
}
|
|
10056
10062
|
|
|
10057
10063
|
/** Represents an Organization. */
|
|
@@ -10117,6 +10123,12 @@ export namespace b2b {
|
|
|
10117
10123
|
/** Organization enrollmentUrl. */
|
|
10118
10124
|
public enrollmentUrl: string;
|
|
10119
10125
|
|
|
10126
|
+
/** Organization rootOrgId. */
|
|
10127
|
+
public rootOrgId: number;
|
|
10128
|
+
|
|
10129
|
+
/** Organization parentOrgId. */
|
|
10130
|
+
public parentOrgId: number;
|
|
10131
|
+
|
|
10120
10132
|
/**
|
|
10121
10133
|
* Creates a new Organization instance using the specified properties.
|
|
10122
10134
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -23952,6 +23952,8 @@ $root.b2b = (function() {
|
|
|
23952
23952
|
* @property {string|null} [parentOrgHeadspaceHealthId] Organization parentOrgHeadspaceHealthId
|
|
23953
23953
|
* @property {boolean|null} [enabledConnected] Organization enabledConnected
|
|
23954
23954
|
* @property {string|null} [enrollmentUrl] Organization enrollmentUrl
|
|
23955
|
+
* @property {number|null} [rootOrgId] Organization rootOrgId
|
|
23956
|
+
* @property {number|null} [parentOrgId] Organization parentOrgId
|
|
23955
23957
|
*/
|
|
23956
23958
|
|
|
23957
23959
|
/**
|
|
@@ -24114,6 +24116,22 @@ $root.b2b = (function() {
|
|
|
24114
24116
|
*/
|
|
24115
24117
|
Organization.prototype.enrollmentUrl = "";
|
|
24116
24118
|
|
|
24119
|
+
/**
|
|
24120
|
+
* Organization rootOrgId.
|
|
24121
|
+
* @member {number} rootOrgId
|
|
24122
|
+
* @memberof b2b.Organization
|
|
24123
|
+
* @instance
|
|
24124
|
+
*/
|
|
24125
|
+
Organization.prototype.rootOrgId = 0;
|
|
24126
|
+
|
|
24127
|
+
/**
|
|
24128
|
+
* Organization parentOrgId.
|
|
24129
|
+
* @member {number} parentOrgId
|
|
24130
|
+
* @memberof b2b.Organization
|
|
24131
|
+
* @instance
|
|
24132
|
+
*/
|
|
24133
|
+
Organization.prototype.parentOrgId = 0;
|
|
24134
|
+
|
|
24117
24135
|
/**
|
|
24118
24136
|
* Creates a new Organization instance using the specified properties.
|
|
24119
24137
|
* @function create
|
|
@@ -24178,6 +24196,10 @@ $root.b2b = (function() {
|
|
|
24178
24196
|
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.enabledConnected);
|
|
24179
24197
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
24180
24198
|
writer.uint32(/* id 18, wireType 2 =*/146).string(message.enrollmentUrl);
|
|
24199
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
24200
|
+
writer.uint32(/* id 19, wireType 0 =*/152).uint32(message.rootOrgId);
|
|
24201
|
+
if (message.parentOrgId != null && message.hasOwnProperty("parentOrgId"))
|
|
24202
|
+
writer.uint32(/* id 20, wireType 0 =*/160).uint32(message.parentOrgId);
|
|
24181
24203
|
return writer;
|
|
24182
24204
|
};
|
|
24183
24205
|
|
|
@@ -24273,6 +24295,12 @@ $root.b2b = (function() {
|
|
|
24273
24295
|
case 18:
|
|
24274
24296
|
message.enrollmentUrl = reader.string();
|
|
24275
24297
|
break;
|
|
24298
|
+
case 19:
|
|
24299
|
+
message.rootOrgId = reader.uint32();
|
|
24300
|
+
break;
|
|
24301
|
+
case 20:
|
|
24302
|
+
message.parentOrgId = reader.uint32();
|
|
24303
|
+
break;
|
|
24276
24304
|
default:
|
|
24277
24305
|
reader.skipType(tag & 7);
|
|
24278
24306
|
break;
|
|
@@ -24396,6 +24424,12 @@ $root.b2b = (function() {
|
|
|
24396
24424
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
24397
24425
|
if (!$util.isString(message.enrollmentUrl))
|
|
24398
24426
|
return "enrollmentUrl: string expected";
|
|
24427
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
24428
|
+
if (!$util.isInteger(message.rootOrgId))
|
|
24429
|
+
return "rootOrgId: integer expected";
|
|
24430
|
+
if (message.parentOrgId != null && message.hasOwnProperty("parentOrgId"))
|
|
24431
|
+
if (!$util.isInteger(message.parentOrgId))
|
|
24432
|
+
return "parentOrgId: integer expected";
|
|
24399
24433
|
return null;
|
|
24400
24434
|
};
|
|
24401
24435
|
|
|
@@ -24538,6 +24572,10 @@ $root.b2b = (function() {
|
|
|
24538
24572
|
message.enabledConnected = Boolean(object.enabledConnected);
|
|
24539
24573
|
if (object.enrollmentUrl != null)
|
|
24540
24574
|
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
24575
|
+
if (object.rootOrgId != null)
|
|
24576
|
+
message.rootOrgId = object.rootOrgId >>> 0;
|
|
24577
|
+
if (object.parentOrgId != null)
|
|
24578
|
+
message.parentOrgId = object.parentOrgId >>> 0;
|
|
24541
24579
|
return message;
|
|
24542
24580
|
};
|
|
24543
24581
|
|
|
@@ -24574,6 +24612,8 @@ $root.b2b = (function() {
|
|
|
24574
24612
|
object.parentOrgHeadspaceHealthId = "";
|
|
24575
24613
|
object.enabledConnected = false;
|
|
24576
24614
|
object.enrollmentUrl = "";
|
|
24615
|
+
object.rootOrgId = 0;
|
|
24616
|
+
object.parentOrgId = 0;
|
|
24577
24617
|
}
|
|
24578
24618
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
24579
24619
|
object.orgId = message.orgId;
|
|
@@ -24614,6 +24654,10 @@ $root.b2b = (function() {
|
|
|
24614
24654
|
object.enabledConnected = message.enabledConnected;
|
|
24615
24655
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
24616
24656
|
object.enrollmentUrl = message.enrollmentUrl;
|
|
24657
|
+
if (message.rootOrgId != null && message.hasOwnProperty("rootOrgId"))
|
|
24658
|
+
object.rootOrgId = message.rootOrgId;
|
|
24659
|
+
if (message.parentOrgId != null && message.hasOwnProperty("parentOrgId"))
|
|
24660
|
+
object.parentOrgId = message.parentOrgId;
|
|
24617
24661
|
return object;
|
|
24618
24662
|
};
|
|
24619
24663
|
|
package/package.json
CHANGED