@deepintel-ltd/farmpro-contracts 1.28.0 → 1.30.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 +2 -2
- package/dist/routes/documents.routes.d.ts +45 -0
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/documents.routes.js +3 -1
- package/dist/routes/farm-updates.routes.d.ts +24 -0
- package/dist/routes/farm-updates.routes.d.ts.map +1 -1
- package/dist/routes/finance.routes.d.ts +83 -0
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/finance.routes.js +5 -1
- package/dist/routes/market-intelligence.routes.d.ts +10 -10
- package/dist/routes/notifications.routes.d.ts +245 -0
- package/dist/routes/notifications.routes.d.ts.map +1 -1
- package/dist/routes/notifications.routes.js +25 -0
- package/dist/routes/tasks.routes.d.ts +52 -0
- package/dist/routes/tasks.routes.d.ts.map +1 -1
- package/dist/routes/tasks.routes.js +7 -2
- package/dist/routes/weather.routes.d.ts +131 -0
- package/dist/routes/weather.routes.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.d.ts +2 -2
- package/dist/schemas/documents.schemas.d.ts +32 -0
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +17 -4
- package/dist/schemas/farm-updates.schemas.d.ts +35 -0
- package/dist/schemas/farm-updates.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-updates.schemas.js +9 -2
- package/dist/schemas/finance.schemas.d.ts +96 -0
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +49 -27
- package/dist/schemas/tasks.schemas.d.ts +44 -0
- package/dist/schemas/tasks.schemas.d.ts.map +1 -1
- package/dist/schemas/tasks.schemas.js +42 -19
- package/dist/schemas/weather.schemas.d.ts +210 -0
- package/dist/schemas/weather.schemas.d.ts.map +1 -1
- package/dist/schemas/weather.schemas.js +13 -0
- package/package.json +1 -1
|
@@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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMP,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { createBudgetSchema, updateBudgetSchema, budgetResponseSchema, budgetListResponseSchema, createExpenseSchema, updateExpenseSchema, expenseResponseSchema, expenseDetailResponseSchema, expenseListResponseSchema, createRevenueSchema, updateRevenueSchema, revenueResponseSchema, revenueDetailResponseSchema, revenueListResponseSchema, financeSummaryResponseSchema, pnlDashboardResponseSchema, cashFlowForecastResponseSchema, budgetVsActualsResponseSchema, costBenchmarkResponseSchema, buyerOfferInputSchema, buyerOfferRankResponseSchema, roiAdvisorRequestSchema, roiAdvisorResponseSchema, taxSummaryResponseSchema, inputCostOptimizerResponseSchema, } from '../schemas/finance.schemas';
|
|
4
|
-
import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, jsonApiIncludeQuerySchema, jsonApiFilterQuerySchema } from '../schemas/common.schemas';
|
|
4
|
+
import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, jsonApiIncludeQuerySchema, jsonApiFilterQuerySchema, } from '../schemas/common.schemas';
|
|
5
|
+
import { workspaceKeySchema } from '../schemas/workspace.schemas';
|
|
5
6
|
const c = initContract();
|
|
6
7
|
export const financeRouter = c.router({
|
|
7
8
|
// Budget routes
|
|
@@ -81,6 +82,7 @@ export const financeRouter = c.router({
|
|
|
81
82
|
'filter[category]': z.string().optional(),
|
|
82
83
|
'filter[fieldId]': z.string().uuid().optional(),
|
|
83
84
|
'filter[cropId]': z.string().optional(),
|
|
85
|
+
'filter[workspace]': workspaceKeySchema.optional(),
|
|
84
86
|
})),
|
|
85
87
|
responses: {
|
|
86
88
|
200: expenseListResponseSchema,
|
|
@@ -166,6 +168,7 @@ export const financeRouter = c.router({
|
|
|
166
168
|
.merge(z.object({
|
|
167
169
|
'filter[crop]': z.string().optional(),
|
|
168
170
|
'filter[fieldId]': z.string().uuid().optional(),
|
|
171
|
+
'filter[workspace]': workspaceKeySchema.optional(),
|
|
169
172
|
})),
|
|
170
173
|
responses: {
|
|
171
174
|
200: revenueListResponseSchema,
|
|
@@ -246,6 +249,7 @@ export const financeRouter = c.router({
|
|
|
246
249
|
pathParams: z.object({ farmId: z.string().uuid() }),
|
|
247
250
|
query: jsonApiFilterQuerySchema.extend({
|
|
248
251
|
'filter[fieldId]': z.string().uuid().optional(),
|
|
252
|
+
'filter[workspace]': workspaceKeySchema.optional(),
|
|
249
253
|
}),
|
|
250
254
|
responses: {
|
|
251
255
|
200: financeSummaryResponseSchema,
|
|
@@ -20,7 +20,7 @@ declare const cropPriceProjectionSchema: z.ZodObject<{
|
|
|
20
20
|
/** Sum of field area (ha) for this crop on the farm; null if unknown / sales-only */
|
|
21
21
|
areaHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
source: "farm" | "none" | "
|
|
23
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
24
24
|
currency: string;
|
|
25
25
|
crop: string;
|
|
26
26
|
unit: string;
|
|
@@ -34,7 +34,7 @@ declare const cropPriceProjectionSchema: z.ZodObject<{
|
|
|
34
34
|
vsPlatformPercent: number | null;
|
|
35
35
|
areaHa?: number | null | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
source: "farm" | "none" | "
|
|
37
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
38
38
|
currency: string;
|
|
39
39
|
crop: string;
|
|
40
40
|
unit: string;
|
|
@@ -110,7 +110,7 @@ export declare const marketIntelligenceOverviewSchema: z.ZodObject<{
|
|
|
110
110
|
/** Sum of field area (ha) for this crop on the farm; null if unknown / sales-only */
|
|
111
111
|
areaHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
source: "farm" | "none" | "
|
|
113
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
114
114
|
currency: string;
|
|
115
115
|
crop: string;
|
|
116
116
|
unit: string;
|
|
@@ -124,7 +124,7 @@ export declare const marketIntelligenceOverviewSchema: z.ZodObject<{
|
|
|
124
124
|
vsPlatformPercent: number | null;
|
|
125
125
|
areaHa?: number | null | undefined;
|
|
126
126
|
}, {
|
|
127
|
-
source: "farm" | "none" | "
|
|
127
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
128
128
|
currency: string;
|
|
129
129
|
crop: string;
|
|
130
130
|
unit: string;
|
|
@@ -159,7 +159,7 @@ export declare const marketIntelligenceOverviewSchema: z.ZodObject<{
|
|
|
159
159
|
keyTakeaway: string;
|
|
160
160
|
} | null;
|
|
161
161
|
priceProjections: {
|
|
162
|
-
source: "farm" | "none" | "
|
|
162
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
163
163
|
currency: string;
|
|
164
164
|
crop: string;
|
|
165
165
|
unit: string;
|
|
@@ -193,7 +193,7 @@ export declare const marketIntelligenceOverviewSchema: z.ZodObject<{
|
|
|
193
193
|
keyTakeaway: string;
|
|
194
194
|
} | null;
|
|
195
195
|
priceProjections: {
|
|
196
|
-
source: "farm" | "none" | "
|
|
196
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
197
197
|
currency: string;
|
|
198
198
|
crop: string;
|
|
199
199
|
unit: string;
|
|
@@ -341,7 +341,7 @@ export declare const marketIntelligenceRouter: {
|
|
|
341
341
|
/** Sum of field area (ha) for this crop on the farm; null if unknown / sales-only */
|
|
342
342
|
areaHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
source: "farm" | "none" | "
|
|
344
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
345
345
|
currency: string;
|
|
346
346
|
crop: string;
|
|
347
347
|
unit: string;
|
|
@@ -355,7 +355,7 @@ export declare const marketIntelligenceRouter: {
|
|
|
355
355
|
vsPlatformPercent: number | null;
|
|
356
356
|
areaHa?: number | null | undefined;
|
|
357
357
|
}, {
|
|
358
|
-
source: "farm" | "none" | "
|
|
358
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
359
359
|
currency: string;
|
|
360
360
|
crop: string;
|
|
361
361
|
unit: string;
|
|
@@ -390,7 +390,7 @@ export declare const marketIntelligenceRouter: {
|
|
|
390
390
|
keyTakeaway: string;
|
|
391
391
|
} | null;
|
|
392
392
|
priceProjections: {
|
|
393
|
-
source: "farm" | "none" | "
|
|
393
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
394
394
|
currency: string;
|
|
395
395
|
crop: string;
|
|
396
396
|
unit: string;
|
|
@@ -424,7 +424,7 @@ export declare const marketIntelligenceRouter: {
|
|
|
424
424
|
keyTakeaway: string;
|
|
425
425
|
} | null;
|
|
426
426
|
priceProjections: {
|
|
427
|
-
source: "farm" | "none" | "
|
|
427
|
+
source: "farm" | "none" | "platform" | "farm_recent" | "farm_report" | "public";
|
|
428
428
|
currency: string;
|
|
429
429
|
crop: string;
|
|
430
430
|
unit: string;
|
|
@@ -1346,5 +1346,250 @@ export declare const notificationsRouter: {
|
|
|
1346
1346
|
}>;
|
|
1347
1347
|
};
|
|
1348
1348
|
};
|
|
1349
|
+
registerDeviceToken: {
|
|
1350
|
+
summary: "Register a mobile push token";
|
|
1351
|
+
method: "POST";
|
|
1352
|
+
body: z.ZodObject<{
|
|
1353
|
+
token: z.ZodString;
|
|
1354
|
+
platform: z.ZodEnum<["ios", "android", "web"]>;
|
|
1355
|
+
}, "strip", z.ZodTypeAny, {
|
|
1356
|
+
token: string;
|
|
1357
|
+
platform: "web" | "ios" | "android";
|
|
1358
|
+
}, {
|
|
1359
|
+
token: string;
|
|
1360
|
+
platform: "web" | "ios" | "android";
|
|
1361
|
+
}>;
|
|
1362
|
+
path: "/user/device-tokens";
|
|
1363
|
+
responses: {
|
|
1364
|
+
200: z.ZodObject<{
|
|
1365
|
+
meta: z.ZodObject<{
|
|
1366
|
+
message: z.ZodString;
|
|
1367
|
+
}, "strip", z.ZodTypeAny, {
|
|
1368
|
+
message: string;
|
|
1369
|
+
}, {
|
|
1370
|
+
message: string;
|
|
1371
|
+
}>;
|
|
1372
|
+
}, "strip", z.ZodTypeAny, {
|
|
1373
|
+
meta: {
|
|
1374
|
+
message: string;
|
|
1375
|
+
};
|
|
1376
|
+
}, {
|
|
1377
|
+
meta: {
|
|
1378
|
+
message: string;
|
|
1379
|
+
};
|
|
1380
|
+
}>;
|
|
1381
|
+
401: z.ZodObject<{
|
|
1382
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
1383
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
1385
|
+
about: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
}, "strip", z.ZodTypeAny, {
|
|
1387
|
+
about?: string | undefined;
|
|
1388
|
+
}, {
|
|
1389
|
+
about?: string | undefined;
|
|
1390
|
+
}>>;
|
|
1391
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1396
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
1397
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
}, "strip", z.ZodTypeAny, {
|
|
1399
|
+
pointer?: string | undefined;
|
|
1400
|
+
parameter?: string | undefined;
|
|
1401
|
+
}, {
|
|
1402
|
+
pointer?: string | undefined;
|
|
1403
|
+
parameter?: string | undefined;
|
|
1404
|
+
}>>;
|
|
1405
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1406
|
+
}, "strip", z.ZodTypeAny, {
|
|
1407
|
+
status?: string | undefined;
|
|
1408
|
+
code?: string | undefined;
|
|
1409
|
+
id?: string | undefined;
|
|
1410
|
+
links?: {
|
|
1411
|
+
about?: string | undefined;
|
|
1412
|
+
} | undefined;
|
|
1413
|
+
meta?: Record<string, unknown> | undefined;
|
|
1414
|
+
title?: string | undefined;
|
|
1415
|
+
detail?: string | undefined;
|
|
1416
|
+
source?: {
|
|
1417
|
+
pointer?: string | undefined;
|
|
1418
|
+
parameter?: string | undefined;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
}, {
|
|
1421
|
+
status?: string | undefined;
|
|
1422
|
+
code?: string | undefined;
|
|
1423
|
+
id?: string | undefined;
|
|
1424
|
+
links?: {
|
|
1425
|
+
about?: string | undefined;
|
|
1426
|
+
} | undefined;
|
|
1427
|
+
meta?: Record<string, unknown> | undefined;
|
|
1428
|
+
title?: string | undefined;
|
|
1429
|
+
detail?: string | undefined;
|
|
1430
|
+
source?: {
|
|
1431
|
+
pointer?: string | undefined;
|
|
1432
|
+
parameter?: string | undefined;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
}>, "many">;
|
|
1435
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1436
|
+
}, "strip", z.ZodTypeAny, {
|
|
1437
|
+
errors: {
|
|
1438
|
+
status?: string | undefined;
|
|
1439
|
+
code?: string | undefined;
|
|
1440
|
+
id?: string | undefined;
|
|
1441
|
+
links?: {
|
|
1442
|
+
about?: string | undefined;
|
|
1443
|
+
} | undefined;
|
|
1444
|
+
meta?: Record<string, unknown> | undefined;
|
|
1445
|
+
title?: string | undefined;
|
|
1446
|
+
detail?: string | undefined;
|
|
1447
|
+
source?: {
|
|
1448
|
+
pointer?: string | undefined;
|
|
1449
|
+
parameter?: string | undefined;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
}[];
|
|
1452
|
+
meta?: Record<string, unknown> | undefined;
|
|
1453
|
+
}, {
|
|
1454
|
+
errors: {
|
|
1455
|
+
status?: string | undefined;
|
|
1456
|
+
code?: string | undefined;
|
|
1457
|
+
id?: string | undefined;
|
|
1458
|
+
links?: {
|
|
1459
|
+
about?: string | undefined;
|
|
1460
|
+
} | undefined;
|
|
1461
|
+
meta?: Record<string, unknown> | undefined;
|
|
1462
|
+
title?: string | undefined;
|
|
1463
|
+
detail?: string | undefined;
|
|
1464
|
+
source?: {
|
|
1465
|
+
pointer?: string | undefined;
|
|
1466
|
+
parameter?: string | undefined;
|
|
1467
|
+
} | undefined;
|
|
1468
|
+
}[];
|
|
1469
|
+
meta?: Record<string, unknown> | undefined;
|
|
1470
|
+
}>;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
deleteDeviceToken: {
|
|
1474
|
+
summary: "Remove a mobile push token";
|
|
1475
|
+
method: "DELETE";
|
|
1476
|
+
body: z.ZodObject<{
|
|
1477
|
+
token: z.ZodString;
|
|
1478
|
+
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
token: string;
|
|
1480
|
+
}, {
|
|
1481
|
+
token: string;
|
|
1482
|
+
}>;
|
|
1483
|
+
path: "/user/device-tokens";
|
|
1484
|
+
responses: {
|
|
1485
|
+
200: z.ZodObject<{
|
|
1486
|
+
meta: z.ZodObject<{
|
|
1487
|
+
message: z.ZodString;
|
|
1488
|
+
}, "strip", z.ZodTypeAny, {
|
|
1489
|
+
message: string;
|
|
1490
|
+
}, {
|
|
1491
|
+
message: string;
|
|
1492
|
+
}>;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
meta: {
|
|
1495
|
+
message: string;
|
|
1496
|
+
};
|
|
1497
|
+
}, {
|
|
1498
|
+
meta: {
|
|
1499
|
+
message: string;
|
|
1500
|
+
};
|
|
1501
|
+
}>;
|
|
1502
|
+
401: z.ZodObject<{
|
|
1503
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
1504
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
1506
|
+
about: z.ZodOptional<z.ZodString>;
|
|
1507
|
+
}, "strip", z.ZodTypeAny, {
|
|
1508
|
+
about?: string | undefined;
|
|
1509
|
+
}, {
|
|
1510
|
+
about?: string | undefined;
|
|
1511
|
+
}>>;
|
|
1512
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1517
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
1519
|
+
}, "strip", z.ZodTypeAny, {
|
|
1520
|
+
pointer?: string | undefined;
|
|
1521
|
+
parameter?: string | undefined;
|
|
1522
|
+
}, {
|
|
1523
|
+
pointer?: string | undefined;
|
|
1524
|
+
parameter?: string | undefined;
|
|
1525
|
+
}>>;
|
|
1526
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1527
|
+
}, "strip", z.ZodTypeAny, {
|
|
1528
|
+
status?: string | undefined;
|
|
1529
|
+
code?: string | undefined;
|
|
1530
|
+
id?: string | undefined;
|
|
1531
|
+
links?: {
|
|
1532
|
+
about?: string | undefined;
|
|
1533
|
+
} | undefined;
|
|
1534
|
+
meta?: Record<string, unknown> | undefined;
|
|
1535
|
+
title?: string | undefined;
|
|
1536
|
+
detail?: string | undefined;
|
|
1537
|
+
source?: {
|
|
1538
|
+
pointer?: string | undefined;
|
|
1539
|
+
parameter?: string | undefined;
|
|
1540
|
+
} | undefined;
|
|
1541
|
+
}, {
|
|
1542
|
+
status?: string | undefined;
|
|
1543
|
+
code?: string | undefined;
|
|
1544
|
+
id?: string | undefined;
|
|
1545
|
+
links?: {
|
|
1546
|
+
about?: string | undefined;
|
|
1547
|
+
} | undefined;
|
|
1548
|
+
meta?: Record<string, unknown> | undefined;
|
|
1549
|
+
title?: string | undefined;
|
|
1550
|
+
detail?: string | undefined;
|
|
1551
|
+
source?: {
|
|
1552
|
+
pointer?: string | undefined;
|
|
1553
|
+
parameter?: string | undefined;
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
}>, "many">;
|
|
1556
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1557
|
+
}, "strip", z.ZodTypeAny, {
|
|
1558
|
+
errors: {
|
|
1559
|
+
status?: string | undefined;
|
|
1560
|
+
code?: string | undefined;
|
|
1561
|
+
id?: string | undefined;
|
|
1562
|
+
links?: {
|
|
1563
|
+
about?: string | undefined;
|
|
1564
|
+
} | undefined;
|
|
1565
|
+
meta?: Record<string, unknown> | undefined;
|
|
1566
|
+
title?: string | undefined;
|
|
1567
|
+
detail?: string | undefined;
|
|
1568
|
+
source?: {
|
|
1569
|
+
pointer?: string | undefined;
|
|
1570
|
+
parameter?: string | undefined;
|
|
1571
|
+
} | undefined;
|
|
1572
|
+
}[];
|
|
1573
|
+
meta?: Record<string, unknown> | undefined;
|
|
1574
|
+
}, {
|
|
1575
|
+
errors: {
|
|
1576
|
+
status?: string | undefined;
|
|
1577
|
+
code?: string | undefined;
|
|
1578
|
+
id?: string | undefined;
|
|
1579
|
+
links?: {
|
|
1580
|
+
about?: string | undefined;
|
|
1581
|
+
} | undefined;
|
|
1582
|
+
meta?: Record<string, unknown> | undefined;
|
|
1583
|
+
title?: string | undefined;
|
|
1584
|
+
detail?: string | undefined;
|
|
1585
|
+
source?: {
|
|
1586
|
+
pointer?: string | undefined;
|
|
1587
|
+
parameter?: string | undefined;
|
|
1588
|
+
} | undefined;
|
|
1589
|
+
}[];
|
|
1590
|
+
meta?: Record<string, unknown> | undefined;
|
|
1591
|
+
}>;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1349
1594
|
};
|
|
1350
1595
|
//# sourceMappingURL=notifications.routes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.routes.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"notifications.routes.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6F9B,CAAC"}
|
|
@@ -63,4 +63,29 @@ export const notificationsRouter = c.router({
|
|
|
63
63
|
summary: 'Get unread notification count',
|
|
64
64
|
description: 'Total unread notifications across all farms the user can access, including aggregated sources',
|
|
65
65
|
},
|
|
66
|
+
registerDeviceToken: {
|
|
67
|
+
method: 'POST',
|
|
68
|
+
path: '/user/device-tokens',
|
|
69
|
+
body: z.object({
|
|
70
|
+
token: z.string().min(8).max(512),
|
|
71
|
+
platform: z.enum(['ios', 'android', 'web']),
|
|
72
|
+
}),
|
|
73
|
+
responses: {
|
|
74
|
+
200: jsonApiSuccessResponseSchema,
|
|
75
|
+
401: jsonApiErrorResponseSchema,
|
|
76
|
+
},
|
|
77
|
+
summary: 'Register a mobile push token',
|
|
78
|
+
},
|
|
79
|
+
deleteDeviceToken: {
|
|
80
|
+
method: 'DELETE',
|
|
81
|
+
path: '/user/device-tokens',
|
|
82
|
+
body: z.object({
|
|
83
|
+
token: z.string().min(8).max(512),
|
|
84
|
+
}),
|
|
85
|
+
responses: {
|
|
86
|
+
200: jsonApiSuccessResponseSchema,
|
|
87
|
+
401: jsonApiErrorResponseSchema,
|
|
88
|
+
},
|
|
89
|
+
summary: 'Remove a mobile push token',
|
|
90
|
+
},
|
|
66
91
|
});
|