@headspace/protos-events 1.218.0 → 1.219.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
|
@@ -2114,7 +2114,8 @@ export namespace subscription {
|
|
|
2114
2114
|
SUBSTATE_FREE_TRIAL = 3,
|
|
2115
2115
|
SUBSTATE_PAYING = 4,
|
|
2116
2116
|
SUBSTATE_GRACE = 6,
|
|
2117
|
-
SUBSTATE_CANCELLED = 5
|
|
2117
|
+
SUBSTATE_CANCELLED = 5,
|
|
2118
|
+
SUBSTATE_PAYMENT_PENDING = 7
|
|
2118
2119
|
}
|
|
2119
2120
|
|
|
2120
2121
|
/** SubscriptionMemberState enum. */
|
package/lib/index.js
CHANGED
|
@@ -4841,6 +4841,7 @@ $root.subscription = (function() {
|
|
|
4841
4841
|
* @property {number} SUBSTATE_PAYING=4 SUBSTATE_PAYING value
|
|
4842
4842
|
* @property {number} SUBSTATE_GRACE=6 SUBSTATE_GRACE value
|
|
4843
4843
|
* @property {number} SUBSTATE_CANCELLED=5 SUBSTATE_CANCELLED value
|
|
4844
|
+
* @property {number} SUBSTATE_PAYMENT_PENDING=7 SUBSTATE_PAYMENT_PENDING value
|
|
4844
4845
|
*/
|
|
4845
4846
|
subscription.SubscriptionState = (function() {
|
|
4846
4847
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -4851,6 +4852,7 @@ $root.subscription = (function() {
|
|
|
4851
4852
|
values[valuesById[4] = "SUBSTATE_PAYING"] = 4;
|
|
4852
4853
|
values[valuesById[6] = "SUBSTATE_GRACE"] = 6;
|
|
4853
4854
|
values[valuesById[5] = "SUBSTATE_CANCELLED"] = 5;
|
|
4855
|
+
values[valuesById[7] = "SUBSTATE_PAYMENT_PENDING"] = 7;
|
|
4854
4856
|
return values;
|
|
4855
4857
|
})();
|
|
4856
4858
|
|
|
@@ -69014,6 +69016,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
69014
69016
|
case 4:
|
|
69015
69017
|
case 6:
|
|
69016
69018
|
case 5:
|
|
69019
|
+
case 7:
|
|
69017
69020
|
break;
|
|
69018
69021
|
}
|
|
69019
69022
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -69170,6 +69173,10 @@ $root.SubscriptionCreated = (function() {
|
|
|
69170
69173
|
case 5:
|
|
69171
69174
|
message.subscriptionState = 5;
|
|
69172
69175
|
break;
|
|
69176
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
69177
|
+
case 7:
|
|
69178
|
+
message.subscriptionState = 7;
|
|
69179
|
+
break;
|
|
69173
69180
|
}
|
|
69174
69181
|
if (object.labels) {
|
|
69175
69182
|
if (!Array.isArray(object.labels))
|
|
@@ -69737,6 +69744,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
69737
69744
|
case 4:
|
|
69738
69745
|
case 6:
|
|
69739
69746
|
case 5:
|
|
69747
|
+
case 7:
|
|
69740
69748
|
break;
|
|
69741
69749
|
}
|
|
69742
69750
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -69912,6 +69920,10 @@ $root.SubscriptionCancelled = (function() {
|
|
|
69912
69920
|
case 5:
|
|
69913
69921
|
message.subscriptionState = 5;
|
|
69914
69922
|
break;
|
|
69923
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
69924
|
+
case 7:
|
|
69925
|
+
message.subscriptionState = 7;
|
|
69926
|
+
break;
|
|
69915
69927
|
}
|
|
69916
69928
|
if (object.labels) {
|
|
69917
69929
|
if (!Array.isArray(object.labels))
|
|
@@ -70457,6 +70469,7 @@ $root.SubscriptionRenewed = (function() {
|
|
|
70457
70469
|
case 4:
|
|
70458
70470
|
case 6:
|
|
70459
70471
|
case 5:
|
|
70472
|
+
case 7:
|
|
70460
70473
|
break;
|
|
70461
70474
|
}
|
|
70462
70475
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -70613,6 +70626,10 @@ $root.SubscriptionRenewed = (function() {
|
|
|
70613
70626
|
case 5:
|
|
70614
70627
|
message.subscriptionState = 5;
|
|
70615
70628
|
break;
|
|
70629
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
70630
|
+
case 7:
|
|
70631
|
+
message.subscriptionState = 7;
|
|
70632
|
+
break;
|
|
70616
70633
|
}
|
|
70617
70634
|
if (object.labels) {
|
|
70618
70635
|
if (!Array.isArray(object.labels))
|
|
@@ -72174,6 +72191,7 @@ $root.SubscriptionGraced = (function() {
|
|
|
72174
72191
|
case 4:
|
|
72175
72192
|
case 6:
|
|
72176
72193
|
case 5:
|
|
72194
|
+
case 7:
|
|
72177
72195
|
break;
|
|
72178
72196
|
}
|
|
72179
72197
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -72330,6 +72348,10 @@ $root.SubscriptionGraced = (function() {
|
|
|
72330
72348
|
case 5:
|
|
72331
72349
|
message.subscriptionState = 5;
|
|
72332
72350
|
break;
|
|
72351
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
72352
|
+
case 7:
|
|
72353
|
+
message.subscriptionState = 7;
|
|
72354
|
+
break;
|
|
72333
72355
|
}
|
|
72334
72356
|
if (object.labels) {
|
|
72335
72357
|
if (!Array.isArray(object.labels))
|
|
@@ -72866,6 +72888,7 @@ $root.SubscriptionStarted = (function() {
|
|
|
72866
72888
|
case 4:
|
|
72867
72889
|
case 6:
|
|
72868
72890
|
case 5:
|
|
72891
|
+
case 7:
|
|
72869
72892
|
break;
|
|
72870
72893
|
}
|
|
72871
72894
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -73023,6 +73046,10 @@ $root.SubscriptionStarted = (function() {
|
|
|
73023
73046
|
case 5:
|
|
73024
73047
|
message.subscriptionState = 5;
|
|
73025
73048
|
break;
|
|
73049
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
73050
|
+
case 7:
|
|
73051
|
+
message.subscriptionState = 7;
|
|
73052
|
+
break;
|
|
73026
73053
|
}
|
|
73027
73054
|
if (object.labels) {
|
|
73028
73055
|
if (!Array.isArray(object.labels))
|
|
@@ -73584,6 +73611,7 @@ $root.SubscriptionEnded = (function() {
|
|
|
73584
73611
|
case 4:
|
|
73585
73612
|
case 6:
|
|
73586
73613
|
case 5:
|
|
73614
|
+
case 7:
|
|
73587
73615
|
break;
|
|
73588
73616
|
}
|
|
73589
73617
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -73755,6 +73783,10 @@ $root.SubscriptionEnded = (function() {
|
|
|
73755
73783
|
case 5:
|
|
73756
73784
|
message.subscriptionState = 5;
|
|
73757
73785
|
break;
|
|
73786
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
73787
|
+
case 7:
|
|
73788
|
+
message.subscriptionState = 7;
|
|
73789
|
+
break;
|
|
73758
73790
|
}
|
|
73759
73791
|
if (object.labels) {
|
|
73760
73792
|
if (!Array.isArray(object.labels))
|
|
@@ -74296,6 +74328,7 @@ $root.SubscriptionRecovered = (function() {
|
|
|
74296
74328
|
case 4:
|
|
74297
74329
|
case 6:
|
|
74298
74330
|
case 5:
|
|
74331
|
+
case 7:
|
|
74299
74332
|
break;
|
|
74300
74333
|
}
|
|
74301
74334
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -74453,6 +74486,10 @@ $root.SubscriptionRecovered = (function() {
|
|
|
74453
74486
|
case 5:
|
|
74454
74487
|
message.subscriptionState = 5;
|
|
74455
74488
|
break;
|
|
74489
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
74490
|
+
case 7:
|
|
74491
|
+
message.subscriptionState = 7;
|
|
74492
|
+
break;
|
|
74456
74493
|
}
|
|
74457
74494
|
if (object.labels) {
|
|
74458
74495
|
if (!Array.isArray(object.labels))
|
|
@@ -74991,6 +75028,7 @@ $root.SubscriptionAmended = (function() {
|
|
|
74991
75028
|
case 4:
|
|
74992
75029
|
case 6:
|
|
74993
75030
|
case 5:
|
|
75031
|
+
case 7:
|
|
74994
75032
|
break;
|
|
74995
75033
|
}
|
|
74996
75034
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -75148,6 +75186,10 @@ $root.SubscriptionAmended = (function() {
|
|
|
75148
75186
|
case 5:
|
|
75149
75187
|
message.subscriptionState = 5;
|
|
75150
75188
|
break;
|
|
75189
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
75190
|
+
case 7:
|
|
75191
|
+
message.subscriptionState = 7;
|
|
75192
|
+
break;
|
|
75151
75193
|
}
|
|
75152
75194
|
if (object.labels) {
|
|
75153
75195
|
if (!Array.isArray(object.labels))
|
package/package.json
CHANGED