@headspace/protos-events 1.489.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 +6 -0
- package/lib/index.js +22 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -34643,6 +34643,9 @@ export interface IElfProcessingStats {
|
|
|
34643
34643
|
|
|
34644
34644
|
/** ElfProcessingStats statsByOffering */
|
|
34645
34645
|
statsByOffering?: (elf.IElfOfferingProcessingStats[]|null);
|
|
34646
|
+
|
|
34647
|
+
/** ElfProcessingStats recordsCreated */
|
|
34648
|
+
recordsCreated?: (number|null);
|
|
34646
34649
|
}
|
|
34647
34650
|
|
|
34648
34651
|
/** Represents an ElfProcessingStats. */
|
|
@@ -34714,6 +34717,9 @@ export class ElfProcessingStats implements IElfProcessingStats {
|
|
|
34714
34717
|
/** ElfProcessingStats statsByOffering. */
|
|
34715
34718
|
public statsByOffering: elf.IElfOfferingProcessingStats[];
|
|
34716
34719
|
|
|
34720
|
+
/** ElfProcessingStats recordsCreated. */
|
|
34721
|
+
public recordsCreated: number;
|
|
34722
|
+
|
|
34717
34723
|
/**
|
|
34718
34724
|
* Creates a new ElfProcessingStats instance using the specified properties.
|
|
34719
34725
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -96167,6 +96167,7 @@ $root.ElfProcessingStats = (function() {
|
|
|
96167
96167
|
* @property {string|null} [elfErrorsCsvUrl] ElfProcessingStats elfErrorsCsvUrl
|
|
96168
96168
|
* @property {number|null} [recordsUpdated] ElfProcessingStats recordsUpdated
|
|
96169
96169
|
* @property {Array.<elf.IElfOfferingProcessingStats>|null} [statsByOffering] ElfProcessingStats statsByOffering
|
|
96170
|
+
* @property {number|null} [recordsCreated] ElfProcessingStats recordsCreated
|
|
96170
96171
|
*/
|
|
96171
96172
|
|
|
96172
96173
|
/**
|
|
@@ -96348,6 +96349,14 @@ $root.ElfProcessingStats = (function() {
|
|
|
96348
96349
|
*/
|
|
96349
96350
|
ElfProcessingStats.prototype.statsByOffering = $util.emptyArray;
|
|
96350
96351
|
|
|
96352
|
+
/**
|
|
96353
|
+
* ElfProcessingStats recordsCreated.
|
|
96354
|
+
* @member {number} recordsCreated
|
|
96355
|
+
* @memberof ElfProcessingStats
|
|
96356
|
+
* @instance
|
|
96357
|
+
*/
|
|
96358
|
+
ElfProcessingStats.prototype.recordsCreated = 0;
|
|
96359
|
+
|
|
96351
96360
|
/**
|
|
96352
96361
|
* Creates a new ElfProcessingStats instance using the specified properties.
|
|
96353
96362
|
* @function create
|
|
@@ -96416,6 +96425,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
96416
96425
|
if (message.statsByOffering != null && message.statsByOffering.length)
|
|
96417
96426
|
for (var i = 0; i < message.statsByOffering.length; ++i)
|
|
96418
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);
|
|
96419
96430
|
return writer;
|
|
96420
96431
|
};
|
|
96421
96432
|
|
|
@@ -96524,6 +96535,9 @@ $root.ElfProcessingStats = (function() {
|
|
|
96524
96535
|
message.statsByOffering = [];
|
|
96525
96536
|
message.statsByOffering.push($root.elf.ElfOfferingProcessingStats.decode(reader, reader.uint32()));
|
|
96526
96537
|
break;
|
|
96538
|
+
case 22:
|
|
96539
|
+
message.recordsCreated = reader.int32();
|
|
96540
|
+
break;
|
|
96527
96541
|
default:
|
|
96528
96542
|
reader.skipType(tag & 7);
|
|
96529
96543
|
break;
|
|
@@ -96642,6 +96656,9 @@ $root.ElfProcessingStats = (function() {
|
|
|
96642
96656
|
return "statsByOffering." + error;
|
|
96643
96657
|
}
|
|
96644
96658
|
}
|
|
96659
|
+
if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
|
|
96660
|
+
if (!$util.isInteger(message.recordsCreated))
|
|
96661
|
+
return "recordsCreated: integer expected";
|
|
96645
96662
|
return null;
|
|
96646
96663
|
};
|
|
96647
96664
|
|
|
@@ -96734,6 +96751,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
96734
96751
|
message.statsByOffering[i] = $root.elf.ElfOfferingProcessingStats.fromObject(object.statsByOffering[i]);
|
|
96735
96752
|
}
|
|
96736
96753
|
}
|
|
96754
|
+
if (object.recordsCreated != null)
|
|
96755
|
+
message.recordsCreated = object.recordsCreated | 0;
|
|
96737
96756
|
return message;
|
|
96738
96757
|
};
|
|
96739
96758
|
|
|
@@ -96783,6 +96802,7 @@ $root.ElfProcessingStats = (function() {
|
|
|
96783
96802
|
object.fileImportedTimestamp = options.longs === String ? "0" : 0;
|
|
96784
96803
|
object.elfErrorsCsvUrl = "";
|
|
96785
96804
|
object.recordsUpdated = 0;
|
|
96805
|
+
object.recordsCreated = 0;
|
|
96786
96806
|
}
|
|
96787
96807
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
96788
96808
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -96843,6 +96863,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
96843
96863
|
for (var j = 0; j < message.statsByOffering.length; ++j)
|
|
96844
96864
|
object.statsByOffering[j] = $root.elf.ElfOfferingProcessingStats.toObject(message.statsByOffering[j], options);
|
|
96845
96865
|
}
|
|
96866
|
+
if (message.recordsCreated != null && message.hasOwnProperty("recordsCreated"))
|
|
96867
|
+
object.recordsCreated = message.recordsCreated;
|
|
96846
96868
|
return object;
|
|
96847
96869
|
};
|
|
96848
96870
|
|
package/package.json
CHANGED