@headspace/protos-events 1.530.0 → 1.531.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 +6 -0
- package/lib/index.js +22 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10023,6 +10023,9 @@ export namespace b2b {
|
|
|
10023
10023
|
|
|
10024
10024
|
/** Organization parentOrgId */
|
|
10025
10025
|
parentOrgId?: (number|null);
|
|
10026
|
+
|
|
10027
|
+
/** Organization country */
|
|
10028
|
+
country?: (string|null);
|
|
10026
10029
|
}
|
|
10027
10030
|
|
|
10028
10031
|
/** Represents an Organization. */
|
|
@@ -10094,6 +10097,9 @@ export namespace b2b {
|
|
|
10094
10097
|
/** Organization parentOrgId. */
|
|
10095
10098
|
public parentOrgId: number;
|
|
10096
10099
|
|
|
10100
|
+
/** Organization country. */
|
|
10101
|
+
public country: string;
|
|
10102
|
+
|
|
10097
10103
|
/**
|
|
10098
10104
|
* Creates a new Organization instance using the specified properties.
|
|
10099
10105
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -23882,6 +23882,7 @@ $root.b2b = (function() {
|
|
|
23882
23882
|
* @property {string|null} [enrollmentUrl] Organization enrollmentUrl
|
|
23883
23883
|
* @property {number|null} [rootOrgId] Organization rootOrgId
|
|
23884
23884
|
* @property {number|null} [parentOrgId] Organization parentOrgId
|
|
23885
|
+
* @property {string|null} [country] Organization country
|
|
23885
23886
|
*/
|
|
23886
23887
|
|
|
23887
23888
|
/**
|
|
@@ -24060,6 +24061,14 @@ $root.b2b = (function() {
|
|
|
24060
24061
|
*/
|
|
24061
24062
|
Organization.prototype.parentOrgId = 0;
|
|
24062
24063
|
|
|
24064
|
+
/**
|
|
24065
|
+
* Organization country.
|
|
24066
|
+
* @member {string} country
|
|
24067
|
+
* @memberof b2b.Organization
|
|
24068
|
+
* @instance
|
|
24069
|
+
*/
|
|
24070
|
+
Organization.prototype.country = "";
|
|
24071
|
+
|
|
24063
24072
|
/**
|
|
24064
24073
|
* Creates a new Organization instance using the specified properties.
|
|
24065
24074
|
* @function create
|
|
@@ -24128,6 +24137,8 @@ $root.b2b = (function() {
|
|
|
24128
24137
|
writer.uint32(/* id 19, wireType 0 =*/152).uint32(message.rootOrgId);
|
|
24129
24138
|
if (message.parentOrgId != null && message.hasOwnProperty("parentOrgId"))
|
|
24130
24139
|
writer.uint32(/* id 20, wireType 0 =*/160).uint32(message.parentOrgId);
|
|
24140
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
24141
|
+
writer.uint32(/* id 21, wireType 2 =*/170).string(message.country);
|
|
24131
24142
|
return writer;
|
|
24132
24143
|
};
|
|
24133
24144
|
|
|
@@ -24229,6 +24240,9 @@ $root.b2b = (function() {
|
|
|
24229
24240
|
case 20:
|
|
24230
24241
|
message.parentOrgId = reader.uint32();
|
|
24231
24242
|
break;
|
|
24243
|
+
case 21:
|
|
24244
|
+
message.country = reader.string();
|
|
24245
|
+
break;
|
|
24232
24246
|
default:
|
|
24233
24247
|
reader.skipType(tag & 7);
|
|
24234
24248
|
break;
|
|
@@ -24358,6 +24372,9 @@ $root.b2b = (function() {
|
|
|
24358
24372
|
if (message.parentOrgId != null && message.hasOwnProperty("parentOrgId"))
|
|
24359
24373
|
if (!$util.isInteger(message.parentOrgId))
|
|
24360
24374
|
return "parentOrgId: integer expected";
|
|
24375
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
24376
|
+
if (!$util.isString(message.country))
|
|
24377
|
+
return "country: string expected";
|
|
24361
24378
|
return null;
|
|
24362
24379
|
};
|
|
24363
24380
|
|
|
@@ -24504,6 +24521,8 @@ $root.b2b = (function() {
|
|
|
24504
24521
|
message.rootOrgId = object.rootOrgId >>> 0;
|
|
24505
24522
|
if (object.parentOrgId != null)
|
|
24506
24523
|
message.parentOrgId = object.parentOrgId >>> 0;
|
|
24524
|
+
if (object.country != null)
|
|
24525
|
+
message.country = String(object.country);
|
|
24507
24526
|
return message;
|
|
24508
24527
|
};
|
|
24509
24528
|
|
|
@@ -24542,6 +24561,7 @@ $root.b2b = (function() {
|
|
|
24542
24561
|
object.enrollmentUrl = "";
|
|
24543
24562
|
object.rootOrgId = 0;
|
|
24544
24563
|
object.parentOrgId = 0;
|
|
24564
|
+
object.country = "";
|
|
24545
24565
|
}
|
|
24546
24566
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
24547
24567
|
object.orgId = message.orgId;
|
|
@@ -24586,6 +24606,8 @@ $root.b2b = (function() {
|
|
|
24586
24606
|
object.rootOrgId = message.rootOrgId;
|
|
24587
24607
|
if (message.parentOrgId != null && message.hasOwnProperty("parentOrgId"))
|
|
24588
24608
|
object.parentOrgId = message.parentOrgId;
|
|
24609
|
+
if (message.country != null && message.hasOwnProperty("country"))
|
|
24610
|
+
object.country = message.country;
|
|
24589
24611
|
return object;
|
|
24590
24612
|
};
|
|
24591
24613
|
|
package/package.json
CHANGED