@deepintel-ltd/farmpro-contracts 1.16.1 → 1.16.3
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/agents.routes.d.ts +8 -8
- package/dist/routes/documents.routes.d.ts +78 -78
- package/dist/routes/fertigation.routes.d.ts +4 -4
- package/dist/routes/field-monitoring.routes.d.ts +40 -0
- package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
- package/dist/routes/field-observations.routes.d.ts +174 -28
- package/dist/routes/field-observations.routes.d.ts.map +1 -1
- package/dist/routes/field-observations.routes.js +7 -4
- package/dist/routes/fields.routes.d.ts +923 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +23 -1
- package/dist/routes/files.routes.d.ts +6 -6
- package/dist/routes/finance.routes.d.ts +30 -30
- package/dist/routes/inventory.routes.d.ts +6 -6
- package/dist/routes/irrigation.routes.d.ts +2 -2
- package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +44 -44
- package/dist/routes/prescription-maps.routes.d.ts +4 -4
- package/dist/routes/subscriptions.routes.d.ts +4 -4
- package/dist/routes/tasks.routes.d.ts +108 -108
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/weather.routes.d.ts +42 -42
- package/dist/schemas/agents.schemas.d.ts +8 -8
- package/dist/schemas/common.schemas.d.ts +32 -0
- package/dist/schemas/common.schemas.d.ts.map +1 -1
- package/dist/schemas/common.schemas.js +14 -0
- package/dist/schemas/documents.schemas.d.ts +48 -48
- package/dist/schemas/fertigation.schemas.d.ts +2 -2
- package/dist/schemas/field-monitoring.schemas.d.ts +20 -0
- package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
- package/dist/schemas/field-monitoring.schemas.js +4 -0
- package/dist/schemas/fields.schemas.d.ts +170 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +14 -0
- package/dist/schemas/files.schemas.d.ts +12 -12
- package/dist/schemas/finance.schemas.d.ts +34 -34
- package/dist/schemas/inventory.schemas.d.ts +6 -6
- package/dist/schemas/irrigation.schemas.d.ts +2 -2
- package/dist/schemas/monitoring-visualization.schemas.d.ts +6 -6
- package/dist/schemas/pest-disease-risk.schemas.d.ts +36 -36
- package/dist/schemas/prescription-maps.schemas.d.ts +4 -4
- package/dist/schemas/subscriptions.schemas.d.ts +2 -2
- package/dist/schemas/tasks.schemas.d.ts +96 -96
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/weather.schemas.d.ts +84 -84
- package/package.json +1 -1
|
@@ -6063,8 +6063,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6063
6063
|
updatedAt: string;
|
|
6064
6064
|
farmId: string;
|
|
6065
6065
|
currency: string;
|
|
6066
|
-
fieldId: string | null;
|
|
6067
6066
|
category: string;
|
|
6067
|
+
fieldId: string | null;
|
|
6068
6068
|
cropId: string | null;
|
|
6069
6069
|
expenseId: string | null;
|
|
6070
6070
|
amount: number;
|
|
@@ -6092,8 +6092,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6092
6092
|
updatedAt: string;
|
|
6093
6093
|
farmId: string;
|
|
6094
6094
|
currency: string;
|
|
6095
|
-
fieldId: string | null;
|
|
6096
6095
|
category: string;
|
|
6096
|
+
fieldId: string | null;
|
|
6097
6097
|
cropId: string | null;
|
|
6098
6098
|
expenseId: string | null;
|
|
6099
6099
|
amount: number;
|
|
@@ -6128,8 +6128,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6128
6128
|
updatedAt: string;
|
|
6129
6129
|
farmId: string;
|
|
6130
6130
|
currency: string;
|
|
6131
|
-
fieldId: string | null;
|
|
6132
6131
|
category: string;
|
|
6132
|
+
fieldId: string | null;
|
|
6133
6133
|
cropId: string | null;
|
|
6134
6134
|
expenseId: string | null;
|
|
6135
6135
|
amount: number;
|
|
@@ -6164,8 +6164,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6164
6164
|
updatedAt: string;
|
|
6165
6165
|
farmId: string;
|
|
6166
6166
|
currency: string;
|
|
6167
|
-
fieldId: string | null;
|
|
6168
6167
|
category: string;
|
|
6168
|
+
fieldId: string | null;
|
|
6169
6169
|
cropId: string | null;
|
|
6170
6170
|
expenseId: string | null;
|
|
6171
6171
|
amount: number;
|
|
@@ -6226,8 +6226,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6226
6226
|
updatedAt: string;
|
|
6227
6227
|
farmId: string;
|
|
6228
6228
|
currency: string;
|
|
6229
|
-
fieldId: string | null;
|
|
6230
6229
|
category: string;
|
|
6230
|
+
fieldId: string | null;
|
|
6231
6231
|
cropId: string | null;
|
|
6232
6232
|
expenseId: string | null;
|
|
6233
6233
|
amount: number;
|
|
@@ -6274,8 +6274,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6274
6274
|
updatedAt: string;
|
|
6275
6275
|
farmId: string;
|
|
6276
6276
|
currency: string;
|
|
6277
|
-
fieldId: string | null;
|
|
6278
6277
|
category: string;
|
|
6278
|
+
fieldId: string | null;
|
|
6279
6279
|
cropId: string | null;
|
|
6280
6280
|
expenseId: string | null;
|
|
6281
6281
|
amount: number;
|
|
@@ -6751,8 +6751,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6751
6751
|
updatedAt: string;
|
|
6752
6752
|
farmId: string;
|
|
6753
6753
|
currency: string;
|
|
6754
|
-
fieldId: string | null;
|
|
6755
6754
|
category: string;
|
|
6755
|
+
fieldId: string | null;
|
|
6756
6756
|
cropId: string | null;
|
|
6757
6757
|
expenseId: string | null;
|
|
6758
6758
|
amount: number;
|
|
@@ -6780,8 +6780,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6780
6780
|
updatedAt: string;
|
|
6781
6781
|
farmId: string;
|
|
6782
6782
|
currency: string;
|
|
6783
|
-
fieldId: string | null;
|
|
6784
6783
|
category: string;
|
|
6784
|
+
fieldId: string | null;
|
|
6785
6785
|
cropId: string | null;
|
|
6786
6786
|
expenseId: string | null;
|
|
6787
6787
|
amount: number;
|
|
@@ -6816,8 +6816,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6816
6816
|
updatedAt: string;
|
|
6817
6817
|
farmId: string;
|
|
6818
6818
|
currency: string;
|
|
6819
|
-
fieldId: string | null;
|
|
6820
6819
|
category: string;
|
|
6820
|
+
fieldId: string | null;
|
|
6821
6821
|
cropId: string | null;
|
|
6822
6822
|
expenseId: string | null;
|
|
6823
6823
|
amount: number;
|
|
@@ -6852,8 +6852,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6852
6852
|
updatedAt: string;
|
|
6853
6853
|
farmId: string;
|
|
6854
6854
|
currency: string;
|
|
6855
|
-
fieldId: string | null;
|
|
6856
6855
|
category: string;
|
|
6856
|
+
fieldId: string | null;
|
|
6857
6857
|
cropId: string | null;
|
|
6858
6858
|
expenseId: string | null;
|
|
6859
6859
|
amount: number;
|
|
@@ -6914,8 +6914,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6914
6914
|
updatedAt: string;
|
|
6915
6915
|
farmId: string;
|
|
6916
6916
|
currency: string;
|
|
6917
|
-
fieldId: string | null;
|
|
6918
6917
|
category: string;
|
|
6918
|
+
fieldId: string | null;
|
|
6919
6919
|
cropId: string | null;
|
|
6920
6920
|
expenseId: string | null;
|
|
6921
6921
|
amount: number;
|
|
@@ -6962,8 +6962,8 @@ export declare const teamPaymentsRouter: {
|
|
|
6962
6962
|
updatedAt: string;
|
|
6963
6963
|
farmId: string;
|
|
6964
6964
|
currency: string;
|
|
6965
|
-
fieldId: string | null;
|
|
6966
6965
|
category: string;
|
|
6966
|
+
fieldId: string | null;
|
|
6967
6967
|
cropId: string | null;
|
|
6968
6968
|
expenseId: string | null;
|
|
6969
6969
|
amount: number;
|
|
@@ -7508,8 +7508,8 @@ export declare const teamPaymentsRouter: {
|
|
|
7508
7508
|
updatedAt: string;
|
|
7509
7509
|
farmId: string;
|
|
7510
7510
|
currency: string;
|
|
7511
|
-
fieldId: string | null;
|
|
7512
7511
|
category: string;
|
|
7512
|
+
fieldId: string | null;
|
|
7513
7513
|
cropId: string | null;
|
|
7514
7514
|
expenseId: string | null;
|
|
7515
7515
|
amount: number;
|
|
@@ -7537,8 +7537,8 @@ export declare const teamPaymentsRouter: {
|
|
|
7537
7537
|
updatedAt: string;
|
|
7538
7538
|
farmId: string;
|
|
7539
7539
|
currency: string;
|
|
7540
|
-
fieldId: string | null;
|
|
7541
7540
|
category: string;
|
|
7541
|
+
fieldId: string | null;
|
|
7542
7542
|
cropId: string | null;
|
|
7543
7543
|
expenseId: string | null;
|
|
7544
7544
|
amount: number;
|
|
@@ -7573,8 +7573,8 @@ export declare const teamPaymentsRouter: {
|
|
|
7573
7573
|
updatedAt: string;
|
|
7574
7574
|
farmId: string;
|
|
7575
7575
|
currency: string;
|
|
7576
|
-
fieldId: string | null;
|
|
7577
7576
|
category: string;
|
|
7577
|
+
fieldId: string | null;
|
|
7578
7578
|
cropId: string | null;
|
|
7579
7579
|
expenseId: string | null;
|
|
7580
7580
|
amount: number;
|
|
@@ -7609,8 +7609,8 @@ export declare const teamPaymentsRouter: {
|
|
|
7609
7609
|
updatedAt: string;
|
|
7610
7610
|
farmId: string;
|
|
7611
7611
|
currency: string;
|
|
7612
|
-
fieldId: string | null;
|
|
7613
7612
|
category: string;
|
|
7613
|
+
fieldId: string | null;
|
|
7614
7614
|
cropId: string | null;
|
|
7615
7615
|
expenseId: string | null;
|
|
7616
7616
|
amount: number;
|
|
@@ -7671,8 +7671,8 @@ export declare const teamPaymentsRouter: {
|
|
|
7671
7671
|
updatedAt: string;
|
|
7672
7672
|
farmId: string;
|
|
7673
7673
|
currency: string;
|
|
7674
|
-
fieldId: string | null;
|
|
7675
7674
|
category: string;
|
|
7675
|
+
fieldId: string | null;
|
|
7676
7676
|
cropId: string | null;
|
|
7677
7677
|
expenseId: string | null;
|
|
7678
7678
|
amount: number;
|
|
@@ -7719,8 +7719,8 @@ export declare const teamPaymentsRouter: {
|
|
|
7719
7719
|
updatedAt: string;
|
|
7720
7720
|
farmId: string;
|
|
7721
7721
|
currency: string;
|
|
7722
|
-
fieldId: string | null;
|
|
7723
7722
|
category: string;
|
|
7723
|
+
fieldId: string | null;
|
|
7724
7724
|
cropId: string | null;
|
|
7725
7725
|
expenseId: string | null;
|
|
7726
7726
|
amount: number;
|
|
@@ -8097,8 +8097,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8097
8097
|
updatedAt: string;
|
|
8098
8098
|
farmId: string;
|
|
8099
8099
|
currency: string;
|
|
8100
|
-
fieldId: string | null;
|
|
8101
8100
|
category: string;
|
|
8101
|
+
fieldId: string | null;
|
|
8102
8102
|
cropId: string | null;
|
|
8103
8103
|
expenseId: string | null;
|
|
8104
8104
|
amount: number;
|
|
@@ -8126,8 +8126,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8126
8126
|
updatedAt: string;
|
|
8127
8127
|
farmId: string;
|
|
8128
8128
|
currency: string;
|
|
8129
|
-
fieldId: string | null;
|
|
8130
8129
|
category: string;
|
|
8130
|
+
fieldId: string | null;
|
|
8131
8131
|
cropId: string | null;
|
|
8132
8132
|
expenseId: string | null;
|
|
8133
8133
|
amount: number;
|
|
@@ -8162,8 +8162,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8162
8162
|
updatedAt: string;
|
|
8163
8163
|
farmId: string;
|
|
8164
8164
|
currency: string;
|
|
8165
|
-
fieldId: string | null;
|
|
8166
8165
|
category: string;
|
|
8166
|
+
fieldId: string | null;
|
|
8167
8167
|
cropId: string | null;
|
|
8168
8168
|
expenseId: string | null;
|
|
8169
8169
|
amount: number;
|
|
@@ -8198,8 +8198,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8198
8198
|
updatedAt: string;
|
|
8199
8199
|
farmId: string;
|
|
8200
8200
|
currency: string;
|
|
8201
|
-
fieldId: string | null;
|
|
8202
8201
|
category: string;
|
|
8202
|
+
fieldId: string | null;
|
|
8203
8203
|
cropId: string | null;
|
|
8204
8204
|
expenseId: string | null;
|
|
8205
8205
|
amount: number;
|
|
@@ -8260,8 +8260,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8260
8260
|
updatedAt: string;
|
|
8261
8261
|
farmId: string;
|
|
8262
8262
|
currency: string;
|
|
8263
|
-
fieldId: string | null;
|
|
8264
8263
|
category: string;
|
|
8264
|
+
fieldId: string | null;
|
|
8265
8265
|
cropId: string | null;
|
|
8266
8266
|
expenseId: string | null;
|
|
8267
8267
|
amount: number;
|
|
@@ -8308,8 +8308,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8308
8308
|
updatedAt: string;
|
|
8309
8309
|
farmId: string;
|
|
8310
8310
|
currency: string;
|
|
8311
|
-
fieldId: string | null;
|
|
8312
8311
|
category: string;
|
|
8312
|
+
fieldId: string | null;
|
|
8313
8313
|
cropId: string | null;
|
|
8314
8314
|
expenseId: string | null;
|
|
8315
8315
|
amount: number;
|
|
@@ -8692,8 +8692,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8692
8692
|
updatedAt: string;
|
|
8693
8693
|
farmId: string;
|
|
8694
8694
|
currency: string;
|
|
8695
|
-
fieldId: string | null;
|
|
8696
8695
|
category: string;
|
|
8696
|
+
fieldId: string | null;
|
|
8697
8697
|
cropId: string | null;
|
|
8698
8698
|
expenseId: string | null;
|
|
8699
8699
|
amount: number;
|
|
@@ -8721,8 +8721,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8721
8721
|
updatedAt: string;
|
|
8722
8722
|
farmId: string;
|
|
8723
8723
|
currency: string;
|
|
8724
|
-
fieldId: string | null;
|
|
8725
8724
|
category: string;
|
|
8725
|
+
fieldId: string | null;
|
|
8726
8726
|
cropId: string | null;
|
|
8727
8727
|
expenseId: string | null;
|
|
8728
8728
|
amount: number;
|
|
@@ -8757,8 +8757,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8757
8757
|
updatedAt: string;
|
|
8758
8758
|
farmId: string;
|
|
8759
8759
|
currency: string;
|
|
8760
|
-
fieldId: string | null;
|
|
8761
8760
|
category: string;
|
|
8761
|
+
fieldId: string | null;
|
|
8762
8762
|
cropId: string | null;
|
|
8763
8763
|
expenseId: string | null;
|
|
8764
8764
|
amount: number;
|
|
@@ -8793,8 +8793,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8793
8793
|
updatedAt: string;
|
|
8794
8794
|
farmId: string;
|
|
8795
8795
|
currency: string;
|
|
8796
|
-
fieldId: string | null;
|
|
8797
8796
|
category: string;
|
|
8797
|
+
fieldId: string | null;
|
|
8798
8798
|
cropId: string | null;
|
|
8799
8799
|
expenseId: string | null;
|
|
8800
8800
|
amount: number;
|
|
@@ -8855,8 +8855,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8855
8855
|
updatedAt: string;
|
|
8856
8856
|
farmId: string;
|
|
8857
8857
|
currency: string;
|
|
8858
|
-
fieldId: string | null;
|
|
8859
8858
|
category: string;
|
|
8859
|
+
fieldId: string | null;
|
|
8860
8860
|
cropId: string | null;
|
|
8861
8861
|
expenseId: string | null;
|
|
8862
8862
|
amount: number;
|
|
@@ -8903,8 +8903,8 @@ export declare const teamPaymentsRouter: {
|
|
|
8903
8903
|
updatedAt: string;
|
|
8904
8904
|
farmId: string;
|
|
8905
8905
|
currency: string;
|
|
8906
|
-
fieldId: string | null;
|
|
8907
8906
|
category: string;
|
|
8907
|
+
fieldId: string | null;
|
|
8908
8908
|
cropId: string | null;
|
|
8909
8909
|
expenseId: string | null;
|
|
8910
8910
|
amount: number;
|
|
@@ -9466,8 +9466,8 @@ export declare const teamPaymentsRouter: {
|
|
|
9466
9466
|
updatedAt: string;
|
|
9467
9467
|
farmId: string;
|
|
9468
9468
|
currency: string;
|
|
9469
|
-
fieldId: string | null;
|
|
9470
9469
|
category: string;
|
|
9470
|
+
fieldId: string | null;
|
|
9471
9471
|
cropId: string | null;
|
|
9472
9472
|
expenseId: string | null;
|
|
9473
9473
|
amount: number;
|
|
@@ -9495,8 +9495,8 @@ export declare const teamPaymentsRouter: {
|
|
|
9495
9495
|
updatedAt: string;
|
|
9496
9496
|
farmId: string;
|
|
9497
9497
|
currency: string;
|
|
9498
|
-
fieldId: string | null;
|
|
9499
9498
|
category: string;
|
|
9499
|
+
fieldId: string | null;
|
|
9500
9500
|
cropId: string | null;
|
|
9501
9501
|
expenseId: string | null;
|
|
9502
9502
|
amount: number;
|
|
@@ -9531,8 +9531,8 @@ export declare const teamPaymentsRouter: {
|
|
|
9531
9531
|
updatedAt: string;
|
|
9532
9532
|
farmId: string;
|
|
9533
9533
|
currency: string;
|
|
9534
|
-
fieldId: string | null;
|
|
9535
9534
|
category: string;
|
|
9535
|
+
fieldId: string | null;
|
|
9536
9536
|
cropId: string | null;
|
|
9537
9537
|
expenseId: string | null;
|
|
9538
9538
|
amount: number;
|
|
@@ -9567,8 +9567,8 @@ export declare const teamPaymentsRouter: {
|
|
|
9567
9567
|
updatedAt: string;
|
|
9568
9568
|
farmId: string;
|
|
9569
9569
|
currency: string;
|
|
9570
|
-
fieldId: string | null;
|
|
9571
9570
|
category: string;
|
|
9571
|
+
fieldId: string | null;
|
|
9572
9572
|
cropId: string | null;
|
|
9573
9573
|
expenseId: string | null;
|
|
9574
9574
|
amount: number;
|
|
@@ -9629,8 +9629,8 @@ export declare const teamPaymentsRouter: {
|
|
|
9629
9629
|
updatedAt: string;
|
|
9630
9630
|
farmId: string;
|
|
9631
9631
|
currency: string;
|
|
9632
|
-
fieldId: string | null;
|
|
9633
9632
|
category: string;
|
|
9633
|
+
fieldId: string | null;
|
|
9634
9634
|
cropId: string | null;
|
|
9635
9635
|
expenseId: string | null;
|
|
9636
9636
|
amount: number;
|
|
@@ -9677,8 +9677,8 @@ export declare const teamPaymentsRouter: {
|
|
|
9677
9677
|
updatedAt: string;
|
|
9678
9678
|
farmId: string;
|
|
9679
9679
|
currency: string;
|
|
9680
|
-
fieldId: string | null;
|
|
9681
9680
|
category: string;
|
|
9681
|
+
fieldId: string | null;
|
|
9682
9682
|
cropId: string | null;
|
|
9683
9683
|
expenseId: string | null;
|
|
9684
9684
|
amount: number;
|
|
@@ -207,6 +207,13 @@ export declare const weatherRouter: {
|
|
|
207
207
|
recommendation?: string | undefined;
|
|
208
208
|
}>, "many">>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
current: {
|
|
211
|
+
temp: number;
|
|
212
|
+
condition: string;
|
|
213
|
+
icon?: string | undefined;
|
|
214
|
+
rainfall?: number | undefined;
|
|
215
|
+
humidity?: number | undefined;
|
|
216
|
+
};
|
|
210
217
|
farmId: string;
|
|
211
218
|
forecast: {
|
|
212
219
|
temp: number;
|
|
@@ -215,13 +222,6 @@ export declare const weatherRouter: {
|
|
|
215
222
|
rainfall?: number | undefined;
|
|
216
223
|
rain?: number | undefined;
|
|
217
224
|
}[];
|
|
218
|
-
current: {
|
|
219
|
-
temp: number;
|
|
220
|
-
condition: string;
|
|
221
|
-
icon?: string | undefined;
|
|
222
|
-
rainfall?: number | undefined;
|
|
223
|
-
humidity?: number | undefined;
|
|
224
|
-
};
|
|
225
225
|
alerts?: {
|
|
226
226
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
227
227
|
message: string;
|
|
@@ -254,6 +254,13 @@ export declare const weatherRouter: {
|
|
|
254
254
|
recommendation?: string | undefined;
|
|
255
255
|
}[] | undefined;
|
|
256
256
|
}, {
|
|
257
|
+
current: {
|
|
258
|
+
temp: number;
|
|
259
|
+
condition: string;
|
|
260
|
+
icon?: string | undefined;
|
|
261
|
+
rainfall?: number | undefined;
|
|
262
|
+
humidity?: number | undefined;
|
|
263
|
+
};
|
|
257
264
|
farmId: string;
|
|
258
265
|
forecast: {
|
|
259
266
|
temp: number;
|
|
@@ -262,13 +269,6 @@ export declare const weatherRouter: {
|
|
|
262
269
|
rainfall?: number | undefined;
|
|
263
270
|
rain?: number | undefined;
|
|
264
271
|
}[];
|
|
265
|
-
current: {
|
|
266
|
-
temp: number;
|
|
267
|
-
condition: string;
|
|
268
|
-
icon?: string | undefined;
|
|
269
|
-
rainfall?: number | undefined;
|
|
270
|
-
humidity?: number | undefined;
|
|
271
|
-
};
|
|
272
272
|
alerts?: {
|
|
273
273
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
274
274
|
message: string;
|
|
@@ -308,6 +308,13 @@ export declare const weatherRouter: {
|
|
|
308
308
|
type: string;
|
|
309
309
|
id: string;
|
|
310
310
|
attributes: {
|
|
311
|
+
current: {
|
|
312
|
+
temp: number;
|
|
313
|
+
condition: string;
|
|
314
|
+
icon?: string | undefined;
|
|
315
|
+
rainfall?: number | undefined;
|
|
316
|
+
humidity?: number | undefined;
|
|
317
|
+
};
|
|
311
318
|
farmId: string;
|
|
312
319
|
forecast: {
|
|
313
320
|
temp: number;
|
|
@@ -316,13 +323,6 @@ export declare const weatherRouter: {
|
|
|
316
323
|
rainfall?: number | undefined;
|
|
317
324
|
rain?: number | undefined;
|
|
318
325
|
}[];
|
|
319
|
-
current: {
|
|
320
|
-
temp: number;
|
|
321
|
-
condition: string;
|
|
322
|
-
icon?: string | undefined;
|
|
323
|
-
rainfall?: number | undefined;
|
|
324
|
-
humidity?: number | undefined;
|
|
325
|
-
};
|
|
326
326
|
alerts?: {
|
|
327
327
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
328
328
|
message: string;
|
|
@@ -362,6 +362,13 @@ export declare const weatherRouter: {
|
|
|
362
362
|
type: string;
|
|
363
363
|
id: string;
|
|
364
364
|
attributes: {
|
|
365
|
+
current: {
|
|
366
|
+
temp: number;
|
|
367
|
+
condition: string;
|
|
368
|
+
icon?: string | undefined;
|
|
369
|
+
rainfall?: number | undefined;
|
|
370
|
+
humidity?: number | undefined;
|
|
371
|
+
};
|
|
365
372
|
farmId: string;
|
|
366
373
|
forecast: {
|
|
367
374
|
temp: number;
|
|
@@ -370,13 +377,6 @@ export declare const weatherRouter: {
|
|
|
370
377
|
rainfall?: number | undefined;
|
|
371
378
|
rain?: number | undefined;
|
|
372
379
|
}[];
|
|
373
|
-
current: {
|
|
374
|
-
temp: number;
|
|
375
|
-
condition: string;
|
|
376
|
-
icon?: string | undefined;
|
|
377
|
-
rainfall?: number | undefined;
|
|
378
|
-
humidity?: number | undefined;
|
|
379
|
-
};
|
|
380
380
|
alerts?: {
|
|
381
381
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
382
382
|
message: string;
|
|
@@ -442,6 +442,13 @@ export declare const weatherRouter: {
|
|
|
442
442
|
type: string;
|
|
443
443
|
id: string;
|
|
444
444
|
attributes: {
|
|
445
|
+
current: {
|
|
446
|
+
temp: number;
|
|
447
|
+
condition: string;
|
|
448
|
+
icon?: string | undefined;
|
|
449
|
+
rainfall?: number | undefined;
|
|
450
|
+
humidity?: number | undefined;
|
|
451
|
+
};
|
|
445
452
|
farmId: string;
|
|
446
453
|
forecast: {
|
|
447
454
|
temp: number;
|
|
@@ -450,13 +457,6 @@ export declare const weatherRouter: {
|
|
|
450
457
|
rainfall?: number | undefined;
|
|
451
458
|
rain?: number | undefined;
|
|
452
459
|
}[];
|
|
453
|
-
current: {
|
|
454
|
-
temp: number;
|
|
455
|
-
condition: string;
|
|
456
|
-
icon?: string | undefined;
|
|
457
|
-
rainfall?: number | undefined;
|
|
458
|
-
humidity?: number | undefined;
|
|
459
|
-
};
|
|
460
460
|
alerts?: {
|
|
461
461
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
462
462
|
message: string;
|
|
@@ -508,6 +508,13 @@ export declare const weatherRouter: {
|
|
|
508
508
|
type: string;
|
|
509
509
|
id: string;
|
|
510
510
|
attributes: {
|
|
511
|
+
current: {
|
|
512
|
+
temp: number;
|
|
513
|
+
condition: string;
|
|
514
|
+
icon?: string | undefined;
|
|
515
|
+
rainfall?: number | undefined;
|
|
516
|
+
humidity?: number | undefined;
|
|
517
|
+
};
|
|
511
518
|
farmId: string;
|
|
512
519
|
forecast: {
|
|
513
520
|
temp: number;
|
|
@@ -516,13 +523,6 @@ export declare const weatherRouter: {
|
|
|
516
523
|
rainfall?: number | undefined;
|
|
517
524
|
rain?: number | undefined;
|
|
518
525
|
}[];
|
|
519
|
-
current: {
|
|
520
|
-
temp: number;
|
|
521
|
-
condition: string;
|
|
522
|
-
icon?: string | undefined;
|
|
523
|
-
rainfall?: number | undefined;
|
|
524
|
-
humidity?: number | undefined;
|
|
525
|
-
};
|
|
526
526
|
alerts?: {
|
|
527
527
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
528
528
|
message: string;
|
|
@@ -3141,17 +3141,17 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3141
3141
|
date: string;
|
|
3142
3142
|
id: string;
|
|
3143
3143
|
title: string;
|
|
3144
|
+
category: string;
|
|
3144
3145
|
fieldId: string;
|
|
3145
3146
|
fieldName: string;
|
|
3146
|
-
category: string;
|
|
3147
3147
|
}, {
|
|
3148
3148
|
status: string;
|
|
3149
3149
|
date: string;
|
|
3150
3150
|
id: string;
|
|
3151
3151
|
title: string;
|
|
3152
|
+
category: string;
|
|
3152
3153
|
fieldId: string;
|
|
3153
3154
|
fieldName: string;
|
|
3154
|
-
category: string;
|
|
3155
3155
|
}>, "many">;
|
|
3156
3156
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
3157
3157
|
date: z.ZodString;
|
|
@@ -3216,9 +3216,9 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3216
3216
|
date: string;
|
|
3217
3217
|
id: string;
|
|
3218
3218
|
title: string;
|
|
3219
|
+
category: string;
|
|
3219
3220
|
fieldId: string;
|
|
3220
3221
|
fieldName: string;
|
|
3221
|
-
category: string;
|
|
3222
3222
|
}[];
|
|
3223
3223
|
startDate: string;
|
|
3224
3224
|
endDate: string;
|
|
@@ -3249,9 +3249,9 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3249
3249
|
date: string;
|
|
3250
3250
|
id: string;
|
|
3251
3251
|
title: string;
|
|
3252
|
+
category: string;
|
|
3252
3253
|
fieldId: string;
|
|
3253
3254
|
fieldName: string;
|
|
3254
|
-
category: string;
|
|
3255
3255
|
}[];
|
|
3256
3256
|
startDate: string;
|
|
3257
3257
|
endDate: string;
|
|
@@ -3286,9 +3286,9 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3286
3286
|
date: string;
|
|
3287
3287
|
id: string;
|
|
3288
3288
|
title: string;
|
|
3289
|
+
category: string;
|
|
3289
3290
|
fieldId: string;
|
|
3290
3291
|
fieldName: string;
|
|
3291
|
-
category: string;
|
|
3292
3292
|
}[];
|
|
3293
3293
|
startDate: string;
|
|
3294
3294
|
endDate: string;
|
|
@@ -3323,9 +3323,9 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3323
3323
|
date: string;
|
|
3324
3324
|
id: string;
|
|
3325
3325
|
title: string;
|
|
3326
|
+
category: string;
|
|
3326
3327
|
fieldId: string;
|
|
3327
3328
|
fieldName: string;
|
|
3328
|
-
category: string;
|
|
3329
3329
|
}[];
|
|
3330
3330
|
startDate: string;
|
|
3331
3331
|
endDate: string;
|
|
@@ -3362,9 +3362,9 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3362
3362
|
date: string;
|
|
3363
3363
|
id: string;
|
|
3364
3364
|
title: string;
|
|
3365
|
+
category: string;
|
|
3365
3366
|
fieldId: string;
|
|
3366
3367
|
fieldName: string;
|
|
3367
|
-
category: string;
|
|
3368
3368
|
}[];
|
|
3369
3369
|
startDate: string;
|
|
3370
3370
|
endDate: string;
|
|
@@ -3401,9 +3401,9 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3401
3401
|
date: string;
|
|
3402
3402
|
id: string;
|
|
3403
3403
|
title: string;
|
|
3404
|
+
category: string;
|
|
3404
3405
|
fieldId: string;
|
|
3405
3406
|
fieldName: string;
|
|
3406
|
-
category: string;
|
|
3407
3407
|
}[];
|
|
3408
3408
|
startDate: string;
|
|
3409
3409
|
endDate: string;
|
|
@@ -383,6 +383,38 @@ export declare const jsonApiErrorResponseSchema: z.ZodObject<{
|
|
|
383
383
|
}[];
|
|
384
384
|
meta?: Record<string, unknown> | undefined;
|
|
385
385
|
}>;
|
|
386
|
+
/** Flat Nest / simple API error (guards, observation limits, rate limits). */
|
|
387
|
+
export declare const simpleApiErrorSchema: z.ZodObject<{
|
|
388
|
+
message: z.ZodString;
|
|
389
|
+
code: z.ZodString;
|
|
390
|
+
upgradeUrl: z.ZodOptional<z.ZodString>;
|
|
391
|
+
currentLimit: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
currentUsage: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
394
|
+
resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
395
|
+
resetTime: z.ZodOptional<z.ZodString>;
|
|
396
|
+
current: z.ZodOptional<z.ZodNumber>;
|
|
397
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
398
|
+
message: z.ZodString;
|
|
399
|
+
code: z.ZodString;
|
|
400
|
+
upgradeUrl: z.ZodOptional<z.ZodString>;
|
|
401
|
+
currentLimit: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
currentUsage: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
405
|
+
resetTime: z.ZodOptional<z.ZodString>;
|
|
406
|
+
current: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
408
|
+
message: z.ZodString;
|
|
409
|
+
code: z.ZodString;
|
|
410
|
+
upgradeUrl: z.ZodOptional<z.ZodString>;
|
|
411
|
+
currentLimit: z.ZodOptional<z.ZodNumber>;
|
|
412
|
+
currentUsage: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
415
|
+
resetTime: z.ZodOptional<z.ZodString>;
|
|
416
|
+
current: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
386
418
|
export declare const jsonApiSuccessResponseSchema: z.ZodObject<{
|
|
387
419
|
meta: z.ZodObject<{
|
|
388
420
|
message: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/common.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;EAQhC,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAC;AAGH,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEAMjF,CAAC;AAGL,eAAO,MAAM,+BAA+B,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrF,CAAC;AAEL,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;EAMvC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO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AAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAGpD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -86,6 +86,20 @@ export const jsonApiErrorResponseSchema = z.object({
|
|
|
86
86
|
errors: z.array(jsonApiErrorSchema),
|
|
87
87
|
meta: z.record(z.unknown()).optional(),
|
|
88
88
|
});
|
|
89
|
+
/** Flat Nest / simple API error (guards, observation limits, rate limits). */
|
|
90
|
+
export const simpleApiErrorSchema = z
|
|
91
|
+
.object({
|
|
92
|
+
message: z.string(),
|
|
93
|
+
code: z.string(),
|
|
94
|
+
upgradeUrl: z.string().optional(),
|
|
95
|
+
currentLimit: z.number().optional(),
|
|
96
|
+
currentUsage: z.number().optional(),
|
|
97
|
+
limit: z.number().optional(),
|
|
98
|
+
resetDate: z.union([z.string(), z.date()]).optional(),
|
|
99
|
+
resetTime: z.string().optional(),
|
|
100
|
+
current: z.number().optional(),
|
|
101
|
+
})
|
|
102
|
+
.passthrough();
|
|
89
103
|
export const jsonApiSuccessResponseSchema = z.object({
|
|
90
104
|
meta: z.object({
|
|
91
105
|
message: z.string(),
|