@headspace/protos-events 1.224.0 → 1.225.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 +18 -0
- package/lib/index.js +91 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3439,6 +3439,9 @@ export namespace b2b {
|
|
|
3439
3439
|
|
|
3440
3440
|
/** Organization healthHubName */
|
|
3441
3441
|
healthHubName?: (string|null);
|
|
3442
|
+
|
|
3443
|
+
/** Organization restrictBy */
|
|
3444
|
+
restrictBy?: (b2b.OrgRestrictBy|null);
|
|
3442
3445
|
}
|
|
3443
3446
|
|
|
3444
3447
|
/** Represents an Organization. */
|
|
@@ -3474,6 +3477,9 @@ export namespace b2b {
|
|
|
3474
3477
|
/** Organization healthHubName. */
|
|
3475
3478
|
public healthHubName: string;
|
|
3476
3479
|
|
|
3480
|
+
/** Organization restrictBy. */
|
|
3481
|
+
public restrictBy: b2b.OrgRestrictBy;
|
|
3482
|
+
|
|
3477
3483
|
/**
|
|
3478
3484
|
* Creates a new Organization instance using the specified properties.
|
|
3479
3485
|
* @param [properties] Properties to set
|
|
@@ -3677,6 +3683,18 @@ export namespace b2b {
|
|
|
3677
3683
|
public toJSON(): { [k: string]: any };
|
|
3678
3684
|
}
|
|
3679
3685
|
|
|
3686
|
+
/** OrgRestrictBy enum. */
|
|
3687
|
+
enum OrgRestrictBy {
|
|
3688
|
+
ORG_RESTRICT_BY_UNKNOWN = 0,
|
|
3689
|
+
ORG_RESTRICT_BY_UNRESTRICTED = 1,
|
|
3690
|
+
ORG_RESTRICT_BY_EMAIL_DOMAIN = 2,
|
|
3691
|
+
ORG_RESTRICT_BY_EMAIL_ADDRESS = 3,
|
|
3692
|
+
ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE = 4,
|
|
3693
|
+
ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD = 5,
|
|
3694
|
+
ORG_RESTRICT_BY_EMPLOYEE_ID = 6,
|
|
3695
|
+
ORG_RESTRICT_BY_SSO = 7
|
|
3696
|
+
}
|
|
3697
|
+
|
|
3680
3698
|
/** OrgType enum. */
|
|
3681
3699
|
enum OrgType {
|
|
3682
3700
|
ORG_TYPE_UNKNOWN = 0,
|
package/lib/index.js
CHANGED
|
@@ -7756,6 +7756,7 @@ $root.b2b = (function() {
|
|
|
7756
7756
|
* @property {boolean|null} [promoEmailsDisabled] Organization promoEmailsDisabled
|
|
7757
7757
|
* @property {string|null} [healthHubId] Organization healthHubId
|
|
7758
7758
|
* @property {string|null} [healthHubName] Organization healthHubName
|
|
7759
|
+
* @property {b2b.OrgRestrictBy|null} [restrictBy] Organization restrictBy
|
|
7759
7760
|
*/
|
|
7760
7761
|
|
|
7761
7762
|
/**
|
|
@@ -7837,6 +7838,14 @@ $root.b2b = (function() {
|
|
|
7837
7838
|
*/
|
|
7838
7839
|
Organization.prototype.healthHubName = "";
|
|
7839
7840
|
|
|
7841
|
+
/**
|
|
7842
|
+
* Organization restrictBy.
|
|
7843
|
+
* @member {b2b.OrgRestrictBy} restrictBy
|
|
7844
|
+
* @memberof b2b.Organization
|
|
7845
|
+
* @instance
|
|
7846
|
+
*/
|
|
7847
|
+
Organization.prototype.restrictBy = 0;
|
|
7848
|
+
|
|
7840
7849
|
/**
|
|
7841
7850
|
* Creates a new Organization instance using the specified properties.
|
|
7842
7851
|
* @function create
|
|
@@ -7877,6 +7886,8 @@ $root.b2b = (function() {
|
|
|
7877
7886
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.healthHubId);
|
|
7878
7887
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
7879
7888
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.healthHubName);
|
|
7889
|
+
if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
|
|
7890
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.restrictBy);
|
|
7880
7891
|
return writer;
|
|
7881
7892
|
};
|
|
7882
7893
|
|
|
@@ -7935,6 +7946,9 @@ $root.b2b = (function() {
|
|
|
7935
7946
|
case 8:
|
|
7936
7947
|
message.healthHubName = reader.string();
|
|
7937
7948
|
break;
|
|
7949
|
+
case 9:
|
|
7950
|
+
message.restrictBy = reader.int32();
|
|
7951
|
+
break;
|
|
7938
7952
|
default:
|
|
7939
7953
|
reader.skipType(tag & 7);
|
|
7940
7954
|
break;
|
|
@@ -8004,6 +8018,20 @@ $root.b2b = (function() {
|
|
|
8004
8018
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
8005
8019
|
if (!$util.isString(message.healthHubName))
|
|
8006
8020
|
return "healthHubName: string expected";
|
|
8021
|
+
if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
|
|
8022
|
+
switch (message.restrictBy) {
|
|
8023
|
+
default:
|
|
8024
|
+
return "restrictBy: enum value expected";
|
|
8025
|
+
case 0:
|
|
8026
|
+
case 1:
|
|
8027
|
+
case 2:
|
|
8028
|
+
case 3:
|
|
8029
|
+
case 4:
|
|
8030
|
+
case 5:
|
|
8031
|
+
case 6:
|
|
8032
|
+
case 7:
|
|
8033
|
+
break;
|
|
8034
|
+
}
|
|
8007
8035
|
return null;
|
|
8008
8036
|
};
|
|
8009
8037
|
|
|
@@ -8063,6 +8091,40 @@ $root.b2b = (function() {
|
|
|
8063
8091
|
message.healthHubId = String(object.healthHubId);
|
|
8064
8092
|
if (object.healthHubName != null)
|
|
8065
8093
|
message.healthHubName = String(object.healthHubName);
|
|
8094
|
+
switch (object.restrictBy) {
|
|
8095
|
+
case "ORG_RESTRICT_BY_UNKNOWN":
|
|
8096
|
+
case 0:
|
|
8097
|
+
message.restrictBy = 0;
|
|
8098
|
+
break;
|
|
8099
|
+
case "ORG_RESTRICT_BY_UNRESTRICTED":
|
|
8100
|
+
case 1:
|
|
8101
|
+
message.restrictBy = 1;
|
|
8102
|
+
break;
|
|
8103
|
+
case "ORG_RESTRICT_BY_EMAIL_DOMAIN":
|
|
8104
|
+
case 2:
|
|
8105
|
+
message.restrictBy = 2;
|
|
8106
|
+
break;
|
|
8107
|
+
case "ORG_RESTRICT_BY_EMAIL_ADDRESS":
|
|
8108
|
+
case 3:
|
|
8109
|
+
message.restrictBy = 3;
|
|
8110
|
+
break;
|
|
8111
|
+
case "ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE":
|
|
8112
|
+
case 4:
|
|
8113
|
+
message.restrictBy = 4;
|
|
8114
|
+
break;
|
|
8115
|
+
case "ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD":
|
|
8116
|
+
case 5:
|
|
8117
|
+
message.restrictBy = 5;
|
|
8118
|
+
break;
|
|
8119
|
+
case "ORG_RESTRICT_BY_EMPLOYEE_ID":
|
|
8120
|
+
case 6:
|
|
8121
|
+
message.restrictBy = 6;
|
|
8122
|
+
break;
|
|
8123
|
+
case "ORG_RESTRICT_BY_SSO":
|
|
8124
|
+
case 7:
|
|
8125
|
+
message.restrictBy = 7;
|
|
8126
|
+
break;
|
|
8127
|
+
}
|
|
8066
8128
|
return message;
|
|
8067
8129
|
};
|
|
8068
8130
|
|
|
@@ -8088,6 +8150,7 @@ $root.b2b = (function() {
|
|
|
8088
8150
|
object.promoEmailsDisabled = false;
|
|
8089
8151
|
object.healthHubId = "";
|
|
8090
8152
|
object.healthHubName = "";
|
|
8153
|
+
object.restrictBy = options.enums === String ? "ORG_RESTRICT_BY_UNKNOWN" : 0;
|
|
8091
8154
|
}
|
|
8092
8155
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
8093
8156
|
object.orgId = message.orgId;
|
|
@@ -8105,6 +8168,8 @@ $root.b2b = (function() {
|
|
|
8105
8168
|
object.healthHubId = message.healthHubId;
|
|
8106
8169
|
if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
|
|
8107
8170
|
object.healthHubName = message.healthHubName;
|
|
8171
|
+
if (message.restrictBy != null && message.hasOwnProperty("restrictBy"))
|
|
8172
|
+
object.restrictBy = options.enums === String ? $root.b2b.OrgRestrictBy[message.restrictBy] : message.restrictBy;
|
|
8108
8173
|
return object;
|
|
8109
8174
|
};
|
|
8110
8175
|
|
|
@@ -8506,6 +8571,32 @@ $root.b2b = (function() {
|
|
|
8506
8571
|
return B2BSubscriptionManagement;
|
|
8507
8572
|
})();
|
|
8508
8573
|
|
|
8574
|
+
/**
|
|
8575
|
+
* OrgRestrictBy enum.
|
|
8576
|
+
* @name b2b.OrgRestrictBy
|
|
8577
|
+
* @enum {string}
|
|
8578
|
+
* @property {number} ORG_RESTRICT_BY_UNKNOWN=0 ORG_RESTRICT_BY_UNKNOWN value
|
|
8579
|
+
* @property {number} ORG_RESTRICT_BY_UNRESTRICTED=1 ORG_RESTRICT_BY_UNRESTRICTED value
|
|
8580
|
+
* @property {number} ORG_RESTRICT_BY_EMAIL_DOMAIN=2 ORG_RESTRICT_BY_EMAIL_DOMAIN value
|
|
8581
|
+
* @property {number} ORG_RESTRICT_BY_EMAIL_ADDRESS=3 ORG_RESTRICT_BY_EMAIL_ADDRESS value
|
|
8582
|
+
* @property {number} ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE=4 ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE value
|
|
8583
|
+
* @property {number} ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD=5 ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD value
|
|
8584
|
+
* @property {number} ORG_RESTRICT_BY_EMPLOYEE_ID=6 ORG_RESTRICT_BY_EMPLOYEE_ID value
|
|
8585
|
+
* @property {number} ORG_RESTRICT_BY_SSO=7 ORG_RESTRICT_BY_SSO value
|
|
8586
|
+
*/
|
|
8587
|
+
b2b.OrgRestrictBy = (function() {
|
|
8588
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
8589
|
+
values[valuesById[0] = "ORG_RESTRICT_BY_UNKNOWN"] = 0;
|
|
8590
|
+
values[valuesById[1] = "ORG_RESTRICT_BY_UNRESTRICTED"] = 1;
|
|
8591
|
+
values[valuesById[2] = "ORG_RESTRICT_BY_EMAIL_DOMAIN"] = 2;
|
|
8592
|
+
values[valuesById[3] = "ORG_RESTRICT_BY_EMAIL_ADDRESS"] = 3;
|
|
8593
|
+
values[valuesById[4] = "ORG_RESTRICT_BY_EMAIL_ELIGIBILITY_FILE"] = 4;
|
|
8594
|
+
values[valuesById[5] = "ORG_RESTRICT_BY_ELIGIBILITY_FILE_GRACE_PERIOD"] = 5;
|
|
8595
|
+
values[valuesById[6] = "ORG_RESTRICT_BY_EMPLOYEE_ID"] = 6;
|
|
8596
|
+
values[valuesById[7] = "ORG_RESTRICT_BY_SSO"] = 7;
|
|
8597
|
+
return values;
|
|
8598
|
+
})();
|
|
8599
|
+
|
|
8509
8600
|
/**
|
|
8510
8601
|
* OrgType enum.
|
|
8511
8602
|
* @name b2b.OrgType
|
package/package.json
CHANGED