@headspace/protos-events 1.12.0 → 1.14.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 +17 -17
- package/lib/index.js +45 -45
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -96,19 +96,6 @@ export namespace date {
|
|
|
96
96
|
/** Namespace subscription. */
|
|
97
97
|
export namespace subscription {
|
|
98
98
|
|
|
99
|
-
/** PlanAffiliation enum. */
|
|
100
|
-
enum PlanAffiliation {
|
|
101
|
-
STUDENT = 0,
|
|
102
|
-
VETERAN = 1,
|
|
103
|
-
FAMILY = 2
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/** SubscriptionMembership enum. */
|
|
107
|
-
enum SubscriptionMembership {
|
|
108
|
-
PRIMARY = 0,
|
|
109
|
-
MEMBER = 1
|
|
110
|
-
}
|
|
111
|
-
|
|
112
99
|
/** Represents a SubscriptionGrpcManager */
|
|
113
100
|
class SubscriptionGrpcManager extends $protobuf.rpc.Service {
|
|
114
101
|
|
|
@@ -780,6 +767,19 @@ export namespace subscription {
|
|
|
780
767
|
*/
|
|
781
768
|
public toJSON(): { [k: string]: any };
|
|
782
769
|
}
|
|
770
|
+
|
|
771
|
+
/** PlanAffiliation enum. */
|
|
772
|
+
enum PlanAffiliation {
|
|
773
|
+
STUDENT = 0,
|
|
774
|
+
VETERAN = 1,
|
|
775
|
+
FAMILY = 2
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/** SubscriptionMembership enum. */
|
|
779
|
+
enum SubscriptionMembership {
|
|
780
|
+
PRIMARY = 0,
|
|
781
|
+
MEMBER = 1
|
|
782
|
+
}
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
/** Properties of a FamilyMemberAdded. */
|
|
@@ -2588,8 +2588,8 @@ export interface IUserEmailUpdated {
|
|
|
2588
2588
|
/** UserEmailUpdated userId */
|
|
2589
2589
|
userId?: (string|null);
|
|
2590
2590
|
|
|
2591
|
-
/** UserEmailUpdated
|
|
2592
|
-
|
|
2591
|
+
/** UserEmailUpdated oldEmail */
|
|
2592
|
+
oldEmail?: (string|null);
|
|
2593
2593
|
|
|
2594
2594
|
/** UserEmailUpdated timestamp */
|
|
2595
2595
|
timestamp?: (number|Long|null);
|
|
@@ -2607,8 +2607,8 @@ export class UserEmailUpdated implements IUserEmailUpdated {
|
|
|
2607
2607
|
/** UserEmailUpdated userId. */
|
|
2608
2608
|
public userId: string;
|
|
2609
2609
|
|
|
2610
|
-
/** UserEmailUpdated
|
|
2611
|
-
public
|
|
2610
|
+
/** UserEmailUpdated oldEmail. */
|
|
2611
|
+
public oldEmail: string;
|
|
2612
2612
|
|
|
2613
2613
|
/** UserEmailUpdated timestamp. */
|
|
2614
2614
|
public timestamp: (number|Long);
|
package/lib/index.js
CHANGED
|
@@ -231,36 +231,6 @@ $root.subscription = (function() {
|
|
|
231
231
|
*/
|
|
232
232
|
var subscription = {};
|
|
233
233
|
|
|
234
|
-
/**
|
|
235
|
-
* PlanAffiliation enum.
|
|
236
|
-
* @name subscription.PlanAffiliation
|
|
237
|
-
* @enum {string}
|
|
238
|
-
* @property {number} STUDENT=0 STUDENT value
|
|
239
|
-
* @property {number} VETERAN=1 VETERAN value
|
|
240
|
-
* @property {number} FAMILY=2 FAMILY value
|
|
241
|
-
*/
|
|
242
|
-
subscription.PlanAffiliation = (function() {
|
|
243
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
244
|
-
values[valuesById[0] = "STUDENT"] = 0;
|
|
245
|
-
values[valuesById[1] = "VETERAN"] = 1;
|
|
246
|
-
values[valuesById[2] = "FAMILY"] = 2;
|
|
247
|
-
return values;
|
|
248
|
-
})();
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* SubscriptionMembership enum.
|
|
252
|
-
* @name subscription.SubscriptionMembership
|
|
253
|
-
* @enum {string}
|
|
254
|
-
* @property {number} PRIMARY=0 PRIMARY value
|
|
255
|
-
* @property {number} MEMBER=1 MEMBER value
|
|
256
|
-
*/
|
|
257
|
-
subscription.SubscriptionMembership = (function() {
|
|
258
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
259
|
-
values[valuesById[0] = "PRIMARY"] = 0;
|
|
260
|
-
values[valuesById[1] = "MEMBER"] = 1;
|
|
261
|
-
return values;
|
|
262
|
-
})();
|
|
263
|
-
|
|
264
234
|
subscription.SubscriptionGrpcManager = (function() {
|
|
265
235
|
|
|
266
236
|
/**
|
|
@@ -1769,6 +1739,36 @@ $root.subscription = (function() {
|
|
|
1769
1739
|
return Plan;
|
|
1770
1740
|
})();
|
|
1771
1741
|
|
|
1742
|
+
/**
|
|
1743
|
+
* PlanAffiliation enum.
|
|
1744
|
+
* @name subscription.PlanAffiliation
|
|
1745
|
+
* @enum {string}
|
|
1746
|
+
* @property {number} STUDENT=0 STUDENT value
|
|
1747
|
+
* @property {number} VETERAN=1 VETERAN value
|
|
1748
|
+
* @property {number} FAMILY=2 FAMILY value
|
|
1749
|
+
*/
|
|
1750
|
+
subscription.PlanAffiliation = (function() {
|
|
1751
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
1752
|
+
values[valuesById[0] = "STUDENT"] = 0;
|
|
1753
|
+
values[valuesById[1] = "VETERAN"] = 1;
|
|
1754
|
+
values[valuesById[2] = "FAMILY"] = 2;
|
|
1755
|
+
return values;
|
|
1756
|
+
})();
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* SubscriptionMembership enum.
|
|
1760
|
+
* @name subscription.SubscriptionMembership
|
|
1761
|
+
* @enum {string}
|
|
1762
|
+
* @property {number} PRIMARY=0 PRIMARY value
|
|
1763
|
+
* @property {number} MEMBER=1 MEMBER value
|
|
1764
|
+
*/
|
|
1765
|
+
subscription.SubscriptionMembership = (function() {
|
|
1766
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
1767
|
+
values[valuesById[0] = "PRIMARY"] = 0;
|
|
1768
|
+
values[valuesById[1] = "MEMBER"] = 1;
|
|
1769
|
+
return values;
|
|
1770
|
+
})();
|
|
1771
|
+
|
|
1772
1772
|
return subscription;
|
|
1773
1773
|
})();
|
|
1774
1774
|
|
|
@@ -6255,7 +6255,7 @@ $root.UserEmailUpdated = (function() {
|
|
|
6255
6255
|
* @exports IUserEmailUpdated
|
|
6256
6256
|
* @interface IUserEmailUpdated
|
|
6257
6257
|
* @property {string|null} [userId] UserEmailUpdated userId
|
|
6258
|
-
* @property {string|null} [
|
|
6258
|
+
* @property {string|null} [oldEmail] UserEmailUpdated oldEmail
|
|
6259
6259
|
* @property {number|Long|null} [timestamp] UserEmailUpdated timestamp
|
|
6260
6260
|
*/
|
|
6261
6261
|
|
|
@@ -6283,12 +6283,12 @@ $root.UserEmailUpdated = (function() {
|
|
|
6283
6283
|
UserEmailUpdated.prototype.userId = "";
|
|
6284
6284
|
|
|
6285
6285
|
/**
|
|
6286
|
-
* UserEmailUpdated
|
|
6287
|
-
* @member {string}
|
|
6286
|
+
* UserEmailUpdated oldEmail.
|
|
6287
|
+
* @member {string} oldEmail
|
|
6288
6288
|
* @memberof UserEmailUpdated
|
|
6289
6289
|
* @instance
|
|
6290
6290
|
*/
|
|
6291
|
-
UserEmailUpdated.prototype.
|
|
6291
|
+
UserEmailUpdated.prototype.oldEmail = "";
|
|
6292
6292
|
|
|
6293
6293
|
/**
|
|
6294
6294
|
* UserEmailUpdated timestamp.
|
|
@@ -6324,8 +6324,8 @@ $root.UserEmailUpdated = (function() {
|
|
|
6324
6324
|
writer = $Writer.create();
|
|
6325
6325
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6326
6326
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
6327
|
-
if (message.
|
|
6328
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.
|
|
6327
|
+
if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
|
|
6328
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.oldEmail);
|
|
6329
6329
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6330
6330
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
6331
6331
|
return writer;
|
|
@@ -6366,7 +6366,7 @@ $root.UserEmailUpdated = (function() {
|
|
|
6366
6366
|
message.userId = reader.string();
|
|
6367
6367
|
break;
|
|
6368
6368
|
case 2:
|
|
6369
|
-
message.
|
|
6369
|
+
message.oldEmail = reader.string();
|
|
6370
6370
|
break;
|
|
6371
6371
|
case 3:
|
|
6372
6372
|
message.timestamp = reader.uint64();
|
|
@@ -6409,9 +6409,9 @@ $root.UserEmailUpdated = (function() {
|
|
|
6409
6409
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6410
6410
|
if (!$util.isString(message.userId))
|
|
6411
6411
|
return "userId: string expected";
|
|
6412
|
-
if (message.
|
|
6413
|
-
if (!$util.isString(message.
|
|
6414
|
-
return "
|
|
6412
|
+
if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
|
|
6413
|
+
if (!$util.isString(message.oldEmail))
|
|
6414
|
+
return "oldEmail: string expected";
|
|
6415
6415
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6416
6416
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
6417
6417
|
return "timestamp: integer|Long expected";
|
|
@@ -6432,8 +6432,8 @@ $root.UserEmailUpdated = (function() {
|
|
|
6432
6432
|
var message = new $root.UserEmailUpdated();
|
|
6433
6433
|
if (object.userId != null)
|
|
6434
6434
|
message.userId = String(object.userId);
|
|
6435
|
-
if (object.
|
|
6436
|
-
message.
|
|
6435
|
+
if (object.oldEmail != null)
|
|
6436
|
+
message.oldEmail = String(object.oldEmail);
|
|
6437
6437
|
if (object.timestamp != null)
|
|
6438
6438
|
if ($util.Long)
|
|
6439
6439
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -6461,7 +6461,7 @@ $root.UserEmailUpdated = (function() {
|
|
|
6461
6461
|
var object = {};
|
|
6462
6462
|
if (options.defaults) {
|
|
6463
6463
|
object.userId = "";
|
|
6464
|
-
object.
|
|
6464
|
+
object.oldEmail = "";
|
|
6465
6465
|
if ($util.Long) {
|
|
6466
6466
|
var long = new $util.Long(0, 0, true);
|
|
6467
6467
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -6470,8 +6470,8 @@ $root.UserEmailUpdated = (function() {
|
|
|
6470
6470
|
}
|
|
6471
6471
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6472
6472
|
object.userId = message.userId;
|
|
6473
|
-
if (message.
|
|
6474
|
-
object.
|
|
6473
|
+
if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
|
|
6474
|
+
object.oldEmail = message.oldEmail;
|
|
6475
6475
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6476
6476
|
if (typeof message.timestamp === "number")
|
|
6477
6477
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
package/package.json
CHANGED