@headspace/protos-events 1.673.0 → 1.675.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
@@ -14347,6 +14347,9 @@ export namespace b2b {
14347
14347
 
14348
14348
  /** Organization hierarchyMappingValue */
14349
14349
  hierarchyMappingValue?: (string|null);
14350
+
14351
+ /** Organization m2mOrgSyncEnabled */
14352
+ m2mOrgSyncEnabled?: (boolean|null);
14350
14353
  }
14351
14354
 
14352
14355
  /** Represents an Organization. */
@@ -14439,6 +14442,9 @@ export namespace b2b {
14439
14442
  /** Organization hierarchyMappingValue. */
14440
14443
  public hierarchyMappingValue: string;
14441
14444
 
14445
+ /** Organization m2mOrgSyncEnabled. */
14446
+ public m2mOrgSyncEnabled: boolean;
14447
+
14442
14448
  /**
14443
14449
  * Creates a new Organization instance using the specified properties.
14444
14450
  * @param [properties] Properties to set
@@ -54109,6 +54115,9 @@ export interface IGympassProperties {
54109
54115
 
54110
54116
  /** GympassProperties planId */
54111
54117
  planId?: (string|null);
54118
+
54119
+ /** GympassProperties previousPlanId */
54120
+ previousPlanId?: (string|null);
54112
54121
  }
54113
54122
 
54114
54123
  /** Represents a GympassProperties. */
@@ -54126,6 +54135,9 @@ export class GympassProperties implements IGympassProperties {
54126
54135
  /** GympassProperties planId. */
54127
54136
  public planId: string;
54128
54137
 
54138
+ /** GympassProperties previousPlanId. */
54139
+ public previousPlanId: string;
54140
+
54129
54141
  /**
54130
54142
  * Creates a new GympassProperties instance using the specified properties.
54131
54143
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -37795,6 +37795,7 @@ $root.b2b = (function() {
37795
37795
  * @property {string|null} [eligibilityCollectiveUuid] Organization eligibilityCollectiveUuid
37796
37796
  * @property {string|null} [hierarchyMappingKey] Organization hierarchyMappingKey
37797
37797
  * @property {string|null} [hierarchyMappingValue] Organization hierarchyMappingValue
37798
+ * @property {boolean|null} [m2mOrgSyncEnabled] Organization m2mOrgSyncEnabled
37798
37799
  */
37799
37800
 
37800
37801
  /**
@@ -38029,6 +38030,14 @@ $root.b2b = (function() {
38029
38030
  */
38030
38031
  Organization.prototype.hierarchyMappingValue = "";
38031
38032
 
38033
+ /**
38034
+ * Organization m2mOrgSyncEnabled.
38035
+ * @member {boolean} m2mOrgSyncEnabled
38036
+ * @memberof b2b.Organization
38037
+ * @instance
38038
+ */
38039
+ Organization.prototype.m2mOrgSyncEnabled = false;
38040
+
38032
38041
  /**
38033
38042
  * Creates a new Organization instance using the specified properties.
38034
38043
  * @function create
@@ -38111,6 +38120,8 @@ $root.b2b = (function() {
38111
38120
  writer.uint32(/* id 27, wireType 2 =*/218).string(message.hierarchyMappingKey);
38112
38121
  if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
38113
38122
  writer.uint32(/* id 28, wireType 2 =*/226).string(message.hierarchyMappingValue);
38123
+ if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
38124
+ writer.uint32(/* id 29, wireType 0 =*/232).bool(message.m2mOrgSyncEnabled);
38114
38125
  return writer;
38115
38126
  };
38116
38127
 
