@deepintel-ltd/farmpro-contracts 1.27.3 → 1.27.5

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.
@@ -5659,6 +5659,313 @@ export declare const agentsRouter: {
5659
5659
  }>;
5660
5660
  };
5661
5661
  };
5662
+ getFarmHarvestReadiness: {
5663
+ pathParams: z.ZodObject<{
5664
+ farmId: z.ZodString;
5665
+ }, "strip", z.ZodTypeAny, {
5666
+ farmId: string;
5667
+ }, {
5668
+ farmId: string;
5669
+ }>;
5670
+ query: z.ZodObject<{
5671
+ /** Comma-separated field ids; defaults to the farm's active fields. Max 20. */
5672
+ fieldIds: z.ZodOptional<z.ZodString>;
5673
+ }, "strip", z.ZodTypeAny, {
5674
+ fieldIds?: string | undefined;
5675
+ }, {
5676
+ fieldIds?: string | undefined;
5677
+ }>;
5678
+ summary: "Get harvest readiness for several fields in one request";
5679
+ method: "GET";
5680
+ path: "/farms/:farmId/harvest-readiness";
5681
+ responses: {
5682
+ 200: z.ZodObject<{
5683
+ data: z.ZodArray<z.ZodObject<{
5684
+ type: z.ZodLiteral<"harvest-readiness">;
5685
+ id: z.ZodString;
5686
+ attributes: z.ZodObject<{
5687
+ fieldId: z.ZodString;
5688
+ score: z.ZodNumber;
5689
+ recommendation: z.ZodEnum<["go", "wait", "monitor"]>;
5690
+ factors: z.ZodObject<{
5691
+ gddProgress: z.ZodNumber;
5692
+ ndviTrend: z.ZodNumber;
5693
+ weatherWindow: z.ZodNumber;
5694
+ }, "strip", z.ZodTypeAny, {
5695
+ gddProgress: number;
5696
+ ndviTrend: number;
5697
+ weatherWindow: number;
5698
+ }, {
5699
+ gddProgress: number;
5700
+ ndviTrend: number;
5701
+ weatherWindow: number;
5702
+ }>;
5703
+ generatedAt: z.ZodString;
5704
+ }, "strip", z.ZodTypeAny, {
5705
+ fieldId: string;
5706
+ generatedAt: string;
5707
+ score: number;
5708
+ recommendation: "go" | "wait" | "monitor";
5709
+ factors: {
5710
+ gddProgress: number;
5711
+ ndviTrend: number;
5712
+ weatherWindow: number;
5713
+ };
5714
+ }, {
5715
+ fieldId: string;
5716
+ generatedAt: string;
5717
+ score: number;
5718
+ recommendation: "go" | "wait" | "monitor";
5719
+ factors: {
5720
+ gddProgress: number;
5721
+ ndviTrend: number;
5722
+ weatherWindow: number;
5723
+ };
5724
+ }>;
5725
+ }, "strip", z.ZodTypeAny, {
5726
+ type: "harvest-readiness";
5727
+ id: string;
5728
+ attributes: {
5729
+ fieldId: string;
5730
+ generatedAt: string;
5731
+ score: number;
5732
+ recommendation: "go" | "wait" | "monitor";
5733
+ factors: {
5734
+ gddProgress: number;
5735
+ ndviTrend: number;
5736
+ weatherWindow: number;
5737
+ };
5738
+ };
5739
+ }, {
5740
+ type: "harvest-readiness";
5741
+ id: string;
5742
+ attributes: {
5743
+ fieldId: string;
5744
+ generatedAt: string;
5745
+ score: number;
5746
+ recommendation: "go" | "wait" | "monitor";
5747
+ factors: {
5748
+ gddProgress: number;
5749
+ ndviTrend: number;
5750
+ weatherWindow: number;
5751
+ };
5752
+ };
5753
+ }>, "many">;
5754
+ }, "strip", z.ZodTypeAny, {
5755
+ data: {
5756
+ type: "harvest-readiness";
5757
+ id: string;
5758
+ attributes: {
5759
+ fieldId: string;
5760
+ generatedAt: string;
5761
+ score: number;
5762
+ recommendation: "go" | "wait" | "monitor";
5763
+ factors: {
5764
+ gddProgress: number;
5765
+ ndviTrend: number;
5766
+ weatherWindow: number;
5767
+ };
5768
+ };
5769
+ }[];
5770
+ }, {
5771
+ data: {
5772
+ type: "harvest-readiness";
5773
+ id: string;
5774
+ attributes: {
5775
+ fieldId: string;
5776
+ generatedAt: string;
5777
+ score: number;
5778
+ recommendation: "go" | "wait" | "monitor";
5779
+ factors: {
5780
+ gddProgress: number;
5781
+ ndviTrend: number;
5782
+ weatherWindow: number;
5783
+ };
5784
+ };
5785
+ }[];
5786
+ }>;
5787
+ 401: z.ZodObject<{
5788
+ errors: z.ZodArray<z.ZodObject<{
5789
+ id: z.ZodOptional<z.ZodString>;
5790
+ links: z.ZodOptional<z.ZodObject<{
5791
+ about: z.ZodOptional<z.ZodString>;
5792
+ }, "strip", z.ZodTypeAny, {
5793
+ about?: string | undefined;
5794
+ }, {
5795
+ about?: string | undefined;
5796
+ }>>;
5797
+ status: z.ZodOptional<z.ZodString>;
5798
+ code: z.ZodOptional<z.ZodString>;
5799
+ title: z.ZodOptional<z.ZodString>;
5800
+ detail: z.ZodOptional<z.ZodString>;
5801
+ source: z.ZodOptional<z.ZodObject<{
5802
+ pointer: z.ZodOptional<z.ZodString>;
5803
+ parameter: z.ZodOptional<z.ZodString>;
5804
+ }, "strip", z.ZodTypeAny, {
5805
+ pointer?: string | undefined;
5806
+ parameter?: string | undefined;
5807
+ }, {
5808
+ pointer?: string | undefined;
5809
+ parameter?: string | undefined;
5810
+ }>>;
5811
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5812
+ }, "strip", z.ZodTypeAny, {
5813
+ status?: string | undefined;
5814
+ code?: string | undefined;
5815
+ id?: string | undefined;
5816
+ links?: {
5817
+ about?: string | undefined;
5818
+ } | undefined;
5819
+ meta?: Record<string, unknown> | undefined;
5820
+ title?: string | undefined;
5821
+ detail?: string | undefined;
5822
+ source?: {
5823
+ pointer?: string | undefined;
5824
+ parameter?: string | undefined;
5825
+ } | undefined;
5826
+ }, {
5827
+ status?: string | undefined;
5828
+ code?: string | undefined;
5829
+ id?: string | undefined;
5830
+ links?: {
5831
+ about?: string | undefined;
5832
+ } | undefined;
5833
+ meta?: Record<string, unknown> | undefined;
5834
+ title?: string | undefined;
5835
+ detail?: string | undefined;
5836
+ source?: {
5837
+ pointer?: string | undefined;
5838
+ parameter?: string | undefined;
5839
+ } | undefined;
5840
+ }>, "many">;
5841
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5842
+ }, "strip", z.ZodTypeAny, {
5843
+ errors: {
5844
+ status?: string | undefined;
5845
+ code?: string | undefined;
5846
+ id?: string | undefined;
5847
+ links?: {
5848
+ about?: string | undefined;
5849
+ } | undefined;
5850
+ meta?: Record<string, unknown> | undefined;
5851
+ title?: string | undefined;
5852
+ detail?: string | undefined;
5853
+ source?: {
5854
+ pointer?: string | undefined;
5855
+ parameter?: string | undefined;
5856
+ } | undefined;
5857
+ }[];
5858
+ meta?: Record<string, unknown> | undefined;
5859
+ }, {
5860
+ errors: {
5861
+ status?: string | undefined;
5862
+ code?: string | undefined;
5863
+ id?: string | undefined;
5864
+ links?: {
5865
+ about?: string | undefined;
5866
+ } | undefined;
5867
+ meta?: Record<string, unknown> | undefined;
5868
+ title?: string | undefined;
5869
+ detail?: string | undefined;
5870
+ source?: {
5871
+ pointer?: string | undefined;
5872
+ parameter?: string | undefined;
5873
+ } | undefined;
5874
+ }[];
5875
+ meta?: Record<string, unknown> | undefined;
5876
+ }>;
5877
+ 404: z.ZodObject<{
5878
+ errors: z.ZodArray<z.ZodObject<{
5879
+ id: z.ZodOptional<z.ZodString>;
5880
+ links: z.ZodOptional<z.ZodObject<{
5881
+ about: z.ZodOptional<z.ZodString>;
5882
+ }, "strip", z.ZodTypeAny, {
5883
+ about?: string | undefined;
5884
+ }, {
5885
+ about?: string | undefined;
5886
+ }>>;
5887
+ status: z.ZodOptional<z.ZodString>;
5888
+ code: z.ZodOptional<z.ZodString>;
5889
+ title: z.ZodOptional<z.ZodString>;
5890
+ detail: z.ZodOptional<z.ZodString>;
5891
+ source: z.ZodOptional<z.ZodObject<{
5892
+ pointer: z.ZodOptional<z.ZodString>;
5893
+ parameter: z.ZodOptional<z.ZodString>;
5894
+ }, "strip", z.ZodTypeAny, {
5895
+ pointer?: string | undefined;
5896
+ parameter?: string | undefined;
5897
+ }, {
5898
+ pointer?: string | undefined;
5899
+ parameter?: string | undefined;
5900
+ }>>;
5901
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5902
+ }, "strip", z.ZodTypeAny, {
5903
+ status?: string | undefined;
5904
+ code?: string | undefined;
5905
+ id?: string | undefined;
5906
+ links?: {
5907
+ about?: string | undefined;
5908
+ } | undefined;
5909
+ meta?: Record<string, unknown> | undefined;
5910
+ title?: string | undefined;
5911
+ detail?: string | undefined;
5912
+ source?: {
5913
+ pointer?: string | undefined;
5914
+ parameter?: string | undefined;
5915
+ } | undefined;
5916
+ }, {
5917
+ status?: string | undefined;
5918
+ code?: string | undefined;
5919
+ id?: string | undefined;
5920
+ links?: {
5921
+ about?: string | undefined;
5922
+ } | undefined;
5923
+ meta?: Record<string, unknown> | undefined;
5924
+ title?: string | undefined;
5925
+ detail?: string | undefined;
5926
+ source?: {
5927
+ pointer?: string | undefined;
5928
+ parameter?: string | undefined;
5929
+ } | undefined;
5930
+ }>, "many">;
5931
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5932
+ }, "strip", z.ZodTypeAny, {
5933
+ errors: {
5934
+ status?: string | undefined;
5935
+ code?: string | undefined;
5936
+ id?: string | undefined;
5937
+ links?: {
5938
+ about?: string | undefined;
5939
+ } | undefined;
5940
+ meta?: Record<string, unknown> | undefined;
5941
+ title?: string | undefined;
5942
+ detail?: string | undefined;
5943
+ source?: {
5944
+ pointer?: string | undefined;
5945
+ parameter?: string | undefined;
5946
+ } | undefined;
5947
+ }[];
5948
+ meta?: Record<string, unknown> | undefined;
5949
+ }, {
5950
+ errors: {
5951
+ status?: string | undefined;
5952
+ code?: string | undefined;
5953
+ id?: string | undefined;
5954
+ links?: {
5955
+ about?: string | undefined;
5956
+ } | undefined;
5957
+ meta?: Record<string, unknown> | undefined;
5958
+ title?: string | undefined;
5959
+ detail?: string | undefined;
5960
+ source?: {
5961
+ pointer?: string | undefined;
5962
+ parameter?: string | undefined;
5963
+ } | undefined;
5964
+ }[];
5965
+ meta?: Record<string, unknown> | undefined;
5966
+ }>;
5967
+ };
5968
+ };
5662
5969
  farmBrainChat: {
5663
5970
  pathParams: z.ZodObject<{
5664
5971
  farm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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DnF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
- import { chatRequestSchema, agentChatResponseSchema, conversationHistoryResponseSchema, conversationListResponseSchema, updateConversationTitleRequestSchema, updateProposedActionStatusRequestSchema, updateProposedActionStatusResponseSchema, conversationResponseSchema, surveyGeoJsonResponseSchema, resourceConflictResponseSchema, gddTrackerResponseSchema, reorderInsightsResponseSchema, weeklyWorkOrdersResponseSchema, pestScoutingCalendarResponseSchema, harvestReadinessResponseSchema, farmBrainChatRequestSchema, farmBrainChatResponseSchema, dailyBriefingResponseSchema, farmBrainLocalizedRequestSchema, farmBrainLocalizedResponseSchema, ussdQueryRequestSchema, ussdQueryResponseSchema, } from '../schemas/agents.schemas';
3
+ import { chatRequestSchema, agentChatResponseSchema, conversationHistoryResponseSchema, conversationListResponseSchema, updateConversationTitleRequestSchema, updateProposedActionStatusRequestSchema, updateProposedActionStatusResponseSchema, conversationResponseSchema, surveyGeoJsonResponseSchema, resourceConflictResponseSchema, gddTrackerResponseSchema, reorderInsightsResponseSchema, weeklyWorkOrdersResponseSchema, pestScoutingCalendarResponseSchema, harvestReadinessResponseSchema, farmHarvestReadinessResponseSchema, farmBrainChatRequestSchema, farmBrainChatResponseSchema, dailyBriefingResponseSchema, farmBrainLocalizedRequestSchema, farmBrainLocalizedResponseSchema, ussdQueryRequestSchema, ussdQueryResponseSchema, } from '../schemas/agents.schemas';
4
4
  import { jsonApiErrorResponseSchema } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  export const agentsRouter = c.router({
@@ -225,6 +225,21 @@ export const agentsRouter = c.router({
225
225
  },
226
226
  summary: 'Get field harvest readiness score',
227
227
  },
228
+ getFarmHarvestReadiness: {
229
+ method: 'GET',
230
+ path: '/farms/:farmId/harvest-readiness',
231
+ pathParams: z.object({ farmId: z.string().uuid() }),
232
+ query: z.object({
233
+ /** Comma-separated field ids; defaults to the farm's active fields. Max 20. */
234
+ fieldIds: z.string().optional(),
235
+ }),
236
+ responses: {
237
+ 200: farmHarvestReadinessResponseSchema,
238
+ 401: jsonApiErrorResponseSchema,
239
+ 404: jsonApiErrorResponseSchema,
240
+ },
241
+ summary: 'Get harvest readiness for several fields in one request',
242
+ },
228
243
  farmBrainChat: {
229
244
  method: 'POST',
230
245
  path: '/farms/:farmId/farm-brain/chat',
@@ -6979,16 +6979,20 @@ export declare const financeRouter: {
6979
6979
  'filter[endDate]': z.ZodOptional<z.ZodString>;
6980
6980
  'filter[status]': z.ZodOptional<z.ZodString>;
6981
6981
  'filter[crop]': z.ZodOptional<z.ZodString>;
6982
+ } & {
6983
+ 'filter[fieldId]': z.ZodOptional<z.ZodString>;
6982
6984
  }, "strip", z.ZodTypeAny, {
6983
6985
  'filter[startDate]'?: string | undefined;
6984
6986
  'filter[endDate]'?: string | undefined;
6985
6987
  'filter[status]'?: string | undefined;
6986
6988
  'filter[crop]'?: string | undefined;
6989
+ 'filter[fieldId]'?: string | undefined;
6987
6990
  }, {
6988
6991
  'filter[startDate]'?: string | undefined;
6989
6992
  'filter[endDate]'?: string | undefined;
6990
6993
  'filter[status]'?: string | undefined;
6991
6994
  'filter[crop]'?: string | undefined;
6995
+ 'filter[fieldId]'?: string | undefined;
6992
6996
  }>;
6993
6997
  summary: "Get finance summary";
6994
6998
  description: "Get financial overview including totals, profit, and budget breakdown";
@@ -1 +1 @@
1
- {"version":3,"file":"finance.routes.d.ts","sourceRoot":"","sources":["../../src/routes/finance.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuCxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMP,CAAC"}
@@ -244,7 +244,9 @@ export const financeRouter = c.router({
244
244
  method: 'GET',
245
245
  path: '/farms/:farmId/finance/summary',
246
246
  pathParams: z.object({ farmId: z.string().uuid() }),
247
- query: jsonApiFilterQuerySchema,
247
+ query: jsonApiFilterQuerySchema.extend({
248
+ 'filter[fieldId]': z.string().uuid().optional(),
249
+ }),
248
250
  responses: {
249
251
  200: financeSummaryResponseSchema,
250
252
  404: jsonApiErrorResponseSchema,