@deepintel-ltd/farmpro-contracts 1.16.14 → 1.17.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"farms.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farms.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HtB,CAAC"}
@@ -56,7 +56,7 @@ export declare const fieldActivitiesRouter: {
56
56
  updatedAt: z.ZodString;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  type: "weeding" | "fertilizer";
59
- source: "manual" | "agent" | "whatsapp";
59
+ source: "whatsapp" | "manual" | "agent";
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
62
  method: string | null;
@@ -72,7 +72,7 @@ export declare const fieldActivitiesRouter: {
72
72
  fieldName?: string | undefined;
73
73
  }, {
74
74
  type: "weeding" | "fertilizer";
75
- source: "manual" | "agent" | "whatsapp";
75
+ source: "whatsapp" | "manual" | "agent";
76
76
  createdAt: string;
77
77
  updatedAt: string;
78
78
  method: string | null;
@@ -95,7 +95,7 @@ export declare const fieldActivitiesRouter: {
95
95
  id: string;
96
96
  attributes: {
97
97
  type: "weeding" | "fertilizer";
98
- source: "manual" | "agent" | "whatsapp";
98
+ source: "whatsapp" | "manual" | "agent";
99
99
  createdAt: string;
100
100
  updatedAt: string;
101
101
  method: string | null;
@@ -118,7 +118,7 @@ export declare const fieldActivitiesRouter: {
118
118
  id: string;
119
119
  attributes: {
120
120
  type: "weeding" | "fertilizer";
121
- source: "manual" | "agent" | "whatsapp";
121
+ source: "whatsapp" | "manual" | "agent";
122
122
  createdAt: string;
123
123
  updatedAt: string;
124
124
  method: string | null;
@@ -167,7 +167,7 @@ export declare const fieldActivitiesRouter: {
167
167
  id: string;
168
168
  attributes: {
169
169
  type: "weeding" | "fertilizer";
170
- source: "manual" | "agent" | "whatsapp";
170
+ source: "whatsapp" | "manual" | "agent";
171
171
  createdAt: string;
172
172
  updatedAt: string;
173
173
  method: string | null;
@@ -202,7 +202,7 @@ export declare const fieldActivitiesRouter: {
202
202
  id: string;
203
203
  attributes: {
204
204
  type: "weeding" | "fertilizer";
205
- source: "manual" | "agent" | "whatsapp";
205
+ source: "whatsapp" | "manual" | "agent";
206
206
  createdAt: string;
207
207
  updatedAt: string;
208
208
  method: string | null;
@@ -443,7 +443,7 @@ export declare const fieldActivitiesRouter: {
443
443
  type: "weeding" | "fertilizer";
444
444
  occurredAt: string;
445
445
  fieldId: string;
446
- source?: "manual" | "agent" | "whatsapp" | undefined;
446
+ source?: "whatsapp" | "manual" | "agent" | undefined;
447
447
  method?: string | undefined;
448
448
  notes?: string | undefined;
449
449
  quantity?: number | undefined;
@@ -455,7 +455,7 @@ export declare const fieldActivitiesRouter: {
455
455
  type: "weeding" | "fertilizer";
456
456
  occurredAt: string;
457
457
  fieldId: string;
458
- source?: "manual" | "agent" | "whatsapp" | undefined;
458
+ source?: "whatsapp" | "manual" | "agent" | undefined;
459
459
  method?: string | undefined;
460
460
  notes?: string | undefined;
461
461
  quantity?: number | undefined;
@@ -467,7 +467,7 @@ export declare const fieldActivitiesRouter: {
467
467
  type: "weeding" | "fertilizer";
468
468
  occurredAt: string;
469
469
  fieldId: string;
470
- source?: "manual" | "agent" | "whatsapp" | undefined;
470
+ source?: "whatsapp" | "manual" | "agent" | undefined;
471
471
  method?: string | undefined;
472
472
  notes?: string | undefined;
473
473
  quantity?: number | undefined;
@@ -479,7 +479,7 @@ export declare const fieldActivitiesRouter: {
479
479
  type: "weeding" | "fertilizer";
480
480
  occurredAt: string;
481
481
  fieldId: string;
482
- source?: "manual" | "agent" | "whatsapp" | undefined;
482
+ source?: "whatsapp" | "manual" | "agent" | undefined;
483
483
  method?: string | undefined;
484
484
  notes?: string | undefined;
485
485
  quantity?: number | undefined;
@@ -494,7 +494,7 @@ export declare const fieldActivitiesRouter: {
494
494
  type: "weeding" | "fertilizer";
495
495
  occurredAt: string;
496
496
  fieldId: string;
497
- source?: "manual" | "agent" | "whatsapp" | undefined;
497
+ source?: "whatsapp" | "manual" | "agent" | undefined;
498
498
  method?: string | undefined;
499
499
  notes?: string | undefined;
500
500
  quantity?: number | undefined;
@@ -509,7 +509,7 @@ export declare const fieldActivitiesRouter: {
509
509
  type: "weeding" | "fertilizer";
510
510
  occurredAt: string;
511
511
  fieldId: string;
512
- source?: "manual" | "agent" | "whatsapp" | undefined;
512
+ source?: "whatsapp" | "manual" | "agent" | undefined;
513
513
  method?: string | undefined;
514
514
  notes?: string | undefined;
515
515
  quantity?: number | undefined;
@@ -526,7 +526,7 @@ export declare const fieldActivitiesRouter: {
526
526
  type: "weeding" | "fertilizer";
527
527
  occurredAt: string;
528
528
  fieldId: string;
529
- source?: "manual" | "agent" | "whatsapp" | undefined;
529
+ source?: "whatsapp" | "manual" | "agent" | undefined;
530
530
  method?: string | undefined;
531
531
  notes?: string | undefined;
532
532
  quantity?: number | undefined;
@@ -543,7 +543,7 @@ export declare const fieldActivitiesRouter: {
543
543
  type: "weeding" | "fertilizer";
544
544
  occurredAt: string;
545
545
  fieldId: string;
546
- source?: "manual" | "agent" | "whatsapp" | undefined;
546
+ source?: "whatsapp" | "manual" | "agent" | undefined;
547
547
  method?: string | undefined;
548
548
  notes?: string | undefined;
549
549
  quantity?: number | undefined;
@@ -579,7 +579,7 @@ export declare const fieldActivitiesRouter: {
579
579
  updatedAt: z.ZodString;
580
580
  }, "strip", z.ZodTypeAny, {
581
581
  type: "weeding" | "fertilizer";
582
- source: "manual" | "agent" | "whatsapp";
582
+ source: "whatsapp" | "manual" | "agent";
583
583
  createdAt: string;
584
584
  updatedAt: string;
585
585
  method: string | null;
@@ -595,7 +595,7 @@ export declare const fieldActivitiesRouter: {
595
595
  fieldName?: string | undefined;
596
596
  }, {
597
597
  type: "weeding" | "fertilizer";
598
- source: "manual" | "agent" | "whatsapp";
598
+ source: "whatsapp" | "manual" | "agent";
599
599
  createdAt: string;
600
600
  updatedAt: string;
601
601
  method: string | null;
@@ -618,7 +618,7 @@ export declare const fieldActivitiesRouter: {
618
618
  id: string;
619
619
  attributes: {
620
620
  type: "weeding" | "fertilizer";
621
- source: "manual" | "agent" | "whatsapp";
621
+ source: "whatsapp" | "manual" | "agent";
622
622
  createdAt: string;
623
623
  updatedAt: string;
624
624
  method: string | null;
@@ -641,7 +641,7 @@ export declare const fieldActivitiesRouter: {
641
641
  id: string;
642
642
  attributes: {
643
643
  type: "weeding" | "fertilizer";
644
- source: "manual" | "agent" | "whatsapp";
644
+ source: "whatsapp" | "manual" | "agent";
645
645
  createdAt: string;
646
646
  updatedAt: string;
647
647
  method: string | null;
@@ -690,7 +690,7 @@ export declare const fieldActivitiesRouter: {
690
690
  id: string;
691
691
  attributes: {
692
692
  type: "weeding" | "fertilizer";
693
- source: "manual" | "agent" | "whatsapp";
693
+ source: "whatsapp" | "manual" | "agent";
694
694
  createdAt: string;
695
695
  updatedAt: string;
696
696
  method: string | null;
@@ -725,7 +725,7 @@ export declare const fieldActivitiesRouter: {
725
725
  id: string;
726
726
  attributes: {
727
727
  type: "weeding" | "fertilizer";
728
- source: "manual" | "agent" | "whatsapp";
728
+ source: "whatsapp" | "manual" | "agent";
729
729
  createdAt: string;
730
730
  updatedAt: string;
731
731
  method: string | null;
@@ -1155,7 +1155,7 @@ export declare const fieldActivitiesRouter: {
1155
1155
  updatedAt: z.ZodString;
1156
1156
  }, "strip", z.ZodTypeAny, {
1157
1157
  type: "weeding" | "fertilizer";
1158
- source: "manual" | "agent" | "whatsapp";
1158
+ source: "whatsapp" | "manual" | "agent";
1159
1159
  createdAt: string;
1160
1160
  updatedAt: string;
1161
1161
  method: string | null;
@@ -1171,7 +1171,7 @@ export declare const fieldActivitiesRouter: {
1171
1171
  fieldName?: string | undefined;
1172
1172
  }, {
1173
1173
  type: "weeding" | "fertilizer";
1174
- source: "manual" | "agent" | "whatsapp";
1174
+ source: "whatsapp" | "manual" | "agent";
1175
1175
  createdAt: string;
1176
1176
  updatedAt: string;
1177
1177
  method: string | null;
@@ -1194,7 +1194,7 @@ export declare const fieldActivitiesRouter: {
1194
1194
  id: string;
1195
1195
  attributes: {
1196
1196
  type: "weeding" | "fertilizer";
1197
- source: "manual" | "agent" | "whatsapp";
1197
+ source: "whatsapp" | "manual" | "agent";
1198
1198
  createdAt: string;
1199
1199
  updatedAt: string;
1200
1200
  method: string | null;
@@ -1217,7 +1217,7 @@ export declare const fieldActivitiesRouter: {
1217
1217
  id: string;
1218
1218
  attributes: {
1219
1219
  type: "weeding" | "fertilizer";
1220
- source: "manual" | "agent" | "whatsapp";
1220
+ source: "whatsapp" | "manual" | "agent";
1221
1221
  createdAt: string;
1222
1222
  updatedAt: string;
1223
1223
  method: string | null;
@@ -1266,7 +1266,7 @@ export declare const fieldActivitiesRouter: {
1266
1266
  id: string;
1267
1267
  attributes: {
1268
1268
  type: "weeding" | "fertilizer";
1269
- source: "manual" | "agent" | "whatsapp";
1269
+ source: "whatsapp" | "manual" | "agent";
1270
1270
  createdAt: string;
1271
1271
  updatedAt: string;
1272
1272
  method: string | null;
@@ -1301,7 +1301,7 @@ export declare const fieldActivitiesRouter: {
1301
1301
  id: string;
1302
1302
  attributes: {
1303
1303
  type: "weeding" | "fertilizer";
1304
- source: "manual" | "agent" | "whatsapp";
1304
+ source: "whatsapp" | "manual" | "agent";
1305
1305
  createdAt: string;
1306
1306
  updatedAt: string;
1307
1307
  method: string | null;
@@ -1641,7 +1641,7 @@ export declare const fieldActivitiesRouter: {
1641
1641
  updatedAt: z.ZodString;
1642
1642
  }, "strip", z.ZodTypeAny, {
1643
1643
  type: "weeding" | "fertilizer";
1644
- source: "manual" | "agent" | "whatsapp";
1644
+ source: "whatsapp" | "manual" | "agent";
1645
1645
  createdAt: string;
1646
1646
  updatedAt: string;
1647
1647
  method: string | null;
@@ -1657,7 +1657,7 @@ export declare const fieldActivitiesRouter: {
1657
1657
  fieldName?: string | undefined;
1658
1658
  }, {
1659
1659
  type: "weeding" | "fertilizer";
1660
- source: "manual" | "agent" | "whatsapp";
1660
+ source: "whatsapp" | "manual" | "agent";
1661
1661
  createdAt: string;
1662
1662
  updatedAt: string;
1663
1663
  method: string | null;
@@ -1680,7 +1680,7 @@ export declare const fieldActivitiesRouter: {
1680
1680
  id: string;
1681
1681
  attributes: {
1682
1682
  type: "weeding" | "fertilizer";
1683
- source: "manual" | "agent" | "whatsapp";
1683
+ source: "whatsapp" | "manual" | "agent";
1684
1684
  createdAt: string;
1685
1685
  updatedAt: string;
1686
1686
  method: string | null;
@@ -1703,7 +1703,7 @@ export declare const fieldActivitiesRouter: {
1703
1703
  id: string;
1704
1704
  attributes: {
1705
1705
  type: "weeding" | "fertilizer";
1706
- source: "manual" | "agent" | "whatsapp";
1706
+ source: "whatsapp" | "manual" | "agent";
1707
1707
  createdAt: string;
1708
1708
  updatedAt: string;
1709
1709
  method: string | null;
@@ -1752,7 +1752,7 @@ export declare const fieldActivitiesRouter: {
1752
1752
  id: string;
1753
1753
  attributes: {
1754
1754
  type: "weeding" | "fertilizer";
1755
- source: "manual" | "agent" | "whatsapp";
1755
+ source: "whatsapp" | "manual" | "agent";
1756
1756
  createdAt: string;
1757
1757
  updatedAt: string;
1758
1758
  method: string | null;
@@ -1787,7 +1787,7 @@ export declare const fieldActivitiesRouter: {
1787
1787
  id: string;
1788
1788
  attributes: {
1789
1789
  type: "weeding" | "fertilizer";
1790
- source: "manual" | "agent" | "whatsapp";
1790
+ source: "whatsapp" | "manual" | "agent";
1791
1791
  createdAt: string;
1792
1792
  updatedAt: string;
1793
1793
  method: string | null;
@@ -19,9 +19,12 @@ export declare const monitoringVisualizationRouter: {
19
19
  fieldId: z.ZodString;
20
20
  imageUrl: z.ZodString;
21
21
  captureDate: z.ZodString;
22
+ requestedDate: z.ZodOptional<z.ZodString>;
23
+ daysOffset: z.ZodOptional<z.ZodNumber>;
24
+ isNearestMatch: z.ZodOptional<z.ZodBoolean>;
22
25
  resolution: z.ZodString;
23
26
  cloudCoverage: z.ZodNumber;
24
- source: z.ZodEnum<["sentinel-2", "landsat-8", "openweather-agro"]>;
27
+ source: z.ZodEnum<["sentinel-2", "landsat-8", "openweather-agro", "modis"]>;
25
28
  bounds: z.ZodObject<{
26
29
  north: z.ZodNumber;
27
30
  south: z.ZodNumber;
@@ -52,7 +55,7 @@ export declare const monitoringVisualizationRouter: {
52
55
  sunElevation?: number | undefined;
53
56
  }>>;
54
57
  }, "strip", z.ZodTypeAny, {
55
- source: "sentinel-2" | "landsat-8" | "openweather-agro";
58
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
56
59
  fieldId: string;
57
60
  imageUrl: string;
58
61
  cloudCoverage: number;
@@ -69,8 +72,11 @@ export declare const monitoringVisualizationRouter: {
69
72
  sunAzimuth?: number | undefined;
70
73
  sunElevation?: number | undefined;
71
74
  } | undefined;
75
+ requestedDate?: string | undefined;
76
+ daysOffset?: number | undefined;
77
+ isNearestMatch?: boolean | undefined;
72
78
  }, {
73
- source: "sentinel-2" | "landsat-8" | "openweather-agro";
79
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
74
80
  fieldId: string;
75
81
  imageUrl: string;
76
82
  cloudCoverage: number;
@@ -87,6 +93,9 @@ export declare const monitoringVisualizationRouter: {
87
93
  sunAzimuth?: number | undefined;
88
94
  sunElevation?: number | undefined;
89
95
  } | undefined;
96
+ requestedDate?: string | undefined;
97
+ daysOffset?: number | undefined;
98
+ isNearestMatch?: boolean | undefined;
90
99
  }>;
91
100
  404: z.ZodObject<{
92
101
  message: z.ZodString;
@@ -129,6 +138,10 @@ export declare const monitoringVisualizationRouter: {
129
138
  fieldId: z.ZodString;
130
139
  ndviImageUrl: z.ZodString;
131
140
  captureDate: z.ZodString;
141
+ requestedDate: z.ZodOptional<z.ZodString>;
142
+ daysOffset: z.ZodOptional<z.ZodNumber>;
143
+ isNearestMatch: z.ZodOptional<z.ZodBoolean>;
144
+ cloudCoverage: z.ZodOptional<z.ZodNumber>;
132
145
  statistics: z.ZodObject<{
133
146
  min: z.ZodNumber;
134
147
  max: z.ZodNumber;
@@ -162,6 +175,22 @@ export declare const monitoringVisualizationRouter: {
162
175
  color: string;
163
176
  }>, "many">;
164
177
  source: z.ZodString;
178
+ bounds: z.ZodOptional<z.ZodObject<{
179
+ north: z.ZodNumber;
180
+ south: z.ZodNumber;
181
+ east: z.ZodNumber;
182
+ west: z.ZodNumber;
183
+ }, "strip", z.ZodTypeAny, {
184
+ north: number;
185
+ south: number;
186
+ east: number;
187
+ west: number;
188
+ }, {
189
+ north: number;
190
+ south: number;
191
+ east: number;
192
+ west: number;
193
+ }>>;
165
194
  }, "strip", z.ZodTypeAny, {
166
195
  source: string;
167
196
  fieldId: string;
@@ -179,6 +208,16 @@ export declare const monitoringVisualizationRouter: {
179
208
  label: string;
180
209
  color: string;
181
210
  }[];
211
+ cloudCoverage?: number | undefined;
212
+ requestedDate?: string | undefined;
213
+ daysOffset?: number | undefined;
214
+ isNearestMatch?: boolean | undefined;
215
+ bounds?: {
216
+ north: number;
217
+ south: number;
218
+ east: number;
219
+ west: number;
220
+ } | undefined;
182
221
  }, {
183
222
  source: string;
184
223
  fieldId: string;
@@ -196,6 +235,16 @@ export declare const monitoringVisualizationRouter: {
196
235
  label: string;
197
236
  color: string;
198
237
  }[];
238
+ cloudCoverage?: number | undefined;
239
+ requestedDate?: string | undefined;
240
+ daysOffset?: number | undefined;
241
+ isNearestMatch?: boolean | undefined;
242
+ bounds?: {
243
+ north: number;
244
+ south: number;
245
+ east: number;
246
+ west: number;
247
+ } | undefined;
199
248
  }>;
200
249
  404: z.ZodObject<{
201
250
  message: z.ZodString;
@@ -374,16 +423,16 @@ export declare const monitoringVisualizationRouter: {
374
423
  cloudCoverage: z.ZodNumber;
375
424
  imageCoverage: z.ZodNumber;
376
425
  available: z.ZodBoolean;
377
- source: z.ZodEnum<["sentinel-2", "landsat-8", "modis"]>;
426
+ source: z.ZodEnum<["sentinel-2", "landsat-8", "modis", "openweather-agro"]>;
378
427
  }, "strip", z.ZodTypeAny, {
379
428
  date: string;
380
- source: "sentinel-2" | "landsat-8" | "modis";
429
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
381
430
  cloudCoverage: number;
382
431
  imageCoverage: number;
383
432
  available: boolean;
384
433
  }, {
385
434
  date: string;
386
- source: "sentinel-2" | "landsat-8" | "modis";
435
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
387
436
  cloudCoverage: number;
388
437
  imageCoverage: number;
389
438
  available: boolean;
@@ -403,7 +452,7 @@ export declare const monitoringVisualizationRouter: {
403
452
  fieldId: string;
404
453
  dates: {
405
454
  date: string;
406
- source: "sentinel-2" | "landsat-8" | "modis";
455
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
407
456
  cloudCoverage: number;
408
457
  imageCoverage: number;
409
458
  available: boolean;
@@ -417,7 +466,100 @@ export declare const monitoringVisualizationRouter: {
417
466
  fieldId: string;
418
467
  dates: {
419
468
  date: string;
420
- source: "sentinel-2" | "landsat-8" | "modis";
469
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
470
+ cloudCoverage: number;
471
+ imageCoverage: number;
472
+ available: boolean;
473
+ }[];
474
+ totalAvailable: number;
475
+ dateRange: {
476
+ start: string;
477
+ end: string;
478
+ };
479
+ }>;
480
+ 404: z.ZodObject<{
481
+ message: z.ZodString;
482
+ code: z.ZodString;
483
+ }, "strip", z.ZodTypeAny, {
484
+ code: string;
485
+ message: string;
486
+ }, {
487
+ code: string;
488
+ message: string;
489
+ }>;
490
+ };
491
+ };
492
+ getFarmAvailableDates: {
493
+ query: z.ZodObject<{
494
+ startDate: z.ZodEffects<z.ZodString, string, string>;
495
+ endDate: z.ZodEffects<z.ZodString, string, string>;
496
+ maxCloudCoverage: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ startDate: string;
499
+ endDate: string;
500
+ maxCloudCoverage: number;
501
+ }, {
502
+ startDate: string;
503
+ endDate: string;
504
+ maxCloudCoverage?: string | undefined;
505
+ }>;
506
+ summary: "Get available satellite imagery dates for entire farm";
507
+ method: "GET";
508
+ path: "/farms/:farmId/visualization/imagery/available-dates";
509
+ responses: {
510
+ 200: z.ZodObject<{
511
+ farmId: z.ZodString;
512
+ dates: z.ZodArray<z.ZodObject<{
513
+ date: z.ZodString;
514
+ cloudCoverage: z.ZodNumber;
515
+ imageCoverage: z.ZodNumber;
516
+ available: z.ZodBoolean;
517
+ source: z.ZodEnum<["sentinel-2", "landsat-8", "modis", "openweather-agro"]>;
518
+ }, "strip", z.ZodTypeAny, {
519
+ date: string;
520
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
521
+ cloudCoverage: number;
522
+ imageCoverage: number;
523
+ available: boolean;
524
+ }, {
525
+ date: string;
526
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
527
+ cloudCoverage: number;
528
+ imageCoverage: number;
529
+ available: boolean;
530
+ }>, "many">;
531
+ totalAvailable: z.ZodNumber;
532
+ dateRange: z.ZodObject<{
533
+ start: z.ZodString;
534
+ end: z.ZodString;
535
+ }, "strip", z.ZodTypeAny, {
536
+ start: string;
537
+ end: string;
538
+ }, {
539
+ start: string;
540
+ end: string;
541
+ }>;
542
+ monitoredFieldCount: z.ZodNumber;
543
+ }, "strip", z.ZodTypeAny, {
544
+ farmId: string;
545
+ dates: {
546
+ date: string;
547
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
548
+ cloudCoverage: number;
549
+ imageCoverage: number;
550
+ available: boolean;
551
+ }[];
552
+ totalAvailable: number;
553
+ dateRange: {
554
+ start: string;
555
+ end: string;
556
+ };
557
+ monitoredFieldCount: number;
558
+ }, {
559
+ farmId: string;
560
+ dates: {
561
+ date: string;
562
+ source: "sentinel-2" | "landsat-8" | "modis" | "openweather-agro";
421
563
  cloudCoverage: number;
422
564
  imageCoverage: number;
423
565
  available: boolean;
@@ -427,6 +569,7 @@ export declare const monitoringVisualizationRouter: {
427
569
  start: string;
428
570
  end: string;
429
571
  };
572
+ monitoredFieldCount: number;
430
573
  }>;
431
574
  404: z.ZodObject<{
432
575
  message: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"monitoring-visualization.routes.d.ts","sourceRoot":"","sources":["../../src/routes/monitoring-visualization.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsExB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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mapQuerySchema, soilMoistureHeatmapResponseSchema,
6
6
  // Phase 2 schemas
7
- availableDatesQuerySchema, availableDatesResponseSchema, historicalImageryQuerySchema, historicalImageryResponseSchema, compareImageryQuerySchema, compareImageryResponseSchema, timelapseRequestSchema, timelapseResponseSchema,
7
+ availableDatesQuerySchema, availableDatesResponseSchema, farmAvailableDatesQuerySchema, farmAvailableDatesResponseSchema, historicalImageryQuerySchema, historicalImageryResponseSchema, compareImageryQuerySchema, compareImageryResponseSchema, timelapseRequestSchema, timelapseResponseSchema,
8
8
  // Phase 3 schemas
9
9
  zoneAnalysisQuerySchema, zoneAnalysisResponseSchema, anomalyQuerySchema, anomalyDetectionResponseSchema, weatherSpatialQuerySchema, weatherSpatialResponseSchema, sensorsResponseSchema, createSensorSchema, sensorSchema, sensorReadingHistorySchema,
10
10
  // Phase 4 schemas
@@ -86,6 +86,20 @@ export const monitoringVisualizationRouter = c.router({
86
86
  },
87
87
  summary: 'Get available satellite imagery dates',
88
88
  },
89
+ /**
90
+ * Get available imagery dates across all monitored fields on a farm
91
+ * Returns union of dates for dashboard date scrubber
92
+ */
93
+ getFarmAvailableDates: {
94
+ method: 'GET',
95
+ path: '/farms/:farmId/visualization/imagery/available-dates',
96
+ query: farmAvailableDatesQuerySchema,
97
+ responses: {
98
+ 200: farmAvailableDatesResponseSchema,
99
+ 404: visualizationErrorSchema,
100
+ },
101
+ summary: 'Get available satellite imagery dates for entire farm',
102
+ },
89
103
  /**
90
104
  * Get historical imagery for a specific date
91
105
  * Returns true-color and/or NDVI imagery for the date