@deepintel-ltd/farmpro-contracts 1.15.5 → 1.16.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/agent-workflows.routes.d.ts +56 -56
- package/dist/routes/farm-updates.routes.d.ts +456 -16
- package/dist/routes/farm-updates.routes.d.ts.map +1 -1
- package/dist/routes/farm-updates.routes.js +27 -11
- package/dist/routes/fertigation.routes.d.ts +160 -160
- package/dist/routes/field-activities.routes.d.ts +172 -172
- package/dist/routes/field-monitoring.routes.d.ts +50 -50
- package/dist/routes/field-observations.routes.d.ts +40 -40
- package/dist/routes/fields.routes.d.ts +461 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +19 -1
- package/dist/routes/finance.routes.d.ts +78 -78
- package/dist/routes/harvest.routes.d.ts +72 -72
- package/dist/routes/inventory.routes.d.ts +42 -42
- package/dist/routes/live-monitor.routes.d.ts +6 -6
- package/dist/routes/measurements.routes.d.ts +6 -6
- package/dist/routes/monitoring-visualization.routes.d.ts +12 -12
- package/dist/routes/prescription-maps.routes.d.ts +28 -28
- package/dist/routes/soil-tests.routes.d.ts +80 -80
- package/dist/routes/suppliers.routes.d.ts +80 -80
- package/dist/routes/waybills.routes.d.ts +56 -56
- package/dist/routes/weather.routes.d.ts +24 -24
- package/dist/routes/yield-prediction.routes.d.ts +36 -36
- package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
- package/dist/schemas/commodity-deals.schemas.d.ts +18 -5
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +5 -1
- package/dist/schemas/farm-updates.schemas.d.ts +249 -0
- package/dist/schemas/farm-updates.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-updates.schemas.js +18 -0
- package/dist/schemas/fertigation.schemas.d.ts +72 -72
- package/dist/schemas/field-activities.schemas.d.ts +148 -148
- package/dist/schemas/field-monitoring.schemas.d.ts +30 -30
- package/dist/schemas/field-observations.schemas.d.ts +34 -34
- package/dist/schemas/fields.schemas.d.ts +286 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +26 -0
- package/dist/schemas/finance.schemas.d.ts +94 -94
- package/dist/schemas/harvest.schemas.d.ts +80 -80
- package/dist/schemas/inventory.schemas.d.ts +46 -46
- package/dist/schemas/live-monitor.schemas.d.ts +10 -10
- package/dist/schemas/measurements.schemas.d.ts +6 -6
- package/dist/schemas/monitoring-visualization.schemas.d.ts +14 -14
- package/dist/schemas/prescription-maps.schemas.d.ts +22 -22
- package/dist/schemas/recommendations.schemas.d.ts +6 -6
- package/dist/schemas/soil-tests.schemas.d.ts +84 -84
- package/dist/schemas/suppliers.schemas.d.ts +84 -84
- package/dist/schemas/waybills.schemas.d.ts +48 -48
- package/dist/schemas/weather.schemas.d.ts +68 -68
- package/dist/schemas/yield-prediction.schemas.d.ts +24 -24
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ export declare const commodityDealComputedSchema: z.ZodObject<{
|
|
|
36
36
|
staffCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
companyNet: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
netAfterStaff: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
/** Total company
|
|
39
|
+
/** Total company net (= fee + capital return) */
|
|
40
40
|
companyCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
companyFeeAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
companyCapitalReturn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -134,7 +134,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
|
|
|
134
134
|
staffCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
135
135
|
companyNet: z.ZodNullable<z.ZodNumber>;
|
|
136
136
|
netAfterStaff: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
137
|
-
/** Total company
|
|
137
|
+
/** Total company net (= fee + capital return) */
|
|
138
138
|
companyCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
139
139
|
companyFeeAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
140
140
|
companyCapitalReturn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -627,7 +627,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
627
627
|
staffCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
628
628
|
companyNet: z.ZodNullable<z.ZodNumber>;
|
|
629
629
|
netAfterStaff: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
630
|
-
/** Total company
|
|
630
|
+
/** Total company net (= fee + capital return) */
|
|
631
631
|
companyCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
632
632
|
companyFeeAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
633
633
|
companyCapitalReturn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -943,7 +943,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
943
943
|
staffCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
944
944
|
companyNet: z.ZodNullable<z.ZodNumber>;
|
|
945
945
|
netAfterStaff: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
946
|
-
/** Total company
|
|
946
|
+
/** Total company net (= fee + capital return) */
|
|
947
947
|
companyCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
948
948
|
companyFeeAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
949
949
|
companyCapitalReturn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1418,7 +1418,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1418
1418
|
staffCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1419
1419
|
companyNet: z.ZodNullable<z.ZodNumber>;
|
|
1420
1420
|
netAfterStaff: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1421
|
-
/** Total company
|
|
1421
|
+
/** Total company net (= fee + capital return) */
|
|
1422
1422
|
companyCommissionAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1423
1423
|
companyFeeAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1424
1424
|
companyCapitalReturn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1974,6 +1974,7 @@ export declare const commodityDealInsightsTotalsSchema: z.ZodObject<{
|
|
|
1974
1974
|
paidRevenue: z.ZodNumber;
|
|
1975
1975
|
totalCost: z.ZodNumber;
|
|
1976
1976
|
grossProfit: z.ZodNumber;
|
|
1977
|
+
/** Company net (fee + capital return). API key unchanged — not legacy margin companyNet. */
|
|
1977
1978
|
companyKeep: z.ZodNumber;
|
|
1978
1979
|
investorPool: z.ZodNumber;
|
|
1979
1980
|
staffCommission: z.ZodNumber;
|
|
@@ -2001,6 +2002,7 @@ export declare const commodityDealInsightsTotalsSchema: z.ZodObject<{
|
|
|
2001
2002
|
export declare const commodityDealInsightsMonthlySchema: z.ZodObject<{
|
|
2002
2003
|
month: z.ZodString;
|
|
2003
2004
|
paidRevenue: z.ZodNumber;
|
|
2005
|
+
/** Company net for the month. API key unchanged. */
|
|
2004
2006
|
companyKeep: z.ZodNumber;
|
|
2005
2007
|
grossProfit: z.ZodNumber;
|
|
2006
2008
|
dealCount: z.ZodNumber;
|
|
@@ -2021,6 +2023,7 @@ export declare const commodityDealInsightsBuyerSchema: z.ZodObject<{
|
|
|
2021
2023
|
buyerId: z.ZodString;
|
|
2022
2024
|
buyerName: z.ZodString;
|
|
2023
2025
|
paidRevenue: z.ZodNumber;
|
|
2026
|
+
/** Company net attributable to this buyer. API key unchanged. */
|
|
2024
2027
|
companyKeep: z.ZodNumber;
|
|
2025
2028
|
dealCount: z.ZodNumber;
|
|
2026
2029
|
marginPct: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2068,6 +2071,7 @@ export declare const commodityDealInsightsSchema: z.ZodObject<{
|
|
|
2068
2071
|
paidRevenue: z.ZodNumber;
|
|
2069
2072
|
totalCost: z.ZodNumber;
|
|
2070
2073
|
grossProfit: z.ZodNumber;
|
|
2074
|
+
/** Company net (fee + capital return). API key unchanged — not legacy margin companyNet. */
|
|
2071
2075
|
companyKeep: z.ZodNumber;
|
|
2072
2076
|
investorPool: z.ZodNumber;
|
|
2073
2077
|
staffCommission: z.ZodNumber;
|
|
@@ -2097,6 +2101,7 @@ export declare const commodityDealInsightsSchema: z.ZodObject<{
|
|
|
2097
2101
|
paidRevenue: z.ZodNumber;
|
|
2098
2102
|
totalCost: z.ZodNumber;
|
|
2099
2103
|
grossProfit: z.ZodNumber;
|
|
2104
|
+
/** Company net (fee + capital return). API key unchanged — not legacy margin companyNet. */
|
|
2100
2105
|
companyKeep: z.ZodNumber;
|
|
2101
2106
|
investorPool: z.ZodNumber;
|
|
2102
2107
|
staffCommission: z.ZodNumber;
|
|
@@ -2124,6 +2129,7 @@ export declare const commodityDealInsightsSchema: z.ZodObject<{
|
|
|
2124
2129
|
monthly: z.ZodArray<z.ZodObject<{
|
|
2125
2130
|
month: z.ZodString;
|
|
2126
2131
|
paidRevenue: z.ZodNumber;
|
|
2132
|
+
/** Company net for the month. API key unchanged. */
|
|
2127
2133
|
companyKeep: z.ZodNumber;
|
|
2128
2134
|
grossProfit: z.ZodNumber;
|
|
2129
2135
|
dealCount: z.ZodNumber;
|
|
@@ -2141,6 +2147,7 @@ export declare const commodityDealInsightsSchema: z.ZodObject<{
|
|
|
2141
2147
|
dealCount: number;
|
|
2142
2148
|
}>, "many">;
|
|
2143
2149
|
profitSplit: z.ZodObject<{
|
|
2150
|
+
/** Company net (fee + capital return). API key unchanged. */
|
|
2144
2151
|
companyKeep: z.ZodNumber;
|
|
2145
2152
|
investorPool: z.ZodNumber;
|
|
2146
2153
|
staffCommission: z.ZodNumber;
|
|
@@ -2157,6 +2164,7 @@ export declare const commodityDealInsightsSchema: z.ZodObject<{
|
|
|
2157
2164
|
buyerId: z.ZodString;
|
|
2158
2165
|
buyerName: z.ZodString;
|
|
2159
2166
|
paidRevenue: z.ZodNumber;
|
|
2167
|
+
/** Company net attributable to this buyer. API key unchanged. */
|
|
2160
2168
|
companyKeep: z.ZodNumber;
|
|
2161
2169
|
dealCount: z.ZodNumber;
|
|
2162
2170
|
marginPct: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2317,6 +2325,7 @@ export declare const commodityDealInsightsResponseSchema: z.ZodObject<{
|
|
|
2317
2325
|
paidRevenue: z.ZodNumber;
|
|
2318
2326
|
totalCost: z.ZodNumber;
|
|
2319
2327
|
grossProfit: z.ZodNumber;
|
|
2328
|
+
/** Company net (fee + capital return). API key unchanged — not legacy margin companyNet. */
|
|
2320
2329
|
companyKeep: z.ZodNumber;
|
|
2321
2330
|
investorPool: z.ZodNumber;
|
|
2322
2331
|
staffCommission: z.ZodNumber;
|
|
@@ -2346,6 +2355,7 @@ export declare const commodityDealInsightsResponseSchema: z.ZodObject<{
|
|
|
2346
2355
|
paidRevenue: z.ZodNumber;
|
|
2347
2356
|
totalCost: z.ZodNumber;
|
|
2348
2357
|
grossProfit: z.ZodNumber;
|
|
2358
|
+
/** Company net (fee + capital return). API key unchanged — not legacy margin companyNet. */
|
|
2349
2359
|
companyKeep: z.ZodNumber;
|
|
2350
2360
|
investorPool: z.ZodNumber;
|
|
2351
2361
|
staffCommission: z.ZodNumber;
|
|
@@ -2373,6 +2383,7 @@ export declare const commodityDealInsightsResponseSchema: z.ZodObject<{
|
|
|
2373
2383
|
monthly: z.ZodArray<z.ZodObject<{
|
|
2374
2384
|
month: z.ZodString;
|
|
2375
2385
|
paidRevenue: z.ZodNumber;
|
|
2386
|
+
/** Company net for the month. API key unchanged. */
|
|
2376
2387
|
companyKeep: z.ZodNumber;
|
|
2377
2388
|
grossProfit: z.ZodNumber;
|
|
2378
2389
|
dealCount: z.ZodNumber;
|
|
@@ -2390,6 +2401,7 @@ export declare const commodityDealInsightsResponseSchema: z.ZodObject<{
|
|
|
2390
2401
|
dealCount: number;
|
|
2391
2402
|
}>, "many">;
|
|
2392
2403
|
profitSplit: z.ZodObject<{
|
|
2404
|
+
/** Company net (fee + capital return). API key unchanged. */
|
|
2393
2405
|
companyKeep: z.ZodNumber;
|
|
2394
2406
|
investorPool: z.ZodNumber;
|
|
2395
2407
|
staffCommission: z.ZodNumber;
|
|
@@ -2406,6 +2418,7 @@ export declare const commodityDealInsightsResponseSchema: z.ZodObject<{
|
|
|
2406
2418
|
buyerId: z.ZodString;
|
|
2407
2419
|
buyerName: z.ZodString;
|
|
2408
2420
|
paidRevenue: z.ZodNumber;
|
|
2421
|
+
/** Company net attributable to this buyer. API key unchanged. */
|
|
2409
2422
|
companyKeep: z.ZodNumber;
|
|
2410
2423
|
dealCount: z.ZodNumber;
|
|
2411
2424
|
marginPct: z.ZodNullable<z.ZodNumber>;
|
|
@@ -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,
|
|
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,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AM,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"}
|
|
@@ -27,7 +27,7 @@ export const commodityDealComputedSchema = z.object({
|
|
|
27
27
|
staffCommissionAmount: z.number().nullable().optional(),
|
|
28
28
|
companyNet: z.number().nullable(),
|
|
29
29
|
netAfterStaff: z.number().nullable().optional(),
|
|
30
|
-
/** Total company
|
|
30
|
+
/** Total company net (= fee + capital return) */
|
|
31
31
|
companyCommissionAmount: z.number().nullable().optional(),
|
|
32
32
|
companyFeeAmount: z.number().nullable().optional(),
|
|
33
33
|
companyCapitalReturn: z.number().nullable().optional(),
|
|
@@ -150,6 +150,7 @@ export const commodityDealInsightsTotalsSchema = z.object({
|
|
|
150
150
|
paidRevenue: z.number(),
|
|
151
151
|
totalCost: z.number(),
|
|
152
152
|
grossProfit: z.number(),
|
|
153
|
+
/** Company net (fee + capital return). API key unchanged — not legacy margin companyNet. */
|
|
153
154
|
companyKeep: z.number(),
|
|
154
155
|
investorPool: z.number(),
|
|
155
156
|
staffCommission: z.number(),
|
|
@@ -159,6 +160,7 @@ export const commodityDealInsightsTotalsSchema = z.object({
|
|
|
159
160
|
export const commodityDealInsightsMonthlySchema = z.object({
|
|
160
161
|
month: z.string().regex(/^\d{4}-\d{2}$/),
|
|
161
162
|
paidRevenue: z.number(),
|
|
163
|
+
/** Company net for the month. API key unchanged. */
|
|
162
164
|
companyKeep: z.number(),
|
|
163
165
|
grossProfit: z.number(),
|
|
164
166
|
dealCount: z.number().int().nonnegative(),
|
|
@@ -167,6 +169,7 @@ export const commodityDealInsightsBuyerSchema = z.object({
|
|
|
167
169
|
buyerId: z.string().uuid(),
|
|
168
170
|
buyerName: z.string(),
|
|
169
171
|
paidRevenue: z.number(),
|
|
172
|
+
/** Company net attributable to this buyer. API key unchanged. */
|
|
170
173
|
companyKeep: z.number(),
|
|
171
174
|
dealCount: z.number().int().nonnegative(),
|
|
172
175
|
marginPct: z.number().nullable(),
|
|
@@ -187,6 +190,7 @@ export const commodityDealInsightsSchema = z.object({
|
|
|
187
190
|
prior: commodityDealInsightsTotalsSchema.nullable(),
|
|
188
191
|
monthly: z.array(commodityDealInsightsMonthlySchema),
|
|
189
192
|
profitSplit: z.object({
|
|
193
|
+
/** Company net (fee + capital return). API key unchanged. */
|
|
190
194
|
companyKeep: z.number(),
|
|
191
195
|
investorPool: z.number(),
|
|
192
196
|
staffCommission: z.number(),
|
|
@@ -3580,6 +3580,252 @@ export declare const farmUpdateErrorSchema: z.ZodObject<{
|
|
|
3580
3580
|
}[];
|
|
3581
3581
|
meta?: Record<string, unknown> | undefined;
|
|
3582
3582
|
}>;
|
|
3583
|
+
export declare const farmUpdateActivityStatusSchema: z.ZodEnum<["active", "quiet", "silent"]>;
|
|
3584
|
+
export declare const farmUpdateSummaryAttributesSchema: z.ZodObject<{
|
|
3585
|
+
farmId: z.ZodString;
|
|
3586
|
+
postsToday: z.ZodNumber;
|
|
3587
|
+
postsLast7Days: z.ZodNumber;
|
|
3588
|
+
photoPostsLast7Days: z.ZodNumber;
|
|
3589
|
+
activeAuthorCountLast7Days: z.ZodNumber;
|
|
3590
|
+
lastPostAt: z.ZodNullable<z.ZodString>;
|
|
3591
|
+
status: z.ZodEnum<["active", "quiet", "silent"]>;
|
|
3592
|
+
}, "strip", z.ZodTypeAny, {
|
|
3593
|
+
status: "active" | "quiet" | "silent";
|
|
3594
|
+
farmId: string;
|
|
3595
|
+
postsToday: number;
|
|
3596
|
+
postsLast7Days: number;
|
|
3597
|
+
photoPostsLast7Days: number;
|
|
3598
|
+
activeAuthorCountLast7Days: number;
|
|
3599
|
+
lastPostAt: string | null;
|
|
3600
|
+
}, {
|
|
3601
|
+
status: "active" | "quiet" | "silent";
|
|
3602
|
+
farmId: string;
|
|
3603
|
+
postsToday: number;
|
|
3604
|
+
postsLast7Days: number;
|
|
3605
|
+
photoPostsLast7Days: number;
|
|
3606
|
+
activeAuthorCountLast7Days: number;
|
|
3607
|
+
lastPostAt: string | null;
|
|
3608
|
+
}>;
|
|
3609
|
+
export declare const farmUpdateSummaryResourceSchema: z.ZodObject<{
|
|
3610
|
+
type: z.ZodLiteral<string>;
|
|
3611
|
+
id: z.ZodString;
|
|
3612
|
+
attributes: z.ZodObject<{
|
|
3613
|
+
farmId: z.ZodString;
|
|
3614
|
+
postsToday: z.ZodNumber;
|
|
3615
|
+
postsLast7Days: z.ZodNumber;
|
|
3616
|
+
photoPostsLast7Days: z.ZodNumber;
|
|
3617
|
+
activeAuthorCountLast7Days: z.ZodNumber;
|
|
3618
|
+
lastPostAt: z.ZodNullable<z.ZodString>;
|
|
3619
|
+
status: z.ZodEnum<["active", "quiet", "silent"]>;
|
|
3620
|
+
}, "strip", z.ZodTypeAny, {
|
|
3621
|
+
status: "active" | "quiet" | "silent";
|
|
3622
|
+
farmId: string;
|
|
3623
|
+
postsToday: number;
|
|
3624
|
+
postsLast7Days: number;
|
|
3625
|
+
photoPostsLast7Days: number;
|
|
3626
|
+
activeAuthorCountLast7Days: number;
|
|
3627
|
+
lastPostAt: string | null;
|
|
3628
|
+
}, {
|
|
3629
|
+
status: "active" | "quiet" | "silent";
|
|
3630
|
+
farmId: string;
|
|
3631
|
+
postsToday: number;
|
|
3632
|
+
postsLast7Days: number;
|
|
3633
|
+
photoPostsLast7Days: number;
|
|
3634
|
+
activeAuthorCountLast7Days: number;
|
|
3635
|
+
lastPostAt: string | null;
|
|
3636
|
+
}>;
|
|
3637
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3638
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3639
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3640
|
+
}, "strip", z.ZodTypeAny, {
|
|
3641
|
+
type: string;
|
|
3642
|
+
id: string;
|
|
3643
|
+
attributes: {
|
|
3644
|
+
status: "active" | "quiet" | "silent";
|
|
3645
|
+
farmId: string;
|
|
3646
|
+
postsToday: number;
|
|
3647
|
+
postsLast7Days: number;
|
|
3648
|
+
photoPostsLast7Days: number;
|
|
3649
|
+
activeAuthorCountLast7Days: number;
|
|
3650
|
+
lastPostAt: string | null;
|
|
3651
|
+
};
|
|
3652
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3653
|
+
links?: Record<string, string> | undefined;
|
|
3654
|
+
meta?: Record<string, unknown> | undefined;
|
|
3655
|
+
}, {
|
|
3656
|
+
type: string;
|
|
3657
|
+
id: string;
|
|
3658
|
+
attributes: {
|
|
3659
|
+
status: "active" | "quiet" | "silent";
|
|
3660
|
+
farmId: string;
|
|
3661
|
+
postsToday: number;
|
|
3662
|
+
postsLast7Days: number;
|
|
3663
|
+
photoPostsLast7Days: number;
|
|
3664
|
+
activeAuthorCountLast7Days: number;
|
|
3665
|
+
lastPostAt: string | null;
|
|
3666
|
+
};
|
|
3667
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3668
|
+
links?: Record<string, string> | undefined;
|
|
3669
|
+
meta?: Record<string, unknown> | undefined;
|
|
3670
|
+
}>;
|
|
3671
|
+
export declare const farmUpdateSummaryResponseSchema: z.ZodObject<{
|
|
3672
|
+
data: z.ZodObject<{
|
|
3673
|
+
type: z.ZodLiteral<string>;
|
|
3674
|
+
id: z.ZodString;
|
|
3675
|
+
attributes: z.ZodObject<{
|
|
3676
|
+
farmId: z.ZodString;
|
|
3677
|
+
postsToday: z.ZodNumber;
|
|
3678
|
+
postsLast7Days: z.ZodNumber;
|
|
3679
|
+
photoPostsLast7Days: z.ZodNumber;
|
|
3680
|
+
activeAuthorCountLast7Days: z.ZodNumber;
|
|
3681
|
+
lastPostAt: z.ZodNullable<z.ZodString>;
|
|
3682
|
+
status: z.ZodEnum<["active", "quiet", "silent"]>;
|
|
3683
|
+
}, "strip", z.ZodTypeAny, {
|
|
3684
|
+
status: "active" | "quiet" | "silent";
|
|
3685
|
+
farmId: string;
|
|
3686
|
+
postsToday: number;
|
|
3687
|
+
postsLast7Days: number;
|
|
3688
|
+
photoPostsLast7Days: number;
|
|
3689
|
+
activeAuthorCountLast7Days: number;
|
|
3690
|
+
lastPostAt: string | null;
|
|
3691
|
+
}, {
|
|
3692
|
+
status: "active" | "quiet" | "silent";
|
|
3693
|
+
farmId: string;
|
|
3694
|
+
postsToday: number;
|
|
3695
|
+
postsLast7Days: number;
|
|
3696
|
+
photoPostsLast7Days: number;
|
|
3697
|
+
activeAuthorCountLast7Days: number;
|
|
3698
|
+
lastPostAt: string | null;
|
|
3699
|
+
}>;
|
|
3700
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3701
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3702
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3703
|
+
}, "strip", z.ZodTypeAny, {
|
|
3704
|
+
type: string;
|
|
3705
|
+
id: string;
|
|
3706
|
+
attributes: {
|
|
3707
|
+
status: "active" | "quiet" | "silent";
|
|
3708
|
+
farmId: string;
|
|
3709
|
+
postsToday: number;
|
|
3710
|
+
postsLast7Days: number;
|
|
3711
|
+
photoPostsLast7Days: number;
|
|
3712
|
+
activeAuthorCountLast7Days: number;
|
|
3713
|
+
lastPostAt: string | null;
|
|
3714
|
+
};
|
|
3715
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3716
|
+
links?: Record<string, string> | undefined;
|
|
3717
|
+
meta?: Record<string, unknown> | undefined;
|
|
3718
|
+
}, {
|
|
3719
|
+
type: string;
|
|
3720
|
+
id: string;
|
|
3721
|
+
attributes: {
|
|
3722
|
+
status: "active" | "quiet" | "silent";
|
|
3723
|
+
farmId: string;
|
|
3724
|
+
postsToday: number;
|
|
3725
|
+
postsLast7Days: number;
|
|
3726
|
+
photoPostsLast7Days: number;
|
|
3727
|
+
activeAuthorCountLast7Days: number;
|
|
3728
|
+
lastPostAt: string | null;
|
|
3729
|
+
};
|
|
3730
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3731
|
+
links?: Record<string, string> | undefined;
|
|
3732
|
+
meta?: Record<string, unknown> | undefined;
|
|
3733
|
+
}>;
|
|
3734
|
+
included: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3735
|
+
type: z.ZodString;
|
|
3736
|
+
id: z.ZodString;
|
|
3737
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3738
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3739
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3740
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3741
|
+
}, "strip", z.ZodTypeAny, {
|
|
3742
|
+
type: string;
|
|
3743
|
+
id: string;
|
|
3744
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3745
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3746
|
+
links?: Record<string, string> | undefined;
|
|
3747
|
+
meta?: Record<string, unknown> | undefined;
|
|
3748
|
+
}, {
|
|
3749
|
+
type: string;
|
|
3750
|
+
id: string;
|
|
3751
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3752
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3753
|
+
links?: Record<string, string> | undefined;
|
|
3754
|
+
meta?: Record<string, unknown> | undefined;
|
|
3755
|
+
}>, "many">>;
|
|
3756
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3757
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3758
|
+
}, "strip", z.ZodTypeAny, {
|
|
3759
|
+
data: {
|
|
3760
|
+
type: string;
|
|
3761
|
+
id: string;
|
|
3762
|
+
attributes: {
|
|
3763
|
+
status: "active" | "quiet" | "silent";
|
|
3764
|
+
farmId: string;
|
|
3765
|
+
postsToday: number;
|
|
3766
|
+
postsLast7Days: number;
|
|
3767
|
+
photoPostsLast7Days: number;
|
|
3768
|
+
activeAuthorCountLast7Days: number;
|
|
3769
|
+
lastPostAt: string | null;
|
|
3770
|
+
};
|
|
3771
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3772
|
+
links?: Record<string, string> | undefined;
|
|
3773
|
+
meta?: Record<string, unknown> | undefined;
|
|
3774
|
+
};
|
|
3775
|
+
links?: Record<string, string> | undefined;
|
|
3776
|
+
meta?: Record<string, unknown> | undefined;
|
|
3777
|
+
included?: {
|
|
3778
|
+
type: string;
|
|
3779
|
+
id: string;
|
|
3780
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3781
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3782
|
+
links?: Record<string, string> | undefined;
|
|
3783
|
+
meta?: Record<string, unknown> | undefined;
|
|
3784
|
+
}[] | undefined;
|
|
3785
|
+
}, {
|
|
3786
|
+
data: {
|
|
3787
|
+
type: string;
|
|
3788
|
+
id: string;
|
|
3789
|
+
attributes: {
|
|
3790
|
+
status: "active" | "quiet" | "silent";
|
|
3791
|
+
farmId: string;
|
|
3792
|
+
postsToday: number;
|
|
3793
|
+
postsLast7Days: number;
|
|
3794
|
+
photoPostsLast7Days: number;
|
|
3795
|
+
activeAuthorCountLast7Days: number;
|
|
3796
|
+
lastPostAt: string | null;
|
|
3797
|
+
};
|
|
3798
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3799
|
+
links?: Record<string, string> | undefined;
|
|
3800
|
+
meta?: Record<string, unknown> | undefined;
|
|
3801
|
+
};
|
|
3802
|
+
links?: Record<string, string> | undefined;
|
|
3803
|
+
meta?: Record<string, unknown> | undefined;
|
|
3804
|
+
included?: {
|
|
3805
|
+
type: string;
|
|
3806
|
+
id: string;
|
|
3807
|
+
attributes?: Record<string, unknown> | undefined;
|
|
3808
|
+
relationships?: Record<string, unknown> | undefined;
|
|
3809
|
+
links?: Record<string, string> | undefined;
|
|
3810
|
+
meta?: Record<string, unknown> | undefined;
|
|
3811
|
+
}[] | undefined;
|
|
3812
|
+
}>;
|
|
3813
|
+
export declare const farmUpdateListFilterQuerySchema: z.ZodObject<{
|
|
3814
|
+
'filter[hasPhotos]': z.ZodOptional<z.ZodBoolean>;
|
|
3815
|
+
'filter[mentionedUserId]': z.ZodOptional<z.ZodString>;
|
|
3816
|
+
'filter[authorId]': z.ZodOptional<z.ZodString>;
|
|
3817
|
+
'filter[kind]': z.ZodOptional<z.ZodEnum<["report"]>>;
|
|
3818
|
+
}, "strip", z.ZodTypeAny, {
|
|
3819
|
+
'filter[hasPhotos]'?: boolean | undefined;
|
|
3820
|
+
'filter[mentionedUserId]'?: string | undefined;
|
|
3821
|
+
'filter[authorId]'?: string | undefined;
|
|
3822
|
+
'filter[kind]'?: "report" | undefined;
|
|
3823
|
+
}, {
|
|
3824
|
+
'filter[hasPhotos]'?: boolean | undefined;
|
|
3825
|
+
'filter[mentionedUserId]'?: string | undefined;
|
|
3826
|
+
'filter[authorId]'?: string | undefined;
|
|
3827
|
+
'filter[kind]'?: "report" | undefined;
|
|
3828
|
+
}>;
|
|
3583
3829
|
export type FarmUpdateReactionEmoji = z.infer<typeof farmUpdateReactionEmojiSchema>;
|
|
3584
3830
|
export type FarmUpdateAttributes = z.infer<typeof farmUpdateAttributesSchema>;
|
|
3585
3831
|
export type FarmUpdateReplyAttributes = z.infer<typeof farmUpdateReplyAttributesSchema>;
|
|
@@ -3592,4 +3838,7 @@ export type FarmUpdateReplyResponse = z.infer<typeof farmUpdateReplyResponseSche
|
|
|
3592
3838
|
export type FarmUpdateReplyListResponse = z.infer<typeof farmUpdateReplyListResponseSchema>;
|
|
3593
3839
|
export type FarmUpdateReactionToggleResponse = z.infer<typeof farmUpdateReactionToggleResponseSchema>;
|
|
3594
3840
|
export type MentionCandidateListResponse = z.infer<typeof mentionCandidateListResponseSchema>;
|
|
3841
|
+
export type FarmUpdateActivityStatus = z.infer<typeof farmUpdateActivityStatusSchema>;
|
|
3842
|
+
export type FarmUpdateSummaryAttributes = z.infer<typeof farmUpdateSummaryAttributesSchema>;
|
|
3843
|
+
export type FarmUpdateSummaryResponse = z.infer<typeof farmUpdateSummaryResponseSchema>;
|
|
3595
3844
|
//# sourceMappingURL=farm-updates.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farm-updates.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/farm-updates.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,6BAA6B,iDAA+C,CAAC;AAE1F,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;EAI1C,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU1C,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzC,CAAC;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AC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AACtG,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -89,3 +89,21 @@ export const farmUpdateReplyListResponseSchema = jsonApiCollectionResponseSchema
|
|
|
89
89
|
export const farmUpdateReactionToggleResponseSchema = jsonApiSingleResponseSchema(farmUpdateReactionToggleResourceSchema);
|
|
90
90
|
export const mentionCandidateListResponseSchema = jsonApiCollectionResponseSchema(mentionCandidateResourceSchema);
|
|
91
91
|
export const farmUpdateErrorSchema = jsonApiErrorResponseSchema;
|
|
92
|
+
export const farmUpdateActivityStatusSchema = z.enum(['active', 'quiet', 'silent']);
|
|
93
|
+
export const farmUpdateSummaryAttributesSchema = z.object({
|
|
94
|
+
farmId: z.string().uuid(),
|
|
95
|
+
postsToday: z.number().int().nonnegative(),
|
|
96
|
+
postsLast7Days: z.number().int().nonnegative(),
|
|
97
|
+
photoPostsLast7Days: z.number().int().nonnegative(),
|
|
98
|
+
activeAuthorCountLast7Days: z.number().int().nonnegative(),
|
|
99
|
+
lastPostAt: z.string().datetime().nullable(),
|
|
100
|
+
status: farmUpdateActivityStatusSchema,
|
|
101
|
+
});
|
|
102
|
+
export const farmUpdateSummaryResourceSchema = createJsonApiResourceSchema('farm-update-summaries', farmUpdateSummaryAttributesSchema);
|
|
103
|
+
export const farmUpdateSummaryResponseSchema = jsonApiSingleResponseSchema(farmUpdateSummaryResourceSchema);
|
|
104
|
+
export const farmUpdateListFilterQuerySchema = z.object({
|
|
105
|
+
'filter[hasPhotos]': z.coerce.boolean().optional(),
|
|
106
|
+
'filter[mentionedUserId]': z.string().uuid().optional(),
|
|
107
|
+
'filter[authorId]': z.string().uuid().optional(),
|
|
108
|
+
'filter[kind]': z.enum(['report']).optional(),
|
|
109
|
+
});
|