@headspace/protos-events 1.223.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 +24 -0
- package/lib/index.js +113 -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
|
|
@@ -3568,6 +3574,9 @@ export namespace b2b {
|
|
|
3568
3574
|
|
|
3569
3575
|
/** B2BSubscriptionManagement isPilot */
|
|
3570
3576
|
isPilot?: (boolean|null);
|
|
3577
|
+
|
|
3578
|
+
/** B2BSubscriptionManagement orgSubscriptionId */
|
|
3579
|
+
orgSubscriptionId?: (number|null);
|
|
3571
3580
|
}
|
|
3572
3581
|
|
|
3573
3582
|
/** Represents a B2BSubscriptionManagement. */
|
|
@@ -3600,6 +3609,9 @@ export namespace b2b {
|
|
|
3600
3609
|
/** B2BSubscriptionManagement isPilot. */
|
|
3601
3610
|
public isPilot: boolean;
|
|
3602
3611
|
|
|
3612
|
+
/** B2BSubscriptionManagement orgSubscriptionId. */
|
|
3613
|
+
public orgSubscriptionId: number;
|
|
3614
|
+
|
|
3603
3615
|
/**
|
|
3604
3616
|
* Creates a new B2BSubscriptionManagement instance using the specified properties.
|
|
3605
3617
|
* @param [properties] Properties to set
|
|
@@ -3671,6 +3683,18 @@ export namespace b2b {
|
|
|
3671
3683
|
public toJSON(): { [k: string]: any };
|
|
3672
3684
|
}
|
|
3673
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
|
+
|
|
3674
3698
|
/** OrgType enum. */
|
|
3675
3699
|
enum OrgType {
|
|
3676
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
|
|
|
@@ -8135,6 +8200,7 @@ $root.b2b = (function() {
|
|
|
8135
8200
|
* @property {number|Long|null} [dependentsPerEmployee] B2BSubscriptionManagement dependentsPerEmployee
|
|
8136
8201
|
* @property {boolean|null} [isPartialPay] B2BSubscriptionManagement isPartialPay
|
|
8137
8202
|
* @property {boolean|null} [isPilot] B2BSubscriptionManagement isPilot
|
|
8203
|
+
* @property {number|null} [orgSubscriptionId] B2BSubscriptionManagement orgSubscriptionId
|
|
8138
8204
|
*/
|
|
8139
8205
|
|
|
8140
8206
|
/**
|
|
@@ -8208,6 +8274,14 @@ $root.b2b = (function() {
|
|
|
8208
8274
|
*/
|
|
8209
8275
|
B2BSubscriptionManagement.prototype.isPilot = false;
|
|
8210
8276
|
|
|
8277
|
+
/**
|
|
8278
|
+
* B2BSubscriptionManagement orgSubscriptionId.
|
|
8279
|
+
* @member {number} orgSubscriptionId
|
|
8280
|
+
* @memberof b2b.B2BSubscriptionManagement
|
|
8281
|
+
* @instance
|
|
8282
|
+
*/
|
|
8283
|
+
B2BSubscriptionManagement.prototype.orgSubscriptionId = 0;
|
|
8284
|
+
|
|
8211
8285
|
/**
|
|
8212
8286
|
* Creates a new B2BSubscriptionManagement instance using the specified properties.
|
|
8213
8287
|
* @function create
|
|
@@ -8246,6 +8320,8 @@ $root.b2b = (function() {
|
|
|
8246
8320
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isPartialPay);
|
|
8247
8321
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
8248
8322
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isPilot);
|
|
8323
|
+
if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
|
|
8324
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.orgSubscriptionId);
|
|
8249
8325
|
return writer;
|
|
8250
8326
|
};
|
|
8251
8327
|
|
|
@@ -8301,6 +8377,9 @@ $root.b2b = (function() {
|
|
|
8301
8377
|
case 7:
|
|
8302
8378
|
message.isPilot = reader.bool();
|
|
8303
8379
|
break;
|
|
8380
|
+
case 8:
|
|
8381
|
+
message.orgSubscriptionId = reader.uint32();
|
|
8382
|
+
break;
|
|
8304
8383
|
default:
|
|
8305
8384
|
reader.skipType(tag & 7);
|
|
8306
8385
|
break;
|
|
@@ -8357,6 +8436,9 @@ $root.b2b = (function() {
|
|
|
8357
8436
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
8358
8437
|
if (typeof message.isPilot !== "boolean")
|
|
8359
8438
|
return "isPilot: boolean expected";
|
|
8439
|
+
if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
|
|
8440
|
+
if (!$util.isInteger(message.orgSubscriptionId))
|
|
8441
|
+
return "orgSubscriptionId: integer expected";
|
|
8360
8442
|
return null;
|
|
8361
8443
|
};
|
|
8362
8444
|
|
|
@@ -8407,6 +8489,8 @@ $root.b2b = (function() {
|
|
|
8407
8489
|
message.isPartialPay = Boolean(object.isPartialPay);
|
|
8408
8490
|
if (object.isPilot != null)
|
|
8409
8491
|
message.isPilot = Boolean(object.isPilot);
|
|
8492
|
+
if (object.orgSubscriptionId != null)
|
|
8493
|
+
message.orgSubscriptionId = object.orgSubscriptionId >>> 0;
|
|
8410
8494
|
return message;
|
|
8411
8495
|
};
|
|
8412
8496
|
|
|
@@ -8443,6 +8527,7 @@ $root.b2b = (function() {
|
|
|
8443
8527
|
object.dependentsPerEmployee = options.longs === String ? "0" : 0;
|
|
8444
8528
|
object.isPartialPay = false;
|
|
8445
8529
|
object.isPilot = false;
|
|
8530
|
+
object.orgSubscriptionId = 0;
|
|
8446
8531
|
}
|
|
8447
8532
|
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
8448
8533
|
object.salesforceOpportunityId = message.salesforceOpportunityId;
|
|
@@ -8467,6 +8552,8 @@ $root.b2b = (function() {
|
|
|
8467
8552
|
object.isPartialPay = message.isPartialPay;
|
|
8468
8553
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
8469
8554
|
object.isPilot = message.isPilot;
|
|
8555
|
+
if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
|
|
8556
|
+
object.orgSubscriptionId = message.orgSubscriptionId;
|
|
8470
8557
|
return object;
|
|
8471
8558
|
};
|
|
8472
8559
|
|
|
@@ -8484,6 +8571,32 @@ $root.b2b = (function() {
|
|
|
8484
8571
|
return B2BSubscriptionManagement;
|
|
8485
8572
|
})();
|
|
8486
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
|
+
|
|
8487
8600
|
/**
|
|
8488
8601
|
* OrgType enum.
|
|
8489
8602
|
* @name b2b.OrgType
|
package/package.json
CHANGED