@headspace/protos-events 1.211.0 → 1.213.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 +156 -0
- package/lib/index.js +666 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -18643,6 +18643,30 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
18643
18643
|
|
|
18644
18644
|
/** EnterpriseUserEnrollmentCreated isPilot */
|
|
18645
18645
|
isPilot?: (boolean|null);
|
|
18646
|
+
|
|
18647
|
+
/** EnterpriseUserEnrollmentCreated orgName */
|
|
18648
|
+
orgName?: (string|null);
|
|
18649
|
+
|
|
18650
|
+
/** EnterpriseUserEnrollmentCreated salesforceAccountId */
|
|
18651
|
+
salesforceAccountId?: (string|null);
|
|
18652
|
+
|
|
18653
|
+
/** EnterpriseUserEnrollmentCreated salesforceOpportunityId */
|
|
18654
|
+
salesforceOpportunityId?: (string|null);
|
|
18655
|
+
|
|
18656
|
+
/** EnterpriseUserEnrollmentCreated orgSubscriptionStartDate */
|
|
18657
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
18658
|
+
|
|
18659
|
+
/** EnterpriseUserEnrollmentCreated orgSubscriptionEndDate */
|
|
18660
|
+
orgSubscriptionEndDate?: (number|Long|null);
|
|
18661
|
+
|
|
18662
|
+
/** EnterpriseUserEnrollmentCreated orgMemberLocation */
|
|
18663
|
+
orgMemberLocation?: (string|null);
|
|
18664
|
+
|
|
18665
|
+
/** EnterpriseUserEnrollmentCreated orgMemberDepartment */
|
|
18666
|
+
orgMemberDepartment?: (string|null);
|
|
18667
|
+
|
|
18668
|
+
/** EnterpriseUserEnrollmentCreated orgMemberSubscriptionId */
|
|
18669
|
+
orgMemberSubscriptionId?: (number|null);
|
|
18646
18670
|
}
|
|
18647
18671
|
|
|
18648
18672
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -18684,6 +18708,30 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
18684
18708
|
/** EnterpriseUserEnrollmentCreated isPilot. */
|
|
18685
18709
|
public isPilot: boolean;
|
|
18686
18710
|
|
|
18711
|
+
/** EnterpriseUserEnrollmentCreated orgName. */
|
|
18712
|
+
public orgName: string;
|
|
18713
|
+
|
|
18714
|
+
/** EnterpriseUserEnrollmentCreated salesforceAccountId. */
|
|
18715
|
+
public salesforceAccountId: string;
|
|
18716
|
+
|
|
18717
|
+
/** EnterpriseUserEnrollmentCreated salesforceOpportunityId. */
|
|
18718
|
+
public salesforceOpportunityId: string;
|
|
18719
|
+
|
|
18720
|
+
/** EnterpriseUserEnrollmentCreated orgSubscriptionStartDate. */
|
|
18721
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
18722
|
+
|
|
18723
|
+
/** EnterpriseUserEnrollmentCreated orgSubscriptionEndDate. */
|
|
18724
|
+
public orgSubscriptionEndDate: (number|Long);
|
|
18725
|
+
|
|
18726
|
+
/** EnterpriseUserEnrollmentCreated orgMemberLocation. */
|
|
18727
|
+
public orgMemberLocation: string;
|
|
18728
|
+
|
|
18729
|
+
/** EnterpriseUserEnrollmentCreated orgMemberDepartment. */
|
|
18730
|
+
public orgMemberDepartment: string;
|
|
18731
|
+
|
|
18732
|
+
/** EnterpriseUserEnrollmentCreated orgMemberSubscriptionId. */
|
|
18733
|
+
public orgMemberSubscriptionId: number;
|
|
18734
|
+
|
|
18687
18735
|
/**
|
|
18688
18736
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
18689
18737
|
* @param [properties] Properties to set
|
|
@@ -18790,6 +18838,30 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
18790
18838
|
|
|
18791
18839
|
/** EnterpriseUserEnrollmentRemoved isPilot */
|
|
18792
18840
|
isPilot?: (boolean|null);
|
|
18841
|
+
|
|
18842
|
+
/** EnterpriseUserEnrollmentRemoved orgName */
|
|
18843
|
+
orgName?: (string|null);
|
|
18844
|
+
|
|
18845
|
+
/** EnterpriseUserEnrollmentRemoved salesforceAccountId */
|
|
18846
|
+
salesforceAccountId?: (string|null);
|
|
18847
|
+
|
|
18848
|
+
/** EnterpriseUserEnrollmentRemoved salesforceOpportunityId */
|
|
18849
|
+
salesforceOpportunityId?: (string|null);
|
|
18850
|
+
|
|
18851
|
+
/** EnterpriseUserEnrollmentRemoved orgSubscriptionStartDate */
|
|
18852
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
18853
|
+
|
|
18854
|
+
/** EnterpriseUserEnrollmentRemoved orgSubscriptionEndDate */
|
|
18855
|
+
orgSubscriptionEndDate?: (number|Long|null);
|
|
18856
|
+
|
|
18857
|
+
/** EnterpriseUserEnrollmentRemoved orgMemberLocation */
|
|
18858
|
+
orgMemberLocation?: (string|null);
|
|
18859
|
+
|
|
18860
|
+
/** EnterpriseUserEnrollmentRemoved orgMemberDepartment */
|
|
18861
|
+
orgMemberDepartment?: (string|null);
|
|
18862
|
+
|
|
18863
|
+
/** EnterpriseUserEnrollmentRemoved orgMemberSubscriptionId */
|
|
18864
|
+
orgMemberSubscriptionId?: (number|null);
|
|
18793
18865
|
}
|
|
18794
18866
|
|
|
18795
18867
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -18834,6 +18906,30 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
18834
18906
|
/** EnterpriseUserEnrollmentRemoved isPilot. */
|
|
18835
18907
|
public isPilot: boolean;
|
|
18836
18908
|
|
|
18909
|
+
/** EnterpriseUserEnrollmentRemoved orgName. */
|
|
18910
|
+
public orgName: string;
|
|
18911
|
+
|
|
18912
|
+
/** EnterpriseUserEnrollmentRemoved salesforceAccountId. */
|
|
18913
|
+
public salesforceAccountId: string;
|
|
18914
|
+
|
|
18915
|
+
/** EnterpriseUserEnrollmentRemoved salesforceOpportunityId. */
|
|
18916
|
+
public salesforceOpportunityId: string;
|
|
18917
|
+
|
|
18918
|
+
/** EnterpriseUserEnrollmentRemoved orgSubscriptionStartDate. */
|
|
18919
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
18920
|
+
|
|
18921
|
+
/** EnterpriseUserEnrollmentRemoved orgSubscriptionEndDate. */
|
|
18922
|
+
public orgSubscriptionEndDate: (number|Long);
|
|
18923
|
+
|
|
18924
|
+
/** EnterpriseUserEnrollmentRemoved orgMemberLocation. */
|
|
18925
|
+
public orgMemberLocation: string;
|
|
18926
|
+
|
|
18927
|
+
/** EnterpriseUserEnrollmentRemoved orgMemberDepartment. */
|
|
18928
|
+
public orgMemberDepartment: string;
|
|
18929
|
+
|
|
18930
|
+
/** EnterpriseUserEnrollmentRemoved orgMemberSubscriptionId. */
|
|
18931
|
+
public orgMemberSubscriptionId: number;
|
|
18932
|
+
|
|
18837
18933
|
/**
|
|
18838
18934
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
18839
18935
|
* @param [properties] Properties to set
|
|
@@ -18937,6 +19033,30 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
18937
19033
|
|
|
18938
19034
|
/** EnterpriseUserEnrollmentAmended isPilot */
|
|
18939
19035
|
isPilot?: (boolean|null);
|
|
19036
|
+
|
|
19037
|
+
/** EnterpriseUserEnrollmentAmended orgName */
|
|
19038
|
+
orgName?: (string|null);
|
|
19039
|
+
|
|
19040
|
+
/** EnterpriseUserEnrollmentAmended salesforceAccountId */
|
|
19041
|
+
salesforceAccountId?: (string|null);
|
|
19042
|
+
|
|
19043
|
+
/** EnterpriseUserEnrollmentAmended salesforceOpportunityId */
|
|
19044
|
+
salesforceOpportunityId?: (string|null);
|
|
19045
|
+
|
|
19046
|
+
/** EnterpriseUserEnrollmentAmended orgSubscriptionStartDate */
|
|
19047
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
19048
|
+
|
|
19049
|
+
/** EnterpriseUserEnrollmentAmended orgSubscriptionEndDate */
|
|
19050
|
+
orgSubscriptionEndDate?: (number|Long|null);
|
|
19051
|
+
|
|
19052
|
+
/** EnterpriseUserEnrollmentAmended orgMemberLocation */
|
|
19053
|
+
orgMemberLocation?: (string|null);
|
|
19054
|
+
|
|
19055
|
+
/** EnterpriseUserEnrollmentAmended orgMemberDepartment */
|
|
19056
|
+
orgMemberDepartment?: (string|null);
|
|
19057
|
+
|
|
19058
|
+
/** EnterpriseUserEnrollmentAmended orgMemberSubscriptionId */
|
|
19059
|
+
orgMemberSubscriptionId?: (number|null);
|
|
18940
19060
|
}
|
|
18941
19061
|
|
|
18942
19062
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -18978,6 +19098,30 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
18978
19098
|
/** EnterpriseUserEnrollmentAmended isPilot. */
|
|
18979
19099
|
public isPilot: boolean;
|
|
18980
19100
|
|
|
19101
|
+
/** EnterpriseUserEnrollmentAmended orgName. */
|
|
19102
|
+
public orgName: string;
|
|
19103
|
+
|
|
19104
|
+
/** EnterpriseUserEnrollmentAmended salesforceAccountId. */
|
|
19105
|
+
public salesforceAccountId: string;
|
|
19106
|
+
|
|
19107
|
+
/** EnterpriseUserEnrollmentAmended salesforceOpportunityId. */
|
|
19108
|
+
public salesforceOpportunityId: string;
|
|
19109
|
+
|
|
19110
|
+
/** EnterpriseUserEnrollmentAmended orgSubscriptionStartDate. */
|
|
19111
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
19112
|
+
|
|
19113
|
+
/** EnterpriseUserEnrollmentAmended orgSubscriptionEndDate. */
|
|
19114
|
+
public orgSubscriptionEndDate: (number|Long);
|
|
19115
|
+
|
|
19116
|
+
/** EnterpriseUserEnrollmentAmended orgMemberLocation. */
|
|
19117
|
+
public orgMemberLocation: string;
|
|
19118
|
+
|
|
19119
|
+
/** EnterpriseUserEnrollmentAmended orgMemberDepartment. */
|
|
19120
|
+
public orgMemberDepartment: string;
|
|
19121
|
+
|
|
19122
|
+
/** EnterpriseUserEnrollmentAmended orgMemberSubscriptionId. */
|
|
19123
|
+
public orgMemberSubscriptionId: number;
|
|
19124
|
+
|
|
18981
19125
|
/**
|
|
18982
19126
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
18983
19127
|
* @param [properties] Properties to set
|
|
@@ -21541,6 +21685,9 @@ export interface IWakeupPlaylistCreated {
|
|
|
21541
21685
|
|
|
21542
21686
|
/** WakeupPlaylistCreated createdAt */
|
|
21543
21687
|
createdAt?: (number|Long|null);
|
|
21688
|
+
|
|
21689
|
+
/** WakeupPlaylistCreated variationContainer */
|
|
21690
|
+
variationContainer?: (contentful.ISlugReference|null);
|
|
21544
21691
|
}
|
|
21545
21692
|
|
|
21546
21693
|
/** Represents a WakeupPlaylistCreated. */
|
|
@@ -21576,6 +21723,9 @@ export class WakeupPlaylistCreated implements IWakeupPlaylistCreated {
|
|
|
21576
21723
|
/** WakeupPlaylistCreated createdAt. */
|
|
21577
21724
|
public createdAt: (number|Long);
|
|
21578
21725
|
|
|
21726
|
+
/** WakeupPlaylistCreated variationContainer. */
|
|
21727
|
+
public variationContainer?: (contentful.ISlugReference|null);
|
|
21728
|
+
|
|
21579
21729
|
/**
|
|
21580
21730
|
* Creates a new WakeupPlaylistCreated instance using the specified properties.
|
|
21581
21731
|
* @param [properties] Properties to set
|
|
@@ -21673,6 +21823,9 @@ export interface IWakeupPlaylistUpdated {
|
|
|
21673
21823
|
|
|
21674
21824
|
/** WakeupPlaylistUpdated updatedAt */
|
|
21675
21825
|
updatedAt?: (number|Long|null);
|
|
21826
|
+
|
|
21827
|
+
/** WakeupPlaylistUpdated variationContainer */
|
|
21828
|
+
variationContainer?: (contentful.ISlugReference|null);
|
|
21676
21829
|
}
|
|
21677
21830
|
|
|
21678
21831
|
/** Represents a WakeupPlaylistUpdated. */
|
|
@@ -21708,6 +21861,9 @@ export class WakeupPlaylistUpdated implements IWakeupPlaylistUpdated {
|
|
|
21708
21861
|
/** WakeupPlaylistUpdated updatedAt. */
|
|
21709
21862
|
public updatedAt: (number|Long);
|
|
21710
21863
|
|
|
21864
|
+
/** WakeupPlaylistUpdated variationContainer. */
|
|
21865
|
+
public variationContainer?: (contentful.ISlugReference|null);
|
|
21866
|
+
|
|
21711
21867
|
/**
|
|
21712
21868
|
* Creates a new WakeupPlaylistUpdated instance using the specified properties.
|
|
21713
21869
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -51218,6 +51218,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51218
51218
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentCreated isPartialPay
|
|
51219
51219
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentCreated plan
|
|
51220
51220
|
* @property {boolean|null} [isPilot] EnterpriseUserEnrollmentCreated isPilot
|
|
51221
|
+
* @property {string|null} [orgName] EnterpriseUserEnrollmentCreated orgName
|
|
51222
|
+
* @property {string|null} [salesforceAccountId] EnterpriseUserEnrollmentCreated salesforceAccountId
|
|
51223
|
+
* @property {string|null} [salesforceOpportunityId] EnterpriseUserEnrollmentCreated salesforceOpportunityId
|
|
51224
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] EnterpriseUserEnrollmentCreated orgSubscriptionStartDate
|
|
51225
|
+
* @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentCreated orgSubscriptionEndDate
|
|
51226
|
+
* @property {string|null} [orgMemberLocation] EnterpriseUserEnrollmentCreated orgMemberLocation
|
|
51227
|
+
* @property {string|null} [orgMemberDepartment] EnterpriseUserEnrollmentCreated orgMemberDepartment
|
|
51228
|
+
* @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentCreated orgMemberSubscriptionId
|
|
51221
51229
|
*/
|
|
51222
51230
|
|
|
51223
51231
|
/**
|
|
@@ -51315,6 +51323,70 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51315
51323
|
*/
|
|
51316
51324
|
EnterpriseUserEnrollmentCreated.prototype.isPilot = false;
|
|
51317
51325
|
|
|
51326
|
+
/**
|
|
51327
|
+
* EnterpriseUserEnrollmentCreated orgName.
|
|
51328
|
+
* @member {string} orgName
|
|
51329
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51330
|
+
* @instance
|
|
51331
|
+
*/
|
|
51332
|
+
EnterpriseUserEnrollmentCreated.prototype.orgName = "";
|
|
51333
|
+
|
|
51334
|
+
/**
|
|
51335
|
+
* EnterpriseUserEnrollmentCreated salesforceAccountId.
|
|
51336
|
+
* @member {string} salesforceAccountId
|
|
51337
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51338
|
+
* @instance
|
|
51339
|
+
*/
|
|
51340
|
+
EnterpriseUserEnrollmentCreated.prototype.salesforceAccountId = "";
|
|
51341
|
+
|
|
51342
|
+
/**
|
|
51343
|
+
* EnterpriseUserEnrollmentCreated salesforceOpportunityId.
|
|
51344
|
+
* @member {string} salesforceOpportunityId
|
|
51345
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51346
|
+
* @instance
|
|
51347
|
+
*/
|
|
51348
|
+
EnterpriseUserEnrollmentCreated.prototype.salesforceOpportunityId = "";
|
|
51349
|
+
|
|
51350
|
+
/**
|
|
51351
|
+
* EnterpriseUserEnrollmentCreated orgSubscriptionStartDate.
|
|
51352
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
51353
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51354
|
+
* @instance
|
|
51355
|
+
*/
|
|
51356
|
+
EnterpriseUserEnrollmentCreated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
51357
|
+
|
|
51358
|
+
/**
|
|
51359
|
+
* EnterpriseUserEnrollmentCreated orgSubscriptionEndDate.
|
|
51360
|
+
* @member {number|Long} orgSubscriptionEndDate
|
|
51361
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51362
|
+
* @instance
|
|
51363
|
+
*/
|
|
51364
|
+
EnterpriseUserEnrollmentCreated.prototype.orgSubscriptionEndDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
51365
|
+
|
|
51366
|
+
/**
|
|
51367
|
+
* EnterpriseUserEnrollmentCreated orgMemberLocation.
|
|
51368
|
+
* @member {string} orgMemberLocation
|
|
51369
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51370
|
+
* @instance
|
|
51371
|
+
*/
|
|
51372
|
+
EnterpriseUserEnrollmentCreated.prototype.orgMemberLocation = "";
|
|
51373
|
+
|
|
51374
|
+
/**
|
|
51375
|
+
* EnterpriseUserEnrollmentCreated orgMemberDepartment.
|
|
51376
|
+
* @member {string} orgMemberDepartment
|
|
51377
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51378
|
+
* @instance
|
|
51379
|
+
*/
|
|
51380
|
+
EnterpriseUserEnrollmentCreated.prototype.orgMemberDepartment = "";
|
|
51381
|
+
|
|
51382
|
+
/**
|
|
51383
|
+
* EnterpriseUserEnrollmentCreated orgMemberSubscriptionId.
|
|
51384
|
+
* @member {number} orgMemberSubscriptionId
|
|
51385
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
51386
|
+
* @instance
|
|
51387
|
+
*/
|
|
51388
|
+
EnterpriseUserEnrollmentCreated.prototype.orgMemberSubscriptionId = 0;
|
|
51389
|
+
|
|
51318
51390
|
/**
|
|
51319
51391
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
51320
51392
|
* @function create
|
|
@@ -51359,6 +51431,22 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51359
51431
|
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
|
|
51360
51432
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
51361
51433
|
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isPilot);
|
|
51434
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
51435
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.orgName);
|
|
51436
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
51437
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.salesforceAccountId);
|
|
51438
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
51439
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.salesforceOpportunityId);
|
|
51440
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
51441
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.orgSubscriptionStartDate);
|
|
51442
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
51443
|
+
writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.orgSubscriptionEndDate);
|
|
51444
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
51445
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.orgMemberLocation);
|
|
51446
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
51447
|
+
writer.uint32(/* id 17, wireType 2 =*/138).string(message.orgMemberDepartment);
|
|
51448
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
51449
|
+
writer.uint32(/* id 18, wireType 0 =*/144).uint32(message.orgMemberSubscriptionId);
|
|
51362
51450
|
return writer;
|
|
51363
51451
|
};
|
|
51364
51452
|
|
|
@@ -51423,6 +51511,30 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51423
51511
|
case 10:
|
|
51424
51512
|
message.isPilot = reader.bool();
|
|
51425
51513
|
break;
|
|
51514
|
+
case 11:
|
|
51515
|
+
message.orgName = reader.string();
|
|
51516
|
+
break;
|
|
51517
|
+
case 12:
|
|
51518
|
+
message.salesforceAccountId = reader.string();
|
|
51519
|
+
break;
|
|
51520
|
+
case 13:
|
|
51521
|
+
message.salesforceOpportunityId = reader.string();
|
|
51522
|
+
break;
|
|
51523
|
+
case 14:
|
|
51524
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
51525
|
+
break;
|
|
51526
|
+
case 15:
|
|
51527
|
+
message.orgSubscriptionEndDate = reader.uint64();
|
|
51528
|
+
break;
|
|
51529
|
+
case 16:
|
|
51530
|
+
message.orgMemberLocation = reader.string();
|
|
51531
|
+
break;
|
|
51532
|
+
case 17:
|
|
51533
|
+
message.orgMemberDepartment = reader.string();
|
|
51534
|
+
break;
|
|
51535
|
+
case 18:
|
|
51536
|
+
message.orgMemberSubscriptionId = reader.uint32();
|
|
51537
|
+
break;
|
|
51426
51538
|
default:
|
|
51427
51539
|
reader.skipType(tag & 7);
|
|
51428
51540
|
break;
|
|
@@ -51504,6 +51616,30 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51504
51616
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
51505
51617
|
if (typeof message.isPilot !== "boolean")
|
|
51506
51618
|
return "isPilot: boolean expected";
|
|
51619
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
51620
|
+
if (!$util.isString(message.orgName))
|
|
51621
|
+
return "orgName: string expected";
|
|
51622
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
51623
|
+
if (!$util.isString(message.salesforceAccountId))
|
|
51624
|
+
return "salesforceAccountId: string expected";
|
|
51625
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
51626
|
+
if (!$util.isString(message.salesforceOpportunityId))
|
|
51627
|
+
return "salesforceOpportunityId: string expected";
|
|
51628
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
51629
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
51630
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
51631
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
51632
|
+
if (!$util.isInteger(message.orgSubscriptionEndDate) && !(message.orgSubscriptionEndDate && $util.isInteger(message.orgSubscriptionEndDate.low) && $util.isInteger(message.orgSubscriptionEndDate.high)))
|
|
51633
|
+
return "orgSubscriptionEndDate: integer|Long expected";
|
|
51634
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
51635
|
+
if (!$util.isString(message.orgMemberLocation))
|
|
51636
|
+
return "orgMemberLocation: string expected";
|
|
51637
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
51638
|
+
if (!$util.isString(message.orgMemberDepartment))
|
|
51639
|
+
return "orgMemberDepartment: string expected";
|
|
51640
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
51641
|
+
if (!$util.isInteger(message.orgMemberSubscriptionId))
|
|
51642
|
+
return "orgMemberSubscriptionId: integer expected";
|
|
51507
51643
|
return null;
|
|
51508
51644
|
};
|
|
51509
51645
|
|
|
@@ -51600,6 +51736,36 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51600
51736
|
}
|
|
51601
51737
|
if (object.isPilot != null)
|
|
51602
51738
|
message.isPilot = Boolean(object.isPilot);
|
|
51739
|
+
if (object.orgName != null)
|
|
51740
|
+
message.orgName = String(object.orgName);
|
|
51741
|
+
if (object.salesforceAccountId != null)
|
|
51742
|
+
message.salesforceAccountId = String(object.salesforceAccountId);
|
|
51743
|
+
if (object.salesforceOpportunityId != null)
|
|
51744
|
+
message.salesforceOpportunityId = String(object.salesforceOpportunityId);
|
|
51745
|
+
if (object.orgSubscriptionStartDate != null)
|
|
51746
|
+
if ($util.Long)
|
|
51747
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
51748
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
51749
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
51750
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
51751
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
51752
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
51753
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
51754
|
+
if (object.orgSubscriptionEndDate != null)
|
|
51755
|
+
if ($util.Long)
|
|
51756
|
+
(message.orgSubscriptionEndDate = $util.Long.fromValue(object.orgSubscriptionEndDate)).unsigned = true;
|
|
51757
|
+
else if (typeof object.orgSubscriptionEndDate === "string")
|
|
51758
|
+
message.orgSubscriptionEndDate = parseInt(object.orgSubscriptionEndDate, 10);
|
|
51759
|
+
else if (typeof object.orgSubscriptionEndDate === "number")
|
|
51760
|
+
message.orgSubscriptionEndDate = object.orgSubscriptionEndDate;
|
|
51761
|
+
else if (typeof object.orgSubscriptionEndDate === "object")
|
|
51762
|
+
message.orgSubscriptionEndDate = new $util.LongBits(object.orgSubscriptionEndDate.low >>> 0, object.orgSubscriptionEndDate.high >>> 0).toNumber(true);
|
|
51763
|
+
if (object.orgMemberLocation != null)
|
|
51764
|
+
message.orgMemberLocation = String(object.orgMemberLocation);
|
|
51765
|
+
if (object.orgMemberDepartment != null)
|
|
51766
|
+
message.orgMemberDepartment = String(object.orgMemberDepartment);
|
|
51767
|
+
if (object.orgMemberSubscriptionId != null)
|
|
51768
|
+
message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
|
|
51603
51769
|
return message;
|
|
51604
51770
|
};
|
|
51605
51771
|
|
|
@@ -51639,6 +51805,22 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51639
51805
|
object.isPartialPay = false;
|
|
51640
51806
|
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
51641
51807
|
object.isPilot = false;
|
|
51808
|
+
object.orgName = "";
|
|
51809
|
+
object.salesforceAccountId = "";
|
|
51810
|
+
object.salesforceOpportunityId = "";
|
|
51811
|
+
if ($util.Long) {
|
|
51812
|
+
var long = new $util.Long(0, 0, true);
|
|
51813
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
51814
|
+
} else
|
|
51815
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
51816
|
+
if ($util.Long) {
|
|
51817
|
+
var long = new $util.Long(0, 0, true);
|
|
51818
|
+
object.orgSubscriptionEndDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
51819
|
+
} else
|
|
51820
|
+
object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
|
|
51821
|
+
object.orgMemberLocation = "";
|
|
51822
|
+
object.orgMemberDepartment = "";
|
|
51823
|
+
object.orgMemberSubscriptionId = 0;
|
|
51642
51824
|
}
|
|
51643
51825
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
51644
51826
|
object.userId = message.userId;
|
|
@@ -51669,6 +51851,28 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
51669
51851
|
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
51670
51852
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
51671
51853
|
object.isPilot = message.isPilot;
|
|
51854
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
51855
|
+
object.orgName = message.orgName;
|
|
51856
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
51857
|
+
object.salesforceAccountId = message.salesforceAccountId;
|
|
51858
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
51859
|
+
object.salesforceOpportunityId = message.salesforceOpportunityId;
|
|
51860
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
51861
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
51862
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
51863
|
+
else
|
|
51864
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
51865
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
51866
|
+
if (typeof message.orgSubscriptionEndDate === "number")
|
|
51867
|
+
object.orgSubscriptionEndDate = options.longs === String ? String(message.orgSubscriptionEndDate) : message.orgSubscriptionEndDate;
|
|
51868
|
+
else
|
|
51869
|
+
object.orgSubscriptionEndDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionEndDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionEndDate.low >>> 0, message.orgSubscriptionEndDate.high >>> 0).toNumber(true) : message.orgSubscriptionEndDate;
|
|
51870
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
51871
|
+
object.orgMemberLocation = message.orgMemberLocation;
|
|
51872
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
51873
|
+
object.orgMemberDepartment = message.orgMemberDepartment;
|
|
51874
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
51875
|
+
object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
|
|
51672
51876
|
return object;
|
|
51673
51877
|
};
|
|
51674
51878
|
|
|
@@ -51703,6 +51907,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
51703
51907
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentRemoved isPartialPay
|
|
51704
51908
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentRemoved plan
|
|
51705
51909
|
* @property {boolean|null} [isPilot] EnterpriseUserEnrollmentRemoved isPilot
|
|
51910
|
+
* @property {string|null} [orgName] EnterpriseUserEnrollmentRemoved orgName
|
|
51911
|
+
* @property {string|null} [salesforceAccountId] EnterpriseUserEnrollmentRemoved salesforceAccountId
|
|
51912
|
+
* @property {string|null} [salesforceOpportunityId] EnterpriseUserEnrollmentRemoved salesforceOpportunityId
|
|
51913
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] EnterpriseUserEnrollmentRemoved orgSubscriptionStartDate
|
|
51914
|
+
* @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentRemoved orgSubscriptionEndDate
|
|
51915
|
+
* @property {string|null} [orgMemberLocation] EnterpriseUserEnrollmentRemoved orgMemberLocation
|
|
51916
|
+
* @property {string|null} [orgMemberDepartment] EnterpriseUserEnrollmentRemoved orgMemberDepartment
|
|
51917
|
+
* @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentRemoved orgMemberSubscriptionId
|
|
51706
51918
|
*/
|
|
51707
51919
|
|
|
51708
51920
|
/**
|
|
@@ -51808,6 +52020,70 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
51808
52020
|
*/
|
|
51809
52021
|
EnterpriseUserEnrollmentRemoved.prototype.isPilot = false;
|
|
51810
52022
|
|
|
52023
|
+
/**
|
|
52024
|
+
* EnterpriseUserEnrollmentRemoved orgName.
|
|
52025
|
+
* @member {string} orgName
|
|
52026
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52027
|
+
* @instance
|
|
52028
|
+
*/
|
|
52029
|
+
EnterpriseUserEnrollmentRemoved.prototype.orgName = "";
|
|
52030
|
+
|
|
52031
|
+
/**
|
|
52032
|
+
* EnterpriseUserEnrollmentRemoved salesforceAccountId.
|
|
52033
|
+
* @member {string} salesforceAccountId
|
|
52034
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52035
|
+
* @instance
|
|
52036
|
+
*/
|
|
52037
|
+
EnterpriseUserEnrollmentRemoved.prototype.salesforceAccountId = "";
|
|
52038
|
+
|
|
52039
|
+
/**
|
|
52040
|
+
* EnterpriseUserEnrollmentRemoved salesforceOpportunityId.
|
|
52041
|
+
* @member {string} salesforceOpportunityId
|
|
52042
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52043
|
+
* @instance
|
|
52044
|
+
*/
|
|
52045
|
+
EnterpriseUserEnrollmentRemoved.prototype.salesforceOpportunityId = "";
|
|
52046
|
+
|
|
52047
|
+
/**
|
|
52048
|
+
* EnterpriseUserEnrollmentRemoved orgSubscriptionStartDate.
|
|
52049
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
52050
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52051
|
+
* @instance
|
|
52052
|
+
*/
|
|
52053
|
+
EnterpriseUserEnrollmentRemoved.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
52054
|
+
|
|
52055
|
+
/**
|
|
52056
|
+
* EnterpriseUserEnrollmentRemoved orgSubscriptionEndDate.
|
|
52057
|
+
* @member {number|Long} orgSubscriptionEndDate
|
|
52058
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52059
|
+
* @instance
|
|
52060
|
+
*/
|
|
52061
|
+
EnterpriseUserEnrollmentRemoved.prototype.orgSubscriptionEndDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
52062
|
+
|
|
52063
|
+
/**
|
|
52064
|
+
* EnterpriseUserEnrollmentRemoved orgMemberLocation.
|
|
52065
|
+
* @member {string} orgMemberLocation
|
|
52066
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52067
|
+
* @instance
|
|
52068
|
+
*/
|
|
52069
|
+
EnterpriseUserEnrollmentRemoved.prototype.orgMemberLocation = "";
|
|
52070
|
+
|
|
52071
|
+
/**
|
|
52072
|
+
* EnterpriseUserEnrollmentRemoved orgMemberDepartment.
|
|
52073
|
+
* @member {string} orgMemberDepartment
|
|
52074
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52075
|
+
* @instance
|
|
52076
|
+
*/
|
|
52077
|
+
EnterpriseUserEnrollmentRemoved.prototype.orgMemberDepartment = "";
|
|
52078
|
+
|
|
52079
|
+
/**
|
|
52080
|
+
* EnterpriseUserEnrollmentRemoved orgMemberSubscriptionId.
|
|
52081
|
+
* @member {number} orgMemberSubscriptionId
|
|
52082
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
52083
|
+
* @instance
|
|
52084
|
+
*/
|
|
52085
|
+
EnterpriseUserEnrollmentRemoved.prototype.orgMemberSubscriptionId = 0;
|
|
52086
|
+
|
|
51811
52087
|
/**
|
|
51812
52088
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
51813
52089
|
* @function create
|
|
@@ -51854,6 +52130,22 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
51854
52130
|
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.plan);
|
|
51855
52131
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
51856
52132
|
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.isPilot);
|
|
52133
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
52134
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.orgName);
|
|
52135
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
52136
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.salesforceAccountId);
|
|
52137
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
52138
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.salesforceOpportunityId);
|
|
52139
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
52140
|
+
writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.orgSubscriptionStartDate);
|
|
52141
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
52142
|
+
writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.orgSubscriptionEndDate);
|
|
52143
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
52144
|
+
writer.uint32(/* id 17, wireType 2 =*/138).string(message.orgMemberLocation);
|
|
52145
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
52146
|
+
writer.uint32(/* id 18, wireType 2 =*/146).string(message.orgMemberDepartment);
|
|
52147
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
52148
|
+
writer.uint32(/* id 19, wireType 0 =*/152).uint32(message.orgMemberSubscriptionId);
|
|
51857
52149
|
return writer;
|
|
51858
52150
|
};
|
|
51859
52151
|
|
|
@@ -51921,6 +52213,30 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
51921
52213
|
case 11:
|
|
51922
52214
|
message.isPilot = reader.bool();
|
|
51923
52215
|
break;
|
|
52216
|
+
case 12:
|
|
52217
|
+
message.orgName = reader.string();
|
|
52218
|
+
break;
|
|
52219
|
+
case 13:
|
|
52220
|
+
message.salesforceAccountId = reader.string();
|
|
52221
|
+
break;
|
|
52222
|
+
case 14:
|
|
52223
|
+
message.salesforceOpportunityId = reader.string();
|
|
52224
|
+
break;
|
|
52225
|
+
case 15:
|
|
52226
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
52227
|
+
break;
|
|
52228
|
+
case 16:
|
|
52229
|
+
message.orgSubscriptionEndDate = reader.uint64();
|
|
52230
|
+
break;
|
|
52231
|
+
case 17:
|
|
52232
|
+
message.orgMemberLocation = reader.string();
|
|
52233
|
+
break;
|
|
52234
|
+
case 18:
|
|
52235
|
+
message.orgMemberDepartment = reader.string();
|
|
52236
|
+
break;
|
|
52237
|
+
case 19:
|
|
52238
|
+
message.orgMemberSubscriptionId = reader.uint32();
|
|
52239
|
+
break;
|
|
51924
52240
|
default:
|
|
51925
52241
|
reader.skipType(tag & 7);
|
|
51926
52242
|
break;
|
|
@@ -52014,6 +52330,30 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
52014
52330
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
52015
52331
|
if (typeof message.isPilot !== "boolean")
|
|
52016
52332
|
return "isPilot: boolean expected";
|
|
52333
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
52334
|
+
if (!$util.isString(message.orgName))
|
|
52335
|
+
return "orgName: string expected";
|
|
52336
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
52337
|
+
if (!$util.isString(message.salesforceAccountId))
|
|
52338
|
+
return "salesforceAccountId: string expected";
|
|
52339
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
52340
|
+
if (!$util.isString(message.salesforceOpportunityId))
|
|
52341
|
+
return "salesforceOpportunityId: string expected";
|
|
52342
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
52343
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
52344
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
52345
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
52346
|
+
if (!$util.isInteger(message.orgSubscriptionEndDate) && !(message.orgSubscriptionEndDate && $util.isInteger(message.orgSubscriptionEndDate.low) && $util.isInteger(message.orgSubscriptionEndDate.high)))
|
|
52347
|
+
return "orgSubscriptionEndDate: integer|Long expected";
|
|
52348
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
52349
|
+
if (!$util.isString(message.orgMemberLocation))
|
|
52350
|
+
return "orgMemberLocation: string expected";
|
|
52351
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
52352
|
+
if (!$util.isString(message.orgMemberDepartment))
|
|
52353
|
+
return "orgMemberDepartment: string expected";
|
|
52354
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
52355
|
+
if (!$util.isInteger(message.orgMemberSubscriptionId))
|
|
52356
|
+
return "orgMemberSubscriptionId: integer expected";
|
|
52017
52357
|
return null;
|
|
52018
52358
|
};
|
|
52019
52359
|
|
|
@@ -52136,6 +52476,36 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
52136
52476
|
}
|
|
52137
52477
|
if (object.isPilot != null)
|
|
52138
52478
|
message.isPilot = Boolean(object.isPilot);
|
|
52479
|
+
if (object.orgName != null)
|
|
52480
|
+
message.orgName = String(object.orgName);
|
|
52481
|
+
if (object.salesforceAccountId != null)
|
|
52482
|
+
message.salesforceAccountId = String(object.salesforceAccountId);
|
|
52483
|
+
if (object.salesforceOpportunityId != null)
|
|
52484
|
+
message.salesforceOpportunityId = String(object.salesforceOpportunityId);
|
|
52485
|
+
if (object.orgSubscriptionStartDate != null)
|
|
52486
|
+
if ($util.Long)
|
|
52487
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
52488
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
52489
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
52490
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
52491
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
52492
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
52493
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
52494
|
+
if (object.orgSubscriptionEndDate != null)
|
|
52495
|
+
if ($util.Long)
|
|
52496
|
+
(message.orgSubscriptionEndDate = $util.Long.fromValue(object.orgSubscriptionEndDate)).unsigned = true;
|
|
52497
|
+
else if (typeof object.orgSubscriptionEndDate === "string")
|
|
52498
|
+
message.orgSubscriptionEndDate = parseInt(object.orgSubscriptionEndDate, 10);
|
|
52499
|
+
else if (typeof object.orgSubscriptionEndDate === "number")
|
|
52500
|
+
message.orgSubscriptionEndDate = object.orgSubscriptionEndDate;
|
|
52501
|
+
else if (typeof object.orgSubscriptionEndDate === "object")
|
|
52502
|
+
message.orgSubscriptionEndDate = new $util.LongBits(object.orgSubscriptionEndDate.low >>> 0, object.orgSubscriptionEndDate.high >>> 0).toNumber(true);
|
|
52503
|
+
if (object.orgMemberLocation != null)
|
|
52504
|
+
message.orgMemberLocation = String(object.orgMemberLocation);
|
|
52505
|
+
if (object.orgMemberDepartment != null)
|
|
52506
|
+
message.orgMemberDepartment = String(object.orgMemberDepartment);
|
|
52507
|
+
if (object.orgMemberSubscriptionId != null)
|
|
52508
|
+
message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
|
|
52139
52509
|
return message;
|
|
52140
52510
|
};
|
|
52141
52511
|
|
|
@@ -52176,6 +52546,22 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
52176
52546
|
object.isPartialPay = false;
|
|
52177
52547
|
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
52178
52548
|
object.isPilot = false;
|
|
52549
|
+
object.orgName = "";
|
|
52550
|
+
object.salesforceAccountId = "";
|
|
52551
|
+
object.salesforceOpportunityId = "";
|
|
52552
|
+
if ($util.Long) {
|
|
52553
|
+
var long = new $util.Long(0, 0, true);
|
|
52554
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
52555
|
+
} else
|
|
52556
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
52557
|
+
if ($util.Long) {
|
|
52558
|
+
var long = new $util.Long(0, 0, true);
|
|
52559
|
+
object.orgSubscriptionEndDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
52560
|
+
} else
|
|
52561
|
+
object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
|
|
52562
|
+
object.orgMemberLocation = "";
|
|
52563
|
+
object.orgMemberDepartment = "";
|
|
52564
|
+
object.orgMemberSubscriptionId = 0;
|
|
52179
52565
|
}
|
|
52180
52566
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
52181
52567
|
object.userId = message.userId;
|
|
@@ -52208,6 +52594,28 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
52208
52594
|
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
52209
52595
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
52210
52596
|
object.isPilot = message.isPilot;
|
|
52597
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
52598
|
+
object.orgName = message.orgName;
|
|
52599
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
52600
|
+
object.salesforceAccountId = message.salesforceAccountId;
|
|
52601
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
52602
|
+
object.salesforceOpportunityId = message.salesforceOpportunityId;
|
|
52603
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
52604
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
52605
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
52606
|
+
else
|
|
52607
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
52608
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
52609
|
+
if (typeof message.orgSubscriptionEndDate === "number")
|
|
52610
|
+
object.orgSubscriptionEndDate = options.longs === String ? String(message.orgSubscriptionEndDate) : message.orgSubscriptionEndDate;
|
|
52611
|
+
else
|
|
52612
|
+
object.orgSubscriptionEndDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionEndDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionEndDate.low >>> 0, message.orgSubscriptionEndDate.high >>> 0).toNumber(true) : message.orgSubscriptionEndDate;
|
|
52613
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
52614
|
+
object.orgMemberLocation = message.orgMemberLocation;
|
|
52615
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
52616
|
+
object.orgMemberDepartment = message.orgMemberDepartment;
|
|
52617
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
52618
|
+
object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
|
|
52211
52619
|
return object;
|
|
52212
52620
|
};
|
|
52213
52621
|
|
|
@@ -52241,6 +52649,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52241
52649
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentAmended isPartialPay
|
|
52242
52650
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentAmended plan
|
|
52243
52651
|
* @property {boolean|null} [isPilot] EnterpriseUserEnrollmentAmended isPilot
|
|
52652
|
+
* @property {string|null} [orgName] EnterpriseUserEnrollmentAmended orgName
|
|
52653
|
+
* @property {string|null} [salesforceAccountId] EnterpriseUserEnrollmentAmended salesforceAccountId
|
|
52654
|
+
* @property {string|null} [salesforceOpportunityId] EnterpriseUserEnrollmentAmended salesforceOpportunityId
|
|
52655
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] EnterpriseUserEnrollmentAmended orgSubscriptionStartDate
|
|
52656
|
+
* @property {number|Long|null} [orgSubscriptionEndDate] EnterpriseUserEnrollmentAmended orgSubscriptionEndDate
|
|
52657
|
+
* @property {string|null} [orgMemberLocation] EnterpriseUserEnrollmentAmended orgMemberLocation
|
|
52658
|
+
* @property {string|null} [orgMemberDepartment] EnterpriseUserEnrollmentAmended orgMemberDepartment
|
|
52659
|
+
* @property {number|null} [orgMemberSubscriptionId] EnterpriseUserEnrollmentAmended orgMemberSubscriptionId
|
|
52244
52660
|
*/
|
|
52245
52661
|
|
|
52246
52662
|
/**
|
|
@@ -52338,6 +52754,70 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52338
52754
|
*/
|
|
52339
52755
|
EnterpriseUserEnrollmentAmended.prototype.isPilot = false;
|
|
52340
52756
|
|
|
52757
|
+
/**
|
|
52758
|
+
* EnterpriseUserEnrollmentAmended orgName.
|
|
52759
|
+
* @member {string} orgName
|
|
52760
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52761
|
+
* @instance
|
|
52762
|
+
*/
|
|
52763
|
+
EnterpriseUserEnrollmentAmended.prototype.orgName = "";
|
|
52764
|
+
|
|
52765
|
+
/**
|
|
52766
|
+
* EnterpriseUserEnrollmentAmended salesforceAccountId.
|
|
52767
|
+
* @member {string} salesforceAccountId
|
|
52768
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52769
|
+
* @instance
|
|
52770
|
+
*/
|
|
52771
|
+
EnterpriseUserEnrollmentAmended.prototype.salesforceAccountId = "";
|
|
52772
|
+
|
|
52773
|
+
/**
|
|
52774
|
+
* EnterpriseUserEnrollmentAmended salesforceOpportunityId.
|
|
52775
|
+
* @member {string} salesforceOpportunityId
|
|
52776
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52777
|
+
* @instance
|
|
52778
|
+
*/
|
|
52779
|
+
EnterpriseUserEnrollmentAmended.prototype.salesforceOpportunityId = "";
|
|
52780
|
+
|
|
52781
|
+
/**
|
|
52782
|
+
* EnterpriseUserEnrollmentAmended orgSubscriptionStartDate.
|
|
52783
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
52784
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52785
|
+
* @instance
|
|
52786
|
+
*/
|
|
52787
|
+
EnterpriseUserEnrollmentAmended.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
52788
|
+
|
|
52789
|
+
/**
|
|
52790
|
+
* EnterpriseUserEnrollmentAmended orgSubscriptionEndDate.
|
|
52791
|
+
* @member {number|Long} orgSubscriptionEndDate
|
|
52792
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52793
|
+
* @instance
|
|
52794
|
+
*/
|
|
52795
|
+
EnterpriseUserEnrollmentAmended.prototype.orgSubscriptionEndDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
52796
|
+
|
|
52797
|
+
/**
|
|
52798
|
+
* EnterpriseUserEnrollmentAmended orgMemberLocation.
|
|
52799
|
+
* @member {string} orgMemberLocation
|
|
52800
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52801
|
+
* @instance
|
|
52802
|
+
*/
|
|
52803
|
+
EnterpriseUserEnrollmentAmended.prototype.orgMemberLocation = "";
|
|
52804
|
+
|
|
52805
|
+
/**
|
|
52806
|
+
* EnterpriseUserEnrollmentAmended orgMemberDepartment.
|
|
52807
|
+
* @member {string} orgMemberDepartment
|
|
52808
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52809
|
+
* @instance
|
|
52810
|
+
*/
|
|
52811
|
+
EnterpriseUserEnrollmentAmended.prototype.orgMemberDepartment = "";
|
|
52812
|
+
|
|
52813
|
+
/**
|
|
52814
|
+
* EnterpriseUserEnrollmentAmended orgMemberSubscriptionId.
|
|
52815
|
+
* @member {number} orgMemberSubscriptionId
|
|
52816
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
52817
|
+
* @instance
|
|
52818
|
+
*/
|
|
52819
|
+
EnterpriseUserEnrollmentAmended.prototype.orgMemberSubscriptionId = 0;
|
|
52820
|
+
|
|
52341
52821
|
/**
|
|
52342
52822
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
52343
52823
|
* @function create
|
|
@@ -52382,6 +52862,22 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52382
52862
|
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
|
|
52383
52863
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
52384
52864
|
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isPilot);
|
|
52865
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
52866
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.orgName);
|
|
52867
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
52868
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.salesforceAccountId);
|
|
52869
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
52870
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.salesforceOpportunityId);
|
|
52871
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
52872
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.orgSubscriptionStartDate);
|
|
52873
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
52874
|
+
writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.orgSubscriptionEndDate);
|
|
52875
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
52876
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.orgMemberLocation);
|
|
52877
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
52878
|
+
writer.uint32(/* id 17, wireType 2 =*/138).string(message.orgMemberDepartment);
|
|
52879
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
52880
|
+
writer.uint32(/* id 18, wireType 0 =*/144).uint32(message.orgMemberSubscriptionId);
|
|
52385
52881
|
return writer;
|
|
52386
52882
|
};
|
|
52387
52883
|
|
|
@@ -52446,6 +52942,30 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52446
52942
|
case 10:
|
|
52447
52943
|
message.isPilot = reader.bool();
|
|
52448
52944
|
break;
|
|
52945
|
+
case 11:
|
|
52946
|
+
message.orgName = reader.string();
|
|
52947
|
+
break;
|
|
52948
|
+
case 12:
|
|
52949
|
+
message.salesforceAccountId = reader.string();
|
|
52950
|
+
break;
|
|
52951
|
+
case 13:
|
|
52952
|
+
message.salesforceOpportunityId = reader.string();
|
|
52953
|
+
break;
|
|
52954
|
+
case 14:
|
|
52955
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
52956
|
+
break;
|
|
52957
|
+
case 15:
|
|
52958
|
+
message.orgSubscriptionEndDate = reader.uint64();
|
|
52959
|
+
break;
|
|
52960
|
+
case 16:
|
|
52961
|
+
message.orgMemberLocation = reader.string();
|
|
52962
|
+
break;
|
|
52963
|
+
case 17:
|
|
52964
|
+
message.orgMemberDepartment = reader.string();
|
|
52965
|
+
break;
|
|
52966
|
+
case 18:
|
|
52967
|
+
message.orgMemberSubscriptionId = reader.uint32();
|
|
52968
|
+
break;
|
|
52449
52969
|
default:
|
|
52450
52970
|
reader.skipType(tag & 7);
|
|
52451
52971
|
break;
|
|
@@ -52527,6 +53047,30 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52527
53047
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
52528
53048
|
if (typeof message.isPilot !== "boolean")
|
|
52529
53049
|
return "isPilot: boolean expected";
|
|
53050
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
53051
|
+
if (!$util.isString(message.orgName))
|
|
53052
|
+
return "orgName: string expected";
|
|
53053
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
53054
|
+
if (!$util.isString(message.salesforceAccountId))
|
|
53055
|
+
return "salesforceAccountId: string expected";
|
|
53056
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
53057
|
+
if (!$util.isString(message.salesforceOpportunityId))
|
|
53058
|
+
return "salesforceOpportunityId: string expected";
|
|
53059
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
53060
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
53061
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
53062
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
53063
|
+
if (!$util.isInteger(message.orgSubscriptionEndDate) && !(message.orgSubscriptionEndDate && $util.isInteger(message.orgSubscriptionEndDate.low) && $util.isInteger(message.orgSubscriptionEndDate.high)))
|
|
53064
|
+
return "orgSubscriptionEndDate: integer|Long expected";
|
|
53065
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
53066
|
+
if (!$util.isString(message.orgMemberLocation))
|
|
53067
|
+
return "orgMemberLocation: string expected";
|
|
53068
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
53069
|
+
if (!$util.isString(message.orgMemberDepartment))
|
|
53070
|
+
return "orgMemberDepartment: string expected";
|
|
53071
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
53072
|
+
if (!$util.isInteger(message.orgMemberSubscriptionId))
|
|
53073
|
+
return "orgMemberSubscriptionId: integer expected";
|
|
52530
53074
|
return null;
|
|
52531
53075
|
};
|
|
52532
53076
|
|
|
@@ -52623,6 +53167,36 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52623
53167
|
}
|
|
52624
53168
|
if (object.isPilot != null)
|
|
52625
53169
|
message.isPilot = Boolean(object.isPilot);
|
|
53170
|
+
if (object.orgName != null)
|
|
53171
|
+
message.orgName = String(object.orgName);
|
|
53172
|
+
if (object.salesforceAccountId != null)
|
|
53173
|
+
message.salesforceAccountId = String(object.salesforceAccountId);
|
|
53174
|
+
if (object.salesforceOpportunityId != null)
|
|
53175
|
+
message.salesforceOpportunityId = String(object.salesforceOpportunityId);
|
|
53176
|
+
if (object.orgSubscriptionStartDate != null)
|
|
53177
|
+
if ($util.Long)
|
|
53178
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
53179
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
53180
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
53181
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
53182
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
53183
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
53184
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
53185
|
+
if (object.orgSubscriptionEndDate != null)
|
|
53186
|
+
if ($util.Long)
|
|
53187
|
+
(message.orgSubscriptionEndDate = $util.Long.fromValue(object.orgSubscriptionEndDate)).unsigned = true;
|
|
53188
|
+
else if (typeof object.orgSubscriptionEndDate === "string")
|
|
53189
|
+
message.orgSubscriptionEndDate = parseInt(object.orgSubscriptionEndDate, 10);
|
|
53190
|
+
else if (typeof object.orgSubscriptionEndDate === "number")
|
|
53191
|
+
message.orgSubscriptionEndDate = object.orgSubscriptionEndDate;
|
|
53192
|
+
else if (typeof object.orgSubscriptionEndDate === "object")
|
|
53193
|
+
message.orgSubscriptionEndDate = new $util.LongBits(object.orgSubscriptionEndDate.low >>> 0, object.orgSubscriptionEndDate.high >>> 0).toNumber(true);
|
|
53194
|
+
if (object.orgMemberLocation != null)
|
|
53195
|
+
message.orgMemberLocation = String(object.orgMemberLocation);
|
|
53196
|
+
if (object.orgMemberDepartment != null)
|
|
53197
|
+
message.orgMemberDepartment = String(object.orgMemberDepartment);
|
|
53198
|
+
if (object.orgMemberSubscriptionId != null)
|
|
53199
|
+
message.orgMemberSubscriptionId = object.orgMemberSubscriptionId >>> 0;
|
|
52626
53200
|
return message;
|
|
52627
53201
|
};
|
|
52628
53202
|
|
|
@@ -52662,6 +53236,22 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52662
53236
|
object.isPartialPay = false;
|
|
52663
53237
|
object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
52664
53238
|
object.isPilot = false;
|
|
53239
|
+
object.orgName = "";
|
|
53240
|
+
object.salesforceAccountId = "";
|
|
53241
|
+
object.salesforceOpportunityId = "";
|
|
53242
|
+
if ($util.Long) {
|
|
53243
|
+
var long = new $util.Long(0, 0, true);
|
|
53244
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
53245
|
+
} else
|
|
53246
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
53247
|
+
if ($util.Long) {
|
|
53248
|
+
var long = new $util.Long(0, 0, true);
|
|
53249
|
+
object.orgSubscriptionEndDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
53250
|
+
} else
|
|
53251
|
+
object.orgSubscriptionEndDate = options.longs === String ? "0" : 0;
|
|
53252
|
+
object.orgMemberLocation = "";
|
|
53253
|
+
object.orgMemberDepartment = "";
|
|
53254
|
+
object.orgMemberSubscriptionId = 0;
|
|
52665
53255
|
}
|
|
52666
53256
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
52667
53257
|
object.userId = message.userId;
|
|
@@ -52692,6 +53282,28 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
52692
53282
|
object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
|
|
52693
53283
|
if (message.isPilot != null && message.hasOwnProperty("isPilot"))
|
|
52694
53284
|
object.isPilot = message.isPilot;
|
|
53285
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
53286
|
+
object.orgName = message.orgName;
|
|
53287
|
+
if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
|
|
53288
|
+
object.salesforceAccountId = message.salesforceAccountId;
|
|
53289
|
+
if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
|
|
53290
|
+
object.salesforceOpportunityId = message.salesforceOpportunityId;
|
|
53291
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
53292
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
53293
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
53294
|
+
else
|
|
53295
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
53296
|
+
if (message.orgSubscriptionEndDate != null && message.hasOwnProperty("orgSubscriptionEndDate"))
|
|
53297
|
+
if (typeof message.orgSubscriptionEndDate === "number")
|
|
53298
|
+
object.orgSubscriptionEndDate = options.longs === String ? String(message.orgSubscriptionEndDate) : message.orgSubscriptionEndDate;
|
|
53299
|
+
else
|
|
53300
|
+
object.orgSubscriptionEndDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionEndDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionEndDate.low >>> 0, message.orgSubscriptionEndDate.high >>> 0).toNumber(true) : message.orgSubscriptionEndDate;
|
|
53301
|
+
if (message.orgMemberLocation != null && message.hasOwnProperty("orgMemberLocation"))
|
|
53302
|
+
object.orgMemberLocation = message.orgMemberLocation;
|
|
53303
|
+
if (message.orgMemberDepartment != null && message.hasOwnProperty("orgMemberDepartment"))
|
|
53304
|
+
object.orgMemberDepartment = message.orgMemberDepartment;
|
|
53305
|
+
if (message.orgMemberSubscriptionId != null && message.hasOwnProperty("orgMemberSubscriptionId"))
|
|
53306
|
+
object.orgMemberSubscriptionId = message.orgMemberSubscriptionId;
|
|
52695
53307
|
return object;
|
|
52696
53308
|
};
|
|
52697
53309
|
|
|
@@ -60331,6 +60943,7 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60331
60943
|
* @property {string|null} [previewMediaType] WakeupPlaylistCreated previewMediaType
|
|
60332
60944
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistCreated accessGroups
|
|
60333
60945
|
* @property {number|Long|null} [createdAt] WakeupPlaylistCreated createdAt
|
|
60946
|
+
* @property {contentful.ISlugReference|null} [variationContainer] WakeupPlaylistCreated variationContainer
|
|
60334
60947
|
*/
|
|
60335
60948
|
|
|
60336
60949
|
/**
|
|
@@ -60413,6 +61026,14 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60413
61026
|
*/
|
|
60414
61027
|
WakeupPlaylistCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
60415
61028
|
|
|
61029
|
+
/**
|
|
61030
|
+
* WakeupPlaylistCreated variationContainer.
|
|
61031
|
+
* @member {contentful.ISlugReference|null|undefined} variationContainer
|
|
61032
|
+
* @memberof WakeupPlaylistCreated
|
|
61033
|
+
* @instance
|
|
61034
|
+
*/
|
|
61035
|
+
WakeupPlaylistCreated.prototype.variationContainer = null;
|
|
61036
|
+
|
|
60416
61037
|
/**
|
|
60417
61038
|
* Creates a new WakeupPlaylistCreated instance using the specified properties.
|
|
60418
61039
|
* @function create
|
|
@@ -60454,6 +61075,8 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60454
61075
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
60455
61076
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
60456
61077
|
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.createdAt);
|
|
61078
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
61079
|
+
$root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
60457
61080
|
return writer;
|
|
60458
61081
|
};
|
|
60459
61082
|
|
|
@@ -60514,6 +61137,9 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60514
61137
|
case 8:
|
|
60515
61138
|
message.createdAt = reader.uint64();
|
|
60516
61139
|
break;
|
|
61140
|
+
case 9:
|
|
61141
|
+
message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
61142
|
+
break;
|
|
60517
61143
|
default:
|
|
60518
61144
|
reader.skipType(tag & 7);
|
|
60519
61145
|
break;
|
|
@@ -60579,6 +61205,11 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60579
61205
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
60580
61206
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
60581
61207
|
return "createdAt: integer|Long expected";
|
|
61208
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer")) {
|
|
61209
|
+
var error = $root.contentful.SlugReference.verify(message.variationContainer);
|
|
61210
|
+
if (error)
|
|
61211
|
+
return "variationContainer." + error;
|
|
61212
|
+
}
|
|
60582
61213
|
return null;
|
|
60583
61214
|
};
|
|
60584
61215
|
|
|
@@ -60625,6 +61256,11 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60625
61256
|
message.createdAt = object.createdAt;
|
|
60626
61257
|
else if (typeof object.createdAt === "object")
|
|
60627
61258
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
61259
|
+
if (object.variationContainer != null) {
|
|
61260
|
+
if (typeof object.variationContainer !== "object")
|
|
61261
|
+
throw TypeError(".WakeupPlaylistCreated.variationContainer: object expected");
|
|
61262
|
+
message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
|
|
61263
|
+
}
|
|
60628
61264
|
return message;
|
|
60629
61265
|
};
|
|
60630
61266
|
|
|
@@ -60655,6 +61291,7 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60655
61291
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
60656
61292
|
} else
|
|
60657
61293
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
61294
|
+
object.variationContainer = null;
|
|
60658
61295
|
}
|
|
60659
61296
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
60660
61297
|
object.slug = message.slug;
|
|
@@ -60678,6 +61315,8 @@ $root.WakeupPlaylistCreated = (function() {
|
|
|
60678
61315
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
60679
61316
|
else
|
|
60680
61317
|
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
61318
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
61319
|
+
object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
|
|
60681
61320
|
return object;
|
|
60682
61321
|
};
|
|
60683
61322
|
|
|
@@ -60709,6 +61348,7 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60709
61348
|
* @property {string|null} [previewMediaType] WakeupPlaylistUpdated previewMediaType
|
|
60710
61349
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] WakeupPlaylistUpdated accessGroups
|
|
60711
61350
|
* @property {number|Long|null} [updatedAt] WakeupPlaylistUpdated updatedAt
|
|
61351
|
+
* @property {contentful.ISlugReference|null} [variationContainer] WakeupPlaylistUpdated variationContainer
|
|
60712
61352
|
*/
|
|
60713
61353
|
|
|
60714
61354
|
/**
|
|
@@ -60791,6 +61431,14 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60791
61431
|
*/
|
|
60792
61432
|
WakeupPlaylistUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
60793
61433
|
|
|
61434
|
+
/**
|
|
61435
|
+
* WakeupPlaylistUpdated variationContainer.
|
|
61436
|
+
* @member {contentful.ISlugReference|null|undefined} variationContainer
|
|
61437
|
+
* @memberof WakeupPlaylistUpdated
|
|
61438
|
+
* @instance
|
|
61439
|
+
*/
|
|
61440
|
+
WakeupPlaylistUpdated.prototype.variationContainer = null;
|
|
61441
|
+
|
|
60794
61442
|
/**
|
|
60795
61443
|
* Creates a new WakeupPlaylistUpdated instance using the specified properties.
|
|
60796
61444
|
* @function create
|
|
@@ -60832,6 +61480,8 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60832
61480
|
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
60833
61481
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
60834
61482
|
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.updatedAt);
|
|
61483
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
61484
|
+
$root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
60835
61485
|
return writer;
|
|
60836
61486
|
};
|
|
60837
61487
|
|
|
@@ -60892,6 +61542,9 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60892
61542
|
case 8:
|
|
60893
61543
|
message.updatedAt = reader.uint64();
|
|
60894
61544
|
break;
|
|
61545
|
+
case 9:
|
|
61546
|
+
message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
61547
|
+
break;
|
|
60895
61548
|
default:
|
|
60896
61549
|
reader.skipType(tag & 7);
|
|
60897
61550
|
break;
|
|
@@ -60957,6 +61610,11 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
60957
61610
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
60958
61611
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
60959
61612
|
return "updatedAt: integer|Long expected";
|
|
61613
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer")) {
|
|
61614
|
+
var error = $root.contentful.SlugReference.verify(message.variationContainer);
|
|
61615
|
+
if (error)
|
|
61616
|
+
return "variationContainer." + error;
|
|
61617
|
+
}
|
|
60960
61618
|
return null;
|
|
60961
61619
|
};
|
|
60962
61620
|
|
|
@@ -61003,6 +61661,11 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
61003
61661
|
message.updatedAt = object.updatedAt;
|
|
61004
61662
|
else if (typeof object.updatedAt === "object")
|
|
61005
61663
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
61664
|
+
if (object.variationContainer != null) {
|
|
61665
|
+
if (typeof object.variationContainer !== "object")
|
|
61666
|
+
throw TypeError(".WakeupPlaylistUpdated.variationContainer: object expected");
|
|
61667
|
+
message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
|
|
61668
|
+
}
|
|
61006
61669
|
return message;
|
|
61007
61670
|
};
|
|
61008
61671
|
|
|
@@ -61033,6 +61696,7 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
61033
61696
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
61034
61697
|
} else
|
|
61035
61698
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
61699
|
+
object.variationContainer = null;
|
|
61036
61700
|
}
|
|
61037
61701
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
61038
61702
|
object.slug = message.slug;
|
|
@@ -61056,6 +61720,8 @@ $root.WakeupPlaylistUpdated = (function() {
|
|
|
61056
61720
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
61057
61721
|
else
|
|
61058
61722
|
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
61723
|
+
if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
|
|
61724
|
+
object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
|
|
61059
61725
|
return object;
|
|
61060
61726
|
};
|
|
61061
61727
|
|
package/package.json
CHANGED