@gesagro/jaspion-sdk 1.0.1 → 1.0.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/README.md +7 -0
- package/dist/index.d.mts +1319 -18
- package/dist/index.d.ts +1319 -18
- package/dist/index.js +2307 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2307 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
declare class HttpClient {
|
|
2
|
+
private readonly baseUrl;
|
|
3
|
+
private headers;
|
|
4
|
+
constructor(baseUrl: string);
|
|
5
|
+
setHeader(key: string, value: string): void;
|
|
6
|
+
post(path: string, body: unknown): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface CsvReport {
|
|
10
|
+
csv(input: unknown): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type Language = 'pt-BR';
|
|
14
|
+
|
|
15
|
+
interface PdfReport {
|
|
16
|
+
pdf(input: unknown): Promise<void>;
|
|
17
|
+
}
|
|
2
18
|
|
|
3
19
|
type ContentType = 'application/pdf' | 'text/csv';
|
|
4
20
|
interface Parameter {
|
|
@@ -9,45 +25,1330 @@ interface Resource {
|
|
|
9
25
|
key: string;
|
|
10
26
|
value: string;
|
|
11
27
|
}
|
|
12
|
-
interface ReportConfig {
|
|
13
|
-
template: string;
|
|
14
|
-
fileName: string;
|
|
15
|
-
}
|
|
16
28
|
interface RequestReportInput {
|
|
17
29
|
contentType: ContentType;
|
|
18
30
|
parameters: Parameter[];
|
|
19
31
|
resources: Resource[];
|
|
20
32
|
}
|
|
21
33
|
declare abstract class Report {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
34
|
+
private readonly http;
|
|
35
|
+
abstract readonly template: string;
|
|
36
|
+
abstract fileName: string;
|
|
37
|
+
constructor(http: HttpClient);
|
|
38
|
+
protected requestPdf(input: Omit<RequestReportInput, 'contentType'>): Promise<void>;
|
|
39
|
+
protected requestCsv(input: Omit<RequestReportInput, 'contentType'>): Promise<void>;
|
|
40
|
+
private request;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface BirthPlaceListInput {
|
|
44
|
+
farmId: string;
|
|
45
|
+
language: Language;
|
|
46
|
+
}
|
|
47
|
+
declare class BirthPlaceList extends Report implements PdfReport, CsvReport {
|
|
48
|
+
readonly template = "@pig-master/birth-place-list";
|
|
49
|
+
fileName: string;
|
|
50
|
+
pdf(input: BirthPlaceListInput): Promise<void>;
|
|
51
|
+
csv(input: BirthPlaceListInput): Promise<void>;
|
|
52
|
+
private getResources;
|
|
53
|
+
private getParameters;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
type CalendarType = 'gregorian' | 'millennial';
|
|
57
|
+
|
|
58
|
+
interface BoarByBreedListInput {
|
|
59
|
+
farmId: string;
|
|
60
|
+
language: Language;
|
|
61
|
+
breedId: string | null;
|
|
62
|
+
calendarType: CalendarType;
|
|
63
|
+
}
|
|
64
|
+
declare class BoarByBreedList extends Report implements PdfReport, CsvReport {
|
|
65
|
+
readonly template = "@pig-master/boar-by-breed-list";
|
|
66
|
+
fileName: string;
|
|
67
|
+
pdf(input: BoarByBreedListInput): Promise<void>;
|
|
68
|
+
csv(input: BoarByBreedListInput): Promise<void>;
|
|
69
|
+
private getResources;
|
|
70
|
+
private getParameters;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface BoarDeathCollectionFormInput {
|
|
74
|
+
farmId: string;
|
|
75
|
+
calendarType: CalendarType;
|
|
76
|
+
}
|
|
77
|
+
declare class BoarDeathCollectionForm extends Report implements PdfReport {
|
|
78
|
+
readonly template = "@pig-master/boar-death-collection-form";
|
|
79
|
+
fileName: string;
|
|
80
|
+
pdf(input: BoarDeathCollectionFormInput): Promise<void>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface BoarDeathListInput {
|
|
84
|
+
farmId: string;
|
|
85
|
+
dateRange: {
|
|
86
|
+
start: string;
|
|
87
|
+
end: string;
|
|
88
|
+
} | null;
|
|
89
|
+
arrivalDateRange: {
|
|
90
|
+
start: string;
|
|
91
|
+
end: string;
|
|
92
|
+
} | null;
|
|
93
|
+
language: Language;
|
|
94
|
+
causeId: string | null;
|
|
95
|
+
breedId: string | null;
|
|
96
|
+
originId: string | null;
|
|
97
|
+
birthPlaceId: string | null;
|
|
98
|
+
calendarType: CalendarType;
|
|
99
|
+
}
|
|
100
|
+
declare class BoarDeathList extends Report implements PdfReport, CsvReport {
|
|
101
|
+
readonly template = "@pig-master/boar-death-list";
|
|
102
|
+
fileName: string;
|
|
103
|
+
pdf(input: BoarDeathListInput): Promise<void>;
|
|
104
|
+
csv(input: BoarDeathListInput): Promise<void>;
|
|
105
|
+
private getResources;
|
|
106
|
+
private getParameters;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
interface BoarDiscardCollectionFormInput {
|
|
110
|
+
farmId: string;
|
|
111
|
+
calendarType: CalendarType;
|
|
112
|
+
}
|
|
113
|
+
declare class BoarDiscardCollectionForm extends Report implements PdfReport {
|
|
114
|
+
readonly template = "@pig-master/boar-discard-collection-form";
|
|
115
|
+
fileName: string;
|
|
116
|
+
pdf(input: BoarDiscardCollectionFormInput): Promise<void>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
interface BoarDiscardListInput {
|
|
120
|
+
farmId: string;
|
|
121
|
+
dateRange: {
|
|
122
|
+
start: string;
|
|
123
|
+
end: string;
|
|
124
|
+
} | null;
|
|
125
|
+
arrivalDateRange: {
|
|
126
|
+
start: string;
|
|
127
|
+
end: string;
|
|
128
|
+
} | null;
|
|
129
|
+
language: Language;
|
|
130
|
+
causeId: string | null;
|
|
131
|
+
breedId: string | null;
|
|
132
|
+
originId: string | null;
|
|
133
|
+
birthPlaceId: string | null;
|
|
134
|
+
recipientId: string | null;
|
|
135
|
+
calendarType: CalendarType;
|
|
136
|
+
}
|
|
137
|
+
declare class BoarDiscardList extends Report implements PdfReport, CsvReport {
|
|
138
|
+
readonly template = "@pig-master/boar-discard-list";
|
|
139
|
+
fileName: string;
|
|
140
|
+
pdf(input: BoarDiscardListInput): Promise<void>;
|
|
141
|
+
csv(input: BoarDiscardListInput): Promise<void>;
|
|
142
|
+
private getResources;
|
|
143
|
+
private getParameters;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
interface BoarEarTagReplacementListInput {
|
|
147
|
+
farmId: string;
|
|
148
|
+
dateRange: {
|
|
149
|
+
start: string;
|
|
150
|
+
end: string;
|
|
151
|
+
} | null;
|
|
152
|
+
oldEarTag: string | null;
|
|
153
|
+
newEarTag: string | null;
|
|
154
|
+
calendarType: CalendarType;
|
|
155
|
+
}
|
|
156
|
+
declare class BoarEarTagReplacementList extends Report implements PdfReport, CsvReport {
|
|
157
|
+
readonly template = "@pig-master/boar-ear-tag-replacement-list";
|
|
158
|
+
fileName: string;
|
|
159
|
+
pdf(input: BoarEarTagReplacementListInput): Promise<void>;
|
|
160
|
+
csv(input: BoarEarTagReplacementListInput): Promise<void>;
|
|
161
|
+
private getResources;
|
|
162
|
+
private getParameters;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
interface BoarTreatmentCollectionFormInput {
|
|
166
|
+
farmId: string;
|
|
167
|
+
calendarType: CalendarType;
|
|
168
|
+
}
|
|
169
|
+
declare class BoarTreatmentCollectionForm extends Report implements PdfReport {
|
|
170
|
+
readonly template = "@pig-master/boar-treatment-collection-form";
|
|
171
|
+
fileName: string;
|
|
172
|
+
pdf(input: BoarTreatmentCollectionFormInput): Promise<void>;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
interface BoarTreatmentListInput {
|
|
176
|
+
farmId: string;
|
|
177
|
+
dateRange: {
|
|
178
|
+
start: string;
|
|
179
|
+
end: string;
|
|
180
|
+
} | null;
|
|
181
|
+
calendarType: CalendarType;
|
|
182
|
+
language: Language;
|
|
183
|
+
boarId: string | null;
|
|
184
|
+
}
|
|
185
|
+
declare class BoarTreatmentList extends Report implements PdfReport, CsvReport {
|
|
186
|
+
readonly template = "@pig-master/boar-treatment-list";
|
|
187
|
+
fileName: string;
|
|
188
|
+
pdf(input: BoarTreatmentListInput): Promise<void>;
|
|
189
|
+
csv(input: BoarTreatmentListInput): Promise<void>;
|
|
190
|
+
private getResources;
|
|
191
|
+
private getParameters;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
interface BoarsInventoryInput {
|
|
195
|
+
farmId: string;
|
|
196
|
+
dateRange: {
|
|
197
|
+
start: string;
|
|
198
|
+
end: string;
|
|
199
|
+
};
|
|
200
|
+
calendarType: CalendarType;
|
|
201
|
+
originId: string | null;
|
|
202
|
+
breedId: string | null;
|
|
203
|
+
birthPlaceId: string | null;
|
|
204
|
+
}
|
|
205
|
+
declare class BoarsInventory extends Report implements PdfReport, CsvReport {
|
|
206
|
+
readonly template = "@pig-master/boars-inventory";
|
|
207
|
+
fileName: string;
|
|
208
|
+
pdf(input: BoarsInventoryInput): Promise<void>;
|
|
209
|
+
csv(input: BoarsInventoryInput): Promise<void>;
|
|
210
|
+
private getResources;
|
|
211
|
+
private getParameters;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
interface BreedListInput {
|
|
215
|
+
farmId: string;
|
|
216
|
+
language: Language;
|
|
217
|
+
}
|
|
218
|
+
declare class BreedList extends Report implements PdfReport, CsvReport {
|
|
219
|
+
readonly template = "@pig-master/breed-list";
|
|
220
|
+
fileName: string;
|
|
221
|
+
pdf(input: BreedListInput): Promise<void>;
|
|
222
|
+
csv(input: BreedListInput): Promise<void>;
|
|
223
|
+
private getResources;
|
|
224
|
+
private getParameters;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
interface BreedingMonitorInput {
|
|
228
|
+
farmId: string;
|
|
229
|
+
dateRange: {
|
|
230
|
+
start: string;
|
|
231
|
+
end: string;
|
|
232
|
+
};
|
|
233
|
+
calendarType: CalendarType;
|
|
234
|
+
}
|
|
235
|
+
declare class BreedingMonitor extends Report implements PdfReport {
|
|
236
|
+
readonly template = "@pig-master/breeding-monitor";
|
|
237
|
+
fileName: string;
|
|
238
|
+
pdf(input: BreedingMonitorInput): Promise<void>;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
interface OrderBy<T extends string> {
|
|
242
|
+
column: T;
|
|
243
|
+
direction: 'asc' | 'desc';
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
interface CauseListInput {
|
|
247
|
+
farmId: string;
|
|
248
|
+
language: Language;
|
|
249
|
+
description: string | null;
|
|
250
|
+
orderBy: OrderBy<'name' | 'createdAt'>;
|
|
251
|
+
availability: 'reproductive-failure' | 'female-swine-discard' | 'female-swine-death' | 'boar-discard' | 'boar-death' | 'maternity-piglet-death' | 'nursery-piglet-death' | 'finishing-piglet-death' | 'nursery-piglet-discard' | 'finishing-piglet-discard' | null;
|
|
252
|
+
}
|
|
253
|
+
declare class CauseList extends Report implements PdfReport, CsvReport {
|
|
254
|
+
readonly template = "@pig-master/cause-list";
|
|
255
|
+
fileName: string;
|
|
256
|
+
pdf(input: CauseListInput): Promise<void>;
|
|
257
|
+
csv(input: CauseListInput): Promise<void>;
|
|
258
|
+
private getResources;
|
|
259
|
+
private getParameters;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
interface DrugListInput {
|
|
263
|
+
farmId: string;
|
|
264
|
+
language: Language;
|
|
265
|
+
}
|
|
266
|
+
declare class DrugList extends Report implements PdfReport, CsvReport {
|
|
267
|
+
readonly template = "@pig-master/drug-list";
|
|
268
|
+
fileName: string;
|
|
269
|
+
pdf(input: DrugListInput): Promise<void>;
|
|
270
|
+
csv(input: DrugListInput): Promise<void>;
|
|
271
|
+
private getResources;
|
|
272
|
+
private getParameters;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
interface EmployeeListInput {
|
|
276
|
+
farmId: string;
|
|
277
|
+
language: Language;
|
|
278
|
+
calendarType: CalendarType;
|
|
279
|
+
}
|
|
280
|
+
declare class EmployeeList extends Report implements PdfReport, CsvReport {
|
|
281
|
+
readonly template = "@pig-master/employee-list";
|
|
282
|
+
fileName: string;
|
|
283
|
+
pdf(input: EmployeeListInput): Promise<void>;
|
|
284
|
+
csv(input: EmployeeListInput): Promise<void>;
|
|
285
|
+
private getResources;
|
|
286
|
+
private getParameters;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
interface FarmSummaryInput {
|
|
290
|
+
farmId: string;
|
|
291
|
+
dateRange: {
|
|
292
|
+
start: string;
|
|
293
|
+
end: string;
|
|
294
|
+
};
|
|
295
|
+
calendarType: CalendarType;
|
|
296
|
+
}
|
|
297
|
+
declare class FarmSummary extends Report implements PdfReport, CsvReport {
|
|
298
|
+
readonly template = "@pig-master/farm-summary";
|
|
299
|
+
fileName: string;
|
|
300
|
+
pdf(input: FarmSummaryInput): Promise<void>;
|
|
301
|
+
csv(input: FarmSummaryInput): Promise<void>;
|
|
302
|
+
private getResources;
|
|
303
|
+
private getParameters;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
type FarrowingAnalysisGroupBy = 'year-period' | 'parity' | 'employee' | 'breed' | 'doses' | 'first-mating-age' | 'first-mating-weight' | 'interval-from-weaning' | 'day-of-week' | 'lactation-length' | 'origin' | 'arrival-daily-gain' | 'first-mating-daily-gain';
|
|
307
|
+
type FarrowingAnalysisEmphasis = 'farrowing-count' | 'total-born-count' | 'liveborn-count' | 'liveborn-percentage' | 'average-liveborn' | 'stillborn-count' | 'stillborn-percentage' | 'average-stillborn' | 'mummified-count' | 'mummified-percentage' | 'average-mummified' | 'average-litter-birth-weight' | 'average-farrowing-duration' | 'induction-count' | 'intervention-count' | 'average-gestation-length';
|
|
308
|
+
interface FarrowingAnalysisInput {
|
|
309
|
+
farmId: string;
|
|
310
|
+
dateRange: {
|
|
311
|
+
start: string;
|
|
312
|
+
end: string;
|
|
313
|
+
} | null;
|
|
314
|
+
matingDateRange: {
|
|
315
|
+
start: string;
|
|
316
|
+
end: string;
|
|
317
|
+
} | null;
|
|
318
|
+
calendarType: CalendarType;
|
|
319
|
+
groupBy: FarrowingAnalysisGroupBy;
|
|
320
|
+
emphasis: FarrowingAnalysisEmphasis;
|
|
321
|
+
parity: number | null;
|
|
322
|
+
originId: string | null;
|
|
323
|
+
breedId: string | null;
|
|
324
|
+
birthPlaceId: string | null;
|
|
325
|
+
femaleSwineId: string | null;
|
|
326
|
+
language: Language;
|
|
327
|
+
}
|
|
328
|
+
declare class FarrowingAnalysis extends Report implements PdfReport {
|
|
329
|
+
readonly template = "@pig-master/farrowing-analysis";
|
|
330
|
+
fileName: string;
|
|
331
|
+
pdf(input: FarrowingAnalysisInput): Promise<void>;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
interface FarrowingCollectionFormInput {
|
|
335
|
+
farmId: string;
|
|
336
|
+
calendarType: CalendarType;
|
|
337
|
+
}
|
|
338
|
+
declare class FarrowingCollectionForm extends Report implements PdfReport {
|
|
339
|
+
readonly template = "@pig-master/farrowing-collection-form";
|
|
340
|
+
fileName: string;
|
|
341
|
+
pdf(input: FarrowingCollectionFormInput): Promise<void>;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
interface FarrowingTypeListInput {
|
|
345
|
+
farmId: string;
|
|
346
|
+
language: Language;
|
|
347
|
+
}
|
|
348
|
+
declare class FarrowingTypeList extends Report implements PdfReport, CsvReport {
|
|
349
|
+
readonly template = "@pig-master/farrowing-type-list";
|
|
350
|
+
fileName: string;
|
|
351
|
+
pdf(input: FarrowingTypeListInput): Promise<void>;
|
|
352
|
+
csv(input: FarrowingTypeListInput): Promise<void>;
|
|
353
|
+
private getResources;
|
|
354
|
+
private getParameters;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
interface Pagination {
|
|
358
|
+
page: number;
|
|
359
|
+
perPage: number;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
interface FemaleSwineArrivalMonitoringInput {
|
|
363
|
+
farmId: string;
|
|
364
|
+
dateRange: {
|
|
365
|
+
start: string;
|
|
366
|
+
end: string;
|
|
367
|
+
};
|
|
368
|
+
calendarType: CalendarType;
|
|
369
|
+
pagination: Pagination;
|
|
370
|
+
originId: string | null;
|
|
371
|
+
}
|
|
372
|
+
declare class FemaleSwineArrivalMonitoring extends Report implements PdfReport, CsvReport {
|
|
373
|
+
readonly template = "@pig-master/female-swine-arrival-monitoring";
|
|
374
|
+
fileName: string;
|
|
375
|
+
pdf(input: FemaleSwineArrivalMonitoringInput): Promise<void>;
|
|
376
|
+
csv(input: FemaleSwineArrivalMonitoringInput): Promise<void>;
|
|
377
|
+
private getResources;
|
|
378
|
+
private getParameters;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
type FemaleSwineProductivityStatus = 'productive' | 'non-productive';
|
|
382
|
+
|
|
383
|
+
interface FemaleSwineByBreedListInput {
|
|
384
|
+
farmId: string;
|
|
385
|
+
language: Language;
|
|
386
|
+
breedId: string | null;
|
|
387
|
+
productivityStatus: FemaleSwineProductivityStatus | null;
|
|
388
|
+
calendarType: CalendarType;
|
|
389
|
+
}
|
|
390
|
+
declare class FemaleSwineByBreedList extends Report implements PdfReport, CsvReport {
|
|
391
|
+
readonly template = "@pig-master/female-swine-by-breed-list";
|
|
392
|
+
fileName: string;
|
|
393
|
+
pdf(input: FemaleSwineByBreedListInput): Promise<void>;
|
|
394
|
+
csv(input: FemaleSwineByBreedListInput): Promise<void>;
|
|
395
|
+
private getResources;
|
|
396
|
+
private getParameters;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
type FemaleSwineStatus = 'gilt' | 'pregnant' | 'lactating' | 'empty-by-weaning' | 'empty-by-reproductive-failure' | 'nurse-sow' | 'sow';
|
|
400
|
+
|
|
401
|
+
interface FemaleSwineByParityListInput {
|
|
402
|
+
farmId: string;
|
|
403
|
+
language: Language;
|
|
404
|
+
parity: number | null;
|
|
405
|
+
breedId: string | null;
|
|
406
|
+
originId: string | null;
|
|
407
|
+
birthPlaceId: string | null;
|
|
408
|
+
status: FemaleSwineStatus | null;
|
|
409
|
+
calendarType: CalendarType;
|
|
410
|
+
}
|
|
411
|
+
declare class FemaleSwineByParityList extends Report implements PdfReport, CsvReport {
|
|
412
|
+
readonly template = "@pig-master/female-swine-by-parity-list";
|
|
413
|
+
fileName: string;
|
|
414
|
+
pdf(input: FemaleSwineByParityListInput): Promise<void>;
|
|
415
|
+
csv(input: FemaleSwineByParityListInput): Promise<void>;
|
|
416
|
+
private getResources;
|
|
417
|
+
private getParameters;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
type FemaleSwineLifecycleStatus = 'alive' | 'discarded' | 'dead' | 'sold';
|
|
421
|
+
|
|
422
|
+
type FemaleSwineOrderBy = 'earTag' | 'tattoo' | 'birthDate' | 'arrivalDate' | 'lastEventDate' | 'parity' | 'dueDate' | 'plannedDiscardDate' | 'plannedSaleDate' | 'locationName' | 'createdAt';
|
|
423
|
+
|
|
424
|
+
interface FemaleSwineByStatusListInput {
|
|
425
|
+
farmId: string;
|
|
426
|
+
language: Language;
|
|
427
|
+
status: FemaleSwineStatus | null;
|
|
428
|
+
calendarType: CalendarType;
|
|
429
|
+
gestationLengthRange: {
|
|
430
|
+
start: number;
|
|
431
|
+
end: number;
|
|
432
|
+
} | null;
|
|
433
|
+
lastEventDateRange: {
|
|
434
|
+
start: string;
|
|
435
|
+
end: string;
|
|
436
|
+
} | null;
|
|
437
|
+
parity: number | null;
|
|
438
|
+
breedId: string | null;
|
|
439
|
+
originId: string | null;
|
|
440
|
+
birthPlaceId: string | null;
|
|
441
|
+
lifecycleStatus: FemaleSwineLifecycleStatus | null;
|
|
442
|
+
arrivalDateRange: {
|
|
443
|
+
start: string;
|
|
444
|
+
end: string;
|
|
445
|
+
} | null;
|
|
446
|
+
orderBy: OrderBy<FemaleSwineOrderBy>;
|
|
447
|
+
}
|
|
448
|
+
declare class FemaleSwineByStatusList extends Report implements PdfReport, CsvReport {
|
|
449
|
+
readonly template = "@pig-master/female-swine-by-status-list";
|
|
450
|
+
fileName: string;
|
|
451
|
+
pdf(input: FemaleSwineByStatusListInput): Promise<void>;
|
|
452
|
+
csv(input: FemaleSwineByStatusListInput): Promise<void>;
|
|
453
|
+
private getResources;
|
|
454
|
+
private getParameters;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
interface FemaleSwineByTraceabilityListInput {
|
|
458
|
+
farmId: string;
|
|
459
|
+
language: Language;
|
|
460
|
+
birthPlaceId: string | null;
|
|
461
|
+
originId: string | null;
|
|
462
|
+
gtaId: string | null;
|
|
463
|
+
calendarType: CalendarType;
|
|
464
|
+
arrivalDateRange: {
|
|
465
|
+
start: string;
|
|
466
|
+
end: string;
|
|
467
|
+
} | null;
|
|
468
|
+
lifecycleStatus: FemaleSwineLifecycleStatus | null;
|
|
469
|
+
}
|
|
470
|
+
declare class FemaleSwineByTraceabilityList extends Report implements PdfReport, CsvReport {
|
|
471
|
+
readonly template = "@pig-master/female-swine-by-traceability-list";
|
|
472
|
+
fileName: string;
|
|
473
|
+
pdf(input: FemaleSwineByTraceabilityListInput): Promise<void>;
|
|
474
|
+
csv(input: FemaleSwineByTraceabilityListInput): Promise<void>;
|
|
475
|
+
private getResources;
|
|
476
|
+
private getParameters;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
interface FemaleSwineDeathAnalysisInput {
|
|
480
|
+
farmId: string;
|
|
481
|
+
language: Language;
|
|
482
|
+
groupBy: 'parity' | 'cause';
|
|
483
|
+
dateRange: {
|
|
484
|
+
start: string;
|
|
485
|
+
end: string;
|
|
486
|
+
} | null;
|
|
487
|
+
causeId: string | null;
|
|
488
|
+
parity: number | null;
|
|
489
|
+
breedId: string | null;
|
|
490
|
+
originId: string | null;
|
|
491
|
+
birthPlaceId: string | null;
|
|
492
|
+
status: FemaleSwineStatus | null;
|
|
493
|
+
calendarType: CalendarType;
|
|
494
|
+
arrivalDateRange: {
|
|
495
|
+
start: string;
|
|
496
|
+
end: string;
|
|
497
|
+
} | null;
|
|
498
|
+
}
|
|
499
|
+
declare class FemaleSwineDeathAnalysis extends Report implements PdfReport {
|
|
500
|
+
readonly template = "@pig-master/female-swine-death-analysis";
|
|
501
|
+
fileName: string;
|
|
502
|
+
pdf(input: FemaleSwineDeathAnalysisInput): Promise<void>;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
interface FemaleSwineDeathCollectionFormInput {
|
|
506
|
+
farmId: string;
|
|
507
|
+
calendarType: CalendarType;
|
|
508
|
+
}
|
|
509
|
+
declare class FemaleSwineDeathCollectionForm extends Report implements PdfReport {
|
|
510
|
+
readonly template = "@pig-master/female-swine-death-collection-form";
|
|
511
|
+
fileName: string;
|
|
512
|
+
pdf(input: FemaleSwineDeathCollectionFormInput): Promise<void>;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
interface FemaleSwineDeathListInput {
|
|
516
|
+
farmId: string;
|
|
517
|
+
language: Language;
|
|
518
|
+
dateRange: {
|
|
519
|
+
start: string;
|
|
520
|
+
end: string;
|
|
521
|
+
} | null;
|
|
522
|
+
causeId: string | null;
|
|
523
|
+
parity: number | null;
|
|
524
|
+
breedId: string | null;
|
|
525
|
+
originId: string | null;
|
|
526
|
+
birthPlaceId: string | null;
|
|
527
|
+
status: FemaleSwineStatus | null;
|
|
528
|
+
calendarType: CalendarType;
|
|
529
|
+
arrivalDateRange: {
|
|
530
|
+
start: string;
|
|
531
|
+
end: string;
|
|
532
|
+
} | null;
|
|
533
|
+
}
|
|
534
|
+
declare class FemaleSwineDeathList extends Report implements PdfReport, CsvReport {
|
|
535
|
+
readonly template = "@pig-master/female-swine-death-list";
|
|
536
|
+
fileName: string;
|
|
537
|
+
pdf(input: FemaleSwineDeathListInput): Promise<void>;
|
|
538
|
+
csv(input: FemaleSwineDeathListInput): Promise<void>;
|
|
539
|
+
private getResources;
|
|
540
|
+
private getParameters;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
interface FemaleSwineDiscardAnalysisInput {
|
|
544
|
+
farmId: string;
|
|
545
|
+
language: Language;
|
|
546
|
+
groupBy: 'parity' | 'cause';
|
|
547
|
+
dateRange: {
|
|
548
|
+
start: string;
|
|
549
|
+
end: string;
|
|
550
|
+
} | null;
|
|
551
|
+
causeId: string | null;
|
|
552
|
+
parity: number | null;
|
|
553
|
+
breedId: string | null;
|
|
554
|
+
originId: string | null;
|
|
555
|
+
birthPlaceId: string | null;
|
|
556
|
+
recipientId: string | null;
|
|
557
|
+
status: FemaleSwineStatus | null;
|
|
558
|
+
calendarType: CalendarType;
|
|
559
|
+
arrivalDateRange: {
|
|
560
|
+
start: string;
|
|
561
|
+
end: string;
|
|
562
|
+
} | null;
|
|
563
|
+
}
|
|
564
|
+
declare class FemaleSwineDiscardAnalysis extends Report implements PdfReport {
|
|
565
|
+
readonly template = "@pig-master/female-swine-discard-analysis";
|
|
566
|
+
fileName: string;
|
|
567
|
+
pdf(input: FemaleSwineDiscardAnalysisInput): Promise<void>;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
interface FemaleSwineDiscardCollectionFormInput {
|
|
571
|
+
farmId: string;
|
|
572
|
+
calendarType: CalendarType;
|
|
573
|
+
}
|
|
574
|
+
declare class FemaleSwineDiscardCollectionForm extends Report implements PdfReport {
|
|
575
|
+
readonly template = "@pig-master/female-swine-discard-collection-form";
|
|
576
|
+
fileName: string;
|
|
577
|
+
pdf(input: FemaleSwineDiscardCollectionFormInput): Promise<void>;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
interface FemaleSwineDiscardListInput {
|
|
581
|
+
farmId: string;
|
|
582
|
+
language: Language;
|
|
583
|
+
causeId: string | null;
|
|
584
|
+
breedId: string | null;
|
|
585
|
+
originId: string | null;
|
|
586
|
+
birthPlaceId: string | null;
|
|
587
|
+
dateRange: {
|
|
588
|
+
start: string;
|
|
589
|
+
end: string;
|
|
590
|
+
} | null;
|
|
591
|
+
parity: number | null;
|
|
592
|
+
recipientId: string | null;
|
|
593
|
+
status: FemaleSwineStatus | null;
|
|
594
|
+
calendarType: CalendarType;
|
|
595
|
+
arrivalDateRange: {
|
|
596
|
+
start: string;
|
|
597
|
+
end: string;
|
|
598
|
+
} | null;
|
|
599
|
+
}
|
|
600
|
+
declare class FemaleSwineDiscardList extends Report implements PdfReport, CsvReport {
|
|
601
|
+
readonly template = "@pig-master/female-swine-discard-list";
|
|
602
|
+
fileName: string;
|
|
603
|
+
pdf(input: FemaleSwineDiscardListInput): Promise<void>;
|
|
604
|
+
csv(input: FemaleSwineDiscardListInput): Promise<void>;
|
|
605
|
+
private getResources;
|
|
606
|
+
private getParameters;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
interface FemaleSwineEarTagReplacementListInput {
|
|
610
|
+
farmId: string;
|
|
611
|
+
dateRange: {
|
|
612
|
+
start: string;
|
|
613
|
+
end: string;
|
|
614
|
+
} | null;
|
|
615
|
+
oldEarTag: string | null;
|
|
616
|
+
newEarTag: string | null;
|
|
617
|
+
calendarType: CalendarType;
|
|
618
|
+
}
|
|
619
|
+
declare class FemaleSwineEarTagReplacementList extends Report implements PdfReport, CsvReport {
|
|
620
|
+
readonly template = "@pig-master/female-swine-ear-tag-replacement-list";
|
|
621
|
+
fileName: string;
|
|
622
|
+
pdf(input: FemaleSwineEarTagReplacementListInput): Promise<void>;
|
|
623
|
+
csv(input: FemaleSwineEarTagReplacementListInput): Promise<void>;
|
|
624
|
+
private getResources;
|
|
625
|
+
private getParameters;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
interface FemaleSwineInventoryInput {
|
|
629
|
+
farmId: string;
|
|
630
|
+
dateRange: {
|
|
631
|
+
start: string;
|
|
632
|
+
end: string;
|
|
633
|
+
};
|
|
634
|
+
calendarType: CalendarType;
|
|
635
|
+
originId: string | null;
|
|
636
|
+
breedId: string | null;
|
|
637
|
+
birthPlaceId: string | null;
|
|
638
|
+
}
|
|
639
|
+
declare class FemaleSwineInventory extends Report implements PdfReport, CsvReport {
|
|
640
|
+
readonly template = "@pig-master/female-swine-inventory";
|
|
641
|
+
fileName: string;
|
|
642
|
+
pdf(input: FemaleSwineInventoryInput): Promise<void>;
|
|
643
|
+
csv(input: FemaleSwineInventoryInput): Promise<void>;
|
|
644
|
+
private getResources;
|
|
645
|
+
private getParameters;
|
|
26
646
|
}
|
|
27
647
|
|
|
28
|
-
|
|
648
|
+
interface FemaleSwinePendingActionListInput {
|
|
649
|
+
farmId: string;
|
|
650
|
+
language: Language;
|
|
651
|
+
status: FemaleSwineStatus | null;
|
|
652
|
+
calendarType: CalendarType;
|
|
653
|
+
}
|
|
654
|
+
declare class FemaleSwinePendingActionList extends Report implements PdfReport, CsvReport {
|
|
655
|
+
readonly template = "@pig-master/female-swine-pending-action-list";
|
|
656
|
+
fileName: string;
|
|
657
|
+
pdf(input: FemaleSwinePendingActionListInput): Promise<void>;
|
|
658
|
+
csv(input: FemaleSwinePendingActionListInput): Promise<void>;
|
|
659
|
+
private getResources;
|
|
660
|
+
private getParameters;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
type FemaleSwinePreDiscard = 'not-planned' | 'planned' | 'confirmed' | 'canceled';
|
|
664
|
+
|
|
665
|
+
interface FemaleSwinePreDiscardListInput {
|
|
666
|
+
farmId: string;
|
|
667
|
+
dateRange: {
|
|
668
|
+
start: string;
|
|
669
|
+
end: string;
|
|
670
|
+
} | null;
|
|
671
|
+
calendarType: CalendarType;
|
|
672
|
+
language: Language;
|
|
673
|
+
preDiscard: FemaleSwinePreDiscard | null;
|
|
674
|
+
orderBy: OrderBy<FemaleSwineOrderBy>;
|
|
675
|
+
}
|
|
676
|
+
declare class FemaleSwinePreDiscardList extends Report implements PdfReport, CsvReport {
|
|
677
|
+
readonly template = "@pig-master/female-swine-pre-discard-list";
|
|
678
|
+
fileName: string;
|
|
679
|
+
pdf(input: FemaleSwinePreDiscardListInput): Promise<void>;
|
|
680
|
+
csv(input: FemaleSwinePreDiscardListInput): Promise<void>;
|
|
681
|
+
private getResources;
|
|
682
|
+
private getParameters;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
interface FemaleSwineRecordInput {
|
|
686
|
+
farmId: string;
|
|
687
|
+
language: Language;
|
|
688
|
+
femaleSwineId: string;
|
|
689
|
+
farrowingAssistance: boolean;
|
|
690
|
+
calendarType: CalendarType;
|
|
691
|
+
}
|
|
692
|
+
declare class FemaleSwineRecord extends Report implements PdfReport {
|
|
693
|
+
readonly template = "@pig-master/female-swine-record";
|
|
694
|
+
fileName: string;
|
|
695
|
+
pdf(input: FemaleSwineRecordInput): Promise<void>;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
interface FemaleSwineSalePlanningListInput {
|
|
699
|
+
farmId: string;
|
|
700
|
+
dateRange: {
|
|
701
|
+
start: string;
|
|
702
|
+
end: string;
|
|
703
|
+
} | null;
|
|
704
|
+
calendarType: CalendarType;
|
|
705
|
+
recipientId: string | null;
|
|
706
|
+
orderBy: OrderBy<FemaleSwineOrderBy>;
|
|
707
|
+
}
|
|
708
|
+
declare class FemaleSwineSalePlanningList extends Report implements PdfReport, CsvReport {
|
|
709
|
+
readonly template = "@pig-master/female-swine-sale-planning-list";
|
|
710
|
+
fileName: string;
|
|
711
|
+
pdf(input: FemaleSwineSalePlanningListInput): Promise<void>;
|
|
712
|
+
csv(input: FemaleSwineSalePlanningListInput): Promise<void>;
|
|
713
|
+
private getResources;
|
|
714
|
+
private getParameters;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
interface FemaleSwineTreatmentCollectionFormInput {
|
|
718
|
+
farmId: string;
|
|
719
|
+
calendarType: CalendarType;
|
|
720
|
+
}
|
|
721
|
+
declare class FemaleSwineTreatmentCollectionForm extends Report implements PdfReport {
|
|
722
|
+
readonly template = "@pig-master/female-swine-treatment-collection-form";
|
|
723
|
+
fileName: string;
|
|
724
|
+
pdf(input: FemaleSwineTreatmentCollectionFormInput): Promise<void>;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
interface FemaleSwineTreatmentListInput {
|
|
728
|
+
farmId: string;
|
|
729
|
+
dateRange: {
|
|
730
|
+
start: string;
|
|
731
|
+
end: string;
|
|
732
|
+
} | null;
|
|
733
|
+
calendarType: CalendarType;
|
|
734
|
+
language: Language;
|
|
735
|
+
femaleSwineId: string | null;
|
|
736
|
+
}
|
|
737
|
+
declare class FemaleSwineTreatmentList extends Report implements PdfReport, CsvReport {
|
|
738
|
+
readonly template = "@pig-master/female-swine-treatment-list";
|
|
739
|
+
fileName: string;
|
|
740
|
+
pdf(input: FemaleSwineTreatmentListInput): Promise<void>;
|
|
741
|
+
csv(input: FemaleSwineTreatmentListInput): Promise<void>;
|
|
742
|
+
private getResources;
|
|
743
|
+
private getParameters;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
interface FinishingPigletDeathCollectionFormInput {
|
|
747
|
+
farmId: string;
|
|
748
|
+
calendarType: CalendarType;
|
|
749
|
+
}
|
|
750
|
+
declare class FinishingPigletDeathCollectionForm extends Report implements PdfReport {
|
|
751
|
+
readonly template = "@pig-master/finishing-piglet-death-collection-form";
|
|
752
|
+
fileName: string;
|
|
753
|
+
pdf(input: FinishingPigletDeathCollectionFormInput): Promise<void>;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
interface FlushingFemaleSwineListInput {
|
|
757
|
+
farmId: string;
|
|
758
|
+
dateRange: {
|
|
759
|
+
start: string;
|
|
760
|
+
end: string;
|
|
761
|
+
};
|
|
762
|
+
calendarType: CalendarType;
|
|
763
|
+
originId: string | null;
|
|
764
|
+
}
|
|
765
|
+
declare class FlushingFemaleSwineList extends Report implements PdfReport, CsvReport {
|
|
766
|
+
readonly template = "@pig-master/flushing-female-swine-list";
|
|
767
|
+
fileName: string;
|
|
768
|
+
pdf(input: FlushingFemaleSwineListInput): Promise<void>;
|
|
769
|
+
csv(input: FlushingFemaleSwineListInput): Promise<void>;
|
|
770
|
+
private getResources;
|
|
771
|
+
private getParameters;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
interface FlushingMonitorInput {
|
|
775
|
+
farmId: string;
|
|
776
|
+
dateRange: {
|
|
777
|
+
start: string;
|
|
778
|
+
end: string;
|
|
779
|
+
};
|
|
780
|
+
calendarType: CalendarType;
|
|
781
|
+
originId: string | null;
|
|
782
|
+
}
|
|
783
|
+
declare class FlushingMonitor extends Report implements PdfReport, CsvReport {
|
|
784
|
+
readonly template = "@pig-master/flushing-monitor";
|
|
785
|
+
fileName: string;
|
|
786
|
+
pdf(input: FlushingMonitorInput): Promise<void>;
|
|
787
|
+
csv(input: FlushingMonitorInput): Promise<void>;
|
|
788
|
+
private getResources;
|
|
789
|
+
private getParameters;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
interface GiltInventoryInput {
|
|
793
|
+
farmId: string;
|
|
794
|
+
dateRange: {
|
|
795
|
+
start: string;
|
|
796
|
+
end: string;
|
|
797
|
+
};
|
|
798
|
+
calendarType: CalendarType;
|
|
799
|
+
originId: string | null;
|
|
800
|
+
breedId: string | null;
|
|
801
|
+
birthPlaceId: string | null;
|
|
802
|
+
}
|
|
803
|
+
declare class GiltInventory extends Report implements PdfReport, CsvReport {
|
|
804
|
+
readonly template = "@pig-master/gilt-inventory";
|
|
805
|
+
fileName: string;
|
|
806
|
+
pdf(input: GiltInventoryInput): Promise<void>;
|
|
807
|
+
csv(input: GiltInventoryInput): Promise<void>;
|
|
808
|
+
private getResources;
|
|
809
|
+
private getParameters;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
interface GtaListInput {
|
|
813
|
+
farmId: string;
|
|
814
|
+
language: Language;
|
|
815
|
+
calendarType: CalendarType;
|
|
816
|
+
}
|
|
817
|
+
declare class GtaList extends Report implements PdfReport, CsvReport {
|
|
818
|
+
readonly template = "@pig-master/gta-list";
|
|
819
|
+
fileName: string;
|
|
820
|
+
pdf(input: GtaListInput): Promise<void>;
|
|
821
|
+
csv(input: GtaListInput): Promise<void>;
|
|
822
|
+
private getResources;
|
|
823
|
+
private getParameters;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
interface HeatDetectionCollectionFormInput {
|
|
827
|
+
farmId: string;
|
|
828
|
+
calendarType: CalendarType;
|
|
829
|
+
}
|
|
830
|
+
declare class HeatDetectionCollectionForm extends Report implements PdfReport {
|
|
831
|
+
readonly template = "@pig-master/heat-detection-collection-form";
|
|
832
|
+
fileName: string;
|
|
833
|
+
pdf(input: HeatDetectionCollectionFormInput): Promise<void>;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
interface HeatDetectionListInput {
|
|
837
|
+
farmId: string;
|
|
838
|
+
dateRange: {
|
|
839
|
+
start: string;
|
|
840
|
+
end: string;
|
|
841
|
+
} | null;
|
|
842
|
+
arrivalDateRange: {
|
|
843
|
+
start: string;
|
|
844
|
+
end: string;
|
|
845
|
+
} | null;
|
|
846
|
+
language: Language;
|
|
847
|
+
calendarType: CalendarType;
|
|
848
|
+
originId: string | null;
|
|
849
|
+
femaleSwineId: string | null;
|
|
850
|
+
number: number | null;
|
|
851
|
+
stimulus: 'hormone-free' | 'hormonal' | null;
|
|
852
|
+
orderBy: OrderBy<'date' | 'number' | 'createdAt'>;
|
|
853
|
+
}
|
|
854
|
+
declare class HeatDetectionList extends Report implements PdfReport, CsvReport {
|
|
855
|
+
readonly template = "@pig-master/heat-detection-list";
|
|
856
|
+
fileName: string;
|
|
857
|
+
pdf(input: HeatDetectionListInput): Promise<void>;
|
|
858
|
+
csv(input: HeatDetectionListInput): Promise<void>;
|
|
859
|
+
private getResources;
|
|
860
|
+
private getParameters;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
interface HeatMonitoringInput {
|
|
864
|
+
farmId: string;
|
|
865
|
+
dateRange: {
|
|
866
|
+
start: string;
|
|
867
|
+
end: string;
|
|
868
|
+
};
|
|
869
|
+
calendarType: CalendarType;
|
|
870
|
+
pagination: Pagination;
|
|
871
|
+
originId: string | null;
|
|
872
|
+
}
|
|
873
|
+
declare class HeatMonitoring extends Report implements PdfReport, CsvReport {
|
|
874
|
+
readonly template = "@pig-master/heat-monitoring";
|
|
875
|
+
fileName: string;
|
|
876
|
+
pdf(input: HeatMonitoringInput): Promise<void>;
|
|
877
|
+
csv(input: HeatMonitoringInput): Promise<void>;
|
|
878
|
+
private getResources;
|
|
879
|
+
private getParameters;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
interface LocationListInput {
|
|
883
|
+
farmId: string;
|
|
884
|
+
language: Language;
|
|
885
|
+
}
|
|
886
|
+
declare class LocationList extends Report implements PdfReport, CsvReport {
|
|
887
|
+
readonly template = "@pig-master/location-list";
|
|
888
|
+
fileName: string;
|
|
889
|
+
pdf(input: LocationListInput): Promise<void>;
|
|
890
|
+
csv(input: LocationListInput): Promise<void>;
|
|
891
|
+
private getResources;
|
|
892
|
+
private getParameters;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
interface MaternityPigletDeathCollectionFormInput {
|
|
896
|
+
farmId: string;
|
|
897
|
+
calendarType: CalendarType;
|
|
898
|
+
}
|
|
899
|
+
declare class MaternityPigletDeathCollectionForm extends Report implements PdfReport {
|
|
900
|
+
readonly template = "@pig-master/maternity-piglet-death-collection-form";
|
|
901
|
+
fileName: string;
|
|
902
|
+
pdf(input: MaternityPigletDeathCollectionFormInput): Promise<void>;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
interface MaternityPigletTransferCollectionFormInput {
|
|
906
|
+
farmId: string;
|
|
907
|
+
calendarType: CalendarType;
|
|
908
|
+
}
|
|
909
|
+
declare class MaternityPigletTransferCollectionForm extends Report implements PdfReport {
|
|
910
|
+
readonly template = "@pig-master/maternity-piglet-transfer-collection-form";
|
|
911
|
+
fileName: string;
|
|
912
|
+
pdf(input: MaternityPigletTransferCollectionFormInput): Promise<void>;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
type FemaleSwineArrivalReproductiveStatus = 'virgin' | 'pregnant' | 'empty';
|
|
916
|
+
|
|
917
|
+
type MatingContext = 'first' | 'normal' | 'estrus-return' | 'post-reproductive-failure';
|
|
918
|
+
|
|
919
|
+
type MatingMethod = 'hand' | 'artificial' | 'mixed';
|
|
920
|
+
|
|
921
|
+
type MatingAnalysisGroupBy = 'doses' | 'parity' | 'employee' | 'breeder' | 'year-period' | 'first-mating-age' | 'interval-from-weaning' | 'origin' | 'average-daily-gain' | 'score';
|
|
922
|
+
type MatingAnalysisEmphasis = 'mating-count' | 'mating-percentage' | 'first-mating-count' | 'normal-mating-count' | 'estrus-return-mating-count' | 'post-reproductive-failure-mating-count' | 'first-mating-percentage' | 'normal-mating-percentage' | 'estrus-return-mating-percentage' | 'post-reproductive-failure-mating-percentage' | 'average-interval-from-weaning' | 'average-interval-from-reproductive-failure' | 'average-interval-from-last-mating';
|
|
923
|
+
interface MatingAnalysisInput {
|
|
924
|
+
farmId: string;
|
|
925
|
+
dateRange: {
|
|
926
|
+
start: string;
|
|
927
|
+
end: string;
|
|
928
|
+
} | null;
|
|
929
|
+
arrivalDateRange: {
|
|
930
|
+
start: string;
|
|
931
|
+
end: string;
|
|
932
|
+
} | null;
|
|
933
|
+
calendarType: CalendarType;
|
|
934
|
+
groupBy: MatingAnalysisGroupBy;
|
|
935
|
+
emphasis: MatingAnalysisEmphasis;
|
|
936
|
+
parity: number | null;
|
|
937
|
+
originId: string | null;
|
|
938
|
+
breedId: string | null;
|
|
939
|
+
birthPlaceId: string | null;
|
|
940
|
+
femaleSwineId: string | null;
|
|
941
|
+
arrivalReproductiveStatus: FemaleSwineArrivalReproductiveStatus | null;
|
|
942
|
+
matingContext: MatingContext | null;
|
|
943
|
+
method: MatingMethod | null;
|
|
944
|
+
language: Language;
|
|
945
|
+
}
|
|
946
|
+
declare class MatingAnalysis extends Report implements PdfReport {
|
|
947
|
+
readonly template = "@pig-master/mating-analysis";
|
|
948
|
+
fileName: string;
|
|
949
|
+
pdf(input: MatingAnalysisInput): Promise<void>;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
interface MatingCollectionFormInput {
|
|
953
|
+
farmId: string;
|
|
954
|
+
calendarType: CalendarType;
|
|
955
|
+
}
|
|
956
|
+
declare class MatingCollectionForm extends Report implements PdfReport {
|
|
957
|
+
readonly template = "@pig-master/mating-collection-form";
|
|
958
|
+
fileName: string;
|
|
959
|
+
pdf(input: MatingCollectionFormInput): Promise<void>;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
interface MatingGroupListInput {
|
|
963
|
+
farmId: string;
|
|
964
|
+
language: Language;
|
|
965
|
+
}
|
|
966
|
+
declare class MatingGroupList extends Report implements PdfReport, CsvReport {
|
|
967
|
+
readonly template = "@pig-master/mating-group-list";
|
|
968
|
+
fileName: string;
|
|
969
|
+
pdf(input: MatingGroupListInput): Promise<void>;
|
|
970
|
+
csv(input: MatingGroupListInput): Promise<void>;
|
|
971
|
+
private getResources;
|
|
972
|
+
private getParameters;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
interface MatingListInput {
|
|
976
|
+
farmId: string;
|
|
977
|
+
orderBy: OrderBy<'date' | 'parity' | 'createdAt'>;
|
|
978
|
+
language: Language;
|
|
979
|
+
calendarType: CalendarType;
|
|
980
|
+
managementCycle: number;
|
|
981
|
+
dateRange: {
|
|
982
|
+
start: string;
|
|
983
|
+
end: string;
|
|
984
|
+
} | null;
|
|
985
|
+
arrivalDateRange: {
|
|
986
|
+
start: string;
|
|
987
|
+
end: string;
|
|
988
|
+
} | null;
|
|
989
|
+
parity: number | null;
|
|
990
|
+
originId: string | null;
|
|
991
|
+
breedId: string | null;
|
|
992
|
+
birthPlaceId: string | null;
|
|
993
|
+
femaleSwineId: string | null;
|
|
994
|
+
arrivalReproductiveStatus: FemaleSwineArrivalReproductiveStatus | null;
|
|
995
|
+
matingContext: MatingContext | null;
|
|
996
|
+
method: MatingMethod | null;
|
|
997
|
+
}
|
|
998
|
+
declare class MatingList extends Report implements PdfReport, CsvReport {
|
|
999
|
+
readonly template = "@pig-master/mating-list";
|
|
1000
|
+
fileName: string;
|
|
1001
|
+
pdf(input: MatingListInput): Promise<void>;
|
|
1002
|
+
csv(input: MatingListInput): Promise<void>;
|
|
1003
|
+
private getResources;
|
|
1004
|
+
private getParameters;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
interface MatingOverviewInput {
|
|
1008
|
+
farmId: string;
|
|
1009
|
+
dateRange: {
|
|
1010
|
+
start: string;
|
|
1011
|
+
end: string;
|
|
1012
|
+
};
|
|
1013
|
+
calendarType: CalendarType;
|
|
1014
|
+
originId: string | null;
|
|
1015
|
+
breedId: string | null;
|
|
1016
|
+
birthPlaceId: string | null;
|
|
1017
|
+
}
|
|
1018
|
+
declare class MatingOverview extends Report implements PdfReport, CsvReport {
|
|
1019
|
+
readonly template = "@pig-master/mating-overview";
|
|
1020
|
+
fileName: string;
|
|
1021
|
+
pdf(input: MatingOverviewInput): Promise<void>;
|
|
1022
|
+
csv(input: MatingOverviewInput): Promise<void>;
|
|
1023
|
+
private getResources;
|
|
1024
|
+
private getParameters;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
interface MbrfFemaleSwineRecordInput {
|
|
1028
|
+
farmId: string;
|
|
1029
|
+
femaleSwineId: string;
|
|
1030
|
+
calendarType: CalendarType;
|
|
1031
|
+
}
|
|
1032
|
+
declare class MbrfFemaleSwineRecord extends Report implements PdfReport {
|
|
1033
|
+
readonly template = "@pig-master/mbrf-female-swine-record";
|
|
1034
|
+
fileName: string;
|
|
1035
|
+
pdf(input: MbrfFemaleSwineRecordInput): Promise<void>;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
interface NurseryPigletDeathCollectionFormInput {
|
|
1039
|
+
farmId: string;
|
|
1040
|
+
calendarType: CalendarType;
|
|
1041
|
+
}
|
|
1042
|
+
declare class NurseryPigletDeathCollectionForm extends Report implements PdfReport {
|
|
1043
|
+
readonly template = "@pig-master/nursery-piglet-death-collection-form";
|
|
1044
|
+
fileName: string;
|
|
1045
|
+
pdf(input: NurseryPigletDeathCollectionFormInput): Promise<void>;
|
|
1046
|
+
}
|
|
29
1047
|
|
|
30
1048
|
interface OriginListInput {
|
|
31
1049
|
farmId: string;
|
|
32
|
-
language:
|
|
1050
|
+
language: Language;
|
|
33
1051
|
}
|
|
34
|
-
declare class OriginList extends Report {
|
|
35
|
-
|
|
1052
|
+
declare class OriginList extends Report implements PdfReport, CsvReport {
|
|
1053
|
+
readonly template = "@pig-master/origin-list";
|
|
1054
|
+
fileName: string;
|
|
36
1055
|
pdf(input: OriginListInput): Promise<void>;
|
|
37
1056
|
csv(input: OriginListInput): Promise<void>;
|
|
1057
|
+
private getResources;
|
|
1058
|
+
private getParameters;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
interface ParityStructureInput {
|
|
1062
|
+
farmId: string;
|
|
1063
|
+
language: Language;
|
|
1064
|
+
breedId: string | null;
|
|
1065
|
+
birthPlaceId: string | null;
|
|
1066
|
+
originId: string | null;
|
|
1067
|
+
status: FemaleSwineStatus | null;
|
|
1068
|
+
}
|
|
1069
|
+
declare class ParityStructure extends Report implements PdfReport {
|
|
1070
|
+
readonly template = "@pig-master/parity-structure";
|
|
1071
|
+
fileName: string;
|
|
1072
|
+
pdf(input: ParityStructureInput): Promise<void>;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
interface PreFlushingFemaleSwineListInput {
|
|
1076
|
+
farmId: string;
|
|
1077
|
+
dateRange: {
|
|
1078
|
+
start: string;
|
|
1079
|
+
end: string;
|
|
1080
|
+
};
|
|
1081
|
+
calendarType: CalendarType;
|
|
1082
|
+
originId: string | null;
|
|
1083
|
+
}
|
|
1084
|
+
declare class PreFlushingFemaleSwineList extends Report implements PdfReport, CsvReport {
|
|
1085
|
+
readonly template = "@pig-master/pre-flushing-female-swine-list";
|
|
1086
|
+
fileName: string;
|
|
1087
|
+
pdf(input: PreFlushingFemaleSwineListInput): Promise<void>;
|
|
1088
|
+
csv(input: PreFlushingFemaleSwineListInput): Promise<void>;
|
|
1089
|
+
private getResources;
|
|
1090
|
+
private getParameters;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
interface PregnantFemaleSwineListInput {
|
|
1094
|
+
farmId: string;
|
|
1095
|
+
matingDateRange: {
|
|
1096
|
+
start: string;
|
|
1097
|
+
end: string;
|
|
1098
|
+
};
|
|
1099
|
+
calendarType: CalendarType;
|
|
1100
|
+
gestationWeek: number;
|
|
1101
|
+
}
|
|
1102
|
+
declare class PregnantFemaleSwineList extends Report implements PdfReport, CsvReport {
|
|
1103
|
+
readonly template = "@pig-master/pregnant-female-swine-list";
|
|
1104
|
+
fileName: string;
|
|
1105
|
+
pdf(input: PregnantFemaleSwineListInput): Promise<void>;
|
|
1106
|
+
csv(input: PregnantFemaleSwineListInput): Promise<void>;
|
|
1107
|
+
private getResources;
|
|
1108
|
+
private getParameters;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
type Weekday = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
1112
|
+
interface YearPeriod {
|
|
1113
|
+
weekday: Weekday;
|
|
1114
|
+
week: number;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
type PregnantFemaleSwineSalesOrderByColumns = 'date' | 'parity' | 'gestationLength' | 'createdAt';
|
|
1118
|
+
interface PregnantFemaleSwineSaleListInput {
|
|
1119
|
+
farmId: string;
|
|
1120
|
+
dateRange: {
|
|
1121
|
+
start: string;
|
|
1122
|
+
end: string;
|
|
1123
|
+
} | null;
|
|
1124
|
+
arrivalDateRange: {
|
|
1125
|
+
start: string;
|
|
1126
|
+
end: string;
|
|
1127
|
+
} | null;
|
|
1128
|
+
matingDateRange: {
|
|
1129
|
+
start: string;
|
|
1130
|
+
end: string;
|
|
1131
|
+
} | null;
|
|
1132
|
+
dueDateRange: {
|
|
1133
|
+
start: string;
|
|
1134
|
+
end: string;
|
|
1135
|
+
} | null;
|
|
1136
|
+
calendarType: CalendarType;
|
|
1137
|
+
language: Language;
|
|
1138
|
+
recipientId: string | null;
|
|
1139
|
+
orderBy: OrderBy<PregnantFemaleSwineSalesOrderByColumns>;
|
|
1140
|
+
originId: string | null;
|
|
1141
|
+
yearPeriod: YearPeriod;
|
|
1142
|
+
}
|
|
1143
|
+
declare class PregnantFemaleSwineSaleList extends Report implements PdfReport, CsvReport {
|
|
1144
|
+
readonly template = "@pig-master/pregnant-female-swine-sale-list";
|
|
1145
|
+
fileName: string;
|
|
1146
|
+
pdf(input: PregnantFemaleSwineSaleListInput): Promise<void>;
|
|
1147
|
+
csv(input: PregnantFemaleSwineSaleListInput): Promise<void>;
|
|
1148
|
+
private getResources;
|
|
1149
|
+
private getParameters;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
type ReproductiveFailureContext = 'loss' | 'estrus-return' | 'discard' | 'death';
|
|
1153
|
+
|
|
1154
|
+
type ReproductiveFailureAnalysisEmphasis = 'reproductive-failure-count' | 'loss-reproductive-failure-count' | 'estrus-return-reproductive-failure-count' | 'death-reproductive-failure-count' | 'discard-reproductive-failure-count' | 'loss-reproductive-failure-percentage' | 'estrus-return-reproductive-failure-percentage' | 'death-reproductive-failure-percentage' | 'discard-reproductive-failure-percentage' | 'average-loss-reproductive-failure-gestation-length' | 'average-estrus-return-reproductive-failure-gestation-length' | 'average-death-reproductive-failure-gestation-length' | 'average-discard-reproductive-failure-gestation-length' | 'reproductive-failure-percentage';
|
|
1155
|
+
type ReproductiveFailureAnalysisGroupBy = 'doses' | 'parity' | 'employee' | 'breeder' | 'cause' | 'day-of-week' | 'day-range';
|
|
1156
|
+
interface ReproductiveFailureAnalysisInput {
|
|
1157
|
+
farmId: string;
|
|
1158
|
+
dateRange: {
|
|
1159
|
+
start: string;
|
|
1160
|
+
end: string;
|
|
1161
|
+
} | null;
|
|
1162
|
+
matingDateRange: {
|
|
1163
|
+
start: string;
|
|
1164
|
+
end: string;
|
|
1165
|
+
} | null;
|
|
1166
|
+
groupBy: ReproductiveFailureAnalysisGroupBy;
|
|
1167
|
+
emphasis: ReproductiveFailureAnalysisEmphasis;
|
|
1168
|
+
calendarType: CalendarType;
|
|
1169
|
+
femaleSwineId: string | null;
|
|
1170
|
+
parity: number | null;
|
|
1171
|
+
context: ReproductiveFailureContext | null;
|
|
1172
|
+
breedId: string | null;
|
|
1173
|
+
birthPlaceId: string | null;
|
|
1174
|
+
originId: string | null;
|
|
1175
|
+
language: Language;
|
|
1176
|
+
}
|
|
1177
|
+
declare class ReproductiveFailureAnalysis extends Report implements PdfReport {
|
|
1178
|
+
readonly template = "@pig-master/reproductive-failure-analysis";
|
|
1179
|
+
fileName: string;
|
|
1180
|
+
pdf(input: ReproductiveFailureAnalysisInput): Promise<void>;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
interface ReproductiveFailureCollectionFormInput {
|
|
1184
|
+
farmId: string;
|
|
1185
|
+
calendarType: CalendarType;
|
|
1186
|
+
}
|
|
1187
|
+
declare class ReproductiveFailureCollectionForm extends Report implements PdfReport {
|
|
1188
|
+
readonly template = "@pig-master/reproductive-failure-collection-form";
|
|
1189
|
+
fileName: string;
|
|
1190
|
+
pdf(input: ReproductiveFailureCollectionFormInput): Promise<void>;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
interface ReproductiveFailureListInput {
|
|
1194
|
+
farmId: string;
|
|
1195
|
+
dateRange: {
|
|
1196
|
+
start: string;
|
|
1197
|
+
end: string;
|
|
1198
|
+
} | null;
|
|
1199
|
+
matingDateRange: {
|
|
1200
|
+
start: string;
|
|
1201
|
+
end: string;
|
|
1202
|
+
} | null;
|
|
1203
|
+
calendarType: CalendarType;
|
|
1204
|
+
parity: number | null;
|
|
1205
|
+
originId: string | null;
|
|
1206
|
+
breedId: string | null;
|
|
1207
|
+
birthPlaceId: string | null;
|
|
1208
|
+
femaleSwineId: string | null;
|
|
1209
|
+
context: ReproductiveFailureContext | null;
|
|
1210
|
+
orderBy: OrderBy<'date' | 'parity' | 'createdAt'>;
|
|
1211
|
+
}
|
|
1212
|
+
declare class ReproductiveFailureList extends Report implements PdfReport, CsvReport {
|
|
1213
|
+
readonly template = "@pig-master/reproductive-failure-list";
|
|
1214
|
+
fileName: string;
|
|
1215
|
+
pdf(input: ReproductiveFailureListInput): Promise<void>;
|
|
1216
|
+
csv(input: ReproductiveFailureListInput): Promise<void>;
|
|
1217
|
+
private getResources;
|
|
1218
|
+
private getParameters;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
interface ScoreListInput {
|
|
1222
|
+
farmId: string;
|
|
1223
|
+
language: Language;
|
|
1224
|
+
}
|
|
1225
|
+
declare class ScoreList extends Report implements PdfReport, CsvReport {
|
|
1226
|
+
readonly template = "@pig-master/score-list";
|
|
1227
|
+
fileName: string;
|
|
1228
|
+
pdf(input: ScoreListInput): Promise<void>;
|
|
1229
|
+
csv(input: ScoreListInput): Promise<void>;
|
|
1230
|
+
private getResources;
|
|
1231
|
+
private getParameters;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
type MaternityContext = 'lactating' | 'nurse-sow';
|
|
1235
|
+
|
|
1236
|
+
type WeaningAnalysisGroupBy = 'year-period' | 'parity' | 'breed';
|
|
1237
|
+
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';
|
|
1238
|
+
interface WeaningAnalysisInput {
|
|
1239
|
+
farmId: string;
|
|
1240
|
+
dateRange: {
|
|
1241
|
+
start: string;
|
|
1242
|
+
end: string;
|
|
1243
|
+
} | null;
|
|
1244
|
+
matingDateRange: {
|
|
1245
|
+
start: string;
|
|
1246
|
+
end: string;
|
|
1247
|
+
} | null;
|
|
1248
|
+
calendarType: CalendarType;
|
|
1249
|
+
groupBy: WeaningAnalysisGroupBy;
|
|
1250
|
+
emphasis: WeaningAnalysisEmphasis;
|
|
1251
|
+
parity: number | null;
|
|
1252
|
+
originId: string | null;
|
|
1253
|
+
breedId: string | null;
|
|
1254
|
+
birthPlaceId: string | null;
|
|
1255
|
+
femaleSwineId: string | null;
|
|
1256
|
+
language: Language;
|
|
1257
|
+
context: MaternityContext | null;
|
|
1258
|
+
}
|
|
1259
|
+
declare class WeaningAnalysis extends Report implements PdfReport {
|
|
1260
|
+
readonly template = "@pig-master/weaning-analysis";
|
|
1261
|
+
fileName: string;
|
|
1262
|
+
pdf(input: WeaningAnalysisInput): Promise<void>;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
interface WeaningCollectionFormInput {
|
|
1266
|
+
farmId: string;
|
|
1267
|
+
calendarType: CalendarType;
|
|
1268
|
+
}
|
|
1269
|
+
declare class WeaningCollectionForm extends Report implements PdfReport {
|
|
1270
|
+
readonly template = "@pig-master/weaning-collection-form";
|
|
1271
|
+
fileName: string;
|
|
1272
|
+
pdf(input: WeaningCollectionFormInput): Promise<void>;
|
|
38
1273
|
}
|
|
39
1274
|
|
|
40
|
-
declare class
|
|
1275
|
+
declare class PigMaster {
|
|
1276
|
+
readonly birthPlaceList: BirthPlaceList;
|
|
1277
|
+
readonly boarByBreedList: BoarByBreedList;
|
|
1278
|
+
readonly boarDeathCollectionForm: BoarDeathCollectionForm;
|
|
1279
|
+
readonly boarDeathList: BoarDeathList;
|
|
1280
|
+
readonly boarDiscardCollectionForm: BoarDiscardCollectionForm;
|
|
1281
|
+
readonly boarDiscardList: BoarDiscardList;
|
|
1282
|
+
readonly boarEarTagReplacementList: BoarEarTagReplacementList;
|
|
1283
|
+
readonly boarsInventory: BoarsInventory;
|
|
1284
|
+
readonly boarTreatmentCollectionForm: BoarTreatmentCollectionForm;
|
|
1285
|
+
readonly boarTreatmentList: BoarTreatmentList;
|
|
1286
|
+
readonly breedingMonitor: BreedingMonitor;
|
|
1287
|
+
readonly breedList: BreedList;
|
|
1288
|
+
readonly causeList: CauseList;
|
|
1289
|
+
readonly drugList: DrugList;
|
|
1290
|
+
readonly employeeList: EmployeeList;
|
|
1291
|
+
readonly farmSummary: FarmSummary;
|
|
1292
|
+
readonly farrowingAnalysis: FarrowingAnalysis;
|
|
1293
|
+
readonly farrowingCollectionForm: FarrowingCollectionForm;
|
|
1294
|
+
readonly farrowingTypeList: FarrowingTypeList;
|
|
1295
|
+
readonly femaleSwineArrivalMonitoring: FemaleSwineArrivalMonitoring;
|
|
1296
|
+
readonly femaleSwineByBreedList: FemaleSwineByBreedList;
|
|
1297
|
+
readonly femaleSwineByParityList: FemaleSwineByParityList;
|
|
1298
|
+
readonly femaleSwineByStatusList: FemaleSwineByStatusList;
|
|
1299
|
+
readonly femaleSwineByTraceabilityList: FemaleSwineByTraceabilityList;
|
|
1300
|
+
readonly femaleSwineDeathAnalysis: FemaleSwineDeathAnalysis;
|
|
1301
|
+
readonly femaleSwineDeathCollectionForm: FemaleSwineDeathCollectionForm;
|
|
1302
|
+
readonly femaleSwineDeathList: FemaleSwineDeathList;
|
|
1303
|
+
readonly femaleSwineDiscardAnalysis: FemaleSwineDiscardAnalysis;
|
|
1304
|
+
readonly femaleSwineDiscardCollectionForm: FemaleSwineDiscardCollectionForm;
|
|
1305
|
+
readonly femaleSwineDiscardList: FemaleSwineDiscardList;
|
|
1306
|
+
readonly femaleSwineEarTagReplacementList: FemaleSwineEarTagReplacementList;
|
|
1307
|
+
readonly femaleSwineInventory: FemaleSwineInventory;
|
|
1308
|
+
readonly femaleSwinePendingActionList: FemaleSwinePendingActionList;
|
|
1309
|
+
readonly femaleSwinePreDiscardList: FemaleSwinePreDiscardList;
|
|
1310
|
+
readonly femaleSwineRecord: FemaleSwineRecord;
|
|
1311
|
+
readonly femaleSwineSalePlanningList: FemaleSwineSalePlanningList;
|
|
1312
|
+
readonly femaleSwineTreatmentCollectionForm: FemaleSwineTreatmentCollectionForm;
|
|
1313
|
+
readonly femaleSwineTreatmentList: FemaleSwineTreatmentList;
|
|
1314
|
+
readonly finishingPigletDeathCollectionForm: FinishingPigletDeathCollectionForm;
|
|
1315
|
+
readonly flushingFemaleSwineList: FlushingFemaleSwineList;
|
|
1316
|
+
readonly flushingMonitor: FlushingMonitor;
|
|
1317
|
+
readonly giltInventory: GiltInventory;
|
|
1318
|
+
readonly gtaList: GtaList;
|
|
1319
|
+
readonly heatDetectionCollectionForm: HeatDetectionCollectionForm;
|
|
1320
|
+
readonly heatDetectionList: HeatDetectionList;
|
|
1321
|
+
readonly heatMonitoring: HeatMonitoring;
|
|
1322
|
+
readonly locationList: LocationList;
|
|
1323
|
+
readonly maternityPigletDeathCollectionForm: MaternityPigletDeathCollectionForm;
|
|
1324
|
+
readonly maternityPigletTransferCollectionForm: MaternityPigletTransferCollectionForm;
|
|
1325
|
+
readonly matingAnalysis: MatingAnalysis;
|
|
1326
|
+
readonly matingCollectionForm: MatingCollectionForm;
|
|
1327
|
+
readonly matingGroupList: MatingGroupList;
|
|
1328
|
+
readonly matingList: MatingList;
|
|
1329
|
+
readonly matingOverview: MatingOverview;
|
|
1330
|
+
readonly mbrfFemaleSwineRecord: MbrfFemaleSwineRecord;
|
|
1331
|
+
readonly nurseryPigletDeathCollectionForm: NurseryPigletDeathCollectionForm;
|
|
41
1332
|
readonly originList: OriginList;
|
|
42
|
-
|
|
1333
|
+
readonly parityStructure: ParityStructure;
|
|
1334
|
+
readonly preFlushingFemaleSwineList: PreFlushingFemaleSwineList;
|
|
1335
|
+
readonly pregnantFemaleSwineList: PregnantFemaleSwineList;
|
|
1336
|
+
readonly pregnantFemaleSwineSaleList: PregnantFemaleSwineSaleList;
|
|
1337
|
+
readonly reproductiveFailureAnalysis: ReproductiveFailureAnalysis;
|
|
1338
|
+
readonly reproductiveFailureCollectionForm: ReproductiveFailureCollectionForm;
|
|
1339
|
+
readonly reproductiveFailureList: ReproductiveFailureList;
|
|
1340
|
+
readonly scoreList: ScoreList;
|
|
1341
|
+
readonly weaningAnalysis: WeaningAnalysis;
|
|
1342
|
+
readonly weaningCollectionForm: WeaningCollectionForm;
|
|
1343
|
+
constructor(http: HttpClient);
|
|
43
1344
|
}
|
|
44
1345
|
|
|
45
1346
|
declare class JaspionClient {
|
|
46
1347
|
private readonly http;
|
|
47
|
-
readonly pigMaster:
|
|
48
|
-
constructor(http:
|
|
1348
|
+
readonly pigMaster: PigMaster;
|
|
1349
|
+
constructor(http: HttpClient);
|
|
49
1350
|
setAccessToken(token: string): void;
|
|
50
1351
|
}
|
|
51
|
-
declare function jaspion(
|
|
1352
|
+
declare function jaspion(baseUrl: string): JaspionClient;
|
|
52
1353
|
|
|
53
1354
|
export { jaspion };
|