@headspace/protos-events 1.494.0 → 1.495.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 +2 -1
- package/lib/index.js +42 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -18296,6 +18296,7 @@ $root.subscription = (function() {
|
|
|
18296
18296
|
* @property {number} ZUORA=3 ZUORA value
|
|
18297
18297
|
* @property {number} HEADSPACE=4 HEADSPACE value
|
|
18298
18298
|
* @property {number} SPOTIFY=5 SPOTIFY value
|
|
18299
|
+
* @property {number} AMAZON=6 AMAZON value
|
|
18299
18300
|
*/
|
|
18300
18301
|
subscription.SubscriptionPlatform = (function() {
|
|
18301
18302
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -18305,6 +18306,7 @@ $root.subscription = (function() {
|
|
|
18305
18306
|
values[valuesById[3] = "ZUORA"] = 3;
|
|
18306
18307
|
values[valuesById[4] = "HEADSPACE"] = 4;
|
|
18307
18308
|
values[valuesById[5] = "SPOTIFY"] = 5;
|
|
18309
|
+
values[valuesById[6] = "AMAZON"] = 6;
|
|
18308
18310
|
return values;
|
|
18309
18311
|
})();
|
|
18310
18312
|
|
|
@@ -122464,6 +122466,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
122464
122466
|
case 3:
|
|
122465
122467
|
case 4:
|
|
122466
122468
|
case 5:
|
|
122469
|
+
case 6:
|
|
122467
122470
|
break;
|
|
122468
122471
|
}
|
|
122469
122472
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -122612,6 +122615,10 @@ $root.SubscriptionCreated = (function() {
|
|
|
122612
122615
|
case 5:
|
|
122613
122616
|
message.platform = 5;
|
|
122614
122617
|
break;
|
|
122618
|
+
case "AMAZON":
|
|
122619
|
+
case 6:
|
|
122620
|
+
message.platform = 6;
|
|
122621
|
+
break;
|
|
122615
122622
|
}
|
|
122616
122623
|
switch (object.autoRenewalStatus) {
|
|
122617
122624
|
case "UNKNOWN_STATUS":
|
|
@@ -123245,6 +123252,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
123245
123252
|
case 3:
|
|
123246
123253
|
case 4:
|
|
123247
123254
|
case 5:
|
|
123255
|
+
case 6:
|
|
123248
123256
|
break;
|
|
123249
123257
|
}
|
|
123250
123258
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -123407,6 +123415,10 @@ $root.SubscriptionCancelled = (function() {
|
|
|
123407
123415
|
case 5:
|
|
123408
123416
|
message.platform = 5;
|
|
123409
123417
|
break;
|
|
123418
|
+
case "AMAZON":
|
|
123419
|
+
case 6:
|
|
123420
|
+
message.platform = 6;
|
|
123421
|
+
break;
|
|
123410
123422
|
}
|
|
123411
123423
|
switch (object.autoRenewalStatus) {
|
|
123412
123424
|
case "UNKNOWN_STATUS":
|
|
@@ -124041,6 +124053,7 @@ $root.SubscriptionRenewed = (function() {
|
|
|
124041
124053
|
case 3:
|
|
124042
124054
|
case 4:
|
|
124043
124055
|
case 5:
|
|
124056
|
+
case 6:
|
|
124044
124057
|
break;
|
|
124045
124058
|
}
|
|
124046
124059
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -124189,6 +124202,10 @@ $root.SubscriptionRenewed = (function() {
|
|
|
124189
124202
|
case 5:
|
|
124190
124203
|
message.platform = 5;
|
|
124191
124204
|
break;
|
|
124205
|
+
case "AMAZON":
|
|
124206
|
+
case 6:
|
|
124207
|
+
message.platform = 6;
|
|
124208
|
+
break;
|
|
124192
124209
|
}
|
|
124193
124210
|
switch (object.autoRenewalStatus) {
|
|
124194
124211
|
case "UNKNOWN_STATUS":
|
|
@@ -125825,6 +125842,7 @@ $root.SubscriptionGraced = (function() {
|
|
|
125825
125842
|
case 3:
|
|
125826
125843
|
case 4:
|
|
125827
125844
|
case 5:
|
|
125845
|
+
case 6:
|
|
125828
125846
|
break;
|
|
125829
125847
|
}
|
|
125830
125848
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -125973,6 +125991,10 @@ $root.SubscriptionGraced = (function() {
|
|
|
125973
125991
|
case 5:
|
|
125974
125992
|
message.platform = 5;
|
|
125975
125993
|
break;
|
|
125994
|
+
case "AMAZON":
|
|
125995
|
+
case 6:
|
|
125996
|
+
message.platform = 6;
|
|
125997
|
+
break;
|
|
125976
125998
|
}
|
|
125977
125999
|
switch (object.autoRenewalStatus) {
|
|
125978
126000
|
case "UNKNOWN_STATUS":
|
|
@@ -126584,6 +126606,7 @@ $root.SubscriptionStarted = (function() {
|
|
|
126584
126606
|
case 3:
|
|
126585
126607
|
case 4:
|
|
126586
126608
|
case 5:
|
|
126609
|
+
case 6:
|
|
126587
126610
|
break;
|
|
126588
126611
|
}
|
|
126589
126612
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -126733,6 +126756,10 @@ $root.SubscriptionStarted = (function() {
|
|
|
126733
126756
|
case 5:
|
|
126734
126757
|
message.platform = 5;
|
|
126735
126758
|
break;
|
|
126759
|
+
case "AMAZON":
|
|
126760
|
+
case 6:
|
|
126761
|
+
message.platform = 6;
|
|
126762
|
+
break;
|
|
126736
126763
|
}
|
|
126737
126764
|
switch (object.autoRenewalStatus) {
|
|
126738
126765
|
case "UNKNOWN_STATUS":
|
|
@@ -127360,6 +127387,7 @@ $root.SubscriptionEnded = (function() {
|
|
|
127360
127387
|
case 3:
|
|
127361
127388
|
case 4:
|
|
127362
127389
|
case 5:
|
|
127390
|
+
case 6:
|
|
127363
127391
|
break;
|
|
127364
127392
|
}
|
|
127365
127393
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -127518,6 +127546,10 @@ $root.SubscriptionEnded = (function() {
|
|
|
127518
127546
|
case 5:
|
|
127519
127547
|
message.platform = 5;
|
|
127520
127548
|
break;
|
|
127549
|
+
case "AMAZON":
|
|
127550
|
+
case 6:
|
|
127551
|
+
message.platform = 6;
|
|
127552
|
+
break;
|
|
127521
127553
|
}
|
|
127522
127554
|
switch (object.autoRenewalStatus) {
|
|
127523
127555
|
case "UNKNOWN_STATUS":
|
|
@@ -128148,6 +128180,7 @@ $root.SubscriptionRecovered = (function() {
|
|
|
128148
128180
|
case 3:
|
|
128149
128181
|
case 4:
|
|
128150
128182
|
case 5:
|
|
128183
|
+
case 6:
|
|
128151
128184
|
break;
|
|
128152
128185
|
}
|
|
128153
128186
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -128297,6 +128330,10 @@ $root.SubscriptionRecovered = (function() {
|
|
|
128297
128330
|
case 5:
|
|
128298
128331
|
message.platform = 5;
|
|
128299
128332
|
break;
|
|
128333
|
+
case "AMAZON":
|
|
128334
|
+
case 6:
|
|
128335
|
+
message.platform = 6;
|
|
128336
|
+
break;
|
|
128300
128337
|
}
|
|
128301
128338
|
switch (object.autoRenewalStatus) {
|
|
128302
128339
|
case "UNKNOWN_STATUS":
|
|
@@ -128910,6 +128947,7 @@ $root.SubscriptionAmended = (function() {
|
|
|
128910
128947
|
case 3:
|
|
128911
128948
|
case 4:
|
|
128912
128949
|
case 5:
|
|
128950
|
+
case 6:
|
|
128913
128951
|
break;
|
|
128914
128952
|
}
|
|
128915
128953
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -129059,6 +129097,10 @@ $root.SubscriptionAmended = (function() {
|
|
|
129059
129097
|
case 5:
|
|
129060
129098
|
message.platform = 5;
|
|
129061
129099
|
break;
|
|
129100
|
+
case "AMAZON":
|
|
129101
|
+
case 6:
|
|
129102
|
+
message.platform = 6;
|
|
129103
|
+
break;
|
|
129062
129104
|
}
|
|
129063
129105
|
switch (object.autoRenewalStatus) {
|
|
129064
129106
|
case "UNKNOWN_STATUS":
|
package/package.json
CHANGED