@deepintel-ltd/farmpro-contracts 1.10.1 → 1.11.1

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.
@@ -1574,6 +1574,96 @@ export declare const adminRouter: {
1574
1574
  };
1575
1575
  };
1576
1576
  }>;
1577
+ 400: z.ZodObject<{
1578
+ errors: z.ZodArray<z.ZodObject<{
1579
+ id: z.ZodOptional<z.ZodString>;
1580
+ links: z.ZodOptional<z.ZodObject<{
1581
+ about: z.ZodOptional<z.ZodString>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ about?: string | undefined;
1584
+ }, {
1585
+ about?: string | undefined;
1586
+ }>>;
1587
+ status: z.ZodOptional<z.ZodString>;
1588
+ code: z.ZodOptional<z.ZodString>;
1589
+ title: z.ZodOptional<z.ZodString>;
1590
+ detail: z.ZodOptional<z.ZodString>;
1591
+ source: z.ZodOptional<z.ZodObject<{
1592
+ pointer: z.ZodOptional<z.ZodString>;
1593
+ parameter: z.ZodOptional<z.ZodString>;
1594
+ }, "strip", z.ZodTypeAny, {
1595
+ pointer?: string | undefined;
1596
+ parameter?: string | undefined;
1597
+ }, {
1598
+ pointer?: string | undefined;
1599
+ parameter?: string | undefined;
1600
+ }>>;
1601
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1602
+ }, "strip", z.ZodTypeAny, {
1603
+ status?: string | undefined;
1604
+ code?: string | undefined;
1605
+ id?: string | undefined;
1606
+ links?: {
1607
+ about?: string | undefined;
1608
+ } | undefined;
1609
+ meta?: Record<string, unknown> | undefined;
1610
+ title?: string | undefined;
1611
+ detail?: string | undefined;
1612
+ source?: {
1613
+ pointer?: string | undefined;
1614
+ parameter?: string | undefined;
1615
+ } | undefined;
1616
+ }, {
1617
+ status?: string | undefined;
1618
+ code?: string | undefined;
1619
+ id?: string | undefined;
1620
+ links?: {
1621
+ about?: string | undefined;
1622
+ } | undefined;
1623
+ meta?: Record<string, unknown> | undefined;
1624
+ title?: string | undefined;
1625
+ detail?: string | undefined;
1626
+ source?: {
1627
+ pointer?: string | undefined;
1628
+ parameter?: string | undefined;
1629
+ } | undefined;
1630
+ }>, "many">;
1631
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ errors: {
1634
+ status?: string | undefined;
1635
+ code?: string | undefined;
1636
+ id?: string | undefined;
1637
+ links?: {
1638
+ about?: string | undefined;
1639
+ } | undefined;
1640
+ meta?: Record<string, unknown> | undefined;
1641
+ title?: string | undefined;
1642
+ detail?: string | undefined;
1643
+ source?: {
1644
+ pointer?: string | undefined;
1645
+ parameter?: string | undefined;
1646
+ } | undefined;
1647
+ }[];
1648
+ meta?: Record<string, unknown> | undefined;
1649
+ }, {
1650
+ errors: {
1651
+ status?: string | undefined;
1652
+ code?: string | undefined;
1653
+ id?: string | undefined;
1654
+ links?: {
1655
+ about?: string | undefined;
1656
+ } | undefined;
1657
+ meta?: Record<string, unknown> | undefined;
1658
+ title?: string | undefined;
1659
+ detail?: string | undefined;
1660
+ source?: {
1661
+ pointer?: string | undefined;
1662
+ parameter?: string | undefined;
1663
+ } | undefined;
1664
+ }[];
1665
+ meta?: Record<string, unknown> | undefined;
1666
+ }>;
1577
1667
  401: z.ZodObject<{
1578
1668
  errors: z.ZodArray<z.ZodObject<{
1579
1669
  id: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"admin.routes.d.ts","sourceRoot":"","sources":["../../src/routes/admin.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DtB,CAAC"}
@@ -55,6 +55,7 @@ export const adminRouter = c.router({
55
55
  }),
56
56
  }),
57
57
  }),
58
+ 400: jsonApiErrorResponseSchema,
58
59
  401: jsonApiErrorResponseSchema,
59
60
  403: jsonApiErrorResponseSchema,
60
61
  500: jsonApiErrorResponseSchema,