@deepintel-ltd/farmpro-contracts 1.0.2 → 1.0.3

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