@headspace/protos-events 1.488.0 → 1.490.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 +12 -0
- package/lib/index.js +44 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -29705,6 +29705,9 @@ export interface IEligibilityFileProcessed {
|
|
|
29705
29705
|
|
|
29706
29706
|
/** EligibilityFileProcessed elfErrorsCsvUrl */
|
|
29707
29707
|
elfErrorsCsvUrl?: (string|null);
|
|
29708
|
+
|
|
29709
|
+
/** EligibilityFileProcessed numMembersCreated */
|
|
29710
|
+
numMembersCreated?: (number|null);
|
|
29708
29711
|
}
|
|
29709
29712
|
|
|
29710
29713
|
/** Represents an EligibilityFileProcessed. */
|
|
@@ -29764,6 +29767,9 @@ export class EligibilityFileProcessed implements IEligibilityFileProcessed {
|
|
|
29764
29767
|
/** EligibilityFileProcessed elfErrorsCsvUrl. */
|
|
29765
29768
|
public elfErrorsCsvUrl: string;
|
|
29766
29769
|
|
|
29770
|
+
/** EligibilityFileProcessed numMembersCreated. */
|
|
29771
|
+
public numMembersCreated: number;
|
|
29772
|
+
|
|
29767
29773
|
/**
|
|
29768
29774
|
* Creates a new EligibilityFileProcessed instance using the specified properties.
|
|
29769
29775
|
* @param [properties] Properties to set
|
|
@@ -34637,6 +34643,9 @@ export interface IElfProcessingStats {
|
|
|
34637
34643
|
|
|
34638
34644
|
/** ElfProcessingStats statsByOffering */
|
|
34639
34645
|
statsByOffering?: (elf.IElfOfferingProcessingStats[]|null);
|
|
34646
|
+
|
|
34647
|
+
/** ElfProcessingStats recordsCreated */
|
|
34648
|
+
recordsCreated?: (number|null);
|
|
34640
34649
|
}
|
|
34641
34650
|
|
|
34642
34651
|
/** Represents an ElfProcessingStats. */
|
|
@@ -34708,6 +34717,9 @@ export class ElfProcessingStats implements IElfProcessingStats {
|
|
|
34708
34717
|
/** ElfProcessingStats statsByOffering. */
|
|
34709
34718
|
public statsByOffering: elf.IElfOfferingProcessingStats[];
|
|
34710
34719
|
|
|
34720
|
+
/** ElfProcessingStats recordsCreated. */
|
|
34721
|
+
public recordsCreated: number;
|
|
34722
|
+
|
|
34711
34723
|
/**
|
|
34712
34724
|
* Creates a new ElfProcessingStats instance using the specified properties.
|
|
34713
34725
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -82232,6 +82232,7 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82232
82232
|
* @property {string|null} [orgHeadspaceHealthId] EligibilityFileProcessed orgHeadspaceHealthId
|
|
82233
82233
|
* @property {number|null} [orgSubscriptionId] EligibilityFileProcessed orgSubscriptionId
|
|
82234
82234
|
* @property {string|null} [elfErrorsCsvUrl] EligibilityFileProcessed elfErrorsCsvUrl
|
|
82235
|
+
* @property {number|null} [numMembersCreated] EligibilityFileProcessed numMembersCreated
|
|
82235
82236
|
*/
|
|
82236
82237
|
|
|
82237
82238
|
/**
|
|
@@ -82378,6 +82379,14 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82378
82379
|
*/
|
|
82379
82380
|
EligibilityFileProcessed.prototype.elfErrorsCsvUrl = "";
|
|
82380
82381
|
|
|
82382
|
+
/**
|
|
82383
|
+
* EligibilityFileProcessed numMembersCreated.
|
|
82384
|
+
* @member {number} numMembersCreated
|
|
82385
|
+
* @memberof EligibilityFileProcessed
|
|
82386
|
+
* @instance
|
|
82387
|
+
*/
|
|
82388
|
+
EligibilityFileProcessed.prototype.numMembersCreated = 0;
|
|
82389
|
+
|
|
82381
82390
|
/**
|
|
82382
82391
|
* Creates a new EligibilityFileProcessed instance using the specified properties.
|
|
82383
82392
|
* @function create
|
|
@@ -82435,6 +82444,8 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82435
82444
|
writer.uint32(/* id 15, wireType 0 =*/120).uint32(message.orgSubscriptionId);
|
|
82436
82445
|
if (message.elfErrorsCsvUrl != null && message.hasOwnProperty("elfErrorsCsvUrl"))
|
|
82437
82446
|
writer.uint32(/* id 16, wireType 2 =*/130).string(message.elfErrorsCsvUrl);
|
|
82447
|
+
if (message.numMembersCreated != null && message.hasOwnProperty("numMembersCreated"))
|
|
82448
|
+
writer.uint32(/* id 17, wireType 0 =*/136).uint32(message.numMembersCreated);
|
|
82438
82449
|
return writer;
|
|
82439
82450
|
};
|
|
82440
82451
|
|
|
@@ -82522,6 +82533,9 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82522
82533
|
case 16:
|
|
82523
82534
|
message.elfErrorsCsvUrl = reader.string();
|
|
82524
82535
|
break;
|
|
82536
|
+
case 17:
|
|
82537
|
+
message.numMembersCreated = reader.uint32();
|
|
82538
|
+
break;
|
|
82525
82539
|
default:
|
|
82526
82540
|
reader.skipType(tag & 7);
|
|
82527
82541
|
break;
|
|
@@ -82625,6 +82639,9 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82625
82639
|
if (message.elfErrorsCsvUrl != null && message.hasOwnProperty("elfErrorsCsvUrl"))
|
|
82626
82640
|
if (!$util.isString(message.elfErrorsCsvUrl))
|
|
82627
82641
|
return "elfErrorsCsvUrl: string expected";
|
|
82642
|
+
if (message.numMembersCreated != null && message.hasOwnProperty("numMembersCreated"))
|
|
82643
|
+
if (!$util.isInteger(message.numMembersCreated))
|
|
82644
|
+
return "numMembersCreated: integer expected";
|
|
82628
82645
|
return null;
|
|
82629
82646
|
};
|
|
82630
82647
|
|
|
@@ -82727,6 +82744,8 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82727
82744
|
message.orgSubscriptionId = object.orgSubscriptionId >>> 0;
|
|
82728
82745
|
if (object.elfErrorsCsvUrl != null)
|
|
82729
82746
|
message.elfErrorsCsvUrl = String(object.elfErrorsCsvUrl);
|
|
82747
|
+
if (object.numMembersCreated != null)
|
|
82748
|
+
message.numMembersCreated = object.numMembersCreated >>> 0;
|
|
82730
82749
|
return message;
|
|
82731
82750
|
};
|
|
82732
82751
|
|
|
@@ -82765,6 +82784,7 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82765
82784
|
object.orgHeadspaceHealthId = "";
|
|
82766
82785
|
object.orgSubscriptionId = 0;
|
|
82767
82786
|
object.elfErrorsCsvUrl = "";
|
|
82787
|
+
object.numMembersCreated = 0;
|
|
82768
82788
|
}
|
|
82769
82789
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
82770
82790
|
object.email = $root.Email.toObject(message.email, options);
|
|
@@ -82805,6 +82825,8 @@ $root.EligibilityFileProcessed = (function() {
|
|
|
82805
82825
|
object.orgSubscriptionId = message.orgSubscriptionId;
|
|
82806
82826
|
if (message.elfErrorsCsvUrl != null && message.hasOwnProperty("elfErrorsCsvUrl"))
|
|
82807
82827
|
object.elfErrorsCsvUrl = message.elfErrorsCsvUrl;
|
|
82828
|
+
if (message.numMembersCreated != null && message.hasOwnProperty("numMembersCreated"))
|
|
82829
|
+
object.numMembersCreated = message.numMembersCreated;
|
|
82808
82830
|
return object;
|
|
82809
82831
|
};
|
|
82810
82832
|
|
|
@@ -96145,6 +96167,7 @@ $root.ElfProcessingStats = (function() {
|
|
|
96145
96167
|
* @property {string|null} [elfErrorsCsvUrl] ElfProcessingStats elfErrorsCsvUrl
|
|
96146
96168
|
* @property {number|null} [recordsUpdated] ElfProcessingStats recordsUpdated
|
|
96147
96169
|
* @property {Array.<elf.IElfOfferingProcessingStats>|null} [statsByOffering] ElfProcessingStats statsByOffering
|
|
96170
|
+
* @property {number|null} [recordsCreated] ElfProcessingStats recordsCreated
|
|
96148
96171
|
*/
|
|
96149
96172
|
|
|
96150
96173
|
/**
|
|
@@ -96326,6 +96349,14 @@ $root.ElfProcessingStats = (function() {
|
|
|
96326
96349
|
*/
|
|
96327
96350
|
ElfProcessingStats.prototype.statsByOffering = $util.emptyArray;
|
|
96328
96351
|
|
|
96352
|
+
/**
|
|
96353
|
+
* ElfProcessingStats recordsCreated.
|
|
96354
|
+
* @member {number} recordsCreated
|
|
96355
|
+
* @memberof ElfProcessingStats
|
|
96356
|
+
* @instance
|
|
96357
|
+
*/
|
|
96358
|
+
ElfProcessingStats.prototype.recordsCreated = 0;
|
|
96359
|
+
|
|
96329
96360
|
/**
|
|
96330
96361
|
* Creates a new ElfProcessingStats instance using the specified properties.
|
|
96331
96362
|
* @function create
|
|
@@ -96394,6 +96425,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
96394
96425
|
if (message.statsByOffering != null && message.statsByOffering.length)
|
|
96395
96426
|
for (var i = 0; i < message.statsByOffering.length; ++i)
|
|
96396
96427
|
$root.elf.ElfOfferingProcessingStats.encode(message.statsByOffering[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
96428
|
+
if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
|
|
96429
|
+
writer.uint32(/* id 22, wireType 0 =*/176).int32(message.recordsCreated);
|
|
96397
96430
|
return writer;
|
|
96398
96431
|
};
|
|
96399
96432
|
|
|
@@ -96502,6 +96535,9 @@ $root.ElfProcessingStats = (function() {
|
|
|
96502
96535
|
message.statsByOffering = [];
|
|
96503
96536
|
message.statsByOffering.push($root.elf.ElfOfferingProcessingStats.decode(reader, reader.uint32()));
|
|
96504
96537
|
break;
|
|
96538
|
+
case 22:
|
|
96539
|
+
message.recordsCreated = reader.int32();
|
|
96540
|
+
break;
|
|
96505
96541
|
default:
|
|
96506
96542
|
reader.skipType(tag & 7);
|
|
96507
96543
|
break;
|
|
@@ -96620,6 +96656,9 @@ $root.ElfProcessingStats = (function() {
|
|
|
96620
96656
|
return "statsByOffering." + error;
|
|
96621
96657
|
}
|
|
96622
96658
|
}
|
|
96659
|
+
if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
|
|
96660
|
+
if (!$util.isInteger(message.recordsCreated))
|
|
96661
|
+
return "recordsCreated: integer expected";
|
|
96623
96662
|
return null;
|
|
96624
96663
|
};
|
|
96625
96664
|
|
|
@@ -96712,6 +96751,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
96712
96751
|
message.statsByOffering[i] = $root.elf.ElfOfferingProcessingStats.fromObject(object.statsByOffering[i]);
|
|
96713
96752
|
}
|
|
96714
96753
|
}
|
|
96754
|
+
if (object.recordsCreated != null)
|
|
96755
|
+
message.recordsCreated = object.recordsCreated | 0;
|
|
96715
96756
|
return message;
|
|
96716
96757
|
};
|
|
96717
96758
|
|
|
@@ -96761,6 +96802,7 @@ $root.ElfProcessingStats = (function() {
|
|
|
96761
96802
|
object.fileImportedTimestamp = options.longs === String ? "0" : 0;
|
|
96762
96803
|
object.elfErrorsCsvUrl = "";
|
|
96763
96804
|
object.recordsUpdated = 0;
|
|
96805
|
+
object.recordsCreated = 0;
|
|
96764
96806
|
}
|
|
96765
96807
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
96766
96808
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -96821,6 +96863,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
96821
96863
|
for (var j = 0; j < message.statsByOffering.length; ++j)
|
|
96822
96864
|
object.statsByOffering[j] = $root.elf.ElfOfferingProcessingStats.toObject(message.statsByOffering[j], options);
|
|
96823
96865
|
}
|
|
96866
|
+
if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
|
|
96867
|
+
object.recordsCreated = message.recordsCreated;
|
|
96824
96868
|
return object;
|
|
96825
96869
|
};
|
|
96826
96870
|
|
package/package.json
CHANGED