@headspace/protos-events 1.470.1-rc.5 → 1.470.1-rc.6
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 +23 -29
- package/lib/index.js +171 -203
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -29994,7 +29994,7 @@ export interface IEligibleUserAdded {
|
|
|
29994
29994
|
b2bMemberStatus?: (b2b.MemberStatus|null);
|
|
29995
29995
|
|
|
29996
29996
|
/** EligibleUserAdded b2bOrgId */
|
|
29997
|
-
b2bOrgId?: (number|
|
|
29997
|
+
b2bOrgId?: (number|null);
|
|
29998
29998
|
|
|
29999
29999
|
/** EligibleUserAdded b2bOrgName */
|
|
30000
30000
|
b2bOrgName?: (string|null);
|
|
@@ -30009,7 +30009,7 @@ export interface IEligibleUserAdded {
|
|
|
30009
30009
|
b2bIsPilot?: (boolean|null);
|
|
30010
30010
|
|
|
30011
30011
|
/** EligibleUserAdded b2bEnrollmentFlow */
|
|
30012
|
-
b2bEnrollmentFlow?: (
|
|
30012
|
+
b2bEnrollmentFlow?: (EnrollmentFlow|null);
|
|
30013
30013
|
|
|
30014
30014
|
/** EligibleUserAdded enrollmentUrl */
|
|
30015
30015
|
enrollmentUrl?: (string|null);
|
|
@@ -30019,6 +30019,9 @@ export interface IEligibleUserAdded {
|
|
|
30019
30019
|
|
|
30020
30020
|
/** EligibleUserAdded timestamp */
|
|
30021
30021
|
timestamp?: (number|Long|null);
|
|
30022
|
+
|
|
30023
|
+
/** EligibleUserAdded b2bCampaignLaunchDate */
|
|
30024
|
+
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30022
30025
|
}
|
|
30023
30026
|
|
|
30024
30027
|
/** Represents an EligibleUserAdded. */
|
|
@@ -30043,7 +30046,7 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30043
30046
|
public b2bMemberStatus: b2b.MemberStatus;
|
|
30044
30047
|
|
|
30045
30048
|
/** EligibleUserAdded b2bOrgId. */
|
|
30046
|
-
public b2bOrgId:
|
|
30049
|
+
public b2bOrgId: number;
|
|
30047
30050
|
|
|
30048
30051
|
/** EligibleUserAdded b2bOrgName. */
|
|
30049
30052
|
public b2bOrgName: string;
|
|
@@ -30058,7 +30061,7 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30058
30061
|
public b2bIsPilot: boolean;
|
|
30059
30062
|
|
|
30060
30063
|
/** EligibleUserAdded b2bEnrollmentFlow. */
|
|
30061
|
-
public b2bEnrollmentFlow:
|
|
30064
|
+
public b2bEnrollmentFlow: EnrollmentFlow;
|
|
30062
30065
|
|
|
30063
30066
|
/** EligibleUserAdded enrollmentUrl. */
|
|
30064
30067
|
public enrollmentUrl: string;
|
|
@@ -30069,6 +30072,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30069
30072
|
/** EligibleUserAdded timestamp. */
|
|
30070
30073
|
public timestamp: (number|Long);
|
|
30071
30074
|
|
|
30075
|
+
/** EligibleUserAdded b2bCampaignLaunchDate. */
|
|
30076
|
+
public b2bCampaignLaunchDate: (number|Long);
|
|
30077
|
+
|
|
30072
30078
|
/**
|
|
30073
30079
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
30074
30080
|
* @param [properties] Properties to set
|
|
@@ -30147,7 +30153,7 @@ export interface IEligibleUserRemoved {
|
|
|
30147
30153
|
workEmail?: (string|null);
|
|
30148
30154
|
|
|
30149
30155
|
/** EligibleUserRemoved b2bOrgId */
|
|
30150
|
-
b2bOrgId?: (number|
|
|
30156
|
+
b2bOrgId?: (number|null);
|
|
30151
30157
|
|
|
30152
30158
|
/** EligibleUserRemoved timestamp */
|
|
30153
30159
|
timestamp?: (number|Long|null);
|
|
@@ -30166,7 +30172,7 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
|
|
|
30166
30172
|
public workEmail: string;
|
|
30167
30173
|
|
|
30168
30174
|
/** EligibleUserRemoved b2bOrgId. */
|
|
30169
|
-
public b2bOrgId:
|
|
30175
|
+
public b2bOrgId: number;
|
|
30170
30176
|
|
|
30171
30177
|
/** EligibleUserRemoved timestamp. */
|
|
30172
30178
|
public timestamp: (number|Long);
|
|
@@ -30258,7 +30264,7 @@ export interface IEligibleUserAmended {
|
|
|
30258
30264
|
b2bMemberStatus?: (b2b.MemberStatus|null);
|
|
30259
30265
|
|
|
30260
30266
|
/** EligibleUserAmended b2bOrgId */
|
|
30261
|
-
b2bOrgId?: (number|
|
|
30267
|
+
b2bOrgId?: (number|null);
|
|
30262
30268
|
|
|
30263
30269
|
/** EligibleUserAmended b2bOrgName */
|
|
30264
30270
|
b2bOrgName?: (string|null);
|
|
@@ -30273,7 +30279,7 @@ export interface IEligibleUserAmended {
|
|
|
30273
30279
|
b2bIsPilot?: (boolean|null);
|
|
30274
30280
|
|
|
30275
30281
|
/** EligibleUserAmended b2bEnrollmentFlow */
|
|
30276
|
-
b2bEnrollmentFlow?: (
|
|
30282
|
+
b2bEnrollmentFlow?: (EnrollmentFlow|null);
|
|
30277
30283
|
|
|
30278
30284
|
/** EligibleUserAmended enrollmentUrl */
|
|
30279
30285
|
enrollmentUrl?: (string|null);
|
|
@@ -30283,6 +30289,9 @@ export interface IEligibleUserAmended {
|
|
|
30283
30289
|
|
|
30284
30290
|
/** EligibleUserAmended timestamp */
|
|
30285
30291
|
timestamp?: (number|Long|null);
|
|
30292
|
+
|
|
30293
|
+
/** EligibleUserAmended b2bCampaignLaunchDate */
|
|
30294
|
+
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30286
30295
|
}
|
|
30287
30296
|
|
|
30288
30297
|
/** Represents an EligibleUserAmended. */
|
|
@@ -30307,7 +30316,7 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30307
30316
|
public b2bMemberStatus: b2b.MemberStatus;
|
|
30308
30317
|
|
|
30309
30318
|
/** EligibleUserAmended b2bOrgId. */
|
|
30310
|
-
public b2bOrgId:
|
|
30319
|
+
public b2bOrgId: number;
|
|
30311
30320
|
|
|
30312
30321
|
/** EligibleUserAmended b2bOrgName. */
|
|
30313
30322
|
public b2bOrgName: string;
|
|
@@ -30322,7 +30331,7 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30322
30331
|
public b2bIsPilot: boolean;
|
|
30323
30332
|
|
|
30324
30333
|
/** EligibleUserAmended b2bEnrollmentFlow. */
|
|
30325
|
-
public b2bEnrollmentFlow:
|
|
30334
|
+
public b2bEnrollmentFlow: EnrollmentFlow;
|
|
30326
30335
|
|
|
30327
30336
|
/** EligibleUserAmended enrollmentUrl. */
|
|
30328
30337
|
public enrollmentUrl: string;
|
|
@@ -30333,6 +30342,9 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30333
30342
|
/** EligibleUserAmended timestamp. */
|
|
30334
30343
|
public timestamp: (number|Long);
|
|
30335
30344
|
|
|
30345
|
+
/** EligibleUserAmended b2bCampaignLaunchDate. */
|
|
30346
|
+
public b2bCampaignLaunchDate: (number|Long);
|
|
30347
|
+
|
|
30336
30348
|
/**
|
|
30337
30349
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
30338
30350
|
* @param [properties] Properties to set
|
|
@@ -32919,7 +32931,7 @@ export interface IFamilyMemberSynced {
|
|
|
32919
32931
|
orgId?: (number|null);
|
|
32920
32932
|
}
|
|
32921
32933
|
|
|
32922
|
-
/** Event published for each group member when a change (created, amended
|
|
32934
|
+
/** Event published for each group member when a change (created, amended) to the owner's subscription observed */
|
|
32923
32935
|
export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
32924
32936
|
|
|
32925
32937
|
/**
|
|
@@ -34657,9 +34669,6 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
34657
34669
|
/** EnterpriseUserEnrollmentCreated endsAt */
|
|
34658
34670
|
endsAt?: (number|Long|null);
|
|
34659
34671
|
|
|
34660
|
-
/** EnterpriseUserEnrollmentCreated previousEndsAt */
|
|
34661
|
-
previousEndsAt?: (number|Long|null);
|
|
34662
|
-
|
|
34663
34672
|
/** EnterpriseUserEnrollmentCreated timestamp */
|
|
34664
34673
|
timestamp?: (number|Long|null);
|
|
34665
34674
|
|
|
@@ -34751,9 +34760,6 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
34751
34760
|
/** EnterpriseUserEnrollmentCreated endsAt. */
|
|
34752
34761
|
public endsAt: (number|Long);
|
|
34753
34762
|
|
|
34754
|
-
/** EnterpriseUserEnrollmentCreated previousEndsAt. */
|
|
34755
|
-
public previousEndsAt: (number|Long);
|
|
34756
|
-
|
|
34757
34763
|
/** EnterpriseUserEnrollmentCreated timestamp. */
|
|
34758
34764
|
public timestamp: (number|Long);
|
|
34759
34765
|
|
|
@@ -42750,9 +42756,6 @@ export interface ISubscriptionCreated {
|
|
|
42750
42756
|
/** SubscriptionCreated endsAt */
|
|
42751
42757
|
endsAt?: (number|Long|null);
|
|
42752
42758
|
|
|
42753
|
-
/** SubscriptionCreated previousEndsAt */
|
|
42754
|
-
previousEndsAt?: (number|Long|null);
|
|
42755
|
-
|
|
42756
42759
|
/** SubscriptionCreated voucherCode */
|
|
42757
42760
|
voucherCode?: (string|null);
|
|
42758
42761
|
|
|
@@ -42814,9 +42817,6 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
42814
42817
|
/** SubscriptionCreated endsAt. */
|
|
42815
42818
|
public endsAt: (number|Long);
|
|
42816
42819
|
|
|
42817
|
-
/** SubscriptionCreated previousEndsAt. */
|
|
42818
|
-
public previousEndsAt: (number|Long);
|
|
42819
|
-
|
|
42820
42820
|
/** SubscriptionCreated voucherCode. */
|
|
42821
42821
|
public voucherCode: string;
|
|
42822
42822
|
|
|
@@ -44409,9 +44409,6 @@ export interface ISubscriptionAmended {
|
|
|
44409
44409
|
/** SubscriptionAmended endsAt */
|
|
44410
44410
|
endsAt?: (number|Long|null);
|
|
44411
44411
|
|
|
44412
|
-
/** SubscriptionAmended previousEndsAt */
|
|
44413
|
-
previousEndsAt?: (number|Long|null);
|
|
44414
|
-
|
|
44415
44412
|
/** SubscriptionAmended voucherCode */
|
|
44416
44413
|
voucherCode?: (string|null);
|
|
44417
44414
|
|
|
@@ -44473,9 +44470,6 @@ export class SubscriptionAmended implements ISubscriptionAmended {
|
|
|
44473
44470
|
/** SubscriptionAmended endsAt. */
|
|
44474
44471
|
public endsAt: (number|Long);
|
|
44475
44472
|
|
|
44476
|
-
/** SubscriptionAmended previousEndsAt. */
|
|
44477
|
-
public previousEndsAt: (number|Long);
|
|
44478
|
-
|
|
44479
44473
|
/** SubscriptionAmended voucherCode. */
|
|
44480
44474
|
public voucherCode: string;
|
|
44481
44475
|
|
package/lib/index.js
CHANGED
|
@@ -83163,15 +83163,16 @@ $root.EligibleUserAdded = (function() {
|
|
|
83163
83163
|
* @property {string|null} [firstName] EligibleUserAdded firstName
|
|
83164
83164
|
* @property {string|null} [lastName] EligibleUserAdded lastName
|
|
83165
83165
|
* @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAdded b2bMemberStatus
|
|
83166
|
-
* @property {number|
|
|
83166
|
+
* @property {number|null} [b2bOrgId] EligibleUserAdded b2bOrgId
|
|
83167
83167
|
* @property {string|null} [b2bOrgName] EligibleUserAdded b2bOrgName
|
|
83168
83168
|
* @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAdded b2bOrgCampaignDisplayName
|
|
83169
83169
|
* @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAdded b2bPlan
|
|
83170
83170
|
* @property {boolean|null} [b2bIsPilot] EligibleUserAdded b2bIsPilot
|
|
83171
|
-
* @property {
|
|
83171
|
+
* @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAdded b2bEnrollmentFlow
|
|
83172
83172
|
* @property {string|null} [enrollmentUrl] EligibleUserAdded enrollmentUrl
|
|
83173
83173
|
* @property {string|null} [b2bCustomFields] EligibleUserAdded b2bCustomFields
|
|
83174
83174
|
* @property {number|Long|null} [timestamp] EligibleUserAdded timestamp
|
|
83175
|
+
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAdded b2bCampaignLaunchDate
|
|
83175
83176
|
*/
|
|
83176
83177
|
|
|
83177
83178
|
/**
|
|
@@ -83223,11 +83224,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83223
83224
|
|
|
83224
83225
|
/**
|
|
83225
83226
|
* EligibleUserAdded b2bOrgId.
|
|
83226
|
-
* @member {number
|
|
83227
|
+
* @member {number} b2bOrgId
|
|
83227
83228
|
* @memberof EligibleUserAdded
|
|
83228
83229
|
* @instance
|
|
83229
83230
|
*/
|
|
83230
|
-
EligibleUserAdded.prototype.b2bOrgId =
|
|
83231
|
+
EligibleUserAdded.prototype.b2bOrgId = 0;
|
|
83231
83232
|
|
|
83232
83233
|
/**
|
|
83233
83234
|
* EligibleUserAdded b2bOrgName.
|
|
@@ -83263,11 +83264,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83263
83264
|
|
|
83264
83265
|
/**
|
|
83265
83266
|
* EligibleUserAdded b2bEnrollmentFlow.
|
|
83266
|
-
* @member {
|
|
83267
|
+
* @member {EnrollmentFlow} b2bEnrollmentFlow
|
|
83267
83268
|
* @memberof EligibleUserAdded
|
|
83268
83269
|
* @instance
|
|
83269
83270
|
*/
|
|
83270
|
-
EligibleUserAdded.prototype.b2bEnrollmentFlow =
|
|
83271
|
+
EligibleUserAdded.prototype.b2bEnrollmentFlow = 0;
|
|
83271
83272
|
|
|
83272
83273
|
/**
|
|
83273
83274
|
* EligibleUserAdded enrollmentUrl.
|
|
@@ -83293,6 +83294,14 @@ $root.EligibleUserAdded = (function() {
|
|
|
83293
83294
|
*/
|
|
83294
83295
|
EligibleUserAdded.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83295
83296
|
|
|
83297
|
+
/**
|
|
83298
|
+
* EligibleUserAdded b2bCampaignLaunchDate.
|
|
83299
|
+
* @member {number|Long} b2bCampaignLaunchDate
|
|
83300
|
+
* @memberof EligibleUserAdded
|
|
83301
|
+
* @instance
|
|
83302
|
+
*/
|
|
83303
|
+
EligibleUserAdded.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83304
|
+
|
|
83296
83305
|
/**
|
|
83297
83306
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
83298
83307
|
* @function create
|
|
@@ -83326,7 +83335,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83326
83335
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
83327
83336
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
|
|
83328
83337
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83329
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
83338
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bOrgId);
|
|
83330
83339
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83331
83340
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
|
|
83332
83341
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -83336,13 +83345,15 @@ $root.EligibleUserAdded = (function() {
|
|
|
83336
83345
|
if (message.b2bIsPilot != null && message.hasOwnProperty("b2bIsPilot"))
|
|
83337
83346
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.b2bIsPilot);
|
|
83338
83347
|
if (message.b2bEnrollmentFlow != null && message.hasOwnProperty("b2bEnrollmentFlow"))
|
|
83339
|
-
writer.uint32(/* id 10, wireType
|
|
83348
|
+
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
|
|
83340
83349
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83341
83350
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
|
|
83342
83351
|
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
83343
83352
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
83344
83353
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83345
83354
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
|
|
83355
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83356
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
|
|
83346
83357
|
return writer;
|
|
83347
83358
|
};
|
|
83348
83359
|
|
|
@@ -83390,7 +83401,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83390
83401
|
message.b2bMemberStatus = reader.int32();
|
|
83391
83402
|
break;
|
|
83392
83403
|
case 5:
|
|
83393
|
-
message.b2bOrgId = reader.
|
|
83404
|
+
message.b2bOrgId = reader.uint32();
|
|
83394
83405
|
break;
|
|
83395
83406
|
case 6:
|
|
83396
83407
|
message.b2bOrgName = reader.string();
|
|
@@ -83405,7 +83416,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83405
83416
|
message.b2bIsPilot = reader.bool();
|
|
83406
83417
|
break;
|
|
83407
83418
|
case 10:
|
|
83408
|
-
message.b2bEnrollmentFlow = reader.
|
|
83419
|
+
message.b2bEnrollmentFlow = reader.int32();
|
|
83409
83420
|
break;
|
|
83410
83421
|
case 11:
|
|
83411
83422
|
message.enrollmentUrl = reader.string();
|
|
@@ -83416,6 +83427,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
83416
83427
|
case 13:
|
|
83417
83428
|
message.timestamp = reader.uint64();
|
|
83418
83429
|
break;
|
|
83430
|
+
case 14:
|
|
83431
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
83432
|
+
break;
|
|
83419
83433
|
default:
|
|
83420
83434
|
reader.skipType(tag & 7);
|
|
83421
83435
|
break;
|
|
@@ -83474,8 +83488,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
83474
83488
|
break;
|
|
83475
83489
|
}
|
|
83476
83490
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83477
|
-
if (!$util.isInteger(message.b2bOrgId)
|
|
83478
|
-
return "b2bOrgId: integer
|
|
83491
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
83492
|
+
return "b2bOrgId: integer expected";
|
|
83479
83493
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83480
83494
|
if (!$util.isString(message.b2bOrgName))
|
|
83481
83495
|
return "b2bOrgName: string expected";
|
|
@@ -83495,8 +83509,15 @@ $root.EligibleUserAdded = (function() {
|
|
|
83495
83509
|
if (typeof message.b2bIsPilot !== "boolean")
|
|
83496
83510
|
return "b2bIsPilot: boolean expected";
|
|
83497
83511
|
if (message.b2bEnrollmentFlow != null && message.hasOwnProperty("b2bEnrollmentFlow"))
|
|
83498
|
-
|
|
83499
|
-
|
|
83512
|
+
switch (message.b2bEnrollmentFlow) {
|
|
83513
|
+
default:
|
|
83514
|
+
return "b2bEnrollmentFlow: enum value expected";
|
|
83515
|
+
case 0:
|
|
83516
|
+
case 1:
|
|
83517
|
+
case 2:
|
|
83518
|
+
case 3:
|
|
83519
|
+
break;
|
|
83520
|
+
}
|
|
83500
83521
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83501
83522
|
if (!$util.isString(message.enrollmentUrl))
|
|
83502
83523
|
return "enrollmentUrl: string expected";
|
|
@@ -83506,6 +83527,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
83506
83527
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83507
83528
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83508
83529
|
return "timestamp: integer|Long expected";
|
|
83530
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83531
|
+
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
83532
|
+
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
83509
83533
|
return null;
|
|
83510
83534
|
};
|
|
83511
83535
|
|
|
@@ -83558,14 +83582,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83558
83582
|
break;
|
|
83559
83583
|
}
|
|
83560
83584
|
if (object.b2bOrgId != null)
|
|
83561
|
-
|
|
83562
|
-
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
83563
|
-
else if (typeof object.b2bOrgId === "string")
|
|
83564
|
-
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
83565
|
-
else if (typeof object.b2bOrgId === "number")
|
|
83566
|
-
message.b2bOrgId = object.b2bOrgId;
|
|
83567
|
-
else if (typeof object.b2bOrgId === "object")
|
|
83568
|
-
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
83585
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
83569
83586
|
if (object.b2bOrgName != null)
|
|
83570
83587
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
83571
83588
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -83586,8 +83603,24 @@ $root.EligibleUserAdded = (function() {
|
|
|
83586
83603
|
}
|
|
83587
83604
|
if (object.b2bIsPilot != null)
|
|
83588
83605
|
message.b2bIsPilot = Boolean(object.b2bIsPilot);
|
|
83589
|
-
|
|
83590
|
-
|
|
83606
|
+
switch (object.b2bEnrollmentFlow) {
|
|
83607
|
+
case "ENROLLMENT_FLOW_UNKNOWN":
|
|
83608
|
+
case 0:
|
|
83609
|
+
message.b2bEnrollmentFlow = 0;
|
|
83610
|
+
break;
|
|
83611
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
83612
|
+
case 1:
|
|
83613
|
+
message.b2bEnrollmentFlow = 1;
|
|
83614
|
+
break;
|
|
83615
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
83616
|
+
case 2:
|
|
83617
|
+
message.b2bEnrollmentFlow = 2;
|
|
83618
|
+
break;
|
|
83619
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
83620
|
+
case 3:
|
|
83621
|
+
message.b2bEnrollmentFlow = 3;
|
|
83622
|
+
break;
|
|
83623
|
+
}
|
|
83591
83624
|
if (object.enrollmentUrl != null)
|
|
83592
83625
|
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
83593
83626
|
if (object.b2bCustomFields != null)
|
|
@@ -83601,6 +83634,15 @@ $root.EligibleUserAdded = (function() {
|
|
|
83601
83634
|
message.timestamp = object.timestamp;
|
|
83602
83635
|
else if (typeof object.timestamp === "object")
|
|
83603
83636
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
83637
|
+
if (object.b2bCampaignLaunchDate != null)
|
|
83638
|
+
if ($util.Long)
|
|
83639
|
+
(message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
|
|
83640
|
+
else if (typeof object.b2bCampaignLaunchDate === "string")
|
|
83641
|
+
message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
|
|
83642
|
+
else if (typeof object.b2bCampaignLaunchDate === "number")
|
|
83643
|
+
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
83644
|
+
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
83645
|
+
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
83604
83646
|
return message;
|
|
83605
83647
|
};
|
|
83606
83648
|
|
|
@@ -83622,16 +83664,12 @@ $root.EligibleUserAdded = (function() {
|
|
|
83622
83664
|
object.firstName = "";
|
|
83623
83665
|
object.lastName = "";
|
|
83624
83666
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
83625
|
-
|
|
83626
|
-
var long = new $util.Long(0, 0, true);
|
|
83627
|
-
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83628
|
-
} else
|
|
83629
|
-
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
83667
|
+
object.b2bOrgId = 0;
|
|
83630
83668
|
object.b2bOrgName = "";
|
|
83631
83669
|
object.b2bOrgCampaignDisplayName = "";
|
|
83632
83670
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
83633
83671
|
object.b2bIsPilot = false;
|
|
83634
|
-
object.b2bEnrollmentFlow = "";
|
|
83672
|
+
object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
83635
83673
|
object.enrollmentUrl = "";
|
|
83636
83674
|
object.b2bCustomFields = "";
|
|
83637
83675
|
if ($util.Long) {
|
|
@@ -83639,6 +83677,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83639
83677
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83640
83678
|
} else
|
|
83641
83679
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
83680
|
+
if ($util.Long) {
|
|
83681
|
+
var long = new $util.Long(0, 0, true);
|
|
83682
|
+
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83683
|
+
} else
|
|
83684
|
+
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
83642
83685
|
}
|
|
83643
83686
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83644
83687
|
object.workEmail = message.workEmail;
|
|
@@ -83649,10 +83692,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83649
83692
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
83650
83693
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
83651
83694
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83652
|
-
|
|
83653
|
-
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
83654
|
-
else
|
|
83655
|
-
object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
|
|
83695
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
83656
83696
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83657
83697
|
object.b2bOrgName = message.b2bOrgName;
|
|
83658
83698
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -83662,7 +83702,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83662
83702
|
if (message.b2bIsPilot != null && message.hasOwnProperty("b2bIsPilot"))
|
|
83663
83703
|
object.b2bIsPilot = message.b2bIsPilot;
|
|
83664
83704
|
if (message.b2bEnrollmentFlow != null && message.hasOwnProperty("b2bEnrollmentFlow"))
|
|
83665
|
-
object.b2bEnrollmentFlow = message.b2bEnrollmentFlow;
|
|
83705
|
+
object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
|
|
83666
83706
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83667
83707
|
object.enrollmentUrl = message.enrollmentUrl;
|
|
83668
83708
|
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
@@ -83672,6 +83712,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83672
83712
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
83673
83713
|
else
|
|
83674
83714
|
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;
|
|
83715
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83716
|
+
if (typeof message.b2bCampaignLaunchDate === "number")
|
|
83717
|
+
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
83718
|
+
else
|
|
83719
|
+
object.b2bCampaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.b2bCampaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.b2bCampaignLaunchDate.low >>> 0, message.b2bCampaignLaunchDate.high >>> 0).toNumber(true) : message.b2bCampaignLaunchDate;
|
|
83675
83720
|
return object;
|
|
83676
83721
|
};
|
|
83677
83722
|
|
|
@@ -83696,7 +83741,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83696
83741
|
* @name IEligibleUserRemoved
|
|
83697
83742
|
* @interface IEligibleUserRemoved
|
|
83698
83743
|
* @property {string|null} [workEmail] EligibleUserRemoved workEmail
|
|
83699
|
-
* @property {number|
|
|
83744
|
+
* @property {number|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
|
|
83700
83745
|
* @property {number|Long|null} [timestamp] EligibleUserRemoved timestamp
|
|
83701
83746
|
*/
|
|
83702
83747
|
|
|
@@ -83725,11 +83770,11 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83725
83770
|
|
|
83726
83771
|
/**
|
|
83727
83772
|
* EligibleUserRemoved b2bOrgId.
|
|
83728
|
-
* @member {number
|
|
83773
|
+
* @member {number} b2bOrgId
|
|
83729
83774
|
* @memberof EligibleUserRemoved
|
|
83730
83775
|
* @instance
|
|
83731
83776
|
*/
|
|
83732
|
-
EligibleUserRemoved.prototype.b2bOrgId =
|
|
83777
|
+
EligibleUserRemoved.prototype.b2bOrgId = 0;
|
|
83733
83778
|
|
|
83734
83779
|
/**
|
|
83735
83780
|
* EligibleUserRemoved timestamp.
|
|
@@ -83766,7 +83811,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83766
83811
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83767
83812
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.workEmail);
|
|
83768
83813
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83769
|
-
writer.uint32(/* id 2, wireType 0 =*/16).
|
|
83814
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
|
|
83770
83815
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83771
83816
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
83772
83817
|
return writer;
|
|
@@ -83807,7 +83852,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83807
83852
|
message.workEmail = reader.string();
|
|
83808
83853
|
break;
|
|
83809
83854
|
case 2:
|
|
83810
|
-
message.b2bOrgId = reader.
|
|
83855
|
+
message.b2bOrgId = reader.uint32();
|
|
83811
83856
|
break;
|
|
83812
83857
|
case 3:
|
|
83813
83858
|
message.timestamp = reader.uint64();
|
|
@@ -83851,8 +83896,8 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83851
83896
|
if (!$util.isString(message.workEmail))
|
|
83852
83897
|
return "workEmail: string expected";
|
|
83853
83898
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83854
|
-
if (!$util.isInteger(message.b2bOrgId)
|
|
83855
|
-
return "b2bOrgId: integer
|
|
83899
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
83900
|
+
return "b2bOrgId: integer expected";
|
|
83856
83901
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83857
83902
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83858
83903
|
return "timestamp: integer|Long expected";
|
|
@@ -83874,14 +83919,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83874
83919
|
if (object.workEmail != null)
|
|
83875
83920
|
message.workEmail = String(object.workEmail);
|
|
83876
83921
|
if (object.b2bOrgId != null)
|
|
83877
|
-
|
|
83878
|
-
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
83879
|
-
else if (typeof object.b2bOrgId === "string")
|
|
83880
|
-
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
83881
|
-
else if (typeof object.b2bOrgId === "number")
|
|
83882
|
-
message.b2bOrgId = object.b2bOrgId;
|
|
83883
|
-
else if (typeof object.b2bOrgId === "object")
|
|
83884
|
-
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
83922
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
83885
83923
|
if (object.timestamp != null)
|
|
83886
83924
|
if ($util.Long)
|
|
83887
83925
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -83909,11 +83947,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83909
83947
|
var object = {};
|
|
83910
83948
|
if (options.defaults) {
|
|
83911
83949
|
object.workEmail = "";
|
|
83912
|
-
|
|
83913
|
-
var long = new $util.Long(0, 0, true);
|
|
83914
|
-
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83915
|
-
} else
|
|
83916
|
-
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
83950
|
+
object.b2bOrgId = 0;
|
|
83917
83951
|
if ($util.Long) {
|
|
83918
83952
|
var long = new $util.Long(0, 0, true);
|
|
83919
83953
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -83923,10 +83957,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83923
83957
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83924
83958
|
object.workEmail = message.workEmail;
|
|
83925
83959
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83926
|
-
|
|
83927
|
-
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
83928
|
-
else
|
|
83929
|
-
object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
|
|
83960
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
83930
83961
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83931
83962
|
if (typeof message.timestamp === "number")
|
|
83932
83963
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -83959,15 +83990,16 @@ $root.EligibleUserAmended = (function() {
|
|
|
83959
83990
|
* @property {string|null} [firstName] EligibleUserAmended firstName
|
|
83960
83991
|
* @property {string|null} [lastName] EligibleUserAmended lastName
|
|
83961
83992
|
* @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAmended b2bMemberStatus
|
|
83962
|
-
* @property {number|
|
|
83993
|
+
* @property {number|null} [b2bOrgId] EligibleUserAmended b2bOrgId
|
|
83963
83994
|
* @property {string|null} [b2bOrgName] EligibleUserAmended b2bOrgName
|
|
83964
83995
|
* @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAmended b2bOrgCampaignDisplayName
|
|
83965
83996
|
* @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAmended b2bPlan
|
|
83966
83997
|
* @property {boolean|null} [b2bIsPilot] EligibleUserAmended b2bIsPilot
|
|
83967
|
-
* @property {
|
|
83998
|
+
* @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAmended b2bEnrollmentFlow
|
|
83968
83999
|
* @property {string|null} [enrollmentUrl] EligibleUserAmended enrollmentUrl
|
|
83969
84000
|
* @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
|
|
83970
84001
|
* @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
|
|
84002
|
+
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
|
|
83971
84003
|
*/
|
|
83972
84004
|
|
|
83973
84005
|
/**
|
|
@@ -84019,11 +84051,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84019
84051
|
|
|
84020
84052
|
/**
|
|
84021
84053
|
* EligibleUserAmended b2bOrgId.
|
|
84022
|
-
* @member {number
|
|
84054
|
+
* @member {number} b2bOrgId
|
|
84023
84055
|
* @memberof EligibleUserAmended
|
|
84024
84056
|
* @instance
|
|
84025
84057
|
*/
|
|
84026
|
-
EligibleUserAmended.prototype.b2bOrgId =
|
|
84058
|
+
EligibleUserAmended.prototype.b2bOrgId = 0;
|
|
84027
84059
|
|
|
84028
84060
|
/**
|
|
84029
84061
|
* EligibleUserAmended b2bOrgName.
|
|
@@ -84059,11 +84091,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84059
84091
|
|
|
84060
84092
|
/**
|
|
84061
84093
|
* EligibleUserAmended b2bEnrollmentFlow.
|
|
84062
|
-
* @member {
|
|
84094
|
+
* @member {EnrollmentFlow} b2bEnrollmentFlow
|
|
84063
84095
|
* @memberof EligibleUserAmended
|
|
84064
84096
|
* @instance
|
|
84065
84097
|
*/
|
|
84066
|
-
EligibleUserAmended.prototype.b2bEnrollmentFlow =
|
|
84098
|
+
EligibleUserAmended.prototype.b2bEnrollmentFlow = 0;
|
|
84067
84099
|
|
|
84068
84100
|
/**
|
|
84069
84101
|
* EligibleUserAmended enrollmentUrl.
|
|
@@ -84089,6 +84121,14 @@ $root.EligibleUserAmended = (function() {
|
|
|
84089
84121
|
*/
|
|
84090
84122
|
EligibleUserAmended.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84091
84123
|
|
|
84124
|
+
/**
|
|
84125
|
+
* EligibleUserAmended b2bCampaignLaunchDate.
|
|
84126
|
+
* @member {number|Long} b2bCampaignLaunchDate
|
|
84127
|
+
* @memberof EligibleUserAmended
|
|
84128
|
+
* @instance
|
|
84129
|
+
*/
|
|
84130
|
+
EligibleUserAmended.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84131
|
+
|
|
84092
84132
|
/**
|
|
84093
84133
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
84094
84134
|
* @function create
|
|
@@ -84122,7 +84162,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84122
84162
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84123
84163
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
|
|
84124
84164
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84125
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
84165
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bOrgId);
|
|
84126
84166
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84127
84167
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
|
|
84128
84168
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -84132,13 +84172,15 @@ $root.EligibleUserAmended = (function() {
|
|
|
84132
84172
|
if (message.b2bIsPilot != null && message.hasOwnProperty("b2bIsPilot"))
|
|
84133
84173
|
writer.uint32(/* id 9, wireType 0 =*/72).bool(message.b2bIsPilot);
|
|
84134
84174
|
if (message.b2bEnrollmentFlow != null && message.hasOwnProperty("b2bEnrollmentFlow"))
|
|
84135
|
-
writer.uint32(/* id 10, wireType
|
|
84175
|
+
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
|
|
84136
84176
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84137
84177
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
|
|
84138
84178
|
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
84139
84179
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
84140
84180
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84141
84181
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
|
|
84182
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84183
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
|
|
84142
84184
|
return writer;
|
|
84143
84185
|
};
|
|
84144
84186
|
|
|
@@ -84186,7 +84228,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84186
84228
|
message.b2bMemberStatus = reader.int32();
|
|
84187
84229
|
break;
|
|
84188
84230
|
case 5:
|
|
84189
|
-
message.b2bOrgId = reader.
|
|
84231
|
+
message.b2bOrgId = reader.uint32();
|
|
84190
84232
|
break;
|
|
84191
84233
|
case 6:
|
|
84192
84234
|
message.b2bOrgName = reader.string();
|
|
@@ -84201,7 +84243,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84201
84243
|
message.b2bIsPilot = reader.bool();
|
|
84202
84244
|
break;
|
|
84203
84245
|
case 10:
|
|
84204
|
-
message.b2bEnrollmentFlow = reader.
|
|
84246
|
+
message.b2bEnrollmentFlow = reader.int32();
|
|
84205
84247
|
break;
|
|
84206
84248
|
case 11:
|
|
84207
84249
|
message.enrollmentUrl = reader.string();
|
|
@@ -84212,6 +84254,9 @@ $root.EligibleUserAmended = (function() {
|
|
|
84212
84254
|
case 13:
|
|
84213
84255
|
message.timestamp = reader.uint64();
|
|
84214
84256
|
break;
|
|
84257
|
+
case 14:
|
|
84258
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
84259
|
+
break;
|
|
84215
84260
|
default:
|
|
84216
84261
|
reader.skipType(tag & 7);
|
|
84217
84262
|
break;
|
|
@@ -84270,8 +84315,8 @@ $root.EligibleUserAmended = (function() {
|
|
|
84270
84315
|
break;
|
|
84271
84316
|
}
|
|
84272
84317
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84273
|
-
if (!$util.isInteger(message.b2bOrgId)
|
|
84274
|
-
return "b2bOrgId: integer
|
|
84318
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
84319
|
+
return "b2bOrgId: integer expected";
|
|
84275
84320
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84276
84321
|
if (!$util.isString(message.b2bOrgName))
|
|
84277
84322
|
return "b2bOrgName: string expected";
|
|
@@ -84291,8 +84336,15 @@ $root.EligibleUserAmended = (function() {
|
|
|
84291
84336
|
if (typeof message.b2bIsPilot !== "boolean")
|
|
84292
84337
|
return "b2bIsPilot: boolean expected";
|
|
84293
84338
|
if (message.b2bEnrollmentFlow != null && message.hasOwnProperty("b2bEnrollmentFlow"))
|
|
84294
|
-
|
|
84295
|
-
|
|
84339
|
+
switch (message.b2bEnrollmentFlow) {
|
|
84340
|
+
default:
|
|
84341
|
+
return "b2bEnrollmentFlow: enum value expected";
|
|
84342
|
+
case 0:
|
|
84343
|
+
case 1:
|
|
84344
|
+
case 2:
|
|
84345
|
+
case 3:
|
|
84346
|
+
break;
|
|
84347
|
+
}
|
|
84296
84348
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84297
84349
|
if (!$util.isString(message.enrollmentUrl))
|
|
84298
84350
|
return "enrollmentUrl: string expected";
|
|
@@ -84302,6 +84354,9 @@ $root.EligibleUserAmended = (function() {
|
|
|
84302
84354
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84303
84355
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84304
84356
|
return "timestamp: integer|Long expected";
|
|
84357
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84358
|
+
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
84359
|
+
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
84305
84360
|
return null;
|
|
84306
84361
|
};
|
|
84307
84362
|
|
|
@@ -84354,14 +84409,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84354
84409
|
break;
|
|
84355
84410
|
}
|
|
84356
84411
|
if (object.b2bOrgId != null)
|
|
84357
|
-
|
|
84358
|
-
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
84359
|
-
else if (typeof object.b2bOrgId === "string")
|
|
84360
|
-
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
84361
|
-
else if (typeof object.b2bOrgId === "number")
|
|
84362
|
-
message.b2bOrgId = object.b2bOrgId;
|
|
84363
|
-
else if (typeof object.b2bOrgId === "object")
|
|
84364
|
-
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
84412
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
84365
84413
|
if (object.b2bOrgName != null)
|
|
84366
84414
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
84367
84415
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -84382,8 +84430,24 @@ $root.EligibleUserAmended = (function() {
|
|
|
84382
84430
|
}
|
|
84383
84431
|
if (object.b2bIsPilot != null)
|
|
84384
84432
|
message.b2bIsPilot = Boolean(object.b2bIsPilot);
|
|
84385
|
-
|
|
84386
|
-
|
|
84433
|
+
switch (object.b2bEnrollmentFlow) {
|
|
84434
|
+
case "ENROLLMENT_FLOW_UNKNOWN":
|
|
84435
|
+
case 0:
|
|
84436
|
+
message.b2bEnrollmentFlow = 0;
|
|
84437
|
+
break;
|
|
84438
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
84439
|
+
case 1:
|
|
84440
|
+
message.b2bEnrollmentFlow = 1;
|
|
84441
|
+
break;
|
|
84442
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
84443
|
+
case 2:
|
|
84444
|
+
message.b2bEnrollmentFlow = 2;
|
|
84445
|
+
break;
|
|
84446
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
84447
|
+
case 3:
|
|
84448
|
+
message.b2bEnrollmentFlow = 3;
|
|
84449
|
+
break;
|
|
84450
|
+
}
|
|
84387
84451
|
if (object.enrollmentUrl != null)
|
|
84388
84452
|
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
84389
84453
|
if (object.b2bCustomFields != null)
|
|
@@ -84397,6 +84461,15 @@ $root.EligibleUserAmended = (function() {
|
|
|
84397
84461
|
message.timestamp = object.timestamp;
|
|
84398
84462
|
else if (typeof object.timestamp === "object")
|
|
84399
84463
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
84464
|
+
if (object.b2bCampaignLaunchDate != null)
|
|
84465
|
+
if ($util.Long)
|
|
84466
|
+
(message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
|
|
84467
|
+
else if (typeof object.b2bCampaignLaunchDate === "string")
|
|
84468
|
+
message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
|
|
84469
|
+
else if (typeof object.b2bCampaignLaunchDate === "number")
|
|
84470
|
+
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
84471
|
+
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
84472
|
+
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
84400
84473
|
return message;
|
|
84401
84474
|
};
|
|
84402
84475
|
|
|
@@ -84418,16 +84491,12 @@ $root.EligibleUserAmended = (function() {
|
|
|
84418
84491
|
object.firstName = "";
|
|
84419
84492
|
object.lastName = "";
|
|
84420
84493
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
84421
|
-
|
|
84422
|
-
var long = new $util.Long(0, 0, true);
|
|
84423
|
-
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84424
|
-
} else
|
|
84425
|
-
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
84494
|
+
object.b2bOrgId = 0;
|
|
84426
84495
|
object.b2bOrgName = "";
|
|
84427
84496
|
object.b2bOrgCampaignDisplayName = "";
|
|
84428
84497
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
84429
84498
|
object.b2bIsPilot = false;
|
|
84430
|
-
object.b2bEnrollmentFlow = "";
|
|
84499
|
+
object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
84431
84500
|
object.enrollmentUrl = "";
|
|
84432
84501
|
object.b2bCustomFields = "";
|
|
84433
84502
|
if ($util.Long) {
|
|
@@ -84435,6 +84504,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84435
84504
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84436
84505
|
} else
|
|
84437
84506
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
84507
|
+
if ($util.Long) {
|
|
84508
|
+
var long = new $util.Long(0, 0, true);
|
|
84509
|
+
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84510
|
+
} else
|
|
84511
|
+
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
84438
84512
|
}
|
|
84439
84513
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84440
84514
|
object.workEmail = message.workEmail;
|
|
@@ -84445,10 +84519,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84445
84519
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84446
84520
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
84447
84521
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84448
|
-
|
|
84449
|
-
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
84450
|
-
else
|
|
84451
|
-
object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
|
|
84522
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
84452
84523
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84453
84524
|
object.b2bOrgName = message.b2bOrgName;
|
|
84454
84525
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -84458,7 +84529,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84458
84529
|
if (message.b2bIsPilot != null && message.hasOwnProperty("b2bIsPilot"))
|
|
84459
84530
|
object.b2bIsPilot = message.b2bIsPilot;
|
|
84460
84531
|
if (message.b2bEnrollmentFlow != null && message.hasOwnProperty("b2bEnrollmentFlow"))
|
|
84461
|
-
object.b2bEnrollmentFlow = message.b2bEnrollmentFlow;
|
|
84532
|
+
object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
|
|
84462
84533
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84463
84534
|
object.enrollmentUrl = message.enrollmentUrl;
|
|
84464
84535
|
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
@@ -84468,6 +84539,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84468
84539
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
84469
84540
|
else
|
|
84470
84541
|
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;
|
|
84542
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84543
|
+
if (typeof message.b2bCampaignLaunchDate === "number")
|
|
84544
|
+
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
84545
|
+
else
|
|
84546
|
+
object.b2bCampaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.b2bCampaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.b2bCampaignLaunchDate.low >>> 0, message.b2bCampaignLaunchDate.high >>> 0).toNumber(true) : message.b2bCampaignLaunchDate;
|
|
84471
84547
|
return object;
|
|
84472
84548
|
};
|
|
84473
84549
|
|
|
@@ -91380,7 +91456,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91380
91456
|
/**
|
|
91381
91457
|
* Constructs a new FamilyMemberSynced.
|
|
91382
91458
|
* @name FamilyMemberSynced
|
|
91383
|
-
* @classdesc Event published for each group member when a change (created, amended
|
|
91459
|
+
* @classdesc Event published for each group member when a change (created, amended) to the owner's subscription observed
|
|
91384
91460
|
* @implements IFamilyMemberSynced
|
|
91385
91461
|
* @constructor
|
|
91386
91462
|
* @param {IFamilyMemberSynced=} [properties] Properties to set
|
|
@@ -96297,7 +96373,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96297
96373
|
* @property {b2b.OrgType|null} [orgType] EnterpriseUserEnrollmentCreated orgType
|
|
96298
96374
|
* @property {number|Long|null} [startsAt] EnterpriseUserEnrollmentCreated startsAt
|
|
96299
96375
|
* @property {number|Long|null} [endsAt] EnterpriseUserEnrollmentCreated endsAt
|
|
96300
|
-
* @property {number|Long|null} [previousEndsAt] EnterpriseUserEnrollmentCreated previousEndsAt
|
|
96301
96376
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentCreated timestamp
|
|
96302
96377
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentCreated isPartialPay
|
|
96303
96378
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentCreated plan
|
|
@@ -96384,14 +96459,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96384
96459
|
*/
|
|
96385
96460
|
EnterpriseUserEnrollmentCreated.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96386
96461
|
|
|
96387
|
-
/**
|
|
96388
|
-
* EnterpriseUserEnrollmentCreated previousEndsAt.
|
|
96389
|
-
* @member {number|Long} previousEndsAt
|
|
96390
|
-
* @memberof EnterpriseUserEnrollmentCreated
|
|
96391
|
-
* @instance
|
|
96392
|
-
*/
|
|
96393
|
-
EnterpriseUserEnrollmentCreated.prototype.previousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96394
|
-
|
|
96395
96462
|
/**
|
|
96396
96463
|
* EnterpriseUserEnrollmentCreated timestamp.
|
|
96397
96464
|
* @member {number|Long} timestamp
|
|
@@ -96638,8 +96705,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96638
96705
|
writer.uint32(/* id 30, wireType 2 =*/242).string(message.ssoType);
|
|
96639
96706
|
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
96640
96707
|
writer.uint32(/* id 31, wireType 0 =*/248).int32(message.enrollmentFlow);
|
|
96641
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
96642
|
-
writer.uint32(/* id 32, wireType 0 =*/256).uint64(message.previousEndsAt);
|
|
96643
96708
|
return writer;
|
|
96644
96709
|
};
|
|
96645
96710
|
|
|
@@ -96692,9 +96757,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96692
96757
|
case 6:
|
|
96693
96758
|
message.endsAt = reader.uint64();
|
|
96694
96759
|
break;
|
|
96695
|
-
case 32:
|
|
96696
|
-
message.previousEndsAt = reader.uint64();
|
|
96697
|
-
break;
|
|
96698
96760
|
case 7:
|
|
96699
96761
|
message.timestamp = reader.uint64();
|
|
96700
96762
|
break;
|
|
@@ -96821,9 +96883,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96821
96883
|
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
96822
96884
|
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
96823
96885
|
return "endsAt: integer|Long expected";
|
|
96824
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
96825
|
-
if (!$util.isInteger(message.previousEndsAt) && !(message.previousEndsAt && $util.isInteger(message.previousEndsAt.low) && $util.isInteger(message.previousEndsAt.high)))
|
|
96826
|
-
return "previousEndsAt: integer|Long expected";
|
|
96827
96886
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
96828
96887
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
96829
96888
|
return "timestamp: integer|Long expected";
|
|
@@ -96975,15 +97034,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96975
97034
|
message.endsAt = object.endsAt;
|
|
96976
97035
|
else if (typeof object.endsAt === "object")
|
|
96977
97036
|
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
96978
|
-
if (object.previousEndsAt != null)
|
|
96979
|
-
if ($util.Long)
|
|
96980
|
-
(message.previousEndsAt = $util.Long.fromValue(object.previousEndsAt)).unsigned = true;
|
|
96981
|
-
else if (typeof object.previousEndsAt === "string")
|
|
96982
|
-
message.previousEndsAt = parseInt(object.previousEndsAt, 10);
|
|
96983
|
-
else if (typeof object.previousEndsAt === "number")
|
|
96984
|
-
message.previousEndsAt = object.previousEndsAt;
|
|
96985
|
-
else if (typeof object.previousEndsAt === "object")
|
|
96986
|
-
message.previousEndsAt = new $util.LongBits(object.previousEndsAt.low >>> 0, object.previousEndsAt.high >>> 0).toNumber(true);
|
|
96987
97037
|
if (object.timestamp != null)
|
|
96988
97038
|
if ($util.Long)
|
|
96989
97039
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -97151,11 +97201,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
97151
97201
|
object.gingerBundlingEnabled = false;
|
|
97152
97202
|
object.ssoType = "";
|
|
97153
97203
|
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
97154
|
-
if ($util.Long) {
|
|
97155
|
-
var long = new $util.Long(0, 0, true);
|
|
97156
|
-
object.previousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
97157
|
-
} else
|
|
97158
|
-
object.previousEndsAt = options.longs === String ? "0" : 0;
|
|
97159
97204
|
}
|
|
97160
97205
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
97161
97206
|
object.userId = message.userId;
|
|
@@ -97226,11 +97271,6 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
97226
97271
|
object.ssoType = message.ssoType;
|
|
97227
97272
|
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
97228
97273
|
object.enrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
97229
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
97230
|
-
if (typeof message.previousEndsAt === "number")
|
|
97231
|
-
object.previousEndsAt = options.longs === String ? String(message.previousEndsAt) : message.previousEndsAt;
|
|
97232
|
-
else
|
|
97233
|
-
object.previousEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.previousEndsAt) : options.longs === Number ? new $util.LongBits(message.previousEndsAt.low >>> 0, message.previousEndsAt.high >>> 0).toNumber(true) : message.previousEndsAt;
|
|
97234
97274
|
return object;
|
|
97235
97275
|
};
|
|
97236
97276
|
|
|
@@ -119785,7 +119825,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
119785
119825
|
* @property {number|Long|null} [createdAt] SubscriptionCreated createdAt
|
|
119786
119826
|
* @property {number|Long|null} [startsAt] SubscriptionCreated startsAt
|
|
119787
119827
|
* @property {number|Long|null} [endsAt] SubscriptionCreated endsAt
|
|
119788
|
-
* @property {number|Long|null} [previousEndsAt] SubscriptionCreated previousEndsAt
|
|
119789
119828
|
* @property {string|null} [voucherCode] SubscriptionCreated voucherCode
|
|
119790
119829
|
* @property {subscription.SubscriptionPlatform|null} [platform] SubscriptionCreated platform
|
|
119791
119830
|
* @property {subscription.AutoRenewalStatus|null} [autoRenewalStatus] SubscriptionCreated autoRenewalStatus
|
|
@@ -119864,14 +119903,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
119864
119903
|
*/
|
|
119865
119904
|
SubscriptionCreated.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
119866
119905
|
|
|
119867
|
-
/**
|
|
119868
|
-
* SubscriptionCreated previousEndsAt.
|
|
119869
|
-
* @member {number|Long} previousEndsAt
|
|
119870
|
-
* @memberof SubscriptionCreated
|
|
119871
|
-
* @instance
|
|
119872
|
-
*/
|
|
119873
|
-
SubscriptionCreated.prototype.previousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
119874
|
-
|
|
119875
119906
|
/**
|
|
119876
119907
|
* SubscriptionCreated voucherCode.
|
|
119877
119908
|
* @member {string} voucherCode
|
|
@@ -120023,8 +120054,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120023
120054
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
120024
120055
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120025
120056
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.orgId);
|
|
120026
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
120027
|
-
writer.uint32(/* id 18, wireType 0 =*/144).uint64(message.previousEndsAt);
|
|
120028
120057
|
return writer;
|
|
120029
120058
|
};
|
|
120030
120059
|
|
|
@@ -120077,9 +120106,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120077
120106
|
case 6:
|
|
120078
120107
|
message.endsAt = reader.uint64();
|
|
120079
120108
|
break;
|
|
120080
|
-
case 18:
|
|
120081
|
-
message.previousEndsAt = reader.uint64();
|
|
120082
|
-
break;
|
|
120083
120109
|
case 7:
|
|
120084
120110
|
message.voucherCode = reader.string();
|
|
120085
120111
|
break;
|
|
@@ -120175,9 +120201,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120175
120201
|
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
120176
120202
|
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
120177
120203
|
return "endsAt: integer|Long expected";
|
|
120178
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
120179
|
-
if (!$util.isInteger(message.previousEndsAt) && !(message.previousEndsAt && $util.isInteger(message.previousEndsAt.low) && $util.isInteger(message.previousEndsAt.high)))
|
|
120180
|
-
return "previousEndsAt: integer|Long expected";
|
|
120181
120204
|
if (message.voucherCode != null && message.hasOwnProperty("voucherCode"))
|
|
120182
120205
|
if (!$util.isString(message.voucherCode))
|
|
120183
120206
|
return "voucherCode: string expected";
|
|
@@ -120315,15 +120338,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120315
120338
|
message.endsAt = object.endsAt;
|
|
120316
120339
|
else if (typeof object.endsAt === "object")
|
|
120317
120340
|
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
120318
|
-
if (object.previousEndsAt != null)
|
|
120319
|
-
if ($util.Long)
|
|
120320
|
-
(message.previousEndsAt = $util.Long.fromValue(object.previousEndsAt)).unsigned = true;
|
|
120321
|
-
else if (typeof object.previousEndsAt === "string")
|
|
120322
|
-
message.previousEndsAt = parseInt(object.previousEndsAt, 10);
|
|
120323
|
-
else if (typeof object.previousEndsAt === "number")
|
|
120324
|
-
message.previousEndsAt = object.previousEndsAt;
|
|
120325
|
-
else if (typeof object.previousEndsAt === "object")
|
|
120326
|
-
message.previousEndsAt = new $util.LongBits(object.previousEndsAt.low >>> 0, object.previousEndsAt.high >>> 0).toNumber(true);
|
|
120327
120341
|
if (object.voucherCode != null)
|
|
120328
120342
|
message.voucherCode = String(object.voucherCode);
|
|
120329
120343
|
switch (object.platform) {
|
|
@@ -120499,11 +120513,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120499
120513
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
120500
120514
|
object.productSku = null;
|
|
120501
120515
|
object.orgId = 0;
|
|
120502
|
-
if ($util.Long) {
|
|
120503
|
-
var long = new $util.Long(0, 0, true);
|
|
120504
|
-
object.previousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
120505
|
-
} else
|
|
120506
|
-
object.previousEndsAt = options.longs === String ? "0" : 0;
|
|
120507
120516
|
}
|
|
120508
120517
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
120509
120518
|
object.id = message.id;
|
|
@@ -120557,11 +120566,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120557
120566
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
120558
120567
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120559
120568
|
object.orgId = message.orgId;
|
|
120560
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
120561
|
-
if (typeof message.previousEndsAt === "number")
|
|
120562
|
-
object.previousEndsAt = options.longs === String ? String(message.previousEndsAt) : message.previousEndsAt;
|
|
120563
|
-
else
|
|
120564
|
-
object.previousEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.previousEndsAt) : options.longs === Number ? new $util.LongBits(message.previousEndsAt.low >>> 0, message.previousEndsAt.high >>> 0).toNumber(true) : message.previousEndsAt;
|
|
120565
120569
|
return object;
|
|
120566
120570
|
};
|
|
120567
120571
|
|
|
@@ -126313,7 +126317,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126313
126317
|
* @property {number|Long|null} [createdAt] SubscriptionAmended createdAt
|
|
126314
126318
|
* @property {number|Long|null} [startsAt] SubscriptionAmended startsAt
|
|
126315
126319
|
* @property {number|Long|null} [endsAt] SubscriptionAmended endsAt
|
|
126316
|
-
* @property {number|Long|null} [previousEndsAt] SubscriptionAmended previousEndsAt
|
|
126317
126320
|
* @property {string|null} [voucherCode] SubscriptionAmended voucherCode
|
|
126318
126321
|
* @property {subscription.SubscriptionPlatform|null} [platform] SubscriptionAmended platform
|
|
126319
126322
|
* @property {subscription.AutoRenewalStatus|null} [autoRenewalStatus] SubscriptionAmended autoRenewalStatus
|
|
@@ -126385,14 +126388,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126385
126388
|
*/
|
|
126386
126389
|
SubscriptionAmended.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
126387
126390
|
|
|
126388
|
-
/**
|
|
126389
|
-
* SubscriptionAmended previousEndsAt.
|
|
126390
|
-
* @member {number|Long} previousEndsAt
|
|
126391
|
-
* @memberof SubscriptionAmended
|
|
126392
|
-
* @instance
|
|
126393
|
-
*/
|
|
126394
|
-
SubscriptionAmended.prototype.previousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
126395
|
-
|
|
126396
126391
|
/**
|
|
126397
126392
|
* SubscriptionAmended voucherCode.
|
|
126398
126393
|
* @member {string} voucherCode
|
|
@@ -126552,8 +126547,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126552
126547
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
126553
126548
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126554
126549
|
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.orgId);
|
|
126555
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
126556
|
-
writer.uint32(/* id 19, wireType 0 =*/152).uint64(message.previousEndsAt);
|
|
126557
126550
|
return writer;
|
|
126558
126551
|
};
|
|
126559
126552
|
|
|
@@ -126603,9 +126596,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126603
126596
|
case 6:
|
|
126604
126597
|
message.endsAt = reader.uint64();
|
|
126605
126598
|
break;
|
|
126606
|
-
case 19:
|
|
126607
|
-
message.previousEndsAt = reader.uint64();
|
|
126608
|
-
break;
|
|
126609
126599
|
case 7:
|
|
126610
126600
|
message.voucherCode = reader.string();
|
|
126611
126601
|
break;
|
|
@@ -126701,9 +126691,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126701
126691
|
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
126702
126692
|
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
126703
126693
|
return "endsAt: integer|Long expected";
|
|
126704
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
126705
|
-
if (!$util.isInteger(message.previousEndsAt) && !(message.previousEndsAt && $util.isInteger(message.previousEndsAt.low) && $util.isInteger(message.previousEndsAt.high)))
|
|
126706
|
-
return "previousEndsAt: integer|Long expected";
|
|
126707
126694
|
if (message.voucherCode != null && message.hasOwnProperty("voucherCode"))
|
|
126708
126695
|
if (!$util.isString(message.voucherCode))
|
|
126709
126696
|
return "voucherCode: string expected";
|
|
@@ -126842,15 +126829,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126842
126829
|
message.endsAt = object.endsAt;
|
|
126843
126830
|
else if (typeof object.endsAt === "object")
|
|
126844
126831
|
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
126845
|
-
if (object.previousEndsAt != null)
|
|
126846
|
-
if ($util.Long)
|
|
126847
|
-
(message.previousEndsAt = $util.Long.fromValue(object.previousEndsAt)).unsigned = true;
|
|
126848
|
-
else if (typeof object.previousEndsAt === "string")
|
|
126849
|
-
message.previousEndsAt = parseInt(object.previousEndsAt, 10);
|
|
126850
|
-
else if (typeof object.previousEndsAt === "number")
|
|
126851
|
-
message.previousEndsAt = object.previousEndsAt;
|
|
126852
|
-
else if (typeof object.previousEndsAt === "object")
|
|
126853
|
-
message.previousEndsAt = new $util.LongBits(object.previousEndsAt.low >>> 0, object.previousEndsAt.high >>> 0).toNumber(true);
|
|
126854
126832
|
if (object.voucherCode != null)
|
|
126855
126833
|
message.voucherCode = String(object.voucherCode);
|
|
126856
126834
|
switch (object.platform) {
|
|
@@ -127039,11 +127017,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127039
127017
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
127040
127018
|
object.productSku = null;
|
|
127041
127019
|
object.orgId = 0;
|
|
127042
|
-
if ($util.Long) {
|
|
127043
|
-
var long = new $util.Long(0, 0, true);
|
|
127044
|
-
object.previousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
127045
|
-
} else
|
|
127046
|
-
object.previousEndsAt = options.longs === String ? "0" : 0;
|
|
127047
127020
|
}
|
|
127048
127021
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
127049
127022
|
if (typeof message.updatedOn === "number")
|
|
@@ -127100,11 +127073,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127100
127073
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
127101
127074
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
127102
127075
|
object.orgId = message.orgId;
|
|
127103
|
-
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
127104
|
-
if (typeof message.previousEndsAt === "number")
|
|
127105
|
-
object.previousEndsAt = options.longs === String ? String(message.previousEndsAt) : message.previousEndsAt;
|
|
127106
|
-
else
|
|
127107
|
-
object.previousEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.previousEndsAt) : options.longs === Number ? new $util.LongBits(message.previousEndsAt.low >>> 0, message.previousEndsAt.high >>> 0).toNumber(true) : message.previousEndsAt;
|
|
127108
127076
|
return object;
|
|
127109
127077
|
};
|
|
127110
127078
|
|
package/package.json
CHANGED