@headspace/protos-events 1.674.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
@@ -54115,6 +54115,9 @@ export interface IGympassProperties {
54115
54115
 
54116
54116
  /** GympassProperties planId */
54117
54117
  planId?: (string|null);
54118
+
54119
+ /** GympassProperties previousPlanId */
54120
+ previousPlanId?: (string|null);
54118
54121
  }
54119
54122
 
54120
54123
  /** Represents a GympassProperties. */
@@ -54132,6 +54135,9 @@ export class GympassProperties implements IGympassProperties {
54132
54135
  /** GympassProperties planId. */
54133
54136
  public planId: string;
54134
54137
 
54138
+ /** GympassProperties previousPlanId. */
54139
+ public previousPlanId: string;
54140
+
54135
54141
  /**
54136
54142
  * Creates a new GympassProperties instance using the specified properties.
54137
54143
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -149710,6 +149710,7 @@ $root.GympassProperties = (function() {
149710
149710
  * @interface IGympassProperties
149711
149711
  * @property {string|null} [countryCode] GympassProperties countryCode
149712
149712
  * @property {string|null} [planId] GympassProperties planId
149713
+ * @property {string|null} [previousPlanId] GympassProperties previousPlanId
149713
149714
  */
149714
149715
 
149715
149716
  /**
@@ -149743,6 +149744,14 @@ $root.GympassProperties = (function() {
149743
149744
  */
149744
149745
  GympassProperties.prototype.planId = "";
149745
149746
 
149747
+ /**
149748
+ * GympassProperties previousPlanId.
149749
+ * @member {string} previousPlanId
149750
+ * @memberof GympassProperties
149751
+ * @instance
149752
+ */
149753
+ GympassProperties.prototype.previousPlanId = "";
149754
+
149746
149755
  /**
149747
149756
  * Creates a new GympassProperties instance using the specified properties.
149748
149757
  * @function create
@@ -149771,6 +149780,8 @@ $root.GympassProperties = (function() {
149771
149780
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.countryCode);
149772
149781
  if (message.planId != null && message.hasOwnProperty("planId"))
149773
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);
149774
149785
  return writer;
149775
149786
  };
149776
149787
 
@@ -149811,6 +149822,9 @@ $root.GympassProperties = (function() {
149811
149822
  case 2:
149812
149823
  message.planId = reader.string();
149813
149824
  break;
149825
+ case 3:
149826
+ message.previousPlanId = reader.string();
149827
+ break;
149814
149828
  default:
149815
149829
  reader.skipType(tag & 7);
149816
149830
  break;
@@ -149852,6 +149866,9 @@ $root.GympassProperties = (function() {
149852
149866
  if (message.planId != null && message.hasOwnProperty("planId"))
149853
149867
  if (!$util.isString(message.planId))
149854
149868
  return "planId: string expected";
149869
+ if (message.previousPlanId != null && message.hasOwnProperty("previousPlanId"))
149870
+ if (!$util.isString(message.previousPlanId))
149871
+ return "previousPlanId: string expected";
149855
149872
  return null;
149856
149873
  };
149857
149874
 
@@ -149871,6 +149888,8 @@ $root.GympassProperties = (function() {
149871
149888
  message.countryCode = String(object.countryCode);
149872
149889
  if (object.planId != null)
149873
149890
  message.planId = String(object.planId);
149891
+ if (object.previousPlanId != null)
149892
+ message.previousPlanId = String(object.previousPlanId);
149874
149893
  return message;
149875
149894
  };
149876
149895
 
@@ -149890,11 +149909,14 @@ $root.GympassProperties = (function() {
149890
149909
  if (options.defaults) {
149891
149910
  object.countryCode = "";
149892
149911
  object.planId = "";
149912
+ object.previousPlanId = "";
149893
149913
  }
149894
149914
  if (message.countryCode != null && message.hasOwnProperty("countryCode"))
149895
149915
  object.countryCode = message.countryCode;
149896
149916
  if (message.planId != null && message.hasOwnProperty("planId"))
149897
149917
  object.planId = message.planId;
149918
+ if (message.previousPlanId != null && message.hasOwnProperty("previousPlanId"))
149919
+ object.previousPlanId = message.previousPlanId;
149898
149920
  return object;
149899
149921
  };
149900
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.674.0"
19
+ "version": "1.675.0"
20
20
  }