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