@headspace/protos-events 1.719.0 → 1.720.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
|
@@ -50885,6 +50885,9 @@ export interface ISubscriptionUpcomingRenewal {
|
|
|
50885
50885
|
|
|
50886
50886
|
/** SubscriptionUpcomingRenewal currency */
|
|
50887
50887
|
currency?: (string|null);
|
|
50888
|
+
|
|
50889
|
+
/** SubscriptionUpcomingRenewal renewalTermLength */
|
|
50890
|
+
renewalTermLength?: (number|null);
|
|
50888
50891
|
}
|
|
50889
50892
|
|
|
50890
50893
|
/** Represents a SubscriptionUpcomingRenewal. */
|
|
@@ -50923,6 +50926,9 @@ export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal
|
|
|
50923
50926
|
/** SubscriptionUpcomingRenewal currency. */
|
|
50924
50927
|
public currency: string;
|
|
50925
50928
|
|
|
50929
|
+
/** SubscriptionUpcomingRenewal renewalTermLength. */
|
|
50930
|
+
public renewalTermLength: number;
|
|
50931
|
+
|
|
50926
50932
|
/**
|
|
50927
50933
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
50928
50934
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -144769,6 +144769,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144769
144769
|
* @property {subscription.IPaymentMethod|null} [paymentMethod] SubscriptionUpcomingRenewal paymentMethod
|
|
144770
144770
|
* @property {number|null} [renewalAmount] SubscriptionUpcomingRenewal renewalAmount
|
|
144771
144771
|
* @property {string|null} [currency] SubscriptionUpcomingRenewal currency
|
|
144772
|
+
* @property {number|null} [renewalTermLength] SubscriptionUpcomingRenewal renewalTermLength
|
|
144772
144773
|
*/
|
|
144773
144774
|
|
|
144774
144775
|
/**
|
|
@@ -144858,6 +144859,14 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144858
144859
|
*/
|
|
144859
144860
|
SubscriptionUpcomingRenewal.prototype.currency = "";
|
|
144860
144861
|
|
|
144862
|
+
/**
|
|
144863
|
+
* SubscriptionUpcomingRenewal renewalTermLength.
|
|
144864
|
+
* @member {number} renewalTermLength
|
|
144865
|
+
* @memberof SubscriptionUpcomingRenewal
|
|
144866
|
+
* @instance
|
|
144867
|
+
*/
|
|
144868
|
+
SubscriptionUpcomingRenewal.prototype.renewalTermLength = 0;
|
|
144869
|
+
|
|
144861
144870
|
/**
|
|
144862
144871
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
144863
144872
|
* @function create
|
|
@@ -144900,6 +144909,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144900
144909
|
writer.uint32(/* id 8, wireType 1 =*/65).double(message.renewalAmount);
|
|
144901
144910
|
if (message.currency != null && message.hasOwnProperty("currency"))
|
|
144902
144911
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.currency);
|
|
144912
|
+
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
144913
|
+
writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.renewalTermLength);
|
|
144903
144914
|
return writer;
|
|
144904
144915
|
};
|
|
144905
144916
|
|
|
@@ -144961,6 +144972,9 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
144961
144972
|
case 9:
|
|
144962
144973
|
message.currency = reader.string();
|
|
144963
144974
|
break;
|
|
144975
|
+
case 10:
|
|
144976
|
+
message.renewalTermLength = reader.uint32();
|
|
144977
|
+
break;
|
|
144964
144978
|
default:
|
|
144965
144979
|
reader.skipType(tag & 7);
|
|
144966
144980
|
break;
|
|
@@ -145037,6 +145051,9 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145037
145051
|
if (message.currency != null && message.hasOwnProperty("currency"))
|
|
145038
145052
|
if (!$util.isString(message.currency))
|
|
145039
145053
|
return "currency: string expected";
|
|
145054
|
+
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
145055
|
+
if (!$util.isInteger(message.renewalTermLength))
|
|
145056
|
+
return "renewalTermLength: integer expected";
|
|
145040
145057
|
return null;
|
|
145041
145058
|
};
|
|
145042
145059
|
|
|
@@ -145104,6 +145121,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145104
145121
|
message.renewalAmount = Number(object.renewalAmount);
|
|
145105
145122
|
if (object.currency != null)
|
|
145106
145123
|
message.currency = String(object.currency);
|
|
145124
|
+
if (object.renewalTermLength != null)
|
|
145125
|
+
message.renewalTermLength = object.renewalTermLength >>> 0;
|
|
145107
145126
|
return message;
|
|
145108
145127
|
};
|
|
145109
145128
|
|
|
@@ -145134,6 +145153,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145134
145153
|
object.paymentMethod = null;
|
|
145135
145154
|
object.renewalAmount = 0;
|
|
145136
145155
|
object.currency = "";
|
|
145156
|
+
object.renewalTermLength = 0;
|
|
145137
145157
|
}
|
|
145138
145158
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
145139
145159
|
object.id = message.id;
|
|
@@ -145156,6 +145176,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
145156
145176
|
object.renewalAmount = options.json && !isFinite(message.renewalAmount) ? String(message.renewalAmount) : message.renewalAmount;
|
|
145157
145177
|
if (message.currency != null && message.hasOwnProperty("currency"))
|
|
145158
145178
|
object.currency = message.currency;
|
|
145179
|
+
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
145180
|
+
object.renewalTermLength = message.renewalTermLength;
|
|
145159
145181
|
return object;
|
|
145160
145182
|
};
|
|
145161
145183
|
|
package/package.json
CHANGED