@deepintel-ltd/farmpro-contracts 1.0.2 → 1.0.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.
Files changed (106) hide show
  1. package/dist/index.d.ts +43 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +84 -0
  4. package/dist/routes/analytics.routes.d.ts +754 -0
  5. package/dist/routes/analytics.routes.d.ts.map +1 -0
  6. package/dist/routes/analytics.routes.js +24 -0
  7. package/dist/routes/auth.routes.d.ts +3836 -0
  8. package/dist/routes/auth.routes.d.ts.map +1 -0
  9. package/dist/routes/auth.routes.js +158 -0
  10. package/dist/routes/categories.routes.d.ts +800 -0
  11. package/dist/routes/categories.routes.d.ts.map +1 -0
  12. package/dist/routes/categories.routes.js +120 -0
  13. package/dist/routes/documents.routes.d.ts +2476 -0
  14. package/dist/routes/documents.routes.d.ts.map +1 -0
  15. package/dist/routes/documents.routes.js +100 -0
  16. package/dist/routes/equipment.routes.d.ts +3617 -0
  17. package/dist/routes/equipment.routes.d.ts.map +1 -0
  18. package/dist/routes/equipment.routes.js +118 -0
  19. package/dist/routes/farms.routes.d.ts +2202 -0
  20. package/dist/routes/farms.routes.d.ts.map +1 -0
  21. package/dist/routes/farms.routes.js +111 -0
  22. package/dist/routes/fields.routes.d.ts +3479 -0
  23. package/dist/routes/fields.routes.d.ts.map +1 -0
  24. package/dist/routes/fields.routes.js +96 -0
  25. package/dist/routes/finance.routes.d.ts +6855 -0
  26. package/dist/routes/finance.routes.d.ts.map +1 -0
  27. package/dist/routes/finance.routes.js +259 -0
  28. package/dist/routes/harvest.routes.d.ts +2337 -0
  29. package/dist/routes/harvest.routes.d.ts.map +1 -0
  30. package/dist/routes/harvest.routes.js +99 -0
  31. package/dist/routes/index.d.ts +71 -0
  32. package/dist/routes/index.d.ts.map +1 -0
  33. package/dist/routes/index.js +45 -0
  34. package/dist/routes/inventory.routes.d.ts +2853 -0
  35. package/dist/routes/inventory.routes.d.ts.map +1 -0
  36. package/dist/routes/inventory.routes.js +121 -0
  37. package/dist/routes/soil-tests.routes.d.ts +3005 -0
  38. package/dist/routes/soil-tests.routes.d.ts.map +1 -0
  39. package/dist/routes/soil-tests.routes.js +98 -0
  40. package/dist/routes/suppliers.routes.d.ts +4190 -0
  41. package/dist/routes/suppliers.routes.d.ts.map +1 -0
  42. package/dist/routes/suppliers.routes.js +146 -0
  43. package/dist/routes/tasks.routes.d.ts +4248 -0
  44. package/dist/routes/tasks.routes.d.ts.map +1 -0
  45. package/dist/routes/tasks.routes.js +138 -0
  46. package/dist/routes/team.routes.d.ts +2210 -0
  47. package/dist/routes/team.routes.d.ts.map +1 -0
  48. package/dist/routes/team.routes.js +98 -0
  49. package/dist/routes/users.routes.d.ts +721 -0
  50. package/dist/routes/users.routes.d.ts.map +1 -0
  51. package/dist/routes/users.routes.js +35 -0
  52. package/dist/routes/weather.routes.d.ts +500 -0
  53. package/dist/routes/weather.routes.d.ts.map +1 -0
  54. package/dist/routes/weather.routes.js +23 -0
  55. package/dist/schemas/analytics.schemas.d.ts +1344 -0
  56. package/dist/schemas/analytics.schemas.d.ts.map +1 -0
  57. package/dist/schemas/analytics.schemas.js +73 -0
  58. package/dist/schemas/auth.schemas.d.ts +1093 -0
  59. package/dist/schemas/auth.schemas.d.ts.map +1 -0
  60. package/dist/schemas/auth.schemas.js +159 -0
  61. package/dist/schemas/categories.schemas.d.ts +471 -0
  62. package/dist/schemas/categories.schemas.d.ts.map +1 -0
  63. package/dist/schemas/categories.schemas.js +51 -0
  64. package/dist/schemas/common.schemas.d.ts +562 -0
  65. package/dist/schemas/common.schemas.d.ts.map +1 -0
  66. package/dist/schemas/common.schemas.js +122 -0
  67. package/dist/schemas/documents.schemas.d.ts +850 -0
  68. package/dist/schemas/documents.schemas.d.ts.map +1 -0
  69. package/dist/schemas/documents.schemas.js +75 -0
  70. package/dist/schemas/equipment.schemas.d.ts +1618 -0
  71. package/dist/schemas/equipment.schemas.d.ts.map +1 -0
  72. package/dist/schemas/equipment.schemas.js +125 -0
  73. package/dist/schemas/farms.schemas.d.ts +1171 -0
  74. package/dist/schemas/farms.schemas.d.ts.map +1 -0
  75. package/dist/schemas/farms.schemas.js +62 -0
  76. package/dist/schemas/fields.schemas.d.ts +2508 -0
  77. package/dist/schemas/fields.schemas.d.ts.map +1 -0
  78. package/dist/schemas/fields.schemas.js +125 -0
  79. package/dist/schemas/finance.schemas.d.ts +2869 -0
  80. package/dist/schemas/finance.schemas.d.ts.map +1 -0
  81. package/dist/schemas/finance.schemas.js +196 -0
  82. package/dist/schemas/harvest.schemas.d.ts +1051 -0
  83. package/dist/schemas/harvest.schemas.d.ts.map +1 -0
  84. package/dist/schemas/harvest.schemas.js +71 -0
  85. package/dist/schemas/inventory.schemas.d.ts +1138 -0
  86. package/dist/schemas/inventory.schemas.d.ts.map +1 -0
  87. package/dist/schemas/inventory.schemas.js +89 -0
  88. package/dist/schemas/soil-tests.schemas.d.ts +1885 -0
  89. package/dist/schemas/soil-tests.schemas.d.ts.map +1 -0
  90. package/dist/schemas/soil-tests.schemas.js +102 -0
  91. package/dist/schemas/suppliers.schemas.d.ts +1774 -0
  92. package/dist/schemas/suppliers.schemas.d.ts.map +1 -0
  93. package/dist/schemas/suppliers.schemas.js +121 -0
  94. package/dist/schemas/tasks.schemas.d.ts +1811 -0
  95. package/dist/schemas/tasks.schemas.d.ts.map +1 -0
  96. package/dist/schemas/tasks.schemas.js +124 -0
  97. package/dist/schemas/team.schemas.d.ts +583 -0
  98. package/dist/schemas/team.schemas.d.ts.map +1 -0
  99. package/dist/schemas/team.schemas.js +60 -0
  100. package/dist/schemas/users.schemas.d.ts +288 -0
  101. package/dist/schemas/users.schemas.d.ts.map +1 -0
  102. package/dist/schemas/users.schemas.js +32 -0
  103. package/dist/schemas/weather.schemas.d.ts +682 -0
  104. package/dist/schemas/weather.schemas.d.ts.map +1 -0
  105. package/dist/schemas/weather.schemas.js +49 -0
  106. package/package.json +1 -1
