@gesagro/jaspion-sdk 1.0.7 → 1.0.8

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.d.mts CHANGED
@@ -1275,8 +1275,8 @@ interface WeaningAnalysisInput {
1275
1275
  breedId: string | null;
1276
1276
  birthPlaceId: string | null;
1277
1277
  femaleSwineId: string | null;
1278
- language: Language;
1279
1278
  context: MaternityContext | null;
1279
+ nurseryPigletBatchId: string | null;
1280
1280
  }
1281
1281
  declare class WeaningAnalysis extends Report implements PdfReport {
1282
1282
  readonly template = "@pig-master/weaning-analysis";
package/dist/index.d.ts CHANGED
@@ -1275,8 +1275,8 @@ interface WeaningAnalysisInput {
1275
1275
  breedId: string | null;
1276
1276
  birthPlaceId: string | null;
1277
1277
  femaleSwineId: string | null;
1278
- language: Language;
1279
1278
  context: MaternityContext | null;
1279
+ nurseryPigletBatchId: string | null;
1280
1280
  }
1281
1281
  declare class WeaningAnalysis extends Report implements PdfReport {
1282
1282
  readonly template = "@pig-master/weaning-analysis";
package/dist/index.js CHANGED
@@ -2312,13 +2312,13 @@ var WeaningAnalysis = class extends Report {
2312
2312
  { key: "BREED_ID", value: input.breedId },
2313
2313
  { key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
2314
2314
  { key: "FEMALE_SWINE_ID", value: input.femaleSwineId },
2315
- { key: "LOCATE", value: input.language.replace("-", "_") },
2316
2315
  {
2317
2316
  key: "MATING_DATE_BEGIN",
2318
2317
  value: input.matingDateRange?.start ?? null
2319
2318
  },
2320
2319
  { key: "MATING_DATE_END", value: input.matingDateRange?.end ?? null },
2321
- { key: "CONTEXT", value: input.context }
2320
+ { key: "CONTEXT", value: input.context },
2321
+ { key: "PIGLET_BATCH_ID", value: input.nurseryPigletBatchId }
2322
2322
  ]
2323
2323
  });
2324
2324
  }