@headspace/protos-events 1.728.0 → 1.730.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 +10 -3
- package/lib/index.js +31 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -30094,8 +30094,11 @@ export interface IAccessCodeEntitlement {
|
|
|
30094
30094
|
/** the source that the entitlement applies to */
|
|
30095
30095
|
source?: (EntitlementSource|null);
|
|
30096
30096
|
|
|
30097
|
-
/** the value of the entitlement */
|
|
30097
|
+
/** the value of the entitlement, using the EntitlementValue enum. Use value_str instead */
|
|
30098
30098
|
value?: (EntitlementValue|null);
|
|
30099
|
+
|
|
30100
|
+
/** the value of the entitlement as a string, because the EntitlementValue enum is not stable */
|
|
30101
|
+
valueStr?: (string|null);
|
|
30099
30102
|
}
|
|
30100
30103
|
|
|
30101
30104
|
/** Represents an AccessCodeEntitlement. */
|
|
@@ -30110,9 +30113,12 @@ export class AccessCodeEntitlement implements IAccessCodeEntitlement {
|
|
|
30110
30113
|
/** the source that the entitlement applies to */
|
|
30111
30114
|
public source: EntitlementSource;
|
|
30112
30115
|
|
|
30113
|
-
/** the value of the entitlement */
|
|
30116
|
+
/** the value of the entitlement, using the EntitlementValue enum. Use value_str instead */
|
|
30114
30117
|
public value: EntitlementValue;
|
|
30115
30118
|
|
|
30119
|
+
/** the value of the entitlement as a string, because the EntitlementValue enum is not stable */
|
|
30120
|
+
public valueStr: string;
|
|
30121
|
+
|
|
30116
30122
|
/**
|
|
30117
30123
|
* Creates a new AccessCodeEntitlement instance using the specified properties.
|
|
30118
30124
|
* @param [properties] Properties to set
|
|
@@ -37339,7 +37345,8 @@ export enum VerificationType {
|
|
|
37339
37345
|
VERIFICATION_TYPE_D2C_THERAPY = 4,
|
|
37340
37346
|
VERIFICATION_TYPE_D2C_CARE_UPSELL = 5,
|
|
37341
37347
|
VERIFICATION_TYPE_WORK_ID = 6,
|
|
37342
|
-
VERIFICATION_TYPE_KP_NATIONAL_JWT = 7
|
|
37348
|
+
VERIFICATION_TYPE_KP_NATIONAL_JWT = 7,
|
|
37349
|
+
VERIFICATION_TYPE_BSC = 8
|
|
37343
37350
|
}
|
|
37344
37351
|
|
|
37345
37352
|
/**
|
package/lib/index.js
CHANGED
|
@@ -84828,7 +84828,8 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84828
84828
|
* @name IAccessCodeEntitlement
|
|
84829
84829
|
* @interface IAccessCodeEntitlement
|
|
84830
84830
|
* @property {EntitlementSource|null} [source] the source that the entitlement applies to
|
|
84831
|
-
* @property {EntitlementValue|null} [value] the value of the entitlement
|
|
84831
|
+
* @property {EntitlementValue|null} [value] the value of the entitlement, using the EntitlementValue enum. Use value_str instead
|
|
84832
|
+
* @property {string|null} [valueStr] the value of the entitlement as a string, because the EntitlementValue enum is not stable
|
|
84832
84833
|
*/
|
|
84833
84834
|
|
|
84834
84835
|
/**
|
|
@@ -84855,13 +84856,21 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84855
84856
|
AccessCodeEntitlement.prototype.source = 0;
|
|
84856
84857
|
|
|
84857
84858
|
/**
|
|
84858
|
-
* the value of the entitlement
|
|
84859
|
+
* the value of the entitlement, using the EntitlementValue enum. Use value_str instead
|
|
84859
84860
|
* @member {EntitlementValue} value
|
|
84860
84861
|
* @memberof AccessCodeEntitlement
|
|
84861
84862
|
* @instance
|
|
84862
84863
|
*/
|
|
84863
84864
|
AccessCodeEntitlement.prototype.value = 0;
|
|
84864
84865
|
|
|
84866
|
+
/**
|
|
84867
|
+
* the value of the entitlement as a string, because the EntitlementValue enum is not stable
|
|
84868
|
+
* @member {string} valueStr
|
|
84869
|
+
* @memberof AccessCodeEntitlement
|
|
84870
|
+
* @instance
|
|
84871
|
+
*/
|
|
84872
|
+
AccessCodeEntitlement.prototype.valueStr = "";
|
|
84873
|
+
|
|
84865
84874
|
/**
|
|
84866
84875
|
* Creates a new AccessCodeEntitlement instance using the specified properties.
|
|
84867
84876
|
* @function create
|
|
@@ -84890,6 +84899,8 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84890
84899
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.source);
|
|
84891
84900
|
if (message.value != null && message.hasOwnProperty("value"))
|
|
84892
84901
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.value);
|
|
84902
|
+
if (message.valueStr != null && message.hasOwnProperty("valueStr"))
|
|
84903
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.valueStr);
|
|
84893
84904
|
return writer;
|
|
84894
84905
|
};
|
|
84895
84906
|
|
|
@@ -84930,6 +84941,9 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84930
84941
|
case 2:
|
|
84931
84942
|
message.value = reader.int32();
|
|
84932
84943
|
break;
|
|
84944
|
+
case 3:
|
|
84945
|
+
message.valueStr = reader.string();
|
|
84946
|
+
break;
|
|
84933
84947
|
default:
|
|
84934
84948
|
reader.skipType(tag & 7);
|
|
84935
84949
|
break;
|
|
@@ -84987,6 +85001,9 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84987
85001
|
case 5:
|
|
84988
85002
|
break;
|
|
84989
85003
|
}
|
|
85004
|
+
if (message.valueStr != null && message.hasOwnProperty("valueStr"))
|
|
85005
|
+
if (!$util.isString(message.valueStr))
|
|
85006
|
+
return "valueStr: string expected";
|
|
84990
85007
|
return null;
|
|
84991
85008
|
};
|
|
84992
85009
|
|
|
@@ -85046,6 +85063,8 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
85046
85063
|
message.value = 5;
|
|
85047
85064
|
break;
|
|
85048
85065
|
}
|
|
85066
|
+
if (object.valueStr != null)
|
|
85067
|
+
message.valueStr = String(object.valueStr);
|
|
85049
85068
|
return message;
|
|
85050
85069
|
};
|
|
85051
85070
|
|
|
@@ -85065,11 +85084,14 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
85065
85084
|
if (options.defaults) {
|
|
85066
85085
|
object.source = options.enums === String ? "ENTITLEMENT_SOURCE_UNKNOWN" : 0;
|
|
85067
85086
|
object.value = options.enums === String ? "ENTITLEMENT_VALUE_UNKNOWN" : 0;
|
|
85087
|
+
object.valueStr = "";
|
|
85068
85088
|
}
|
|
85069
85089
|
if (message.source != null && message.hasOwnProperty("source"))
|
|
85070
85090
|
object.source = options.enums === String ? $root.EntitlementSource[message.source] : message.source;
|
|
85071
85091
|
if (message.value != null && message.hasOwnProperty("value"))
|
|
85072
85092
|
object.value = options.enums === String ? $root.EntitlementValue[message.value] : message.value;
|
|
85093
|
+
if (message.valueStr != null && message.hasOwnProperty("valueStr"))
|
|
85094
|
+
object.valueStr = message.valueStr;
|
|
85073
85095
|
return object;
|
|
85074
85096
|
};
|
|
85075
85097
|
|
|
@@ -105168,6 +105190,7 @@ $root.IdentityVerificationType = (function() {
|
|
|
105168
105190
|
* @property {number} VERIFICATION_TYPE_D2C_CARE_UPSELL=5 VERIFICATION_TYPE_D2C_CARE_UPSELL value
|
|
105169
105191
|
* @property {number} VERIFICATION_TYPE_WORK_ID=6 VERIFICATION_TYPE_WORK_ID value
|
|
105170
105192
|
* @property {number} VERIFICATION_TYPE_KP_NATIONAL_JWT=7 VERIFICATION_TYPE_KP_NATIONAL_JWT value
|
|
105193
|
+
* @property {number} VERIFICATION_TYPE_BSC=8 VERIFICATION_TYPE_BSC value
|
|
105171
105194
|
*/
|
|
105172
105195
|
$root.VerificationType = (function() {
|
|
105173
105196
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -105179,6 +105202,7 @@ $root.VerificationType = (function() {
|
|
|
105179
105202
|
values[valuesById[5] = "VERIFICATION_TYPE_D2C_CARE_UPSELL"] = 5;
|
|
105180
105203
|
values[valuesById[6] = "VERIFICATION_TYPE_WORK_ID"] = 6;
|
|
105181
105204
|
values[valuesById[7] = "VERIFICATION_TYPE_KP_NATIONAL_JWT"] = 7;
|
|
105205
|
+
values[valuesById[8] = "VERIFICATION_TYPE_BSC"] = 8;
|
|
105182
105206
|
return values;
|
|
105183
105207
|
})();
|
|
105184
105208
|
|
|
@@ -105464,6 +105488,7 @@ $root.EligibilityCollective = (function() {
|
|
|
105464
105488
|
case 5:
|
|
105465
105489
|
case 6:
|
|
105466
105490
|
case 7:
|
|
105491
|
+
case 8:
|
|
105467
105492
|
break;
|
|
105468
105493
|
}
|
|
105469
105494
|
if (message.identityVerificationType != null && message.hasOwnProperty("identityVerificationType"))
|
|
@@ -105551,6 +105576,10 @@ $root.EligibilityCollective = (function() {
|
|
|
105551
105576
|
case 7:
|
|
105552
105577
|
message.verificationType = 7;
|
|
105553
105578
|
break;
|
|
105579
|
+
case "VERIFICATION_TYPE_BSC":
|
|
105580
|
+
case 8:
|
|
105581
|
+
message.verificationType = 8;
|
|
105582
|
+
break;
|
|
105554
105583
|
}
|
|
105555
105584
|
switch (object.identityVerificationType) {
|
|
105556
105585
|
case "IDENTITY_VERIFICATION_TYPE_UNKNOWN":
|
package/package.json
CHANGED