@deepintel-ltd/farmpro-contracts 1.36.7 → 1.36.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/care-pillar.routes.d.ts +473 -0
- package/dist/routes/care-pillar.routes.d.ts.map +1 -0
- package/dist/routes/care-pillar.routes.js +48 -0
- package/dist/routes/crop-care.routes.d.ts +4788 -0
- package/dist/routes/crop-care.routes.d.ts.map +1 -1
- package/dist/routes/field-activities.routes.d.ts +40 -40
- package/dist/routes/index.d.ts +3 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/notifications.routes.d.ts +14 -14
- package/dist/routes/nutrient-plan.routes.d.ts +40 -40
- package/dist/schemas/care-pillar.schemas.d.ts +728 -0
- package/dist/schemas/care-pillar.schemas.d.ts.map +1 -0
- package/dist/schemas/care-pillar.schemas.js +88 -0
- package/dist/schemas/crop-care.schemas.d.ts +6664 -0
- package/dist/schemas/crop-care.schemas.d.ts.map +1 -1
- package/dist/schemas/crop-care.schemas.js +13 -0
- package/dist/schemas/field-activities.schemas.d.ts +35 -35
- package/dist/schemas/field-activities.schemas.d.ts.map +1 -1
- package/dist/schemas/field-activities.schemas.js +11 -1
- package/dist/schemas/notifications.schemas.d.ts +18 -18
- package/dist/schemas/nutrient-plan.schemas.d.ts +16 -16
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crop-care.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/crop-care.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAWZ,CAAC;AAEjB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAuBf,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export const careActionSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
id: z.string(),
|
|
5
|
+
kind: z.enum(['do', 'avoid', 'scout']),
|
|
6
|
+
headline: z.string(),
|
|
7
|
+
detail: z.string().optional(),
|
|
8
|
+
cadence: z.enum(['once', 'daily', 'every-few-days', 'weekly', 'monthly', 'each-feed', 'as-needed', 'always']),
|
|
9
|
+
when: z.string().optional(),
|
|
10
|
+
dayStart: z.number().optional(),
|
|
11
|
+
dayEnd: z.number().optional(),
|
|
12
|
+
})
|
|
13
|
+
.passthrough();
|
|
2
14
|
export const careStageSchema = z
|
|
3
15
|
.object({
|
|
4
16
|
id: z.string(),
|
|
@@ -9,6 +21,7 @@ export const careStageSchema = z
|
|
|
9
21
|
summary: z.string(),
|
|
10
22
|
tasks: z.array(z.string()),
|
|
11
23
|
checks: z.array(z.string()),
|
|
24
|
+
actions: z.array(careActionSchema).optional(),
|
|
12
25
|
})
|
|
13
26
|
.passthrough();
|
|
14
27
|
export const carePhaseSchema = z
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const fieldActivityTypeSchema: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
2
|
+
export declare const fieldActivityTypeSchema: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
3
3
|
export declare const fieldActivitySourceSchema: z.ZodEnum<["manual", "agent", "whatsapp"]>;
|
|
4
4
|
export declare const fieldActivityAttributesSchema: z.ZodObject<{
|
|
5
5
|
fieldId: z.ZodString;
|
|
6
6
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
7
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
7
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
8
8
|
occurredAt: z.ZodString;
|
|
9
9
|
method: z.ZodNullable<z.ZodString>;
|
|
10
10
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -19,7 +19,7 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
|
|
|
19
19
|
createdAt: z.ZodString;
|
|
20
20
|
updatedAt: z.ZodString;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
type: "weeding" | "fertilizer";
|
|
22
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
23
23
|
source: "whatsapp" | "manual" | "agent";
|
|
24
24
|
createdAt: string;
|
|
25
25
|
updatedAt: string;
|
|
@@ -35,7 +35,7 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
|
|
|
35
35
|
fertilizerProductId: string | null;
|
|
36
36
|
fieldName?: string | undefined;
|
|
37
37
|
}, {
|
|
38
|
-
type: "weeding" | "fertilizer";
|
|
38
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
39
39
|
source: "whatsapp" | "manual" | "agent";
|
|
40
40
|
createdAt: string;
|
|
41
41
|
updatedAt: string;
|
|
@@ -53,7 +53,7 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
|
|
|
53
53
|
}>;
|
|
54
54
|
export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObject<{
|
|
55
55
|
fieldId: z.ZodString;
|
|
56
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
56
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
57
57
|
occurredAt: z.ZodString;
|
|
58
58
|
method: z.ZodOptional<z.ZodString>;
|
|
59
59
|
productName: z.ZodOptional<z.ZodString>;
|
|
@@ -64,7 +64,7 @@ export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObje
|
|
|
64
64
|
notes: z.ZodOptional<z.ZodString>;
|
|
65
65
|
source: z.ZodOptional<z.ZodEnum<["manual", "agent", "whatsapp"]>>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
type: "weeding" | "fertilizer";
|
|
67
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
68
68
|
occurredAt: string;
|
|
69
69
|
fieldId: string;
|
|
70
70
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObje
|
|
|
76
76
|
inventoryItemId?: string | undefined;
|
|
77
77
|
fertilizerProductId?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
type: "weeding" | "fertilizer";
|
|
79
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
80
80
|
occurredAt: string;
|
|
81
81
|
fieldId: string;
|
|
82
82
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -88,7 +88,7 @@ export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObje
|
|
|
88
88
|
inventoryItemId?: string | undefined;
|
|
89
89
|
fertilizerProductId?: string | undefined;
|
|
90
90
|
}>, {
|
|
91
|
-
type: "weeding" | "fertilizer";
|
|
91
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
92
92
|
occurredAt: string;
|
|
93
93
|
fieldId: string;
|
|
94
94
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -100,7 +100,7 @@ export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObje
|
|
|
100
100
|
inventoryItemId?: string | undefined;
|
|
101
101
|
fertilizerProductId?: string | undefined;
|
|
102
102
|
}, {
|
|
103
|
-
type: "weeding" | "fertilizer";
|
|
103
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
104
104
|
occurredAt: string;
|
|
105
105
|
fieldId: string;
|
|
106
106
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -144,7 +144,7 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
144
144
|
type: z.ZodLiteral<"field-activities">;
|
|
145
145
|
attributes: z.ZodEffects<z.ZodObject<{
|
|
146
146
|
fieldId: z.ZodString;
|
|
147
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
147
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
148
148
|
occurredAt: z.ZodString;
|
|
149
149
|
method: z.ZodOptional<z.ZodString>;
|
|
150
150
|
productName: z.ZodOptional<z.ZodString>;
|
|
@@ -155,7 +155,7 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
155
155
|
notes: z.ZodOptional<z.ZodString>;
|
|
156
156
|
source: z.ZodOptional<z.ZodEnum<["manual", "agent", "whatsapp"]>>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
type: "weeding" | "fertilizer";
|
|
158
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
159
159
|
occurredAt: string;
|
|
160
160
|
fieldId: string;
|
|
161
161
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -167,7 +167,7 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
167
167
|
inventoryItemId?: string | undefined;
|
|
168
168
|
fertilizerProductId?: string | undefined;
|
|
169
169
|
}, {
|
|
170
|
-
type: "weeding" | "fertilizer";
|
|
170
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
171
171
|
occurredAt: string;
|
|
172
172
|
fieldId: string;
|
|
173
173
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -179,7 +179,7 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
179
179
|
inventoryItemId?: string | undefined;
|
|
180
180
|
fertilizerProductId?: string | undefined;
|
|
181
181
|
}>, {
|
|
182
|
-
type: "weeding" | "fertilizer";
|
|
182
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
183
183
|
occurredAt: string;
|
|
184
184
|
fieldId: string;
|
|
185
185
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -191,7 +191,7 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
191
191
|
inventoryItemId?: string | undefined;
|
|
192
192
|
fertilizerProductId?: string | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
type: "weeding" | "fertilizer";
|
|
194
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
195
195
|
occurredAt: string;
|
|
196
196
|
fieldId: string;
|
|
197
197
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -206,7 +206,7 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
type: "field-activities";
|
|
208
208
|
attributes: {
|
|
209
|
-
type: "weeding" | "fertilizer";
|
|
209
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
210
210
|
occurredAt: string;
|
|
211
211
|
fieldId: string;
|
|
212
212
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -221,7 +221,7 @@ export declare const createFieldActivitySchema: z.ZodObject<{
|
|
|
221
221
|
}, {
|
|
222
222
|
type: "field-activities";
|
|
223
223
|
attributes: {
|
|
224
|
-
type: "weeding" | "fertilizer";
|
|
224
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
225
225
|
occurredAt: string;
|
|
226
226
|
fieldId: string;
|
|
227
227
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -298,7 +298,7 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
298
298
|
attributes: z.ZodObject<{
|
|
299
299
|
fieldId: z.ZodString;
|
|
300
300
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
301
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
301
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
302
302
|
occurredAt: z.ZodString;
|
|
303
303
|
method: z.ZodNullable<z.ZodString>;
|
|
304
304
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -313,7 +313,7 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
313
313
|
createdAt: z.ZodString;
|
|
314
314
|
updatedAt: z.ZodString;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
type: "weeding" | "fertilizer";
|
|
316
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
317
317
|
source: "whatsapp" | "manual" | "agent";
|
|
318
318
|
createdAt: string;
|
|
319
319
|
updatedAt: string;
|
|
@@ -329,7 +329,7 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
329
329
|
fertilizerProductId: string | null;
|
|
330
330
|
fieldName?: string | undefined;
|
|
331
331
|
}, {
|
|
332
|
-
type: "weeding" | "fertilizer";
|
|
332
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
333
333
|
source: "whatsapp" | "manual" | "agent";
|
|
334
334
|
createdAt: string;
|
|
335
335
|
updatedAt: string;
|
|
@@ -352,7 +352,7 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
352
352
|
type: string;
|
|
353
353
|
id: string;
|
|
354
354
|
attributes: {
|
|
355
|
-
type: "weeding" | "fertilizer";
|
|
355
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
356
356
|
source: "whatsapp" | "manual" | "agent";
|
|
357
357
|
createdAt: string;
|
|
358
358
|
updatedAt: string;
|
|
@@ -375,7 +375,7 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
|
|
|
375
375
|
type: string;
|
|
376
376
|
id: string;
|
|
377
377
|
attributes: {
|
|
378
|
-
type: "weeding" | "fertilizer";
|
|
378
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
379
379
|
source: "whatsapp" | "manual" | "agent";
|
|
380
380
|
createdAt: string;
|
|
381
381
|
updatedAt: string;
|
|
@@ -402,7 +402,7 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
402
402
|
attributes: z.ZodObject<{
|
|
403
403
|
fieldId: z.ZodString;
|
|
404
404
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
405
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
405
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
406
406
|
occurredAt: z.ZodString;
|
|
407
407
|
method: z.ZodNullable<z.ZodString>;
|
|
408
408
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -417,7 +417,7 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
417
417
|
createdAt: z.ZodString;
|
|
418
418
|
updatedAt: z.ZodString;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
|
-
type: "weeding" | "fertilizer";
|
|
420
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
421
421
|
source: "whatsapp" | "manual" | "agent";
|
|
422
422
|
createdAt: string;
|
|
423
423
|
updatedAt: string;
|
|
@@ -433,7 +433,7 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
433
433
|
fertilizerProductId: string | null;
|
|
434
434
|
fieldName?: string | undefined;
|
|
435
435
|
}, {
|
|
436
|
-
type: "weeding" | "fertilizer";
|
|
436
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
437
437
|
source: "whatsapp" | "manual" | "agent";
|
|
438
438
|
createdAt: string;
|
|
439
439
|
updatedAt: string;
|
|
@@ -456,7 +456,7 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
456
456
|
type: string;
|
|
457
457
|
id: string;
|
|
458
458
|
attributes: {
|
|
459
|
-
type: "weeding" | "fertilizer";
|
|
459
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
460
460
|
source: "whatsapp" | "manual" | "agent";
|
|
461
461
|
createdAt: string;
|
|
462
462
|
updatedAt: string;
|
|
@@ -479,7 +479,7 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
479
479
|
type: string;
|
|
480
480
|
id: string;
|
|
481
481
|
attributes: {
|
|
482
|
-
type: "weeding" | "fertilizer";
|
|
482
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
483
483
|
source: "whatsapp" | "manual" | "agent";
|
|
484
484
|
createdAt: string;
|
|
485
485
|
updatedAt: string;
|
|
@@ -528,7 +528,7 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
528
528
|
type: string;
|
|
529
529
|
id: string;
|
|
530
530
|
attributes: {
|
|
531
|
-
type: "weeding" | "fertilizer";
|
|
531
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
532
532
|
source: "whatsapp" | "manual" | "agent";
|
|
533
533
|
createdAt: string;
|
|
534
534
|
updatedAt: string;
|
|
@@ -563,7 +563,7 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
|
|
|
563
563
|
type: string;
|
|
564
564
|
id: string;
|
|
565
565
|
attributes: {
|
|
566
|
-
type: "weeding" | "fertilizer";
|
|
566
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
567
567
|
source: "whatsapp" | "manual" | "agent";
|
|
568
568
|
createdAt: string;
|
|
569
569
|
updatedAt: string;
|
|
@@ -601,7 +601,7 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
601
601
|
attributes: z.ZodObject<{
|
|
602
602
|
fieldId: z.ZodString;
|
|
603
603
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
604
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
604
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
605
605
|
occurredAt: z.ZodString;
|
|
606
606
|
method: z.ZodNullable<z.ZodString>;
|
|
607
607
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -616,7 +616,7 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
616
616
|
createdAt: z.ZodString;
|
|
617
617
|
updatedAt: z.ZodString;
|
|
618
618
|
}, "strip", z.ZodTypeAny, {
|
|
619
|
-
type: "weeding" | "fertilizer";
|
|
619
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
620
620
|
source: "whatsapp" | "manual" | "agent";
|
|
621
621
|
createdAt: string;
|
|
622
622
|
updatedAt: string;
|
|
@@ -632,7 +632,7 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
632
632
|
fertilizerProductId: string | null;
|
|
633
633
|
fieldName?: string | undefined;
|
|
634
634
|
}, {
|
|
635
|
-
type: "weeding" | "fertilizer";
|
|
635
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
636
636
|
source: "whatsapp" | "manual" | "agent";
|
|
637
637
|
createdAt: string;
|
|
638
638
|
updatedAt: string;
|
|
@@ -655,7 +655,7 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
655
655
|
type: string;
|
|
656
656
|
id: string;
|
|
657
657
|
attributes: {
|
|
658
|
-
type: "weeding" | "fertilizer";
|
|
658
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
659
659
|
source: "whatsapp" | "manual" | "agent";
|
|
660
660
|
createdAt: string;
|
|
661
661
|
updatedAt: string;
|
|
@@ -678,7 +678,7 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
678
678
|
type: string;
|
|
679
679
|
id: string;
|
|
680
680
|
attributes: {
|
|
681
|
-
type: "weeding" | "fertilizer";
|
|
681
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
682
682
|
source: "whatsapp" | "manual" | "agent";
|
|
683
683
|
createdAt: string;
|
|
684
684
|
updatedAt: string;
|
|
@@ -727,7 +727,7 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
727
727
|
type: string;
|
|
728
728
|
id: string;
|
|
729
729
|
attributes: {
|
|
730
|
-
type: "weeding" | "fertilizer";
|
|
730
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
731
731
|
source: "whatsapp" | "manual" | "agent";
|
|
732
732
|
createdAt: string;
|
|
733
733
|
updatedAt: string;
|
|
@@ -762,7 +762,7 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
|
|
|
762
762
|
type: string;
|
|
763
763
|
id: string;
|
|
764
764
|
attributes: {
|
|
765
|
-
type: "weeding" | "fertilizer";
|
|
765
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
766
766
|
source: "whatsapp" | "manual" | "agent";
|
|
767
767
|
createdAt: string;
|
|
768
768
|
updatedAt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-activities.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/field-activities.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"field-activities.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/field-activities.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB,2HAUlC,CAAC;AACH,eAAO,MAAM,yBAAyB,4CAA0C,CAAC;AAEjF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBhB,CAAC;AAE3B,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB5C,CAAC;AAEL,eA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G,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACjF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACjF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { timestampsSchema, createJsonApiResourceSchema, jsonApiSingleResponseSchema, jsonApiCollectionResponseSchema, } from './common.schemas';
|
|
3
|
-
export const fieldActivityTypeSchema = z.enum([
|
|
3
|
+
export const fieldActivityTypeSchema = z.enum([
|
|
4
|
+
'weeding',
|
|
5
|
+
'fertilizer',
|
|
6
|
+
'scouting',
|
|
7
|
+
'spray',
|
|
8
|
+
'biocontrol',
|
|
9
|
+
'sanitation',
|
|
10
|
+
'irrigation',
|
|
11
|
+
'pruning',
|
|
12
|
+
'staking',
|
|
13
|
+
]);
|
|
4
14
|
export const fieldActivitySourceSchema = z.enum(['manual', 'agent', 'whatsapp']);
|
|
5
15
|
export const fieldActivityAttributesSchema = z
|
|
6
16
|
.object({
|
|
@@ -12,7 +12,7 @@ export declare const notificationAttributesSchema: z.ZodObject<{
|
|
|
12
12
|
source: z.ZodEnum<["notification", "field_alert", "vendor_payment", "weather_alert"]>;
|
|
13
13
|
createdAt: z.ZodString;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
type: "team" | "weather" | "
|
|
15
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
16
16
|
title: string;
|
|
17
17
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
18
18
|
createdAt: string;
|
|
@@ -22,7 +22,7 @@ export declare const notificationAttributesSchema: z.ZodObject<{
|
|
|
22
22
|
farmId: string | null;
|
|
23
23
|
readAt: string | null;
|
|
24
24
|
}, {
|
|
25
|
-
type: "team" | "weather" | "
|
|
25
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
26
26
|
title: string;
|
|
27
27
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
28
28
|
createdAt: string;
|
|
@@ -46,7 +46,7 @@ export declare const notificationResourceSchema: z.ZodObject<{
|
|
|
46
46
|
source: z.ZodEnum<["notification", "field_alert", "vendor_payment", "weather_alert"]>;
|
|
47
47
|
createdAt: z.ZodString;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
type: "team" | "weather" | "
|
|
49
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
50
50
|
title: string;
|
|
51
51
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
52
52
|
createdAt: string;
|
|
@@ -56,7 +56,7 @@ export declare const notificationResourceSchema: z.ZodObject<{
|
|
|
56
56
|
farmId: string | null;
|
|
57
57
|
readAt: string | null;
|
|
58
58
|
}, {
|
|
59
|
-
type: "team" | "weather" | "
|
|
59
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
60
60
|
title: string;
|
|
61
61
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
62
62
|
createdAt: string;
|
|
@@ -73,7 +73,7 @@ export declare const notificationResourceSchema: z.ZodObject<{
|
|
|
73
73
|
type: string;
|
|
74
74
|
id: string;
|
|
75
75
|
attributes: {
|
|
76
|
-
type: "team" | "weather" | "
|
|
76
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
77
77
|
title: string;
|
|
78
78
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
79
79
|
createdAt: string;
|
|
@@ -90,7 +90,7 @@ export declare const notificationResourceSchema: z.ZodObject<{
|
|
|
90
90
|
type: string;
|
|
91
91
|
id: string;
|
|
92
92
|
attributes: {
|
|
93
|
-
type: "team" | "weather" | "
|
|
93
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
94
94
|
title: string;
|
|
95
95
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
96
96
|
createdAt: string;
|
|
@@ -119,7 +119,7 @@ export declare const notificationResponseSchema: z.ZodObject<{
|
|
|
119
119
|
source: z.ZodEnum<["notification", "field_alert", "vendor_payment", "weather_alert"]>;
|
|
120
120
|
createdAt: z.ZodString;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
type: "team" | "weather" | "
|
|
122
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
123
123
|
title: string;
|
|
124
124
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
125
125
|
createdAt: string;
|
|
@@ -129,7 +129,7 @@ export declare const notificationResponseSchema: z.ZodObject<{
|
|
|
129
129
|
farmId: string | null;
|
|
130
130
|
readAt: string | null;
|
|
131
131
|
}, {
|
|
132
|
-
type: "team" | "weather" | "
|
|
132
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
133
133
|
title: string;
|
|
134
134
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
135
135
|
createdAt: string;
|
|
@@ -146,7 +146,7 @@ export declare const notificationResponseSchema: z.ZodObject<{
|
|
|
146
146
|
type: string;
|
|
147
147
|
id: string;
|
|
148
148
|
attributes: {
|
|
149
|
-
type: "team" | "weather" | "
|
|
149
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
150
150
|
title: string;
|
|
151
151
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
152
152
|
createdAt: string;
|
|
@@ -163,7 +163,7 @@ export declare const notificationResponseSchema: z.ZodObject<{
|
|
|
163
163
|
type: string;
|
|
164
164
|
id: string;
|
|
165
165
|
attributes: {
|
|
166
|
-
type: "team" | "weather" | "
|
|
166
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
167
167
|
title: string;
|
|
168
168
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
169
169
|
createdAt: string;
|
|
@@ -206,7 +206,7 @@ export declare const notificationResponseSchema: z.ZodObject<{
|
|
|
206
206
|
type: string;
|
|
207
207
|
id: string;
|
|
208
208
|
attributes: {
|
|
209
|
-
type: "team" | "weather" | "
|
|
209
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
210
210
|
title: string;
|
|
211
211
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
212
212
|
createdAt: string;
|
|
@@ -235,7 +235,7 @@ export declare const notificationResponseSchema: z.ZodObject<{
|
|
|
235
235
|
type: string;
|
|
236
236
|
id: string;
|
|
237
237
|
attributes: {
|
|
238
|
-
type: "team" | "weather" | "
|
|
238
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
239
239
|
title: string;
|
|
240
240
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
241
241
|
createdAt: string;
|
|
@@ -275,7 +275,7 @@ export declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
275
275
|
source: z.ZodEnum<["notification", "field_alert", "vendor_payment", "weather_alert"]>;
|
|
276
276
|
createdAt: z.ZodString;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
type: "team" | "weather" | "
|
|
278
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
279
279
|
title: string;
|
|
280
280
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
281
281
|
createdAt: string;
|
|
@@ -285,7 +285,7 @@ export declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
285
285
|
farmId: string | null;
|
|
286
286
|
readAt: string | null;
|
|
287
287
|
}, {
|
|
288
|
-
type: "team" | "weather" | "
|
|
288
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
289
289
|
title: string;
|
|
290
290
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
291
291
|
createdAt: string;
|
|
@@ -302,7 +302,7 @@ export declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
302
302
|
type: string;
|
|
303
303
|
id: string;
|
|
304
304
|
attributes: {
|
|
305
|
-
type: "team" | "weather" | "
|
|
305
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
306
306
|
title: string;
|
|
307
307
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
308
308
|
createdAt: string;
|
|
@@ -319,7 +319,7 @@ export declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
319
319
|
type: string;
|
|
320
320
|
id: string;
|
|
321
321
|
attributes: {
|
|
322
|
-
type: "team" | "weather" | "
|
|
322
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
323
323
|
title: string;
|
|
324
324
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
325
325
|
createdAt: string;
|
|
@@ -362,7 +362,7 @@ export declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
362
362
|
type: string;
|
|
363
363
|
id: string;
|
|
364
364
|
attributes: {
|
|
365
|
-
type: "team" | "weather" | "
|
|
365
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
366
366
|
title: string;
|
|
367
367
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
368
368
|
createdAt: string;
|
|
@@ -391,7 +391,7 @@ export declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
391
391
|
type: string;
|
|
392
392
|
id: string;
|
|
393
393
|
attributes: {
|
|
394
|
-
type: "team" | "weather" | "
|
|
394
|
+
type: "team" | "weather" | "system" | "field_alert" | "task" | "payment" | "subscription" | "camera";
|
|
395
395
|
title: string;
|
|
396
396
|
source: "field_alert" | "notification" | "vendor_payment" | "weather_alert";
|
|
397
397
|
createdAt: string;
|