@headspace/protos-events 1.402.0 → 1.404.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 +30 -6
- package/lib/index.js +154 -21
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10031,6 +10031,9 @@ export namespace b2b {
|
|
|
10031
10031
|
|
|
10032
10032
|
/** Organization mfaEnabled */
|
|
10033
10033
|
mfaEnabled?: (boolean|null);
|
|
10034
|
+
|
|
10035
|
+
/** Organization orgSlug */
|
|
10036
|
+
orgSlug?: (string|null);
|
|
10034
10037
|
}
|
|
10035
10038
|
|
|
10036
10039
|
/** Represents an Organization. */
|
|
@@ -10078,6 +10081,9 @@ export namespace b2b {
|
|
|
10078
10081
|
/** Organization mfaEnabled. */
|
|
10079
10082
|
public mfaEnabled: boolean;
|
|
10080
10083
|
|
|
10084
|
+
/** Organization orgSlug. */
|
|
10085
|
+
public orgSlug: string;
|
|
10086
|
+
|
|
10081
10087
|
/**
|
|
10082
10088
|
* Creates a new Organization instance using the specified properties.
|
|
10083
10089
|
* @param [properties] Properties to set
|
|
@@ -10167,9 +10173,6 @@ export namespace b2b {
|
|
|
10167
10173
|
/** B2BSubscriptionManagement dependentsPerEmployee */
|
|
10168
10174
|
dependentsPerEmployee?: (number|Long|null);
|
|
10169
10175
|
|
|
10170
|
-
/** B2BSubscriptionManagement dependentSeats */
|
|
10171
|
-
dependentSeats?: (number|Long|null);
|
|
10172
|
-
|
|
10173
10176
|
/** B2BSubscriptionManagement isPartialPay */
|
|
10174
10177
|
isPartialPay?: (boolean|null);
|
|
10175
10178
|
|
|
@@ -10178,6 +10181,12 @@ export namespace b2b {
|
|
|
10178
10181
|
|
|
10179
10182
|
/** B2BSubscriptionManagement orgSubscriptionId */
|
|
10180
10183
|
orgSubscriptionId?: (number|null);
|
|
10184
|
+
|
|
10185
|
+
/** B2BSubscriptionManagement dependentSeats */
|
|
10186
|
+
dependentSeats?: (number|Long|null);
|
|
10187
|
+
|
|
10188
|
+
/** B2BSubscriptionManagement offerings */
|
|
10189
|
+
offerings?: (b2b.SubscriptionOffering[]|null);
|
|
10181
10190
|
}
|
|
10182
10191
|
|
|
10183
10192
|
/** Represents a B2BSubscriptionManagement. */
|
|
@@ -10204,9 +10213,6 @@ export namespace b2b {
|
|
|
10204
10213
|
/** B2BSubscriptionManagement dependentsPerEmployee. */
|
|
10205
10214
|
public dependentsPerEmployee: (number|Long);
|
|
10206
10215
|
|
|
10207
|
-
/** B2BSubscriptionManagement dependentSeats. */
|
|
10208
|
-
public dependentSeats: (number|Long);
|
|
10209
|
-
|
|
10210
10216
|
/** B2BSubscriptionManagement isPartialPay. */
|
|
10211
10217
|
public isPartialPay: boolean;
|
|
10212
10218
|
|
|
@@ -10216,6 +10222,12 @@ export namespace b2b {
|
|
|
10216
10222
|
/** B2BSubscriptionManagement orgSubscriptionId. */
|
|
10217
10223
|
public orgSubscriptionId: number;
|
|
10218
10224
|
|
|
10225
|
+
/** B2BSubscriptionManagement dependentSeats. */
|
|
10226
|
+
public dependentSeats: (number|Long);
|
|
10227
|
+
|
|
10228
|
+
/** B2BSubscriptionManagement offerings. */
|
|
10229
|
+
public offerings: b2b.SubscriptionOffering[];
|
|
10230
|
+
|
|
10219
10231
|
/**
|
|
10220
10232
|
* Creates a new B2BSubscriptionManagement instance using the specified properties.
|
|
10221
10233
|
* @param [properties] Properties to set
|
|
@@ -32055,6 +32067,9 @@ export interface IElfRecordPresent {
|
|
|
32055
32067
|
|
|
32056
32068
|
/** ElfRecordPresent headspaceShouldProcess */
|
|
32057
32069
|
headspaceShouldProcess?: (boolean|null);
|
|
32070
|
+
|
|
32071
|
+
/** ElfRecordPresent unifiedEligibilityEnabled */
|
|
32072
|
+
unifiedEligibilityEnabled?: (boolean|null);
|
|
32058
32073
|
}
|
|
32059
32074
|
|
|
32060
32075
|
/** Represents an ElfRecordPresent. */
|
|
@@ -32132,6 +32147,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
|
|
|
32132
32147
|
/** ElfRecordPresent headspaceShouldProcess. */
|
|
32133
32148
|
public headspaceShouldProcess: boolean;
|
|
32134
32149
|
|
|
32150
|
+
/** ElfRecordPresent unifiedEligibilityEnabled. */
|
|
32151
|
+
public unifiedEligibilityEnabled: boolean;
|
|
32152
|
+
|
|
32135
32153
|
/**
|
|
32136
32154
|
* Creates a new ElfRecordPresent instance using the specified properties.
|
|
32137
32155
|
* @param [properties] Properties to set
|
|
@@ -32235,6 +32253,9 @@ export interface IElfRecordAbsent {
|
|
|
32235
32253
|
|
|
32236
32254
|
/** ElfRecordAbsent headspaceShouldProcess */
|
|
32237
32255
|
headspaceShouldProcess?: (boolean|null);
|
|
32256
|
+
|
|
32257
|
+
/** ElfRecordAbsent unifiedEligibilityEnabled */
|
|
32258
|
+
unifiedEligibilityEnabled?: (boolean|null);
|
|
32238
32259
|
}
|
|
32239
32260
|
|
|
32240
32261
|
/** Represents an ElfRecordAbsent. */
|
|
@@ -32276,6 +32297,9 @@ export class ElfRecordAbsent implements IElfRecordAbsent {
|
|
|
32276
32297
|
/** ElfRecordAbsent headspaceShouldProcess. */
|
|
32277
32298
|
public headspaceShouldProcess: boolean;
|
|
32278
32299
|
|
|
32300
|
+
/** ElfRecordAbsent unifiedEligibilityEnabled. */
|
|
32301
|
+
public unifiedEligibilityEnabled: boolean;
|
|
32302
|
+
|
|
32279
32303
|
/**
|
|
32280
32304
|
* Creates a new ElfRecordAbsent instance using the specified properties.
|
|
32281
32305
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -23948,6 +23948,7 @@ $root.b2b = (function() {
|
|
|
23948
23948
|
* @property {string|null} [gingerId] Organization gingerId
|
|
23949
23949
|
* @property {string|null} [headspaceHealthId] Organization headspaceHealthId
|
|
23950
23950
|
* @property {boolean|null} [mfaEnabled] Organization mfaEnabled
|
|
23951
|
+
* @property {string|null} [orgSlug] Organization orgSlug
|
|
23951
23952
|
*/
|
|
23952
23953
|
|
|
23953
23954
|
/**
|
|
@@ -24061,6 +24062,14 @@ $root.b2b = (function() {
|
|
|
24061
24062
|
*/
|
|
24062
24063
|
Organization.prototype.mfaEnabled = false;
|
|
24063
24064
|
|
|
24065
|
+
/**
|
|
24066
|
+
* Organization orgSlug.
|
|
24067
|
+
* @member {string} orgSlug
|
|
24068
|
+
* @memberof b2b.Organization
|
|
24069
|
+
* @instance
|
|
24070
|
+
*/
|
|
24071
|
+
Organization.prototype.orgSlug = "";
|
|
24072
|
+
|
|
24064
24073
|
/**
|
|
24065
24074
|
* Creates a new Organization instance using the specified properties.
|
|
24066
24075
|
* @function create
|
|
@@ -24109,6 +24118,8 @@ $root.b2b = (function() {
|
|
|
24109
24118
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.headspaceHealthId);
|
|
24110
24119
|
if (message.mfaEnabled != null && message.hasOwnProperty("mfaEnabled"))
|
|
24111
24120
|
writer.uint32(/* id 12, wireType 0 =*/96).bool(message.mfaEnabled);
|
|
24121
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
24122
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.orgSlug);
|
|
24112
24123
|
return writer;
|
|
24113
24124
|
};
|
|
24114
24125
|
|
|
@@ -24179,6 +24190,9 @@ $root.b2b = (function() {
|
|
|
24179
24190
|
case 12:
|
|
24180
24191
|
message.mfaEnabled = reader.bool();
|
|
24181
24192
|
break;
|
|
24193
|
+
case 13:
|
|
24194
|
+
message.orgSlug = reader.string();
|
|
24195
|
+
break;
|
|
24182
24196
|
default:
|
|
24183
24197
|
reader.skipType(tag & 7);
|
|
24184
24198
|
break;
|
|
@@ -24273,6 +24287,9 @@ $root.b2b = (function() {
|
|
|
24273
24287
|
if (message.mfaEnabled != null && message.hasOwnProperty("mfaEnabled"))
|
|
24274
24288
|
if (typeof message.mfaEnabled !== "boolean")
|
|
24275
24289
|
return "mfaEnabled: boolean expected";
|
|
24290
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
24291
|
+
if (!$util.isString(message.orgSlug))
|
|
24292
|
+
return "orgSlug: string expected";
|
|
24276
24293
|
return null;
|
|
24277
24294
|
};
|
|
24278
24295
|
|
|
@@ -24380,6 +24397,8 @@ $root.b2b = (function() {
|
|
|
24380
24397
|
message.headspaceHealthId = String(object.headspaceHealthId);
|
|
24381
24398
|
if (object.mfaEnabled != null)
|
|
24382
24399
|
message.mfaEnabled = Boolean(object.mfaEnabled);
|
|
24400
|
+
if (object.orgSlug != null)
|
|
24401
|
+
message.orgSlug = String(object.orgSlug);
|
|
24383
24402
|
return message;
|
|
24384
24403
|
};
|
|
24385
24404
|
|
|
@@ -24409,6 +24428,7 @@ $root.b2b = (function() {
|
|
|
24409
24428
|
object.gingerId = "";
|
|
24410
24429
|
object.headspaceHealthId = "";
|
|
24411
24430
|
object.mfaEnabled = false;
|
|
24431
|
+
object.orgSlug = "";
|
|
24412
24432
|
}
|
|
24413
24433
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
24414
24434
|
object.orgId = message.orgId;
|
|
@@ -24434,6 +24454,8 @@ $root.b2b = (function() {
|
|
|
24434
24454
|
object.headspaceHealthId = message.headspaceHealthId;
|
|
24435
24455
|
if (message.mfaEnabled != null && message.hasOwnProperty("mfaEnabled"))
|
|
24436
24456
|
object.mfaEnabled = message.mfaEnabled;
|
|
24457
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
24458
|
+
object.orgSlug = message.orgSlug;
|
|
24437
24459
|
return object;
|
|
24438
24460
|
};
|
|
24439
24461
|
|
|
@@ -24462,10 +24484,11 @@ $root.b2b = (function() {
|
|
|
24462
24484
|
* @property {number|Long|null} [orgSubscriptionEndDate] B2BSubscriptionManagement orgSubscriptionEndDate
|
|
24463
24485
|
* @property {number|null} [seats] B2BSubscriptionManagement seats
|
|
24464
24486
|
* @property {number|Long|null} [dependentsPerEmployee] B2BSubscriptionManagement dependentsPerEmployee
|
|
24465
|
-
* @property {number|Long|null} [dependentSeats] B2BSubscriptionManagement dependentSeats
|
|
24466
24487
|
* @property {boolean|null} [isPartialPay] B2BSubscriptionManagement isPartialPay
|
|
24467
24488
|
* @property {boolean|null} [isPilot] B2BSubscriptionManagement isPilot
|
|
24468
24489
|
* @property {number|null} [orgSubscriptionId] B2BSubscriptionManagement orgSubscriptionId
|
|
24490
|
+
* @property {number|Long|null} [dependentSeats] B2BSubscriptionManagement dependentSeats
|
|
24491
|
+
* @property {Array.<b2b.SubscriptionOffering>|null} [offerings] B2BSubscriptionManagement offerings
|
|
24469
24492
|
*/
|
|
24470
24493
|
|
|
24471
24494
|
/**
|
|
@@ -24477,6 +24500,7 @@ $root.b2b = (function() {
|
|
|
24477
24500
|
* @param {b2b.IB2BSubscriptionManagement=} [properties] Properties to set
|
|
24478
24501
|
*/
|
|
24479
24502
|
function B2BSubscriptionManagement(properties) {
|
|
24503
|
+
this.offerings = [];
|
|
24480
24504
|
if (properties)
|
|
24481
24505
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
24482
24506
|
if (properties[keys[i]] != null)
|
|
@@ -24523,14 +24547,6 @@ $root.b2b = (function() {
|
|
|
24523
24547
|
*/
|
|
24524
24548
|
B2BSubscriptionManagement.prototype.dependentsPerEmployee = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
24525
24549
|
|
|
24526
|
-
/**
|
|
24527
|
-
* B2BSubscriptionManagement dependentSeats.
|
|
24528
|
-
* @member {number|Long} dependentSeats
|
|
24529
|
-
* @memberof b2b.B2BSubscriptionManagement
|
|
24530
|
-
* @instance
|
|
24531
|
-
*/
|
|
24532
|
-
B2BSubscriptionManagement.prototype.dependentSeats = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
24533
|
-
|
|
24534
24550
|
/**
|
|
24535
24551
|
* B2BSubscriptionManagement isPartialPay.
|
|
24536
24552
|
* @member {boolean} isPartialPay
|
|
@@ -24555,6 +24571,22 @@ $root.b2b = (function() {
|
|
|
24555
24571
|
*/
|
|
24556
24572
|
B2BSubscriptionManagement.prototype.orgSubscriptionId = 0;
|
|
24557
24573
|
|
|
24574
|
+
/**
|
|
24575
|
+
* B2BSubscriptionManagement dependentSeats.
|
|
24576
|
+
* @member {number|Long} dependentSeats
|
|
24577
|
+
* @memberof b2b.B2BSubscriptionManagement
|
|
24578
|
+
* @instance
|
|
24579
|
+
*/
|
|
24580
|
+
B2BSubscriptionManagement.prototype.dependentSeats = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
24581
|
+
|
|
24582
|
+
/**
|
|
24583
|
+
* B2BSubscriptionManagement offerings.
|
|
24584
|
+
* @member {Array.<b2b.SubscriptionOffering>} offerings
|
|
24585
|
+
* @memberof b2b.B2BSubscriptionManagement
|
|
24586
|
+
* @instance
|
|
24587
|
+
*/
|
|
24588
|
+
B2BSubscriptionManagement.prototype.offerings = $util.emptyArray;
|
|
24589
|
+
|
|
24558
24590
|
/**
|
|
24559
24591
|
* Creates a new B2BSubscriptionManagement instance using the specified properties.
|
|
24560
24592
|
* @function create
|
|
@@ -24597,6 +24629,12 @@ $root.b2b = (function() {
|
|
|
24597
24629
|
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.orgSubscriptionId);
|
|
24598
24630
|
if (message.dependentSeats != null && message.hasOwnProperty("dependentSeats"))
|
|
24599
24631
|
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.dependentSeats);
|
|
24632
|
+
if (message.offerings != null && message.offerings.length) {
|
|
24633
|
+
writer.uint32(/* id 10, wireType 2 =*/82).fork();
|
|
24634
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
24635
|
+
writer.int32(message.offerings[i]);
|
|
24636
|
+
writer.ldelim();
|
|
24637
|
+
}
|
|
24600
24638
|
return writer;
|
|
24601
24639
|
};
|
|
24602
24640
|
|
|
@@ -24646,9 +24684,6 @@ $root.b2b = (function() {
|
|
|
24646
24684
|
case 5:
|
|
24647
24685
|
message.dependentsPerEmployee = reader.uint64();
|
|
24648
24686
|
break;
|
|
24649
|
-
case 9:
|
|
24650
|
-
message.dependentSeats = reader.uint64();
|
|
24651
|
-
break;
|
|
24652
24687
|
case 6:
|
|
24653
24688
|
message.isPartialPay = reader.bool();
|
|
24654
24689
|
break;
|
|
@@ -24658,6 +24693,19 @@ $root.b2b = (function() {
|
|
|
24658
24693
|
case 8:
|
|
24659
24694
|
message.orgSubscriptionId = reader.uint32();
|
|
24660
24695
|
break;
|
|
24696
|
+
case 9:
|
|
24697
|
+
message.dependentSeats = reader.uint64();
|
|
24698
|
+
break;
|
|
24699
|
+
case 10:
|
|
24700
|
+
if (!(message.offerings && message.offerings.length))
|
|
24701
|
+
message.offerings = [];
|
|
24702
|
+
if ((tag & 7) === 2) {
|
|
24703
|
+
var end2 = reader.uint32() + reader.pos;
|
|
24704
|
+
while (reader.pos < end2)
|
|
24705
|
+
message.offerings.push(reader.int32());
|
|
24706
|
+
} else
|
|
24707
|
+
message.offerings.push(reader.int32());
|
|
24708
|
+
break;
|
|
24661
24709
|
default:
|
|
24662
24710
|
reader.skipType(tag & 7);
|
|
24663
24711
|
break;
|
|
@@ -24708,9 +24756,6 @@ $root.b2b = (function() {
|
|
|
24708
24756
|
if (message.dependentsPerEmployee != null && message.hasOwnProperty("dependentsPerEmployee"))
|
|
24709
24757
|
if (!$util.isInteger(message.dependentsPerEmployee) && !(message.dependentsPerEmployee && $util.isInteger(message.dependentsPerEmployee.low) && $util.isInteger(message.dependentsPerEmployee.high)))
|
|
24710
24758
|
return "dependentsPerEmployee: integer|Long expected";
|
|
24711
|
-
if (message.dependentSeats != null && message.hasOwnProperty("dependentSeats"))
|
|
24712
|
-
if (!$util.isInteger(message.dependentSeats) && !(message.dependentSeats && $util.isInteger(message.dependentSeats.low) && $util.isInteger(message.dependentSeats.high)))
|
|
24713
|
-
return "dependentSeats: integer|Long expected";
|
|
24714
24759
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
24715
24760
|
if (typeof message.isPartialPay !== "boolean")
|
|
24716
24761
|
return "isPartialPay: boolean expected";
|
|
@@ -24720,6 +24765,22 @@ $root.b2b = (function() {
|
|
|
24720
24765
|
if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
|
|
24721
24766
|
if (!$util.isInteger(message.orgSubscriptionId))
|
|
24722
24767
|
return "orgSubscriptionId: integer expected";
|
|
24768
|
+
if (message.dependentSeats != null && message.hasOwnProperty("dependentSeats"))
|
|
24769
|
+
if (!$util.isInteger(message.dependentSeats) && !(message.dependentSeats && $util.isInteger(message.dependentSeats.low) && $util.isInteger(message.dependentSeats.high)))
|
|
24770
|
+
return "dependentSeats: integer|Long expected";
|
|
24771
|
+
if (message.offerings != null && message.hasOwnProperty("offerings")) {
|
|
24772
|
+
if (!Array.isArray(message.offerings))
|
|
24773
|
+
return "offerings: array expected";
|
|
24774
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
24775
|
+
switch (message.offerings[i]) {
|
|
24776
|
+
default:
|
|
24777
|
+
return "offerings: enum value[] expected";
|
|
24778
|
+
case 0:
|
|
24779
|
+
case 1:
|
|
24780
|
+
case 2:
|
|
24781
|
+
break;
|
|
24782
|
+
}
|
|
24783
|
+
}
|
|
24723
24784
|
return null;
|
|
24724
24785
|
};
|
|
24725
24786
|
|
|
@@ -24766,6 +24827,12 @@ $root.b2b = (function() {
|
|
|
24766
24827
|
message.dependentsPerEmployee = object.dependentsPerEmployee;
|
|
24767
24828
|
else if (typeof object.dependentsPerEmployee === "object")
|
|
24768
24829
|
message.dependentsPerEmployee = new $util.LongBits(object.dependentsPerEmployee.low >>> 0, object.dependentsPerEmployee.high >>> 0).toNumber(true);
|
|
24830
|
+
if (object.isPartialPay != null)
|
|
24831
|
+
message.isPartialPay = Boolean(object.isPartialPay);
|
|
24832
|
+
if (object.isPilot != null)
|
|
24833
|
+
message.isPilot = Boolean(object.isPilot);
|
|
24834
|
+
if (object.orgSubscriptionId != null)
|
|
24835
|
+
message.orgSubscriptionId = object.orgSubscriptionId >>> 0;
|
|
24769
24836
|
if (object.dependentSeats != null)
|
|
24770
24837
|
if ($util.Long)
|
|
24771
24838
|
(message.dependentSeats = $util.Long.fromValue(object.dependentSeats)).unsigned = true;
|
|
@@ -24775,12 +24842,27 @@ $root.b2b = (function() {
|
|
|
24775
24842
|
message.dependentSeats = object.dependentSeats;
|
|
24776
24843
|
else if (typeof object.dependentSeats === "object")
|
|
24777
24844
|
message.dependentSeats = new $util.LongBits(object.dependentSeats.low >>> 0, object.dependentSeats.high >>> 0).toNumber(true);
|
|
24778
|
-
if (object.
|
|
24779
|
-
|
|
24780
|
-
|
|
24781
|
-
message.
|
|
24782
|
-
|
|
24783
|
-
|
|
24845
|
+
if (object.offerings) {
|
|
24846
|
+
if (!Array.isArray(object.offerings))
|
|
24847
|
+
throw TypeError(".b2b.B2BSubscriptionManagement.offerings: array expected");
|
|
24848
|
+
message.offerings = [];
|
|
24849
|
+
for (var i = 0; i < object.offerings.length; ++i)
|
|
24850
|
+
switch (object.offerings[i]) {
|
|
24851
|
+
default:
|
|
24852
|
+
case "SUBSCRIPTION_OFFERING_UNKNOWN":
|
|
24853
|
+
case 0:
|
|
24854
|
+
message.offerings[i] = 0;
|
|
24855
|
+
break;
|
|
24856
|
+
case "SUBSCRIPTION_OFFERING_HEADSPACE":
|
|
24857
|
+
case 1:
|
|
24858
|
+
message.offerings[i] = 1;
|
|
24859
|
+
break;
|
|
24860
|
+
case "SUBSCRIPTION_OFFERING_GINGER":
|
|
24861
|
+
case 2:
|
|
24862
|
+
message.offerings[i] = 2;
|
|
24863
|
+
break;
|
|
24864
|
+
}
|
|
24865
|
+
}
|
|
24784
24866
|
return message;
|
|
24785
24867
|
};
|
|
24786
24868
|
|
|
@@ -24797,6 +24879,8 @@ $root.b2b = (function() {
|
|
|
24797
24879
|
if (!options)
|
|
24798
24880
|
options = {};
|
|
24799
24881
|
var object = {};
|
|
24882
|
+
if (options.arrays || options.defaults)
|
|
24883
|
+
object.offerings = [];
|
|
24800
24884
|
if (options.defaults) {
|
|
24801
24885
|
object.salesforceOpportunityId = "";
|
|
24802
24886
|
if ($util.Long) {
|
|
@@ -24854,6 +24938,11 @@ $root.b2b = (function() {
|
|
|
24854
24938
|
object.dependentSeats = options.longs === String ? String(message.dependentSeats) : message.dependentSeats;
|
|
24855
24939
|
else
|
|
24856
24940
|
object.dependentSeats = options.longs === String ? $util.Long.prototype.toString.call(message.dependentSeats) : options.longs === Number ? new $util.LongBits(message.dependentSeats.low >>> 0, message.dependentSeats.high >>> 0).toNumber(true) : message.dependentSeats;
|
|
24941
|
+
if (message.offerings && message.offerings.length) {
|
|
24942
|
+
object.offerings = [];
|
|
24943
|
+
for (var j = 0; j < message.offerings.length; ++j)
|
|
24944
|
+
object.offerings[j] = options.enums === String ? $root.b2b.SubscriptionOffering[message.offerings[j]] : message.offerings[j];
|
|
24945
|
+
}
|
|
24857
24946
|
return object;
|
|
24858
24947
|
};
|
|
24859
24948
|
|
|
@@ -88899,6 +88988,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
88899
88988
|
* @property {boolean|null} [isDryRun] ElfRecordPresent isDryRun
|
|
88900
88989
|
* @property {boolean|null} [gingerShouldProcess] ElfRecordPresent gingerShouldProcess
|
|
88901
88990
|
* @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
|
|
88991
|
+
* @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordPresent unifiedEligibilityEnabled
|
|
88902
88992
|
*/
|
|
88903
88993
|
|
|
88904
88994
|
/**
|
|
@@ -89093,6 +89183,14 @@ $root.ElfRecordPresent = (function() {
|
|
|
89093
89183
|
*/
|
|
89094
89184
|
ElfRecordPresent.prototype.headspaceShouldProcess = false;
|
|
89095
89185
|
|
|
89186
|
+
/**
|
|
89187
|
+
* ElfRecordPresent unifiedEligibilityEnabled.
|
|
89188
|
+
* @member {boolean} unifiedEligibilityEnabled
|
|
89189
|
+
* @memberof ElfRecordPresent
|
|
89190
|
+
* @instance
|
|
89191
|
+
*/
|
|
89192
|
+
ElfRecordPresent.prototype.unifiedEligibilityEnabled = false;
|
|
89193
|
+
|
|
89096
89194
|
/**
|
|
89097
89195
|
* Creates a new ElfRecordPresent instance using the specified properties.
|
|
89098
89196
|
* @function create
|
|
@@ -89165,6 +89263,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
89165
89263
|
writer.int32(message.offerings[i]);
|
|
89166
89264
|
writer.ldelim();
|
|
89167
89265
|
}
|
|
89266
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
89267
|
+
writer.uint32(/* id 23, wireType 0 =*/184).bool(message.unifiedEligibilityEnabled);
|
|
89168
89268
|
return writer;
|
|
89169
89269
|
};
|
|
89170
89270
|
|
|
@@ -89272,6 +89372,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
89272
89372
|
case 20:
|
|
89273
89373
|
message.headspaceShouldProcess = reader.bool();
|
|
89274
89374
|
break;
|
|
89375
|
+
case 23:
|
|
89376
|
+
message.unifiedEligibilityEnabled = reader.bool();
|
|
89377
|
+
break;
|
|
89275
89378
|
default:
|
|
89276
89379
|
reader.skipType(tag & 7);
|
|
89277
89380
|
break;
|
|
@@ -89388,6 +89491,9 @@ $root.ElfRecordPresent = (function() {
|
|
|
89388
89491
|
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
89389
89492
|
if (typeof message.headspaceShouldProcess !== "boolean")
|
|
89390
89493
|
return "headspaceShouldProcess: boolean expected";
|
|
89494
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
89495
|
+
if (typeof message.unifiedEligibilityEnabled !== "boolean")
|
|
89496
|
+
return "unifiedEligibilityEnabled: boolean expected";
|
|
89391
89497
|
return null;
|
|
89392
89498
|
};
|
|
89393
89499
|
|
|
@@ -89481,6 +89587,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
89481
89587
|
message.gingerShouldProcess = Boolean(object.gingerShouldProcess);
|
|
89482
89588
|
if (object.headspaceShouldProcess != null)
|
|
89483
89589
|
message.headspaceShouldProcess = Boolean(object.headspaceShouldProcess);
|
|
89590
|
+
if (object.unifiedEligibilityEnabled != null)
|
|
89591
|
+
message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
|
|
89484
89592
|
return message;
|
|
89485
89593
|
};
|
|
89486
89594
|
|
|
@@ -89525,6 +89633,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
89525
89633
|
object.gingerShouldProcess = false;
|
|
89526
89634
|
object.headspaceShouldProcess = false;
|
|
89527
89635
|
object.customFields = "";
|
|
89636
|
+
object.unifiedEligibilityEnabled = false;
|
|
89528
89637
|
}
|
|
89529
89638
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
89530
89639
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -89576,6 +89685,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
89576
89685
|
for (var j = 0; j < message.offerings.length; ++j)
|
|
89577
89686
|
object.offerings[j] = options.enums === String ? $root.b2b.SubscriptionOffering[message.offerings[j]] : message.offerings[j];
|
|
89578
89687
|
}
|
|
89688
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
89689
|
+
object.unifiedEligibilityEnabled = message.unifiedEligibilityEnabled;
|
|
89579
89690
|
return object;
|
|
89580
89691
|
};
|
|
89581
89692
|
|
|
@@ -89609,6 +89720,7 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89609
89720
|
* @property {boolean|null} [isDryRun] ElfRecordAbsent isDryRun
|
|
89610
89721
|
* @property {boolean|null} [gingerShouldProcess] ElfRecordAbsent gingerShouldProcess
|
|
89611
89722
|
* @property {boolean|null} [headspaceShouldProcess] ElfRecordAbsent headspaceShouldProcess
|
|
89723
|
+
* @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordAbsent unifiedEligibilityEnabled
|
|
89612
89724
|
*/
|
|
89613
89725
|
|
|
89614
89726
|
/**
|
|
@@ -89706,6 +89818,14 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89706
89818
|
*/
|
|
89707
89819
|
ElfRecordAbsent.prototype.headspaceShouldProcess = false;
|
|
89708
89820
|
|
|
89821
|
+
/**
|
|
89822
|
+
* ElfRecordAbsent unifiedEligibilityEnabled.
|
|
89823
|
+
* @member {boolean} unifiedEligibilityEnabled
|
|
89824
|
+
* @memberof ElfRecordAbsent
|
|
89825
|
+
* @instance
|
|
89826
|
+
*/
|
|
89827
|
+
ElfRecordAbsent.prototype.unifiedEligibilityEnabled = false;
|
|
89828
|
+
|
|
89709
89829
|
/**
|
|
89710
89830
|
* Creates a new ElfRecordAbsent instance using the specified properties.
|
|
89711
89831
|
* @function create
|
|
@@ -89750,6 +89870,8 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89750
89870
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.gingerShouldProcess);
|
|
89751
89871
|
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
89752
89872
|
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.headspaceShouldProcess);
|
|
89873
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
89874
|
+
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.unifiedEligibilityEnabled);
|
|
89753
89875
|
return writer;
|
|
89754
89876
|
};
|
|
89755
89877
|
|
|
@@ -89814,6 +89936,9 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89814
89936
|
case 10:
|
|
89815
89937
|
message.headspaceShouldProcess = reader.bool();
|
|
89816
89938
|
break;
|
|
89939
|
+
case 11:
|
|
89940
|
+
message.unifiedEligibilityEnabled = reader.bool();
|
|
89941
|
+
break;
|
|
89817
89942
|
default:
|
|
89818
89943
|
reader.skipType(tag & 7);
|
|
89819
89944
|
break;
|
|
@@ -89884,6 +90009,9 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89884
90009
|
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
89885
90010
|
if (typeof message.headspaceShouldProcess !== "boolean")
|
|
89886
90011
|
return "headspaceShouldProcess: boolean expected";
|
|
90012
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
90013
|
+
if (typeof message.unifiedEligibilityEnabled !== "boolean")
|
|
90014
|
+
return "unifiedEligibilityEnabled: boolean expected";
|
|
89887
90015
|
return null;
|
|
89888
90016
|
};
|
|
89889
90017
|
|
|
@@ -89934,6 +90062,8 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89934
90062
|
message.gingerShouldProcess = Boolean(object.gingerShouldProcess);
|
|
89935
90063
|
if (object.headspaceShouldProcess != null)
|
|
89936
90064
|
message.headspaceShouldProcess = Boolean(object.headspaceShouldProcess);
|
|
90065
|
+
if (object.unifiedEligibilityEnabled != null)
|
|
90066
|
+
message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
|
|
89937
90067
|
return message;
|
|
89938
90068
|
};
|
|
89939
90069
|
|
|
@@ -89965,6 +90095,7 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89965
90095
|
object.isDryRun = false;
|
|
89966
90096
|
object.gingerShouldProcess = false;
|
|
89967
90097
|
object.headspaceShouldProcess = false;
|
|
90098
|
+
object.unifiedEligibilityEnabled = false;
|
|
89968
90099
|
}
|
|
89969
90100
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
89970
90101
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -89989,6 +90120,8 @@ $root.ElfRecordAbsent = (function() {
|
|
|
89989
90120
|
object.gingerShouldProcess = message.gingerShouldProcess;
|
|
89990
90121
|
if (message.headspaceShouldProcess != null && message.hasOwnProperty("headspaceShouldProcess"))
|
|
89991
90122
|
object.headspaceShouldProcess = message.headspaceShouldProcess;
|
|
90123
|
+
if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
|
|
90124
|
+
object.unifiedEligibilityEnabled = message.unifiedEligibilityEnabled;
|
|
89992
90125
|
return object;
|
|
89993
90126
|
};
|
|
89994
90127
|
|
package/package.json
CHANGED