@deepintel-ltd/farmpro-contracts 1.25.2 → 1.26.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/farm-enterprises.routes.d.ts +44 -44
- package/dist/routes/farms.routes.d.ts +9 -9
- package/dist/routes/geofences.routes.d.ts +2 -2
- package/dist/routes/livestock-groups.routes.d.ts +724 -54
- package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.js +17 -1
- package/dist/routes/livestock.routes.d.ts +3505 -42
- package/dist/routes/livestock.routes.d.ts.map +1 -1
- package/dist/routes/livestock.routes.js +111 -1
- package/dist/routes/organizations.routes.d.ts +112 -14
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/team.routes.d.ts +44 -44
- package/dist/routes/trade-cash-events.routes.d.ts +7668 -559
- package/dist/routes/trade-cash-events.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.js +148 -2
- package/dist/schemas/farm-enterprises.schemas.d.ts +58 -58
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.js +1 -0
- package/dist/schemas/farms.schemas.d.ts +12 -12
- package/dist/schemas/farms.schemas.js +1 -1
- package/dist/schemas/geofences.schemas.d.ts +4 -4
- package/dist/schemas/livestock-groups.schemas.d.ts +166 -40
- package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock-groups.schemas.js +25 -0
- package/dist/schemas/livestock.schemas.d.ts +1796 -36
- package/dist/schemas/livestock.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock.schemas.js +129 -0
- package/dist/schemas/organizations.schemas.d.ts +104 -16
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +8 -1
- package/dist/schemas/team.schemas.d.ts +43 -43
- package/dist/schemas/team.schemas.d.ts.map +1 -1
- package/dist/schemas/team.schemas.js +1 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts +2605 -68
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -1
- package/dist/schemas/trade-cash-events.schemas.js +204 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"livestock-groups.routes.d.ts","sourceRoot":"","sources":["../../src/routes/livestock-groups.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"livestock-groups.routes.d.ts","sourceRoot":"","sources":["../../src/routes/livestock-groups.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+BxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ThC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { createLivestockGroupSchema, updateLivestockGroupSchema, createBatchRecordSchema, livestockGroupResponseSchema, livestockGroupListResponseSchema, batchRecordResponseSchema, batchRecordListResponseSchema, groupStatsResponseSchema, bulkAddMembersSchema, bulkRemoveMembersSchema, bulkCreateLivestockSchema, bulkHealthRecordSchema, bulkOperationResponseSchema, livestockGroupTypeSchema, trackingModeSchema, groupStatusSchema, batchRecordTypeSchema, } from '../schemas/livestock-groups.schemas';
|
|
3
|
+
import { createLivestockGroupSchema, updateLivestockGroupSchema, createBatchRecordSchema, livestockGroupResponseSchema, livestockGroupListResponseSchema, batchRecordResponseSchema, batchRecordListResponseSchema, groupStatsResponseSchema, bulkAddMembersSchema, bulkRemoveMembersSchema, bulkCreateLivestockSchema, bulkHealthRecordSchema, bulkWeightRecordSchema, bulkOperationResponseSchema, livestockGroupTypeSchema, trackingModeSchema, groupStatusSchema, batchRecordTypeSchema, } from '../schemas/livestock-groups.schemas';
|
|
4
4
|
import { livestockCategorySchema, livestockListResponseSchema } from '../schemas/livestock.schemas';
|
|
5
5
|
import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, } from '../schemas/common.schemas';
|
|
6
6
|
const c = initContract();
|
|
@@ -284,4 +284,20 @@ export const livestockGroupsRouter = c.router({
|
|
|
284
284
|
summary: 'Bulk health record',
|
|
285
285
|
description: 'Apply a health record (vaccination, treatment) to a group or list of animals',
|
|
286
286
|
},
|
|
287
|
+
// Bulk weight record (chute weigh-in)
|
|
288
|
+
bulkWeightRecord: {
|
|
289
|
+
method: 'POST',
|
|
290
|
+
path: '/farms/:farmId/livestock/bulk/weight-records',
|
|
291
|
+
pathParams: z.object({ farmId: z.string().uuid() }),
|
|
292
|
+
body: z.object({ data: bulkWeightRecordSchema }),
|
|
293
|
+
responses: {
|
|
294
|
+
201: bulkOperationResponseSchema,
|
|
295
|
+
400: jsonApiErrorResponseSchema,
|
|
296
|
+
404: jsonApiErrorResponseSchema,
|
|
297
|
+
401: jsonApiErrorResponseSchema,
|
|
298
|
+
422: jsonApiErrorResponseSchema,
|
|
299
|
+
},
|
|
300
|
+
summary: 'Bulk weight record',
|
|
301
|
+
description: 'Apply a weight record to a group or list of animals (chute worksheet)',
|
|
302
|
+
},
|
|
287
303
|
});
|