@@ -0,0 +1,1811 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Task schemas - JSON:API compliant
4
+ */
5
+ export declare const taskStatusSchema: z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>;
6
+ export declare const taskNoteSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ authorId: z.ZodString;
9
+ authorName: z.ZodString;
10
+ text: z.ZodString;
11
+ timestamp: z.ZodString;
12
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ id: string;
15
+ authorId: string;
16
+ authorName: string;
17
+ text: string;
18
+ timestamp: string;
19
+ photos?: string[] | undefined;
20
+ }, {
21
+ id: string;
22
+ authorId: string;
23
+ authorName: string;
24
+ text: string;
25
+ timestamp: string;
26
+ photos?: string[] | undefined;
27
+ }>;
28
+ export declare const taskAttributesSchema: z.ZodObject<{
29
+ title: z.ZodString;
30
+ fieldId: z.ZodString;
31
+ fieldName: z.ZodOptional<z.ZodString>;
32
+ date: z.ZodString;
33
+ status: z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>;
34
+ category: z.ZodString;
35
+ inventoryItemId: z.ZodNullable<z.ZodString>;
36
+ inventoryItemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ plannedQuantity: z.ZodNullable<z.ZodNumber>;
38
+ actualQuantity: z.ZodNullable<z.ZodNumber>;
39
+ assignedTo: z.ZodNullable<z.ZodString>;
40
+ assignedToName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ assignedBy: z.ZodNullable<z.ZodString>;
42
+ assignedDate: z.ZodNullable<z.ZodString>;
43
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
+ id: z.ZodString;
45
+ authorId: z.ZodString;
46
+ authorName: z.ZodString;
47
+ text: z.ZodString;
48
+ timestamp: z.ZodString;
49
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ id: string;
52
+ authorId: string;
53
+ authorName: string;
54
+ text: string;
55
+ timestamp: string;
56
+ photos?: string[] | undefined;
57
+ }, {
58
+ id: string;
59
+ authorId: string;
60
+ authorName: string;
61
+ text: string;
62
+ timestamp: string;
63
+ photos?: string[] | undefined;
64
+ }>, "many">>;
65
+ } & {
66
+ createdAt: z.ZodString;
67
+ updatedAt: z.ZodString;
68
+ }, "strip", z.ZodTypeAny, {
69
+ status: "pending" | "in-progress" | "completed" | "cancelled";
70
+ date: string;
71
+ title: string;
72
+ createdAt: string;
73
+ updatedAt: string;
74
+ fieldId: string;
75
+ category: string;
76
+ inventoryItemId: string | null;
77
+ plannedQuantity: number | null;
78
+ actualQuantity: number | null;
79
+ assignedTo: string | null;
80
+ assignedBy: string | null;
81
+ assignedDate: string | null;
82
+ fieldName?: string | undefined;
83
+ inventoryItemName?: string | null | undefined;
84
+ assignedToName?: string | null | undefined;
85
+ notes?: {
86
+ id: string;
87
+ authorId: string;
88
+ authorName: string;
89
+ text: string;
90
+ timestamp: string;
91
+ photos?: string[] | undefined;
92
+ }[] | undefined;
93
+ }, {
94
+ status: "pending" | "in-progress" | "completed" | "cancelled";
95
+ date: string;
96
+ title: string;
97
+ createdAt: string;
98
+ updatedAt: string;
99
+ fieldId: string;
100
+ category: string;
101
+ inventoryItemId: string | null;
102
+ plannedQuantity: number | null;
103
+ actualQuantity: number | null;
104
+ assignedTo: string | null;
105
+ assignedBy: string | null;
106
+ assignedDate: string | null;
107
+ fieldName?: string | undefined;
108
+ inventoryItemName?: string | null | undefined;
109
+ assignedToName?: string | null | undefined;
110
+ notes?: {
111
+ id: string;
112
+ authorId: string;
113
+ authorName: string;
114
+ text: string;
115
+ timestamp: string;
116
+ photos?: string[] | undefined;
117
+ }[] | undefined;
118
+ }>;
119
+ export declare const createTaskAttributesSchema: z.ZodObject<{
120
+ title: z.ZodString;
121
+ fieldId: z.ZodString;
122
+ date: z.ZodString;
123
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>>>;
124
+ category: z.ZodOptional<z.ZodString>;
125
+ inventoryItemId: z.ZodOptional<z.ZodString>;
126
+ plannedQuantity: z.ZodOptional<z.ZodNumber>;
127
+ assignedTo: z.ZodOptional<z.ZodString>;
128
+ notes: z.ZodOptional<z.ZodString>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ date: string;
131
+ title: string;
132
+ fieldId: string;
133
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
134
+ category?: string | undefined;
135
+ inventoryItemId?: string | undefined;
136
+ plannedQuantity?: number | undefined;
137
+ assignedTo?: string | undefined;
138
+ notes?: string | undefined;
139
+ }, {
140
+ date: string;
141
+ title: string;
142
+ fieldId: string;
143
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
144
+ category?: string | undefined;
145
+ inventoryItemId?: string | undefined;
146
+ plannedQuantity?: number | undefined;
147
+ assignedTo?: string | undefined;
148
+ notes?: string | undefined;
149
+ }>;
150
+ export declare const updateTaskAttributesSchema: z.ZodObject<{
151
+ title: z.ZodOptional<z.ZodString>;
152
+ fieldId: z.ZodOptional<z.ZodString>;
153
+ date: z.ZodOptional<z.ZodString>;
154
+ status: z.ZodOptional<z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>>;
155
+ category: z.ZodOptional<z.ZodString>;
156
+ inventoryItemId: z.ZodOptional<z.ZodString>;
157
+ plannedQuantity: z.ZodOptional<z.ZodNumber>;
158
+ actualQuantity: z.ZodOptional<z.ZodNumber>;
159
+ assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
162
+ date?: string | undefined;
163
+ title?: string | undefined;
164
+ fieldId?: string | undefined;
165
+ category?: string | undefined;
166
+ inventoryItemId?: string | undefined;
167
+ plannedQuantity?: number | undefined;
168
+ actualQuantity?: number | undefined;
169
+ assignedTo?: string | null | undefined;
170
+ }, {
171
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
172
+ date?: string | undefined;
173
+ title?: string | undefined;
174
+ fieldId?: string | undefined;
175
+ category?: string | undefined;
176
+ inventoryItemId?: string | undefined;
177
+ plannedQuantity?: number | undefined;
178
+ actualQuantity?: number | undefined;
179
+ assignedTo?: string | null | undefined;
180
+ }>;
181
+ export declare const completeTaskAttributesSchema: z.ZodObject<{
182
+ actualQuantity: z.ZodOptional<z.ZodNumber>;
183
+ notes: z.ZodOptional<z.ZodString>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ actualQuantity?: number | undefined;
186
+ notes?: string | undefined;
187
+ }, {
188
+ actualQuantity?: number | undefined;
189
+ notes?: string | undefined;
190
+ }>;
191
+ export declare const addTaskNoteAttributesSchema: z.ZodObject<{
192
+ text: z.ZodString;
193
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ text: string;
196
+ photos?: string[] | undefined;
197
+ }, {
198
+ text: string;
199
+ photos?: string[] | undefined;
200
+ }>;
201
+ export declare const createTaskSchema: z.ZodObject<{
202
+ type: z.ZodLiteral<"tasks">;
203
+ attributes: z.ZodObject<{
204
+ title: z.ZodString;
205
+ fieldId: z.ZodString;
206
+ date: z.ZodString;
207
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>>>;
208
+ category: z.ZodOptional<z.ZodString>;
209
+ inventoryItemId: z.ZodOptional<z.ZodString>;
210
+ plannedQuantity: z.ZodOptional<z.ZodNumber>;
211
+ assignedTo: z.ZodOptional<z.ZodString>;
212
+ notes: z.ZodOptional<z.ZodString>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ date: string;
215
+ title: string;
216
+ fieldId: string;
217
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
218
+ category?: string | undefined;
219
+ inventoryItemId?: string | undefined;
220
+ plannedQuantity?: number | undefined;
221
+ assignedTo?: string | undefined;
222
+ notes?: string | undefined;
223
+ }, {
224
+ date: string;
225
+ title: string;
226
+ fieldId: string;
227
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
228
+ category?: string | undefined;
229
+ inventoryItemId?: string | undefined;
230
+ plannedQuantity?: number | undefined;
231
+ assignedTo?: string | undefined;
232
+ notes?: string | undefined;
233
+ }>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ type: "tasks";
236
+ attributes: {
237
+ date: string;
238
+ title: string;
239
+ fieldId: string;
240
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
241
+ category?: string | undefined;
242
+ inventoryItemId?: string | undefined;
243
+ plannedQuantity?: number | undefined;
244
+ assignedTo?: string | undefined;
245
+ notes?: string | undefined;
246
+ };
247
+ }, {
248
+ type: "tasks";
249
+ attributes: {
250
+ date: string;
251
+ title: string;
252
+ fieldId: string;
253
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
254
+ category?: string | undefined;
255
+ inventoryItemId?: string | undefined;
256
+ plannedQuantity?: number | undefined;
257
+ assignedTo?: string | undefined;
258
+ notes?: string | undefined;
259
+ };
260
+ }>;
261
+ export declare const updateTaskSchema: z.ZodObject<{
262
+ type: z.ZodLiteral<"tasks">;
263
+ id: z.ZodString;
264
+ attributes: z.ZodObject<{
265
+ title: z.ZodOptional<z.ZodString>;
266
+ fieldId: z.ZodOptional<z.ZodString>;
267
+ date: z.ZodOptional<z.ZodString>;
268
+ status: z.ZodOptional<z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>>;
269
+ category: z.ZodOptional<z.ZodString>;
270
+ inventoryItemId: z.ZodOptional<z.ZodString>;
271
+ plannedQuantity: z.ZodOptional<z.ZodNumber>;
272
+ actualQuantity: z.ZodOptional<z.ZodNumber>;
273
+ assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
276
+ date?: string | undefined;
277
+ title?: string | undefined;
278
+ fieldId?: string | undefined;
279
+ category?: string | undefined;
280
+ inventoryItemId?: string | undefined;
281
+ plannedQuantity?: number | undefined;
282
+ actualQuantity?: number | undefined;
283
+ assignedTo?: string | null | undefined;
284
+ }, {
285
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
286
+ date?: string | undefined;
287
+ title?: string | undefined;
288
+ fieldId?: string | undefined;
289
+ category?: string | undefined;
290
+ inventoryItemId?: string | undefined;
291
+ plannedQuantity?: number | undefined;
292
+ actualQuantity?: number | undefined;
293
+ assignedTo?: string | null | undefined;
294
+ }>;
295
+ }, "strip", z.ZodTypeAny, {
296
+ type: "tasks";
297
+ id: string;
298
+ attributes: {
299
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
300
+ date?: string | undefined;
301
+ title?: string | undefined;
302
+ fieldId?: string | undefined;
303
+ category?: string | undefined;
304
+ inventoryItemId?: string | undefined;
305
+ plannedQuantity?: number | undefined;
306
+ actualQuantity?: number | undefined;
307
+ assignedTo?: string | null | undefined;
308
+ };
309
+ }, {
310
+ type: "tasks";
311
+ id: string;
312
+ attributes: {
313
+ status?: "pending" | "in-progress" | "completed" | "cancelled" | undefined;
314
+ date?: string | undefined;
315
+ title?: string | undefined;
316
+ fieldId?: string | undefined;
317
+ category?: string | undefined;
318
+ inventoryItemId?: string | undefined;
319
+ plannedQuantity?: number | undefined;
320
+ actualQuantity?: number | undefined;
321
+ assignedTo?: string | null | undefined;
322
+ };
323
+ }>;
324
+ export declare const completeTaskSchema: z.ZodObject<{
325
+ type: z.ZodLiteral<"tasks">;
326
+ id: z.ZodString;
327
+ attributes: z.ZodObject<{
328
+ actualQuantity: z.ZodOptional<z.ZodNumber>;
329
+ notes: z.ZodOptional<z.ZodString>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ actualQuantity?: number | undefined;
332
+ notes?: string | undefined;
333
+ }, {
334
+ actualQuantity?: number | undefined;
335
+ notes?: string | undefined;
336
+ }>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ type: "tasks";
339
+ id: string;
340
+ attributes: {
341
+ actualQuantity?: number | undefined;
342
+ notes?: string | undefined;
343
+ };
344
+ }, {
345
+ type: "tasks";
346
+ id: string;
347
+ attributes: {
348
+ actualQuantity?: number | undefined;
349
+ notes?: string | undefined;
350
+ };
351
+ }>;
352
+ export declare const addTaskNoteSchema: z.ZodObject<{
353
+ type: z.ZodLiteral<"task-notes">;
354
+ attributes: z.ZodObject<{
355
+ text: z.ZodString;
356
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
357
+ }, "strip", z.ZodTypeAny, {
358
+ text: string;
359
+ photos?: string[] | undefined;
360
+ }, {
361
+ text: string;
362
+ photos?: string[] | undefined;
363
+ }>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ type: "task-notes";
366
+ attributes: {
367
+ text: string;
368
+ photos?: string[] | undefined;
369
+ };
370
+ }, {
371
+ type: "task-notes";
372
+ attributes: {
373
+ text: string;
374
+ photos?: string[] | undefined;
375
+ };
376
+ }>;
377
+ export declare const taskResourceSchema: z.ZodObject<{
378
+ type: z.ZodLiteral<string>;
379
+ id: z.ZodString;
380
+ attributes: z.ZodObject<{
381
+ title: z.ZodString;
382
+ fieldId: z.ZodString;
383
+ fieldName: z.ZodOptional<z.ZodString>;
384
+ date: z.ZodString;
385
+ status: z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>;
386
+ category: z.ZodString;
387
+ inventoryItemId: z.ZodNullable<z.ZodString>;
388
+ inventoryItemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
+ plannedQuantity: z.ZodNullable<z.ZodNumber>;
390
+ actualQuantity: z.ZodNullable<z.ZodNumber>;
391
+ assignedTo: z.ZodNullable<z.ZodString>;
392
+ assignedToName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
+ assignedBy: z.ZodNullable<z.ZodString>;
394
+ assignedDate: z.ZodNullable<z.ZodString>;
395
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
396
+ id: z.ZodString;
397
+ authorId: z.ZodString;
398
+ authorName: z.ZodString;
399
+ text: z.ZodString;
400
+ timestamp: z.ZodString;
401
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ id: string;
404
+ authorId: string;
405
+ authorName: string;
406
+ text: string;
407
+ timestamp: string;
408
+ photos?: string[] | undefined;
409
+ }, {
410
+ id: string;
411
+ authorId: string;
412
+ authorName: string;
413
+ text: string;
414
+ timestamp: string;
415
+ photos?: string[] | undefined;
416
+ }>, "many">>;
417
+ } & {
418
+ createdAt: z.ZodString;
419
+ updatedAt: z.ZodString;
420
+ }, "strip", z.ZodTypeAny, {
421
+ status: "pending" | "in-progress" | "completed" | "cancelled";
422
+ date: string;
423
+ title: string;
424
+ createdAt: string;
425
+ updatedAt: string;
426
+ fieldId: string;
427
+ category: string;
428
+ inventoryItemId: string | null;
429
+ plannedQuantity: number | null;
430
+ actualQuantity: number | null;
431
+ assignedTo: string | null;
432
+ assignedBy: string | null;
433
+ assignedDate: string | null;
434
+ fieldName?: string | undefined;
435
+ inventoryItemName?: string | null | undefined;
436
+ assignedToName?: string | null | undefined;
437
+ notes?: {
438
+ id: string;
439
+ authorId: string;
440
+ authorName: string;
441
+ text: string;
442
+ timestamp: string;
443
+ photos?: string[] | undefined;
444
+ }[] | undefined;
445
+ }, {
446
+ status: "pending" | "in-progress" | "completed" | "cancelled";
447
+ date: string;
448
+ title: string;
449
+ createdAt: string;
450
+ updatedAt: string;
451
+ fieldId: string;
452
+ category: string;
453
+ inventoryItemId: string | null;
454
+ plannedQuantity: number | null;
455
+ actualQuantity: number | null;
456
+ assignedTo: string | null;
457
+ assignedBy: string | null;
458
+ assignedDate: string | null;
459
+ fieldName?: string | undefined;
460
+ inventoryItemName?: string | null | undefined;
461
+ assignedToName?: string | null | undefined;
462
+ notes?: {
463
+ id: string;
464
+ authorId: string;
465
+ authorName: string;
466
+ text: string;
467
+ timestamp: string;
468
+ photos?: string[] | undefined;
469
+ }[] | undefined;
470
+ }>;
471
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
472
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
473
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ type: string;
476
+ id: string;
477
+ attributes: {
478
+ status: "pending" | "in-progress" | "completed" | "cancelled";
479
+ date: string;
480
+ title: string;
481
+ createdAt: string;
482
+ updatedAt: string;
483
+ fieldId: string;
484
+ category: string;
485
+ inventoryItemId: string | null;
486
+ plannedQuantity: number | null;
487
+ actualQuantity: number | null;
488
+ assignedTo: string | null;
489
+ assignedBy: string | null;
490
+ assignedDate: string | null;
491
+ fieldName?: string | undefined;
492
+ inventoryItemName?: string | null | undefined;
493
+ assignedToName?: string | null | undefined;
494
+ notes?: {
495
+ id: string;
496
+ authorId: string;
497
+ authorName: string;
498
+ text: string;
499
+ timestamp: string;
500
+ photos?: string[] | undefined;
501
+ }[] | undefined;
502
+ };
503
+ relationships?: Record<string, unknown> | undefined;
504
+ links?: Record<string, string> | undefined;
505
+ meta?: Record<string, unknown> | undefined;
506
+ }, {
507
+ type: string;
508
+ id: string;
509
+ attributes: {
510
+ status: "pending" | "in-progress" | "completed" | "cancelled";
511
+ date: string;
512
+ title: string;
513
+ createdAt: string;
514
+ updatedAt: string;
515
+ fieldId: string;
516
+ category: string;
517
+ inventoryItemId: string | null;
518
+ plannedQuantity: number | null;
519
+ actualQuantity: number | null;
520
+ assignedTo: string | null;
521
+ assignedBy: string | null;
522
+ assignedDate: string | null;
523
+ fieldName?: string | undefined;
524
+ inventoryItemName?: string | null | undefined;
525
+ assignedToName?: string | null | undefined;
526
+ notes?: {
527
+ id: string;
528
+ authorId: string;
529
+ authorName: string;
530
+ text: string;
531
+ timestamp: string;
532
+ photos?: string[] | undefined;
533
+ }[] | undefined;
534
+ };
535
+ relationships?: Record<string, unknown> | undefined;
536
+ links?: Record<string, string> | undefined;
537
+ meta?: Record<string, unknown> | undefined;
538
+ }>;
539
+ export declare const taskDetailResourceSchema: z.ZodObject<{
540
+ type: z.ZodLiteral<string>;
541
+ id: z.ZodString;
542
+ attributes: z.ZodObject<{
543
+ title: z.ZodString;
544
+ fieldId: z.ZodString;
545
+ fieldName: z.ZodOptional<z.ZodString>;
546
+ date: z.ZodString;
547
+ status: z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>;
548
+ category: z.ZodString;
549
+ inventoryItemId: z.ZodNullable<z.ZodString>;
550
+ inventoryItemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
551
+ plannedQuantity: z.ZodNullable<z.ZodNumber>;
552
+ actualQuantity: z.ZodNullable<z.ZodNumber>;
553
+ assignedTo: z.ZodNullable<z.ZodString>;
554
+ assignedToName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
+ assignedBy: z.ZodNullable<z.ZodString>;
556
+ assignedDate: z.ZodNullable<z.ZodString>;
557
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
558
+ id: z.ZodString;
559
+ authorId: z.ZodString;
560
+ authorName: z.ZodString;
561
+ text: z.ZodString;
562
+ timestamp: z.ZodString;
563
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ id: string;
566
+ authorId: string;
567
+ authorName: string;
568
+ text: string;
569
+ timestamp: string;
570
+ photos?: string[] | undefined;
571
+ }, {
572
+ id: string;
573
+ authorId: string;
574
+ authorName: string;
575
+ text: string;
576
+ timestamp: string;
577
+ photos?: string[] | undefined;
578
+ }>, "many">>;
579
+ } & {
580
+ createdAt: z.ZodString;
581
+ updatedAt: z.ZodString;
582
+ }, "strip", z.ZodTypeAny, {
583
+ status: "pending" | "in-progress" | "completed" | "cancelled";
584
+ date: string;
585
+ title: string;
586
+ createdAt: string;
587
+ updatedAt: string;
588
+ fieldId: string;
589
+ category: string;
590
+ inventoryItemId: string | null;
591
+ plannedQuantity: number | null;
592
+ actualQuantity: number | null;
593
+ assignedTo: string | null;
594
+ assignedBy: string | null;
595
+ assignedDate: string | null;
596
+ fieldName?: string | undefined;
597
+ inventoryItemName?: string | null | undefined;
598
+ assignedToName?: string | null | undefined;
599
+ notes?: {
600
+ id: string;
601
+ authorId: string;
602
+ authorName: string;
603
+ text: string;
604
+ timestamp: string;
605
+ photos?: string[] | undefined;
606
+ }[] | undefined;
607
+ }, {
608
+ status: "pending" | "in-progress" | "completed" | "cancelled";
609
+ date: string;
610
+ title: string;
611
+ createdAt: string;
612
+ updatedAt: string;
613
+ fieldId: string;
614
+ category: string;
615
+ inventoryItemId: string | null;
616
+ plannedQuantity: number | null;
617
+ actualQuantity: number | null;
618
+ assignedTo: string | null;
619
+ assignedBy: string | null;
620
+ assignedDate: string | null;
621
+ fieldName?: string | undefined;
622
+ inventoryItemName?: string | null | undefined;
623
+ assignedToName?: string | null | undefined;
624
+ notes?: {
625
+ id: string;
626
+ authorId: string;
627
+ authorName: string;
628
+ text: string;
629
+ timestamp: string;
630
+ photos?: string[] | undefined;
631
+ }[] | undefined;
632
+ }>;
633
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
634
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
635
+ } & {
636
+ relationships: z.ZodOptional<z.ZodObject<{
637
+ field: z.ZodOptional<z.ZodObject<{
638
+ links: z.ZodObject<{
639
+ related: z.ZodString;
640
+ }, "strip", z.ZodTypeAny, {
641
+ related: string;
642
+ }, {
643
+ related: string;
644
+ }>;
645
+ }, "strip", z.ZodTypeAny, {
646
+ links: {
647
+ related: string;
648
+ };
649
+ }, {
650
+ links: {
651
+ related: string;
652
+ };
653
+ }>>;
654
+ inventory_item: z.ZodOptional<z.ZodObject<{
655
+ links: z.ZodObject<{
656
+ related: z.ZodString;
657
+ }, "strip", z.ZodTypeAny, {
658
+ related: string;
659
+ }, {
660
+ related: string;
661
+ }>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ links: {
664
+ related: string;
665
+ };
666
+ }, {
667
+ links: {
668
+ related: string;
669
+ };
670
+ }>>;
671
+ assigned_to: z.ZodOptional<z.ZodObject<{
672
+ links: z.ZodObject<{
673
+ related: z.ZodString;
674
+ }, "strip", z.ZodTypeAny, {
675
+ related: string;
676
+ }, {
677
+ related: string;
678
+ }>;
679
+ }, "strip", z.ZodTypeAny, {
680
+ links: {
681
+ related: string;
682
+ };
683
+ }, {
684
+ links: {
685
+ related: string;
686
+ };
687
+ }>>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ field?: {
690
+ links: {
691
+ related: string;
692
+ };
693
+ } | undefined;
694
+ inventory_item?: {
695
+ links: {
696
+ related: string;
697
+ };
698
+ } | undefined;
699
+ assigned_to?: {
700
+ links: {
701
+ related: string;
702
+ };
703
+ } | undefined;
704
+ }, {
705
+ field?: {
706
+ links: {
707
+ related: string;
708
+ };
709
+ } | undefined;
710
+ inventory_item?: {
711
+ links: {
712
+ related: string;
713
+ };
714
+ } | undefined;
715
+ assigned_to?: {
716
+ links: {
717
+ related: string;
718
+ };
719
+ } | undefined;
720
+ }>>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ type: string;
723
+ id: string;
724
+ attributes: {
725
+ status: "pending" | "in-progress" | "completed" | "cancelled";
726
+ date: string;
727
+ title: string;
728
+ createdAt: string;
729
+ updatedAt: string;
730
+ fieldId: string;
731
+ category: string;
732
+ inventoryItemId: string | null;
733
+ plannedQuantity: number | null;
734
+ actualQuantity: number | null;
735
+ assignedTo: string | null;
736
+ assignedBy: string | null;
737
+ assignedDate: string | null;
738
+ fieldName?: string | undefined;
739
+ inventoryItemName?: string | null | undefined;
740
+ assignedToName?: string | null | undefined;
741
+ notes?: {
742
+ id: string;
743
+ authorId: string;
744
+ authorName: string;
745
+ text: string;
746
+ timestamp: string;
747
+ photos?: string[] | undefined;
748
+ }[] | undefined;
749
+ };
750
+ relationships?: {
751
+ field?: {
752
+ links: {
753
+ related: string;
754
+ };
755
+ } | undefined;
756
+ inventory_item?: {
757
+ links: {
758
+ related: string;
759
+ };
760
+ } | undefined;
761
+ assigned_to?: {
762
+ links: {
763
+ related: string;
764
+ };
765
+ } | undefined;
766
+ } | undefined;
767
+ links?: Record<string, string> | undefined;
768
+ meta?: Record<string, unknown> | undefined;
769
+ }, {
770
+ type: string;
771
+ id: string;
772
+ attributes: {
773
+ status: "pending" | "in-progress" | "completed" | "cancelled";
774
+ date: string;
775
+ title: string;
776
+ createdAt: string;
777
+ updatedAt: string;
778
+ fieldId: string;
779
+ category: string;
780
+ inventoryItemId: string | null;
781
+ plannedQuantity: number | null;
782
+ actualQuantity: number | null;
783
+ assignedTo: string | null;
784
+ assignedBy: string | null;
785
+ assignedDate: string | null;
786
+ fieldName?: string | undefined;
787
+ inventoryItemName?: string | null | undefined;
788
+ assignedToName?: string | null | undefined;
789
+ notes?: {
790
+ id: string;
791
+ authorId: string;
792
+ authorName: string;
793
+ text: string;
794
+ timestamp: string;
795
+ photos?: string[] | undefined;
796
+ }[] | undefined;
797
+ };
798
+ relationships?: {
799
+ field?: {
800
+ links: {
801
+ related: string;
802
+ };
803
+ } | undefined;
804
+ inventory_item?: {
805
+ links: {
806
+ related: string;
807
+ };
808
+ } | undefined;
809
+ assigned_to?: {
810
+ links: {
811
+ related: string;
812
+ };
813
+ } | undefined;
814
+ } | undefined;
815
+ links?: Record<string, string> | undefined;
816
+ meta?: Record<string, unknown> | undefined;
817
+ }>;
818
+ export declare const taskResponseSchema: z.ZodObject<{
819
+ data: z.ZodObject<{
820
+ type: z.ZodLiteral<string>;
821
+ id: z.ZodString;
822
+ attributes: z.ZodObject<{
823
+ title: z.ZodString;
824
+ fieldId: z.ZodString;
825
+ fieldName: z.ZodOptional<z.ZodString>;
826
+ date: z.ZodString;
827
+ status: z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>;
828
+ category: z.ZodString;
829
+ inventoryItemId: z.ZodNullable<z.ZodString>;
830
+ inventoryItemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
831
+ plannedQuantity: z.ZodNullable<z.ZodNumber>;
832
+ actualQuantity: z.ZodNullable<z.ZodNumber>;
833
+ assignedTo: z.ZodNullable<z.ZodString>;
834
+ assignedToName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
835
+ assignedBy: z.ZodNullable<z.ZodString>;
836
+ assignedDate: z.ZodNullable<z.ZodString>;
837
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
838
+ id: z.ZodString;
839
+ authorId: z.ZodString;
840
+ authorName: z.ZodString;
841
+ text: z.ZodString;
842
+ timestamp: z.ZodString;
843
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ id: string;
846
+ authorId: string;
847
+ authorName: string;
848
+ text: string;
849
+ timestamp: string;
850
+ photos?: string[] | undefined;
851
+ }, {
852
+ id: string;
853
+ authorId: string;
854
+ authorName: string;
855
+ text: string;
856
+ timestamp: string;
857
+ photos?: string[] | undefined;
858
+ }>, "many">>;
859
+ } & {
860
+ createdAt: z.ZodString;
861
+ updatedAt: z.ZodString;
862
+ }, "strip", z.ZodTypeAny, {
863
+ status: "pending" | "in-progress" | "completed" | "cancelled";
864
+ date: string;
865
+ title: string;
866
+ createdAt: string;
867
+ updatedAt: string;
868
+ fieldId: string;
869
+ category: string;
870
+ inventoryItemId: string | null;
871
+ plannedQuantity: number | null;
872
+ actualQuantity: number | null;
873
+ assignedTo: string | null;
874
+ assignedBy: string | null;
875
+ assignedDate: string | null;
876
+ fieldName?: string | undefined;
877
+ inventoryItemName?: string | null | undefined;
878
+ assignedToName?: string | null | undefined;
879
+ notes?: {
880
+ id: string;
881
+ authorId: string;
882
+ authorName: string;
883
+ text: string;
884
+ timestamp: string;
885
+ photos?: string[] | undefined;
886
+ }[] | undefined;
887
+ }, {
888
+ status: "pending" | "in-progress" | "completed" | "cancelled";
889
+ date: string;
890
+ title: string;
891
+ createdAt: string;
892
+ updatedAt: string;
893
+ fieldId: string;
894
+ category: string;
895
+ inventoryItemId: string | null;
896
+ plannedQuantity: number | null;
897
+ actualQuantity: number | null;
898
+ assignedTo: string | null;
899
+ assignedBy: string | null;
900
+ assignedDate: string | null;
901
+ fieldName?: string | undefined;
902
+ inventoryItemName?: string | null | undefined;
903
+ assignedToName?: string | null | undefined;
904
+ notes?: {
905
+ id: string;
906
+ authorId: string;
907
+ authorName: string;
908
+ text: string;
909
+ timestamp: string;
910
+ photos?: string[] | undefined;
911
+ }[] | undefined;
912
+ }>;
913
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
914
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
915
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
916
+ }, "strip", z.ZodTypeAny, {
917
+ type: string;
918
+ id: string;
919
+ attributes: {
920
+ status: "pending" | "in-progress" | "completed" | "cancelled";
921
+ date: string;
922
+ title: string;
923
+ createdAt: string;
924
+ updatedAt: string;
925
+ fieldId: string;
926
+ category: string;
927
+ inventoryItemId: string | null;
928
+ plannedQuantity: number | null;
929
+ actualQuantity: number | null;
930
+ assignedTo: string | null;
931
+ assignedBy: string | null;
932
+ assignedDate: string | null;
933
+ fieldName?: string | undefined;
934
+ inventoryItemName?: string | null | undefined;
935
+ assignedToName?: string | null | undefined;
936
+ notes?: {
937
+ id: string;
938
+ authorId: string;
939
+ authorName: string;
940
+ text: string;
941
+ timestamp: string;
942
+ photos?: string[] | undefined;
943
+ }[] | undefined;
944
+ };
945
+ relationships?: Record<string, unknown> | undefined;
946
+ links?: Record<string, string> | undefined;
947
+ meta?: Record<string, unknown> | undefined;
948
+ }, {
949
+ type: string;
950
+ id: string;
951
+ attributes: {
952
+ status: "pending" | "in-progress" | "completed" | "cancelled";
953
+ date: string;
954
+ title: string;
955
+ createdAt: string;
956
+ updatedAt: string;
957
+ fieldId: string;
958
+ category: string;
959
+ inventoryItemId: string | null;
960
+ plannedQuantity: number | null;
961
+ actualQuantity: number | null;
962
+ assignedTo: string | null;
963
+ assignedBy: string | null;
964
+ assignedDate: string | null;
965
+ fieldName?: string | undefined;
966
+ inventoryItemName?: string | null | undefined;
967
+ assignedToName?: string | null | undefined;
968
+ notes?: {
969
+ id: string;
970
+ authorId: string;
971
+ authorName: string;
972
+ text: string;
973
+ timestamp: string;
974
+ photos?: string[] | undefined;
975
+ }[] | undefined;
976
+ };
977
+ relationships?: Record<string, unknown> | undefined;
978
+ links?: Record<string, string> | undefined;
979
+ meta?: Record<string, unknown> | undefined;
980
+ }>;
981
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
982
+ type: z.ZodString;
983
+ id: z.ZodString;
984
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
985
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
986
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
987
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
988
+ }, "strip", z.ZodTypeAny, {
989
+ type: string;
990
+ id: string;
991
+ attributes?: Record<string, unknown> | undefined;
992
+ relationships?: Record<string, unknown> | undefined;
993
+ links?: Record<string, string> | undefined;
994
+ meta?: Record<string, unknown> | undefined;
995
+ }, {
996
+ type: string;
997
+ id: string;
998
+ attributes?: Record<string, unknown> | undefined;
999
+ relationships?: Record<string, unknown> | undefined;
1000
+ links?: Record<string, string> | undefined;
1001
+ meta?: Record<string, unknown> | undefined;
1002
+ }>, "many">>;
1003
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1004
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ data: {
1007
+ type: string;
1008
+ id: string;
1009
+ attributes: {
1010
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1011
+ date: string;
1012
+ title: string;
1013
+ createdAt: string;
1014
+ updatedAt: string;
1015
+ fieldId: string;
1016
+ category: string;
1017
+ inventoryItemId: string | null;
1018
+ plannedQuantity: number | null;
1019
+ actualQuantity: number | null;
1020
+ assignedTo: string | null;
1021
+ assignedBy: string | null;
1022
+ assignedDate: string | null;
1023
+ fieldName?: string | undefined;
1024
+ inventoryItemName?: string | null | undefined;
1025
+ assignedToName?: string | null | undefined;
1026
+ notes?: {
1027
+ id: string;
1028
+ authorId: string;
1029
+ authorName: string;
1030
+ text: string;
1031
+ timestamp: string;
1032
+ photos?: string[] | undefined;
1033
+ }[] | undefined;
1034
+ };
1035
+ relationships?: Record<string, unknown> | undefined;
1036
+ links?: Record<string, string> | undefined;
1037
+ meta?: Record<string, unknown> | undefined;
1038
+ };
1039
+ links?: Record<string, string> | undefined;
1040
+ meta?: Record<string, unknown> | undefined;
1041
+ included?: {
1042
+ type: string;
1043
+ id: string;
1044
+ attributes?: Record<string, unknown> | undefined;
1045
+ relationships?: Record<string, unknown> | undefined;
1046
+ links?: Record<string, string> | undefined;
1047
+ meta?: Record<string, unknown> | undefined;
1048
+ }[] | undefined;
1049
+ }, {
1050
+ data: {
1051
+ type: string;
1052
+ id: string;
1053
+ attributes: {
1054
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1055
+ date: string;
1056
+ title: string;
1057
+ createdAt: string;
1058
+ updatedAt: string;
1059
+ fieldId: string;
1060
+ category: string;
1061
+ inventoryItemId: string | null;
1062
+ plannedQuantity: number | null;
1063
+ actualQuantity: number | null;
1064
+ assignedTo: string | null;
1065
+ assignedBy: string | null;
1066
+ assignedDate: string | null;
1067
+ fieldName?: string | undefined;
1068
+ inventoryItemName?: string | null | undefined;
1069
+ assignedToName?: string | null | undefined;
1070
+ notes?: {
1071
+ id: string;
1072
+ authorId: string;
1073
+ authorName: string;
1074
+ text: string;
1075
+ timestamp: string;
1076
+ photos?: string[] | undefined;
1077
+ }[] | undefined;
1078
+ };
1079
+ relationships?: Record<string, unknown> | undefined;
1080
+ links?: Record<string, string> | undefined;
1081
+ meta?: Record<string, unknown> | undefined;
1082
+ };
1083
+ links?: Record<string, string> | undefined;
1084
+ meta?: Record<string, unknown> | undefined;
1085
+ included?: {
1086
+ type: string;
1087
+ id: string;
1088
+ attributes?: Record<string, unknown> | undefined;
1089
+ relationships?: Record<string, unknown> | undefined;
1090
+ links?: Record<string, string> | undefined;
1091
+ meta?: Record<string, unknown> | undefined;
1092
+ }[] | undefined;
1093
+ }>;
1094
+ export declare const taskDetailResponseSchema: z.ZodObject<{
1095
+ data: z.ZodObject<{
1096
+ type: z.ZodLiteral<string>;
1097
+ id: z.ZodString;
1098
+ attributes: z.ZodObject<{
1099
+ title: z.ZodString;
1100
+ fieldId: z.ZodString;
1101
+ fieldName: z.ZodOptional<z.ZodString>;
1102
+ date: z.ZodString;
1103
+ status: z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>;
1104
+ category: z.ZodString;
1105
+ inventoryItemId: z.ZodNullable<z.ZodString>;
1106
+ inventoryItemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1107
+ plannedQuantity: z.ZodNullable<z.ZodNumber>;
1108
+ actualQuantity: z.ZodNullable<z.ZodNumber>;
1109
+ assignedTo: z.ZodNullable<z.ZodString>;
1110
+ assignedToName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1111
+ assignedBy: z.ZodNullable<z.ZodString>;
1112
+ assignedDate: z.ZodNullable<z.ZodString>;
1113
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1114
+ id: z.ZodString;
1115
+ authorId: z.ZodString;
1116
+ authorName: z.ZodString;
1117
+ text: z.ZodString;
1118
+ timestamp: z.ZodString;
1119
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1120
+ }, "strip", z.ZodTypeAny, {
1121
+ id: string;
1122
+ authorId: string;
1123
+ authorName: string;
1124
+ text: string;
1125
+ timestamp: string;
1126
+ photos?: string[] | undefined;
1127
+ }, {
1128
+ id: string;
1129
+ authorId: string;
1130
+ authorName: string;
1131
+ text: string;
1132
+ timestamp: string;
1133
+ photos?: string[] | undefined;
1134
+ }>, "many">>;
1135
+ } & {
1136
+ createdAt: z.ZodString;
1137
+ updatedAt: z.ZodString;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1140
+ date: string;
1141
+ title: string;
1142
+ createdAt: string;
1143
+ updatedAt: string;
1144
+ fieldId: string;
1145
+ category: string;
1146
+ inventoryItemId: string | null;
1147
+ plannedQuantity: number | null;
1148
+ actualQuantity: number | null;
1149
+ assignedTo: string | null;
1150
+ assignedBy: string | null;
1151
+ assignedDate: string | null;
1152
+ fieldName?: string | undefined;
1153
+ inventoryItemName?: string | null | undefined;
1154
+ assignedToName?: string | null | undefined;
1155
+ notes?: {
1156
+ id: string;
1157
+ authorId: string;
1158
+ authorName: string;
1159
+ text: string;
1160
+ timestamp: string;
1161
+ photos?: string[] | undefined;
1162
+ }[] | undefined;
1163
+ }, {
1164
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1165
+ date: string;
1166
+ title: string;
1167
+ createdAt: string;
1168
+ updatedAt: string;
1169
+ fieldId: string;
1170
+ category: string;
1171
+ inventoryItemId: string | null;
1172
+ plannedQuantity: number | null;
1173
+ actualQuantity: number | null;
1174
+ assignedTo: string | null;
1175
+ assignedBy: string | null;
1176
+ assignedDate: string | null;
1177
+ fieldName?: string | undefined;
1178
+ inventoryItemName?: string | null | undefined;
1179
+ assignedToName?: string | null | undefined;
1180
+ notes?: {
1181
+ id: string;
1182
+ authorId: string;
1183
+ authorName: string;
1184
+ text: string;
1185
+ timestamp: string;
1186
+ photos?: string[] | undefined;
1187
+ }[] | undefined;
1188
+ }>;
1189
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1190
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1191
+ } & {
1192
+ relationships: z.ZodOptional<z.ZodObject<{
1193
+ field: z.ZodOptional<z.ZodObject<{
1194
+ links: z.ZodObject<{
1195
+ related: z.ZodString;
1196
+ }, "strip", z.ZodTypeAny, {
1197
+ related: string;
1198
+ }, {
1199
+ related: string;
1200
+ }>;
1201
+ }, "strip", z.ZodTypeAny, {
1202
+ links: {
1203
+ related: string;
1204
+ };
1205
+ }, {
1206
+ links: {
1207
+ related: string;
1208
+ };
1209
+ }>>;
1210
+ inventory_item: z.ZodOptional<z.ZodObject<{
1211
+ links: z.ZodObject<{
1212
+ related: z.ZodString;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ related: string;
1215
+ }, {
1216
+ related: string;
1217
+ }>;
1218
+ }, "strip", z.ZodTypeAny, {
1219
+ links: {
1220
+ related: string;
1221
+ };
1222
+ }, {
1223
+ links: {
1224
+ related: string;
1225
+ };
1226
+ }>>;
1227
+ assigned_to: z.ZodOptional<z.ZodObject<{
1228
+ links: z.ZodObject<{
1229
+ related: z.ZodString;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ related: string;
1232
+ }, {
1233
+ related: string;
1234
+ }>;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ links: {
1237
+ related: string;
1238
+ };
1239
+ }, {
1240
+ links: {
1241
+ related: string;
1242
+ };
1243
+ }>>;
1244
+ }, "strip", z.ZodTypeAny, {
1245
+ field?: {
1246
+ links: {
1247
+ related: string;
1248
+ };
1249
+ } | undefined;
1250
+ inventory_item?: {
1251
+ links: {
1252
+ related: string;
1253
+ };
1254
+ } | undefined;
1255
+ assigned_to?: {
1256
+ links: {
1257
+ related: string;
1258
+ };
1259
+ } | undefined;
1260
+ }, {
1261
+ field?: {
1262
+ links: {
1263
+ related: string;
1264
+ };
1265
+ } | undefined;
1266
+ inventory_item?: {
1267
+ links: {
1268
+ related: string;
1269
+ };
1270
+ } | undefined;
1271
+ assigned_to?: {
1272
+ links: {
1273
+ related: string;
1274
+ };
1275
+ } | undefined;
1276
+ }>>;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ type: string;
1279
+ id: string;
1280
+ attributes: {
1281
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1282
+ date: string;
1283
+ title: string;
1284
+ createdAt: string;
1285
+ updatedAt: string;
1286
+ fieldId: string;
1287
+ category: string;
1288
+ inventoryItemId: string | null;
1289
+ plannedQuantity: number | null;
1290
+ actualQuantity: number | null;
1291
+ assignedTo: string | null;
1292
+ assignedBy: string | null;
1293
+ assignedDate: string | null;
1294
+ fieldName?: string | undefined;
1295
+ inventoryItemName?: string | null | undefined;
1296
+ assignedToName?: string | null | undefined;
1297
+ notes?: {
1298
+ id: string;
1299
+ authorId: string;
1300
+ authorName: string;
1301
+ text: string;
1302
+ timestamp: string;
1303
+ photos?: string[] | undefined;
1304
+ }[] | undefined;
1305
+ };
1306
+ relationships?: {
1307
+ field?: {
1308
+ links: {
1309
+ related: string;
1310
+ };
1311
+ } | undefined;
1312
+ inventory_item?: {
1313
+ links: {
1314
+ related: string;
1315
+ };
1316
+ } | undefined;
1317
+ assigned_to?: {
1318
+ links: {
1319
+ related: string;
1320
+ };
1321
+ } | undefined;
1322
+ } | undefined;
1323
+ links?: Record<string, string> | undefined;
1324
+ meta?: Record<string, unknown> | undefined;
1325
+ }, {
1326
+ type: string;
1327
+ id: string;
1328
+ attributes: {
1329
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1330
+ date: string;
1331
+ title: string;
1332
+ createdAt: string;
1333
+ updatedAt: string;
1334
+ fieldId: string;
1335
+ category: string;
1336
+ inventoryItemId: string | null;
1337
+ plannedQuantity: number | null;
1338
+ actualQuantity: number | null;
1339
+ assignedTo: string | null;
1340
+ assignedBy: string | null;
1341
+ assignedDate: string | null;
1342
+ fieldName?: string | undefined;
1343
+ inventoryItemName?: string | null | undefined;
1344
+ assignedToName?: string | null | undefined;
1345
+ notes?: {
1346
+ id: string;
1347
+ authorId: string;
1348
+ authorName: string;
1349
+ text: string;
1350
+ timestamp: string;
1351
+ photos?: string[] | undefined;
1352
+ }[] | undefined;
1353
+ };
1354
+ relationships?: {
1355
+ field?: {
1356
+ links: {
1357
+ related: string;
1358
+ };
1359
+ } | undefined;
1360
+ inventory_item?: {
1361
+ links: {
1362
+ related: string;
1363
+ };
1364
+ } | undefined;
1365
+ assigned_to?: {
1366
+ links: {
1367
+ related: string;
1368
+ };
1369
+ } | undefined;
1370
+ } | undefined;
1371
+ links?: Record<string, string> | undefined;
1372
+ meta?: Record<string, unknown> | undefined;
1373
+ }>;
1374
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1375
+ type: z.ZodString;
1376
+ id: z.ZodString;
1377
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1378
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1379
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1380
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1381
+ }, "strip", z.ZodTypeAny, {
1382
+ type: string;
1383
+ id: string;
1384
+ attributes?: Record<string, unknown> | undefined;
1385
+ relationships?: Record<string, unknown> | undefined;
1386
+ links?: Record<string, string> | undefined;
1387
+ meta?: Record<string, unknown> | undefined;
1388
+ }, {
1389
+ type: string;
1390
+ id: string;
1391
+ attributes?: Record<string, unknown> | undefined;
1392
+ relationships?: Record<string, unknown> | undefined;
1393
+ links?: Record<string, string> | undefined;
1394
+ meta?: Record<string, unknown> | undefined;
1395
+ }>, "many">>;
1396
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1397
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ data: {
1400
+ type: string;
1401
+ id: string;
1402
+ attributes: {
1403
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1404
+ date: string;
1405
+ title: string;
1406
+ createdAt: string;
1407
+ updatedAt: string;
1408
+ fieldId: string;
1409
+ category: string;
1410
+ inventoryItemId: string | null;
1411
+ plannedQuantity: number | null;
1412
+ actualQuantity: number | null;
1413
+ assignedTo: string | null;
1414
+ assignedBy: string | null;
1415
+ assignedDate: string | null;
1416
+ fieldName?: string | undefined;
1417
+ inventoryItemName?: string | null | undefined;
1418
+ assignedToName?: string | null | undefined;
1419
+ notes?: {
1420
+ id: string;
1421
+ authorId: string;
1422
+ authorName: string;
1423
+ text: string;
1424
+ timestamp: string;
1425
+ photos?: string[] | undefined;
1426
+ }[] | undefined;
1427
+ };
1428
+ relationships?: {
1429
+ field?: {
1430
+ links: {
1431
+ related: string;
1432
+ };
1433
+ } | undefined;
1434
+ inventory_item?: {
1435
+ links: {
1436
+ related: string;
1437
+ };
1438
+ } | undefined;
1439
+ assigned_to?: {
1440
+ links: {
1441
+ related: string;
1442
+ };
1443
+ } | undefined;
1444
+ } | undefined;
1445
+ links?: Record<string, string> | undefined;
1446
+ meta?: Record<string, unknown> | undefined;
1447
+ };
1448
+ links?: Record<string, string> | undefined;
1449
+ meta?: Record<string, unknown> | undefined;
1450
+ included?: {
1451
+ type: string;
1452
+ id: string;
1453
+ attributes?: Record<string, unknown> | undefined;
1454
+ relationships?: Record<string, unknown> | undefined;
1455
+ links?: Record<string, string> | undefined;
1456
+ meta?: Record<string, unknown> | undefined;
1457
+ }[] | undefined;
1458
+ }, {
1459
+ data: {
1460
+ type: string;
1461
+ id: string;
1462
+ attributes: {
1463
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1464
+ date: string;
1465
+ title: string;
1466
+ createdAt: string;
1467
+ updatedAt: string;
1468
+ fieldId: string;
1469
+ category: string;
1470
+ inventoryItemId: string | null;
1471
+ plannedQuantity: number | null;
1472
+ actualQuantity: number | null;
1473
+ assignedTo: string | null;
1474
+ assignedBy: string | null;
1475
+ assignedDate: string | null;
1476
+ fieldName?: string | undefined;
1477
+ inventoryItemName?: string | null | undefined;
1478
+ assignedToName?: string | null | undefined;
1479
+ notes?: {
1480
+ id: string;
1481
+ authorId: string;
1482
+ authorName: string;
1483
+ text: string;
1484
+ timestamp: string;
1485
+ photos?: string[] | undefined;
1486
+ }[] | undefined;
1487
+ };
1488
+ relationships?: {
1489
+ field?: {
1490
+ links: {
1491
+ related: string;
1492
+ };
1493
+ } | undefined;
1494
+ inventory_item?: {
1495
+ links: {
1496
+ related: string;
1497
+ };
1498
+ } | undefined;
1499
+ assigned_to?: {
1500
+ links: {
1501
+ related: string;
1502
+ };
1503
+ } | undefined;
1504
+ } | undefined;
1505
+ links?: Record<string, string> | undefined;
1506
+ meta?: Record<string, unknown> | undefined;
1507
+ };
1508
+ links?: Record<string, string> | undefined;
1509
+ meta?: Record<string, unknown> | undefined;
1510
+ included?: {
1511
+ type: string;
1512
+ id: string;
1513
+ attributes?: Record<string, unknown> | undefined;
1514
+ relationships?: Record<string, unknown> | undefined;
1515
+ links?: Record<string, string> | undefined;
1516
+ meta?: Record<string, unknown> | undefined;
1517
+ }[] | undefined;
1518
+ }>;
1519
+ export declare const taskListResponseSchema: z.ZodObject<{
1520
+ data: z.ZodArray<z.ZodObject<{
1521
+ type: z.ZodLiteral<string>;
1522
+ id: z.ZodString;
1523
+ attributes: z.ZodObject<{
1524
+ title: z.ZodString;
1525
+ fieldId: z.ZodString;
1526
+ fieldName: z.ZodOptional<z.ZodString>;
1527
+ date: z.ZodString;
1528
+ status: z.ZodEnum<["pending", "in-progress", "completed", "cancelled"]>;
1529
+ category: z.ZodString;
1530
+ inventoryItemId: z.ZodNullable<z.ZodString>;
1531
+ inventoryItemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1532
+ plannedQuantity: z.ZodNullable<z.ZodNumber>;
1533
+ actualQuantity: z.ZodNullable<z.ZodNumber>;
1534
+ assignedTo: z.ZodNullable<z.ZodString>;
1535
+ assignedToName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1536
+ assignedBy: z.ZodNullable<z.ZodString>;
1537
+ assignedDate: z.ZodNullable<z.ZodString>;
1538
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1539
+ id: z.ZodString;
1540
+ authorId: z.ZodString;
1541
+ authorName: z.ZodString;
1542
+ text: z.ZodString;
1543
+ timestamp: z.ZodString;
1544
+ photos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1545
+ }, "strip", z.ZodTypeAny, {
1546
+ id: string;
1547
+ authorId: string;
1548
+ authorName: string;
1549
+ text: string;
1550
+ timestamp: string;
1551
+ photos?: string[] | undefined;
1552
+ }, {
1553
+ id: string;
1554
+ authorId: string;
1555
+ authorName: string;
1556
+ text: string;
1557
+ timestamp: string;
1558
+ photos?: string[] | undefined;
1559
+ }>, "many">>;
1560
+ } & {
1561
+ createdAt: z.ZodString;
1562
+ updatedAt: z.ZodString;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1565
+ date: string;
1566
+ title: string;
1567
+ createdAt: string;
1568
+ updatedAt: string;
1569
+ fieldId: string;
1570
+ category: string;
1571
+ inventoryItemId: string | null;
1572
+ plannedQuantity: number | null;
1573
+ actualQuantity: number | null;
1574
+ assignedTo: string | null;
1575
+ assignedBy: string | null;
1576
+ assignedDate: string | null;
1577
+ fieldName?: string | undefined;
1578
+ inventoryItemName?: string | null | undefined;
1579
+ assignedToName?: string | null | undefined;
1580
+ notes?: {
1581
+ id: string;
1582
+ authorId: string;
1583
+ authorName: string;
1584
+ text: string;
1585
+ timestamp: string;
1586
+ photos?: string[] | undefined;
1587
+ }[] | undefined;
1588
+ }, {
1589
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1590
+ date: string;
1591
+ title: string;
1592
+ createdAt: string;
1593
+ updatedAt: string;
1594
+ fieldId: string;
1595
+ category: string;
1596
+ inventoryItemId: string | null;
1597
+ plannedQuantity: number | null;
1598
+ actualQuantity: number | null;
1599
+ assignedTo: string | null;
1600
+ assignedBy: string | null;
1601
+ assignedDate: string | null;
1602
+ fieldName?: string | undefined;
1603
+ inventoryItemName?: string | null | undefined;
1604
+ assignedToName?: string | null | undefined;
1605
+ notes?: {
1606
+ id: string;
1607
+ authorId: string;
1608
+ authorName: string;
1609
+ text: string;
1610
+ timestamp: string;
1611
+ photos?: string[] | undefined;
1612
+ }[] | undefined;
1613
+ }>;
1614
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1615
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1616
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1617
+ }, "strip", z.ZodTypeAny, {
1618
+ type: string;
1619
+ id: string;
1620
+ attributes: {
1621
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1622
+ date: string;
1623
+ title: string;
1624
+ createdAt: string;
1625
+ updatedAt: string;
1626
+ fieldId: string;
1627
+ category: string;
1628
+ inventoryItemId: string | null;
1629
+ plannedQuantity: number | null;
1630
+ actualQuantity: number | null;
1631
+ assignedTo: string | null;
1632
+ assignedBy: string | null;
1633
+ assignedDate: string | null;
1634
+ fieldName?: string | undefined;
1635
+ inventoryItemName?: string | null | undefined;
1636
+ assignedToName?: string | null | undefined;
1637
+ notes?: {
1638
+ id: string;
1639
+ authorId: string;
1640
+ authorName: string;
1641
+ text: string;
1642
+ timestamp: string;
1643
+ photos?: string[] | undefined;
1644
+ }[] | undefined;
1645
+ };
1646
+ relationships?: Record<string, unknown> | undefined;
1647
+ links?: Record<string, string> | undefined;
1648
+ meta?: Record<string, unknown> | undefined;
1649
+ }, {
1650
+ type: string;
1651
+ id: string;
1652
+ attributes: {
1653
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1654
+ date: string;
1655
+ title: string;
1656
+ createdAt: string;
1657
+ updatedAt: string;
1658
+ fieldId: string;
1659
+ category: string;
1660
+ inventoryItemId: string | null;
1661
+ plannedQuantity: number | null;
1662
+ actualQuantity: number | null;
1663
+ assignedTo: string | null;
1664
+ assignedBy: string | null;
1665
+ assignedDate: string | null;
1666
+ fieldName?: string | undefined;
1667
+ inventoryItemName?: string | null | undefined;
1668
+ assignedToName?: string | null | undefined;
1669
+ notes?: {
1670
+ id: string;
1671
+ authorId: string;
1672
+ authorName: string;
1673
+ text: string;
1674
+ timestamp: string;
1675
+ photos?: string[] | undefined;
1676
+ }[] | undefined;
1677
+ };
1678
+ relationships?: Record<string, unknown> | undefined;
1679
+ links?: Record<string, string> | undefined;
1680
+ meta?: Record<string, unknown> | undefined;
1681
+ }>, "many">;
1682
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1683
+ type: z.ZodString;
1684
+ id: z.ZodString;
1685
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1686
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1687
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1688
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ type: string;
1691
+ id: string;
1692
+ attributes?: Record<string, unknown> | undefined;
1693
+ relationships?: Record<string, unknown> | undefined;
1694
+ links?: Record<string, string> | undefined;
1695
+ meta?: Record<string, unknown> | undefined;
1696
+ }, {
1697
+ type: string;
1698
+ id: string;
1699
+ attributes?: Record<string, unknown> | undefined;
1700
+ relationships?: Record<string, unknown> | undefined;
1701
+ links?: Record<string, string> | undefined;
1702
+ meta?: Record<string, unknown> | undefined;
1703
+ }>, "many">>;
1704
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1705
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1706
+ }, "strip", z.ZodTypeAny, {
1707
+ data: {
1708
+ type: string;
1709
+ id: string;
1710
+ attributes: {
1711
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1712
+ date: string;
1713
+ title: string;
1714
+ createdAt: string;
1715
+ updatedAt: string;
1716
+ fieldId: string;
1717
+ category: string;
1718
+ inventoryItemId: string | null;
1719
+ plannedQuantity: number | null;
1720
+ actualQuantity: number | null;
1721
+ assignedTo: string | null;
1722
+ assignedBy: string | null;
1723
+ assignedDate: string | null;
1724
+ fieldName?: string | undefined;
1725
+ inventoryItemName?: string | null | undefined;
1726
+ assignedToName?: string | null | undefined;
1727
+ notes?: {
1728
+ id: string;
1729
+ authorId: string;
1730
+ authorName: string;
1731
+ text: string;
1732
+ timestamp: string;
1733
+ photos?: string[] | undefined;
1734
+ }[] | undefined;
1735
+ };
1736
+ relationships?: Record<string, unknown> | undefined;
1737
+ links?: Record<string, string> | undefined;
1738
+ meta?: Record<string, unknown> | undefined;
1739
+ }[];
1740
+ links?: Record<string, string> | undefined;
1741
+ meta?: Record<string, unknown> | undefined;
1742
+ included?: {
1743
+ type: string;
1744
+ id: string;
1745
+ attributes?: Record<string, unknown> | undefined;
1746
+ relationships?: Record<string, unknown> | undefined;
1747
+ links?: Record<string, string> | undefined;
1748
+ meta?: Record<string, unknown> | undefined;
1749
+ }[] | undefined;
1750
+ }, {
1751
+ data: {
1752
+ type: string;
1753
+ id: string;
1754
+ attributes: {
1755
+ status: "pending" | "in-progress" | "completed" | "cancelled";
1756
+ date: string;
1757
+ title: string;
1758
+ createdAt: string;
1759
+ updatedAt: string;
1760
+ fieldId: string;
1761
+ category: string;
1762
+ inventoryItemId: string | null;
1763
+ plannedQuantity: number | null;
1764
+ actualQuantity: number | null;
1765
+ assignedTo: string | null;
1766
+ assignedBy: string | null;
1767
+ assignedDate: string | null;
1768
+ fieldName?: string | undefined;
1769
+ inventoryItemName?: string | null | undefined;
1770
+ assignedToName?: string | null | undefined;
1771
+ notes?: {
1772
+ id: string;
1773
+ authorId: string;
1774
+ authorName: string;
1775
+ text: string;
1776
+ timestamp: string;
1777
+ photos?: string[] | undefined;
1778
+ }[] | undefined;
1779
+ };
1780
+ relationships?: Record<string, unknown> | undefined;
1781
+ links?: Record<string, string> | undefined;
1782
+ meta?: Record<string, unknown> | undefined;
1783
+ }[];
1784
+ links?: Record<string, string> | undefined;
1785
+ meta?: Record<string, unknown> | undefined;
1786
+ included?: {
1787
+ type: string;
1788
+ id: string;
1789
+ attributes?: Record<string, unknown> | undefined;
1790
+ relationships?: Record<string, unknown> | undefined;
1791
+ links?: Record<string, string> | undefined;
1792
+ meta?: Record<string, unknown> | undefined;
1793
+ }[] | undefined;
1794
+ }>;
1795
+ export type TaskStatus = z.infer<typeof taskStatusSchema>;
1796
+ export type TaskNote = z.infer<typeof taskNoteSchema>;
1797
+ export type CreateTaskAttributes = z.infer<typeof createTaskAttributesSchema>;
1798
+ export type UpdateTaskAttributes = z.infer<typeof updateTaskAttributesSchema>;
1799
+ export type CompleteTaskAttributes = z.infer<typeof completeTaskAttributesSchema>;
1800
+ export type AddTaskNoteAttributes = z.infer<typeof addTaskNoteAttributesSchema>;
1801
+ export type CreateTaskInput = z.infer<typeof createTaskSchema>;
1802
+ export type UpdateTaskInput = z.infer<typeof updateTaskSchema>;
1803
+ export type CompleteTaskInput = z.infer<typeof completeTaskSchema>;
1804
+ export type AddTaskNoteInput = z.infer<typeof addTaskNoteSchema>;
1805
+ export type TaskAttributes = z.infer<typeof taskAttributesSchema>;
1806
+ export type TaskResource = z.infer<typeof taskResourceSchema>;
1807
+ export type TaskDetailResource = z.infer<typeof taskDetailResourceSchema>;
1808
+ export type TaskResponse = z.infer<typeof taskResponseSchema>;
1809
+ export type TaskDetailResponse = z.infer<typeof taskDetailResponseSchema>;
1810
+ export type TaskListResponse = z.infer<typeof taskListResponseSchema>;
1811
+ //# sourceMappingURL=tasks.schemas.d.ts.map