@headspace/protos-events 1.814.0 → 1.815.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 +4 -1
- package/lib/index.js +42 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -101571,7 +101571,10 @@ export namespace subscription {
|
|
|
101571
101571
|
enum SubscriptionLabels {
|
|
101572
101572
|
|
|
101573
101573
|
/** SUBLABEL_FREE_TRIAL value */
|
|
101574
|
-
SUBLABEL_FREE_TRIAL = 0
|
|
101574
|
+
SUBLABEL_FREE_TRIAL = 0,
|
|
101575
|
+
|
|
101576
|
+
/** SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION value */
|
|
101577
|
+
SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION = 1
|
|
101575
101578
|
}
|
|
101576
101579
|
|
|
101577
101580
|
/** SubscriptionState enum. */
|
package/lib/index.js
CHANGED
|
@@ -284574,6 +284574,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
284574
284574
|
default:
|
|
284575
284575
|
return "labels: enum value[] expected";
|
|
284576
284576
|
case 0:
|
|
284577
|
+
case 1:
|
|
284577
284578
|
break;
|
|
284578
284579
|
}
|
|
284579
284580
|
}
|
|
@@ -284797,6 +284798,10 @@ $root.SubscriptionCreated = (function() {
|
|
|
284797
284798
|
case 0:
|
|
284798
284799
|
message.labels[i] = 0;
|
|
284799
284800
|
break;
|
|
284801
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
284802
|
+
case 1:
|
|
284803
|
+
message.labels[i] = 1;
|
|
284804
|
+
break;
|
|
284800
284805
|
}
|
|
284801
284806
|
}
|
|
284802
284807
|
if (object.isQueuedSubscription != null)
|
|
@@ -285600,6 +285605,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
285600
285605
|
default:
|
|
285601
285606
|
return "labels: enum value[] expected";
|
|
285602
285607
|
case 0:
|
|
285608
|
+
case 1:
|
|
285603
285609
|
break;
|
|
285604
285610
|
}
|
|
285605
285611
|
}
|
|
@@ -285852,6 +285858,10 @@ $root.SubscriptionCancelled = (function() {
|
|
|
285852
285858
|
case 0:
|
|
285853
285859
|
message.labels[i] = 0;
|
|
285854
285860
|
break;
|
|
285861
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
285862
|
+
case 1:
|
|
285863
|
+
message.labels[i] = 1;
|
|
285864
|
+
break;
|
|
285855
285865
|
}
|
|
285856
285866
|
}
|
|
285857
285867
|
if (object.renewalCount != null)
|
|
@@ -286934,6 +286944,7 @@ $root.SubscriptionRenewed = (function() {
|
|
|
286934
286944
|
default:
|
|
286935
286945
|
return "labels: enum value[] expected";
|
|
286936
286946
|
case 0:
|
|
286947
|
+
case 1:
|
|
286937
286948
|
break;
|
|
286938
286949
|
}
|
|
286939
286950
|
}
|
|
@@ -287157,6 +287168,10 @@ $root.SubscriptionRenewed = (function() {
|
|
|
287157
287168
|
case 0:
|
|
287158
287169
|
message.labels[i] = 0;
|
|
287159
287170
|
break;
|
|
287171
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
287172
|
+
case 1:
|
|
287173
|
+
message.labels[i] = 1;
|
|
287174
|
+
break;
|
|
287160
287175
|
}
|
|
287161
287176
|
}
|
|
287162
287177
|
if (object.renewalCount != null)
|
|
@@ -289417,6 +289432,7 @@ $root.SubscriptionGraced = (function() {
|
|
|
289417
289432
|
default:
|
|
289418
289433
|
return "labels: enum value[] expected";
|
|
289419
289434
|
case 0:
|
|
289435
|
+
case 1:
|
|
289420
289436
|
break;
|
|
289421
289437
|
}
|
|
289422
289438
|
}
|
|
@@ -289640,6 +289656,10 @@ $root.SubscriptionGraced = (function() {
|
|
|
289640
289656
|
case 0:
|
|
289641
289657
|
message.labels[i] = 0;
|
|
289642
289658
|
break;
|
|
289659
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
289660
|
+
case 1:
|
|
289661
|
+
message.labels[i] = 1;
|
|
289662
|
+
break;
|
|
289643
289663
|
}
|
|
289644
289664
|
}
|
|
289645
289665
|
if (object.renewalCount != null)
|
|
@@ -290383,6 +290403,7 @@ $root.SubscriptionStarted = (function() {
|
|
|
290383
290403
|
default:
|
|
290384
290404
|
return "labels: enum value[] expected";
|
|
290385
290405
|
case 0:
|
|
290406
|
+
case 1:
|
|
290386
290407
|
break;
|
|
290387
290408
|
}
|
|
290388
290409
|
}
|
|
@@ -290606,6 +290627,10 @@ $root.SubscriptionStarted = (function() {
|
|
|
290606
290627
|
case 0:
|
|
290607
290628
|
message.labels[i] = 0;
|
|
290608
290629
|
break;
|
|
290630
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
290631
|
+
case 1:
|
|
290632
|
+
message.labels[i] = 1;
|
|
290633
|
+
break;
|
|
290609
290634
|
}
|
|
290610
290635
|
}
|
|
290611
290636
|
if (object.renewalCount != null)
|
|
@@ -291381,6 +291406,7 @@ $root.SubscriptionEnded = (function() {
|
|
|
291381
291406
|
default:
|
|
291382
291407
|
return "labels: enum value[] expected";
|
|
291383
291408
|
case 0:
|
|
291409
|
+
case 1:
|
|
291384
291410
|
break;
|
|
291385
291411
|
}
|
|
291386
291412
|
}
|
|
@@ -291625,6 +291651,10 @@ $root.SubscriptionEnded = (function() {
|
|
|
291625
291651
|
case 0:
|
|
291626
291652
|
message.labels[i] = 0;
|
|
291627
291653
|
break;
|
|
291654
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
291655
|
+
case 1:
|
|
291656
|
+
message.labels[i] = 1;
|
|
291657
|
+
break;
|
|
291628
291658
|
}
|
|
291629
291659
|
}
|
|
291630
291660
|
if (object.renewalCount != null)
|
|
@@ -292373,6 +292403,7 @@ $root.SubscriptionRecovered = (function() {
|
|
|
292373
292403
|
default:
|
|
292374
292404
|
return "labels: enum value[] expected";
|
|
292375
292405
|
case 0:
|
|
292406
|
+
case 1:
|
|
292376
292407
|
break;
|
|
292377
292408
|
}
|
|
292378
292409
|
}
|
|
@@ -292596,6 +292627,10 @@ $root.SubscriptionRecovered = (function() {
|
|
|
292596
292627
|
case 0:
|
|
292597
292628
|
message.labels[i] = 0;
|
|
292598
292629
|
break;
|
|
292630
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
292631
|
+
case 1:
|
|
292632
|
+
message.labels[i] = 1;
|
|
292633
|
+
break;
|
|
292599
292634
|
}
|
|
292600
292635
|
}
|
|
292601
292636
|
if (object.renewalCount != null)
|
|
@@ -293343,6 +293378,7 @@ $root.SubscriptionAmended = (function() {
|
|
|
293343
293378
|
default:
|
|
293344
293379
|
return "labels: enum value[] expected";
|
|
293345
293380
|
case 0:
|
|
293381
|
+
case 1:
|
|
293346
293382
|
break;
|
|
293347
293383
|
}
|
|
293348
293384
|
}
|
|
@@ -293566,6 +293602,10 @@ $root.SubscriptionAmended = (function() {
|
|
|
293566
293602
|
case 0:
|
|
293567
293603
|
message.labels[i] = 0;
|
|
293568
293604
|
break;
|
|
293605
|
+
case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
|
|
293606
|
+
case 1:
|
|
293607
|
+
message.labels[i] = 1;
|
|
293608
|
+
break;
|
|
293569
293609
|
}
|
|
293570
293610
|
}
|
|
293571
293611
|
if (object.renewalCount != null)
|
|
@@ -298648,10 +298688,12 @@ $root.subscription = (function() {
|
|
|
298648
298688
|
* @name subscription.SubscriptionLabels
|
|
298649
298689
|
* @enum {number}
|
|
298650
298690
|
* @property {number} SUBLABEL_FREE_TRIAL=0 SUBLABEL_FREE_TRIAL value
|
|
298691
|
+
* @property {number} SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION=1 SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION value
|
|
298651
298692
|
*/
|
|
298652
298693
|
subscription.SubscriptionLabels = (function() {
|
|
298653
298694
|
var valuesById = {}, values = Object.create(valuesById);
|
|
298654
298695
|
values[valuesById[0] = "SUBLABEL_FREE_TRIAL"] = 0;
|
|
298696
|
+
values[valuesById[1] = "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION"] = 1;
|
|
298655
298697
|
return values;
|
|
298656
298698
|
})();
|
|
298657
298699
|
|
package/package.json
CHANGED