@headspace/protos-events 1.759.0 → 1.761.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 +8 -1
- package/lib/index.js +77 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -37419,7 +37419,8 @@ export enum VerificationType {
|
|
|
37419
37419
|
VERIFICATION_TYPE_WORK_ID = 6,
|
|
37420
37420
|
VERIFICATION_TYPE_KP_NATIONAL_JWT = 7,
|
|
37421
37421
|
VERIFICATION_TYPE_BSC = 8,
|
|
37422
|
-
VERIFICATION_TYPE_US_NAVY = 9
|
|
37422
|
+
VERIFICATION_TYPE_US_NAVY = 9,
|
|
37423
|
+
VERIFICATION_TYPE_CODE = 10
|
|
37423
37424
|
}
|
|
37424
37425
|
|
|
37425
37426
|
/**
|
|
@@ -52336,6 +52337,9 @@ export interface ISubscriptionUpcomingRenewal {
|
|
|
52336
52337
|
|
|
52337
52338
|
/** SubscriptionUpcomingRenewal renewalTermLength */
|
|
52338
52339
|
renewalTermLength?: (number|null);
|
|
52340
|
+
|
|
52341
|
+
/** SubscriptionUpcomingRenewal platform */
|
|
52342
|
+
platform?: (subscription.SubscriptionPlatform|null);
|
|
52339
52343
|
}
|
|
52340
52344
|
|
|
52341
52345
|
/** Represents a SubscriptionUpcomingRenewal. */
|
|
@@ -52377,6 +52381,9 @@ export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal
|
|
|
52377
52381
|
/** SubscriptionUpcomingRenewal renewalTermLength. */
|
|
52378
52382
|
public renewalTermLength: number;
|
|
52379
52383
|
|
|
52384
|
+
/** SubscriptionUpcomingRenewal platform. */
|
|
52385
|
+
public platform: subscription.SubscriptionPlatform;
|
|
52386
|
+
|
|
52380
52387
|
/**
|
|
52381
52388
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
52382
52389
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -105470,6 +105470,7 @@ $root.IdentityVerificationType = (function() {
|
|
|
105470
105470
|
* @property {number} VERIFICATION_TYPE_KP_NATIONAL_JWT=7 VERIFICATION_TYPE_KP_NATIONAL_JWT value
|
|
105471
105471
|
* @property {number} VERIFICATION_TYPE_BSC=8 VERIFICATION_TYPE_BSC value
|
|
105472
105472
|
* @property {number} VERIFICATION_TYPE_US_NAVY=9 VERIFICATION_TYPE_US_NAVY value
|
|
105473
|
+
* @property {number} VERIFICATION_TYPE_CODE=10 VERIFICATION_TYPE_CODE value
|
|
105473
105474
|
*/
|
|
105474
105475
|
$root.VerificationType = (function() {
|
|
105475
105476
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -105483,6 +105484,7 @@ $root.VerificationType = (function() {
|
|
|
105483
105484
|
values[valuesById[7] = "VERIFICATION_TYPE_KP_NATIONAL_JWT"] = 7;
|
|
105484
105485
|
values[valuesById[8] = "VERIFICATION_TYPE_BSC"] = 8;
|
|
105485
105486
|
values[valuesById[9] = "VERIFICATION_TYPE_US_NAVY"] = 9;
|
|
105487
|
+
values[valuesById[10] = "VERIFICATION_TYPE_CODE"] = 10;
|
|
105486
105488
|
return values;
|
|
105487
105489
|
})();
|
|
105488
105490
|
|
|
@@ -105770,6 +105772,7 @@ $root.EligibilityCollective = (function() {
|
|
|
105770
105772
|
case 7:
|
|
105771
105773
|
case 8:
|
|
105772
105774
|
case 9:
|
|
105775
|
+
case 10:
|
|
105773
105776
|
break;
|
|
105774
105777
|
}
|
|
105775
105778
|
if (message.identityVerificationType != null && message.hasOwnProperty("identityVerificationType"))
|
|
@@ -105865,6 +105868,10 @@ $root.EligibilityCollective = (function() {
|
|
|
105865
105868
|
case 9:
|
|
105866
105869
|
message.verificationType = 9;
|
|
105867
105870
|
break;
|
|
105871
|
+
case "VERIFICATION_TYPE_CODE":
|
|
105872
|
+
case 10:
|
|
105873
|
+
message.verificationType = 10;
|
|
105874
|
+
break;
|
|
105868
105875
|
}
|
|
105869
105876
|
switch (object.identityVerificationType) {
|
|
105870
105877
|
case "IDENTITY_VERIFICATION_TYPE_UNKNOWN":
|
|
@@ -148815,6 +148822,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
148815
148822
|
* @property {number|null} [renewalAmount] SubscriptionUpcomingRenewal renewalAmount
|
|
148816
148823
|
* @property {string|null} [currency] SubscriptionUpcomingRenewal currency
|
|
148817
148824
|
* @property {number|null} [renewalTermLength] SubscriptionUpcomingRenewal renewalTermLength
|
|
148825
|
+
* @property {subscription.SubscriptionPlatform|null} [platform] SubscriptionUpcomingRenewal platform
|
|
148818
148826
|
*/
|
|
148819
148827
|
|
|
148820
148828
|
/**
|
|
@@ -148912,6 +148920,14 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
148912
148920
|
*/
|
|
148913
148921
|
SubscriptionUpcomingRenewal.prototype.renewalTermLength = 0;
|
|
148914
148922
|
|
|
148923
|
+
/**
|
|
148924
|
+
* SubscriptionUpcomingRenewal platform.
|
|
148925
|
+
* @member {subscription.SubscriptionPlatform} platform
|
|
148926
|
+
* @memberof SubscriptionUpcomingRenewal
|
|
148927
|
+
* @instance
|
|
148928
|
+
*/
|
|
148929
|
+
SubscriptionUpcomingRenewal.prototype.platform = 0;
|
|
148930
|
+
|
|
148915
148931
|
/**
|
|
148916
148932
|
* Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
|
|
148917
148933
|
* @function create
|
|
@@ -148956,6 +148972,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
148956
148972
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.currency);
|
|
148957
148973
|
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
148958
148974
|
writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.renewalTermLength);
|
|
148975
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
148976
|
+
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.platform);
|
|
148959
148977
|
return writer;
|
|
148960
148978
|
};
|
|
148961
148979
|
|
|
@@ -149020,6 +149038,9 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
149020
149038
|
case 10:
|
|
149021
149039
|
message.renewalTermLength = reader.uint32();
|
|
149022
149040
|
break;
|
|
149041
|
+
case 11:
|
|
149042
|
+
message.platform = reader.int32();
|
|
149043
|
+
break;
|
|
149023
149044
|
default:
|
|
149024
149045
|
reader.skipType(tag & 7);
|
|
149025
149046
|
break;
|
|
@@ -149099,6 +149120,21 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
149099
149120
|
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
149100
149121
|
if (!$util.isInteger(message.renewalTermLength))
|
|
149101
149122
|
return "renewalTermLength: integer expected";
|
|
149123
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
149124
|
+
switch (message.platform) {
|
|
149125
|
+
default:
|
|
149126
|
+
return "platform: enum value expected";
|
|
149127
|
+
case 0:
|
|
149128
|
+
case 1:
|
|
149129
|
+
case 2:
|
|
149130
|
+
case 3:
|
|
149131
|
+
case 4:
|
|
149132
|
+
case 5:
|
|
149133
|
+
case 6:
|
|
149134
|
+
case 7:
|
|
149135
|
+
case 8:
|
|
149136
|
+
break;
|
|
149137
|
+
}
|
|
149102
149138
|
return null;
|
|
149103
149139
|
};
|
|
149104
149140
|
|
|
@@ -149168,6 +149204,44 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
149168
149204
|
message.currency = String(object.currency);
|
|
149169
149205
|
if (object.renewalTermLength != null)
|
|
149170
149206
|
message.renewalTermLength = object.renewalTermLength >>> 0;
|
|
149207
|
+
switch (object.platform) {
|
|
149208
|
+
case "PLATFORM_UNKNOWN":
|
|
149209
|
+
case 0:
|
|
149210
|
+
message.platform = 0;
|
|
149211
|
+
break;
|
|
149212
|
+
case "ITUNES":
|
|
149213
|
+
case 1:
|
|
149214
|
+
message.platform = 1;
|
|
149215
|
+
break;
|
|
149216
|
+
case "PLAY_STORE":
|
|
149217
|
+
case 2:
|
|
149218
|
+
message.platform = 2;
|
|
149219
|
+
break;
|
|
149220
|
+
case "ZUORA":
|
|
149221
|
+
case 3:
|
|
149222
|
+
message.platform = 3;
|
|
149223
|
+
break;
|
|
149224
|
+
case "HEADSPACE":
|
|
149225
|
+
case 4:
|
|
149226
|
+
message.platform = 4;
|
|
149227
|
+
break;
|
|
149228
|
+
case "SPOTIFY":
|
|
149229
|
+
case 5:
|
|
149230
|
+
message.platform = 5;
|
|
149231
|
+
break;
|
|
149232
|
+
case "AMAZON":
|
|
149233
|
+
case 6:
|
|
149234
|
+
message.platform = 6;
|
|
149235
|
+
break;
|
|
149236
|
+
case "SUBSCRIPTION_PLATFORM_SIKA":
|
|
149237
|
+
case 7:
|
|
149238
|
+
message.platform = 7;
|
|
149239
|
+
break;
|
|
149240
|
+
case "SUBSCRIPTION_PLATFORM_PAPI":
|
|
149241
|
+
case 8:
|
|
149242
|
+
message.platform = 8;
|
|
149243
|
+
break;
|
|
149244
|
+
}
|
|
149171
149245
|
return message;
|
|
149172
149246
|
};
|
|
149173
149247
|
|
|
@@ -149199,6 +149273,7 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
149199
149273
|
object.renewalAmount = 0;
|
|
149200
149274
|
object.currency = "";
|
|
149201
149275
|
object.renewalTermLength = 0;
|
|
149276
|
+
object.platform = options.enums === String ? "PLATFORM_UNKNOWN" : 0;
|
|
149202
149277
|
}
|
|
149203
149278
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
149204
149279
|
object.id = message.id;
|
|
@@ -149223,6 +149298,8 @@ $root.SubscriptionUpcomingRenewal = (function() {
|
|
|
149223
149298
|
object.currency = message.currency;
|
|
149224
149299
|
if (message.renewalTermLength != null && message.hasOwnProperty("renewalTermLength"))
|
|
149225
149300
|
object.renewalTermLength = message.renewalTermLength;
|
|
149301
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
149302
|
+
object.platform = options.enums === String ? $root.subscription.SubscriptionPlatform[message.platform] : message.platform;
|
|
149226
149303
|
return object;
|
|
149227
149304
|
};
|
|
149228
149305
|
|
package/package.json
CHANGED