@headspace/protos-events 1.651.0 → 1.653.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 +6 -0
- package/lib/index.js +24 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -53262,6 +53262,9 @@ export interface IGympassProperties {
|
|
|
53262
53262
|
|
|
53263
53263
|
/** GympassProperties countryCode */
|
|
53264
53264
|
countryCode?: (string|null);
|
|
53265
|
+
|
|
53266
|
+
/** GympassProperties planId */
|
|
53267
|
+
planId?: (string|null);
|
|
53265
53268
|
}
|
|
53266
53269
|
|
|
53267
53270
|
/** Represents a GympassProperties. */
|
|
@@ -53276,6 +53279,9 @@ export class GympassProperties implements IGympassProperties {
|
|
|
53276
53279
|
/** GympassProperties countryCode. */
|
|
53277
53280
|
public countryCode: string;
|
|
53278
53281
|
|
|
53282
|
+
/** GympassProperties planId. */
|
|
53283
|
+
public planId: string;
|
|
53284
|
+
|
|
53279
53285
|
/**
|
|
53280
53286
|
* Creates a new GympassProperties instance using the specified properties.
|
|
53281
53287
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -147411,6 +147411,7 @@ $root.GympassProperties = (function() {
|
|
|
147411
147411
|
* @name IGympassProperties
|
|
147412
147412
|
* @interface IGympassProperties
|
|
147413
147413
|
* @property {string|null} [countryCode] GympassProperties countryCode
|
|
147414
|
+
* @property {string|null} [planId] GympassProperties planId
|
|
147414
147415
|
*/
|
|
147415
147416
|
|
|
147416
147417
|
/**
|
|
@@ -147436,6 +147437,14 @@ $root.GympassProperties = (function() {
|
|
|
147436
147437
|
*/
|
|
147437
147438
|
GympassProperties.prototype.countryCode = "";
|
|
147438
147439
|
|
|
147440
|
+
/**
|
|
147441
|
+
* GympassProperties planId.
|
|
147442
|
+
* @member {string} planId
|
|
147443
|
+
* @memberof GympassProperties
|
|
147444
|
+
* @instance
|
|
147445
|
+
*/
|
|
147446
|
+
GympassProperties.prototype.planId = "";
|
|
147447
|
+
|
|
147439
147448
|
/**
|
|
147440
147449
|
* Creates a new GympassProperties instance using the specified properties.
|
|
147441
147450
|
* @function create
|
|
@@ -147462,6 +147471,8 @@ $root.GympassProperties = (function() {
|
|
|
147462
147471
|
writer = $Writer.create();
|
|
147463
147472
|
if (message.countryCode != null && message.hasOwnProperty("countryCode"))
|
|
147464
147473
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.countryCode);
|
|
147474
|
+
if (message.planId != null && message.hasOwnProperty("planId"))
|
|
147475
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.planId);
|
|
147465
147476
|
return writer;
|
|
147466
147477
|
};
|
|
147467
147478
|
|
|
@@ -147499,6 +147510,9 @@ $root.GympassProperties = (function() {
|
|
|
147499
147510
|
case 1:
|
|
147500
147511
|
message.countryCode = reader.string();
|
|
147501
147512
|
break;
|
|
147513
|
+
case 2:
|
|
147514
|
+
message.planId = reader.string();
|
|
147515
|
+
break;
|
|
147502
147516
|
default:
|
|
147503
147517
|
reader.skipType(tag & 7);
|
|
147504
147518
|
break;
|
|
@@ -147537,6 +147551,9 @@ $root.GympassProperties = (function() {
|
|
|
147537
147551
|
if (message.countryCode != null && message.hasOwnProperty("countryCode"))
|
|
147538
147552
|
if (!$util.isString(message.countryCode))
|
|
147539
147553
|
return "countryCode: string expected";
|
|
147554
|
+
if (message.planId != null && message.hasOwnProperty("planId"))
|
|
147555
|
+
if (!$util.isString(message.planId))
|
|
147556
|
+
return "planId: string expected";
|
|
147540
147557
|
return null;
|
|
147541
147558
|
};
|
|
147542
147559
|
|
|
@@ -147554,6 +147571,8 @@ $root.GympassProperties = (function() {
|
|
|
147554
147571
|
var message = new $root.GympassProperties();
|
|
147555
147572
|
if (object.countryCode != null)
|
|
147556
147573
|
message.countryCode = String(object.countryCode);
|
|
147574
|
+
if (object.planId != null)
|
|
147575
|
+
message.planId = String(object.planId);
|
|
147557
147576
|
return message;
|
|
147558
147577
|
};
|
|
147559
147578
|
|
|
@@ -147570,10 +147589,14 @@ $root.GympassProperties = (function() {
|
|
|
147570
147589
|
if (!options)
|
|
147571
147590
|
options = {};
|
|
147572
147591
|
var object = {};
|
|
147573
|
-
if (options.defaults)
|
|
147592
|
+
if (options.defaults) {
|
|
147574
147593
|
object.countryCode = "";
|
|
147594
|
+
object.planId = "";
|
|
147595
|
+
}
|
|
147575
147596
|
if (message.countryCode != null && message.hasOwnProperty("countryCode"))
|
|
147576
147597
|
object.countryCode = message.countryCode;
|
|
147598
|
+
if (message.planId != null && message.hasOwnProperty("planId"))
|
|
147599
|
+
object.planId = message.planId;
|
|
147577
147600
|
return object;
|
|
147578
147601
|
};
|
|
147579
147602
|
|
package/package.json
CHANGED