@deepintel-ltd/farmpro-contracts 1.20.0 → 1.21.0
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 +18 -18
- package/dist/routes/commodity-deals.routes.d.ts +307 -0
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- package/dist/routes/commodity-deals.routes.js +16 -1
- package/dist/routes/fertigation.routes.d.ts +108 -108
- package/dist/routes/fields.routes.d.ts +852 -6
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +20 -1
- package/dist/routes/irrigation.routes.d.ts +22 -22
- package/dist/schemas/agents.schemas.d.ts +21 -21
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +1 -0
- package/dist/schemas/commodity-deals.schemas.d.ts +34 -0
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +8 -0
- package/dist/schemas/fertigation.schemas.d.ts +36 -36
- package/dist/schemas/fields.schemas.d.ts +103 -5
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +10 -0
- package/dist/schemas/irrigation.schemas.d.ts +16 -16
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.routes.d.ts","sourceRoot":"","sources":["../../src/routes/fields.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"fields.routes.d.ts","sourceRoot":"","sources":["../../src/routes/fields.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgLvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { createFieldSchema, updateFieldSchema, recordPlantingSchema, fieldResponseSchema, fieldDetailResponseSchema, fieldListResponseSchema, seasonTimelineListResponseSchema, } from '../schemas/fields.schemas';
|
|
3
|
+
import { createFieldSchema, updateFieldSchema, recordPlantingSchema, endSeasonSchema, fieldResponseSchema, fieldDetailResponseSchema, fieldListResponseSchema, seasonTimelineListResponseSchema, } from '../schemas/fields.schemas';
|
|
4
4
|
import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, jsonApiIncludeQuerySchema, jsonApiFilterQuerySchema, simpleApiErrorSchema, } from '../schemas/common.schemas';
|
|
5
5
|
import { uploadFileBodySchema } from '../schemas/files.schemas';
|
|
6
6
|
const c = initContract();
|
|
@@ -96,6 +96,25 @@ export const fieldsRouter = c.router({
|
|
|
96
96
|
summary: 'Record planting',
|
|
97
97
|
description: 'Record a new planting on a field, archiving the prior season into cropHistory when present',
|
|
98
98
|
},
|
|
99
|
+
// End season (archive crop, clear lifecycle, stop crop automation)
|
|
100
|
+
endSeason: {
|
|
101
|
+
method: 'POST',
|
|
102
|
+
path: '/farms/:farmId/fields/:id/end-season',
|
|
103
|
+
pathParams: z.object({
|
|
104
|
+
farmId: z.string().uuid(),
|
|
105
|
+
id: z.string().uuid(),
|
|
106
|
+
}),
|
|
107
|
+
body: z.object({ data: endSeasonSchema }),
|
|
108
|
+
responses: {
|
|
109
|
+
200: fieldResponseSchema,
|
|
110
|
+
400: jsonApiErrorResponseSchema,
|
|
111
|
+
404: jsonApiErrorResponseSchema,
|
|
112
|
+
401: jsonApiErrorResponseSchema,
|
|
113
|
+
422: jsonApiErrorResponseSchema,
|
|
114
|
+
},
|
|
115
|
+
summary: 'End season',
|
|
116
|
+
description: 'Archive the active crop into cropHistory, clear crop lifecycle fields, cancel in-season tasks, and pause fertigation schedules',
|
|
117
|
+
},
|
|
99
118
|
// Merged season timeline (harvests, soil tests, field activities, planting)
|
|
100
119
|
listSeasonTimeline: {
|
|
101
120
|
method: 'GET',
|
|
@@ -55,8 +55,8 @@ export declare const irrigationRouter: {
|
|
|
55
55
|
updatedAt: string;
|
|
56
56
|
name: string;
|
|
57
57
|
plantingDate: string;
|
|
58
|
-
soilType: string | null;
|
|
59
58
|
notes: string | null;
|
|
59
|
+
soilType: string | null;
|
|
60
60
|
fieldId: string;
|
|
61
61
|
cropType: string;
|
|
62
62
|
fieldCapacity: number;
|
|
@@ -78,8 +78,8 @@ export declare const irrigationRouter: {
|
|
|
78
78
|
updatedAt: string;
|
|
79
79
|
name: string;
|
|
80
80
|
plantingDate: string;
|
|
81
|
-
soilType: string | null;
|
|
82
81
|
notes: string | null;
|
|
82
|
+
soilType: string | null;
|
|
83
83
|
fieldId: string;
|
|
84
84
|
cropType: string;
|
|
85
85
|
fieldCapacity: number;
|
|
@@ -105,8 +105,8 @@ export declare const irrigationRouter: {
|
|
|
105
105
|
updatedAt: string;
|
|
106
106
|
name: string;
|
|
107
107
|
plantingDate: string;
|
|
108
|
-
soilType: string | null;
|
|
109
108
|
notes: string | null;
|
|
109
|
+
soilType: string | null;
|
|
110
110
|
fieldId: string;
|
|
111
111
|
cropType: string;
|
|
112
112
|
fieldCapacity: number;
|
|
@@ -132,8 +132,8 @@ export declare const irrigationRouter: {
|
|
|
132
132
|
updatedAt: string;
|
|
133
133
|
name: string;
|
|
134
134
|
plantingDate: string;
|
|
135
|
-
soilType: string | null;
|
|
136
135
|
notes: string | null;
|
|
136
|
+
soilType: string | null;
|
|
137
137
|
fieldId: string;
|
|
138
138
|
cropType: string;
|
|
139
139
|
fieldCapacity: number;
|
|
@@ -168,8 +168,8 @@ export declare const irrigationRouter: {
|
|
|
168
168
|
updatedAt: string;
|
|
169
169
|
name: string;
|
|
170
170
|
plantingDate: string;
|
|
171
|
-
soilType: string | null;
|
|
172
171
|
notes: string | null;
|
|
172
|
+
soilType: string | null;
|
|
173
173
|
fieldId: string;
|
|
174
174
|
cropType: string;
|
|
175
175
|
fieldCapacity: number;
|
|
@@ -200,8 +200,8 @@ export declare const irrigationRouter: {
|
|
|
200
200
|
updatedAt: string;
|
|
201
201
|
name: string;
|
|
202
202
|
plantingDate: string;
|
|
203
|
-
soilType: string | null;
|
|
204
203
|
notes: string | null;
|
|
204
|
+
soilType: string | null;
|
|
205
205
|
fieldId: string;
|
|
206
206
|
cropType: string;
|
|
207
207
|
fieldCapacity: number;
|
|
@@ -292,8 +292,8 @@ export declare const irrigationRouter: {
|
|
|
292
292
|
updatedAt: string;
|
|
293
293
|
name: string;
|
|
294
294
|
plantingDate: string;
|
|
295
|
-
soilType: string | null;
|
|
296
295
|
notes: string | null;
|
|
296
|
+
soilType: string | null;
|
|
297
297
|
fieldId: string;
|
|
298
298
|
cropType: string;
|
|
299
299
|
fieldCapacity: number;
|
|
@@ -315,8 +315,8 @@ export declare const irrigationRouter: {
|
|
|
315
315
|
updatedAt: string;
|
|
316
316
|
name: string;
|
|
317
317
|
plantingDate: string;
|
|
318
|
-
soilType: string | null;
|
|
319
318
|
notes: string | null;
|
|
319
|
+
soilType: string | null;
|
|
320
320
|
fieldId: string;
|
|
321
321
|
cropType: string;
|
|
322
322
|
fieldCapacity: number;
|
|
@@ -342,8 +342,8 @@ export declare const irrigationRouter: {
|
|
|
342
342
|
updatedAt: string;
|
|
343
343
|
name: string;
|
|
344
344
|
plantingDate: string;
|
|
345
|
-
soilType: string | null;
|
|
346
345
|
notes: string | null;
|
|
346
|
+
soilType: string | null;
|
|
347
347
|
fieldId: string;
|
|
348
348
|
cropType: string;
|
|
349
349
|
fieldCapacity: number;
|
|
@@ -369,8 +369,8 @@ export declare const irrigationRouter: {
|
|
|
369
369
|
updatedAt: string;
|
|
370
370
|
name: string;
|
|
371
371
|
plantingDate: string;
|
|
372
|
-
soilType: string | null;
|
|
373
372
|
notes: string | null;
|
|
373
|
+
soilType: string | null;
|
|
374
374
|
fieldId: string;
|
|
375
375
|
cropType: string;
|
|
376
376
|
fieldCapacity: number;
|
|
@@ -441,8 +441,8 @@ export declare const irrigationRouter: {
|
|
|
441
441
|
adjustForWeather: boolean;
|
|
442
442
|
adjustForGrowthStage: boolean;
|
|
443
443
|
systemEfficiency: number;
|
|
444
|
-
soilType?: string | undefined;
|
|
445
444
|
notes?: string | undefined;
|
|
445
|
+
soilType?: string | undefined;
|
|
446
446
|
flowRateLPH?: number | undefined;
|
|
447
447
|
}, {
|
|
448
448
|
name: string;
|
|
@@ -450,8 +450,8 @@ export declare const irrigationRouter: {
|
|
|
450
450
|
fieldId: string;
|
|
451
451
|
cropType: string;
|
|
452
452
|
irrigationMethod: "manual" | "drip" | "sprinkler" | "surface" | "pivot";
|
|
453
|
-
soilType?: string | undefined;
|
|
454
453
|
notes?: string | undefined;
|
|
454
|
+
soilType?: string | undefined;
|
|
455
455
|
autoGenerateEvents?: boolean | undefined;
|
|
456
456
|
fieldCapacity?: number | undefined;
|
|
457
457
|
wiltingPoint?: number | undefined;
|
|
@@ -496,8 +496,8 @@ export declare const irrigationRouter: {
|
|
|
496
496
|
updatedAt: string;
|
|
497
497
|
name: string;
|
|
498
498
|
plantingDate: string;
|
|
499
|
-
soilType: string | null;
|
|
500
499
|
notes: string | null;
|
|
500
|
+
soilType: string | null;
|
|
501
501
|
fieldId: string;
|
|
502
502
|
cropType: string;
|
|
503
503
|
fieldCapacity: number;
|
|
@@ -519,8 +519,8 @@ export declare const irrigationRouter: {
|
|
|
519
519
|
updatedAt: string;
|
|
520
520
|
name: string;
|
|
521
521
|
plantingDate: string;
|
|
522
|
-
soilType: string | null;
|
|
523
522
|
notes: string | null;
|
|
523
|
+
soilType: string | null;
|
|
524
524
|
fieldId: string;
|
|
525
525
|
cropType: string;
|
|
526
526
|
fieldCapacity: number;
|
|
@@ -546,8 +546,8 @@ export declare const irrigationRouter: {
|
|
|
546
546
|
updatedAt: string;
|
|
547
547
|
name: string;
|
|
548
548
|
plantingDate: string;
|
|
549
|
-
soilType: string | null;
|
|
550
549
|
notes: string | null;
|
|
550
|
+
soilType: string | null;
|
|
551
551
|
fieldId: string;
|
|
552
552
|
cropType: string;
|
|
553
553
|
fieldCapacity: number;
|
|
@@ -573,8 +573,8 @@ export declare const irrigationRouter: {
|
|
|
573
573
|
updatedAt: string;
|
|
574
574
|
name: string;
|
|
575
575
|
plantingDate: string;
|
|
576
|
-
soilType: string | null;
|
|
577
576
|
notes: string | null;
|
|
577
|
+
soilType: string | null;
|
|
578
578
|
fieldId: string;
|
|
579
579
|
cropType: string;
|
|
580
580
|
fieldCapacity: number;
|
|
@@ -657,8 +657,8 @@ export declare const irrigationRouter: {
|
|
|
657
657
|
}, "strip", z.ZodTypeAny, {
|
|
658
658
|
name?: string | undefined;
|
|
659
659
|
plantingDate?: string | undefined;
|
|
660
|
-
soilType?: string | undefined;
|
|
661
660
|
notes?: string | undefined;
|
|
661
|
+
soilType?: string | undefined;
|
|
662
662
|
fieldId?: string | undefined;
|
|
663
663
|
autoGenerateEvents?: boolean | undefined;
|
|
664
664
|
cropType?: string | undefined;
|
|
@@ -674,8 +674,8 @@ export declare const irrigationRouter: {
|
|
|
674
674
|
}, {
|
|
675
675
|
name?: string | undefined;
|
|
676
676
|
plantingDate?: string | undefined;
|
|
677
|
-
soilType?: string | undefined;
|
|
678
677
|
notes?: string | undefined;
|
|
678
|
+
soilType?: string | undefined;
|
|
679
679
|
fieldId?: string | undefined;
|
|
680
680
|
autoGenerateEvents?: boolean | undefined;
|
|
681
681
|
cropType?: string | undefined;
|
|
@@ -723,8 +723,8 @@ export declare const irrigationRouter: {
|
|
|
723
723
|
updatedAt: string;
|
|
724
724
|
name: string;
|
|
725
725
|
plantingDate: string;
|
|
726
|
-
soilType: string | null;
|
|
727
726
|
notes: string | null;
|
|
727
|
+
soilType: string | null;
|
|
728
728
|
fieldId: string;
|
|
729
729
|
cropType: string;
|
|
730
730
|
fieldCapacity: number;
|
|
@@ -746,8 +746,8 @@ export declare const irrigationRouter: {
|
|
|
746
746
|
updatedAt: string;
|
|
747
747
|
name: string;
|
|
748
748
|
plantingDate: string;
|
|
749
|
-
soilType: string | null;
|
|
750
749
|
notes: string | null;
|
|
750
|
+
soilType: string | null;
|
|
751
751
|
fieldId: string;
|
|
752
752
|
cropType: string;
|
|
753
753
|
fieldCapacity: number;
|
|
@@ -773,8 +773,8 @@ export declare const irrigationRouter: {
|
|
|
773
773
|
updatedAt: string;
|
|
774
774
|
name: string;
|
|
775
775
|
plantingDate: string;
|
|
776
|
-
soilType: string | null;
|
|
777
776
|
notes: string | null;
|
|
777
|
+
soilType: string | null;
|
|
778
778
|
fieldId: string;
|
|
779
779
|
cropType: string;
|
|
780
780
|
fieldCapacity: number;
|
|
@@ -800,8 +800,8 @@ export declare const irrigationRouter: {
|
|
|
800
800
|
updatedAt: string;
|
|
801
801
|
name: string;
|
|
802
802
|
plantingDate: string;
|
|
803
|
-
soilType: string | null;
|
|
804
803
|
notes: string | null;
|
|
804
|
+
soilType: string | null;
|
|
805
805
|
fieldId: string;
|
|
806
806
|
cropType: string;
|
|
807
807
|
fieldCapacity: number;
|
|
@@ -3655,18 +3655,18 @@ export declare const harvestReadinessResponseSchema: z.ZodObject<{
|
|
|
3655
3655
|
}>;
|
|
3656
3656
|
export declare const farmBrainProposedActionSchema: z.ZodObject<{
|
|
3657
3657
|
id: z.ZodString;
|
|
3658
|
-
type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity"]>;
|
|
3658
|
+
type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity", "end_season"]>;
|
|
3659
3659
|
title: z.ZodString;
|
|
3660
3660
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3661
3661
|
requiresConfirmation: z.ZodDefault<z.ZodBoolean>;
|
|
3662
3662
|
}, "strip", z.ZodTypeAny, {
|
|
3663
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3663
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3664
3664
|
id: string;
|
|
3665
3665
|
title: string;
|
|
3666
3666
|
payload: Record<string, unknown>;
|
|
3667
3667
|
requiresConfirmation: boolean;
|
|
3668
3668
|
}, {
|
|
3669
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3669
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3670
3670
|
id: string;
|
|
3671
3671
|
title: string;
|
|
3672
3672
|
payload: Record<string, unknown>;
|
|
@@ -3841,18 +3841,18 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
|
|
|
3841
3841
|
modelUsed: z.ZodOptional<z.ZodString>;
|
|
3842
3842
|
proposedActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3843
3843
|
id: z.ZodString;
|
|
3844
|
-
type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity"]>;
|
|
3844
|
+
type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity", "end_season"]>;
|
|
3845
3845
|
title: z.ZodString;
|
|
3846
3846
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3847
3847
|
requiresConfirmation: z.ZodDefault<z.ZodBoolean>;
|
|
3848
3848
|
}, "strip", z.ZodTypeAny, {
|
|
3849
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3849
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3850
3850
|
id: string;
|
|
3851
3851
|
title: string;
|
|
3852
3852
|
payload: Record<string, unknown>;
|
|
3853
3853
|
requiresConfirmation: boolean;
|
|
3854
3854
|
}, {
|
|
3855
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3855
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3856
3856
|
id: string;
|
|
3857
3857
|
title: string;
|
|
3858
3858
|
payload: Record<string, unknown>;
|
|
@@ -3864,7 +3864,7 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
|
|
|
3864
3864
|
conversationId?: string | undefined;
|
|
3865
3865
|
modelUsed?: string | undefined;
|
|
3866
3866
|
proposedActions?: {
|
|
3867
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3867
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3868
3868
|
id: string;
|
|
3869
3869
|
title: string;
|
|
3870
3870
|
payload: Record<string, unknown>;
|
|
@@ -3876,7 +3876,7 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
|
|
|
3876
3876
|
conversationId?: string | undefined;
|
|
3877
3877
|
modelUsed?: string | undefined;
|
|
3878
3878
|
proposedActions?: {
|
|
3879
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3879
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3880
3880
|
id: string;
|
|
3881
3881
|
title: string;
|
|
3882
3882
|
payload: Record<string, unknown>;
|
|
@@ -3892,7 +3892,7 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
|
|
|
3892
3892
|
conversationId?: string | undefined;
|
|
3893
3893
|
modelUsed?: string | undefined;
|
|
3894
3894
|
proposedActions?: {
|
|
3895
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3895
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3896
3896
|
id: string;
|
|
3897
3897
|
title: string;
|
|
3898
3898
|
payload: Record<string, unknown>;
|
|
@@ -3908,7 +3908,7 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
|
|
|
3908
3908
|
conversationId?: string | undefined;
|
|
3909
3909
|
modelUsed?: string | undefined;
|
|
3910
3910
|
proposedActions?: {
|
|
3911
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3911
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3912
3912
|
id: string;
|
|
3913
3913
|
title: string;
|
|
3914
3914
|
payload: Record<string, unknown>;
|
|
@@ -3926,7 +3926,7 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
|
|
|
3926
3926
|
conversationId?: string | undefined;
|
|
3927
3927
|
modelUsed?: string | undefined;
|
|
3928
3928
|
proposedActions?: {
|
|
3929
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3929
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3930
3930
|
id: string;
|
|
3931
3931
|
title: string;
|
|
3932
3932
|
payload: Record<string, unknown>;
|
|
@@ -3944,7 +3944,7 @@ export declare const farmBrainChatResponseSchema: z.ZodObject<{
|
|
|
3944
3944
|
conversationId?: string | undefined;
|
|
3945
3945
|
modelUsed?: string | undefined;
|
|
3946
3946
|
proposedActions?: {
|
|
3947
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
3947
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
3948
3948
|
id: string;
|
|
3949
3949
|
title: string;
|
|
3950
3950
|
payload: Record<string, unknown>;
|
|
@@ -4043,18 +4043,18 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
|
|
|
4043
4043
|
modelUsed: z.ZodOptional<z.ZodString>;
|
|
4044
4044
|
proposedActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4045
4045
|
id: z.ZodString;
|
|
4046
|
-
type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity"]>;
|
|
4046
|
+
type: z.ZodEnum<["create_task", "log_expense", "log_revenue", "dismiss_alert", "open_entity", "record_planting", "record_harvest", "record_field_activity", "end_season"]>;
|
|
4047
4047
|
title: z.ZodString;
|
|
4048
4048
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4049
4049
|
requiresConfirmation: z.ZodDefault<z.ZodBoolean>;
|
|
4050
4050
|
}, "strip", z.ZodTypeAny, {
|
|
4051
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4051
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4052
4052
|
id: string;
|
|
4053
4053
|
title: string;
|
|
4054
4054
|
payload: Record<string, unknown>;
|
|
4055
4055
|
requiresConfirmation: boolean;
|
|
4056
4056
|
}, {
|
|
4057
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4057
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4058
4058
|
id: string;
|
|
4059
4059
|
title: string;
|
|
4060
4060
|
payload: Record<string, unknown>;
|
|
@@ -4067,7 +4067,7 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
|
|
|
4067
4067
|
conversationId?: string | undefined;
|
|
4068
4068
|
modelUsed?: string | undefined;
|
|
4069
4069
|
proposedActions?: {
|
|
4070
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4070
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4071
4071
|
id: string;
|
|
4072
4072
|
title: string;
|
|
4073
4073
|
payload: Record<string, unknown>;
|
|
@@ -4080,7 +4080,7 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
|
|
|
4080
4080
|
conversationId?: string | undefined;
|
|
4081
4081
|
modelUsed?: string | undefined;
|
|
4082
4082
|
proposedActions?: {
|
|
4083
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4083
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4084
4084
|
id: string;
|
|
4085
4085
|
title: string;
|
|
4086
4086
|
payload: Record<string, unknown>;
|
|
@@ -4097,7 +4097,7 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
|
|
|
4097
4097
|
conversationId?: string | undefined;
|
|
4098
4098
|
modelUsed?: string | undefined;
|
|
4099
4099
|
proposedActions?: {
|
|
4100
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4100
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4101
4101
|
id: string;
|
|
4102
4102
|
title: string;
|
|
4103
4103
|
payload: Record<string, unknown>;
|
|
@@ -4114,7 +4114,7 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
|
|
|
4114
4114
|
conversationId?: string | undefined;
|
|
4115
4115
|
modelUsed?: string | undefined;
|
|
4116
4116
|
proposedActions?: {
|
|
4117
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4117
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4118
4118
|
id: string;
|
|
4119
4119
|
title: string;
|
|
4120
4120
|
payload: Record<string, unknown>;
|
|
@@ -4133,7 +4133,7 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
|
|
|
4133
4133
|
conversationId?: string | undefined;
|
|
4134
4134
|
modelUsed?: string | undefined;
|
|
4135
4135
|
proposedActions?: {
|
|
4136
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4136
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4137
4137
|
id: string;
|
|
4138
4138
|
title: string;
|
|
4139
4139
|
payload: Record<string, unknown>;
|
|
@@ -4152,7 +4152,7 @@ export declare const farmBrainLocalizedResponseSchema: z.ZodObject<{
|
|
|
4152
4152
|
conversationId?: string | undefined;
|
|
4153
4153
|
modelUsed?: string | undefined;
|
|
4154
4154
|
proposedActions?: {
|
|
4155
|
-
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity";
|
|
4155
|
+
type: "create_task" | "log_expense" | "log_revenue" | "dismiss_alert" | "open_entity" | "record_planting" | "record_harvest" | "record_field_activity" | "end_season";
|
|
4156
4156
|
id: string;
|
|
4157
4157
|
title: string;
|
|
4158
4158
|
payload: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/agents.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AAGH,eAAO,MAAM,iBAAiB,kCAAgC,CAAC;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAGH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtC,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -1968,6 +1968,39 @@ export declare const commodityDealSummaryResponseSchema: z.ZodObject<{
|
|
|
1968
1968
|
totalInvestorPoolOnPaidDeals?: number | undefined;
|
|
1969
1969
|
};
|
|
1970
1970
|
}>;
|
|
1971
|
+
/** Result of marking all unpaid staff commissions paid out. */
|
|
1972
|
+
export declare const payAllStaffCommissionsResultSchema: z.ZodObject<{
|
|
1973
|
+
paidDealCount: z.ZodNumber;
|
|
1974
|
+
totalPaidOut: z.ZodNumber;
|
|
1975
|
+
}, "strip", z.ZodTypeAny, {
|
|
1976
|
+
paidDealCount: number;
|
|
1977
|
+
totalPaidOut: number;
|
|
1978
|
+
}, {
|
|
1979
|
+
paidDealCount: number;
|
|
1980
|
+
totalPaidOut: number;
|
|
1981
|
+
}>;
|
|
1982
|
+
export declare const payAllStaffCommissionsResponseSchema: z.ZodObject<{
|
|
1983
|
+
data: z.ZodObject<{
|
|
1984
|
+
paidDealCount: z.ZodNumber;
|
|
1985
|
+
totalPaidOut: z.ZodNumber;
|
|
1986
|
+
}, "strip", z.ZodTypeAny, {
|
|
1987
|
+
paidDealCount: number;
|
|
1988
|
+
totalPaidOut: number;
|
|
1989
|
+
}, {
|
|
1990
|
+
paidDealCount: number;
|
|
1991
|
+
totalPaidOut: number;
|
|
1992
|
+
}>;
|
|
1993
|
+
}, "strip", z.ZodTypeAny, {
|
|
1994
|
+
data: {
|
|
1995
|
+
paidDealCount: number;
|
|
1996
|
+
totalPaidOut: number;
|
|
1997
|
+
};
|
|
1998
|
+
}, {
|
|
1999
|
+
data: {
|
|
2000
|
+
paidDealCount: number;
|
|
2001
|
+
totalPaidOut: number;
|
|
2002
|
+
};
|
|
2003
|
+
}>;
|
|
1971
2004
|
export declare const commodityDealInsightsPeriodSchema: z.ZodEnum<["this_month", "last_3_months", "ytd", "all"]>;
|
|
1972
2005
|
export declare const commodityDealInsightsTotalsSchema: z.ZodObject<{
|
|
1973
2006
|
/** Sum of waybill weight (kg → t) for dispatches in period — by issueDate. */
|
|
@@ -3006,4 +3039,5 @@ export type CommodityDealInsightsResponse = z.infer<typeof commodityDealInsights
|
|
|
3006
3039
|
export type CreateDealParticipantInput = z.infer<typeof createDealParticipantSchema>;
|
|
3007
3040
|
export type UpdateDealParticipantInput = z.infer<typeof updateDealParticipantSchema>;
|
|
3008
3041
|
export type MyEarningsResponse = z.infer<typeof myEarningsResponseSchema>;
|
|
3042
|
+
export type PayAllStaffCommissionsResponse = z.infer<typeof payAllStaffCommissionsResponseSchema>;
|
|
3009
3043
|
//# sourceMappingURL=commodity-deals.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commodity-deals.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/commodity-deals.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,yBAAyB,qEAMpC,CAAC;AAEH,eAAO,MAAM,oBAAoB,6CAA2C,CAAC;AAE7E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAQrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;IAUtC,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjD,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoBtC,gFAAgF;;;;;;;;;;;;QA9BlF,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACrF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACrF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC"}
|
|
@@ -139,6 +139,14 @@ export const commodityDealSummarySchema = z.object({
|
|
|
139
139
|
export const commodityDealSummaryResponseSchema = z.object({
|
|
140
140
|
data: commodityDealSummarySchema,
|
|
141
141
|
});
|
|
142
|
+
/** Result of marking all unpaid staff commissions paid out. */
|
|
143
|
+
export const payAllStaffCommissionsResultSchema = z.object({
|
|
144
|
+
paidDealCount: z.number().int().nonnegative(),
|
|
145
|
+
totalPaidOut: z.number(),
|
|
146
|
+
});
|
|
147
|
+
export const payAllStaffCommissionsResponseSchema = z.object({
|
|
148
|
+
data: payAllStaffCommissionsResultSchema,
|
|
149
|
+
});
|
|
142
150
|
export const commodityDealInsightsPeriodSchema = z.enum([
|
|
143
151
|
'this_month',
|
|
144
152
|
'last_3_months',
|