@headspace/protos-events 1.185.0 → 1.186.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 +25 -0
- package/lib/index.js +136 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3319,6 +3319,13 @@ export namespace b2b {
|
|
|
3319
3319
|
REMOVAL_REASON_EXPIRATION = 3,
|
|
3320
3320
|
REMOVAL_REASON_MERGE_ORGS = 4
|
|
3321
3321
|
}
|
|
3322
|
+
|
|
3323
|
+
/** OrgMemberPlan enum. */
|
|
3324
|
+
enum OrgMemberPlan {
|
|
3325
|
+
ORGPLAN_UNKNOWN = 0,
|
|
3326
|
+
ORGPLAN_B2B = 1,
|
|
3327
|
+
ORGPLAN_B2B_FAMILY_PLAN = 2
|
|
3328
|
+
}
|
|
3322
3329
|
}
|
|
3323
3330
|
|
|
3324
3331
|
/** Namespace elf. */
|
|
@@ -16411,6 +16418,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
16411
16418
|
|
|
16412
16419
|
/** EnterpriseUserEnrollmentCreated isPartialPay */
|
|
16413
16420
|
isPartialPay?: (boolean|null);
|
|
16421
|
+
|
|
16422
|
+
/** EnterpriseUserEnrollmentCreated plan */
|
|
16423
|
+
plan?: (b2b.OrgMemberPlan|null);
|
|
16414
16424
|
}
|
|
16415
16425
|
|
|
16416
16426
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -16446,6 +16456,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
16446
16456
|
/** EnterpriseUserEnrollmentCreated isPartialPay. */
|
|
16447
16457
|
public isPartialPay: boolean;
|
|
16448
16458
|
|
|
16459
|
+
/** EnterpriseUserEnrollmentCreated plan. */
|
|
16460
|
+
public plan: b2b.OrgMemberPlan;
|
|
16461
|
+
|
|
16449
16462
|
/**
|
|
16450
16463
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
16451
16464
|
* @param [properties] Properties to set
|
|
@@ -16546,6 +16559,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
16546
16559
|
|
|
16547
16560
|
/** EnterpriseUserEnrollmentRemoved isPartialPay */
|
|
16548
16561
|
isPartialPay?: (boolean|null);
|
|
16562
|
+
|
|
16563
|
+
/** EnterpriseUserEnrollmentRemoved plan */
|
|
16564
|
+
plan?: (b2b.OrgMemberPlan|null);
|
|
16549
16565
|
}
|
|
16550
16566
|
|
|
16551
16567
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -16584,6 +16600,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
16584
16600
|
/** EnterpriseUserEnrollmentRemoved isPartialPay. */
|
|
16585
16601
|
public isPartialPay: boolean;
|
|
16586
16602
|
|
|
16603
|
+
/** EnterpriseUserEnrollmentRemoved plan. */
|
|
16604
|
+
public plan: b2b.OrgMemberPlan;
|
|
16605
|
+
|
|
16587
16606
|
/**
|
|
16588
16607
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
16589
16608
|
* @param [properties] Properties to set
|
|
@@ -16681,6 +16700,9 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
16681
16700
|
|
|
16682
16701
|
/** EnterpriseUserEnrollmentAmended isPartialPay */
|
|
16683
16702
|
isPartialPay?: (boolean|null);
|
|
16703
|
+
|
|
16704
|
+
/** EnterpriseUserEnrollmentAmended plan */
|
|
16705
|
+
plan?: (b2b.OrgMemberPlan|null);
|
|
16684
16706
|
}
|
|
16685
16707
|
|
|
16686
16708
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -16716,6 +16738,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
16716
16738
|
/** EnterpriseUserEnrollmentAmended isPartialPay. */
|
|
16717
16739
|
public isPartialPay: boolean;
|
|
16718
16740
|
|
|
16741
|
+
/** EnterpriseUserEnrollmentAmended plan. */
|
|
16742
|
+
public plan: b2b.OrgMemberPlan;
|
|
16743
|
+
|
|
16719
16744
|
/**
|
|
16720
16745
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
16721
16746
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -7531,6 +7531,22 @@ $root.b2b = (function() {
|
|
|
7531
7531
|
return values;
|
|
7532
7532
|
})();
|
|
7533
7533
|
|
|
7534
|
+
/**
|
|
7535
|
+
* OrgMemberPlan enum.
|
|
7536
|
+
* @name b2b.OrgMemberPlan
|
|
7537
|
+
* @enum {string}
|
|
7538
|
+
* @property {number} ORGPLAN_UNKNOWN=0 ORGPLAN_UNKNOWN value
|
|
7539
|
+
* @property {number} ORGPLAN_B2B=1 ORGPLAN_B2B value
|
|
7540
|
+
* @property {number} ORGPLAN_B2B_FAMILY_PLAN=2 ORGPLAN_B2B_FAMILY_PLAN value
|
|
7541
|
+
*/
|
|
7542
|
+
b2b.OrgMemberPlan = (function() {
|
|
7543
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
7544
|
+
values[valuesById[0] = "ORGPLAN_UNKNOWN"] = 0;
|
|
7545
|
+
values[valuesById[1] = "ORGPLAN_B2B"] = 1;
|
|
7546
|
+
values[valuesById[2] = "ORGPLAN_B2B_FAMILY_PLAN"] = 2;
|
|
7547
|
+
return values;
|
|
7548
|
+
})();
|
|
7549
|
+
|
|
7534
7550
|
return b2b;
|
|
7535
7551
|
})();
|
|
7536
7552
|
|
|
@@ -44902,6 +44918,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
44902
44918
|
* @property {number|Long|null} [endsAt] EnterpriseUserEnrollmentCreated endsAt
|
|
44903
44919
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentCreated timestamp
|
|
44904
44920
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentCreated isPartialPay
|
|
44921
|
+
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentCreated plan
|
|
44905
44922
|
*/
|
|
44906
44923
|
|
|
44907
44924
|
/**
|
|
@@ -44983,6 +45000,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
44983
45000
|
*/
|
|
44984
45001
|
EnterpriseUserEnrollmentCreated.prototype.isPartialPay = false;
|
|
44985
45002
|
|
|
45003
|
+
/**
|
|
45004
|
+
* EnterpriseUserEnrollmentCreated plan.
|
|
45005
|
+
* @member {b2b.OrgMemberPlan} plan
|
|
45006
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
45007
|
+
* @instance
|
|
45008
|
+
*/
|
|
45009
|
+
EnterpriseUserEnrollmentCreated.prototype.plan = 0;
|
|
45010
|
+
|
|
44986
45011
|
/**
|
|
44987
45012
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
44988
45013
|
* @function create
|
|
@@ -45023,6 +45048,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
45023
45048
|
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.timestamp);
|
|
45024
45049
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
45025
45050
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isPartialPay);
|
|
45051
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
45052
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
|
|
45026
45053
|
return writer;
|
|
45027
45054
|
};
|
|
45028
45055
|
|
|
@@ -45081,6 +45108,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
45081
45108
|
case 8:
|
|
45082
45109
|
message.isPartialPay = reader.bool();
|
|
45083
45110
|
break;
|
|
45111
|
+
case 9:
|
|
45112
|
+
message.plan = reader.int32();
|
|
45113
|
+
break;
|
|
45084
45114
|
default:
|
|
45085
45115
|
reader.skipType(tag & 7);
|
|
45086
45116
|
break;
|
|
@@ -45150,6 +45180,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
45150
45180
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
45151
45181
|
if (typeof message.isPartialPay !== "boolean")
|
|
45152
45182
|
return "isPartialPay: boolean expected";
|
|
45183
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
45184
|
+
switch (message.plan) {
|
|
45185
|
+
default:
|
|
45186
|
+
return "plan: enum value expected";
|
|
45187
|
+
case 0:
|
|
45188
|
+
case 1:
|
|
45189
|
+
case 2:
|
|
45190
|
+
break;
|
|
45191
|
+
}
|
|
45153
45192
|
return null;
|
|
45154
45193
|
};
|
|
45155
45194
|
|
|
@@ -45230,6 +45269,20 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
45230
45269
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
45231
45270
|
if (object.isPartialPay != null)
|
|
45232
45271
|
message.isPartialPay = Boolean(object.isPartialPay);
|
|
45272
|
+
switch (object.plan) {
|
|
45273
|
+
case "ORGPLAN_UNKNOWN":
|
|
45274
|
+
case 0:
|
|
45275
|
+
message.plan = 0;
|
|
45276
|
+
break;
|
|
45277
|
+
case "ORGPLAN_B2B":
|
|
45278
|
+
case 1:
|
|
45279
|
+
message.plan = 1;
|
|
45280
|
+
break;
|
|
45281
|
+
case "ORGPLAN_B2B_FAMILY_PLAN":
|
|
45282
|
+
case 2:
|
|
45283
|
+
message.plan = 2;
|
|
45284
|
+
break;
|
|
45285
|
+
}
|
|
45233
45286
|
return message;
|
|
45234
45287
|
};
|
|
45235
45288
|
|
|
@@ -45267,6 +45320,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
45267
45320
|
} else
|
|
45268
45321
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
45269
45322
|
object.isPartialPay = false;
|
|
45323
|
+
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
45270
45324
|
}
|
|
45271
45325
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
45272
45326
|
object.userId = message.userId;
|
|
@@ -45293,6 +45347,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
45293
45347
|
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
45294
45348
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
45295
45349
|
object.isPartialPay = message.isPartialPay;
|
|
45350
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
45351
|
+
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
45296
45352
|
return object;
|
|
45297
45353
|
};
|
|
45298
45354
|
|
|
@@ -45325,6 +45381,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45325
45381
|
* @property {b2b.OrgMemberRemovalReason|null} [reason] EnterpriseUserEnrollmentRemoved reason
|
|
45326
45382
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentRemoved timestamp
|
|
45327
45383
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentRemoved isPartialPay
|
|
45384
|
+
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentRemoved plan
|
|
45328
45385
|
*/
|
|
45329
45386
|
|
|
45330
45387
|
/**
|
|
@@ -45414,6 +45471,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45414
45471
|
*/
|
|
45415
45472
|
EnterpriseUserEnrollmentRemoved.prototype.isPartialPay = false;
|
|
45416
45473
|
|
|
45474
|
+
/**
|
|
45475
|
+
* EnterpriseUserEnrollmentRemoved plan.
|
|
45476
|
+
* @member {b2b.OrgMemberPlan} plan
|
|
45477
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
45478
|
+
* @instance
|
|
45479
|
+
*/
|
|
45480
|
+
EnterpriseUserEnrollmentRemoved.prototype.plan = 0;
|
|
45481
|
+
|
|
45417
45482
|
/**
|
|
45418
45483
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
45419
45484
|
* @function create
|
|
@@ -45456,6 +45521,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45456
45521
|
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.timestamp);
|
|
45457
45522
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
45458
45523
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isPartialPay);
|
|
45524
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
45525
|
+
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.plan);
|
|
45459
45526
|
return writer;
|
|
45460
45527
|
};
|
|
45461
45528
|
|
|
@@ -45517,6 +45584,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45517
45584
|
case 9:
|
|
45518
45585
|
message.isPartialPay = reader.bool();
|
|
45519
45586
|
break;
|
|
45587
|
+
case 10:
|
|
45588
|
+
message.plan = reader.int32();
|
|
45589
|
+
break;
|
|
45520
45590
|
default:
|
|
45521
45591
|
reader.skipType(tag & 7);
|
|
45522
45592
|
break;
|
|
@@ -45597,6 +45667,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45597
45667
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
45598
45668
|
if (typeof message.isPartialPay !== "boolean")
|
|
45599
45669
|
return "isPartialPay: boolean expected";
|
|
45670
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
45671
|
+
switch (message.plan) {
|
|
45672
|
+
default:
|
|
45673
|
+
return "plan: enum value expected";
|
|
45674
|
+
case 0:
|
|
45675
|
+
case 1:
|
|
45676
|
+
case 2:
|
|
45677
|
+
break;
|
|
45678
|
+
}
|
|
45600
45679
|
return null;
|
|
45601
45680
|
};
|
|
45602
45681
|
|
|
@@ -45699,6 +45778,20 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45699
45778
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
45700
45779
|
if (object.isPartialPay != null)
|
|
45701
45780
|
message.isPartialPay = Boolean(object.isPartialPay);
|
|
45781
|
+
switch (object.plan) {
|
|
45782
|
+
case "ORGPLAN_UNKNOWN":
|
|
45783
|
+
case 0:
|
|
45784
|
+
message.plan = 0;
|
|
45785
|
+
break;
|
|
45786
|
+
case "ORGPLAN_B2B":
|
|
45787
|
+
case 1:
|
|
45788
|
+
message.plan = 1;
|
|
45789
|
+
break;
|
|
45790
|
+
case "ORGPLAN_B2B_FAMILY_PLAN":
|
|
45791
|
+
case 2:
|
|
45792
|
+
message.plan = 2;
|
|
45793
|
+
break;
|
|
45794
|
+
}
|
|
45702
45795
|
return message;
|
|
45703
45796
|
};
|
|
45704
45797
|
|
|
@@ -45737,6 +45830,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45737
45830
|
} else
|
|
45738
45831
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
45739
45832
|
object.isPartialPay = false;
|
|
45833
|
+
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
45740
45834
|
}
|
|
45741
45835
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
45742
45836
|
object.userId = message.userId;
|
|
@@ -45765,6 +45859,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
45765
45859
|
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
45766
45860
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
45767
45861
|
object.isPartialPay = message.isPartialPay;
|
|
45862
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
45863
|
+
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
45768
45864
|
return object;
|
|
45769
45865
|
};
|
|
45770
45866
|
|
|
@@ -45796,6 +45892,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
45796
45892
|
* @property {number|Long|null} [endsAt] EnterpriseUserEnrollmentAmended endsAt
|
|
45797
45893
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentAmended timestamp
|
|
45798
45894
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentAmended isPartialPay
|
|
45895
|
+
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentAmended plan
|
|
45799
45896
|
*/
|
|
45800
45897
|
|
|
45801
45898
|
/**
|
|
@@ -45877,6 +45974,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
45877
45974
|
*/
|
|
45878
45975
|
EnterpriseUserEnrollmentAmended.prototype.isPartialPay = false;
|
|
45879
45976
|
|
|
45977
|
+
/**
|
|
45978
|
+
* EnterpriseUserEnrollmentAmended plan.
|
|
45979
|
+
* @member {b2b.OrgMemberPlan} plan
|
|
45980
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
45981
|
+
* @instance
|
|
45982
|
+
*/
|
|
45983
|
+
EnterpriseUserEnrollmentAmended.prototype.plan = 0;
|
|
45984
|
+
|
|
45880
45985
|
/**
|
|
45881
45986
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
45882
45987
|
* @function create
|
|
@@ -45917,6 +46022,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
45917
46022
|
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.timestamp);
|
|
45918
46023
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
45919
46024
|
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isPartialPay);
|
|
46025
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
46026
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
|
|
45920
46027
|
return writer;
|
|
45921
46028
|
};
|
|
45922
46029
|
|
|
@@ -45975,6 +46082,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
45975
46082
|
case 8:
|
|
45976
46083
|
message.isPartialPay = reader.bool();
|
|
45977
46084
|
break;
|
|
46085
|
+
case 9:
|
|
46086
|
+
message.plan = reader.int32();
|
|
46087
|
+
break;
|
|
45978
46088
|
default:
|
|
45979
46089
|
reader.skipType(tag & 7);
|
|
45980
46090
|
break;
|
|
@@ -46044,6 +46154,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
46044
46154
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
46045
46155
|
if (typeof message.isPartialPay !== "boolean")
|
|
46046
46156
|
return "isPartialPay: boolean expected";
|
|
46157
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
46158
|
+
switch (message.plan) {
|
|
46159
|
+
default:
|
|
46160
|
+
return "plan: enum value expected";
|
|
46161
|
+
case 0:
|
|
46162
|
+
case 1:
|
|
46163
|
+
case 2:
|
|
46164
|
+
break;
|
|
46165
|
+
}
|
|
46047
46166
|
return null;
|
|
46048
46167
|
};
|
|
46049
46168
|
|
|
@@ -46124,6 +46243,20 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
46124
46243
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
46125
46244
|
if (object.isPartialPay != null)
|
|
46126
46245
|
message.isPartialPay = Boolean(object.isPartialPay);
|
|
46246
|
+
switch (object.plan) {
|
|
46247
|
+
case "ORGPLAN_UNKNOWN":
|
|
46248
|
+
case 0:
|
|
46249
|
+
message.plan = 0;
|
|
46250
|
+
break;
|
|
46251
|
+
case "ORGPLAN_B2B":
|
|
46252
|
+
case 1:
|
|
46253
|
+
message.plan = 1;
|
|
46254
|
+
break;
|
|
46255
|
+
case "ORGPLAN_B2B_FAMILY_PLAN":
|
|
46256
|
+
case 2:
|
|
46257
|
+
message.plan = 2;
|
|
46258
|
+
break;
|
|
46259
|
+
}
|
|
46127
46260
|
return message;
|
|
46128
46261
|
};
|
|
46129
46262
|
|
|
@@ -46161,6 +46294,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
46161
46294
|
} else
|
|
46162
46295
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
46163
46296
|
object.isPartialPay = false;
|
|
46297
|
+
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
46164
46298
|
}
|
|
46165
46299
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
46166
46300
|
object.userId = message.userId;
|
|
@@ -46187,6 +46321,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
46187
46321
|
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
46188
46322
|
if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
|
|
46189
46323
|
object.isPartialPay = message.isPartialPay;
|
|
46324
|
+
if (message.plan != null && message.hasOwnProperty("plan"))
|
|
46325
|
+
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
46190
46326
|
return object;
|
|
46191
46327
|
};
|
|
46192
46328
|
|
package/package.json
CHANGED