@headspace/protos-events 1.17.0 → 1.18.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
|
@@ -2185,6 +2185,9 @@ export interface ISubscriptionUpcomingRenewal {
|
|
|
2185
2185
|
|
|
2186
2186
|
/** SubscriptionUpcomingRenewal planAffiliation */
|
|
2187
2187
|
planAffiliation?: (subscription.PlanAffiliation|null);
|
|
2188
|
+
|
|
2189
|
+
/** SubscriptionUpcomingRenewal renewalDate */
|
|
2190
|
+
renewalDate?: (number|null);
|
|
2188
2191
|
}
|
|
2189
2192
|
|
|
2190
2193
|
/** Represents a SubscriptionUpcomingRenewal. */
|
|
@@ -2211,6 +2214,9 @@ export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal
|
|
|
2211
2214
|
/** SubscriptionUpcomingRenewal planAffiliation. */
|
|
2212
2215
|
public planAffiliation: subscription.PlanAffiliation;
|
|
2213
2216
|
|
|
2217
|
+
/** SubscriptionUpcomingRenewal renewalDate. */
|
|
2218
|
+
public renewalDate: number;
|
|
2219
|
+
|
|
2214
2220
|
/**
|
|
2215
2221
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
2216
2222
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -5223,6 +5223,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5223
5223
|
* @property {number|null} [daysBefore] SubscriptionUpcomingRenewal daysBefore
|
|
5224
5224
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionUpcomingRenewal membership
|
|
5225
5225
|
* @property {subscription.PlanAffiliation|null} [planAffiliation] SubscriptionUpcomingRenewal planAffiliation
|
|
5226
|
+
* @property {number|null} [renewalDate] SubscriptionUpcomingRenewal renewalDate
|
|
5226
5227
|
*/
|
|
5227
5228
|
|
|
5228
5229
|
/**
|
|
@@ -5280,6 +5281,14 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5280
5281
|
*/
|
|
5281
5282
|
SubscriptionUpcomingRenewal.prototype.planAffiliation = 0;
|
|
5282
5283
|
|
|
5284
|
+
/**
|
|
5285
|
+
* SubscriptionUpcomingRenewal renewalDate.
|
|
5286
|
+
* @member {number} renewalDate
|
|
5287
|
+
* @memberof SubscriptionUpcomingRenewal
|
|
5288
|
+
* @instance
|
|
5289
|
+
*/
|
|
5290
|
+
SubscriptionUpcomingRenewal.prototype.renewalDate = 0;
|
|
5291
|
+
|
|
5283
5292
|
/**
|
|
5284
5293
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
5285
5294
|
* @function create
|
|
@@ -5314,6 +5323,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5314
5323
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.membership);
|
|
5315
5324
|
if (message.planAffiliation != null && message.hasOwnProperty("planAffiliation"))
|
|
5316
5325
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.planAffiliation);
|
|
5326
|
+
if (message.renewalDate != null && message.hasOwnProperty("renewalDate"))
|
|
5327
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.renewalDate);
|
|
5317
5328
|
return writer;
|
|
5318
5329
|
};
|
|
5319
5330
|
|
|
@@ -5363,6 +5374,9 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5363
5374
|
case 5:
|
|
5364
5375
|
message.planAffiliation = reader.int32();
|
|
5365
5376
|
break;
|
|
5377
|
+
case 6:
|
|
5378
|
+
message.renewalDate = reader.uint32();
|
|
5379
|
+
break;
|
|
5366
5380
|
default:
|
|
5367
5381
|
reader.skipType(tag & 7);
|
|
5368
5382
|
break;
|
|
@@ -5424,6 +5438,9 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5424
5438
|
case 2:
|
|
5425
5439
|
break;
|
|
5426
5440
|
}
|
|
5441
|
+
if (message.renewalDate != null && message.hasOwnProperty("renewalDate"))
|
|
5442
|
+
if (!$util.isInteger(message.renewalDate))
|
|
5443
|
+
return "renewalDate: integer expected";
|
|
5427
5444
|
return null;
|
|
5428
5445
|
};
|
|
5429
5446
|
|
|
@@ -5469,6 +5486,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5469
5486
|
message.planAffiliation = 2;
|
|
5470
5487
|
break;
|
|
5471
5488
|
}
|
|
5489
|
+
if (object.renewalDate != null)
|
|
5490
|
+
message.renewalDate = object.renewalDate >>> 0;
|
|
5472
5491
|
return message;
|
|
5473
5492
|
};
|
|
5474
5493
|
|
|
@@ -5491,6 +5510,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5491
5510
|
object.daysBefore = 0;
|
|
5492
5511
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
5493
5512
|
object.planAffiliation = options.enums === String ? "STUDENT" : 0;
|
|
5513
|
+
object.renewalDate = 0;
|
|
5494
5514
|
}
|
|
5495
5515
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
5496
5516
|
object.id = message.id;
|
|
@@ -5502,6 +5522,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
5502
5522
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
5503
5523
|
if (message.planAffiliation != null && message.hasOwnProperty("planAffiliation"))
|
|
5504
5524
|
object.planAffiliation = options.enums === String ? $root.subscription.PlanAffiliation[message.planAffiliation] : message.planAffiliation;
|
|
5525
|
+
if (message.renewalDate != null && message.hasOwnProperty("renewalDate"))
|
|
5526
|
+
object.renewalDate = message.renewalDate;
|
|
5505
5527
|
return object;
|
|
5506
5528
|
};
|
|
5507
5529
|
|
package/package.json
CHANGED