@gesagro/jaspion-sdk 1.0.5 → 1.0.7
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/dist/index.js +21 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -601,7 +601,7 @@ var FarrowingAnalysis = class extends Report {
|
|
|
601
601
|
{ key: "CALENDAR", value: input.calendarType },
|
|
602
602
|
{ key: "GROUP", value: input.groupBy },
|
|
603
603
|
{ key: "FIELD", value: input.emphasis },
|
|
604
|
-
{ key: "PARITY", value: input.parity },
|
|
604
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
605
605
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
606
606
|
{ key: "BREED_ID", value: input.breedId },
|
|
607
607
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -777,7 +777,7 @@ var FemaleSwineByParityList = class extends Report {
|
|
|
777
777
|
getParameters(input) {
|
|
778
778
|
return [
|
|
779
779
|
{ key: "LOCATE", value: input.language.replace("-", "_") },
|
|
780
|
-
{ key: "PARITY", value: input.parity },
|
|
780
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
781
781
|
{ key: "BREED_ID", value: input.breedId },
|
|
782
782
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
783
783
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -821,9 +821,12 @@ var FemaleSwineByStatusList = class extends Report {
|
|
|
821
821
|
{ key: "STATUS", value: input.status },
|
|
822
822
|
{
|
|
823
823
|
key: "DAYSTODAY_BEGIN",
|
|
824
|
-
value: input.gestationLengthRange?.start ?? null
|
|
824
|
+
value: input.gestationLengthRange?.start.toString() ?? null
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
key: "DAYSTODAY_END",
|
|
828
|
+
value: input.gestationLengthRange?.end.toString() ?? null
|
|
825
829
|
},
|
|
826
|
-
{ key: "DAYSTODAY_END", value: input.gestationLengthRange?.end ?? null },
|
|
827
830
|
{ key: "CALENDAR", value: input.calendarType },
|
|
828
831
|
{
|
|
829
832
|
key: "LAST_EVENT_DATE_BEGIN",
|
|
@@ -833,7 +836,7 @@ var FemaleSwineByStatusList = class extends Report {
|
|
|
833
836
|
key: "LAST_EVENT_DATE_END",
|
|
834
837
|
value: input.lastEventDateRange?.end ?? null
|
|
835
838
|
},
|
|
836
|
-
{ key: "PARITY", value: input.parity },
|
|
839
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
837
840
|
{ key: "BREED_ID", value: input.breedId },
|
|
838
841
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
839
842
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -910,7 +913,7 @@ var FemaleSwineDeathAnalysis = class extends Report {
|
|
|
910
913
|
{ key: "DATE_BEGIN", value: input.dateRange?.start ?? null },
|
|
911
914
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
912
915
|
{ key: "CAUSE_ID", value: input.causeId },
|
|
913
|
-
{ key: "PARITY", value: input.parity },
|
|
916
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
914
917
|
{ key: "BREED_ID", value: input.breedId },
|
|
915
918
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
916
919
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -975,7 +978,7 @@ var FemaleSwineDeathList = class extends Report {
|
|
|
975
978
|
{ key: "DATE_BEGIN", value: input.dateRange?.start ?? null },
|
|
976
979
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
977
980
|
{ key: "CAUSE_ID", value: input.causeId },
|
|
978
|
-
{ key: "PARITY", value: input.parity },
|
|
981
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
979
982
|
{ key: "BREED_ID", value: input.breedId },
|
|
980
983
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
981
984
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -1006,7 +1009,7 @@ var FemaleSwineDiscardAnalysis = class extends Report {
|
|
|
1006
1009
|
{ key: "DATE_BEGIN", value: input.dateRange?.start ?? null },
|
|
1007
1010
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
1008
1011
|
{ key: "CAUSE_ID", value: input.causeId },
|
|
1009
|
-
{ key: "PARITY", value: input.parity },
|
|
1012
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
1010
1013
|
{ key: "BREED_ID", value: input.breedId },
|
|
1011
1014
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
1012
1015
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -1075,7 +1078,7 @@ var FemaleSwineDiscardList = class extends Report {
|
|
|
1075
1078
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
1076
1079
|
{ key: "DATE_BEGIN", value: input.dateRange?.start ?? null },
|
|
1077
1080
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
1078
|
-
{ key: "PARITY", value: input.parity },
|
|
1081
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
1079
1082
|
{ key: "RECIPIENT_ID", value: input.recipientId },
|
|
1080
1083
|
{ key: "STATUS", value: input.status },
|
|
1081
1084
|
{ key: "CALENDAR", value: input.calendarType },
|
|
@@ -1582,7 +1585,7 @@ var HeatDetectionList = class extends Report {
|
|
|
1582
1585
|
{ key: "DATE_BEGIN", value: input.dateRange?.start ?? null },
|
|
1583
1586
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
1584
1587
|
{ key: "FEMALE_SWINE_ID", value: input.femaleSwineId },
|
|
1585
|
-
{ key: "NUMBER", value: input.number },
|
|
1588
|
+
{ key: "NUMBER", value: input.number?.toString() ?? null },
|
|
1586
1589
|
{ key: "STIMULUS", value: input.stimulus },
|
|
1587
1590
|
{ key: "ORDERBYDIRECTION", value: input.orderBy.direction },
|
|
1588
1591
|
{ key: "ORDERBYCOLUMN", value: input.orderBy.column }
|
|
@@ -1712,7 +1715,7 @@ var MaternityPigletDeathList = class extends Report {
|
|
|
1712
1715
|
{ key: "DATE_BEGIN", value: input.dateRange?.start ?? null },
|
|
1713
1716
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
1714
1717
|
{ key: "FEMALE_SWINE_ID", value: input.femaleSwineId },
|
|
1715
|
-
{ key: "PARITY", value: input.parity },
|
|
1718
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
1716
1719
|
{ key: "CONTEXT", value: input.context },
|
|
1717
1720
|
{ key: "EMPLOYEE_ID", value: input.employeeId },
|
|
1718
1721
|
{ key: "CAUSE_ID", value: input.causeId }
|
|
@@ -1751,7 +1754,7 @@ var MatingAnalysis = class extends Report {
|
|
|
1751
1754
|
{ key: "CALENDAR", value: input.calendarType },
|
|
1752
1755
|
{ key: "GROUP", value: input.groupBy },
|
|
1753
1756
|
{ key: "FIELD", value: input.emphasis },
|
|
1754
|
-
{ key: "PARITY", value: input.parity },
|
|
1757
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
1755
1758
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
1756
1759
|
{ key: "BREED_ID", value: input.breedId },
|
|
1757
1760
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -1855,7 +1858,7 @@ var MatingList = class extends Report {
|
|
|
1855
1858
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
1856
1859
|
{ key: "CALENDAR", value: input.calendarType },
|
|
1857
1860
|
{ key: "MANAGEMENT_CYCLE", value: input.managementCycle },
|
|
1858
|
-
{ key: "PARITY", value: input.parity },
|
|
1861
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
1859
1862
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
1860
1863
|
{ key: "BREED_ID", value: input.breedId },
|
|
1861
1864
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -2073,10 +2076,10 @@ var PregnantFemaleSwineList = class extends Report {
|
|
|
2073
2076
|
}
|
|
2074
2077
|
getParameters(input) {
|
|
2075
2078
|
return [
|
|
2079
|
+
{ key: "CALENDAR", value: input.calendarType },
|
|
2076
2080
|
{ key: "MATING_DATE_BEGIN", value: input.matingDateRange.start },
|
|
2077
2081
|
{ key: "MATING_DATE_END", value: input.matingDateRange.end },
|
|
2078
|
-
{ key: "
|
|
2079
|
-
{ key: "GESTATION_WEEK", value: input.gestationWeek }
|
|
2082
|
+
{ key: "GESTATION_WEEK", value: input.gestationWeek.toString() }
|
|
2080
2083
|
];
|
|
2081
2084
|
}
|
|
2082
2085
|
};
|
|
@@ -2156,7 +2159,7 @@ var ReproductiveFailureAnalysis = class extends Report {
|
|
|
2156
2159
|
},
|
|
2157
2160
|
{ key: "MATING_DATE_END", value: input.matingDateRange?.end ?? null },
|
|
2158
2161
|
{ key: "FEMALE_SWINE_ID", value: input.femaleSwineId },
|
|
2159
|
-
{ key: "PARITY", value: input.parity },
|
|
2162
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
2160
2163
|
{ key: "CONTEXT", value: input.context },
|
|
2161
2164
|
{ key: "BREED_ID", value: input.breedId },
|
|
2162
2165
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -2215,7 +2218,7 @@ var ReproductiveFailureList = class extends Report {
|
|
|
2215
2218
|
{ key: "DATE_BEGIN", value: input.dateRange?.start ?? null },
|
|
2216
2219
|
{ key: "DATE_END", value: input.dateRange?.end ?? null },
|
|
2217
2220
|
{ key: "CALENDAR", value: input.calendarType },
|
|
2218
|
-
{ key: "PARITY", value: input.parity },
|
|
2221
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
2219
2222
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
2220
2223
|
{ key: "BREED_ID", value: input.breedId },
|
|
2221
2224
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|
|
@@ -2278,7 +2281,7 @@ var WeaningAnalysis = class extends Report {
|
|
|
2278
2281
|
{ key: "CALENDAR", value: input.calendarType },
|
|
2279
2282
|
{ key: "GROUP", value: input.groupBy },
|
|
2280
2283
|
{ key: "FIELD", value: input.emphasis },
|
|
2281
|
-
{ key: "PARITY", value: input.parity },
|
|
2284
|
+
{ key: "PARITY", value: input.parity?.toString() ?? null },
|
|
2282
2285
|
{ key: "ORIGIN_ID", value: input.originId },
|
|
2283
2286
|
{ key: "BREED_ID", value: input.breedId },
|
|
2284
2287
|
{ key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
|