@headspace/protos-events 1.493.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 CHANGED
@@ -7712,7 +7712,8 @@ export namespace subscription {
7712
7712
  PLAY_STORE = 2,
7713
7713
  ZUORA = 3,
7714
7714
  HEADSPACE = 4,
7715
- SPOTIFY = 5
7715
+ SPOTIFY = 5,
7716
+ AMAZON = 6
7716
7717
  }
7717
7718
 
7718
7719
  /** AutoRenewalStatus enum. */
@@ -34867,8 +34868,8 @@ export interface IElfProcessingStats {
34867
34868
  /** ElfProcessingStats statsByOffering */
34868
34869
  statsByOffering?: (elf.IElfOfferingProcessingStats[]|null);
34869
34870
 
34870
- /** ElfProcessingStats recordsCreated */
34871
- recordsCreated?: (number|null);
34871
+ /** ElfProcessingStats recordsToBecomeEligible */
34872
+ recordsToBecomeEligible?: (number|null);
34872
34873
  }
34873
34874
 
34874
34875
  /** Represents an ElfProcessingStats. */
@@ -34940,8 +34941,8 @@ export class ElfProcessingStats implements IElfProcessingStats {
34940
34941
  /** ElfProcessingStats statsByOffering. */
34941
34942
  public statsByOffering: elf.IElfOfferingProcessingStats[];
34942
34943
 
34943
- /** ElfProcessingStats recordsCreated. */
34944
- public recordsCreated: number;
34944
+ /** ElfProcessingStats recordsToBecomeEligible. */
34945
+ public recordsToBecomeEligible: number;
34945
34946
 
34946
34947
  /**
34947
34948
  * Creates a new ElfProcessingStats instance using the specified properties.
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
 
@@ -96812,7 +96814,7 @@ $root.ElfProcessingStats = (function() {
96812
96814
  * @property {string|null} [elfErrorsCsvUrl] ElfProcessingStats elfErrorsCsvUrl
96813
96815
  * @property {number|null} [recordsUpdated] ElfProcessingStats recordsUpdated
96814
96816
  * @property {Array.<elf.IElfOfferingProcessingStats>|null} [statsByOffering] ElfProcessingStats statsByOffering
96815
- * @property {number|null} [recordsCreated] ElfProcessingStats recordsCreated
96817
+ * @property {number|null} [recordsToBecomeEligible] ElfProcessingStats recordsToBecomeEligible
96816
96818
  */
96817
96819
 
96818
96820
  /**
@@ -96995,12 +96997,12 @@ $root.ElfProcessingStats = (function() {
96995
96997
  ElfProcessingStats.prototype.statsByOffering = $util.emptyArray;
96996
96998
 
96997
96999
  /**
96998
- * ElfProcessingStats recordsCreated.
96999
- * @member {number} recordsCreated
97000
+ * ElfProcessingStats recordsToBecomeEligible.
97001
+ * @member {number} recordsToBecomeEligible
97000
97002
  * @memberof ElfProcessingStats
97001
97003
  * @instance
97002
97004
  */
97003
- ElfProcessingStats.prototype.recordsCreated = 0;
97005
+ ElfProcessingStats.prototype.recordsToBecomeEligible = 0;
97004
97006
 
97005
97007
  /**
97006
97008
  * Creates a new ElfProcessingStats instance using the specified properties.
@@ -97070,8 +97072,8 @@ $root.ElfProcessingStats = (function() {
97070
97072
  if (message.statsByOffering != null && message.statsByOffering.length)
97071
97073
  for (var i = 0; i < message.statsByOffering.length; ++i)
97072
97074
  $root.elf.ElfOfferingProcessingStats.encode(message.statsByOffering[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
97073
- if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
97074
- writer.uint32(/* id 22, wireType 0 =*/176).int32(message.recordsCreated);
97075
+ if (message.recordsToBecomeEligible != null && message.hasOwnProperty("recordsToBecomeEligible"))
97076
+ writer.uint32(/* id 22, wireType 0 =*/176).int32(message.recordsToBecomeEligible);
97075
97077
  return writer;
97076
97078
  };
97077
97079
 
@@ -97181,7 +97183,7 @@ $root.ElfProcessingStats = (function() {
97181
97183
  message.statsByOffering.push($root.elf.ElfOfferingProcessingStats.decode(reader, reader.uint32()));
97182
97184
  break;
97183
97185
  case 22:
97184
- message.recordsCreated = reader.int32();
97186
+ message.recordsToBecomeEligible = reader.int32();
97185
97187
  break;
97186
97188
  default:
97187
97189
  reader.skipType(tag & 7);
@@ -97301,9 +97303,9 @@ $root.ElfProcessingStats = (function() {
97301
97303
  return "statsByOffering." + error;
97302
97304
  }
97303
97305
  }
97304
- if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
97305
- if (!$util.isInteger(message.recordsCreated))
97306
- return "recordsCreated: integer expected";
97306
+ if (message.recordsToBecomeEligible != null && message.hasOwnProperty("recordsToBecomeEligible"))
97307
+ if (!$util.isInteger(message.recordsToBecomeEligible))
97308
+ return "recordsToBecomeEligible: integer expected";
97307
97309
  return null;
97308
97310
  };
97309
97311
 
@@ -97396,8 +97398,8 @@ $root.ElfProcessingStats = (function() {
97396
97398
  message.statsByOffering[i] = $root.elf.ElfOfferingProcessingStats.fromObject(object.statsByOffering[i]);
97397
97399
  }
97398
97400
  }
97399
- if (object.recordsCreated != null)
97400
- message.recordsCreated = object.recordsCreated | 0;
97401
+ if (object.recordsToBecomeEligible != null)
97402
+ message.recordsToBecomeEligible = object.recordsToBecomeEligible | 0;
97401
97403
  return message;
97402
97404
  };
97403
97405
 
@@ -97447,7 +97449,7 @@ $root.ElfProcessingStats = (function() {
97447
97449
  object.fileImportedTimestamp = options.longs === String ? "0" : 0;
97448
97450
  object.elfErrorsCsvUrl = "";
97449
97451
  object.recordsUpdated = 0;
97450
- object.recordsCreated = 0;
97452
+ object.recordsToBecomeEligible = 0;
97451
97453
  }
97452
97454
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
97453
97455
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -97508,8 +97510,8 @@ $root.ElfProcessingStats = (function() {
97508
97510
  for (var j = 0; j < message.statsByOffering.length; ++j)
97509
97511
  object.statsByOffering[j] = $root.elf.ElfOfferingProcessingStats.toObject(message.statsByOffering[j], options);
97510
97512
  }
97511
- if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
97512
- object.recordsCreated = message.recordsCreated;
97513
+ if (message.recordsToBecomeEligible != null && message.hasOwnProperty("recordsToBecomeEligible"))
97514
+ object.recordsToBecomeEligible = message.recordsToBecomeEligible;
97513
97515
  return object;
97514
97516
  };
97515
97517
 
@@ -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
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.493.0"
19
+ "version": "1.495.0"
20
20
  }