@headspace/protos-events 1.472.0 → 1.474.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 CHANGED
@@ -15732,7 +15732,11 @@ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
15732
15732
  export enum ContentCollectionType {
15733
15733
  CONTENT_COLLECTION_TYPE_UNRECOGNIZED = 0,
15734
15734
  CONTENT_COLLECTION_TYPE_GENERIC = 1,
15735
- CONTENT_COLLECTION_TYPE_PODCAST = 2
15735
+ CONTENT_COLLECTION_TYPE_PODCAST = 2,
15736
+ CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT = 3,
15737
+ CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION = 4,
15738
+ CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT = 5,
15739
+ CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT = 6
15736
15740
  }
15737
15741
 
15738
15742
  /** Properties of a ContentfulCollectionCreated. */
@@ -29994,7 +29998,7 @@ export interface IEligibleUserAdded {
29994
29998
  b2bMemberStatus?: (b2b.MemberStatus|null);
29995
29999
 
29996
30000
  /** EligibleUserAdded b2bOrgId */
29997
- b2bOrgId?: (number|Long|null);
30001
+ b2bOrgId?: (number|null);
29998
30002
 
29999
30003
  /** EligibleUserAdded b2bOrgName */
30000
30004
  b2bOrgName?: (string|null);
@@ -30046,7 +30050,7 @@ export class EligibleUserAdded implements IEligibleUserAdded {
30046
30050
  public b2bMemberStatus: b2b.MemberStatus;
30047
30051
 
30048
30052
  /** EligibleUserAdded b2bOrgId. */
30049
- public b2bOrgId: (number|Long);
30053
+ public b2bOrgId: number;
30050
30054
 
30051
30055
  /** EligibleUserAdded b2bOrgName. */
30052
30056
  public b2bOrgName: string;
@@ -30153,7 +30157,7 @@ export interface IEligibleUserRemoved {
30153
30157
  workEmail?: (string|null);
30154
30158
 
30155
30159
  /** EligibleUserRemoved b2bOrgId */
30156
- b2bOrgId?: (number|Long|null);
30160
+ b2bOrgId?: (number|null);
30157
30161
 
30158
30162
  /** EligibleUserRemoved timestamp */
30159
30163
  timestamp?: (number|Long|null);
@@ -30172,7 +30176,7 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
30172
30176
  public workEmail: string;
30173
30177
 
30174
30178
  /** EligibleUserRemoved b2bOrgId. */
30175
- public b2bOrgId: (number|Long);
30179
+ public b2bOrgId: number;
30176
30180
 
30177
30181
  /** EligibleUserRemoved timestamp. */
30178
30182
  public timestamp: (number|Long);
@@ -30264,7 +30268,7 @@ export interface IEligibleUserAmended {
30264
30268
  b2bMemberStatus?: (b2b.MemberStatus|null);
30265
30269
 
30266
30270
  /** EligibleUserAmended b2bOrgId */
30267
- b2bOrgId?: (number|Long|null);
30271
+ b2bOrgId?: (number|null);
30268
30272
 
30269
30273
  /** EligibleUserAmended b2bOrgName */
30270
30274
  b2bOrgName?: (string|null);
@@ -30316,7 +30320,7 @@ export class EligibleUserAmended implements IEligibleUserAmended {
30316
30320
  public b2bMemberStatus: b2b.MemberStatus;
30317
30321
 
30318
30322
  /** EligibleUserAmended b2bOrgId. */
30319
- public b2bOrgId: (number|Long);
30323
+ public b2bOrgId: number;
30320
30324
 
30321
30325
  /** EligibleUserAmended b2bOrgName. */
30322
30326
  public b2bOrgName: string;
package/lib/index.js CHANGED
@@ -40348,12 +40348,20 @@ $root.ContentfulCategoryDeleted = (function() {
40348
40348
  * @property {number} CONTENT_COLLECTION_TYPE_UNRECOGNIZED=0 CONTENT_COLLECTION_TYPE_UNRECOGNIZED value
40349
40349
  * @property {number} CONTENT_COLLECTION_TYPE_GENERIC=1 CONTENT_COLLECTION_TYPE_GENERIC value
40350
40350
  * @property {number} CONTENT_COLLECTION_TYPE_PODCAST=2 CONTENT_COLLECTION_TYPE_PODCAST value
40351
+ * @property {number} CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT=3 CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT value
40352
+ * @property {number} CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION=4 CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION value
40353
+ * @property {number} CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT=5 CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT value
40354
+ * @property {number} CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT=6 CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT value
40351
40355
  */
40352
40356
  $root.ContentCollectionType = (function() {
40353
40357
  var valuesById = {}, values = Object.create(valuesById);
40354
40358
  values[valuesById[0] = "CONTENT_COLLECTION_TYPE_UNRECOGNIZED"] = 0;
40355
40359
  values[valuesById[1] = "CONTENT_COLLECTION_TYPE_GENERIC"] = 1;
40356
40360
  values[valuesById[2] = "CONTENT_COLLECTION_TYPE_PODCAST"] = 2;
40361
+ values[valuesById[3] = "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT"] = 3;
40362
+ values[valuesById[4] = "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION"] = 4;
40363
+ values[valuesById[5] = "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT"] = 5;
40364
+ values[valuesById[6] = "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT"] = 6;
40357
40365
  return values;
40358
40366
  })();
40359
40367
 
@@ -40761,6 +40769,10 @@ $root.ContentfulCollectionCreated = (function() {
40761
40769
  case 0:
40762
40770
  case 1:
40763
40771
  case 2:
40772
+ case 3:
40773
+ case 4:
40774
+ case 5:
40775
+ case 6:
40764
40776
  break;
40765
40777
  }
40766
40778
  if (message.tileMedia != null && message.hasOwnProperty("tileMedia")) {
@@ -40885,6 +40897,22 @@ $root.ContentfulCollectionCreated = (function() {
40885
40897
  case 2:
40886
40898
  message.collectionType = 2;
40887
40899
  break;
40900
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT":
40901
+ case 3:
40902
+ message.collectionType = 3;
40903
+ break;
40904
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION":
40905
+ case 4:
40906
+ message.collectionType = 4;
40907
+ break;
40908
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT":
40909
+ case 5:
40910
+ message.collectionType = 5;
40911
+ break;
40912
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT":
40913
+ case 6:
40914
+ message.collectionType = 6;
40915
+ break;
40888
40916
  }
40889
40917
  if (object.tileMedia) {
40890
40918
  if (typeof object.tileMedia !== "object")
@@ -41470,6 +41498,10 @@ $root.ContentfulCollectionUpdated = (function() {
41470
41498
  case 0:
41471
41499
  case 1:
41472
41500
  case 2:
41501
+ case 3:
41502
+ case 4:
41503
+ case 5:
41504
+ case 6:
41473
41505
  break;
41474
41506
  }
41475
41507
  if (message.tileMedia != null && message.hasOwnProperty("tileMedia")) {
@@ -41594,6 +41626,22 @@ $root.ContentfulCollectionUpdated = (function() {
41594
41626
  case 2:
41595
41627
  message.collectionType = 2;
41596
41628
  break;
41629
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT":
41630
+ case 3:
41631
+ message.collectionType = 3;
41632
+ break;
41633
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION":
41634
+ case 4:
41635
+ message.collectionType = 4;
41636
+ break;
41637
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT":
41638
+ case 5:
41639
+ message.collectionType = 5;
41640
+ break;
41641
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT":
41642
+ case 6:
41643
+ message.collectionType = 6;
41644
+ break;
41597
41645
  }
41598
41646
  if (object.tileMedia) {
41599
41647
  if (typeof object.tileMedia !== "object")
@@ -65546,6 +65594,10 @@ $root.CollectionCreated = (function() {
65546
65594
  case 0:
65547
65595
  case 1:
65548
65596
  case 2:
65597
+ case 3:
65598
+ case 4:
65599
+ case 5:
65600
+ case 6:
65549
65601
  break;
65550
65602
  }
65551
65603
  if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
@@ -65672,6 +65724,22 @@ $root.CollectionCreated = (function() {
65672
65724
  case 2:
65673
65725
  message.collectionType = 2;
65674
65726
  break;
65727
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT":
65728
+ case 3:
65729
+ message.collectionType = 3;
65730
+ break;
65731
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION":
65732
+ case 4:
65733
+ message.collectionType = 4;
65734
+ break;
65735
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT":
65736
+ case 5:
65737
+ message.collectionType = 5;
65738
+ break;
65739
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT":
65740
+ case 6:
65741
+ message.collectionType = 6;
65742
+ break;
65675
65743
  }
65676
65744
  if (object.accessGroup) {
65677
65745
  if (!Array.isArray(object.accessGroup))
@@ -66313,6 +66381,10 @@ $root.CollectionUpdated = (function() {
66313
66381
  case 0:
66314
66382
  case 1:
66315
66383
  case 2:
66384
+ case 3:
66385
+ case 4:
66386
+ case 5:
66387
+ case 6:
66316
66388
  break;
66317
66389
  }
66318
66390
  if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
@@ -66439,6 +66511,22 @@ $root.CollectionUpdated = (function() {
66439
66511
  case 2:
66440
66512
  message.collectionType = 2;
66441
66513
  break;
66514
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SEGMENT":
66515
+ case 3:
66516
+ message.collectionType = 3;
66517
+ break;
66518
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_SESSION":
66519
+ case 4:
66520
+ message.collectionType = 4;
66521
+ break;
66522
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_REQUIRED_CONTENT":
66523
+ case 5:
66524
+ message.collectionType = 5;
66525
+ break;
66526
+ case "CONTENT_COLLECTION_TYPE_GUIDED_PROGRAM_BONUS_CONTENT":
66527
+ case 6:
66528
+ message.collectionType = 6;
66529
+ break;
66442
66530
  }
66443
66531
  if (object.accessGroup) {
66444
66532
  if (!Array.isArray(object.accessGroup))
@@ -83163,7 +83251,7 @@ $root.EligibleUserAdded = (function() {
83163
83251
  * @property {string|null} [firstName] EligibleUserAdded firstName
83164
83252
  * @property {string|null} [lastName] EligibleUserAdded lastName
83165
83253
  * @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAdded b2bMemberStatus
83166
- * @property {number|Long|null} [b2bOrgId] EligibleUserAdded b2bOrgId
83254
+ * @property {number|null} [b2bOrgId] EligibleUserAdded b2bOrgId
83167
83255
  * @property {string|null} [b2bOrgName] EligibleUserAdded b2bOrgName
83168
83256
  * @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAdded b2bOrgCampaignDisplayName
83169
83257
  * @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAdded b2bPlan
@@ -83224,11 +83312,11 @@ $root.EligibleUserAdded = (function() {
83224
83312
 
83225
83313
  /**
83226
83314
  * EligibleUserAdded b2bOrgId.
83227
- * @member {number|Long} b2bOrgId
83315
+ * @member {number} b2bOrgId
83228
83316
  * @memberof EligibleUserAdded
83229
83317
  * @instance
83230
83318
  */
83231
- EligibleUserAdded.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83319
+ EligibleUserAdded.prototype.b2bOrgId = 0;
83232
83320
 
83233
83321
  /**
83234
83322
  * EligibleUserAdded b2bOrgName.
@@ -83335,7 +83423,7 @@ $root.EligibleUserAdded = (function() {
83335
83423
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
83336
83424
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
83337
83425
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83338
- writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
83426
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bOrgId);
83339
83427
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
83340
83428
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
83341
83429
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
@@ -83401,7 +83489,7 @@ $root.EligibleUserAdded = (function() {
83401
83489
  message.b2bMemberStatus = reader.int32();
83402
83490
  break;
83403
83491
  case 5:
83404
- message.b2bOrgId = reader.uint64();
83492
+ message.b2bOrgId = reader.uint32();
83405
83493
  break;
83406
83494
  case 6:
83407
83495
  message.b2bOrgName = reader.string();
@@ -83488,8 +83576,8 @@ $root.EligibleUserAdded = (function() {
83488
83576
  break;
83489
83577
  }
83490
83578
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83491
- if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
83492
- return "b2bOrgId: integer|Long expected";
83579
+ if (!$util.isInteger(message.b2bOrgId))
83580
+ return "b2bOrgId: integer expected";
83493
83581
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
83494
83582
  if (!$util.isString(message.b2bOrgName))
83495
83583
  return "b2bOrgName: string expected";
@@ -83582,14 +83670,7 @@ $root.EligibleUserAdded = (function() {
83582
83670
  break;
83583
83671
  }
83584
83672
  if (object.b2bOrgId != null)
83585
- if ($util.Long)
83586
- (message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
83587
- else if (typeof object.b2bOrgId === "string")
83588
- message.b2bOrgId = parseInt(object.b2bOrgId, 10);
83589
- else if (typeof object.b2bOrgId === "number")
83590
- message.b2bOrgId = object.b2bOrgId;
83591
- else if (typeof object.b2bOrgId === "object")
83592
- message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
83673
+ message.b2bOrgId = object.b2bOrgId >>> 0;
83593
83674
  if (object.b2bOrgName != null)
83594
83675
  message.b2bOrgName = String(object.b2bOrgName);
83595
83676
  if (object.b2bOrgCampaignDisplayName != null)
@@ -83671,11 +83752,7 @@ $root.EligibleUserAdded = (function() {
83671
83752
  object.firstName = "";
83672
83753
  object.lastName = "";
83673
83754
  object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
83674
- if ($util.Long) {
83675
- var long = new $util.Long(0, 0, true);
83676
- object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83677
- } else
83678
- object.b2bOrgId = options.longs === String ? "0" : 0;
83755
+ object.b2bOrgId = 0;
83679
83756
  object.b2bOrgName = "";
83680
83757
  object.b2bOrgCampaignDisplayName = "";
83681
83758
  object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
@@ -83703,10 +83780,7 @@ $root.EligibleUserAdded = (function() {
83703
83780
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
83704
83781
  object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
83705
83782
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83706
- if (typeof message.b2bOrgId === "number")
83707
- object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
83708
- else
83709
- object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
83783
+ object.b2bOrgId = message.b2bOrgId;
83710
83784
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
83711
83785
  object.b2bOrgName = message.b2bOrgName;
83712
83786
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
@@ -83755,7 +83829,7 @@ $root.EligibleUserRemoved = (function() {
83755
83829
  * @name IEligibleUserRemoved
83756
83830
  * @interface IEligibleUserRemoved
83757
83831
  * @property {string|null} [workEmail] EligibleUserRemoved workEmail
83758
- * @property {number|Long|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
83832
+ * @property {number|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
83759
83833
  * @property {number|Long|null} [timestamp] EligibleUserRemoved timestamp
83760
83834
  */
83761
83835
 
@@ -83784,11 +83858,11 @@ $root.EligibleUserRemoved = (function() {
83784
83858
 
83785
83859
  /**
83786
83860
  * EligibleUserRemoved b2bOrgId.
83787
- * @member {number|Long} b2bOrgId
83861
+ * @member {number} b2bOrgId
83788
83862
  * @memberof EligibleUserRemoved
83789
83863
  * @instance
83790
83864
  */
83791
- EligibleUserRemoved.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83865
+ EligibleUserRemoved.prototype.b2bOrgId = 0;
83792
83866
 
83793
83867
  /**
83794
83868
  * EligibleUserRemoved timestamp.
@@ -83825,7 +83899,7 @@ $root.EligibleUserRemoved = (function() {
83825
83899
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
83826
83900
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.workEmail);
83827
83901
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83828
- writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.b2bOrgId);
83902
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
83829
83903
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83830
83904
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
83831
83905
  return writer;
@@ -83866,7 +83940,7 @@ $root.EligibleUserRemoved = (function() {
83866
83940
  message.workEmail = reader.string();
83867
83941
  break;
83868
83942
  case 2:
83869
- message.b2bOrgId = reader.uint64();
83943
+ message.b2bOrgId = reader.uint32();
83870
83944
  break;
83871
83945
  case 3:
83872
83946
  message.timestamp = reader.uint64();
@@ -83910,8 +83984,8 @@ $root.EligibleUserRemoved = (function() {
83910
83984
  if (!$util.isString(message.workEmail))
83911
83985
  return "workEmail: string expected";
83912
83986
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83913
- if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
83914
- return "b2bOrgId: integer|Long expected";
83987
+ if (!$util.isInteger(message.b2bOrgId))
83988
+ return "b2bOrgId: integer expected";
83915
83989
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83916
83990
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
83917
83991
  return "timestamp: integer|Long expected";
@@ -83933,14 +84007,7 @@ $root.EligibleUserRemoved = (function() {
83933
84007
  if (object.workEmail != null)
83934
84008
  message.workEmail = String(object.workEmail);
83935
84009
  if (object.b2bOrgId != null)
83936
- if ($util.Long)
83937
- (message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
83938
- else if (typeof object.b2bOrgId === "string")
83939
- message.b2bOrgId = parseInt(object.b2bOrgId, 10);
83940
- else if (typeof object.b2bOrgId === "number")
83941
- message.b2bOrgId = object.b2bOrgId;
83942
- else if (typeof object.b2bOrgId === "object")
83943
- message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
84010
+ message.b2bOrgId = object.b2bOrgId >>> 0;
83944
84011
  if (object.timestamp != null)
83945
84012
  if ($util.Long)
83946
84013
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -83968,11 +84035,7 @@ $root.EligibleUserRemoved = (function() {
83968
84035
  var object = {};
83969
84036
  if (options.defaults) {
83970
84037
  object.workEmail = "";
83971
- if ($util.Long) {
83972
- var long = new $util.Long(0, 0, true);
83973
- object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83974
- } else
83975
- object.b2bOrgId = options.longs === String ? "0" : 0;
84038
+ object.b2bOrgId = 0;
83976
84039
  if ($util.Long) {
83977
84040
  var long = new $util.Long(0, 0, true);
83978
84041
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -83982,10 +84045,7 @@ $root.EligibleUserRemoved = (function() {
83982
84045
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
83983
84046
  object.workEmail = message.workEmail;
83984
84047
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83985
- if (typeof message.b2bOrgId === "number")
83986
- object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
83987
- else
83988
- object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
84048
+ object.b2bOrgId = message.b2bOrgId;
83989
84049
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83990
84050
  if (typeof message.timestamp === "number")
83991
84051
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
@@ -84018,7 +84078,7 @@ $root.EligibleUserAmended = (function() {
84018
84078
  * @property {string|null} [firstName] EligibleUserAmended firstName
84019
84079
  * @property {string|null} [lastName] EligibleUserAmended lastName
84020
84080
  * @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAmended b2bMemberStatus
84021
- * @property {number|Long|null} [b2bOrgId] EligibleUserAmended b2bOrgId
84081
+ * @property {number|null} [b2bOrgId] EligibleUserAmended b2bOrgId
84022
84082
  * @property {string|null} [b2bOrgName] EligibleUserAmended b2bOrgName
84023
84083
  * @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAmended b2bOrgCampaignDisplayName
84024
84084
  * @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAmended b2bPlan
@@ -84079,11 +84139,11 @@ $root.EligibleUserAmended = (function() {
84079
84139
 
84080
84140
  /**
84081
84141
  * EligibleUserAmended b2bOrgId.
84082
- * @member {number|Long} b2bOrgId
84142
+ * @member {number} b2bOrgId
84083
84143
  * @memberof EligibleUserAmended
84084
84144
  * @instance
84085
84145
  */
84086
- EligibleUserAmended.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
84146
+ EligibleUserAmended.prototype.b2bOrgId = 0;
84087
84147
 
84088
84148
  /**
84089
84149
  * EligibleUserAmended b2bOrgName.
@@ -84190,7 +84250,7 @@ $root.EligibleUserAmended = (function() {
84190
84250
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
84191
84251
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
84192
84252
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
84193
- writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
84253
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bOrgId);
84194
84254
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
84195
84255
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
84196
84256
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
@@ -84256,7 +84316,7 @@ $root.EligibleUserAmended = (function() {
84256
84316
  message.b2bMemberStatus = reader.int32();
84257
84317
  break;
84258
84318
  case 5:
84259
- message.b2bOrgId = reader.uint64();
84319
+ message.b2bOrgId = reader.uint32();
84260
84320
  break;
84261
84321
  case 6:
84262
84322
  message.b2bOrgName = reader.string();
@@ -84343,8 +84403,8 @@ $root.EligibleUserAmended = (function() {
84343
84403
  break;
84344
84404
  }
84345
84405
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
84346
- if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
84347
- return "b2bOrgId: integer|Long expected";
84406
+ if (!$util.isInteger(message.b2bOrgId))
84407
+ return "b2bOrgId: integer expected";
84348
84408
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
84349
84409
  if (!$util.isString(message.b2bOrgName))
84350
84410
  return "b2bOrgName: string expected";
@@ -84437,14 +84497,7 @@ $root.EligibleUserAmended = (function() {
84437
84497
  break;
84438
84498
  }
84439
84499
  if (object.b2bOrgId != null)
84440
- if ($util.Long)
84441
- (message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
84442
- else if (typeof object.b2bOrgId === "string")
84443
- message.b2bOrgId = parseInt(object.b2bOrgId, 10);
84444
- else if (typeof object.b2bOrgId === "number")
84445
- message.b2bOrgId = object.b2bOrgId;
84446
- else if (typeof object.b2bOrgId === "object")
84447
- message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
84500
+ message.b2bOrgId = object.b2bOrgId >>> 0;
84448
84501
  if (object.b2bOrgName != null)
84449
84502
  message.b2bOrgName = String(object.b2bOrgName);
84450
84503
  if (object.b2bOrgCampaignDisplayName != null)
@@ -84526,11 +84579,7 @@ $root.EligibleUserAmended = (function() {
84526
84579
  object.firstName = "";
84527
84580
  object.lastName = "";
84528
84581
  object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
84529
- if ($util.Long) {
84530
- var long = new $util.Long(0, 0, true);
84531
- object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
84532
- } else
84533
- object.b2bOrgId = options.longs === String ? "0" : 0;
84582
+ object.b2bOrgId = 0;
84534
84583
  object.b2bOrgName = "";
84535
84584
  object.b2bOrgCampaignDisplayName = "";
84536
84585
  object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
@@ -84558,10 +84607,7 @@ $root.EligibleUserAmended = (function() {
84558
84607
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
84559
84608
  object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
84560
84609
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
84561
- if (typeof message.b2bOrgId === "number")
84562
- object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
84563
- else
84564
- object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
84610
+ object.b2bOrgId = message.b2bOrgId;
84565
84611
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
84566
84612
  object.b2bOrgName = message.b2bOrgName;
84567
84613
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.472.0"
19
+ "version": "1.474.0"
20
20
  }