@deepintel-ltd/farmpro-contracts 1.23.0 → 1.23.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.
Files changed (53) hide show
  1. package/dist/routes/categories.routes.d.ts +26 -26
  2. package/dist/routes/commodity-deals.routes.d.ts +42 -42
  3. package/dist/routes/crop-profile.routes.d.ts +8 -8
  4. package/dist/routes/farm-enterprises.routes.d.ts +395 -0
  5. package/dist/routes/farm-enterprises.routes.d.ts.map +1 -1
  6. package/dist/routes/farm-enterprises.routes.js +14 -1
  7. package/dist/routes/farms.routes.d.ts +73 -20
  8. package/dist/routes/farms.routes.d.ts.map +1 -1
  9. package/dist/routes/fertigation.routes.d.ts +96 -96
  10. package/dist/routes/field-monitoring.routes.d.ts +2 -2
  11. package/dist/routes/finance.routes.d.ts +8 -8
  12. package/dist/routes/invoices.routes.d.ts +63 -60
  13. package/dist/routes/invoices.routes.d.ts.map +1 -1
  14. package/dist/routes/invoices.routes.js +4 -1
  15. package/dist/routes/monitoring-visualization.routes.d.ts +2 -2
  16. package/dist/routes/notifications.routes.d.ts +12 -12
  17. package/dist/routes/organizations.routes.d.ts +90 -47
  18. package/dist/routes/organizations.routes.d.ts.map +1 -1
  19. package/dist/routes/purchase-orders.routes.d.ts +9 -9
  20. package/dist/routes/suppliers.routes.d.ts +96 -96
  21. package/dist/routes/team-payments.routes.d.ts +105 -105
  22. package/dist/routes/team.routes.d.ts +125 -25
  23. package/dist/routes/team.routes.d.ts.map +1 -1
  24. package/dist/routes/trade-cash-events.routes.d.ts +46 -46
  25. package/dist/routes/waybills.routes.d.ts +61 -57
  26. package/dist/routes/waybills.routes.d.ts.map +1 -1
  27. package/dist/routes/waybills.routes.js +4 -1
  28. package/dist/schemas/categories.schemas.d.ts +21 -21
  29. package/dist/schemas/commodity-deals.schemas.d.ts +18 -18
  30. package/dist/schemas/crop-profile.schemas.d.ts +12 -12
  31. package/dist/schemas/farm-enterprises.schemas.d.ts +185 -0
  32. package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
  33. package/dist/schemas/farm-enterprises.schemas.js +21 -0
  34. package/dist/schemas/farms.schemas.d.ts +121 -19
  35. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  36. package/dist/schemas/farms.schemas.js +15 -1
  37. package/dist/schemas/fertigation.schemas.d.ts +36 -36
  38. package/dist/schemas/field-monitoring.schemas.d.ts +2 -2
  39. package/dist/schemas/finance.schemas.d.ts +8 -8
  40. package/dist/schemas/invoices.schemas.d.ts +39 -39
  41. package/dist/schemas/notifications.schemas.d.ts +18 -18
  42. package/dist/schemas/organizations.schemas.d.ts +105 -46
  43. package/dist/schemas/organizations.schemas.d.ts.map +1 -1
  44. package/dist/schemas/organizations.schemas.js +8 -1
  45. package/dist/schemas/purchase-orders.schemas.d.ts +9 -9
  46. package/dist/schemas/suppliers.schemas.d.ts +96 -96
  47. package/dist/schemas/team-payments.schemas.d.ts +87 -87
  48. package/dist/schemas/team.schemas.d.ts +137 -20
  49. package/dist/schemas/team.schemas.d.ts.map +1 -1
  50. package/dist/schemas/team.schemas.js +29 -1
  51. package/dist/schemas/trade-cash-events.schemas.d.ts +60 -60
  52. package/dist/schemas/waybills.schemas.d.ts +39 -39
  53. package/package.json +1 -1
