@headspace/protos-events 1.756.0 → 1.758.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 +34 -4
- package/lib/index.js +126 -16
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2414,8 +2414,20 @@ export interface IEligibilityLinked {
|
|
|
2414
2414
|
/** EligibilityLinked eligibilityRecordUuid */
|
|
2415
2415
|
eligibilityRecordUuid?: (string|null);
|
|
2416
2416
|
|
|
2417
|
-
/** EligibilityLinked
|
|
2418
|
-
|
|
2417
|
+
/** EligibilityLinked groupId */
|
|
2418
|
+
groupId?: (string|null);
|
|
2419
|
+
|
|
2420
|
+
/** EligibilityLinked groupName */
|
|
2421
|
+
groupName?: (string|null);
|
|
2422
|
+
|
|
2423
|
+
/** EligibilityLinked memberSuffix */
|
|
2424
|
+
memberSuffix?: (string|null);
|
|
2425
|
+
|
|
2426
|
+
/** EligibilityLinked lobName */
|
|
2427
|
+
lobName?: (string|null);
|
|
2428
|
+
|
|
2429
|
+
/** EligibilityLinked lobId */
|
|
2430
|
+
lobId?: (string|null);
|
|
2419
2431
|
}
|
|
2420
2432
|
|
|
2421
2433
|
/** Represents an EligibilityLinked. */
|
|
@@ -2475,8 +2487,20 @@ export class EligibilityLinked implements IEligibilityLinked {
|
|
|
2475
2487
|
/** EligibilityLinked eligibilityRecordUuid. */
|
|
2476
2488
|
public eligibilityRecordUuid: string;
|
|
2477
2489
|
|
|
2478
|
-
/** EligibilityLinked
|
|
2479
|
-
public
|
|
2490
|
+
/** EligibilityLinked groupId. */
|
|
2491
|
+
public groupId: string;
|
|
2492
|
+
|
|
2493
|
+
/** EligibilityLinked groupName. */
|
|
2494
|
+
public groupName: string;
|
|
2495
|
+
|
|
2496
|
+
/** EligibilityLinked memberSuffix. */
|
|
2497
|
+
public memberSuffix: string;
|
|
2498
|
+
|
|
2499
|
+
/** EligibilityLinked lobName. */
|
|
2500
|
+
public lobName: string;
|
|
2501
|
+
|
|
2502
|
+
/** EligibilityLinked lobId. */
|
|
2503
|
+
public lobId: string;
|
|
2480
2504
|
|
|
2481
2505
|
/**
|
|
2482
2506
|
* Creates a new EligibilityLinked instance using the specified properties.
|
|
@@ -51904,6 +51928,9 @@ export interface ISubscriptionCancelled {
|
|
|
51904
51928
|
|
|
51905
51929
|
/** SubscriptionCancelled productSku */
|
|
51906
51930
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
51931
|
+
|
|
51932
|
+
/** SubscriptionCancelled cancellationReason */
|
|
51933
|
+
cancellationReason?: (string|null);
|
|
51907
51934
|
}
|
|
51908
51935
|
|
|
51909
51936
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -51969,6 +51996,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
51969
51996
|
/** SubscriptionCancelled productSku. */
|
|
51970
51997
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
51971
51998
|
|
|
51999
|
+
/** SubscriptionCancelled cancellationReason. */
|
|
52000
|
+
public cancellationReason: string;
|
|
52001
|
+
|
|
51972
52002
|
/**
|
|
51973
52003
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
51974
52004
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -7267,7 +7267,11 @@ $root.EligibilityLinked = (function() {
|
|
|
7267
7267
|
* @property {string|null} [dependentOf] EligibilityLinked dependentOf
|
|
7268
7268
|
* @property {b2b.EnrollmentFlow|null} [enrollmentFlow] EligibilityLinked enrollmentFlow
|
|
7269
7269
|
* @property {string|null} [eligibilityRecordUuid] EligibilityLinked eligibilityRecordUuid
|
|
7270
|
-
* @property {string|null} [
|
|
7270
|
+
* @property {string|null} [groupId] EligibilityLinked groupId
|
|
7271
|
+
* @property {string|null} [groupName] EligibilityLinked groupName
|
|
7272
|
+
* @property {string|null} [memberSuffix] EligibilityLinked memberSuffix
|
|
7273
|
+
* @property {string|null} [lobName] EligibilityLinked lobName
|
|
7274
|
+
* @property {string|null} [lobId] EligibilityLinked lobId
|
|
7271
7275
|
*/
|
|
7272
7276
|
|
|
7273
7277
|
/**
|
|
@@ -7415,12 +7419,44 @@ $root.EligibilityLinked = (function() {
|
|
|
7415
7419
|
EligibilityLinked.prototype.eligibilityRecordUuid = "";
|
|
7416
7420
|
|
|
7417
7421
|
/**
|
|
7418
|
-
* EligibilityLinked
|
|
7419
|
-
* @member {string}
|
|
7422
|
+
* EligibilityLinked groupId.
|
|
7423
|
+
* @member {string} groupId
|
|
7424
|
+
* @memberof EligibilityLinked
|
|
7425
|
+
* @instance
|
|
7426
|
+
*/
|
|
7427
|
+
EligibilityLinked.prototype.groupId = "";
|
|
7428
|
+
|
|
7429
|
+
/**
|
|
7430
|
+
* EligibilityLinked groupName.
|
|
7431
|
+
* @member {string} groupName
|
|
7432
|
+
* @memberof EligibilityLinked
|
|
7433
|
+
* @instance
|
|
7434
|
+
*/
|
|
7435
|
+
EligibilityLinked.prototype.groupName = "";
|
|
7436
|
+
|
|
7437
|
+
/**
|
|
7438
|
+
* EligibilityLinked memberSuffix.
|
|
7439
|
+
* @member {string} memberSuffix
|
|
7440
|
+
* @memberof EligibilityLinked
|
|
7441
|
+
* @instance
|
|
7442
|
+
*/
|
|
7443
|
+
EligibilityLinked.prototype.memberSuffix = "";
|
|
7444
|
+
|
|
7445
|
+
/**
|
|
7446
|
+
* EligibilityLinked lobName.
|
|
7447
|
+
* @member {string} lobName
|
|
7448
|
+
* @memberof EligibilityLinked
|
|
7449
|
+
* @instance
|
|
7450
|
+
*/
|
|
7451
|
+
EligibilityLinked.prototype.lobName = "";
|
|
7452
|
+
|
|
7453
|
+
/**
|
|
7454
|
+
* EligibilityLinked lobId.
|
|
7455
|
+
* @member {string} lobId
|
|
7420
7456
|
* @memberof EligibilityLinked
|
|
7421
7457
|
* @instance
|
|
7422
7458
|
*/
|
|
7423
|
-
EligibilityLinked.prototype.
|
|
7459
|
+
EligibilityLinked.prototype.lobId = "";
|
|
7424
7460
|
|
|
7425
7461
|
/**
|
|
7426
7462
|
* Creates a new EligibilityLinked instance using the specified properties.
|
|
@@ -7479,8 +7515,16 @@ $root.EligibilityLinked = (function() {
|
|
|
7479
7515
|
writer.uint32(/* id 15, wireType 0 =*/120).int32(message.enrollmentFlow);
|
|
7480
7516
|
if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
|
|
7481
7517
|
writer.uint32(/* id 16, wireType 2 =*/130).string(message.eligibilityRecordUuid);
|
|
7482
|
-
if (message.
|
|
7483
|
-
writer.uint32(/* id
|
|
7518
|
+
if (message.groupId != null && message.hasOwnProperty("groupId"))
|
|
7519
|
+
writer.uint32(/* id 18, wireType 2 =*/146).string(message.groupId);
|
|
7520
|
+
if (message.groupName != null && message.hasOwnProperty("groupName"))
|
|
7521
|
+
writer.uint32(/* id 19, wireType 2 =*/154).string(message.groupName);
|
|
7522
|
+
if (message.memberSuffix != null && message.hasOwnProperty("memberSuffix"))
|
|
7523
|
+
writer.uint32(/* id 20, wireType 2 =*/162).string(message.memberSuffix);
|
|
7524
|
+
if (message.lobName != null && message.hasOwnProperty("lobName"))
|
|
7525
|
+
writer.uint32(/* id 21, wireType 2 =*/170).string(message.lobName);
|
|
7526
|
+
if (message.lobId != null && message.hasOwnProperty("lobId"))
|
|
7527
|
+
writer.uint32(/* id 22, wireType 2 =*/178).string(message.lobId);
|
|
7484
7528
|
return writer;
|
|
7485
7529
|
};
|
|
7486
7530
|
|
|
@@ -7565,8 +7609,20 @@ $root.EligibilityLinked = (function() {
|
|
|
7565
7609
|
case 16:
|
|
7566
7610
|
message.eligibilityRecordUuid = reader.string();
|
|
7567
7611
|
break;
|
|
7568
|
-
case
|
|
7569
|
-
message.
|
|
7612
|
+
case 18:
|
|
7613
|
+
message.groupId = reader.string();
|
|
7614
|
+
break;
|
|
7615
|
+
case 19:
|
|
7616
|
+
message.groupName = reader.string();
|
|
7617
|
+
break;
|
|
7618
|
+
case 20:
|
|
7619
|
+
message.memberSuffix = reader.string();
|
|
7620
|
+
break;
|
|
7621
|
+
case 21:
|
|
7622
|
+
message.lobName = reader.string();
|
|
7623
|
+
break;
|
|
7624
|
+
case 22:
|
|
7625
|
+
message.lobId = reader.string();
|
|
7570
7626
|
break;
|
|
7571
7627
|
default:
|
|
7572
7628
|
reader.skipType(tag & 7);
|
|
@@ -7669,9 +7725,21 @@ $root.EligibilityLinked = (function() {
|
|
|
7669
7725
|
if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
|
|
7670
7726
|
if (!$util.isString(message.eligibilityRecordUuid))
|
|
7671
7727
|
return "eligibilityRecordUuid: string expected";
|
|
7672
|
-
if (message.
|
|
7673
|
-
if (!$util.isString(message.
|
|
7674
|
-
return "
|
|
7728
|
+
if (message.groupId != null && message.hasOwnProperty("groupId"))
|
|
7729
|
+
if (!$util.isString(message.groupId))
|
|
7730
|
+
return "groupId: string expected";
|
|
7731
|
+
if (message.groupName != null && message.hasOwnProperty("groupName"))
|
|
7732
|
+
if (!$util.isString(message.groupName))
|
|
7733
|
+
return "groupName: string expected";
|
|
7734
|
+
if (message.memberSuffix != null && message.hasOwnProperty("memberSuffix"))
|
|
7735
|
+
if (!$util.isString(message.memberSuffix))
|
|
7736
|
+
return "memberSuffix: string expected";
|
|
7737
|
+
if (message.lobName != null && message.hasOwnProperty("lobName"))
|
|
7738
|
+
if (!$util.isString(message.lobName))
|
|
7739
|
+
return "lobName: string expected";
|
|
7740
|
+
if (message.lobId != null && message.hasOwnProperty("lobId"))
|
|
7741
|
+
if (!$util.isString(message.lobId))
|
|
7742
|
+
return "lobId: string expected";
|
|
7675
7743
|
return null;
|
|
7676
7744
|
};
|
|
7677
7745
|
|
|
@@ -7770,8 +7838,16 @@ $root.EligibilityLinked = (function() {
|
|
|
7770
7838
|
}
|
|
7771
7839
|
if (object.eligibilityRecordUuid != null)
|
|
7772
7840
|
message.eligibilityRecordUuid = String(object.eligibilityRecordUuid);
|
|
7773
|
-
if (object.
|
|
7774
|
-
message.
|
|
7841
|
+
if (object.groupId != null)
|
|
7842
|
+
message.groupId = String(object.groupId);
|
|
7843
|
+
if (object.groupName != null)
|
|
7844
|
+
message.groupName = String(object.groupName);
|
|
7845
|
+
if (object.memberSuffix != null)
|
|
7846
|
+
message.memberSuffix = String(object.memberSuffix);
|
|
7847
|
+
if (object.lobName != null)
|
|
7848
|
+
message.lobName = String(object.lobName);
|
|
7849
|
+
if (object.lobId != null)
|
|
7850
|
+
message.lobId = String(object.lobId);
|
|
7775
7851
|
return message;
|
|
7776
7852
|
};
|
|
7777
7853
|
|
|
@@ -7814,7 +7890,11 @@ $root.EligibilityLinked = (function() {
|
|
|
7814
7890
|
object.dependentOf = "";
|
|
7815
7891
|
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
7816
7892
|
object.eligibilityRecordUuid = "";
|
|
7817
|
-
object.
|
|
7893
|
+
object.groupId = "";
|
|
7894
|
+
object.groupName = "";
|
|
7895
|
+
object.memberSuffix = "";
|
|
7896
|
+
object.lobName = "";
|
|
7897
|
+
object.lobId = "";
|
|
7818
7898
|
}
|
|
7819
7899
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
7820
7900
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -7857,8 +7937,16 @@ $root.EligibilityLinked = (function() {
|
|
|
7857
7937
|
object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
7858
7938
|
if (message.eligibilityRecordUuid != null && message.hasOwnProperty("eligibilityRecordUuid"))
|
|
7859
7939
|
object.eligibilityRecordUuid = message.eligibilityRecordUuid;
|
|
7860
|
-
if (message.
|
|
7861
|
-
object.
|
|
7940
|
+
if (message.groupId != null && message.hasOwnProperty("groupId"))
|
|
7941
|
+
object.groupId = message.groupId;
|
|
7942
|
+
if (message.groupName != null && message.hasOwnProperty("groupName"))
|
|
7943
|
+
object.groupName = message.groupName;
|
|
7944
|
+
if (message.memberSuffix != null && message.hasOwnProperty("memberSuffix"))
|
|
7945
|
+
object.memberSuffix = message.memberSuffix;
|
|
7946
|
+
if (message.lobName != null && message.hasOwnProperty("lobName"))
|
|
7947
|
+
object.lobName = message.lobName;
|
|
7948
|
+
if (message.lobId != null && message.hasOwnProperty("lobId"))
|
|
7949
|
+
object.lobId = message.lobId;
|
|
7862
7950
|
return object;
|
|
7863
7951
|
};
|
|
7864
7952
|
|
|
@@ -146894,6 +146982,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
146894
146982
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
|
|
146895
146983
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
|
|
146896
146984
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
|
|
146985
|
+
* @property {string|null} [cancellationReason] SubscriptionCancelled cancellationReason
|
|
146897
146986
|
*/
|
|
146898
146987
|
|
|
146899
146988
|
/**
|
|
@@ -147057,6 +147146,14 @@ $root.SubscriptionCancelled = (function() {
|
|
|
147057
147146
|
*/
|
|
147058
147147
|
SubscriptionCancelled.prototype.productSku = null;
|
|
147059
147148
|
|
|
147149
|
+
/**
|
|
147150
|
+
* SubscriptionCancelled cancellationReason.
|
|
147151
|
+
* @member {string} cancellationReason
|
|
147152
|
+
* @memberof SubscriptionCancelled
|
|
147153
|
+
* @instance
|
|
147154
|
+
*/
|
|
147155
|
+
SubscriptionCancelled.prototype.cancellationReason = "";
|
|
147156
|
+
|
|
147060
147157
|
/**
|
|
147061
147158
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
147062
147159
|
* @function create
|
|
@@ -147122,6 +147219,8 @@ $root.SubscriptionCancelled = (function() {
|
|
|
147122
147219
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
|
|
147123
147220
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
147124
147221
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
147222
|
+
if (message.cancellationReason != null && message.hasOwnProperty("cancellationReason"))
|
|
147223
|
+
writer.uint32(/* id 20, wireType 2 =*/162).string(message.cancellationReason);
|
|
147125
147224
|
return writer;
|
|
147126
147225
|
};
|
|
147127
147226
|
|
|
@@ -147219,6 +147318,9 @@ $root.SubscriptionCancelled = (function() {
|
|
|
147219
147318
|
case 18:
|
|
147220
147319
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
147221
147320
|
break;
|
|
147321
|
+
case 20:
|
|
147322
|
+
message.cancellationReason = reader.string();
|
|
147323
|
+
break;
|
|
147222
147324
|
default:
|
|
147223
147325
|
reader.skipType(tag & 7);
|
|
147224
147326
|
break;
|
|
@@ -147368,6 +147470,9 @@ $root.SubscriptionCancelled = (function() {
|
|
|
147368
147470
|
if (error)
|
|
147369
147471
|
return "productSku." + error;
|
|
147370
147472
|
}
|
|
147473
|
+
if (message.cancellationReason != null && message.hasOwnProperty("cancellationReason"))
|
|
147474
|
+
if (!$util.isString(message.cancellationReason))
|
|
147475
|
+
return "cancellationReason: string expected";
|
|
147371
147476
|
return null;
|
|
147372
147477
|
};
|
|
147373
147478
|
|
|
@@ -147582,6 +147687,8 @@ $root.SubscriptionCancelled = (function() {
|
|
|
147582
147687
|
throw TypeError(".SubscriptionCancelled.productSku: object expected");
|
|
147583
147688
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
147584
147689
|
}
|
|
147690
|
+
if (object.cancellationReason != null)
|
|
147691
|
+
message.cancellationReason = String(object.cancellationReason);
|
|
147585
147692
|
return message;
|
|
147586
147693
|
};
|
|
147587
147694
|
|
|
@@ -147639,6 +147746,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
147639
147746
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
147640
147747
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
147641
147748
|
object.productSku = null;
|
|
147749
|
+
object.cancellationReason = "";
|
|
147642
147750
|
}
|
|
147643
147751
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
147644
147752
|
object.id = message.id;
|
|
@@ -147697,6 +147805,8 @@ $root.SubscriptionCancelled = (function() {
|
|
|
147697
147805
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
147698
147806
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
147699
147807
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
147808
|
+
if (message.cancellationReason != null && message.hasOwnProperty("cancellationReason"))
|
|
147809
|
+
object.cancellationReason = message.cancellationReason;
|
|
147700
147810
|
return object;
|
|
147701
147811
|
};
|
|
147702
147812
|
|
package/package.json
CHANGED