@deepintel-ltd/farmpro-contracts 1.22.2 → 1.22.4
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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/farm-enterprises.routes.d.ts +1909 -0
- package/dist/routes/farm-enterprises.routes.d.ts.map +1 -0
- package/dist/routes/farm-enterprises.routes.js +64 -0
- package/dist/routes/finance.routes.d.ts +188 -44
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/geofences.routes.d.ts +4 -4
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/livestock-groups.routes.d.ts +398 -90
- package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
- package/dist/routes/livestock-map.routes.d.ts +6 -6
- package/dist/routes/livestock.routes.d.ts +78 -78
- package/dist/routes/staff.routes.d.ts +84 -0
- package/dist/routes/staff.routes.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.d.ts +435 -0
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -0
- package/dist/schemas/farm-enterprises.schemas.js +39 -0
- package/dist/schemas/finance.schemas.d.ts +231 -55
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +18 -2
- package/dist/schemas/geofences.schemas.d.ts +8 -8
- package/dist/schemas/livestock-groups.schemas.d.ts +368 -66
- package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock-groups.schemas.js +22 -0
- package/dist/schemas/livestock-map.schemas.d.ts +4 -4
- package/dist/schemas/livestock.schemas.d.ts +66 -66
- package/dist/schemas/staff.schemas.d.ts +76 -0
- package/dist/schemas/staff.schemas.d.ts.map +1 -1
- package/dist/schemas/staff.schemas.js +6 -0
- package/package.json +1 -1
|
@@ -1726,6 +1726,8 @@ export declare const staffRouter: {
|
|
|
1726
1726
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
1727
1727
|
isActive: z.ZodBoolean;
|
|
1728
1728
|
teamMemberId: z.ZodNullable<z.ZodString>;
|
|
1729
|
+
assignedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1730
|
+
pieceUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["crate", "bird", "day"]>>>;
|
|
1729
1731
|
notes: z.ZodNullable<z.ZodString>;
|
|
1730
1732
|
} & {
|
|
1731
1733
|
createdAt: z.ZodString;
|
|
@@ -1741,6 +1743,8 @@ export declare const staffRouter: {
|
|
|
1741
1743
|
payType: "monthly" | "daily" | "piece";
|
|
1742
1744
|
defaultAmount: number | null;
|
|
1743
1745
|
teamMemberId: string | null;
|
|
1746
|
+
assignedGroupId?: string | null | undefined;
|
|
1747
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
1744
1748
|
}, {
|
|
1745
1749
|
title: string | null;
|
|
1746
1750
|
createdAt: string;
|
|
@@ -1752,6 +1756,8 @@ export declare const staffRouter: {
|
|
|
1752
1756
|
payType: "monthly" | "daily" | "piece";
|
|
1753
1757
|
defaultAmount: number | null;
|
|
1754
1758
|
teamMemberId: string | null;
|
|
1759
|
+
assignedGroupId?: string | null | undefined;
|
|
1760
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
1755
1761
|
}>;
|
|
1756
1762
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1757
1763
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1770,6 +1776,8 @@ export declare const staffRouter: {
|
|
|
1770
1776
|
payType: "monthly" | "daily" | "piece";
|
|
1771
1777
|
defaultAmount: number | null;
|
|
1772
1778
|
teamMemberId: string | null;
|
|
1779
|
+
assignedGroupId?: string | null | undefined;
|
|
1780
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
1773
1781
|
};
|
|
1774
1782
|
relationships?: Record<string, unknown> | undefined;
|
|
1775
1783
|
links?: Record<string, string> | undefined;
|
|
@@ -1788,6 +1796,8 @@ export declare const staffRouter: {
|
|
|
1788
1796
|
payType: "monthly" | "daily" | "piece";
|
|
1789
1797
|
defaultAmount: number | null;
|
|
1790
1798
|
teamMemberId: string | null;
|
|
1799
|
+
assignedGroupId?: string | null | undefined;
|
|
1800
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
1791
1801
|
};
|
|
1792
1802
|
relationships?: Record<string, unknown> | undefined;
|
|
1793
1803
|
links?: Record<string, string> | undefined;
|
|
@@ -1832,6 +1842,8 @@ export declare const staffRouter: {
|
|
|
1832
1842
|
payType: "monthly" | "daily" | "piece";
|
|
1833
1843
|
defaultAmount: number | null;
|
|
1834
1844
|
teamMemberId: string | null;
|
|
1845
|
+
assignedGroupId?: string | null | undefined;
|
|
1846
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
1835
1847
|
};
|
|
1836
1848
|
relationships?: Record<string, unknown> | undefined;
|
|
1837
1849
|
links?: Record<string, string> | undefined;
|
|
@@ -1862,6 +1874,8 @@ export declare const staffRouter: {
|
|
|
1862
1874
|
payType: "monthly" | "daily" | "piece";
|
|
1863
1875
|
defaultAmount: number | null;
|
|
1864
1876
|
teamMemberId: string | null;
|
|
1877
|
+
assignedGroupId?: string | null | undefined;
|
|
1878
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
1865
1879
|
};
|
|
1866
1880
|
relationships?: Record<string, unknown> | undefined;
|
|
1867
1881
|
links?: Record<string, string> | undefined;
|
|
@@ -2082,6 +2096,8 @@ export declare const staffRouter: {
|
|
|
2082
2096
|
currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
|
|
2083
2097
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
2084
2098
|
teamMemberId: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
assignedGroupId: z.ZodOptional<z.ZodString>;
|
|
2100
|
+
pieceUnit: z.ZodOptional<z.ZodEnum<["crate", "bird", "day"]>>;
|
|
2085
2101
|
notes: z.ZodOptional<z.ZodString>;
|
|
2086
2102
|
}, "strip", z.ZodTypeAny, {
|
|
2087
2103
|
name: string;
|
|
@@ -2092,6 +2108,8 @@ export declare const staffRouter: {
|
|
|
2092
2108
|
notes?: string | undefined;
|
|
2093
2109
|
defaultAmount?: number | undefined;
|
|
2094
2110
|
teamMemberId?: string | undefined;
|
|
2111
|
+
assignedGroupId?: string | undefined;
|
|
2112
|
+
pieceUnit?: "day" | "crate" | "bird" | undefined;
|
|
2095
2113
|
}, {
|
|
2096
2114
|
name: string;
|
|
2097
2115
|
title?: string | undefined;
|
|
@@ -2101,6 +2119,8 @@ export declare const staffRouter: {
|
|
|
2101
2119
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
2102
2120
|
defaultAmount?: number | undefined;
|
|
2103
2121
|
teamMemberId?: string | undefined;
|
|
2122
|
+
assignedGroupId?: string | undefined;
|
|
2123
|
+
pieceUnit?: "day" | "crate" | "bird" | undefined;
|
|
2104
2124
|
}>;
|
|
2105
2125
|
}, "strip", z.ZodTypeAny, {
|
|
2106
2126
|
type: "staff-members";
|
|
@@ -2113,6 +2133,8 @@ export declare const staffRouter: {
|
|
|
2113
2133
|
notes?: string | undefined;
|
|
2114
2134
|
defaultAmount?: number | undefined;
|
|
2115
2135
|
teamMemberId?: string | undefined;
|
|
2136
|
+
assignedGroupId?: string | undefined;
|
|
2137
|
+
pieceUnit?: "day" | "crate" | "bird" | undefined;
|
|
2116
2138
|
};
|
|
2117
2139
|
}, {
|
|
2118
2140
|
type: "staff-members";
|
|
@@ -2125,6 +2147,8 @@ export declare const staffRouter: {
|
|
|
2125
2147
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
2126
2148
|
defaultAmount?: number | undefined;
|
|
2127
2149
|
teamMemberId?: string | undefined;
|
|
2150
|
+
assignedGroupId?: string | undefined;
|
|
2151
|
+
pieceUnit?: "day" | "crate" | "bird" | undefined;
|
|
2128
2152
|
};
|
|
2129
2153
|
}>;
|
|
2130
2154
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2139,6 +2163,8 @@ export declare const staffRouter: {
|
|
|
2139
2163
|
notes?: string | undefined;
|
|
2140
2164
|
defaultAmount?: number | undefined;
|
|
2141
2165
|
teamMemberId?: string | undefined;
|
|
2166
|
+
assignedGroupId?: string | undefined;
|
|
2167
|
+
pieceUnit?: "day" | "crate" | "bird" | undefined;
|
|
2142
2168
|
};
|
|
2143
2169
|
};
|
|
2144
2170
|
}, {
|
|
@@ -2153,6 +2179,8 @@ export declare const staffRouter: {
|
|
|
2153
2179
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
2154
2180
|
defaultAmount?: number | undefined;
|
|
2155
2181
|
teamMemberId?: string | undefined;
|
|
2182
|
+
assignedGroupId?: string | undefined;
|
|
2183
|
+
pieceUnit?: "day" | "crate" | "bird" | undefined;
|
|
2156
2184
|
};
|
|
2157
2185
|
};
|
|
2158
2186
|
}>;
|
|
@@ -2170,6 +2198,8 @@ export declare const staffRouter: {
|
|
|
2170
2198
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
2171
2199
|
isActive: z.ZodBoolean;
|
|
2172
2200
|
teamMemberId: z.ZodNullable<z.ZodString>;
|
|
2201
|
+
assignedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2202
|
+
pieceUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["crate", "bird", "day"]>>>;
|
|
2173
2203
|
notes: z.ZodNullable<z.ZodString>;
|
|
2174
2204
|
} & {
|
|
2175
2205
|
createdAt: z.ZodString;
|
|
@@ -2185,6 +2215,8 @@ export declare const staffRouter: {
|
|
|
2185
2215
|
payType: "monthly" | "daily" | "piece";
|
|
2186
2216
|
defaultAmount: number | null;
|
|
2187
2217
|
teamMemberId: string | null;
|
|
2218
|
+
assignedGroupId?: string | null | undefined;
|
|
2219
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2188
2220
|
}, {
|
|
2189
2221
|
title: string | null;
|
|
2190
2222
|
createdAt: string;
|
|
@@ -2196,6 +2228,8 @@ export declare const staffRouter: {
|
|
|
2196
2228
|
payType: "monthly" | "daily" | "piece";
|
|
2197
2229
|
defaultAmount: number | null;
|
|
2198
2230
|
teamMemberId: string | null;
|
|
2231
|
+
assignedGroupId?: string | null | undefined;
|
|
2232
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2199
2233
|
}>;
|
|
2200
2234
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2201
2235
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2214,6 +2248,8 @@ export declare const staffRouter: {
|
|
|
2214
2248
|
payType: "monthly" | "daily" | "piece";
|
|
2215
2249
|
defaultAmount: number | null;
|
|
2216
2250
|
teamMemberId: string | null;
|
|
2251
|
+
assignedGroupId?: string | null | undefined;
|
|
2252
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2217
2253
|
};
|
|
2218
2254
|
relationships?: Record<string, unknown> | undefined;
|
|
2219
2255
|
links?: Record<string, string> | undefined;
|
|
@@ -2232,6 +2268,8 @@ export declare const staffRouter: {
|
|
|
2232
2268
|
payType: "monthly" | "daily" | "piece";
|
|
2233
2269
|
defaultAmount: number | null;
|
|
2234
2270
|
teamMemberId: string | null;
|
|
2271
|
+
assignedGroupId?: string | null | undefined;
|
|
2272
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2235
2273
|
};
|
|
2236
2274
|
relationships?: Record<string, unknown> | undefined;
|
|
2237
2275
|
links?: Record<string, string> | undefined;
|
|
@@ -2276,6 +2314,8 @@ export declare const staffRouter: {
|
|
|
2276
2314
|
payType: "monthly" | "daily" | "piece";
|
|
2277
2315
|
defaultAmount: number | null;
|
|
2278
2316
|
teamMemberId: string | null;
|
|
2317
|
+
assignedGroupId?: string | null | undefined;
|
|
2318
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2279
2319
|
};
|
|
2280
2320
|
relationships?: Record<string, unknown> | undefined;
|
|
2281
2321
|
links?: Record<string, string> | undefined;
|
|
@@ -2306,6 +2346,8 @@ export declare const staffRouter: {
|
|
|
2306
2346
|
payType: "monthly" | "daily" | "piece";
|
|
2307
2347
|
defaultAmount: number | null;
|
|
2308
2348
|
teamMemberId: string | null;
|
|
2349
|
+
assignedGroupId?: string | null | undefined;
|
|
2350
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2309
2351
|
};
|
|
2310
2352
|
relationships?: Record<string, unknown> | undefined;
|
|
2311
2353
|
links?: Record<string, string> | undefined;
|
|
@@ -2711,6 +2753,8 @@ export declare const staffRouter: {
|
|
|
2711
2753
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
2712
2754
|
isActive: z.ZodBoolean;
|
|
2713
2755
|
teamMemberId: z.ZodNullable<z.ZodString>;
|
|
2756
|
+
assignedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2757
|
+
pieceUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["crate", "bird", "day"]>>>;
|
|
2714
2758
|
notes: z.ZodNullable<z.ZodString>;
|
|
2715
2759
|
} & {
|
|
2716
2760
|
createdAt: z.ZodString;
|
|
@@ -2726,6 +2770,8 @@ export declare const staffRouter: {
|
|
|
2726
2770
|
payType: "monthly" | "daily" | "piece";
|
|
2727
2771
|
defaultAmount: number | null;
|
|
2728
2772
|
teamMemberId: string | null;
|
|
2773
|
+
assignedGroupId?: string | null | undefined;
|
|
2774
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2729
2775
|
}, {
|
|
2730
2776
|
title: string | null;
|
|
2731
2777
|
createdAt: string;
|
|
@@ -2737,6 +2783,8 @@ export declare const staffRouter: {
|
|
|
2737
2783
|
payType: "monthly" | "daily" | "piece";
|
|
2738
2784
|
defaultAmount: number | null;
|
|
2739
2785
|
teamMemberId: string | null;
|
|
2786
|
+
assignedGroupId?: string | null | undefined;
|
|
2787
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2740
2788
|
}>;
|
|
2741
2789
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2742
2790
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2755,6 +2803,8 @@ export declare const staffRouter: {
|
|
|
2755
2803
|
payType: "monthly" | "daily" | "piece";
|
|
2756
2804
|
defaultAmount: number | null;
|
|
2757
2805
|
teamMemberId: string | null;
|
|
2806
|
+
assignedGroupId?: string | null | undefined;
|
|
2807
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2758
2808
|
};
|
|
2759
2809
|
relationships?: Record<string, unknown> | undefined;
|
|
2760
2810
|
links?: Record<string, string> | undefined;
|
|
@@ -2773,6 +2823,8 @@ export declare const staffRouter: {
|
|
|
2773
2823
|
payType: "monthly" | "daily" | "piece";
|
|
2774
2824
|
defaultAmount: number | null;
|
|
2775
2825
|
teamMemberId: string | null;
|
|
2826
|
+
assignedGroupId?: string | null | undefined;
|
|
2827
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2776
2828
|
};
|
|
2777
2829
|
relationships?: Record<string, unknown> | undefined;
|
|
2778
2830
|
links?: Record<string, string> | undefined;
|
|
@@ -2817,6 +2869,8 @@ export declare const staffRouter: {
|
|
|
2817
2869
|
payType: "monthly" | "daily" | "piece";
|
|
2818
2870
|
defaultAmount: number | null;
|
|
2819
2871
|
teamMemberId: string | null;
|
|
2872
|
+
assignedGroupId?: string | null | undefined;
|
|
2873
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2820
2874
|
};
|
|
2821
2875
|
relationships?: Record<string, unknown> | undefined;
|
|
2822
2876
|
links?: Record<string, string> | undefined;
|
|
@@ -2847,6 +2901,8 @@ export declare const staffRouter: {
|
|
|
2847
2901
|
payType: "monthly" | "daily" | "piece";
|
|
2848
2902
|
defaultAmount: number | null;
|
|
2849
2903
|
teamMemberId: string | null;
|
|
2904
|
+
assignedGroupId?: string | null | undefined;
|
|
2905
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
2850
2906
|
};
|
|
2851
2907
|
relationships?: Record<string, unknown> | undefined;
|
|
2852
2908
|
links?: Record<string, string> | undefined;
|
|
@@ -3070,6 +3126,8 @@ export declare const staffRouter: {
|
|
|
3070
3126
|
currency: z.ZodOptional<z.ZodEnum<["NGN", "USD"]>>;
|
|
3071
3127
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
3072
3128
|
teamMemberId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3129
|
+
assignedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3130
|
+
pieceUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["crate", "bird", "day"]>>>;
|
|
3073
3131
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3074
3132
|
}, "strip", z.ZodTypeAny, {
|
|
3075
3133
|
title?: string | null | undefined;
|
|
@@ -3080,6 +3138,8 @@ export declare const staffRouter: {
|
|
|
3080
3138
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
3081
3139
|
defaultAmount?: number | null | undefined;
|
|
3082
3140
|
teamMemberId?: string | null | undefined;
|
|
3141
|
+
assignedGroupId?: string | null | undefined;
|
|
3142
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3083
3143
|
}, {
|
|
3084
3144
|
title?: string | null | undefined;
|
|
3085
3145
|
name?: string | undefined;
|
|
@@ -3089,6 +3149,8 @@ export declare const staffRouter: {
|
|
|
3089
3149
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
3090
3150
|
defaultAmount?: number | null | undefined;
|
|
3091
3151
|
teamMemberId?: string | null | undefined;
|
|
3152
|
+
assignedGroupId?: string | null | undefined;
|
|
3153
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3092
3154
|
}>;
|
|
3093
3155
|
}, "strip", z.ZodTypeAny, {
|
|
3094
3156
|
type: "staff-members";
|
|
@@ -3102,6 +3164,8 @@ export declare const staffRouter: {
|
|
|
3102
3164
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
3103
3165
|
defaultAmount?: number | null | undefined;
|
|
3104
3166
|
teamMemberId?: string | null | undefined;
|
|
3167
|
+
assignedGroupId?: string | null | undefined;
|
|
3168
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3105
3169
|
};
|
|
3106
3170
|
}, {
|
|
3107
3171
|
type: "staff-members";
|
|
@@ -3115,6 +3179,8 @@ export declare const staffRouter: {
|
|
|
3115
3179
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
3116
3180
|
defaultAmount?: number | null | undefined;
|
|
3117
3181
|
teamMemberId?: string | null | undefined;
|
|
3182
|
+
assignedGroupId?: string | null | undefined;
|
|
3183
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3118
3184
|
};
|
|
3119
3185
|
}>;
|
|
3120
3186
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3130,6 +3196,8 @@ export declare const staffRouter: {
|
|
|
3130
3196
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
3131
3197
|
defaultAmount?: number | null | undefined;
|
|
3132
3198
|
teamMemberId?: string | null | undefined;
|
|
3199
|
+
assignedGroupId?: string | null | undefined;
|
|
3200
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3133
3201
|
};
|
|
3134
3202
|
};
|
|
3135
3203
|
}, {
|
|
@@ -3145,6 +3213,8 @@ export declare const staffRouter: {
|
|
|
3145
3213
|
payType?: "monthly" | "daily" | "piece" | undefined;
|
|
3146
3214
|
defaultAmount?: number | null | undefined;
|
|
3147
3215
|
teamMemberId?: string | null | undefined;
|
|
3216
|
+
assignedGroupId?: string | null | undefined;
|
|
3217
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3148
3218
|
};
|
|
3149
3219
|
};
|
|
3150
3220
|
}>;
|
|
@@ -3162,6 +3232,8 @@ export declare const staffRouter: {
|
|
|
3162
3232
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
3163
3233
|
isActive: z.ZodBoolean;
|
|
3164
3234
|
teamMemberId: z.ZodNullable<z.ZodString>;
|
|
3235
|
+
assignedGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3236
|
+
pieceUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["crate", "bird", "day"]>>>;
|
|
3165
3237
|
notes: z.ZodNullable<z.ZodString>;
|
|
3166
3238
|
} & {
|
|
3167
3239
|
createdAt: z.ZodString;
|
|
@@ -3177,6 +3249,8 @@ export declare const staffRouter: {
|
|
|
3177
3249
|
payType: "monthly" | "daily" | "piece";
|
|
3178
3250
|
defaultAmount: number | null;
|
|
3179
3251
|
teamMemberId: string | null;
|
|
3252
|
+
assignedGroupId?: string | null | undefined;
|
|
3253
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3180
3254
|
}, {
|
|
3181
3255
|
title: string | null;
|
|
3182
3256
|
createdAt: string;
|
|
@@ -3188,6 +3262,8 @@ export declare const staffRouter: {
|
|
|
3188
3262
|
payType: "monthly" | "daily" | "piece";
|
|
3189
3263
|
defaultAmount: number | null;
|
|
3190
3264
|
teamMemberId: string | null;
|
|
3265
|
+
assignedGroupId?: string | null | undefined;
|
|
3266
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3191
3267
|
}>;
|
|
3192
3268
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3193
3269
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -3206,6 +3282,8 @@ export declare const staffRouter: {
|
|
|
3206
3282
|
payType: "monthly" | "daily" | "piece";
|
|
3207
3283
|
defaultAmount: number | null;
|
|
3208
3284
|
teamMemberId: string | null;
|
|
3285
|
+
assignedGroupId?: string | null | undefined;
|
|
3286
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3209
3287
|
};
|
|
3210
3288
|
relationships?: Record<string, unknown> | undefined;
|
|
3211
3289
|
links?: Record<string, string> | undefined;
|
|
@@ -3224,6 +3302,8 @@ export declare const staffRouter: {
|
|
|
3224
3302
|
payType: "monthly" | "daily" | "piece";
|
|
3225
3303
|
defaultAmount: number | null;
|
|
3226
3304
|
teamMemberId: string | null;
|
|
3305
|
+
assignedGroupId?: string | null | undefined;
|
|
3306
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3227
3307
|
};
|
|
3228
3308
|
relationships?: Record<string, unknown> | undefined;
|
|
3229
3309
|
links?: Record<string, string> | undefined;
|
|
@@ -3268,6 +3348,8 @@ export declare const staffRouter: {
|
|
|
3268
3348
|
payType: "monthly" | "daily" | "piece";
|
|
3269
3349
|
defaultAmount: number | null;
|
|
3270
3350
|
teamMemberId: string | null;
|
|
3351
|
+
assignedGroupId?: string | null | undefined;
|
|
3352
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3271
3353
|
};
|
|
3272
3354
|
relationships?: Record<string, unknown> | undefined;
|
|
3273
3355
|
links?: Record<string, string> | undefined;
|
|
@@ -3298,6 +3380,8 @@ export declare const staffRouter: {
|
|
|
3298
3380
|
payType: "monthly" | "daily" | "piece";
|
|
3299
3381
|
defaultAmount: number | null;
|
|
3300
3382
|
teamMemberId: string | null;
|
|
3383
|
+
assignedGroupId?: string | null | undefined;
|
|
3384
|
+
pieceUnit?: "day" | "crate" | "bird" | null | undefined;
|
|
3301
3385
|
};
|
|
3302
3386
|
relationships?: Record<string, unknown> | undefined;
|
|
3303
3387
|
links?: Record<string, string> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.routes.d.ts","sourceRoot":"","sources":["../../src/routes/staff.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"staff.routes.d.ts","sourceRoot":"","sources":["../../src/routes/staff.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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