@@ -38233,6 +38244,9 @@ $root.b2b = (function() {
38233
38244
  case 28:
38234
38245
  message.hierarchyMappingValue = reader.string();
38235
38246
  break;
38247
+ case 29:
38248
+ message.m2mOrgSyncEnabled = reader.bool();
38249
+ break;
38236
38250
  default:
38237
38251
  reader.skipType(tag & 7);
38238
38252
  break;
@@ -38384,6 +38398,9 @@ $root.b2b = (function() {
38384
38398
  if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
38385
38399
  if (!$util.isString(message.hierarchyMappingValue))
38386
38400
  return "hierarchyMappingValue: string expected";
38401
+ if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
38402
+ if (typeof message.m2mOrgSyncEnabled !== "boolean")
38403
+ return "m2mOrgSyncEnabled: boolean expected";
38387
38404
  return null;
38388
38405
  };
38389
38406
 
@@ -38548,6 +38565,8 @@ $root.b2b = (function() {
38548
38565
  message.hierarchyMappingKey = String(object.hierarchyMappingKey);
38549
38566
  if (object.hierarchyMappingValue != null)
38550
38567
  message.hierarchyMappingValue = String(object.hierarchyMappingValue);
38568
+ if (object.m2mOrgSyncEnabled != null)
38569
+ message.m2mOrgSyncEnabled = Boolean(object.m2mOrgSyncEnabled);
38551
38570
  return message;
38552
38571
  };
38553
38572
 
@@ -38593,6 +38612,7 @@ $root.b2b = (function() {
38593
38612
  object.eligibilityCollectiveUuid = "";
38594
38613
  object.hierarchyMappingKey = "";
38595
38614
  object.hierarchyMappingValue = "";
38615
+ object.m2mOrgSyncEnabled = false;
38596
38616
  }
38597
38617
  if (message.orgId != null && message.hasOwnProperty("orgId"))
38598
38618
  object.orgId = message.orgId;
@@ -38651,6 +38671,8 @@ $root.b2b = (function() {
38651
38671
  object.hierarchyMappingKey = message.hierarchyMappingKey;
38652
38672
  if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
38653
38673
  object.hierarchyMappingValue = message.hierarchyMappingValue;
38674
+ if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
38675
+ object.m2mOrgSyncEnabled = message.m2mOrgSyncEnabled;
38654
38676
  return object;
38655
38677
  };
38656
38678
 
@@ -149688,6 +149710,7 @@ $root.GympassProperties = (function() {
149688
149710
  * @interface IGympassProperties
149689
149711
  * @property {string|null} [countryCode] GympassProperties countryCode
149690
149712
  * @property {string|null} [planId] GympassProperties planId
149713
+ * @property {string|null} [previousPlanId] GympassProperties previousPlanId
149691
149714
  */
149692
149715
 
149693
149716
  /**
@@ -149721,6 +149744,14 @@ $root.GympassProperties = (function() {
149721
149744
  */
149722
149745
  GympassProperties.prototype.planId = "";
149723
149746
 
149747
+ /**
149748
+ * GympassProperties previousPlanId.
149749
+ * @member {string} previousPlanId
149750
+ * @memberof GympassProperties
149751
+ * @instance
149752
+ */
149753
+ GympassProperties.prototype.previousPlanId = "";
149754
+
149724
149755
  /**
149725
149756
  * Creates a new GympassProperties instance using the specified properties.
149726
149757
  * @function create
@@ -149749,6 +149780,8 @@ $root.GympassProperties = (function() {
149749
149780
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.countryCode);
149750
149781
  if (message.planId != null && message.hasOwnProperty("planId"))
149751
149782
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.planId);
149783
+ if (message.previousPlanId != null && message.hasOwnProperty("previousPlanId"))
149784
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.previousPlanId);
149752
149785
  return writer;
149753
149786
  };
149754
149787
 
@@ -149789,6 +149822,9 @@ $root.GympassProperties = (function() {
149789
149822
  case 2:
149790
149823
  message.planId = reader.string();
149791
149824
  break;
149825
+ case 3:
149826
+ message.previousPlanId = reader.string();
149827
+ break;
149792
149828
  default:
149793
149829
  reader.skipType(tag & 7);
149794
149830
  break;
@@ -149830,6 +149866,9 @@ $root.GympassProperties = (function() {
149830
149866
  if (message.planId != null && message.hasOwnProperty("planId"))
149831
149867
  if (!$util.isString(message.planId))
149832
149868
  return "planId: string expected";
149869
+ if (message.previousPlanId != null && message.hasOwnProperty("previousPlanId"))
149870
+ if (!$util.isString(message.previousPlanId))
149871
+ return "previousPlanId: string expected";
149833
149872
  return null;
149834
149873
  };
149835
149874
 
@@ -149849,6 +149888,8 @@ $root.GympassProperties = (function() {
149849
149888
  message.countryCode = String(object.countryCode);
149850
149889
  if (object.planId != null)
149851
149890
  message.planId = String(object.planId);
149891
+ if (object.previousPlanId != null)
149892
+ message.previousPlanId = String(object.previousPlanId);
149852
149893
  return message;
149853
149894
  };
149854
149895
 
@@ -149868,11 +149909,14 @@ $root.GympassProperties = (function() {
149868
149909
  if (options.defaults) {
149869
149910
  object.countryCode = "";
149870
149911
  object.planId = "";
149912
+ object.previousPlanId = "";
149871
149913
  }
149872
149914
  if (message.countryCode != null && message.hasOwnProperty("countryCode"))
149873
149915
  object.countryCode = message.countryCode;
149874
149916
  if (message.planId != null && message.hasOwnProperty("planId"))
149875
149917
  object.planId = message.planId;
149918
+ if (message.previousPlanId != null && message.hasOwnProperty("previousPlanId"))
149919
+ object.previousPlanId = message.previousPlanId;
149876
149920
  return object;
149877
149921
  };
149878
149922
 
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.673.0"
19
+ "version": "1.675.0"
20
20
  }