@deepintel-ltd/farmpro-contracts 1.5.1 → 1.5.2
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/routes/documents.routes.d.ts +55 -97
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/tasks.routes.d.ts +447 -63
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.d.ts +57 -94
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +5 -7
- package/dist/schemas/tasks.schemas.d.ts +425 -61
- package/dist/schemas/tasks.schemas.d.ts.map +1 -1
- package/dist/schemas/tasks.schemas.js +12 -6
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.routes.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"tasks.routes.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuItB,CAAC"}
|
|
@@ -20,7 +20,6 @@ export declare const documentAttributesSchema: z.ZodObject<{
|
|
|
20
20
|
type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
|
|
21
21
|
category: z.ZodNullable<z.ZodString>;
|
|
22
22
|
fileUrl: z.ZodString;
|
|
23
|
-
viewUrl: z.ZodOptional<z.ZodString>;
|
|
24
23
|
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
24
|
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
26
25
|
uploadedDate: z.ZodString;
|
|
@@ -47,8 +46,8 @@ export declare const documentAttributesSchema: z.ZodObject<{
|
|
|
47
46
|
name: string;
|
|
48
47
|
description: string | null;
|
|
49
48
|
farmId: string;
|
|
50
|
-
category: string | null;
|
|
51
49
|
fileUrl: string;
|
|
50
|
+
category: string | null;
|
|
52
51
|
fileSize: number | null;
|
|
53
52
|
uploadedDate: string;
|
|
54
53
|
uploadedBy: string | null;
|
|
@@ -56,7 +55,6 @@ export declare const documentAttributesSchema: z.ZodObject<{
|
|
|
56
55
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
57
56
|
id: string;
|
|
58
57
|
} | null;
|
|
59
|
-
viewUrl?: string | undefined;
|
|
60
58
|
fileExtension?: string | null | undefined;
|
|
61
59
|
tags?: string[] | undefined;
|
|
62
60
|
}, {
|
|
@@ -66,8 +64,8 @@ export declare const documentAttributesSchema: z.ZodObject<{
|
|
|
66
64
|
name: string;
|
|
67
65
|
description: string | null;
|
|
68
66
|
farmId: string;
|
|
69
|
-
category: string | null;
|
|
70
67
|
fileUrl: string;
|
|
68
|
+
category: string | null;
|
|
71
69
|
fileSize: number | null;
|
|
72
70
|
uploadedDate: string;
|
|
73
71
|
uploadedBy: string | null;
|
|
@@ -75,7 +73,6 @@ export declare const documentAttributesSchema: z.ZodObject<{
|
|
|
75
73
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
76
74
|
id: string;
|
|
77
75
|
} | null;
|
|
78
|
-
viewUrl?: string | undefined;
|
|
79
76
|
fileExtension?: string | null | undefined;
|
|
80
77
|
tags?: string[] | undefined;
|
|
81
78
|
}>;
|
|
@@ -101,8 +98,8 @@ export declare const createDocumentAttributesSchema: z.ZodObject<{
|
|
|
101
98
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
102
99
|
name: string;
|
|
103
100
|
description?: string | undefined;
|
|
104
|
-
category?: string | undefined;
|
|
105
101
|
fileUrl?: string | undefined;
|
|
102
|
+
category?: string | undefined;
|
|
106
103
|
fileSize?: number | undefined;
|
|
107
104
|
relatedTo?: {
|
|
108
105
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -113,8 +110,8 @@ export declare const createDocumentAttributesSchema: z.ZodObject<{
|
|
|
113
110
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
114
111
|
name: string;
|
|
115
112
|
description?: string | undefined;
|
|
116
|
-
category?: string | undefined;
|
|
117
113
|
fileUrl?: string | undefined;
|
|
114
|
+
category?: string | undefined;
|
|
118
115
|
fileSize?: number | undefined;
|
|
119
116
|
relatedTo?: {
|
|
120
117
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -144,8 +141,8 @@ export declare const updateDocumentAttributesSchema: z.ZodObject<{
|
|
|
144
141
|
type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
145
142
|
name?: string | undefined;
|
|
146
143
|
description?: string | null | undefined;
|
|
147
|
-
category?: string | null | undefined;
|
|
148
144
|
fileUrl?: string | undefined;
|
|
145
|
+
category?: string | null | undefined;
|
|
149
146
|
fileSize?: number | undefined;
|
|
150
147
|
relatedTo?: {
|
|
151
148
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -156,8 +153,8 @@ export declare const updateDocumentAttributesSchema: z.ZodObject<{
|
|
|
156
153
|
type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
157
154
|
name?: string | undefined;
|
|
158
155
|
description?: string | null | undefined;
|
|
159
|
-
category?: string | null | undefined;
|
|
160
156
|
fileUrl?: string | undefined;
|
|
157
|
+
category?: string | null | undefined;
|
|
161
158
|
fileSize?: number | undefined;
|
|
162
159
|
relatedTo?: {
|
|
163
160
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -189,8 +186,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
189
186
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
190
187
|
name: string;
|
|
191
188
|
description?: string | undefined;
|
|
192
|
-
category?: string | undefined;
|
|
193
189
|
fileUrl?: string | undefined;
|
|
190
|
+
category?: string | undefined;
|
|
194
191
|
fileSize?: number | undefined;
|
|
195
192
|
relatedTo?: {
|
|
196
193
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -201,8 +198,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
201
198
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
202
199
|
name: string;
|
|
203
200
|
description?: string | undefined;
|
|
204
|
-
category?: string | undefined;
|
|
205
201
|
fileUrl?: string | undefined;
|
|
202
|
+
category?: string | undefined;
|
|
206
203
|
fileSize?: number | undefined;
|
|
207
204
|
relatedTo?: {
|
|
208
205
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -216,8 +213,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
216
213
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
217
214
|
name: string;
|
|
218
215
|
description?: string | undefined;
|
|
219
|
-
category?: string | undefined;
|
|
220
216
|
fileUrl?: string | undefined;
|
|
217
|
+
category?: string | undefined;
|
|
221
218
|
fileSize?: number | undefined;
|
|
222
219
|
relatedTo?: {
|
|
223
220
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -231,8 +228,8 @@ export declare const createDocumentSchema: z.ZodObject<{
|
|
|
231
228
|
type: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice";
|
|
232
229
|
name: string;
|
|
233
230
|
description?: string | undefined;
|
|
234
|
-
category?: string | undefined;
|
|
235
231
|
fileUrl?: string | undefined;
|
|
232
|
+
category?: string | undefined;
|
|
236
233
|
fileSize?: number | undefined;
|
|
237
234
|
relatedTo?: {
|
|
238
235
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -266,8 +263,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
266
263
|
type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
267
264
|
name?: string | undefined;
|
|
268
265
|
description?: string | null | undefined;
|
|
269
|
-
category?: string | null | undefined;
|
|
270
266
|
fileUrl?: string | undefined;
|
|
267
|
+
category?: string | null | undefined;
|
|
271
268
|
fileSize?: number | undefined;
|
|
272
269
|
relatedTo?: {
|
|
273
270
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -278,8 +275,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
278
275
|
type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
279
276
|
name?: string | undefined;
|
|
280
277
|
description?: string | null | undefined;
|
|
281
|
-
category?: string | null | undefined;
|
|
282
278
|
fileUrl?: string | undefined;
|
|
279
|
+
category?: string | null | undefined;
|
|
283
280
|
fileSize?: number | undefined;
|
|
284
281
|
relatedTo?: {
|
|
285
282
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -294,8 +291,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
294
291
|
type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
295
292
|
name?: string | undefined;
|
|
296
293
|
description?: string | null | undefined;
|
|
297
|
-
category?: string | null | undefined;
|
|
298
294
|
fileUrl?: string | undefined;
|
|
295
|
+
category?: string | null | undefined;
|
|
299
296
|
fileSize?: number | undefined;
|
|
300
297
|
relatedTo?: {
|
|
301
298
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -310,8 +307,8 @@ export declare const updateDocumentSchema: z.ZodObject<{
|
|
|
310
307
|
type?: "other" | "receipt" | "certificate" | "land-document" | "insurance" | "contract" | "invoice" | undefined;
|
|
311
308
|
name?: string | undefined;
|
|
312
309
|
description?: string | null | undefined;
|
|
313
|
-
category?: string | null | undefined;
|
|
314
310
|
fileUrl?: string | undefined;
|
|
311
|
+
category?: string | null | undefined;
|
|
315
312
|
fileSize?: number | undefined;
|
|
316
313
|
relatedTo?: {
|
|
317
314
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
@@ -329,7 +326,6 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
329
326
|
type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
|
|
330
327
|
category: z.ZodNullable<z.ZodString>;
|
|
331
328
|
fileUrl: z.ZodString;
|
|
332
|
-
viewUrl: z.ZodOptional<z.ZodString>;
|
|
333
329
|
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
330
|
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
335
331
|
uploadedDate: z.ZodString;
|
|
@@ -356,8 +352,8 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
356
352
|
name: string;
|
|
357
353
|
description: string | null;
|
|
358
354
|
farmId: string;
|
|
359
|
-
category: string | null;
|
|
360
355
|
fileUrl: string;
|
|
356
|
+
category: string | null;
|
|
361
357
|
fileSize: number | null;
|
|
362
358
|
uploadedDate: string;
|
|
363
359
|
uploadedBy: string | null;
|
|
@@ -365,7 +361,6 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
365
361
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
366
362
|
id: string;
|
|
367
363
|
} | null;
|
|
368
|
-
viewUrl?: string | undefined;
|
|
369
364
|
fileExtension?: string | null | undefined;
|
|
370
365
|
tags?: string[] | undefined;
|
|
371
366
|
}, {
|
|
@@ -375,8 +370,8 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
375
370
|
name: string;
|
|
376
371
|
description: string | null;
|
|
377
372
|
farmId: string;
|
|
378
|
-
category: string | null;
|
|
379
373
|
fileUrl: string;
|
|
374
|
+
category: string | null;
|
|
380
375
|
fileSize: number | null;
|
|
381
376
|
uploadedDate: string;
|
|
382
377
|
uploadedBy: string | null;
|
|
@@ -384,7 +379,6 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
384
379
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
385
380
|
id: string;
|
|
386
381
|
} | null;
|
|
387
|
-
viewUrl?: string | undefined;
|
|
388
382
|
fileExtension?: string | null | undefined;
|
|
389
383
|
tags?: string[] | undefined;
|
|
390
384
|
}>;
|
|
@@ -401,8 +395,8 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
401
395
|
name: string;
|
|
402
396
|
description: string | null;
|
|
403
397
|
farmId: string;
|
|
404
|
-
category: string | null;
|
|
405
398
|
fileUrl: string;
|
|
399
|
+
category: string | null;
|
|
406
400
|
fileSize: number | null;
|
|
407
401
|
uploadedDate: string;
|
|
408
402
|
uploadedBy: string | null;
|
|
@@ -410,7 +404,6 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
410
404
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
411
405
|
id: string;
|
|
412
406
|
} | null;
|
|
413
|
-
viewUrl?: string | undefined;
|
|
414
407
|
fileExtension?: string | null | undefined;
|
|
415
408
|
tags?: string[] | undefined;
|
|
416
409
|
};
|
|
@@ -427,8 +420,8 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
427
420
|
name: string;
|
|
428
421
|
description: string | null;
|
|
429
422
|
farmId: string;
|
|
430
|
-
category: string | null;
|
|
431
423
|
fileUrl: string;
|
|
424
|
+
category: string | null;
|
|
432
425
|
fileSize: number | null;
|
|
433
426
|
uploadedDate: string;
|
|
434
427
|
uploadedBy: string | null;
|
|
@@ -436,7 +429,6 @@ export declare const documentResourceSchema: z.ZodObject<{
|
|
|
436
429
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
437
430
|
id: string;
|
|
438
431
|
} | null;
|
|
439
|
-
viewUrl?: string | undefined;
|
|
440
432
|
fileExtension?: string | null | undefined;
|
|
441
433
|
tags?: string[] | undefined;
|
|
442
434
|
};
|
|
@@ -454,7 +446,6 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
454
446
|
type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
|
|
455
447
|
category: z.ZodNullable<z.ZodString>;
|
|
456
448
|
fileUrl: z.ZodString;
|
|
457
|
-
viewUrl: z.ZodOptional<z.ZodString>;
|
|
458
449
|
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
459
450
|
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
460
451
|
uploadedDate: z.ZodString;
|
|
@@ -481,8 +472,8 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
481
472
|
name: string;
|
|
482
473
|
description: string | null;
|
|
483
474
|
farmId: string;
|
|
484
|
-
category: string | null;
|
|
485
475
|
fileUrl: string;
|
|
476
|
+
category: string | null;
|
|
486
477
|
fileSize: number | null;
|
|
487
478
|
uploadedDate: string;
|
|
488
479
|
uploadedBy: string | null;
|
|
@@ -490,7 +481,6 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
490
481
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
491
482
|
id: string;
|
|
492
483
|
} | null;
|
|
493
|
-
viewUrl?: string | undefined;
|
|
494
484
|
fileExtension?: string | null | undefined;
|
|
495
485
|
tags?: string[] | undefined;
|
|
496
486
|
}, {
|
|
@@ -500,8 +490,8 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
500
490
|
name: string;
|
|
501
491
|
description: string | null;
|
|
502
492
|
farmId: string;
|
|
503
|
-
category: string | null;
|
|
504
493
|
fileUrl: string;
|
|
494
|
+
category: string | null;
|
|
505
495
|
fileSize: number | null;
|
|
506
496
|
uploadedDate: string;
|
|
507
497
|
uploadedBy: string | null;
|
|
@@ -509,7 +499,6 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
509
499
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
510
500
|
id: string;
|
|
511
501
|
} | null;
|
|
512
|
-
viewUrl?: string | undefined;
|
|
513
502
|
fileExtension?: string | null | undefined;
|
|
514
503
|
tags?: string[] | undefined;
|
|
515
504
|
}>;
|
|
@@ -526,8 +515,8 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
526
515
|
name: string;
|
|
527
516
|
description: string | null;
|
|
528
517
|
farmId: string;
|
|
529
|
-
category: string | null;
|
|
530
518
|
fileUrl: string;
|
|
519
|
+
category: string | null;
|
|
531
520
|
fileSize: number | null;
|
|
532
521
|
uploadedDate: string;
|
|
533
522
|
uploadedBy: string | null;
|
|
@@ -535,7 +524,6 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
535
524
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
536
525
|
id: string;
|
|
537
526
|
} | null;
|
|
538
|
-
viewUrl?: string | undefined;
|
|
539
527
|
fileExtension?: string | null | undefined;
|
|
540
528
|
tags?: string[] | undefined;
|
|
541
529
|
};
|
|
@@ -552,8 +540,8 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
552
540
|
name: string;
|
|
553
541
|
description: string | null;
|
|
554
542
|
farmId: string;
|
|
555
|
-
category: string | null;
|
|
556
543
|
fileUrl: string;
|
|
544
|
+
category: string | null;
|
|
557
545
|
fileSize: number | null;
|
|
558
546
|
uploadedDate: string;
|
|
559
547
|
uploadedBy: string | null;
|
|
@@ -561,7 +549,6 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
561
549
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
562
550
|
id: string;
|
|
563
551
|
} | null;
|
|
564
|
-
viewUrl?: string | undefined;
|
|
565
552
|
fileExtension?: string | null | undefined;
|
|
566
553
|
tags?: string[] | undefined;
|
|
567
554
|
};
|
|
@@ -604,8 +591,8 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
604
591
|
name: string;
|
|
605
592
|
description: string | null;
|
|
606
593
|
farmId: string;
|
|
607
|
-
category: string | null;
|
|
608
594
|
fileUrl: string;
|
|
595
|
+
category: string | null;
|
|
609
596
|
fileSize: number | null;
|
|
610
597
|
uploadedDate: string;
|
|
611
598
|
uploadedBy: string | null;
|
|
@@ -613,7 +600,6 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
613
600
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
614
601
|
id: string;
|
|
615
602
|
} | null;
|
|
616
|
-
viewUrl?: string | undefined;
|
|
617
603
|
fileExtension?: string | null | undefined;
|
|
618
604
|
tags?: string[] | undefined;
|
|
619
605
|
};
|
|
@@ -642,8 +628,8 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
642
628
|
name: string;
|
|
643
629
|
description: string | null;
|
|
644
630
|
farmId: string;
|
|
645
|
-
category: string | null;
|
|
646
631
|
fileUrl: string;
|
|
632
|
+
category: string | null;
|
|
647
633
|
fileSize: number | null;
|
|
648
634
|
uploadedDate: string;
|
|
649
635
|
uploadedBy: string | null;
|
|
@@ -651,7 +637,6 @@ export declare const documentResponseSchema: z.ZodObject<{
|
|
|
651
637
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
652
638
|
id: string;
|
|
653
639
|
} | null;
|
|
654
|
-
viewUrl?: string | undefined;
|
|
655
640
|
fileExtension?: string | null | undefined;
|
|
656
641
|
tags?: string[] | undefined;
|
|
657
642
|
};
|
|
@@ -680,7 +665,6 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
680
665
|
type: z.ZodEnum<["receipt", "certificate", "land-document", "insurance", "contract", "invoice", "other"]>;
|
|
681
666
|
category: z.ZodNullable<z.ZodString>;
|
|
682
667
|
fileUrl: z.ZodString;
|
|
683
|
-
viewUrl: z.ZodOptional<z.ZodString>;
|
|
684
668
|
fileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
685
669
|
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
686
670
|
uploadedDate: z.ZodString;
|
|
@@ -707,8 +691,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
707
691
|
name: string;
|
|
708
692
|
description: string | null;
|
|
709
693
|
farmId: string;
|
|
710
|
-
category: string | null;
|
|
711
694
|
fileUrl: string;
|
|
695
|
+
category: string | null;
|
|
712
696
|
fileSize: number | null;
|
|
713
697
|
uploadedDate: string;
|
|
714
698
|
uploadedBy: string | null;
|
|
@@ -716,7 +700,6 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
716
700
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
717
701
|
id: string;
|
|
718
702
|
} | null;
|
|
719
|
-
viewUrl?: string | undefined;
|
|
720
703
|
fileExtension?: string | null | undefined;
|
|
721
704
|
tags?: string[] | undefined;
|
|
722
705
|
}, {
|
|
@@ -726,8 +709,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
726
709
|
name: string;
|
|
727
710
|
description: string | null;
|
|
728
711
|
farmId: string;
|
|
729
|
-
category: string | null;
|
|
730
712
|
fileUrl: string;
|
|
713
|
+
category: string | null;
|
|
731
714
|
fileSize: number | null;
|
|
732
715
|
uploadedDate: string;
|
|
733
716
|
uploadedBy: string | null;
|
|
@@ -735,7 +718,6 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
735
718
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
736
719
|
id: string;
|
|
737
720
|
} | null;
|
|
738
|
-
viewUrl?: string | undefined;
|
|
739
721
|
fileExtension?: string | null | undefined;
|
|
740
722
|
tags?: string[] | undefined;
|
|
741
723
|
}>;
|
|
@@ -752,8 +734,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
752
734
|
name: string;
|
|
753
735
|
description: string | null;
|
|
754
736
|
farmId: string;
|
|
755
|
-
category: string | null;
|
|
756
737
|
fileUrl: string;
|
|
738
|
+
category: string | null;
|
|
757
739
|
fileSize: number | null;
|
|
758
740
|
uploadedDate: string;
|
|
759
741
|
uploadedBy: string | null;
|
|
@@ -761,7 +743,6 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
761
743
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
762
744
|
id: string;
|
|
763
745
|
} | null;
|
|
764
|
-
viewUrl?: string | undefined;
|
|
765
746
|
fileExtension?: string | null | undefined;
|
|
766
747
|
tags?: string[] | undefined;
|
|
767
748
|
};
|
|
@@ -778,8 +759,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
778
759
|
name: string;
|
|
779
760
|
description: string | null;
|
|
780
761
|
farmId: string;
|
|
781
|
-
category: string | null;
|
|
782
762
|
fileUrl: string;
|
|
763
|
+
category: string | null;
|
|
783
764
|
fileSize: number | null;
|
|
784
765
|
uploadedDate: string;
|
|
785
766
|
uploadedBy: string | null;
|
|
@@ -787,7 +768,6 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
787
768
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
788
769
|
id: string;
|
|
789
770
|
} | null;
|
|
790
|
-
viewUrl?: string | undefined;
|
|
791
771
|
fileExtension?: string | null | undefined;
|
|
792
772
|
tags?: string[] | undefined;
|
|
793
773
|
};
|
|
@@ -830,8 +810,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
830
810
|
name: string;
|
|
831
811
|
description: string | null;
|
|
832
812
|
farmId: string;
|
|
833
|
-
category: string | null;
|
|
834
813
|
fileUrl: string;
|
|
814
|
+
category: string | null;
|
|
835
815
|
fileSize: number | null;
|
|
836
816
|
uploadedDate: string;
|
|
837
817
|
uploadedBy: string | null;
|
|
@@ -839,7 +819,6 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
839
819
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
840
820
|
id: string;
|
|
841
821
|
} | null;
|
|
842
|
-
viewUrl?: string | undefined;
|
|
843
822
|
fileExtension?: string | null | undefined;
|
|
844
823
|
tags?: string[] | undefined;
|
|
845
824
|
};
|
|
@@ -868,8 +847,8 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
868
847
|
name: string;
|
|
869
848
|
description: string | null;
|
|
870
849
|
farmId: string;
|
|
871
|
-
category: string | null;
|
|
872
850
|
fileUrl: string;
|
|
851
|
+
category: string | null;
|
|
873
852
|
fileSize: number | null;
|
|
874
853
|
uploadedDate: string;
|
|
875
854
|
uploadedBy: string | null;
|
|
@@ -877,7 +856,6 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
877
856
|
type: "farm" | "field" | "other" | "equipment" | "purchase" | "expense";
|
|
878
857
|
id: string;
|
|
879
858
|
} | null;
|
|
880
|
-
viewUrl?: string | undefined;
|
|
881
859
|
fileExtension?: string | null | undefined;
|
|
882
860
|
tags?: string[] | undefined;
|
|
883
861
|
};
|
|
@@ -897,51 +875,45 @@ export declare const documentListResponseSchema: z.ZodObject<{
|
|
|
897
875
|
}[] | undefined;
|
|
898
876
|
}>;
|
|
899
877
|
export declare const uploadedFileAttributesSchema: z.ZodObject<{
|
|
900
|
-
fileUrl: z.
|
|
901
|
-
viewUrl: z.ZodString;
|
|
878
|
+
fileUrl: z.ZodString;
|
|
902
879
|
fileSize: z.ZodNumber;
|
|
903
880
|
fileName: z.ZodString;
|
|
904
881
|
contentType: z.ZodOptional<z.ZodString>;
|
|
905
882
|
uploadedAt: z.ZodString;
|
|
906
883
|
}, "strip", z.ZodTypeAny, {
|
|
907
|
-
|
|
908
|
-
fileSize: number;
|
|
884
|
+
fileUrl: string;
|
|
909
885
|
fileName: string;
|
|
886
|
+
fileSize: number;
|
|
910
887
|
uploadedAt: string;
|
|
911
888
|
contentType?: string | undefined;
|
|
912
|
-
fileUrl?: string | undefined;
|
|
913
889
|
}, {
|
|
914
|
-
|
|
915
|
-
fileSize: number;
|
|
890
|
+
fileUrl: string;
|
|
916
891
|
fileName: string;
|
|
892
|
+
fileSize: number;
|
|
917
893
|
uploadedAt: string;
|
|
918
894
|
contentType?: string | undefined;
|
|
919
|
-
fileUrl?: string | undefined;
|
|
920
895
|
}>;
|
|
921
896
|
export declare const uploadedFileResourceSchema: z.ZodObject<{
|
|
922
897
|
type: z.ZodLiteral<string>;
|
|
923
898
|
id: z.ZodString;
|
|
924
899
|
attributes: z.ZodObject<{
|
|
925
|
-
fileUrl: z.
|
|
926
|
-
viewUrl: z.ZodString;
|
|
900
|
+
fileUrl: z.ZodString;
|
|
927
901
|
fileSize: z.ZodNumber;
|
|
928
902
|
fileName: z.ZodString;
|
|
929
903
|
contentType: z.ZodOptional<z.ZodString>;
|
|
930
904
|
uploadedAt: z.ZodString;
|
|
931
905
|
}, "strip", z.ZodTypeAny, {
|
|
932
|
-
|
|
933
|
-
fileSize: number;
|
|
906
|
+
fileUrl: string;
|
|
934
907
|
fileName: string;
|
|
908
|
+
fileSize: number;
|
|
935
909
|
uploadedAt: string;
|
|
936
910
|
contentType?: string | undefined;
|
|
937
|
-
fileUrl?: string | undefined;
|
|
938
911
|
}, {
|
|
939
|
-
|
|
940
|
-
fileSize: number;
|
|
912
|
+
fileUrl: string;
|
|
941
913
|
fileName: string;
|
|
914
|
+
fileSize: number;
|
|
942
915
|
uploadedAt: string;
|
|
943
916
|
contentType?: string | undefined;
|
|
944
|
-
fileUrl?: string | undefined;
|
|
945
917
|
}>;
|
|
946
918
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
947
919
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -950,12 +922,11 @@ export declare const uploadedFileResourceSchema: z.ZodObject<{
|
|
|
950
922
|
type: string;
|
|
951
923
|
id: string;
|
|
952
924
|
attributes: {
|
|
953
|
-
|
|
954
|
-
fileSize: number;
|
|
925
|
+
fileUrl: string;
|
|
955
926
|
fileName: string;
|
|
927
|
+
fileSize: number;
|
|
956
928
|
uploadedAt: string;
|
|
957
929
|
contentType?: string | undefined;
|
|
958
|
-
fileUrl?: string | undefined;
|
|
959
930
|
};
|
|
960
931
|
relationships?: Record<string, unknown> | undefined;
|
|
961
932
|
links?: Record<string, string> | undefined;
|
|
@@ -964,12 +935,11 @@ export declare const uploadedFileResourceSchema: z.ZodObject<{
|
|
|
964
935
|
type: string;
|
|
965
936
|
id: string;
|
|
966
937
|
attributes: {
|
|
967
|
-
|
|
968
|
-
fileSize: number;
|
|
938
|
+
fileUrl: string;
|
|
969
939
|
fileName: string;
|
|
940
|
+
fileSize: number;
|
|
970
941
|
uploadedAt: string;
|
|
971
942
|
contentType?: string | undefined;
|
|
972
|
-
fileUrl?: string | undefined;
|
|
973
943
|
};
|
|
974
944
|
relationships?: Record<string, unknown> | undefined;
|
|
975
945
|
links?: Record<string, string> | undefined;
|
|
@@ -980,26 +950,23 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
|
|
|
980
950
|
type: z.ZodLiteral<string>;
|
|
981
951
|
id: z.ZodString;
|
|
982
952
|
attributes: z.ZodObject<{
|
|
983
|
-
fileUrl: z.
|
|
984
|
-
viewUrl: z.ZodString;
|
|
953
|
+
fileUrl: z.ZodString;
|
|
985
954
|
fileSize: z.ZodNumber;
|
|
986
955
|
fileName: z.ZodString;
|
|
987
956
|
contentType: z.ZodOptional<z.ZodString>;
|
|
988
957
|
uploadedAt: z.ZodString;
|
|
989
958
|
}, "strip", z.ZodTypeAny, {
|
|
990
|
-
|
|
991
|
-
fileSize: number;
|
|
959
|
+
fileUrl: string;
|
|
992
960
|
fileName: string;
|
|
961
|
+
fileSize: number;
|
|
993
962
|
uploadedAt: string;
|
|
994
963
|
contentType?: string | undefined;
|
|
995
|
-
fileUrl?: string | undefined;
|
|
996
964
|
}, {
|
|
997
|
-
|
|
998
|
-
fileSize: number;
|
|
965
|
+
fileUrl: string;
|
|
999
966
|
fileName: string;
|
|
967
|
+
fileSize: number;
|
|
1000
968
|
uploadedAt: string;
|
|
1001
969
|
contentType?: string | undefined;
|
|
1002
|
-
fileUrl?: string | undefined;
|
|
1003
970
|
}>;
|
|
1004
971
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1005
972
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1008,12 +975,11 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
|
|
|
1008
975
|
type: string;
|
|
1009
976
|
id: string;
|
|
1010
977
|
attributes: {
|
|
1011
|
-
|
|
1012
|
-
fileSize: number;
|
|
978
|
+
fileUrl: string;
|
|
1013
979
|
fileName: string;
|
|
980
|
+
fileSize: number;
|
|
1014
981
|
uploadedAt: string;
|
|
1015
982
|
contentType?: string | undefined;
|
|
1016
|
-
fileUrl?: string | undefined;
|
|
1017
983
|
};
|
|
1018
984
|
relationships?: Record<string, unknown> | undefined;
|
|
1019
985
|
links?: Record<string, string> | undefined;
|
|
@@ -1022,12 +988,11 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
|
|
|
1022
988
|
type: string;
|
|
1023
989
|
id: string;
|
|
1024
990
|
attributes: {
|
|
1025
|
-
|
|
1026
|
-
fileSize: number;
|
|
991
|
+
fileUrl: string;
|
|
1027
992
|
fileName: string;
|
|
993
|
+
fileSize: number;
|
|
1028
994
|
uploadedAt: string;
|
|
1029
995
|
contentType?: string | undefined;
|
|
1030
|
-
fileUrl?: string | undefined;
|
|
1031
996
|
};
|
|
1032
997
|
relationships?: Record<string, unknown> | undefined;
|
|
1033
998
|
links?: Record<string, string> | undefined;
|
|
@@ -1062,12 +1027,11 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
|
|
|
1062
1027
|
type: string;
|
|
1063
1028
|
id: string;
|
|
1064
1029
|
attributes: {
|
|
1065
|
-
|
|
1066
|
-
fileSize: number;
|
|
1030
|
+
fileUrl: string;
|
|
1067
1031
|
fileName: string;
|
|
1032
|
+
fileSize: number;
|
|
1068
1033
|
uploadedAt: string;
|
|
1069
1034
|
contentType?: string | undefined;
|
|
1070
|
-
fileUrl?: string | undefined;
|
|
1071
1035
|
};
|
|
1072
1036
|
relationships?: Record<string, unknown> | undefined;
|
|
1073
1037
|
links?: Record<string, string> | undefined;
|
|
@@ -1088,12 +1052,11 @@ export declare const uploadedFileResponseSchema: z.ZodObject<{
|
|
|
1088
1052
|
type: string;
|
|
1089
1053
|
id: string;
|
|
1090
1054
|
attributes: {
|
|
1091
|
-
|
|
1092
|
-
fileSize: number;
|
|
1055
|
+
fileUrl: string;
|
|
1093
1056
|
fileName: string;
|
|
1057
|
+
fileSize: number;
|
|
1094
1058
|
uploadedAt: string;
|
|
1095
1059
|
contentType?: string | undefined;
|
|
1096
|
-
fileUrl?: string | undefined;
|
|
1097
1060
|
};
|
|
1098
1061
|
relationships?: Record<string, unknown> | undefined;
|
|
1099
1062
|
links?: Record<string, string> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/documents.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,kBAAkB,qGAQ7B,CAAC;AAGH,eAAO,MAAM,uBAAuB,2EAAyE,CAAC;AAG9G,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAGH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"documents.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/documents.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,kBAAkB,qGAQ7B,CAAC;AAGH,eAAO,MAAM,uBAAuB,2EAAyE,CAAC;AAG9G,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAGH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaX,CAAC;AAG3B,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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