@headspace/protos-events 1.324.0 → 1.325.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 +22 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7875,6 +7875,9 @@ export namespace productcatalog {
|
|
|
7875
7875
|
|
|
7876
7876
|
/** extra information (e.g. student, family) */
|
|
7877
7877
|
tags?: (productcatalog.ProductSkuTag[]|null);
|
|
7878
|
+
|
|
7879
|
+
/** product id */
|
|
7880
|
+
productId?: (string|null);
|
|
7878
7881
|
}
|
|
7879
7882
|
|
|
7880
7883
|
/** Represents a ProductSku. */
|
|
@@ -7916,6 +7919,9 @@ export namespace productcatalog {
|
|
|
7916
7919
|
/** extra information (e.g. student, family) */
|
|
7917
7920
|
public tags: productcatalog.ProductSkuTag[];
|
|
7918
7921
|
|
|
7922
|
+
/** product id */
|
|
7923
|
+
public productId: string;
|
|
7924
|
+
|
|
7919
7925
|
/**
|
|
7920
7926
|
* Creates a new ProductSku instance using the specified properties.
|
|
7921
7927
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -18662,6 +18662,7 @@ $root.productcatalog = (function() {
|
|
|
18662
18662
|
* @property {productcatalog.ITermConfiguration|null} [billingDelay] length of time to wait before we start billing the user
|
|
18663
18663
|
* @property {productcatalog.IBillingPlan|null} [billingPlan] billing information
|
|
18664
18664
|
* @property {Array.<productcatalog.ProductSkuTag>|null} [tags] extra information (e.g. student, family)
|
|
18665
|
+
* @property {string|null} [productId] product id
|
|
18665
18666
|
*/
|
|
18666
18667
|
|
|
18667
18668
|
/**
|
|
@@ -18760,6 +18761,14 @@ $root.productcatalog = (function() {
|
|
|
18760
18761
|
*/
|
|
18761
18762
|
ProductSku.prototype.tags = $util.emptyArray;
|
|
18762
18763
|
|
|
18764
|
+
/**
|
|
18765
|
+
* product id
|
|
18766
|
+
* @member {string} productId
|
|
18767
|
+
* @memberof productcatalog.ProductSku
|
|
18768
|
+
* @instance
|
|
18769
|
+
*/
|
|
18770
|
+
ProductSku.prototype.productId = "";
|
|
18771
|
+
|
|
18763
18772
|
/**
|
|
18764
18773
|
* Creates a new ProductSku instance using the specified properties.
|
|
18765
18774
|
* @function create
|
|
@@ -18808,6 +18817,8 @@ $root.productcatalog = (function() {
|
|
|
18808
18817
|
writer.int32(message.tags[i]);
|
|
18809
18818
|
writer.ldelim();
|
|
18810
18819
|
}
|
|
18820
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
18821
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.productId);
|
|
18811
18822
|
return writer;
|
|
18812
18823
|
};
|
|
18813
18824
|
|
|
@@ -18879,6 +18890,9 @@ $root.productcatalog = (function() {
|
|
|
18879
18890
|
} else
|
|
18880
18891
|
message.tags.push(reader.int32());
|
|
18881
18892
|
break;
|
|
18893
|
+
case 11:
|
|
18894
|
+
message.productId = reader.string();
|
|
18895
|
+
break;
|
|
18882
18896
|
default:
|
|
18883
18897
|
reader.skipType(tag & 7);
|
|
18884
18898
|
break;
|
|
@@ -18983,6 +18997,9 @@ $root.productcatalog = (function() {
|
|
|
18983
18997
|
break;
|
|
18984
18998
|
}
|
|
18985
18999
|
}
|
|
19000
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
19001
|
+
if (!$util.isString(message.productId))
|
|
19002
|
+
return "productId: string expected";
|
|
18986
19003
|
return null;
|
|
18987
19004
|
};
|
|
18988
19005
|
|
|
@@ -19109,6 +19126,8 @@ $root.productcatalog = (function() {
|
|
|
19109
19126
|
break;
|
|
19110
19127
|
}
|
|
19111
19128
|
}
|
|
19129
|
+
if (object.productId != null)
|
|
19130
|
+
message.productId = String(object.productId);
|
|
19112
19131
|
return message;
|
|
19113
19132
|
};
|
|
19114
19133
|
|
|
@@ -19137,6 +19156,7 @@ $root.productcatalog = (function() {
|
|
|
19137
19156
|
object.renewalTerm = null;
|
|
19138
19157
|
object.billingDelay = null;
|
|
19139
19158
|
object.billingPlan = null;
|
|
19159
|
+
object.productId = "";
|
|
19140
19160
|
}
|
|
19141
19161
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
19142
19162
|
object.id = message.id;
|
|
@@ -19161,6 +19181,8 @@ $root.productcatalog = (function() {
|
|
|
19161
19181
|
for (var j = 0; j < message.tags.length; ++j)
|
|
19162
19182
|
object.tags[j] = options.enums === String ? $root.productcatalog.ProductSkuTag[message.tags[j]] : message.tags[j];
|
|
19163
19183
|
}
|
|
19184
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
19185
|
+
object.productId = message.productId;
|
|
19164
19186
|
return object;
|
|
19165
19187
|
};
|
|
19166
19188
|
|
package/package.json
CHANGED