@headspace/protos-events 1.264.0 → 1.266.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 +2 -7
- package/lib/index.js +7 -22
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -9282,7 +9282,8 @@ export namespace b2b {
|
|
|
9282
9282
|
REMOVAL_REASON_ROLLOVER = 5,
|
|
9283
9283
|
REMOVAL_REASON_SSO_DEPROVISION = 6,
|
|
9284
9284
|
REMOVAL_REASON_SSO_ACCOUNT_UNLINK = 7,
|
|
9285
|
-
REMOVAL_REASON_USER_DOMAIN_REMOVAL = 8
|
|
9285
|
+
REMOVAL_REASON_USER_DOMAIN_REMOVAL = 8,
|
|
9286
|
+
REMOVAL_REASON_NEVER_LINKED_SSO = 9
|
|
9286
9287
|
}
|
|
9287
9288
|
|
|
9288
9289
|
/** OrgMemberPlan enum. */
|
|
@@ -11294,9 +11295,6 @@ export namespace userdomain {
|
|
|
11294
11295
|
|
|
11295
11296
|
/** User tags */
|
|
11296
11297
|
tags?: (userdomain.users.UserTag[]|null);
|
|
11297
|
-
|
|
11298
|
-
/** User isAnonymousUser */
|
|
11299
|
-
isAnonymousUser?: (boolean|null);
|
|
11300
11298
|
}
|
|
11301
11299
|
|
|
11302
11300
|
/** Represents a User. */
|
|
@@ -11362,9 +11360,6 @@ export namespace userdomain {
|
|
|
11362
11360
|
/** User tags. */
|
|
11363
11361
|
public tags: userdomain.users.UserTag[];
|
|
11364
11362
|
|
|
11365
|
-
/** User isAnonymousUser. */
|
|
11366
|
-
public isAnonymousUser: boolean;
|
|
11367
|
-
|
|
11368
11363
|
/**
|
|
11369
11364
|
* Creates a new User instance using the specified properties.
|
|
11370
11365
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -22028,6 +22028,7 @@ $root.b2b = (function() {
|
|
|
22028
22028
|
* @property {number} REMOVAL_REASON_SSO_DEPROVISION=6 REMOVAL_REASON_SSO_DEPROVISION value
|
|
22029
22029
|
* @property {number} REMOVAL_REASON_SSO_ACCOUNT_UNLINK=7 REMOVAL_REASON_SSO_ACCOUNT_UNLINK value
|
|
22030
22030
|
* @property {number} REMOVAL_REASON_USER_DOMAIN_REMOVAL=8 REMOVAL_REASON_USER_DOMAIN_REMOVAL value
|
|
22031
|
+
* @property {number} REMOVAL_REASON_NEVER_LINKED_SSO=9 REMOVAL_REASON_NEVER_LINKED_SSO value
|
|
22031
22032
|
*/
|
|
22032
22033
|
b2b.OrgMemberRemovalReason = (function() {
|
|
22033
22034
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -22040,6 +22041,7 @@ $root.b2b = (function() {
|
|
|
22040
22041
|
values[valuesById[6] = "REMOVAL_REASON_SSO_DEPROVISION"] = 6;
|
|
22041
22042
|
values[valuesById[7] = "REMOVAL_REASON_SSO_ACCOUNT_UNLINK"] = 7;
|
|
22042
22043
|
values[valuesById[8] = "REMOVAL_REASON_USER_DOMAIN_REMOVAL"] = 8;
|
|
22044
|
+
values[valuesById[9] = "REMOVAL_REASON_NEVER_LINKED_SSO"] = 9;
|
|
22043
22045
|
return values;
|
|
22044
22046
|
})();
|
|
22045
22047
|
|
|
@@ -27096,7 +27098,6 @@ $root.userdomain = (function() {
|
|
|
27096
27098
|
* @property {boolean|null} [isHeadspaceStaff] User isHeadspaceStaff
|
|
27097
27099
|
* @property {boolean|null} [isTestUser] User isTestUser
|
|
27098
27100
|
* @property {Array.<userdomain.users.UserTag>|null} [tags] User tags
|
|
27099
|
-
* @property {boolean|null} [isAnonymousUser] User isAnonymousUser
|
|
27100
27101
|
*/
|
|
27101
27102
|
|
|
27102
27103
|
/**
|
|
@@ -27259,14 +27260,6 @@ $root.userdomain = (function() {
|
|
|
27259
27260
|
*/
|
|
27260
27261
|
User.prototype.tags = $util.emptyArray;
|
|
27261
27262
|
|
|
27262
|
-
/**
|
|
27263
|
-
* User isAnonymousUser.
|
|
27264
|
-
* @member {boolean} isAnonymousUser
|
|
27265
|
-
* @memberof userdomain.users.User
|
|
27266
|
-
* @instance
|
|
27267
|
-
*/
|
|
27268
|
-
User.prototype.isAnonymousUser = false;
|
|
27269
|
-
|
|
27270
27263
|
/**
|
|
27271
27264
|
* Creates a new User instance using the specified properties.
|
|
27272
27265
|
* @function create
|
|
@@ -27331,8 +27324,6 @@ $root.userdomain = (function() {
|
|
|
27331
27324
|
writer.int32(message.tags[i]);
|
|
27332
27325
|
writer.ldelim();
|
|
27333
27326
|
}
|
|
27334
|
-
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
27335
|
-
writer.uint32(/* id 19, wireType 0 =*/152).bool(message.isAnonymousUser);
|
|
27336
27327
|
return writer;
|
|
27337
27328
|
};
|
|
27338
27329
|
|
|
@@ -27428,9 +27419,6 @@ $root.userdomain = (function() {
|
|
|
27428
27419
|
} else
|
|
27429
27420
|
message.tags.push(reader.int32());
|
|
27430
27421
|
break;
|
|
27431
|
-
case 19:
|
|
27432
|
-
message.isAnonymousUser = reader.bool();
|
|
27433
|
-
break;
|
|
27434
27422
|
default:
|
|
27435
27423
|
reader.skipType(tag & 7);
|
|
27436
27424
|
break;
|
|
@@ -27548,9 +27536,6 @@ $root.userdomain = (function() {
|
|
|
27548
27536
|
break;
|
|
27549
27537
|
}
|
|
27550
27538
|
}
|
|
27551
|
-
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
27552
|
-
if (typeof message.isAnonymousUser !== "boolean")
|
|
27553
|
-
return "isAnonymousUser: boolean expected";
|
|
27554
27539
|
return null;
|
|
27555
27540
|
};
|
|
27556
27541
|
|
|
@@ -27669,8 +27654,6 @@ $root.userdomain = (function() {
|
|
|
27669
27654
|
break;
|
|
27670
27655
|
}
|
|
27671
27656
|
}
|
|
27672
|
-
if (object.isAnonymousUser != null)
|
|
27673
|
-
message.isAnonymousUser = Boolean(object.isAnonymousUser);
|
|
27674
27657
|
return message;
|
|
27675
27658
|
};
|
|
27676
27659
|
|
|
@@ -27707,7 +27690,6 @@ $root.userdomain = (function() {
|
|
|
27707
27690
|
object.emailNormalizedSha256 = "";
|
|
27708
27691
|
object.isHeadspaceStaff = false;
|
|
27709
27692
|
object.isTestUser = false;
|
|
27710
|
-
object.isAnonymousUser = false;
|
|
27711
27693
|
}
|
|
27712
27694
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
27713
27695
|
object.hsId = message.hsId;
|
|
@@ -27748,8 +27730,6 @@ $root.userdomain = (function() {
|
|
|
27748
27730
|
for (var j = 0; j < message.tags.length; ++j)
|
|
27749
27731
|
object.tags[j] = options.enums === String ? $root.userdomain.users.UserTag[message.tags[j]] : message.tags[j];
|
|
27750
27732
|
}
|
|
27751
|
-
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
27752
|
-
object.isAnonymousUser = message.isAnonymousUser;
|
|
27753
27733
|
return object;
|
|
27754
27734
|
};
|
|
27755
27735
|
|
|
@@ -74434,6 +74414,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
74434
74414
|
case 6:
|
|
74435
74415
|
case 7:
|
|
74436
74416
|
case 8:
|
|
74417
|
+
case 9:
|
|
74437
74418
|
break;
|
|
74438
74419
|
}
|
|
74439
74420
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -74593,6 +74574,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
74593
74574
|
case 8:
|
|
74594
74575
|
message.reason = 8;
|
|
74595
74576
|
break;
|
|
74577
|
+
case "REMOVAL_REASON_NEVER_LINKED_SSO":
|
|
74578
|
+
case 9:
|
|
74579
|
+
message.reason = 9;
|
|
74580
|
+
break;
|
|
74596
74581
|
}
|
|
74597
74582
|
if (object.timestamp != null)
|
|
74598
74583
|
if ($util.Long)
|
package/package.json
CHANGED