@gesagro/jaspion-sdk 2.0.5 → 2.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.d.mts CHANGED
@@ -1257,6 +1257,8 @@ interface PregnantFemaleSwineSaleListInput {
1257
1257
  recipientId: string | null;
1258
1258
  orderBy: OrderBy<PregnantFemaleSwineSalesOrderByColumns>;
1259
1259
  originId: string | null;
1260
+ breedId: string | null;
1261
+ birthPlaceId: string | null;
1260
1262
  yearPeriod: YearPeriod;
1261
1263
  }
1262
1264
  declare class PregnantFemaleSwineSaleList extends Report implements PdfReport, CsvReport {
@@ -1351,7 +1353,7 @@ declare class ScoreList extends Report implements PdfReport, CsvReport {
1351
1353
  }
1352
1354
 
1353
1355
  type WeaningAnalysisGroupBy = 'year-period' | 'parity' | 'breed';
1354
- type WeaningAnalysisEmphasis = 'weaning-count' | 'weaning-percentage' | 'lactating-weaning-count' | 'nurse-sow-weaning-count' | 'piglet-batch-count' | 'liveborn-count' | 'weaned-piglet-count' | 'average-weaned-piglets' | 'dead-piglet-count' | 'dead-piglet-percentage' | 'estimated-dead-piglet-percentage' | 'transferred-piglet-count' | 'received-piglet-count' | 'weaned-litter-weight-sum' | 'average-weaned-litter-weight';
1356
+ type WeaningAnalysisEmphasis = 'weaning-count' | 'weaning-percentage' | 'lactating-weaning-count' | 'piglet-batch-count' | 'weaned-piglet-count' | 'average-weaned-piglet-count' | 'weaned-litter-weight' | 'average-weaned-piglet-weight' | 'nurse-sow-weaning-count' | 'dead-piglet-count' | 'dead-piglet-percentage' | 'estimated-dead-piglet-percentage' | 'liveborn-count' | 'transferred-piglet-count' | 'received-piglet-count';
1355
1357
  interface WeaningAnalysisInput {
1356
1358
  farmId: string;
1357
1359
  dateRange: {
package/dist/index.d.ts CHANGED
@@ -1257,6 +1257,8 @@ interface PregnantFemaleSwineSaleListInput {
1257
1257
  recipientId: string | null;
1258
1258
  orderBy: OrderBy<PregnantFemaleSwineSalesOrderByColumns>;
1259
1259
  originId: string | null;
1260
+ breedId: string | null;
1261
+ birthPlaceId: string | null;
1260
1262
  yearPeriod: YearPeriod;
1261
1263
  }
1262
1264
  declare class PregnantFemaleSwineSaleList extends Report implements PdfReport, CsvReport {
@@ -1351,7 +1353,7 @@ declare class ScoreList extends Report implements PdfReport, CsvReport {
1351
1353
  }
1352
1354
 
1353
1355
  type WeaningAnalysisGroupBy = 'year-period' | 'parity' | 'breed';
1354
- type WeaningAnalysisEmphasis = 'weaning-count' | 'weaning-percentage' | 'lactating-weaning-count' | 'nurse-sow-weaning-count' | 'piglet-batch-count' | 'liveborn-count' | 'weaned-piglet-count' | 'average-weaned-piglets' | 'dead-piglet-count' | 'dead-piglet-percentage' | 'estimated-dead-piglet-percentage' | 'transferred-piglet-count' | 'received-piglet-count' | 'weaned-litter-weight-sum' | 'average-weaned-litter-weight';
1356
+ type WeaningAnalysisEmphasis = 'weaning-count' | 'weaning-percentage' | 'lactating-weaning-count' | 'piglet-batch-count' | 'weaned-piglet-count' | 'average-weaned-piglet-count' | 'weaned-litter-weight' | 'average-weaned-piglet-weight' | 'nurse-sow-weaning-count' | 'dead-piglet-count' | 'dead-piglet-percentage' | 'estimated-dead-piglet-percentage' | 'liveborn-count' | 'transferred-piglet-count' | 'received-piglet-count';
1355
1357
  interface WeaningAnalysisInput {
1356
1358
  farmId: string;
1357
1359
  dateRange: {
package/dist/index.js CHANGED
@@ -452,7 +452,7 @@ var BreedingProjection = class extends Report {
452
452
  constructor() {
453
453
  super(...arguments);
454
454
  this.template = "@pig-master/breeding-projection";
455
- this.fileName = "Proje\xE7\xE3o de Reprodu\xE7\xE3o";
455
+ this.fileName = "Proje\xE7\xE3o de reprodu\xE7\xE3o";
456
456
  }
457
457
  async pdf(input) {
458
458
  await this.requestPdf({
@@ -2315,6 +2315,8 @@ var PregnantFemaleSwineSaleList = class extends Report {
2315
2315
  { key: "DUE_DATE_BEGIN", value: input.dueDateRange?.start ?? null },
2316
2316
  { key: "DUE_DATE_END", value: input.dueDateRange?.end ?? null },
2317
2317
  { key: "ORIGIN_ID", value: input.originId },
2318
+ { key: "BREED_ID", value: input.breedId },
2319
+ { key: "BIRTH_PLACE_ID", value: input.birthPlaceId },
2318
2320
  { key: "P_WEEKDAY", value: input.yearPeriod.weekday },
2319
2321
  { key: "P_WEEK", value: input.yearPeriod.week }
2320
2322
  ];