@headspace/protos-events 1.272.0 → 1.274.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
@@ -9135,6 +9135,9 @@ export namespace b2b {
9135
9135
  /** B2BSubscriptionManagement dependentsPerEmployee */
9136
9136
  dependentsPerEmployee?: (number|Long|null);
9137
9137
 
9138
+ /** B2BSubscriptionManagement dependentSeats */
9139
+ dependentSeats?: (number|Long|null);
9140
+
9138
9141
  /** B2BSubscriptionManagement isPartialPay */
9139
9142
  isPartialPay?: (boolean|null);
9140
9143
 
@@ -9169,6 +9172,9 @@ export namespace b2b {
9169
9172
  /** B2BSubscriptionManagement dependentsPerEmployee. */
9170
9173
  public dependentsPerEmployee: (number|Long);
9171
9174
 
9175
+ /** B2BSubscriptionManagement dependentSeats. */
9176
+ public dependentSeats: (number|Long);
9177
+
9172
9178
  /** B2BSubscriptionManagement isPartialPay. */
9173
9179
  public isPartialPay: boolean;
9174
9180
 
@@ -12444,6 +12450,9 @@ export interface IContentfulAccessGroupCreated {
12444
12450
 
12445
12451
  /** ContentfulAccessGroupCreated slug */
12446
12452
  slug?: (string|null);
12453
+
12454
+ /** ContentfulAccessGroupCreated category */
12455
+ category?: (string|null);
12447
12456
  }
12448
12457
 
12449
12458
  /** Represents a ContentfulAccessGroupCreated. */
@@ -12467,6 +12476,9 @@ export class ContentfulAccessGroupCreated implements IContentfulAccessGroupCreat
12467
12476
  /** ContentfulAccessGroupCreated slug. */
12468
12477
  public slug: string;
12469
12478
 
12479
+ /** ContentfulAccessGroupCreated category. */
12480
+ public category: string;
12481
+
12470
12482
  /**
12471
12483
  * Creates a new ContentfulAccessGroupCreated instance using the specified properties.
12472
12484
  * @param [properties] Properties to set
@@ -12552,6 +12564,9 @@ export interface IContentfulAccessGroupUpdated {
12552
12564
 
12553
12565
  /** ContentfulAccessGroupUpdated slug */
12554
12566
  slug?: (string|null);
12567
+
12568
+ /** ContentfulAccessGroupUpdated category */
12569
+ category?: (string|null);
12555
12570
  }
12556
12571
 
12557
12572
  /** Represents a ContentfulAccessGroupUpdated. */
@@ -12575,6 +12590,9 @@ export class ContentfulAccessGroupUpdated implements IContentfulAccessGroupUpdat
12575
12590
  /** ContentfulAccessGroupUpdated slug. */
12576
12591
  public slug: string;
12577
12592
 
12593
+ /** ContentfulAccessGroupUpdated category. */
12594
+ public category: string;
12595
+
12578
12596
  /**
12579
12597
  * Creates a new ContentfulAccessGroupUpdated instance using the specified properties.
12580
12598
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -21592,6 +21592,7 @@ $root.b2b = (function() {
21592
21592
  * @property {number|Long|null} [orgSubscriptionEndDate] B2BSubscriptionManagement orgSubscriptionEndDate
21593
21593
  * @property {number|null} [seats] B2BSubscriptionManagement seats
21594
21594
  * @property {number|Long|null} [dependentsPerEmployee] B2BSubscriptionManagement dependentsPerEmployee
21595
+ * @property {number|Long|null} [dependentSeats] B2BSubscriptionManagement dependentSeats
21595
21596
  * @property {boolean|null} [isPartialPay] B2BSubscriptionManagement isPartialPay
21596
21597
  * @property {boolean|null} [isPilot] B2BSubscriptionManagement isPilot
21597
21598
  * @property {number|null} [orgSubscriptionId] B2BSubscriptionManagement orgSubscriptionId
@@ -21652,6 +21653,14 @@ $root.b2b = (function() {
21652
21653
  */
21653
21654
  B2BSubscriptionManagement.prototype.dependentsPerEmployee = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
21654
21655
 
21656
+ /**
21657
+ * B2BSubscriptionManagement dependentSeats.
21658
+ * @member {number|Long} dependentSeats
21659
+ * @memberof b2b.B2BSubscriptionManagement
21660
+ * @instance
21661
+ */
21662
+ B2BSubscriptionManagement.prototype.dependentSeats = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
21663
+
21655
21664
  /**
21656
21665
  * B2BSubscriptionManagement isPartialPay.
21657
21666
  * @member {boolean} isPartialPay
@@ -21716,6 +21725,8 @@ $root.b2b = (function() {
21716
21725
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isPilot);
21717
21726
  if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
21718
21727
  writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.orgSubscriptionId);
21728
+ if (message.dependentSeats != null && message.hasOwnProperty("dependentSeats"))
21729
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.dependentSeats);
21719
21730
  return writer;
21720
21731
  };
21721
21732
 
@@ -21765,6 +21776,9 @@ $root.b2b = (function() {
21765
21776
  case 5:
21766
21777
  message.dependentsPerEmployee = reader.uint64();
21767
21778
  break;
21779
+ case 9:
21780
+ message.dependentSeats = reader.uint64();
21781
+ break;
21768
21782
  case 6:
21769
21783
  message.isPartialPay = reader.bool();
21770
21784
  break;
@@ -21824,6 +21838,9 @@ $root.b2b = (function() {
21824
21838
  if (message.dependentsPerEmployee != null && message.hasOwnProperty("dependentsPerEmployee"))
21825
21839
  if (!$util.isInteger(message.dependentsPerEmployee) && !(message.dependentsPerEmployee && $util.isInteger(message.dependentsPerEmployee.low) && $util.isInteger(message.dependentsPerEmployee.high)))
21826
21840
  return "dependentsPerEmployee: integer|Long expected";
21841
+ if (message.dependentSeats != null && message.hasOwnProperty("dependentSeats"))
21842
+ if (!$util.isInteger(message.dependentSeats) && !(message.dependentSeats && $util.isInteger(message.dependentSeats.low) && $util.isInteger(message.dependentSeats.high)))
21843
+ return "dependentSeats: integer|Long expected";
21827
21844
  if (message.isPartialPay != null && message.hasOwnProperty("isPartialPay"))
21828
21845
  if (typeof message.isPartialPay !== "boolean")
21829
21846
  return "isPartialPay: boolean expected";
@@ -21879,6 +21896,15 @@ $root.b2b = (function() {
21879
21896
  message.dependentsPerEmployee = object.dependentsPerEmployee;
21880
21897
  else if (typeof object.dependentsPerEmployee === "object")
21881
21898
  message.dependentsPerEmployee = new $util.LongBits(object.dependentsPerEmployee.low >>> 0, object.dependentsPerEmployee.high >>> 0).toNumber(true);
21899
+ if (object.dependentSeats != null)
21900
+ if ($util.Long)
21901
+ (message.dependentSeats = $util.Long.fromValue(object.dependentSeats)).unsigned = true;
21902
+ else if (typeof object.dependentSeats === "string")
21903
+ message.dependentSeats = parseInt(object.dependentSeats, 10);
21904
+ else if (typeof object.dependentSeats === "number")
21905
+ message.dependentSeats = object.dependentSeats;
21906
+ else if (typeof object.dependentSeats === "object")
21907
+ message.dependentSeats = new $util.LongBits(object.dependentSeats.low >>> 0, object.dependentSeats.high >>> 0).toNumber(true);
21882
21908
  if (object.isPartialPay != null)
21883
21909
  message.isPartialPay = Boolean(object.isPartialPay);
21884
21910
  if (object.isPilot != null)
@@ -21922,6 +21948,11 @@ $root.b2b = (function() {
21922
21948
  object.isPartialPay = false;
21923
21949
  object.isPilot = false;
21924
21950
  object.orgSubscriptionId = 0;
21951
+ if ($util.Long) {
21952
+ var long = new $util.Long(0, 0, true);
21953
+ object.dependentSeats = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
21954
+ } else
21955
+ object.dependentSeats = options.longs === String ? "0" : 0;
21925
21956
  }
21926
21957
  if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
21927
21958
  object.salesforceOpportunityId = message.salesforceOpportunityId;
@@ -21948,6 +21979,11 @@ $root.b2b = (function() {
21948
21979
  object.isPilot = message.isPilot;
21949
21980
  if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
21950
21981
  object.orgSubscriptionId = message.orgSubscriptionId;
21982
+ if (message.dependentSeats != null && message.hasOwnProperty("dependentSeats"))
21983
+ if (typeof message.dependentSeats === "number")
21984
+ object.dependentSeats = options.longs === String ? String(message.dependentSeats) : message.dependentSeats;
21985
+ else
21986
+ object.dependentSeats = options.longs === String ? $util.Long.prototype.toString.call(message.dependentSeats) : options.longs === Number ? new $util.LongBits(message.dependentSeats.low >>> 0, message.dependentSeats.high >>> 0).toNumber(true) : message.dependentSeats;
21951
21987
  return object;
21952
21988
  };
21953
21989
 
@@ -30492,6 +30528,7 @@ $root.ContentfulAccessGroupCreated = (function() {
30492
30528
  * @property {string|null} [description] ContentfulAccessGroupCreated description
30493
30529
  * @property {number|Long|null} [createdAt] ContentfulAccessGroupCreated createdAt
30494
30530
  * @property {string|null} [slug] ContentfulAccessGroupCreated slug
30531
+ * @property {string|null} [category] ContentfulAccessGroupCreated category
30495
30532
  */
30496
30533
 
30497
30534
  /**
@@ -30541,6 +30578,14 @@ $root.ContentfulAccessGroupCreated = (function() {
30541
30578
  */
30542
30579
  ContentfulAccessGroupCreated.prototype.slug = "";
30543
30580
 
30581
+ /**
30582
+ * ContentfulAccessGroupCreated category.
30583
+ * @member {string} category
30584
+ * @memberof ContentfulAccessGroupCreated
30585
+ * @instance
30586
+ */
30587
+ ContentfulAccessGroupCreated.prototype.category = "";
30588
+
30544
30589
  /**
30545
30590
  * Creates a new ContentfulAccessGroupCreated instance using the specified properties.
30546
30591
  * @function create
@@ -30573,6 +30618,8 @@ $root.ContentfulAccessGroupCreated = (function() {
30573
30618
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
30574
30619
  if (message.slug != null && message.hasOwnProperty("slug"))
30575
30620
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
30621
+ if (message.category != null && message.hasOwnProperty("category"))
30622
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.category);
30576
30623
  return writer;
30577
30624
  };
30578
30625
 
@@ -30619,6 +30666,9 @@ $root.ContentfulAccessGroupCreated = (function() {
30619
30666
  case 4:
30620
30667
  message.slug = reader.string();
30621
30668
  break;
30669
+ case 5:
30670
+ message.category = reader.string();
30671
+ break;
30622
30672
  default:
30623
30673
  reader.skipType(tag & 7);
30624
30674
  break;
@@ -30666,6 +30716,9 @@ $root.ContentfulAccessGroupCreated = (function() {
30666
30716
  if (message.slug != null && message.hasOwnProperty("slug"))
30667
30717
  if (!$util.isString(message.slug))
30668
30718
  return "slug: string expected";
30719
+ if (message.category != null && message.hasOwnProperty("category"))
30720
+ if (!$util.isString(message.category))
30721
+ return "category: string expected";
30669
30722
  return null;
30670
30723
  };
30671
30724
 
@@ -30696,6 +30749,8 @@ $root.ContentfulAccessGroupCreated = (function() {
30696
30749
  message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
30697
30750
  if (object.slug != null)
30698
30751
  message.slug = String(object.slug);
30752
+ if (object.category != null)
30753
+ message.category = String(object.category);
30699
30754
  return message;
30700
30755
  };
30701
30756
 
@@ -30721,6 +30776,7 @@ $root.ContentfulAccessGroupCreated = (function() {
30721
30776
  } else
30722
30777
  object.createdAt = options.longs === String ? "0" : 0;
30723
30778
  object.slug = "";
30779
+ object.category = "";
30724
30780
  }
30725
30781
  if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
30726
30782
  object.accessGroupName = message.accessGroupName;
@@ -30733,6 +30789,8 @@ $root.ContentfulAccessGroupCreated = (function() {
30733
30789
  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;
30734
30790
  if (message.slug != null && message.hasOwnProperty("slug"))
30735
30791
  object.slug = message.slug;
30792
+ if (message.category != null && message.hasOwnProperty("category"))
30793
+ object.category = message.category;
30736
30794
  return object;
30737
30795
  };
30738
30796
 
@@ -30760,6 +30818,7 @@ $root.ContentfulAccessGroupUpdated = (function() {
30760
30818
  * @property {string|null} [description] ContentfulAccessGroupUpdated description
30761
30819
  * @property {number|Long|null} [updatedAt] ContentfulAccessGroupUpdated updatedAt
30762
30820
  * @property {string|null} [slug] ContentfulAccessGroupUpdated slug
30821
+ * @property {string|null} [category] ContentfulAccessGroupUpdated category
30763
30822
  */
30764
30823
 
30765
30824
  /**
@@ -30809,6 +30868,14 @@ $root.ContentfulAccessGroupUpdated = (function() {
30809
30868
  */
30810
30869
  ContentfulAccessGroupUpdated.prototype.slug = "";
30811
30870
 
30871
+ /**
30872
+ * ContentfulAccessGroupUpdated category.
30873
+ * @member {string} category
30874
+ * @memberof ContentfulAccessGroupUpdated
30875
+ * @instance
30876
+ */
30877
+ ContentfulAccessGroupUpdated.prototype.category = "";
30878
+
30812
30879
  /**
30813
30880
  * Creates a new ContentfulAccessGroupUpdated instance using the specified properties.
30814
30881
  * @function create
@@ -30841,6 +30908,8 @@ $root.ContentfulAccessGroupUpdated = (function() {
30841
30908
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
30842
30909
  if (message.slug != null && message.hasOwnProperty("slug"))
30843
30910
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
30911
+ if (message.category != null && message.hasOwnProperty("category"))
30912
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.category);
30844
30913
  return writer;
30845
30914
  };
30846
30915
 
@@ -30887,6 +30956,9 @@ $root.ContentfulAccessGroupUpdated = (function() {
30887
30956
  case 4:
30888
30957
  message.slug = reader.string();
30889
30958
  break;
30959
+ case 5:
30960
+ message.category = reader.string();
30961
+ break;
30890
30962
  default:
30891
30963
  reader.skipType(tag & 7);
30892
30964
  break;
@@ -30934,6 +31006,9 @@ $root.ContentfulAccessGroupUpdated = (function() {
30934
31006
  if (message.slug != null && message.hasOwnProperty("slug"))
30935
31007
  if (!$util.isString(message.slug))
30936
31008
  return "slug: string expected";
31009
+ if (message.category != null && message.hasOwnProperty("category"))
31010
+ if (!$util.isString(message.category))
31011
+ return "category: string expected";
30937
31012
  return null;
30938
31013
  };
30939
31014
 
@@ -30964,6 +31039,8 @@ $root.ContentfulAccessGroupUpdated = (function() {
30964
31039
  message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
30965
31040
  if (object.slug != null)
30966
31041
  message.slug = String(object.slug);
31042
+ if (object.category != null)
31043
+ message.category = String(object.category);
30967
31044
  return message;
30968
31045
  };
30969
31046
 
@@ -30989,6 +31066,7 @@ $root.ContentfulAccessGroupUpdated = (function() {
30989
31066
  } else
30990
31067
  object.updatedAt = options.longs === String ? "0" : 0;
30991
31068
  object.slug = "";
31069
+ object.category = "";
30992
31070
  }
30993
31071
  if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
30994
31072
  object.accessGroupName = message.accessGroupName;
@@ -31001,6 +31079,8 @@ $root.ContentfulAccessGroupUpdated = (function() {
31001
31079
  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;
31002
31080
  if (message.slug != null && message.hasOwnProperty("slug"))
31003
31081
  object.slug = message.slug;
31082
+ if (message.category != null && message.hasOwnProperty("category"))
31083
+ object.category = message.category;
31004
31084
  return object;
31005
31085
  };
31006
31086
 
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.272.0"
19
+ "version": "1.274.0"
20
20
  }