@@ -97,8 +97,8 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
97
97
  }, "strip", z.ZodTypeAny, {
98
98
  createdAt: string;
99
99
  updatedAt: string;
100
- currency: string;
101
100
  organizationId: string;
101
+ currency: string;
102
102
  total: number;
103
103
  items: {
104
104
  description: string;
@@ -122,7 +122,7 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
122
122
  paidAt?: string | null | undefined;
123
123
  waybillNumber?: string | null | undefined;
124
124
  pdfUrl?: string | null | undefined;
125
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
125
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
126
126
  taxRate?: number | null | undefined;
127
127
  dueDate?: string | null | undefined;
128
128
  billFromAddress?: string | null | undefined;
@@ -165,7 +165,7 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
165
165
  paidAt?: string | null | undefined;
166
166
  waybillNumber?: string | null | undefined;
167
167
  pdfUrl?: string | null | undefined;
168
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
168
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
169
169
  taxRate?: number | null | undefined;
170
170
  dueDate?: string | null | undefined;
171
171
  billFromAddress?: string | null | undefined;
@@ -252,7 +252,7 @@ export declare const createInvoiceAttributesSchema: z.ZodObject<{
252
252
  notes?: string | undefined;
253
253
  waybillNumber?: string | undefined;
254
254
  issueDate?: string | undefined;
255
- commercialIntent?: "farm_sale" | "trade" | undefined;
255
+ commercialIntent?: "trade" | "farm_sale" | undefined;
256
256
  taxRate?: number | undefined;
257
257
  dueDate?: string | undefined;
258
258
  billFromAddress?: string | undefined;
@@ -283,7 +283,7 @@ export declare const createInvoiceAttributesSchema: z.ZodObject<{
283
283
  notes?: string | undefined;
284
284
  waybillNumber?: string | undefined;
285
285
  issueDate?: string | undefined;
286
- commercialIntent?: "farm_sale" | "trade" | undefined;
286
+ commercialIntent?: "trade" | "farm_sale" | undefined;
287
287
  taxRate?: number | undefined;
288
288
  dueDate?: string | undefined;
289
289
  billFromAddress?: string | undefined;
@@ -364,7 +364,7 @@ export declare const updateInvoiceAttributesSchema: z.ZodObject<{
364
364
  }[] | undefined;
365
365
  waybillNumber?: string | undefined;
366
366
  issueDate?: string | undefined;
367
- commercialIntent?: "farm_sale" | "trade" | undefined;
367
+ commercialIntent?: "trade" | "farm_sale" | undefined;
368
368
  buyerId?: string | undefined;
369
369
  taxRate?: number | undefined;
370
370
  dueDate?: string | undefined;
@@ -396,7 +396,7 @@ export declare const updateInvoiceAttributesSchema: z.ZodObject<{
396
396
  }[] | undefined;
397
397
  waybillNumber?: string | undefined;
398
398
  issueDate?: string | undefined;
399
- commercialIntent?: "farm_sale" | "trade" | undefined;
399
+ commercialIntent?: "trade" | "farm_sale" | undefined;
400
400
  buyerId?: string | undefined;
401
401
  taxRate?: number | undefined;
402
402
  dueDate?: string | undefined;
@@ -482,7 +482,7 @@ export declare const createInvoiceSchema: z.ZodObject<{
482
482
  notes?: string | undefined;
483
483
  waybillNumber?: string | undefined;
484
484
  issueDate?: string | undefined;
485
- commercialIntent?: "farm_sale" | "trade" | undefined;
485
+ commercialIntent?: "trade" | "farm_sale" | undefined;
486
486
  taxRate?: number | undefined;
487
487
  dueDate?: string | undefined;
488
488
  billFromAddress?: string | undefined;
@@ -513,7 +513,7 @@ export declare const createInvoiceSchema: z.ZodObject<{
513
513
  notes?: string | undefined;
514
514
  waybillNumber?: string | undefined;
515
515
  issueDate?: string | undefined;
516
- commercialIntent?: "farm_sale" | "trade" | undefined;
516
+ commercialIntent?: "trade" | "farm_sale" | undefined;
517
517
  taxRate?: number | undefined;
518
518
  dueDate?: string | undefined;
519
519
  billFromAddress?: string | undefined;
@@ -547,7 +547,7 @@ export declare const createInvoiceSchema: z.ZodObject<{
547
547
  notes?: string | undefined;
548
548
  waybillNumber?: string | undefined;
549
549
  issueDate?: string | undefined;
550
- commercialIntent?: "farm_sale" | "trade" | undefined;
550
+ commercialIntent?: "trade" | "farm_sale" | undefined;
551
551
  taxRate?: number | undefined;
552
552
  dueDate?: string | undefined;
553
553
  billFromAddress?: string | undefined;
@@ -581,7 +581,7 @@ export declare const createInvoiceSchema: z.ZodObject<{
581
581
  notes?: string | undefined;
582
582
  waybillNumber?: string | undefined;
583
583
  issueDate?: string | undefined;
584
- commercialIntent?: "farm_sale" | "trade" | undefined;
584
+ commercialIntent?: "trade" | "farm_sale" | undefined;
585
585
  taxRate?: number | undefined;
586
586
  dueDate?: string | undefined;
587
587
  billFromAddress?: string | undefined;
@@ -666,7 +666,7 @@ export declare const updateInvoiceSchema: z.ZodObject<{
666
666
  }[] | undefined;
667
667
  waybillNumber?: string | undefined;
668
668
  issueDate?: string | undefined;
669
- commercialIntent?: "farm_sale" | "trade" | undefined;
669
+ commercialIntent?: "trade" | "farm_sale" | undefined;
670
670
  buyerId?: string | undefined;
671
671
  taxRate?: number | undefined;
672
672
  dueDate?: string | undefined;
@@ -698,7 +698,7 @@ export declare const updateInvoiceSchema: z.ZodObject<{
698
698
  }[] | undefined;
699
699
  waybillNumber?: string | undefined;
700
700
  issueDate?: string | undefined;
701
- commercialIntent?: "farm_sale" | "trade" | undefined;
701
+ commercialIntent?: "trade" | "farm_sale" | undefined;
702
702
  buyerId?: string | undefined;
703
703
  taxRate?: number | undefined;
704
704
  dueDate?: string | undefined;
@@ -734,7 +734,7 @@ export declare const updateInvoiceSchema: z.ZodObject<{
734
734
  }[] | undefined;
735
735
  waybillNumber?: string | undefined;
736
736
  issueDate?: string | undefined;
737
- commercialIntent?: "farm_sale" | "trade" | undefined;
737
+ commercialIntent?: "trade" | "farm_sale" | undefined;
738
738
  buyerId?: string | undefined;
739
739
  taxRate?: number | undefined;
740
740
  dueDate?: string | undefined;
@@ -770,7 +770,7 @@ export declare const updateInvoiceSchema: z.ZodObject<{
770
770
  }[] | undefined;
771
771
  waybillNumber?: string | undefined;
772
772
  issueDate?: string | undefined;
773
- commercialIntent?: "farm_sale" | "trade" | undefined;
773
+ commercialIntent?: "trade" | "farm_sale" | undefined;
774
774
  buyerId?: string | undefined;
775
775
  taxRate?: number | undefined;
776
776
  dueDate?: string | undefined;
@@ -858,8 +858,8 @@ export declare const invoiceResourceSchema: z.ZodObject<{
858
858
  }, "strip", z.ZodTypeAny, {
859
859
  createdAt: string;
860
860
  updatedAt: string;
861
- currency: string;
862
861
  organizationId: string;
862
+ currency: string;
863
863
  total: number;
864
864
  items: {
865
865
  description: string;
@@ -883,7 +883,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
883
883
  paidAt?: string | null | undefined;
884
884
  waybillNumber?: string | null | undefined;
885
885
  pdfUrl?: string | null | undefined;
886
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
886
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
887
887
  taxRate?: number | null | undefined;
888
888
  dueDate?: string | null | undefined;
889
889
  billFromAddress?: string | null | undefined;
@@ -926,7 +926,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
926
926
  paidAt?: string | null | undefined;
927
927
  waybillNumber?: string | null | undefined;
928
928
  pdfUrl?: string | null | undefined;
929
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
929
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
930
930
  taxRate?: number | null | undefined;
931
931
  dueDate?: string | null | undefined;
932
932
  billFromAddress?: string | null | undefined;
@@ -955,8 +955,8 @@ export declare const invoiceResourceSchema: z.ZodObject<{
955
955
  attributes: {
956
956
  createdAt: string;
957
957
  updatedAt: string;
958
- currency: string;
959
958
  organizationId: string;
959
+ currency: string;
960
960
  total: number;
961
961
  items: {
962
962
  description: string;
@@ -980,7 +980,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
980
980
  paidAt?: string | null | undefined;
981
981
  waybillNumber?: string | null | undefined;
982
982
  pdfUrl?: string | null | undefined;
983
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
983
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
984
984
  taxRate?: number | null | undefined;
985
985
  dueDate?: string | null | undefined;
986
986
  billFromAddress?: string | null | undefined;
@@ -1030,7 +1030,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
1030
1030
  paidAt?: string | null | undefined;
1031
1031
  waybillNumber?: string | null | undefined;
1032
1032
  pdfUrl?: string | null | undefined;
1033
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1033
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1034
1034
  taxRate?: number | null | undefined;
1035
1035
  dueDate?: string | null | undefined;
1036
1036
  billFromAddress?: string | null | undefined;
@@ -1125,8 +1125,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1125
1125
  }, "strip", z.ZodTypeAny, {
1126
1126
  createdAt: string;
1127
1127
  updatedAt: string;
1128
- currency: string;
1129
1128
  organizationId: string;
1129
+ currency: string;
1130
1130
  total: number;
1131
1131
  items: {
1132
1132
  description: string;
@@ -1150,7 +1150,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1150
1150
  paidAt?: string | null | undefined;
1151
1151
  waybillNumber?: string | null | undefined;
1152
1152
  pdfUrl?: string | null | undefined;
1153
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1153
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1154
1154
  taxRate?: number | null | undefined;
1155
1155
  dueDate?: string | null | undefined;
1156
1156
  billFromAddress?: string | null | undefined;
@@ -1193,7 +1193,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1193
1193
  paidAt?: string | null | undefined;
1194
1194
  waybillNumber?: string | null | undefined;
1195
1195
  pdfUrl?: string | null | undefined;
1196
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1196
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1197
1197
  taxRate?: number | null | undefined;
1198
1198
  dueDate?: string | null | undefined;
1199
1199
  billFromAddress?: string | null | undefined;
@@ -1222,8 +1222,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1222
1222
  attributes: {
1223
1223
  createdAt: string;
1224
1224
  updatedAt: string;
1225
- currency: string;
1226
1225
  organizationId: string;
1226
+ currency: string;
1227
1227
  total: number;
1228
1228
  items: {
1229
1229
  description: string;
@@ -1247,7 +1247,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1247
1247
  paidAt?: string | null | undefined;
1248
1248
  waybillNumber?: string | null | undefined;
1249
1249
  pdfUrl?: string | null | undefined;
1250
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1250
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1251
1251
  taxRate?: number | null | undefined;
1252
1252
  dueDate?: string | null | undefined;
1253
1253
  billFromAddress?: string | null | undefined;
@@ -1297,7 +1297,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1297
1297
  paidAt?: string | null | undefined;
1298
1298
  waybillNumber?: string | null | undefined;
1299
1299
  pdfUrl?: string | null | undefined;
1300
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1300
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1301
1301
  taxRate?: number | null | undefined;
1302
1302
  dueDate?: string | null | undefined;
1303
1303
  billFromAddress?: string | null | undefined;
@@ -1352,8 +1352,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1352
1352
  attributes: {
1353
1353
  createdAt: string;
1354
1354
  updatedAt: string;
1355
- currency: string;
1356
1355
  organizationId: string;
1356
+ currency: string;
1357
1357
  total: number;
1358
1358
  items: {
1359
1359
  description: string;
@@ -1377,7 +1377,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1377
1377
  paidAt?: string | null | undefined;
1378
1378
  waybillNumber?: string | null | undefined;
1379
1379
  pdfUrl?: string | null | undefined;
1380
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1380
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1381
1381
  taxRate?: number | null | undefined;
1382
1382
  dueDate?: string | null | undefined;
1383
1383
  billFromAddress?: string | null | undefined;
@@ -1439,7 +1439,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1439
1439
  paidAt?: string | null | undefined;
1440
1440
  waybillNumber?: string | null | undefined;
1441
1441
  pdfUrl?: string | null | undefined;
1442
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1442
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1443
1443
  taxRate?: number | null | undefined;
1444
1444
  dueDate?: string | null | undefined;
1445
1445
  billFromAddress?: string | null | undefined;
@@ -1545,8 +1545,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1545
1545
  }, "strip", z.ZodTypeAny, {
1546
1546
  createdAt: string;
1547
1547
  updatedAt: string;
1548
- currency: string;
1549
1548
  organizationId: string;
1549
+ currency: string;
1550
1550
  total: number;
1551
1551
  items: {
1552
1552
  description: string;
@@ -1570,7 +1570,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1570
1570
  paidAt?: string | null | undefined;
1571
1571
  waybillNumber?: string | null | undefined;
1572
1572
  pdfUrl?: string | null | undefined;
1573
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1573
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1574
1574
  taxRate?: number | null | undefined;
1575
1575
  dueDate?: string | null | undefined;
1576
1576
  billFromAddress?: string | null | undefined;
@@ -1613,7 +1613,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1613
1613
  paidAt?: string | null | undefined;
1614
1614
  waybillNumber?: string | null | undefined;
1615
1615
  pdfUrl?: string | null | undefined;
1616
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1616
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1617
1617
  taxRate?: number | null | undefined;
1618
1618
  dueDate?: string | null | undefined;
1619
1619
  billFromAddress?: string | null | undefined;
@@ -1642,8 +1642,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1642
1642
  attributes: {
1643
1643
  createdAt: string;
1644
1644
  updatedAt: string;
1645
- currency: string;
1646
1645
  organizationId: string;
1646
+ currency: string;
1647
1647
  total: number;
1648
1648
  items: {
1649
1649
  description: string;
@@ -1667,7 +1667,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1667
1667
  paidAt?: string | null | undefined;
1668
1668
  waybillNumber?: string | null | undefined;
1669
1669
  pdfUrl?: string | null | undefined;
1670
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1670
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1671
1671
  taxRate?: number | null | undefined;
1672
1672
  dueDate?: string | null | undefined;
1673
1673
  billFromAddress?: string | null | undefined;
@@ -1717,7 +1717,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1717
1717
  paidAt?: string | null | undefined;
1718
1718
  waybillNumber?: string | null | undefined;
1719
1719
  pdfUrl?: string | null | undefined;
1720
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1720
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1721
1721
  taxRate?: number | null | undefined;
1722
1722
  dueDate?: string | null | undefined;
1723
1723
  billFromAddress?: string | null | undefined;
@@ -1772,8 +1772,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1772
1772
  attributes: {
1773
1773
  createdAt: string;
1774
1774
  updatedAt: string;
1775
- currency: string;
1776
1775
  organizationId: string;
1776
+ currency: string;
1777
1777
  total: number;
1778
1778
  items: {
1779
1779
  description: string;
@@ -1797,7 +1797,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1797
1797
  paidAt?: string | null | undefined;
1798
1798
  waybillNumber?: string | null | undefined;
1799
1799
  pdfUrl?: string | null | undefined;
1800
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1800
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1801
1801
  taxRate?: number | null | undefined;
1802
1802
  dueDate?: string | null | undefined;
1803
1803
  billFromAddress?: string | null | undefined;
@@ -1859,7 +1859,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1859
1859
  paidAt?: string | null | undefined;
1860
1860
  waybillNumber?: string | null | undefined;
1861
1861
  pdfUrl?: string | null | undefined;
1862
- commercialIntent?: "farm_sale" | "trade" | null | undefined;
1862
+ commercialIntent?: "trade" | "farm_sale" | null | undefined;
1863
1863
  taxRate?: number | null | undefined;
1864
1864
  dueDate?: string | null | undefined;
1865
1865
  billFromAddress?: string | null | undefined;
@@ -18,8 +18,8 @@ export declare const notificationAttributesSchema: z.ZodObject<{
18
18
  createdAt: string;
19
19
  metadata: Record<string, unknown> | null;
20
20
  body: string;
21
- farmId: string | null;
22
21
  userId: string;
22
+ farmId: string | null;
23
23
  readAt: string | null;
24
24
  }, {
25
25
  type: "team" | "weather" | "field_alert" | "task" | "payment" | "system" | "subscription" | "camera";
@@ -28,8 +28,8 @@ export declare const notificationAttributesSchema: z.ZodObject<{
28
28
  createdAt: string;
29
29
  metadata: Record<string, unknown> | null;
30
30
  body: string;
31
- farmId: string | null;
32
31
  userId: string;
32
+ farmId: string | null;
33
33
  readAt: string | null;
34
34
  }>;
35
35
  export declare const notificationResourceSchema: z.ZodObject<{
@@ -52,8 +52,8 @@ export declare const notificationResourceSchema: z.ZodObject<{
52
52
  createdAt: string;
53
53
  metadata: Record<string, unknown> | null;
54
54
  body: string;
55
- farmId: string | null;
56
55
  userId: string;
56
+ farmId: string | null;
57
57
  readAt: string | null;
58
58
  }, {
59
59
  type: "team" | "weather" | "field_alert" | "task" | "payment" | "system" | "subscription" | "camera";
@@ -62,8 +62,8 @@ export declare const notificationResourceSchema: z.ZodObject<{
62
62
  createdAt: string;
63
63
  metadata: Record<string, unknown> | null;
64
64
  body: string;
65
- farmId: string | null;
66
65
  userId: string;
66
+ farmId: string | null;
67
67
  readAt: string | null;
68
68
  }>;
69
69
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -79,8 +79,8 @@ export declare const notificationResourceSchema: z.ZodObject<{
79
79
  createdAt: string;
80
80
  metadata: Record<string, unknown> | null;
81
81
  body: string;
82
- farmId: string | null;
83
82
  userId: string;
83
+ farmId: string | null;
84
84
  readAt: string | null;
85
85
  };
86
86
  relationships?: Record<string, unknown> | undefined;
@@ -96,8 +96,8 @@ export declare const notificationResourceSchema: z.ZodObject<{
96
96
  createdAt: string;
97
97
  metadata: Record<string, unknown> | null;
98
98
  body: string;
99
- farmId: string | null;
100
99
  userId: string;
100
+ farmId: string | null;
101
101
  readAt: string | null;
102
102
  };
103
103
  relationships?: Record<string, unknown> | undefined;
@@ -125,8 +125,8 @@ export declare const notificationResponseSchema: z.ZodObject<{
125
125
  createdAt: string;
126
126
  metadata: Record<string, unknown> | null;
127
127
  body: string;
128
- farmId: string | null;
129
128
  userId: string;
129
+ farmId: string | null;
130
130
  readAt: string | null;
131
131
  }, {
132
132
  type: "team" | "weather" | "field_alert" | "task" | "payment" | "system" | "subscription" | "camera";
@@ -135,8 +135,8 @@ export declare const notificationResponseSchema: z.ZodObject<{
135
135
  createdAt: string;
136
136
  metadata: Record<string, unknown> | null;
137
137
  body: string;
138
- farmId: string | null;
139
138
  userId: string;
139
+ farmId: string | null;
140
140
  readAt: string | null;
141
141
  }>;
142
142
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -152,8 +152,8 @@ export declare const notificationResponseSchema: z.ZodObject<{
152
152
  createdAt: string;
153
153
  metadata: Record<string, unknown> | null;
154
154
  body: string;
155
- farmId: string | null;
156
155
  userId: string;
156
+ farmId: string | null;
157
157
  readAt: string | null;
158
158
  };
159
159
  relationships?: Record<string, unknown> | undefined;
@@ -169,8 +169,8 @@ export declare const notificationResponseSchema: z.ZodObject<{
169
169
  createdAt: string;
170
170
  metadata: Record<string, unknown> | null;
171
171
  body: string;
172
- farmId: string | null;
173
172
  userId: string;
173
+ farmId: string | null;
174
174
  readAt: string | null;
175
175
  };
176
176
  relationships?: Record<string, unknown> | undefined;
@@ -212,8 +212,8 @@ export declare const notificationResponseSchema: z.ZodObject<{
212
212
  createdAt: string;
213
213
  metadata: Record<string, unknown> | null;
214
214
  body: string;
215
- farmId: string | null;
216
215
  userId: string;
216
+ farmId: string | null;
217
217
  readAt: string | null;
218
218
  };
219
219
  relationships?: Record<string, unknown> | undefined;
@@ -241,8 +241,8 @@ export declare const notificationResponseSchema: z.ZodObject<{
241
241
  createdAt: string;
242
242
  metadata: Record<string, unknown> | null;
243
243
  body: string;
244
- farmId: string | null;
245
244
  userId: string;
245
+ farmId: string | null;
246
246
  readAt: string | null;
247
247
  };
248
248
  relationships?: Record<string, unknown> | undefined;
@@ -281,8 +281,8 @@ export declare const notificationListResponseSchema: z.ZodObject<{
281
281
  createdAt: string;
282
282
  metadata: Record<string, unknown> | null;
283
283
  body: string;
284
- farmId: string | null;
285
284
  userId: string;
285
+ farmId: string | null;
286
286
  readAt: string | null;
287
287
  }, {
288
288
  type: "team" | "weather" | "field_alert" | "task" | "payment" | "system" | "subscription" | "camera";
@@ -291,8 +291,8 @@ export declare const notificationListResponseSchema: z.ZodObject<{
291
291
  createdAt: string;
292
292
  metadata: Record<string, unknown> | null;
293
293
  body: string;
294
- farmId: string | null;
295
294
  userId: string;
295
+ farmId: string | null;
296
296
  readAt: string | null;
297
297
  }>;
298
298
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -308,8 +308,8 @@ export declare const notificationListResponseSchema: z.ZodObject<{
308
308
  createdAt: string;
309
309
  metadata: Record<string, unknown> | null;
310
310
  body: string;
311
- farmId: string | null;
312
311
  userId: string;
312
+ farmId: string | null;
313
313
  readAt: string | null;
314
314
  };
315
315
  relationships?: Record<string, unknown> | undefined;
@@ -325,8 +325,8 @@ export declare const notificationListResponseSchema: z.ZodObject<{
325
325
  createdAt: string;
326
326
  metadata: Record<string, unknown> | null;
327
327
  body: string;
328
- farmId: string | null;
329
328
  userId: string;
329
+ farmId: string | null;
330
330
  readAt: string | null;
331
331
  };
332
332
  relationships?: Record<string, unknown> | undefined;
@@ -368,8 +368,8 @@ export declare const notificationListResponseSchema: z.ZodObject<{
368
368
  createdAt: string;
369
369
  metadata: Record<string, unknown> | null;
370
370
  body: string;
371
- farmId: string | null;
372
371
  userId: string;
372
+ farmId: string | null;
373
373
  readAt: string | null;
374
374
  };
375
375
  relationships?: Record<string, unknown> | undefined;
@@ -397,8 +397,8 @@ export declare const notificationListResponseSchema: z.ZodObject<{
397
397
  createdAt: string;
398
398
  metadata: Record<string, unknown> | null;
399
399
  body: string;
400
- farmId: string | null;
401
400
  userId: string;
401
+ farmId: string | null;
402
402
  readAt: string | null;
403
403
  };
404
404
  relationships?: Record<string, unknown> | undefined;