@headspace/protos-events 1.478.0 → 1.480.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 +36 -30
- package/lib/index.js +136 -114
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -30023,14 +30023,20 @@ export interface IEligibleUserAdded {
|
|
|
30023
30023
|
/** EligibleUserAdded enrollmentUrl */
|
|
30024
30024
|
enrollmentUrl?: (string|null);
|
|
30025
30025
|
|
|
30026
|
-
/** EligibleUserAdded b2bCustomFields */
|
|
30027
|
-
b2bCustomFields?: (string|null);
|
|
30028
|
-
|
|
30029
30026
|
/** EligibleUserAdded timestamp */
|
|
30030
30027
|
timestamp?: (number|Long|null);
|
|
30031
30028
|
|
|
30032
30029
|
/** EligibleUserAdded b2bCampaignLaunchDate */
|
|
30033
30030
|
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30031
|
+
|
|
30032
|
+
/** EligibleUserAdded b2bCountry */
|
|
30033
|
+
b2bCountry?: (string|null);
|
|
30034
|
+
|
|
30035
|
+
/** EligibleUserAdded b2bDepartment */
|
|
30036
|
+
b2bDepartment?: (string|null);
|
|
30037
|
+
|
|
30038
|
+
/** EligibleUserAdded b2bLocation */
|
|
30039
|
+
b2bLocation?: (string|null);
|
|
30034
30040
|
}
|
|
30035
30041
|
|
|
30036
30042
|
/** Represents an EligibleUserAdded. */
|
|
@@ -30075,15 +30081,21 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30075
30081
|
/** EligibleUserAdded enrollmentUrl. */
|
|
30076
30082
|
public enrollmentUrl: string;
|
|
30077
30083
|
|
|
30078
|
-
/** EligibleUserAdded b2bCustomFields. */
|
|
30079
|
-
public b2bCustomFields: string;
|
|
30080
|
-
|
|
30081
30084
|
/** EligibleUserAdded timestamp. */
|
|
30082
30085
|
public timestamp: (number|Long);
|
|
30083
30086
|
|
|
30084
30087
|
/** EligibleUserAdded b2bCampaignLaunchDate. */
|
|
30085
30088
|
public b2bCampaignLaunchDate: (number|Long);
|
|
30086
30089
|
|
|
30090
|
+
/** EligibleUserAdded b2bCountry. */
|
|
30091
|
+
public b2bCountry: string;
|
|
30092
|
+
|
|
30093
|
+
/** EligibleUserAdded b2bDepartment. */
|
|
30094
|
+
public b2bDepartment: string;
|
|
30095
|
+
|
|
30096
|
+
/** EligibleUserAdded b2bLocation. */
|
|
30097
|
+
public b2bLocation: string;
|
|
30098
|
+
|
|
30087
30099
|
/**
|
|
30088
30100
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
30089
30101
|
* @param [properties] Properties to set
|
|
@@ -30293,14 +30305,20 @@ export interface IEligibleUserAmended {
|
|
|
30293
30305
|
/** EligibleUserAmended enrollmentUrl */
|
|
30294
30306
|
enrollmentUrl?: (string|null);
|
|
30295
30307
|
|
|
30296
|
-
/** EligibleUserAmended b2bCustomFields */
|
|
30297
|
-
b2bCustomFields?: (string|null);
|
|
30298
|
-
|
|
30299
30308
|
/** EligibleUserAmended timestamp */
|
|
30300
30309
|
timestamp?: (number|Long|null);
|
|
30301
30310
|
|
|
30302
30311
|
/** EligibleUserAmended b2bCampaignLaunchDate */
|
|
30303
30312
|
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30313
|
+
|
|
30314
|
+
/** EligibleUserAmended b2bCountry */
|
|
30315
|
+
b2bCountry?: (string|null);
|
|
30316
|
+
|
|
30317
|
+
/** EligibleUserAmended b2bDepartment */
|
|
30318
|
+
b2bDepartment?: (string|null);
|
|
30319
|
+
|
|
30320
|
+
/** EligibleUserAmended b2bLocation */
|
|
30321
|
+
b2bLocation?: (string|null);
|
|
30304
30322
|
}
|
|
30305
30323
|
|
|
30306
30324
|
/** Represents an EligibleUserAmended. */
|
|
@@ -30345,15 +30363,21 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30345
30363
|
/** EligibleUserAmended enrollmentUrl. */
|
|
30346
30364
|
public enrollmentUrl: string;
|
|
30347
30365
|
|
|
30348
|
-
/** EligibleUserAmended b2bCustomFields. */
|
|
30349
|
-
public b2bCustomFields: string;
|
|
30350
|
-
|
|
30351
30366
|
/** EligibleUserAmended timestamp. */
|
|
30352
30367
|
public timestamp: (number|Long);
|
|
30353
30368
|
|
|
30354
30369
|
/** EligibleUserAmended b2bCampaignLaunchDate. */
|
|
30355
30370
|
public b2bCampaignLaunchDate: (number|Long);
|
|
30356
30371
|
|
|
30372
|
+
/** EligibleUserAmended b2bCountry. */
|
|
30373
|
+
public b2bCountry: string;
|
|
30374
|
+
|
|
30375
|
+
/** EligibleUserAmended b2bDepartment. */
|
|
30376
|
+
public b2bDepartment: string;
|
|
30377
|
+
|
|
30378
|
+
/** EligibleUserAmended b2bLocation. */
|
|
30379
|
+
public b2bLocation: string;
|
|
30380
|
+
|
|
30357
30381
|
/**
|
|
30358
30382
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
30359
30383
|
* @param [properties] Properties to set
|
|
@@ -42795,9 +42819,6 @@ export interface ISubscriptionCreated {
|
|
|
42795
42819
|
|
|
42796
42820
|
/** SubscriptionCreated productSku */
|
|
42797
42821
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42798
|
-
|
|
42799
|
-
/** SubscriptionCreated orgId */
|
|
42800
|
-
orgId?: (number|null);
|
|
42801
42822
|
}
|
|
42802
42823
|
|
|
42803
42824
|
/** Represents a SubscriptionCreated. */
|
|
@@ -42857,9 +42878,6 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
42857
42878
|
/** SubscriptionCreated productSku. */
|
|
42858
42879
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42859
42880
|
|
|
42860
|
-
/** SubscriptionCreated orgId. */
|
|
42861
|
-
public orgId: number;
|
|
42862
|
-
|
|
42863
42881
|
/**
|
|
42864
42882
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
42865
42883
|
* @param [properties] Properties to set
|
|
@@ -42987,9 +43005,6 @@ export interface ISubscriptionCancelled {
|
|
|
42987
43005
|
|
|
42988
43006
|
/** SubscriptionCancelled productSku */
|
|
42989
43007
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42990
|
-
|
|
42991
|
-
/** SubscriptionCancelled orgId */
|
|
42992
|
-
orgId?: (number|null);
|
|
42993
43008
|
}
|
|
42994
43009
|
|
|
42995
43010
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -43055,9 +43070,6 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
43055
43070
|
/** SubscriptionCancelled productSku. */
|
|
43056
43071
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
43057
43072
|
|
|
43058
|
-
/** SubscriptionCancelled orgId. */
|
|
43059
|
-
public orgId: number;
|
|
43060
|
-
|
|
43061
43073
|
/**
|
|
43062
43074
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
43063
43075
|
* @param [properties] Properties to set
|
|
@@ -44451,9 +44463,6 @@ export interface ISubscriptionAmended {
|
|
|
44451
44463
|
|
|
44452
44464
|
/** SubscriptionAmended productSku */
|
|
44453
44465
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
44454
|
-
|
|
44455
|
-
/** SubscriptionAmended orgId */
|
|
44456
|
-
orgId?: (number|null);
|
|
44457
44466
|
}
|
|
44458
44467
|
|
|
44459
44468
|
/** Represents a SubscriptionAmended. */
|
|
@@ -44513,9 +44522,6 @@ export class SubscriptionAmended implements ISubscriptionAmended {
|
|
|
44513
44522
|
/** SubscriptionAmended productSku. */
|
|
44514
44523
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
44515
44524
|
|
|
44516
|
-
/** SubscriptionAmended orgId. */
|
|
44517
|
-
public orgId: number;
|
|
44518
|
-
|
|
44519
44525
|
/**
|
|
44520
44526
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
44521
44527
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -83328,9 +83328,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83328
83328
|
* @property {boolean|null} [b2bIsPilot] EligibleUserAdded b2bIsPilot
|
|
83329
83329
|
* @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAdded b2bEnrollmentFlow
|
|
83330
83330
|
* @property {string|null} [enrollmentUrl] EligibleUserAdded enrollmentUrl
|
|
83331
|
-
* @property {string|null} [b2bCustomFields] EligibleUserAdded b2bCustomFields
|
|
83332
83331
|
* @property {number|Long|null} [timestamp] EligibleUserAdded timestamp
|
|
83333
83332
|
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAdded b2bCampaignLaunchDate
|
|
83333
|
+
* @property {string|null} [b2bCountry] EligibleUserAdded b2bCountry
|
|
83334
|
+
* @property {string|null} [b2bDepartment] EligibleUserAdded b2bDepartment
|
|
83335
|
+
* @property {string|null} [b2bLocation] EligibleUserAdded b2bLocation
|
|
83334
83336
|
*/
|
|
83335
83337
|
|
|
83336
83338
|
/**
|
|
@@ -83436,14 +83438,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83436
83438
|
*/
|
|
83437
83439
|
EligibleUserAdded.prototype.enrollmentUrl = "";
|
|
83438
83440
|
|
|
83439
|
-
/**
|
|
83440
|
-
* EligibleUserAdded b2bCustomFields.
|
|
83441
|
-
* @member {string} b2bCustomFields
|
|
83442
|
-
* @memberof EligibleUserAdded
|
|
83443
|
-
* @instance
|
|
83444
|
-
*/
|
|
83445
|
-
EligibleUserAdded.prototype.b2bCustomFields = "";
|
|
83446
|
-
|
|
83447
83441
|
/**
|
|
83448
83442
|
* EligibleUserAdded timestamp.
|
|
83449
83443
|
* @member {number|Long} timestamp
|
|
@@ -83460,6 +83454,30 @@ $root.EligibleUserAdded = (function() {
|
|
|
83460
83454
|
*/
|
|
83461
83455
|
EligibleUserAdded.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83462
83456
|
|
|
83457
|
+
/**
|
|
83458
|
+
* EligibleUserAdded b2bCountry.
|
|
83459
|
+
* @member {string} b2bCountry
|
|
83460
|
+
* @memberof EligibleUserAdded
|
|
83461
|
+
* @instance
|
|
83462
|
+
*/
|
|
83463
|
+
EligibleUserAdded.prototype.b2bCountry = "";
|
|
83464
|
+
|
|
83465
|
+
/**
|
|
83466
|
+
* EligibleUserAdded b2bDepartment.
|
|
83467
|
+
* @member {string} b2bDepartment
|
|
83468
|
+
* @memberof EligibleUserAdded
|
|
83469
|
+
* @instance
|
|
83470
|
+
*/
|
|
83471
|
+
EligibleUserAdded.prototype.b2bDepartment = "";
|
|
83472
|
+
|
|
83473
|
+
/**
|
|
83474
|
+
* EligibleUserAdded b2bLocation.
|
|
83475
|
+
* @member {string} b2bLocation
|
|
83476
|
+
* @memberof EligibleUserAdded
|
|
83477
|
+
* @instance
|
|
83478
|
+
*/
|
|
83479
|
+
EligibleUserAdded.prototype.b2bLocation = "";
|
|
83480
|
+
|
|
83463
83481
|
/**
|
|
83464
83482
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
83465
83483
|
* @function create
|
|
@@ -83506,12 +83524,16 @@ $root.EligibleUserAdded = (function() {
|
|
|
83506
83524
|
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
|
|
83507
83525
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83508
83526
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
|
|
83509
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
83510
|
-
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
83511
83527
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83512
|
-
writer.uint32(/* id
|
|
83528
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.timestamp);
|
|
83513
83529
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83514
|
-
writer.uint32(/* id
|
|
83530
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.b2bCampaignLaunchDate);
|
|
83531
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
83532
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.b2bCountry);
|
|
83533
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
83534
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bDepartment);
|
|
83535
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
83536
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bLocation);
|
|
83515
83537
|
return writer;
|
|
83516
83538
|
};
|
|
83517
83539
|
|
|
@@ -83580,13 +83602,19 @@ $root.EligibleUserAdded = (function() {
|
|
|
83580
83602
|
message.enrollmentUrl = reader.string();
|
|
83581
83603
|
break;
|
|
83582
83604
|
case 12:
|
|
83583
|
-
message.
|
|
83605
|
+
message.timestamp = reader.uint64();
|
|
83584
83606
|
break;
|
|
83585
83607
|
case 13:
|
|
83586
|
-
message.
|
|
83608
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
83587
83609
|
break;
|
|
83588
83610
|
case 14:
|
|
83589
|
-
message.
|
|
83611
|
+
message.b2bCountry = reader.string();
|
|
83612
|
+
break;
|
|
83613
|
+
case 15:
|
|
83614
|
+
message.b2bDepartment = reader.string();
|
|
83615
|
+
break;
|
|
83616
|
+
case 16:
|
|
83617
|
+
message.b2bLocation = reader.string();
|
|
83590
83618
|
break;
|
|
83591
83619
|
default:
|
|
83592
83620
|
reader.skipType(tag & 7);
|
|
@@ -83679,15 +83707,21 @@ $root.EligibleUserAdded = (function() {
|
|
|
83679
83707
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83680
83708
|
if (!$util.isString(message.enrollmentUrl))
|
|
83681
83709
|
return "enrollmentUrl: string expected";
|
|
83682
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
83683
|
-
if (!$util.isString(message.b2bCustomFields))
|
|
83684
|
-
return "b2bCustomFields: string expected";
|
|
83685
83710
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83686
83711
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83687
83712
|
return "timestamp: integer|Long expected";
|
|
83688
83713
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83689
83714
|
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
83690
83715
|
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
83716
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
83717
|
+
if (!$util.isString(message.b2bCountry))
|
|
83718
|
+
return "b2bCountry: string expected";
|
|
83719
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
83720
|
+
if (!$util.isString(message.b2bDepartment))
|
|
83721
|
+
return "b2bDepartment: string expected";
|
|
83722
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
83723
|
+
if (!$util.isString(message.b2bLocation))
|
|
83724
|
+
return "b2bLocation: string expected";
|
|
83691
83725
|
return null;
|
|
83692
83726
|
};
|
|
83693
83727
|
|
|
@@ -83781,8 +83815,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83781
83815
|
}
|
|
83782
83816
|
if (object.enrollmentUrl != null)
|
|
83783
83817
|
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
83784
|
-
if (object.b2bCustomFields != null)
|
|
83785
|
-
message.b2bCustomFields = String(object.b2bCustomFields);
|
|
83786
83818
|
if (object.timestamp != null)
|
|
83787
83819
|
if ($util.Long)
|
|
83788
83820
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -83801,6 +83833,12 @@ $root.EligibleUserAdded = (function() {
|
|
|
83801
83833
|
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
83802
83834
|
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
83803
83835
|
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
83836
|
+
if (object.b2bCountry != null)
|
|
83837
|
+
message.b2bCountry = String(object.b2bCountry);
|
|
83838
|
+
if (object.b2bDepartment != null)
|
|
83839
|
+
message.b2bDepartment = String(object.b2bDepartment);
|
|
83840
|
+
if (object.b2bLocation != null)
|
|
83841
|
+
message.b2bLocation = String(object.b2bLocation);
|
|
83804
83842
|
return message;
|
|
83805
83843
|
};
|
|
83806
83844
|
|
|
@@ -83829,7 +83867,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83829
83867
|
object.b2bIsPilot = false;
|
|
83830
83868
|
object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
83831
83869
|
object.enrollmentUrl = "";
|
|
83832
|
-
object.b2bCustomFields = "";
|
|
83833
83870
|
if ($util.Long) {
|
|
83834
83871
|
var long = new $util.Long(0, 0, true);
|
|
83835
83872
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -83840,6 +83877,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
83840
83877
|
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83841
83878
|
} else
|
|
83842
83879
|
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
83880
|
+
object.b2bCountry = "";
|
|
83881
|
+
object.b2bDepartment = "";
|
|
83882
|
+
object.b2bLocation = "";
|
|
83843
83883
|
}
|
|
83844
83884
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83845
83885
|
object.workEmail = message.workEmail;
|
|
@@ -83863,8 +83903,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83863
83903
|
object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
|
|
83864
83904
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83865
83905
|
object.enrollmentUrl = message.enrollmentUrl;
|
|
83866
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
83867
|
-
object.b2bCustomFields = message.b2bCustomFields;
|
|
83868
83906
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83869
83907
|
if (typeof message.timestamp === "number")
|
|
83870
83908
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -83875,6 +83913,12 @@ $root.EligibleUserAdded = (function() {
|
|
|
83875
83913
|
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
83876
83914
|
else
|
|
83877
83915
|
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;
|
|
83916
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
83917
|
+
object.b2bCountry = message.b2bCountry;
|
|
83918
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
83919
|
+
object.b2bDepartment = message.b2bDepartment;
|
|
83920
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
83921
|
+
object.b2bLocation = message.b2bLocation;
|
|
83878
83922
|
return object;
|
|
83879
83923
|
};
|
|
83880
83924
|
|
|
@@ -84155,9 +84199,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84155
84199
|
* @property {boolean|null} [b2bIsPilot] EligibleUserAmended b2bIsPilot
|
|
84156
84200
|
* @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAmended b2bEnrollmentFlow
|
|
84157
84201
|
* @property {string|null} [enrollmentUrl] EligibleUserAmended enrollmentUrl
|
|
84158
|
-
* @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
|
|
84159
84202
|
* @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
|
|
84160
84203
|
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
|
|
84204
|
+
* @property {string|null} [b2bCountry] EligibleUserAmended b2bCountry
|
|
84205
|
+
* @property {string|null} [b2bDepartment] EligibleUserAmended b2bDepartment
|
|
84206
|
+
* @property {string|null} [b2bLocation] EligibleUserAmended b2bLocation
|
|
84161
84207
|
*/
|
|
84162
84208
|
|
|
84163
84209
|
/**
|
|
@@ -84263,14 +84309,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84263
84309
|
*/
|
|
84264
84310
|
EligibleUserAmended.prototype.enrollmentUrl = "";
|
|
84265
84311
|
|
|
84266
|
-
/**
|
|
84267
|
-
* EligibleUserAmended b2bCustomFields.
|
|
84268
|
-
* @member {string} b2bCustomFields
|
|
84269
|
-
* @memberof EligibleUserAmended
|
|
84270
|
-
* @instance
|
|
84271
|
-
*/
|
|
84272
|
-
EligibleUserAmended.prototype.b2bCustomFields = "";
|
|
84273
|
-
|
|
84274
84312
|
/**
|
|
84275
84313
|
* EligibleUserAmended timestamp.
|
|
84276
84314
|
* @member {number|Long} timestamp
|
|
@@ -84287,6 +84325,30 @@ $root.EligibleUserAmended = (function() {
|
|
|
84287
84325
|
*/
|
|
84288
84326
|
EligibleUserAmended.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84289
84327
|
|
|
84328
|
+
/**
|
|
84329
|
+
* EligibleUserAmended b2bCountry.
|
|
84330
|
+
* @member {string} b2bCountry
|
|
84331
|
+
* @memberof EligibleUserAmended
|
|
84332
|
+
* @instance
|
|
84333
|
+
*/
|
|
84334
|
+
EligibleUserAmended.prototype.b2bCountry = "";
|
|
84335
|
+
|
|
84336
|
+
/**
|
|
84337
|
+
* EligibleUserAmended b2bDepartment.
|
|
84338
|
+
* @member {string} b2bDepartment
|
|
84339
|
+
* @memberof EligibleUserAmended
|
|
84340
|
+
* @instance
|
|
84341
|
+
*/
|
|
84342
|
+
EligibleUserAmended.prototype.b2bDepartment = "";
|
|
84343
|
+
|
|
84344
|
+
/**
|
|
84345
|
+
* EligibleUserAmended b2bLocation.
|
|
84346
|
+
* @member {string} b2bLocation
|
|
84347
|
+
* @memberof EligibleUserAmended
|
|
84348
|
+
* @instance
|
|
84349
|
+
*/
|
|
84350
|
+
EligibleUserAmended.prototype.b2bLocation = "";
|
|
84351
|
+
|
|
84290
84352
|
/**
|
|
84291
84353
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
84292
84354
|
* @function create
|
|
@@ -84333,12 +84395,16 @@ $root.EligibleUserAmended = (function() {
|
|
|
84333
84395
|
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
|
|
84334
84396
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84335
84397
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
|
|
84336
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
84337
|
-
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
84338
84398
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84339
|
-
writer.uint32(/* id
|
|
84399
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.timestamp);
|
|
84340
84400
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84341
|
-
writer.uint32(/* id
|
|
84401
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.b2bCampaignLaunchDate);
|
|
84402
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
84403
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.b2bCountry);
|
|
84404
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
84405
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bDepartment);
|
|
84406
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84407
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bLocation);
|
|
84342
84408
|
return writer;
|
|
84343
84409
|
};
|
|
84344
84410
|
|
|
@@ -84407,13 +84473,19 @@ $root.EligibleUserAmended = (function() {
|
|
|
84407
84473
|
message.enrollmentUrl = reader.string();
|
|
84408
84474
|
break;
|
|
84409
84475
|
case 12:
|
|
84410
|
-
message.
|
|
84476
|
+
message.timestamp = reader.uint64();
|
|
84411
84477
|
break;
|
|
84412
84478
|
case 13:
|
|
84413
|
-
message.
|
|
84479
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
84414
84480
|
break;
|
|
84415
84481
|
case 14:
|
|
84416
|
-
message.
|
|
84482
|
+
message.b2bCountry = reader.string();
|
|
84483
|
+
break;
|
|
84484
|
+
case 15:
|
|
84485
|
+
message.b2bDepartment = reader.string();
|
|
84486
|
+
break;
|
|
84487
|
+
case 16:
|
|
84488
|
+
message.b2bLocation = reader.string();
|
|
84417
84489
|
break;
|
|
84418
84490
|
default:
|
|
84419
84491
|
reader.skipType(tag & 7);
|
|
@@ -84506,15 +84578,21 @@ $root.EligibleUserAmended = (function() {
|
|
|
84506
84578
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84507
84579
|
if (!$util.isString(message.enrollmentUrl))
|
|
84508
84580
|
return "enrollmentUrl: string expected";
|
|
84509
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
84510
|
-
if (!$util.isString(message.b2bCustomFields))
|
|
84511
|
-
return "b2bCustomFields: string expected";
|
|
84512
84581
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84513
84582
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84514
84583
|
return "timestamp: integer|Long expected";
|
|
84515
84584
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84516
84585
|
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
84517
84586
|
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
84587
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
84588
|
+
if (!$util.isString(message.b2bCountry))
|
|
84589
|
+
return "b2bCountry: string expected";
|
|
84590
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
84591
|
+
if (!$util.isString(message.b2bDepartment))
|
|
84592
|
+
return "b2bDepartment: string expected";
|
|
84593
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84594
|
+
if (!$util.isString(message.b2bLocation))
|
|
84595
|
+
return "b2bLocation: string expected";
|
|
84518
84596
|
return null;
|
|
84519
84597
|
};
|
|
84520
84598
|
|
|
@@ -84608,8 +84686,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84608
84686
|
}
|
|
84609
84687
|
if (object.enrollmentUrl != null)
|
|
84610
84688
|
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
84611
|
-
if (object.b2bCustomFields != null)
|
|
84612
|
-
message.b2bCustomFields = String(object.b2bCustomFields);
|
|
84613
84689
|
if (object.timestamp != null)
|
|
84614
84690
|
if ($util.Long)
|
|
84615
84691
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -84628,6 +84704,12 @@ $root.EligibleUserAmended = (function() {
|
|
|
84628
84704
|
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
84629
84705
|
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
84630
84706
|
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
84707
|
+
if (object.b2bCountry != null)
|
|
84708
|
+
message.b2bCountry = String(object.b2bCountry);
|
|
84709
|
+
if (object.b2bDepartment != null)
|
|
84710
|
+
message.b2bDepartment = String(object.b2bDepartment);
|
|
84711
|
+
if (object.b2bLocation != null)
|
|
84712
|
+
message.b2bLocation = String(object.b2bLocation);
|
|
84631
84713
|
return message;
|
|
84632
84714
|
};
|
|
84633
84715
|
|
|
@@ -84656,7 +84738,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84656
84738
|
object.b2bIsPilot = false;
|
|
84657
84739
|
object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
84658
84740
|
object.enrollmentUrl = "";
|
|
84659
|
-
object.b2bCustomFields = "";
|
|
84660
84741
|
if ($util.Long) {
|
|
84661
84742
|
var long = new $util.Long(0, 0, true);
|
|
84662
84743
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -84667,6 +84748,9 @@ $root.EligibleUserAmended = (function() {
|
|
|
84667
84748
|
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84668
84749
|
} else
|
|
84669
84750
|
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
84751
|
+
object.b2bCountry = "";
|
|
84752
|
+
object.b2bDepartment = "";
|
|
84753
|
+
object.b2bLocation = "";
|
|
84670
84754
|
}
|
|
84671
84755
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84672
84756
|
object.workEmail = message.workEmail;
|
|
@@ -84690,8 +84774,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84690
84774
|
object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
|
|
84691
84775
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84692
84776
|
object.enrollmentUrl = message.enrollmentUrl;
|
|
84693
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
84694
|
-
object.b2bCustomFields = message.b2bCustomFields;
|
|
84695
84777
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84696
84778
|
if (typeof message.timestamp === "number")
|
|
84697
84779
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -84702,6 +84784,12 @@ $root.EligibleUserAmended = (function() {
|
|
|
84702
84784
|
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
84703
84785
|
else
|
|
84704
84786
|
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;
|
|
84787
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
84788
|
+
object.b2bCountry = message.b2bCountry;
|
|
84789
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
84790
|
+
object.b2bDepartment = message.b2bDepartment;
|
|
84791
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84792
|
+
object.b2bLocation = message.b2bLocation;
|
|
84705
84793
|
return object;
|
|
84706
84794
|
};
|
|
84707
84795
|
|
|
@@ -120000,7 +120088,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120000
120088
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCreated terms
|
|
120001
120089
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCreated membership
|
|
120002
120090
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCreated productSku
|
|
120003
|
-
* @property {number|null} [orgId] SubscriptionCreated orgId
|
|
120004
120091
|
*/
|
|
120005
120092
|
|
|
120006
120093
|
/**
|
|
@@ -120148,14 +120235,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120148
120235
|
*/
|
|
120149
120236
|
SubscriptionCreated.prototype.productSku = null;
|
|
120150
120237
|
|
|
120151
|
-
/**
|
|
120152
|
-
* SubscriptionCreated orgId.
|
|
120153
|
-
* @member {number} orgId
|
|
120154
|
-
* @memberof SubscriptionCreated
|
|
120155
|
-
* @instance
|
|
120156
|
-
*/
|
|
120157
|
-
SubscriptionCreated.prototype.orgId = 0;
|
|
120158
|
-
|
|
120159
120238
|
/**
|
|
120160
120239
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
120161
120240
|
* @function create
|
|
@@ -120217,8 +120296,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120217
120296
|
writer.uint32(/* id 15, wireType 0 =*/120).int32(message.membership);
|
|
120218
120297
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
120219
120298
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
120220
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120221
|
-
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.orgId);
|
|
120222
120299
|
return writer;
|
|
120223
120300
|
};
|
|
120224
120301
|
|
|
@@ -120310,9 +120387,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120310
120387
|
case 16:
|
|
120311
120388
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
120312
120389
|
break;
|
|
120313
|
-
case 17:
|
|
120314
|
-
message.orgId = reader.int32();
|
|
120315
|
-
break;
|
|
120316
120390
|
default:
|
|
120317
120391
|
reader.skipType(tag & 7);
|
|
120318
120392
|
break;
|
|
@@ -120445,9 +120519,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120445
120519
|
if (error)
|
|
120446
120520
|
return "productSku." + error;
|
|
120447
120521
|
}
|
|
120448
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120449
|
-
if (!$util.isInteger(message.orgId))
|
|
120450
|
-
return "orgId: integer expected";
|
|
120451
120522
|
return null;
|
|
120452
120523
|
};
|
|
120453
120524
|
|
|
@@ -120624,8 +120695,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120624
120695
|
throw TypeError(".SubscriptionCreated.productSku: object expected");
|
|
120625
120696
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
120626
120697
|
}
|
|
120627
|
-
if (object.orgId != null)
|
|
120628
|
-
message.orgId = object.orgId | 0;
|
|
120629
120698
|
return message;
|
|
120630
120699
|
};
|
|
120631
120700
|
|
|
@@ -120677,7 +120746,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120677
120746
|
object.isQueuedSubscription = false;
|
|
120678
120747
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
120679
120748
|
object.productSku = null;
|
|
120680
|
-
object.orgId = 0;
|
|
120681
120749
|
}
|
|
120682
120750
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
120683
120751
|
object.id = message.id;
|
|
@@ -120729,8 +120797,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120729
120797
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
120730
120798
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
120731
120799
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
120732
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120733
|
-
object.orgId = message.orgId;
|
|
120734
120800
|
return object;
|
|
120735
120801
|
};
|
|
120736
120802
|
|
|
@@ -120772,7 +120838,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
120772
120838
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
|
|
120773
120839
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
|
|
120774
120840
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
|
|
120775
|
-
* @property {number|null} [orgId] SubscriptionCancelled orgId
|
|
120776
120841
|
*/
|
|
120777
120842
|
|
|
120778
120843
|
/**
|
|
@@ -120936,14 +121001,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
120936
121001
|
*/
|
|
120937
121002
|
SubscriptionCancelled.prototype.productSku = null;
|
|
120938
121003
|
|
|
120939
|
-
/**
|
|
120940
|
-
* SubscriptionCancelled orgId.
|
|
120941
|
-
* @member {number} orgId
|
|
120942
|
-
* @memberof SubscriptionCancelled
|
|
120943
|
-
* @instance
|
|
120944
|
-
*/
|
|
120945
|
-
SubscriptionCancelled.prototype.orgId = 0;
|
|
120946
|
-
|
|
120947
121004
|
/**
|
|
120948
121005
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
120949
121006
|
* @function create
|
|
@@ -121009,8 +121066,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121009
121066
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
|
|
121010
121067
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
121011
121068
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
121012
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121013
|
-
writer.uint32(/* id 19, wireType 0 =*/152).int32(message.orgId);
|
|
121014
121069
|
return writer;
|
|
121015
121070
|
};
|
|
121016
121071
|
|
|
@@ -121108,9 +121163,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121108
121163
|
case 18:
|
|
121109
121164
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
121110
121165
|
break;
|
|
121111
|
-
case 19:
|
|
121112
|
-
message.orgId = reader.int32();
|
|
121113
|
-
break;
|
|
121114
121166
|
default:
|
|
121115
121167
|
reader.skipType(tag & 7);
|
|
121116
121168
|
break;
|
|
@@ -121257,9 +121309,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121257
121309
|
if (error)
|
|
121258
121310
|
return "productSku." + error;
|
|
121259
121311
|
}
|
|
121260
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121261
|
-
if (!$util.isInteger(message.orgId))
|
|
121262
|
-
return "orgId: integer expected";
|
|
121263
121312
|
return null;
|
|
121264
121313
|
};
|
|
121265
121314
|
|
|
@@ -121462,8 +121511,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121462
121511
|
throw TypeError(".SubscriptionCancelled.productSku: object expected");
|
|
121463
121512
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
121464
121513
|
}
|
|
121465
|
-
if (object.orgId != null)
|
|
121466
|
-
message.orgId = object.orgId | 0;
|
|
121467
121514
|
return message;
|
|
121468
121515
|
};
|
|
121469
121516
|
|
|
@@ -121521,7 +121568,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121521
121568
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
121522
121569
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
121523
121570
|
object.productSku = null;
|
|
121524
|
-
object.orgId = 0;
|
|
121525
121571
|
}
|
|
121526
121572
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
121527
121573
|
object.id = message.id;
|
|
@@ -121580,8 +121626,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121580
121626
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
121581
121627
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
121582
121628
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
121583
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121584
|
-
object.orgId = message.orgId;
|
|
121585
121629
|
return object;
|
|
121586
121630
|
};
|
|
121587
121631
|
|
|
@@ -126493,7 +126537,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126493
126537
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionAmended terms
|
|
126494
126538
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionAmended membership
|
|
126495
126539
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionAmended productSku
|
|
126496
|
-
* @property {number|null} [orgId] SubscriptionAmended orgId
|
|
126497
126540
|
*/
|
|
126498
126541
|
|
|
126499
126542
|
/**
|
|
@@ -126641,14 +126684,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126641
126684
|
*/
|
|
126642
126685
|
SubscriptionAmended.prototype.productSku = null;
|
|
126643
126686
|
|
|
126644
|
-
/**
|
|
126645
|
-
* SubscriptionAmended orgId.
|
|
126646
|
-
* @member {number} orgId
|
|
126647
|
-
* @memberof SubscriptionAmended
|
|
126648
|
-
* @instance
|
|
126649
|
-
*/
|
|
126650
|
-
SubscriptionAmended.prototype.orgId = 0;
|
|
126651
|
-
|
|
126652
126687
|
/**
|
|
126653
126688
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
126654
126689
|
* @function create
|
|
@@ -126710,8 +126745,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126710
126745
|
writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
|
|
126711
126746
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
126712
126747
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
126713
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126714
|
-
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.orgId);
|
|
126715
126748
|
return writer;
|
|
126716
126749
|
};
|
|
126717
126750
|
|
|
@@ -126803,9 +126836,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126803
126836
|
case 17:
|
|
126804
126837
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
126805
126838
|
break;
|
|
126806
|
-
case 18:
|
|
126807
|
-
message.orgId = reader.int32();
|
|
126808
|
-
break;
|
|
126809
126839
|
default:
|
|
126810
126840
|
reader.skipType(tag & 7);
|
|
126811
126841
|
break;
|
|
@@ -126938,9 +126968,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126938
126968
|
if (error)
|
|
126939
126969
|
return "productSku." + error;
|
|
126940
126970
|
}
|
|
126941
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126942
|
-
if (!$util.isInteger(message.orgId))
|
|
126943
|
-
return "orgId: integer expected";
|
|
126944
126971
|
return null;
|
|
126945
126972
|
};
|
|
126946
126973
|
|
|
@@ -127124,8 +127151,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127124
127151
|
throw TypeError(".SubscriptionAmended.productSku: object expected");
|
|
127125
127152
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
127126
127153
|
}
|
|
127127
|
-
if (object.orgId != null)
|
|
127128
|
-
message.orgId = object.orgId | 0;
|
|
127129
127154
|
return message;
|
|
127130
127155
|
};
|
|
127131
127156
|
|
|
@@ -127181,7 +127206,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127181
127206
|
object.id = 0;
|
|
127182
127207
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
127183
127208
|
object.productSku = null;
|
|
127184
|
-
object.orgId = 0;
|
|
127185
127209
|
}
|
|
127186
127210
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
127187
127211
|
if (typeof message.updatedOn === "number")
|
|
@@ -127236,8 +127260,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127236
127260
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
127237
127261
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
127238
127262
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
127239
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
127240
|
-
object.orgId = message.orgId;
|
|
127241
127263
|
return object;
|
|
127242
127264
|
};
|
|
127243
127265
|
|
package/package.json
CHANGED