@gesagro/jaspion-sdk 2.0.2 → 2.0.4

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
@@ -1384,7 +1384,7 @@ interface WeaningForecastInput {
1384
1384
  end: number;
1385
1385
  } | null;
1386
1386
  context: MaternityContext | null;
1387
- orderBy: OrderBy<'earTag' | 'lactatingLength' | 'parity' | 'locationName' | 'createdAt'>;
1387
+ orderBy: OrderBy<'earTag' | 'lactationLength' | 'parity' | 'locationName' | 'createdAt'>;
1388
1388
  }
1389
1389
  declare class WeaningForecast extends Report implements PdfReport, CsvReport {
1390
1390
  readonly template = "@pig-master/weaning-forecast";
package/dist/index.d.ts CHANGED
@@ -1384,7 +1384,7 @@ interface WeaningForecastInput {
1384
1384
  end: number;
1385
1385
  } | null;
1386
1386
  context: MaternityContext | null;
1387
- orderBy: OrderBy<'earTag' | 'lactatingLength' | 'parity' | 'locationName' | 'createdAt'>;
1387
+ orderBy: OrderBy<'earTag' | 'lactationLength' | 'parity' | 'locationName' | 'createdAt'>;
1388
1388
  }
1389
1389
  declare class WeaningForecast extends Report implements PdfReport, CsvReport {
1390
1390
  readonly template = "@pig-master/weaning-forecast";
package/dist/index.js CHANGED
@@ -2503,6 +2503,7 @@ var WeaningForecast = class extends Report {
2503
2503
  key: "MAX_LACTATION_DAYS",
2504
2504
  value: input.lactationLengthRange?.end.toString() ?? null
2505
2505
  },
2506
+ { key: "CONTEXT", value: input.context },
2506
2507
  { key: "ORDERBYDIRECTION", value: input.orderBy.direction },
2507
2508
  { key: "ORDERBYCOLUMN", value: toSnakeCase(input.orderBy.column) }
2508
2509
  ];