@headspace/protos-events 1.660.0 → 1.662.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 -9
- package/lib/index.js +47 -40
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -118,7 +118,8 @@ export namespace auth {
|
|
|
118
118
|
/** AuthLoginTag enum. */
|
|
119
119
|
enum AuthLoginTag {
|
|
120
120
|
AUTH_LOGIN_TAG_UNKNOWN = 0,
|
|
121
|
-
AUTH_LOGIN_TAG_FIRST_LOGIN = 1
|
|
121
|
+
AUTH_LOGIN_TAG_FIRST_LOGIN = 1,
|
|
122
|
+
AUTH_LOGIN_TAG_FIRST_CLIENT_LOGIN = 2
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
/** AuthEmailVerification enum. */
|
|
@@ -53100,11 +53101,11 @@ export interface IEligibilityCollective {
|
|
|
53100
53101
|
/** EligibilityCollective uuid */
|
|
53101
53102
|
uuid?: (string|null);
|
|
53102
53103
|
|
|
53103
|
-
/** EligibilityCollective
|
|
53104
|
-
|
|
53104
|
+
/** EligibilityCollective verificationType */
|
|
53105
|
+
verificationType?: (VerificationType|null);
|
|
53105
53106
|
|
|
53106
|
-
/** EligibilityCollective
|
|
53107
|
-
|
|
53107
|
+
/** EligibilityCollective identityVerificationType */
|
|
53108
|
+
identityVerificationType?: (IdentityVerificationType|null);
|
|
53108
53109
|
|
|
53109
53110
|
/** EligibilityCollective createdAtTimestamp */
|
|
53110
53111
|
createdAtTimestamp?: (number|Long|null);
|
|
@@ -53128,11 +53129,11 @@ export class EligibilityCollective implements IEligibilityCollective {
|
|
|
53128
53129
|
/** EligibilityCollective uuid. */
|
|
53129
53130
|
public uuid: string;
|
|
53130
53131
|
|
|
53131
|
-
/** EligibilityCollective
|
|
53132
|
-
public
|
|
53132
|
+
/** EligibilityCollective verificationType. */
|
|
53133
|
+
public verificationType: VerificationType;
|
|
53133
53134
|
|
|
53134
|
-
/** EligibilityCollective
|
|
53135
|
-
public
|
|
53135
|
+
/** EligibilityCollective identityVerificationType. */
|
|
53136
|
+
public identityVerificationType: IdentityVerificationType;
|
|
53136
53137
|
|
|
53137
53138
|
/** EligibilityCollective createdAtTimestamp. */
|
|
53138
53139
|
public createdAtTimestamp: (number|Long);
|
package/lib/index.js
CHANGED
|
@@ -279,11 +279,13 @@ $root.auth = (function() {
|
|
|
279
279
|
* @enum {string}
|
|
280
280
|
* @property {number} AUTH_LOGIN_TAG_UNKNOWN=0 AUTH_LOGIN_TAG_UNKNOWN value
|
|
281
281
|
* @property {number} AUTH_LOGIN_TAG_FIRST_LOGIN=1 AUTH_LOGIN_TAG_FIRST_LOGIN value
|
|
282
|
+
* @property {number} AUTH_LOGIN_TAG_FIRST_CLIENT_LOGIN=2 AUTH_LOGIN_TAG_FIRST_CLIENT_LOGIN value
|
|
282
283
|
*/
|
|
283
284
|
auth.AuthLoginTag = (function() {
|
|
284
285
|
var valuesById = {}, values = Object.create(valuesById);
|
|
285
286
|
values[valuesById[0] = "AUTH_LOGIN_TAG_UNKNOWN"] = 0;
|
|
286
287
|
values[valuesById[1] = "AUTH_LOGIN_TAG_FIRST_LOGIN"] = 1;
|
|
288
|
+
values[valuesById[2] = "AUTH_LOGIN_TAG_FIRST_CLIENT_LOGIN"] = 2;
|
|
287
289
|
return values;
|
|
288
290
|
})();
|
|
289
291
|
|
|
@@ -130639,6 +130641,7 @@ $root.AuthLoggedIn = (function() {
|
|
|
130639
130641
|
return "tags: enum value[] expected";
|
|
130640
130642
|
case 0:
|
|
130641
130643
|
case 1:
|
|
130644
|
+
case 2:
|
|
130642
130645
|
break;
|
|
130643
130646
|
}
|
|
130644
130647
|
}
|
|
@@ -130731,6 +130734,10 @@ $root.AuthLoggedIn = (function() {
|
|
|
130731
130734
|
case 1:
|
|
130732
130735
|
message.tags[i] = 1;
|
|
130733
130736
|
break;
|
|
130737
|
+
case "AUTH_LOGIN_TAG_FIRST_CLIENT_LOGIN":
|
|
130738
|
+
case 2:
|
|
130739
|
+
message.tags[i] = 2;
|
|
130740
|
+
break;
|
|
130734
130741
|
}
|
|
130735
130742
|
}
|
|
130736
130743
|
return message;
|
|
@@ -147024,8 +147031,8 @@ $root.EligibilityCollective = (function() {
|
|
|
147024
147031
|
* @name IEligibilityCollective
|
|
147025
147032
|
* @interface IEligibilityCollective
|
|
147026
147033
|
* @property {string|null} [uuid] EligibilityCollective uuid
|
|
147027
|
-
* @property {VerificationType|null} [
|
|
147028
|
-
* @property {IdentityVerificationType|null} [
|
|
147034
|
+
* @property {VerificationType|null} [verificationType] EligibilityCollective verificationType
|
|
147035
|
+
* @property {IdentityVerificationType|null} [identityVerificationType] EligibilityCollective identityVerificationType
|
|
147029
147036
|
* @property {number|Long|null} [createdAtTimestamp] EligibilityCollective createdAtTimestamp
|
|
147030
147037
|
* @property {number|Long|null} [updatedAtTimestamp] EligibilityCollective updatedAtTimestamp
|
|
147031
147038
|
* @property {number|Long|null} [deletedAtTimestamp] EligibilityCollective deletedAtTimestamp
|
|
@@ -147055,20 +147062,20 @@ $root.EligibilityCollective = (function() {
|
|
|
147055
147062
|
EligibilityCollective.prototype.uuid = "";
|
|
147056
147063
|
|
|
147057
147064
|
/**
|
|
147058
|
-
* EligibilityCollective
|
|
147059
|
-
* @member {VerificationType}
|
|
147065
|
+
* EligibilityCollective verificationType.
|
|
147066
|
+
* @member {VerificationType} verificationType
|
|
147060
147067
|
* @memberof EligibilityCollective
|
|
147061
147068
|
* @instance
|
|
147062
147069
|
*/
|
|
147063
|
-
EligibilityCollective.prototype.
|
|
147070
|
+
EligibilityCollective.prototype.verificationType = 0;
|
|
147064
147071
|
|
|
147065
147072
|
/**
|
|
147066
|
-
* EligibilityCollective
|
|
147067
|
-
* @member {IdentityVerificationType}
|
|
147073
|
+
* EligibilityCollective identityVerificationType.
|
|
147074
|
+
* @member {IdentityVerificationType} identityVerificationType
|
|
147068
147075
|
* @memberof EligibilityCollective
|
|
147069
147076
|
* @instance
|
|
147070
147077
|
*/
|
|
147071
|
-
EligibilityCollective.prototype.
|
|
147078
|
+
EligibilityCollective.prototype.identityVerificationType = 0;
|
|
147072
147079
|
|
|
147073
147080
|
/**
|
|
147074
147081
|
* EligibilityCollective createdAtTimestamp.
|
|
@@ -147120,10 +147127,10 @@ $root.EligibilityCollective = (function() {
|
|
|
147120
147127
|
writer = $Writer.create();
|
|
147121
147128
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
147122
147129
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
|
|
147123
|
-
if (message.
|
|
147124
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.
|
|
147125
|
-
if (message.
|
|
147126
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.
|
|
147130
|
+
if (message.verificationType != null && message.hasOwnProperty("verificationType"))
|
|
147131
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.verificationType);
|
|
147132
|
+
if (message.identityVerificationType != null && message.hasOwnProperty("identityVerificationType"))
|
|
147133
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.identityVerificationType);
|
|
147127
147134
|
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
147128
147135
|
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAtTimestamp);
|
|
147129
147136
|
if (message.updatedAtTimestamp != null && message.hasOwnProperty("updatedAtTimestamp"))
|
|
@@ -147168,10 +147175,10 @@ $root.EligibilityCollective = (function() {
|
|
|
147168
147175
|
message.uuid = reader.string();
|
|
147169
147176
|
break;
|
|
147170
147177
|
case 2:
|
|
147171
|
-
message.
|
|
147178
|
+
message.verificationType = reader.int32();
|
|
147172
147179
|
break;
|
|
147173
147180
|
case 3:
|
|
147174
|
-
message.
|
|
147181
|
+
message.identityVerificationType = reader.int32();
|
|
147175
147182
|
break;
|
|
147176
147183
|
case 4:
|
|
147177
147184
|
message.createdAtTimestamp = reader.uint64();
|
|
@@ -147220,10 +147227,10 @@ $root.EligibilityCollective = (function() {
|
|
|
147220
147227
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
147221
147228
|
if (!$util.isString(message.uuid))
|
|
147222
147229
|
return "uuid: string expected";
|
|
147223
|
-
if (message.
|
|
147224
|
-
switch (message.
|
|
147230
|
+
if (message.verificationType != null && message.hasOwnProperty("verificationType"))
|
|
147231
|
+
switch (message.verificationType) {
|
|
147225
147232
|
default:
|
|
147226
|
-
return "
|
|
147233
|
+
return "verificationType: enum value expected";
|
|
147227
147234
|
case 0:
|
|
147228
147235
|
case 1:
|
|
147229
147236
|
case 2:
|
|
@@ -147234,10 +147241,10 @@ $root.EligibilityCollective = (function() {
|
|
|
147234
147241
|
case 7:
|
|
147235
147242
|
break;
|
|
147236
147243
|
}
|
|
147237
|
-
if (message.
|
|
147238
|
-
switch (message.
|
|
147244
|
+
if (message.identityVerificationType != null && message.hasOwnProperty("identityVerificationType"))
|
|
147245
|
+
switch (message.identityVerificationType) {
|
|
147239
147246
|
default:
|
|
147240
|
-
return "
|
|
147247
|
+
return "identityVerificationType: enum value expected";
|
|
147241
147248
|
case 0:
|
|
147242
147249
|
case 1:
|
|
147243
147250
|
case 2:
|
|
@@ -147270,56 +147277,56 @@ $root.EligibilityCollective = (function() {
|
|
|
147270
147277
|
var message = new $root.EligibilityCollective();
|
|
147271
147278
|
if (object.uuid != null)
|
|
147272
147279
|
message.uuid = String(object.uuid);
|
|
147273
|
-
switch (object.
|
|
147280
|
+
switch (object.verificationType) {
|
|
147274
147281
|
case "VERIFICATION_TYPE_UNKNOWN":
|
|
147275
147282
|
case 0:
|
|
147276
|
-
message.
|
|
147283
|
+
message.verificationType = 0;
|
|
147277
147284
|
break;
|
|
147278
147285
|
case "VERIFICATION_TYPE_EMAIL_DOMAIN":
|
|
147279
147286
|
case 1:
|
|
147280
|
-
message.
|
|
147287
|
+
message.verificationType = 1;
|
|
147281
147288
|
break;
|
|
147282
147289
|
case "VERIFICATION_TYPE_EMAIL":
|
|
147283
147290
|
case 2:
|
|
147284
|
-
message.
|
|
147291
|
+
message.verificationType = 2;
|
|
147285
147292
|
break;
|
|
147286
147293
|
case "VERIFICATION_TYPE_D2C_COACHING":
|
|
147287
147294
|
case 3:
|
|
147288
|
-
message.
|
|
147295
|
+
message.verificationType = 3;
|
|
147289
147296
|
break;
|
|
147290
147297
|
case "VERIFICATION_TYPE_D2C_THERAPY":
|
|
147291
147298
|
case 4:
|
|
147292
|
-
message.
|
|
147299
|
+
message.verificationType = 4;
|
|
147293
147300
|
break;
|
|
147294
147301
|
case "VERIFICATION_TYPE_D2C_CARE_UPSELL":
|
|
147295
147302
|
case 5:
|
|
147296
|
-
message.
|
|
147303
|
+
message.verificationType = 5;
|
|
147297
147304
|
break;
|
|
147298
147305
|
case "VERIFICATION_TYPE_WORK_ID":
|
|
147299
147306
|
case 6:
|
|
147300
|
-
message.
|
|
147307
|
+
message.verificationType = 6;
|
|
147301
147308
|
break;
|
|
147302
147309
|
case "VERIFICATION_TYPE_KP_NATIONAL_JWT":
|
|
147303
147310
|
case 7:
|
|
147304
|
-
message.
|
|
147311
|
+
message.verificationType = 7;
|
|
147305
147312
|
break;
|
|
147306
147313
|
}
|
|
147307
|
-
switch (object.
|
|
147314
|
+
switch (object.identityVerificationType) {
|
|
147308
147315
|
case "IDENTITY_VERIFICATION_TYPE_UNKNOWN":
|
|
147309
147316
|
case 0:
|
|
147310
|
-
message.
|
|
147317
|
+
message.identityVerificationType = 0;
|
|
147311
147318
|
break;
|
|
147312
147319
|
case "IDENTITY_VERIFICATION_TYPE_NONE":
|
|
147313
147320
|
case 1:
|
|
147314
|
-
message.
|
|
147321
|
+
message.identityVerificationType = 1;
|
|
147315
147322
|
break;
|
|
147316
147323
|
case "IDENTITY_VERIFICATION_TYPE_COUNTRY_DOB":
|
|
147317
147324
|
case 2:
|
|
147318
|
-
message.
|
|
147325
|
+
message.identityVerificationType = 2;
|
|
147319
147326
|
break;
|
|
147320
147327
|
case "IDENTITY_VERIFICATION_TYPE_LASTNAME_COUNTRY_DOB":
|
|
147321
147328
|
case 3:
|
|
147322
|
-
message.
|
|
147329
|
+
message.identityVerificationType = 3;
|
|
147323
147330
|
break;
|
|
147324
147331
|
}
|
|
147325
147332
|
if (object.createdAtTimestamp != null)
|
|
@@ -147367,8 +147374,8 @@ $root.EligibilityCollective = (function() {
|
|
|
147367
147374
|
var object = {};
|
|
147368
147375
|
if (options.defaults) {
|
|
147369
147376
|
object.uuid = "";
|
|
147370
|
-
object.
|
|
147371
|
-
object.
|
|
147377
|
+
object.verificationType = options.enums === String ? "VERIFICATION_TYPE_UNKNOWN" : 0;
|
|
147378
|
+
object.identityVerificationType = options.enums === String ? "IDENTITY_VERIFICATION_TYPE_UNKNOWN" : 0;
|
|
147372
147379
|
if ($util.Long) {
|
|
147373
147380
|
var long = new $util.Long(0, 0, true);
|
|
147374
147381
|
object.createdAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -147387,10 +147394,10 @@ $root.EligibilityCollective = (function() {
|
|
|
147387
147394
|
}
|
|
147388
147395
|
if (message.uuid != null && message.hasOwnProperty("uuid"))
|
|
147389
147396
|
object.uuid = message.uuid;
|
|
147390
|
-
if (message.
|
|
147391
|
-
object.
|
|
147392
|
-
if (message.
|
|
147393
|
-
object.
|
|
147397
|
+
if (message.verificationType != null && message.hasOwnProperty("verificationType"))
|
|
147398
|
+
object.verificationType = options.enums === String ? $root.VerificationType[message.verificationType] : message.verificationType;
|
|
147399
|
+
if (message.identityVerificationType != null && message.hasOwnProperty("identityVerificationType"))
|
|
147400
|
+
object.identityVerificationType = options.enums === String ? $root.IdentityVerificationType[message.identityVerificationType] : message.identityVerificationType;
|
|
147394
147401
|
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
147395
147402
|
if (typeof message.createdAtTimestamp === "number")
|
|
147396
147403
|
object.createdAtTimestamp = options.longs === String ? String(message.createdAtTimestamp) : message.createdAtTimestamp;
|
package/package.json
CHANGED