@gesagro/jaspion-sdk 2.1.2 → 2.1.3
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.cjs +48 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +21 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +48 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1013,6 +1013,50 @@ var FarrowingList = class extends Report {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
};
|
|
1015
1015
|
//#endregion
|
|
1016
|
+
//#region src/namespaces/pig-master/reports/farrowing-rate.ts
|
|
1017
|
+
var FarrowingRate = class extends Report {
|
|
1018
|
+
template = "@pig-master/farrowing-rate";
|
|
1019
|
+
fileName = "Taxa de parição";
|
|
1020
|
+
async pdf(input) {
|
|
1021
|
+
await this.requestPdf({
|
|
1022
|
+
resources: [{
|
|
1023
|
+
key: "FARM_ID",
|
|
1024
|
+
value: input.farmId
|
|
1025
|
+
}],
|
|
1026
|
+
parameters: [
|
|
1027
|
+
{
|
|
1028
|
+
key: "DATE_BEGIN",
|
|
1029
|
+
value: input.dateRange.start
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
key: "DATE_END",
|
|
1033
|
+
value: input.dateRange.end
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
key: "CALENDAR",
|
|
1037
|
+
value: input.calendarType
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
key: "PARITY",
|
|
1041
|
+
value: input.parity?.toString() ?? null
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
key: "BREED_ID",
|
|
1045
|
+
value: input.femaleSwineBreedId
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
key: "BIRTH_PLACE_ID",
|
|
1049
|
+
value: input.femaleSwineBirthPlaceId
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
key: "ORIGIN_ID",
|
|
1053
|
+
value: input.femaleSwineOriginId
|
|
1054
|
+
}
|
|
1055
|
+
]
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
};
|
|
1059
|
+
//#endregion
|
|
1016
1060
|
//#region src/namespaces/pig-master/reports/farrowing-type-list.ts
|
|
1017
1061
|
var FarrowingTypeList = class extends Report {
|
|
1018
1062
|
template = "@pig-master/farrowing-type-list";
|
|
@@ -3582,11 +3626,11 @@ var RetentionRate = class extends Report {
|
|
|
3582
3626
|
},
|
|
3583
3627
|
{
|
|
3584
3628
|
key: "DATE_BEGIN",
|
|
3585
|
-
value: input.dateRange
|
|
3629
|
+
value: input.dateRange.start
|
|
3586
3630
|
},
|
|
3587
3631
|
{
|
|
3588
3632
|
key: "DATE_END",
|
|
3589
|
-
value: input.dateRange
|
|
3633
|
+
value: input.dateRange.end
|
|
3590
3634
|
}
|
|
3591
3635
|
]
|
|
3592
3636
|
});
|
|
@@ -4021,6 +4065,7 @@ var PigMaster = class {
|
|
|
4021
4065
|
maternityPigletDeathList;
|
|
4022
4066
|
weaningList;
|
|
4023
4067
|
farrowingList;
|
|
4068
|
+
farrowingRate;
|
|
4024
4069
|
maternityPigletTransferList;
|
|
4025
4070
|
weaningForecast;
|
|
4026
4071
|
farrowingForecast;
|
|
@@ -4099,6 +4144,7 @@ var PigMaster = class {
|
|
|
4099
4144
|
this.maternityPigletDeathList = new MaternityPigletDeathList(http);
|
|
4100
4145
|
this.weaningList = new WeaningList(http);
|
|
4101
4146
|
this.farrowingList = new FarrowingList(http);
|
|
4147
|
+
this.farrowingRate = new FarrowingRate(http);
|
|
4102
4148
|
this.maternityPigletTransferList = new MaternityPigletTransferList(http);
|
|
4103
4149
|
this.weaningForecast = new WeaningForecast(http);
|
|
4104
4150
|
this.farrowingForecast = new FarrowingForecast(http);
|