@deepintel-ltd/farmpro-contracts 1.11.2 → 1.11.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 (76) hide show
  1. package/dist/routes/admin.routes.d.ts +3947 -187
  2. package/dist/routes/admin.routes.d.ts.map +1 -1
  3. package/dist/routes/admin.routes.js +106 -4
  4. package/dist/routes/agent-workflows.routes.d.ts +140 -140
  5. package/dist/routes/agents.routes.d.ts +6 -6
  6. package/dist/routes/analytics.routes.d.ts +6 -6
  7. package/dist/routes/auth.routes.d.ts +999 -0
  8. package/dist/routes/auth.routes.d.ts.map +1 -1
  9. package/dist/routes/auth.routes.js +30 -1
  10. package/dist/routes/crop-profile.routes.d.ts +18 -18
  11. package/dist/routes/documents.routes.d.ts +58 -58
  12. package/dist/routes/equipment.routes.d.ts +62 -62
  13. package/dist/routes/extension.routes.d.ts +6 -6
  14. package/dist/routes/farm-status.routes.d.ts +6 -6
  15. package/dist/routes/farms.routes.d.ts +35 -0
  16. package/dist/routes/farms.routes.d.ts.map +1 -1
  17. package/dist/routes/fertigation.routes.d.ts +76 -76
  18. package/dist/routes/field-monitoring.routes.d.ts +34 -34
  19. package/dist/routes/field-observations.routes.d.ts +170 -170
  20. package/dist/routes/finance.routes.d.ts +6 -6
  21. package/dist/routes/geofences.routes.d.ts +8 -8
  22. package/dist/routes/irrigation.routes.d.ts +22 -22
  23. package/dist/routes/live-monitor.routes.d.ts +2 -2
  24. package/dist/routes/livestock-groups.routes.d.ts +30 -30
  25. package/dist/routes/livestock.routes.d.ts +24 -24
  26. package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
  27. package/dist/routes/pest-disease-risk.routes.d.ts +48 -48
  28. package/dist/routes/prescription-maps.routes.d.ts +2 -2
  29. package/dist/routes/seasonal-plans.routes.d.ts +6 -6
  30. package/dist/routes/soil-tests.routes.d.ts +30 -30
  31. package/dist/routes/subscriptions.routes.d.ts +2 -2
  32. package/dist/routes/team-payments.routes.d.ts +36 -36
  33. package/dist/routes/team.routes.d.ts +24 -24
  34. package/dist/routes/users.routes.d.ts +14 -0
  35. package/dist/routes/users.routes.d.ts.map +1 -1
  36. package/dist/routes/weather.routes.d.ts +14 -14
  37. package/dist/routes/yield-prediction.routes.d.ts +48 -48
  38. package/dist/schemas/admin.schemas.d.ts +843 -81
  39. package/dist/schemas/admin.schemas.d.ts.map +1 -1
  40. package/dist/schemas/admin.schemas.js +58 -1
  41. package/dist/schemas/agent-workflows.schemas.d.ts +111 -111
  42. package/dist/schemas/agents.schemas.d.ts +6 -6
  43. package/dist/schemas/analytics.schemas.d.ts +12 -12
  44. package/dist/schemas/auth.schemas.d.ts +28 -0
  45. package/dist/schemas/auth.schemas.d.ts.map +1 -1
  46. package/dist/schemas/auth.schemas.js +8 -0
  47. package/dist/schemas/crop-profile.schemas.d.ts +26 -26
  48. package/dist/schemas/documents.schemas.d.ts +48 -48
  49. package/dist/schemas/equipment.schemas.d.ts +48 -48
  50. package/dist/schemas/extension.schemas.d.ts +12 -12
  51. package/dist/schemas/farm-status.schemas.d.ts +8 -8
  52. package/dist/schemas/farms.schemas.d.ts +48 -0
  53. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  54. package/dist/schemas/farms.schemas.js +3 -0
  55. package/dist/schemas/fertigation.schemas.d.ts +20 -20
  56. package/dist/schemas/field-monitoring.schemas.d.ts +26 -26
  57. package/dist/schemas/field-observations.schemas.d.ts +126 -126
  58. package/dist/schemas/finance.schemas.d.ts +6 -6
  59. package/dist/schemas/geofences.schemas.d.ts +6 -6
  60. package/dist/schemas/irrigation.schemas.d.ts +12 -12
  61. package/dist/schemas/live-monitor.schemas.d.ts +2 -2
  62. package/dist/schemas/livestock-groups.schemas.d.ts +18 -18
  63. package/dist/schemas/livestock.schemas.d.ts +18 -18
  64. package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
  65. package/dist/schemas/pest-disease-risk.schemas.d.ts +32 -32
  66. package/dist/schemas/prescription-maps.schemas.d.ts +2 -2
  67. package/dist/schemas/seasonal-plans.schemas.d.ts +12 -12
  68. package/dist/schemas/soil-tests.schemas.d.ts +28 -28
  69. package/dist/schemas/team-payments.schemas.d.ts +24 -24
  70. package/dist/schemas/team.schemas.d.ts +18 -18
  71. package/dist/schemas/users.schemas.d.ts +15 -0
  72. package/dist/schemas/users.schemas.d.ts.map +1 -1
  73. package/dist/schemas/users.schemas.js +1 -0
  74. package/dist/schemas/weather.schemas.d.ts +28 -28
  75. package/dist/schemas/yield-prediction.schemas.d.ts +8 -8
  76. package/package.json +1 -1
@@ -54,6 +54,762 @@ export declare const adminCreateUserSchema: z.ZodObject<{
54
54
  phone?: string | undefined;
55
55
  };
56
56
  }>;
57
+ export declare const adminUserListAttributesSchema: z.ZodObject<{
58
+ name: z.ZodString;
59
+ email: z.ZodString;
60
+ phone: z.ZodNullable<z.ZodString>;
61
+ emailVerified: z.ZodBoolean;
62
+ isPlatformAdmin: z.ZodBoolean;
63
+ platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
64
+ hasPassword: z.ZodOptional<z.ZodBoolean>;
65
+ } & {
66
+ createdAt: z.ZodString;
67
+ updatedAt: z.ZodString;
68
+ }, "strip", z.ZodTypeAny, {
69
+ email: string;
70
+ createdAt: string;
71
+ updatedAt: string;
72
+ name: string;
73
+ phone: string | null;
74
+ emailVerified: boolean;
75
+ isPlatformAdmin: boolean;
76
+ platformRole: "super_admin" | null;
77
+ hasPassword?: boolean | undefined;
78
+ }, {
79
+ email: string;
80
+ createdAt: string;
81
+ updatedAt: string;
82
+ name: string;
83
+ phone: string | null;
84
+ emailVerified: boolean;
85
+ isPlatformAdmin: boolean;
86
+ platformRole: "super_admin" | null;
87
+ hasPassword?: boolean | undefined;
88
+ }>;
89
+ export declare const adminUserListResourceSchema: z.ZodObject<{
90
+ type: z.ZodLiteral<string>;
91
+ id: z.ZodString;
92
+ attributes: z.ZodObject<{
93
+ name: z.ZodString;
94
+ email: z.ZodString;
95
+ phone: z.ZodNullable<z.ZodString>;
96
+ emailVerified: z.ZodBoolean;
97
+ isPlatformAdmin: z.ZodBoolean;
98
+ platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
99
+ hasPassword: z.ZodOptional<z.ZodBoolean>;
100
+ } & {
101
+ createdAt: z.ZodString;
102
+ updatedAt: z.ZodString;
103
+ }, "strip", z.ZodTypeAny, {
104
+ email: string;
105
+ createdAt: string;
106
+ updatedAt: string;
107
+ name: string;
108
+ phone: string | null;
109
+ emailVerified: boolean;
110
+ isPlatformAdmin: boolean;
111
+ platformRole: "super_admin" | null;
112
+ hasPassword?: boolean | undefined;
113
+ }, {
114
+ email: string;
115
+ createdAt: string;
116
+ updatedAt: string;
117
+ name: string;
118
+ phone: string | null;
119
+ emailVerified: boolean;
120
+ isPlatformAdmin: boolean;
121
+ platformRole: "super_admin" | null;
122
+ hasPassword?: boolean | undefined;
123
+ }>;
124
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
125
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
126
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ type: string;
129
+ id: string;
130
+ attributes: {
131
+ email: string;
132
+ createdAt: string;
133
+ updatedAt: string;
134
+ name: string;
135
+ phone: string | null;
136
+ emailVerified: boolean;
137
+ isPlatformAdmin: boolean;
138
+ platformRole: "super_admin" | null;
139
+ hasPassword?: boolean | undefined;
140
+ };
141
+ relationships?: Record<string, unknown> | undefined;
142
+ links?: Record<string, string> | undefined;
143
+ meta?: Record<string, unknown> | undefined;
144
+ }, {
145
+ type: string;
146
+ id: string;
147
+ attributes: {
148
+ email: string;
149
+ createdAt: string;
150
+ updatedAt: string;
151
+ name: string;
152
+ phone: string | null;
153
+ emailVerified: boolean;
154
+ isPlatformAdmin: boolean;
155
+ platformRole: "super_admin" | null;
156
+ hasPassword?: boolean | undefined;
157
+ };
158
+ relationships?: Record<string, unknown> | undefined;
159
+ links?: Record<string, string> | undefined;
160
+ meta?: Record<string, unknown> | undefined;
161
+ }>;
162
+ export declare const adminUserListResponseSchema: z.ZodObject<{
163
+ data: z.ZodArray<z.ZodObject<{
164
+ type: z.ZodLiteral<string>;
165
+ id: z.ZodString;
166
+ attributes: z.ZodObject<{
167
+ name: z.ZodString;
168
+ email: z.ZodString;
169
+ phone: z.ZodNullable<z.ZodString>;
170
+ emailVerified: z.ZodBoolean;
171
+ isPlatformAdmin: z.ZodBoolean;
172
+ platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
173
+ hasPassword: z.ZodOptional<z.ZodBoolean>;
174
+ } & {
175
+ createdAt: z.ZodString;
176
+ updatedAt: z.ZodString;
177
+ }, "strip", z.ZodTypeAny, {
178
+ email: string;
179
+ createdAt: string;
180
+ updatedAt: string;
181
+ name: string;
182
+ phone: string | null;
183
+ emailVerified: boolean;
184
+ isPlatformAdmin: boolean;
185
+ platformRole: "super_admin" | null;
186
+ hasPassword?: boolean | undefined;
187
+ }, {
188
+ email: string;
189
+ createdAt: string;
190
+ updatedAt: string;
191
+ name: string;
192
+ phone: string | null;
193
+ emailVerified: boolean;
194
+ isPlatformAdmin: boolean;
195
+ platformRole: "super_admin" | null;
196
+ hasPassword?: boolean | undefined;
197
+ }>;
198
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
199
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
200
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ type: string;
203
+ id: string;
204
+ attributes: {
205
+ email: string;
206
+ createdAt: string;
207
+ updatedAt: string;
208
+ name: string;
209
+ phone: string | null;
210
+ emailVerified: boolean;
211
+ isPlatformAdmin: boolean;
212
+ platformRole: "super_admin" | null;
213
+ hasPassword?: boolean | undefined;
214
+ };
215
+ relationships?: Record<string, unknown> | undefined;
216
+ links?: Record<string, string> | undefined;
217
+ meta?: Record<string, unknown> | undefined;
218
+ }, {
219
+ type: string;
220
+ id: string;
221
+ attributes: {
222
+ email: string;
223
+ createdAt: string;
224
+ updatedAt: string;
225
+ name: string;
226
+ phone: string | null;
227
+ emailVerified: boolean;
228
+ isPlatformAdmin: boolean;
229
+ platformRole: "super_admin" | null;
230
+ hasPassword?: boolean | undefined;
231
+ };
232
+ relationships?: Record<string, unknown> | undefined;
233
+ links?: Record<string, string> | undefined;
234
+ meta?: Record<string, unknown> | undefined;
235
+ }>, "many">;
236
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
237
+ type: z.ZodString;
238
+ id: z.ZodString;
239
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
240
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
241
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
242
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ type: string;
245
+ id: string;
246
+ attributes?: Record<string, unknown> | undefined;
247
+ relationships?: Record<string, unknown> | undefined;
248
+ links?: Record<string, string> | undefined;
249
+ meta?: Record<string, unknown> | undefined;
250
+ }, {
251
+ type: string;
252
+ id: string;
253
+ attributes?: Record<string, unknown> | undefined;
254
+ relationships?: Record<string, unknown> | undefined;
255
+ links?: Record<string, string> | undefined;
256
+ meta?: Record<string, unknown> | undefined;
257
+ }>, "many">>;
258
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
259
+ } & {
260
+ meta: z.ZodOptional<z.ZodObject<{
261
+ totalRecords: z.ZodNumber;
262
+ totalPages: z.ZodNumber;
263
+ currentPage: z.ZodNumber;
264
+ pageSize: z.ZodNumber;
265
+ }, "strip", z.ZodTypeAny, {
266
+ totalRecords: number;
267
+ totalPages: number;
268
+ currentPage: number;
269
+ pageSize: number;
270
+ }, {
271
+ totalRecords: number;
272
+ totalPages: number;
273
+ currentPage: number;
274
+ pageSize: number;
275
+ }>>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ data: {
278
+ type: string;
279
+ id: string;
280
+ attributes: {
281
+ email: string;
282
+ createdAt: string;
283
+ updatedAt: string;
284
+ name: string;
285
+ phone: string | null;
286
+ emailVerified: boolean;
287
+ isPlatformAdmin: boolean;
288
+ platformRole: "super_admin" | null;
289
+ hasPassword?: boolean | undefined;
290
+ };
291
+ relationships?: Record<string, unknown> | undefined;
292
+ links?: Record<string, string> | undefined;
293
+ meta?: Record<string, unknown> | undefined;
294
+ }[];
295
+ links?: Record<string, string> | undefined;
296
+ meta?: {
297
+ totalRecords: number;
298
+ totalPages: number;
299
+ currentPage: number;
300
+ pageSize: number;
301
+ } | undefined;
302
+ included?: {
303
+ type: string;
304
+ id: string;
305
+ attributes?: Record<string, unknown> | undefined;
306
+ relationships?: Record<string, unknown> | undefined;
307
+ links?: Record<string, string> | undefined;
308
+ meta?: Record<string, unknown> | undefined;
309
+ }[] | undefined;
310
+ }, {
311
+ data: {
312
+ type: string;
313
+ id: string;
314
+ attributes: {
315
+ email: string;
316
+ createdAt: string;
317
+ updatedAt: string;
318
+ name: string;
319
+ phone: string | null;
320
+ emailVerified: boolean;
321
+ isPlatformAdmin: boolean;
322
+ platformRole: "super_admin" | null;
323
+ hasPassword?: boolean | undefined;
324
+ };
325
+ relationships?: Record<string, unknown> | undefined;
326
+ links?: Record<string, string> | undefined;
327
+ meta?: Record<string, unknown> | undefined;
328
+ }[];
329
+ links?: Record<string, string> | undefined;
330
+ meta?: {
331
+ totalRecords: number;
332
+ totalPages: number;
333
+ currentPage: number;
334
+ pageSize: number;
335
+ } | undefined;
336
+ included?: {
337
+ type: string;
338
+ id: string;
339
+ attributes?: Record<string, unknown> | undefined;
340
+ relationships?: Record<string, unknown> | undefined;
341
+ links?: Record<string, string> | undefined;
342
+ meta?: Record<string, unknown> | undefined;
343
+ }[] | undefined;
344
+ }>;
345
+ export declare const adminLoginLinkAttributesSchema: z.ZodObject<{
346
+ loginUrl: z.ZodString;
347
+ expiresAt: z.ZodString;
348
+ }, "strip", z.ZodTypeAny, {
349
+ loginUrl: string;
350
+ expiresAt: string;
351
+ }, {
352
+ loginUrl: string;
353
+ expiresAt: string;
354
+ }>;
355
+ export declare const adminLoginLinkResourceSchema: z.ZodObject<{
356
+ type: z.ZodLiteral<string>;
357
+ id: z.ZodString;
358
+ attributes: z.ZodObject<{
359
+ loginUrl: z.ZodString;
360
+ expiresAt: z.ZodString;
361
+ }, "strip", z.ZodTypeAny, {
362
+ loginUrl: string;
363
+ expiresAt: string;
364
+ }, {
365
+ loginUrl: string;
366
+ expiresAt: string;
367
+ }>;
368
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
369
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
370
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
371
+ }, "strip", z.ZodTypeAny, {
372
+ type: string;
373
+ id: string;
374
+ attributes: {
375
+ loginUrl: string;
376
+ expiresAt: string;
377
+ };
378
+ relationships?: Record<string, unknown> | undefined;
379
+ links?: Record<string, string> | undefined;
380
+ meta?: Record<string, unknown> | undefined;
381
+ }, {
382
+ type: string;
383
+ id: string;
384
+ attributes: {
385
+ loginUrl: string;
386
+ expiresAt: string;
387
+ };
388
+ relationships?: Record<string, unknown> | undefined;
389
+ links?: Record<string, string> | undefined;
390
+ meta?: Record<string, unknown> | undefined;
391
+ }>;
392
+ export declare const adminLoginLinkResponseSchema: z.ZodObject<{
393
+ data: z.ZodObject<{
394
+ type: z.ZodLiteral<string>;
395
+ id: z.ZodString;
396
+ attributes: z.ZodObject<{
397
+ loginUrl: z.ZodString;
398
+ expiresAt: z.ZodString;
399
+ }, "strip", z.ZodTypeAny, {
400
+ loginUrl: string;
401
+ expiresAt: string;
402
+ }, {
403
+ loginUrl: string;
404
+ expiresAt: string;
405
+ }>;
406
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
407
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
408
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ type: string;
411
+ id: string;
412
+ attributes: {
413
+ loginUrl: string;
414
+ expiresAt: string;
415
+ };
416
+ relationships?: Record<string, unknown> | undefined;
417
+ links?: Record<string, string> | undefined;
418
+ meta?: Record<string, unknown> | undefined;
419
+ }, {
420
+ type: string;
421
+ id: string;
422
+ attributes: {
423
+ loginUrl: string;
424
+ expiresAt: string;
425
+ };
426
+ relationships?: Record<string, unknown> | undefined;
427
+ links?: Record<string, string> | undefined;
428
+ meta?: Record<string, unknown> | undefined;
429
+ }>;
430
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
431
+ type: z.ZodString;
432
+ id: z.ZodString;
433
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
434
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
435
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
436
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
437
+ }, "strip", z.ZodTypeAny, {
438
+ type: string;
439
+ id: string;
440
+ attributes?: Record<string, unknown> | undefined;
441
+ relationships?: Record<string, unknown> | undefined;
442
+ links?: Record<string, string> | undefined;
443
+ meta?: Record<string, unknown> | undefined;
444
+ }, {
445
+ type: string;
446
+ id: string;
447
+ attributes?: Record<string, unknown> | undefined;
448
+ relationships?: Record<string, unknown> | undefined;
449
+ links?: Record<string, string> | undefined;
450
+ meta?: Record<string, unknown> | undefined;
451
+ }>, "many">>;
452
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
453
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ data: {
456
+ type: string;
457
+ id: string;
458
+ attributes: {
459
+ loginUrl: string;
460
+ expiresAt: string;
461
+ };
462
+ relationships?: Record<string, unknown> | undefined;
463
+ links?: Record<string, string> | undefined;
464
+ meta?: Record<string, unknown> | undefined;
465
+ };
466
+ links?: Record<string, string> | undefined;
467
+ meta?: Record<string, unknown> | undefined;
468
+ included?: {
469
+ type: string;
470
+ id: string;
471
+ attributes?: Record<string, unknown> | undefined;
472
+ relationships?: Record<string, unknown> | undefined;
473
+ links?: Record<string, string> | undefined;
474
+ meta?: Record<string, unknown> | undefined;
475
+ }[] | undefined;
476
+ }, {
477
+ data: {
478
+ type: string;
479
+ id: string;
480
+ attributes: {
481
+ loginUrl: string;
482
+ expiresAt: string;
483
+ };
484
+ relationships?: Record<string, unknown> | undefined;
485
+ links?: Record<string, string> | undefined;
486
+ meta?: Record<string, unknown> | undefined;
487
+ };
488
+ links?: Record<string, string> | undefined;
489
+ meta?: Record<string, unknown> | undefined;
490
+ included?: {
491
+ type: string;
492
+ id: string;
493
+ attributes?: Record<string, unknown> | undefined;
494
+ relationships?: Record<string, unknown> | undefined;
495
+ links?: Record<string, string> | undefined;
496
+ meta?: Record<string, unknown> | undefined;
497
+ }[] | undefined;
498
+ }>;
499
+ export declare const inviteSuperAdminAttributesSchema: z.ZodObject<{
500
+ name: z.ZodString;
501
+ email: z.ZodString;
502
+ }, "strip", z.ZodTypeAny, {
503
+ email: string;
504
+ name: string;
505
+ }, {
506
+ email: string;
507
+ name: string;
508
+ }>;
509
+ export declare const inviteSuperAdminSchema: z.ZodObject<{
510
+ type: z.ZodLiteral<"super-admin-invites">;
511
+ attributes: z.ZodObject<{
512
+ name: z.ZodString;
513
+ email: z.ZodString;
514
+ }, "strip", z.ZodTypeAny, {
515
+ email: string;
516
+ name: string;
517
+ }, {
518
+ email: string;
519
+ name: string;
520
+ }>;
521
+ }, "strip", z.ZodTypeAny, {
522
+ type: "super-admin-invites";
523
+ attributes: {
524
+ email: string;
525
+ name: string;
526
+ };
527
+ }, {
528
+ type: "super-admin-invites";
529
+ attributes: {
530
+ email: string;
531
+ name: string;
532
+ };
533
+ }>;
534
+ export declare const acceptAdminInviteAttributesSchema: z.ZodObject<{
535
+ token: z.ZodString;
536
+ password: z.ZodString;
537
+ }, "strip", z.ZodTypeAny, {
538
+ password: string;
539
+ token: string;
540
+ }, {
541
+ password: string;
542
+ token: string;
543
+ }>;
544
+ export declare const acceptAdminInviteSchema: z.ZodObject<{
545
+ type: z.ZodLiteral<"admin-invite-accept">;
546
+ attributes: z.ZodObject<{
547
+ token: z.ZodString;
548
+ password: z.ZodString;
549
+ }, "strip", z.ZodTypeAny, {
550
+ password: string;
551
+ token: string;
552
+ }, {
553
+ password: string;
554
+ token: string;
555
+ }>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ type: "admin-invite-accept";
558
+ attributes: {
559
+ password: string;
560
+ token: string;
561
+ };
562
+ }, {
563
+ type: "admin-invite-accept";
564
+ attributes: {
565
+ password: string;
566
+ token: string;
567
+ };
568
+ }>;
569
+ export declare const impersonationAttributesSchema: z.ZodObject<{
570
+ accessToken: z.ZodString;
571
+ refreshToken: z.ZodString;
572
+ expiresIn: z.ZodNumber;
573
+ tokenType: z.ZodLiteral<"Bearer">;
574
+ targetUserId: z.ZodString;
575
+ targetName: z.ZodString;
576
+ targetEmail: z.ZodString;
577
+ impersonatedBy: z.ZodString;
578
+ }, "strip", z.ZodTypeAny, {
579
+ refreshToken: string;
580
+ accessToken: string;
581
+ expiresIn: number;
582
+ tokenType: "Bearer";
583
+ targetUserId: string;
584
+ targetName: string;
585
+ targetEmail: string;
586
+ impersonatedBy: string;
587
+ }, {
588
+ refreshToken: string;
589
+ accessToken: string;
590
+ expiresIn: number;
591
+ tokenType: "Bearer";
592
+ targetUserId: string;
593
+ targetName: string;
594
+ targetEmail: string;
595
+ impersonatedBy: string;
596
+ }>;
597
+ export declare const impersonationResourceSchema: z.ZodObject<{
598
+ type: z.ZodLiteral<string>;
599
+ id: z.ZodString;
600
+ attributes: z.ZodObject<{
601
+ accessToken: z.ZodString;
602
+ refreshToken: z.ZodString;
603
+ expiresIn: z.ZodNumber;
604
+ tokenType: z.ZodLiteral<"Bearer">;
605
+ targetUserId: z.ZodString;
606
+ targetName: z.ZodString;
607
+ targetEmail: z.ZodString;
608
+ impersonatedBy: z.ZodString;
609
+ }, "strip", z.ZodTypeAny, {
610
+ refreshToken: string;
611
+ accessToken: string;
612
+ expiresIn: number;
613
+ tokenType: "Bearer";
614
+ targetUserId: string;
615
+ targetName: string;
616
+ targetEmail: string;
617
+ impersonatedBy: string;
618
+ }, {
619
+ refreshToken: string;
620
+ accessToken: string;
621
+ expiresIn: number;
622
+ tokenType: "Bearer";
623
+ targetUserId: string;
624
+ targetName: string;
625
+ targetEmail: string;
626
+ impersonatedBy: string;
627
+ }>;
628
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
629
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
630
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ type: string;
633
+ id: string;
634
+ attributes: {
635
+ refreshToken: string;
636
+ accessToken: string;
637
+ expiresIn: number;
638
+ tokenType: "Bearer";
639
+ targetUserId: string;
640
+ targetName: string;
641
+ targetEmail: string;
642
+ impersonatedBy: string;
643
+ };
644
+ relationships?: Record<string, unknown> | undefined;
645
+ links?: Record<string, string> | undefined;
646
+ meta?: Record<string, unknown> | undefined;
647
+ }, {
648
+ type: string;
649
+ id: string;
650
+ attributes: {
651
+ refreshToken: string;
652
+ accessToken: string;
653
+ expiresIn: number;
654
+ tokenType: "Bearer";
655
+ targetUserId: string;
656
+ targetName: string;
657
+ targetEmail: string;
658
+ impersonatedBy: string;
659
+ };
660
+ relationships?: Record<string, unknown> | undefined;
661
+ links?: Record<string, string> | undefined;
662
+ meta?: Record<string, unknown> | undefined;
663
+ }>;
664
+ export declare const impersonationResponseSchema: z.ZodObject<{
665
+ data: z.ZodObject<{
666
+ type: z.ZodLiteral<string>;
667
+ id: z.ZodString;
668
+ attributes: z.ZodObject<{
669
+ accessToken: z.ZodString;
670
+ refreshToken: z.ZodString;
671
+ expiresIn: z.ZodNumber;
672
+ tokenType: z.ZodLiteral<"Bearer">;
673
+ targetUserId: z.ZodString;
674
+ targetName: z.ZodString;
675
+ targetEmail: z.ZodString;
676
+ impersonatedBy: z.ZodString;
677
+ }, "strip", z.ZodTypeAny, {
678
+ refreshToken: string;
679
+ accessToken: string;
680
+ expiresIn: number;
681
+ tokenType: "Bearer";
682
+ targetUserId: string;
683
+ targetName: string;
684
+ targetEmail: string;
685
+ impersonatedBy: string;
686
+ }, {
687
+ refreshToken: string;
688
+ accessToken: string;
689
+ expiresIn: number;
690
+ tokenType: "Bearer";
691
+ targetUserId: string;
692
+ targetName: string;
693
+ targetEmail: string;
694
+ impersonatedBy: string;
695
+ }>;
696
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
697
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
698
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ type: string;
701
+ id: string;
702
+ attributes: {
703
+ refreshToken: string;
704
+ accessToken: string;
705
+ expiresIn: number;
706
+ tokenType: "Bearer";
707
+ targetUserId: string;
708
+ targetName: string;
709
+ targetEmail: string;
710
+ impersonatedBy: string;
711
+ };
712
+ relationships?: Record<string, unknown> | undefined;
713
+ links?: Record<string, string> | undefined;
714
+ meta?: Record<string, unknown> | undefined;
715
+ }, {
716
+ type: string;
717
+ id: string;
718
+ attributes: {
719
+ refreshToken: string;
720
+ accessToken: string;
721
+ expiresIn: number;
722
+ tokenType: "Bearer";
723
+ targetUserId: string;
724
+ targetName: string;
725
+ targetEmail: string;
726
+ impersonatedBy: string;
727
+ };
728
+ relationships?: Record<string, unknown> | undefined;
729
+ links?: Record<string, string> | undefined;
730
+ meta?: Record<string, unknown> | undefined;
731
+ }>;
732
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
733
+ type: z.ZodString;
734
+ id: z.ZodString;
735
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
736
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
737
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
738
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
739
+ }, "strip", z.ZodTypeAny, {
740
+ type: string;
741
+ id: string;
742
+ attributes?: Record<string, unknown> | undefined;
743
+ relationships?: Record<string, unknown> | undefined;
744
+ links?: Record<string, string> | undefined;
745
+ meta?: Record<string, unknown> | undefined;
746
+ }, {
747
+ type: string;
748
+ id: string;
749
+ attributes?: Record<string, unknown> | undefined;
750
+ relationships?: Record<string, unknown> | undefined;
751
+ links?: Record<string, string> | undefined;
752
+ meta?: Record<string, unknown> | undefined;
753
+ }>, "many">>;
754
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
755
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
756
+ }, "strip", z.ZodTypeAny, {
757
+ data: {
758
+ type: string;
759
+ id: string;
760
+ attributes: {
761
+ refreshToken: string;
762
+ accessToken: string;
763
+ expiresIn: number;
764
+ tokenType: "Bearer";
765
+ targetUserId: string;
766
+ targetName: string;
767
+ targetEmail: string;
768
+ impersonatedBy: string;
769
+ };
770
+ relationships?: Record<string, unknown> | undefined;
771
+ links?: Record<string, string> | undefined;
772
+ meta?: Record<string, unknown> | undefined;
773
+ };
774
+ links?: Record<string, string> | undefined;
775
+ meta?: Record<string, unknown> | undefined;
776
+ included?: {
777
+ type: string;
778
+ id: string;
779
+ attributes?: Record<string, unknown> | undefined;
780
+ relationships?: Record<string, unknown> | undefined;
781
+ links?: Record<string, string> | undefined;
782
+ meta?: Record<string, unknown> | undefined;
783
+ }[] | undefined;
784
+ }, {
785
+ data: {
786
+ type: string;
787
+ id: string;
788
+ attributes: {
789
+ refreshToken: string;
790
+ accessToken: string;
791
+ expiresIn: number;
792
+ tokenType: "Bearer";
793
+ targetUserId: string;
794
+ targetName: string;
795
+ targetEmail: string;
796
+ impersonatedBy: string;
797
+ };
798
+ relationships?: Record<string, unknown> | undefined;
799
+ links?: Record<string, string> | undefined;
800
+ meta?: Record<string, unknown> | undefined;
801
+ };
802
+ links?: Record<string, string> | undefined;
803
+ meta?: Record<string, unknown> | undefined;
804
+ included?: {
805
+ type: string;
806
+ id: string;
807
+ attributes?: Record<string, unknown> | undefined;
808
+ relationships?: Record<string, unknown> | undefined;
809
+ links?: Record<string, string> | undefined;
810
+ meta?: Record<string, unknown> | undefined;
811
+ }[] | undefined;
812
+ }>;
57
813
  export declare const sourceStatsSchema: z.ZodObject<{
58
814
  recommendations: z.ZodNumber;
59
815
  tasksCreated: z.ZodNumber;
@@ -65,22 +821,22 @@ export declare const sourceStatsSchema: z.ZodObject<{
65
821
  successRate: z.ZodOptional<z.ZodNumber>;
66
822
  }, "strip", z.ZodTypeAny, {
67
823
  recommendations: number;
68
- skipped: number;
69
824
  tasksCreated: number;
70
825
  tasksUpdated: number;
826
+ skipped: number;
71
827
  avgConfidence: number;
72
828
  tasksCompleted?: number | undefined;
73
- successRate?: number | undefined;
74
829
  successfulOutcomes?: number | undefined;
830
+ successRate?: number | undefined;
75
831
  }, {
76
832
  recommendations: number;
77
- skipped: number;
78
833
  tasksCreated: number;
79
834
  tasksUpdated: number;
835
+ skipped: number;
80
836
  avgConfidence: number;
81
837
  tasksCompleted?: number | undefined;
82
- successRate?: number | undefined;
83
838
  successfulOutcomes?: number | undefined;
839
+ successRate?: number | undefined;
84
840
  }>;
85
841
  export declare const crossSourceMatchSchema: z.ZodObject<{
86
842
  issueType: z.ZodString;
@@ -108,13 +864,13 @@ export declare const effectivenessSchema: z.ZodObject<{
108
864
  avgImprovementScore: z.ZodNumber;
109
865
  }, "strip", z.ZodTypeAny, {
110
866
  tasksCompleted: number;
111
- successRate: number;
112
867
  successfulOutcomes: number;
868
+ successRate: number;
113
869
  avgImprovementScore: number;
114
870
  }, {
115
871
  tasksCompleted: number;
116
- successRate: number;
117
872
  successfulOutcomes: number;
873
+ successRate: number;
118
874
  avgImprovementScore: number;
119
875
  }>;
120
876
  export declare const learnedPatternSchema: z.ZodObject<{
@@ -144,15 +900,15 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
144
900
  skipped: z.ZodNumber;
145
901
  deduplicationRate: z.ZodNumber;
146
902
  }, "strip", z.ZodTypeAny, {
147
- skipped: number;
148
903
  tasksCreated: number;
149
904
  tasksUpdated: number;
905
+ skipped: number;
150
906
  deduplicationRate: number;
151
907
  totalRecommendations: number;
152
908
  }, {
153
- skipped: number;
154
909
  tasksCreated: number;
155
910
  tasksUpdated: number;
911
+ skipped: number;
156
912
  deduplicationRate: number;
157
913
  totalRecommendations: number;
158
914
  }>;
@@ -167,22 +923,22 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
167
923
  successRate: z.ZodOptional<z.ZodNumber>;
168
924
  }, "strip", z.ZodTypeAny, {
169
925
  recommendations: number;
170
- skipped: number;
171
926
  tasksCreated: number;
172
927
  tasksUpdated: number;
928
+ skipped: number;
173
929
  avgConfidence: number;
174
930
  tasksCompleted?: number | undefined;
175
- successRate?: number | undefined;
176
931
  successfulOutcomes?: number | undefined;
932
+ successRate?: number | undefined;
177
933
  }, {
178
934
  recommendations: number;
179
- skipped: number;
180
935
  tasksCreated: number;
181
936
  tasksUpdated: number;
937
+ skipped: number;
182
938
  avgConfidence: number;
183
939
  tasksCompleted?: number | undefined;
184
- successRate?: number | undefined;
185
940
  successfulOutcomes?: number | undefined;
941
+ successRate?: number | undefined;
186
942
  }>>;
187
943
  crossSourceMatches: z.ZodArray<z.ZodObject<{
188
944
  issueType: z.ZodString;
@@ -210,13 +966,13 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
210
966
  avgImprovementScore: z.ZodNumber;
211
967
  }, "strip", z.ZodTypeAny, {
212
968
  tasksCompleted: number;
213
- successRate: number;
214
969
  successfulOutcomes: number;
970
+ successRate: number;
215
971
  avgImprovementScore: number;
216
972
  }, {
217
973
  tasksCompleted: number;
218
- successRate: number;
219
974
  successfulOutcomes: number;
975
+ successRate: number;
220
976
  avgImprovementScore: number;
221
977
  }>>;
222
978
  learnedPatterns: z.ZodObject<{
@@ -261,21 +1017,21 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
261
1017
  }>;
262
1018
  }, "strip", z.ZodTypeAny, {
263
1019
  overall: {
264
- skipped: number;
265
1020
  tasksCreated: number;
266
1021
  tasksUpdated: number;
1022
+ skipped: number;
267
1023
  deduplicationRate: number;
268
1024
  totalRecommendations: number;
269
1025
  };
270
1026
  bySource: Record<string, {
271
1027
  recommendations: number;
272
- skipped: number;
273
1028
  tasksCreated: number;
274
1029
  tasksUpdated: number;
1030
+ skipped: number;
275
1031
  avgConfidence: number;
276
1032
  tasksCompleted?: number | undefined;
277
- successRate?: number | undefined;
278
1033
  successfulOutcomes?: number | undefined;
1034
+ successRate?: number | undefined;
279
1035
  }>;
280
1036
  crossSourceMatches: {
281
1037
  tasksCreated: number;
@@ -286,8 +1042,8 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
286
1042
  }[];
287
1043
  effectiveness: Record<string, {
288
1044
  tasksCompleted: number;
289
- successRate: number;
290
1045
  successfulOutcomes: number;
1046
+ successRate: number;
291
1047
  avgImprovementScore: number;
292
1048
  }>;
293
1049
  learnedPatterns: {
@@ -302,21 +1058,21 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
302
1058
  };
303
1059
  }, {
304
1060
  overall: {
305
- skipped: number;
306
1061
  tasksCreated: number;
307
1062
  tasksUpdated: number;
1063
+ skipped: number;
308
1064
  deduplicationRate: number;
309
1065
  totalRecommendations: number;
310
1066
  };
311
1067
  bySource: Record<string, {
312
1068
  recommendations: number;
313
- skipped: number;
314
1069
  tasksCreated: number;
315
1070
  tasksUpdated: number;
1071
+ skipped: number;
316
1072
  avgConfidence: number;
317
1073
  tasksCompleted?: number | undefined;
318
- successRate?: number | undefined;
319
1074
  successfulOutcomes?: number | undefined;
1075
+ successRate?: number | undefined;
320
1076
  }>;
321
1077
  crossSourceMatches: {
322
1078
  tasksCreated: number;
@@ -327,8 +1083,8 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
327
1083
  }[];
328
1084
  effectiveness: Record<string, {
329
1085
  tasksCompleted: number;
330
- successRate: number;
331
1086
  successfulOutcomes: number;
1087
+ successRate: number;
332
1088
  avgImprovementScore: number;
333
1089
  }>;
334
1090
  learnedPatterns: {
@@ -353,15 +1109,15 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
353
1109
  skipped: z.ZodNumber;
354
1110
  deduplicationRate: z.ZodNumber;
355
1111
  }, "strip", z.ZodTypeAny, {
356
- skipped: number;
357
1112
  tasksCreated: number;
358
1113
  tasksUpdated: number;
1114
+ skipped: number;
359
1115
  deduplicationRate: number;
360
1116
  totalRecommendations: number;
361
1117
  }, {
362
- skipped: number;
363
1118
  tasksCreated: number;
364
1119
  tasksUpdated: number;
1120
+ skipped: number;
365
1121
  deduplicationRate: number;
366
1122
  totalRecommendations: number;
367
1123
  }>;
@@ -376,22 +1132,22 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
376
1132
  successRate: z.ZodOptional<z.ZodNumber>;
377
1133
  }, "strip", z.ZodTypeAny, {
378
1134
  recommendations: number;
379
- skipped: number;
380
1135
  tasksCreated: number;
381
1136
  tasksUpdated: number;
1137
+ skipped: number;
382
1138
  avgConfidence: number;
383
1139
  tasksCompleted?: number | undefined;
384
- successRate?: number | undefined;
385
1140
  successfulOutcomes?: number | undefined;
1141
+ successRate?: number | undefined;
386
1142
  }, {
387
1143
  recommendations: number;
388
- skipped: number;
389
1144
  tasksCreated: number;
390
1145
  tasksUpdated: number;
1146
+ skipped: number;
391
1147
  avgConfidence: number;
392
1148
  tasksCompleted?: number | undefined;
393
- successRate?: number | undefined;
394
1149
  successfulOutcomes?: number | undefined;
1150
+ successRate?: number | undefined;
395
1151
  }>>;
396
1152
  crossSourceMatches: z.ZodArray<z.ZodObject<{
397
1153
  issueType: z.ZodString;
@@ -419,13 +1175,13 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
419
1175
  avgImprovementScore: z.ZodNumber;
420
1176
  }, "strip", z.ZodTypeAny, {
421
1177
  tasksCompleted: number;
422
- successRate: number;
423
1178
  successfulOutcomes: number;
1179
+ successRate: number;
424
1180
  avgImprovementScore: number;
425
1181
  }, {
426
1182
  tasksCompleted: number;
427
- successRate: number;
428
1183
  successfulOutcomes: number;
1184
+ successRate: number;
429
1185
  avgImprovementScore: number;
430
1186
  }>>;
431
1187
  learnedPatterns: z.ZodObject<{
@@ -470,21 +1226,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
470
1226
  }>;
471
1227
  }, "strip", z.ZodTypeAny, {
472
1228
  overall: {
473
- skipped: number;
474
1229
  tasksCreated: number;
475
1230
  tasksUpdated: number;
1231
+ skipped: number;
476
1232
  deduplicationRate: number;
477
1233
  totalRecommendations: number;
478
1234
  };
479
1235
  bySource: Record<string, {
480
1236
  recommendations: number;
481
- skipped: number;
482
1237
  tasksCreated: number;
483
1238
  tasksUpdated: number;
1239
+ skipped: number;
484
1240
  avgConfidence: number;
485
1241
  tasksCompleted?: number | undefined;
486
- successRate?: number | undefined;
487
1242
  successfulOutcomes?: number | undefined;
1243
+ successRate?: number | undefined;
488
1244
  }>;
489
1245
  crossSourceMatches: {
490
1246
  tasksCreated: number;
@@ -495,8 +1251,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
495
1251
  }[];
496
1252
  effectiveness: Record<string, {
497
1253
  tasksCompleted: number;
498
- successRate: number;
499
1254
  successfulOutcomes: number;
1255
+ successRate: number;
500
1256
  avgImprovementScore: number;
501
1257
  }>;
502
1258
  learnedPatterns: {
@@ -511,21 +1267,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
511
1267
  };
512
1268
  }, {
513
1269
  overall: {
514
- skipped: number;
515
1270
  tasksCreated: number;
516
1271
  tasksUpdated: number;
1272
+ skipped: number;
517
1273
  deduplicationRate: number;
518
1274
  totalRecommendations: number;
519
1275
  };
520
1276
  bySource: Record<string, {
521
1277
  recommendations: number;
522
- skipped: number;
523
1278
  tasksCreated: number;
524
1279
  tasksUpdated: number;
1280
+ skipped: number;
525
1281
  avgConfidence: number;
526
1282
  tasksCompleted?: number | undefined;
527
- successRate?: number | undefined;
528
1283
  successfulOutcomes?: number | undefined;
1284
+ successRate?: number | undefined;
529
1285
  }>;
530
1286
  crossSourceMatches: {
531
1287
  tasksCreated: number;
@@ -536,8 +1292,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
536
1292
  }[];
537
1293
  effectiveness: Record<string, {
538
1294
  tasksCompleted: number;
539
- successRate: number;
540
1295
  successfulOutcomes: number;
1296
+ successRate: number;
541
1297
  avgImprovementScore: number;
542
1298
  }>;
543
1299
  learnedPatterns: {
@@ -559,21 +1315,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
559
1315
  id: string;
560
1316
  attributes: {
561
1317
  overall: {
562
- skipped: number;
563
1318
  tasksCreated: number;
564
1319
  tasksUpdated: number;
1320
+ skipped: number;
565
1321
  deduplicationRate: number;
566
1322
  totalRecommendations: number;
567
1323
  };
568
1324
  bySource: Record<string, {
569
1325
  recommendations: number;
570
- skipped: number;
571
1326
  tasksCreated: number;
572
1327
  tasksUpdated: number;
1328
+ skipped: number;
573
1329
  avgConfidence: number;
574
1330
  tasksCompleted?: number | undefined;
575
- successRate?: number | undefined;
576
1331
  successfulOutcomes?: number | undefined;
1332
+ successRate?: number | undefined;
577
1333
  }>;
578
1334
  crossSourceMatches: {
579
1335
  tasksCreated: number;
@@ -584,8 +1340,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
584
1340
  }[];
585
1341
  effectiveness: Record<string, {
586
1342
  tasksCompleted: number;
587
- successRate: number;
588
1343
  successfulOutcomes: number;
1344
+ successRate: number;
589
1345
  avgImprovementScore: number;
590
1346
  }>;
591
1347
  learnedPatterns: {
@@ -607,21 +1363,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
607
1363
  id: string;
608
1364
  attributes: {
609
1365
  overall: {
610
- skipped: number;
611
1366
  tasksCreated: number;
612
1367
  tasksUpdated: number;
1368
+ skipped: number;
613
1369
  deduplicationRate: number;
614
1370
  totalRecommendations: number;
615
1371
  };
616
1372
  bySource: Record<string, {
617
1373
  recommendations: number;
618
- skipped: number;
619
1374
  tasksCreated: number;
620
1375
  tasksUpdated: number;
1376
+ skipped: number;
621
1377
  avgConfidence: number;
622
1378
  tasksCompleted?: number | undefined;
623
- successRate?: number | undefined;
624
1379
  successfulOutcomes?: number | undefined;
1380
+ successRate?: number | undefined;
625
1381
  }>;
626
1382
  crossSourceMatches: {
627
1383
  tasksCreated: number;
@@ -632,8 +1388,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
632
1388
  }[];
633
1389
  effectiveness: Record<string, {
634
1390
  tasksCompleted: number;
635
- successRate: number;
636
1391
  successfulOutcomes: number;
1392
+ successRate: number;
637
1393
  avgImprovementScore: number;
638
1394
  }>;
639
1395
  learnedPatterns: {
@@ -663,15 +1419,15 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
663
1419
  skipped: z.ZodNumber;
664
1420
  deduplicationRate: z.ZodNumber;
665
1421
  }, "strip", z.ZodTypeAny, {
666
- skipped: number;
667
1422
  tasksCreated: number;
668
1423
  tasksUpdated: number;
1424
+ skipped: number;
669
1425
  deduplicationRate: number;
670
1426
  totalRecommendations: number;
671
1427
  }, {
672
- skipped: number;
673
1428
  tasksCreated: number;
674
1429
  tasksUpdated: number;
1430
+ skipped: number;
675
1431
  deduplicationRate: number;
676
1432
  totalRecommendations: number;
677
1433
  }>;
@@ -686,22 +1442,22 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
686
1442
  successRate: z.ZodOptional<z.ZodNumber>;
687
1443
  }, "strip", z.ZodTypeAny, {
688
1444
  recommendations: number;
689
- skipped: number;
690
1445
  tasksCreated: number;
691
1446
  tasksUpdated: number;
1447
+ skipped: number;
692
1448
  avgConfidence: number;
693
1449
  tasksCompleted?: number | undefined;
694
- successRate?: number | undefined;
695
1450
  successfulOutcomes?: number | undefined;
1451
+ successRate?: number | undefined;
696
1452
  }, {
697
1453
  recommendations: number;
698
- skipped: number;
699
1454
  tasksCreated: number;
700
1455
  tasksUpdated: number;
1456
+ skipped: number;
701
1457
  avgConfidence: number;
702
1458
  tasksCompleted?: number | undefined;
703
- successRate?: number | undefined;
704
1459
  successfulOutcomes?: number | undefined;
1460
+ successRate?: number | undefined;
705
1461
  }>>;
706
1462
  crossSourceMatches: z.ZodArray<z.ZodObject<{
707
1463
  issueType: z.ZodString;
@@ -729,13 +1485,13 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
729
1485
  avgImprovementScore: z.ZodNumber;
730
1486
  }, "strip", z.ZodTypeAny, {
731
1487
  tasksCompleted: number;
732
- successRate: number;
733
1488
  successfulOutcomes: number;
1489
+ successRate: number;
734
1490
  avgImprovementScore: number;
735
1491
  }, {
736
1492
  tasksCompleted: number;
737
- successRate: number;
738
1493
  successfulOutcomes: number;
1494
+ successRate: number;
739
1495
  avgImprovementScore: number;
740
1496
  }>>;
741
1497
  learnedPatterns: z.ZodObject<{
@@ -780,21 +1536,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
780
1536
  }>;
781
1537
  }, "strip", z.ZodTypeAny, {
782
1538
  overall: {
783
- skipped: number;
784
1539
  tasksCreated: number;
785
1540
  tasksUpdated: number;
1541
+ skipped: number;
786
1542
  deduplicationRate: number;
787
1543
  totalRecommendations: number;
788
1544
  };
789
1545
  bySource: Record<string, {
790
1546
  recommendations: number;
791
- skipped: number;
792
1547
  tasksCreated: number;
793
1548
  tasksUpdated: number;
1549
+ skipped: number;
794
1550
  avgConfidence: number;
795
1551
  tasksCompleted?: number | undefined;
796
- successRate?: number | undefined;
797
1552
  successfulOutcomes?: number | undefined;
1553
+ successRate?: number | undefined;
798
1554
  }>;
799
1555
  crossSourceMatches: {
800
1556
  tasksCreated: number;
@@ -805,8 +1561,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
805
1561
  }[];
806
1562
  effectiveness: Record<string, {
807
1563
  tasksCompleted: number;
808
- successRate: number;
809
1564
  successfulOutcomes: number;
1565
+ successRate: number;
810
1566
  avgImprovementScore: number;
811
1567
  }>;
812
1568
  learnedPatterns: {
@@ -821,21 +1577,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
821
1577
  };
822
1578
  }, {
823
1579
  overall: {
824
- skipped: number;
825
1580
  tasksCreated: number;
826
1581
  tasksUpdated: number;
1582
+ skipped: number;
827
1583
  deduplicationRate: number;
828
1584
  totalRecommendations: number;
829
1585
  };
830
1586
  bySource: Record<string, {
831
1587
  recommendations: number;
832
- skipped: number;
833
1588
  tasksCreated: number;
834
1589
  tasksUpdated: number;
1590
+ skipped: number;
835
1591
  avgConfidence: number;
836
1592
  tasksCompleted?: number | undefined;
837
- successRate?: number | undefined;
838
1593
  successfulOutcomes?: number | undefined;
1594
+ successRate?: number | undefined;
839
1595
  }>;
840
1596
  crossSourceMatches: {
841
1597
  tasksCreated: number;
@@ -846,8 +1602,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
846
1602
  }[];
847
1603
  effectiveness: Record<string, {
848
1604
  tasksCompleted: number;
849
- successRate: number;
850
1605
  successfulOutcomes: number;
1606
+ successRate: number;
851
1607
  avgImprovementScore: number;
852
1608
  }>;
853
1609
  learnedPatterns: {
@@ -869,21 +1625,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
869
1625
  id: string;
870
1626
  attributes: {
871
1627
  overall: {
872
- skipped: number;
873
1628
  tasksCreated: number;
874
1629
  tasksUpdated: number;
1630
+ skipped: number;
875
1631
  deduplicationRate: number;
876
1632
  totalRecommendations: number;
877
1633
  };
878
1634
  bySource: Record<string, {
879
1635
  recommendations: number;
880
- skipped: number;
881
1636
  tasksCreated: number;
882
1637
  tasksUpdated: number;
1638
+ skipped: number;
883
1639
  avgConfidence: number;
884
1640
  tasksCompleted?: number | undefined;
885
- successRate?: number | undefined;
886
1641
  successfulOutcomes?: number | undefined;
1642
+ successRate?: number | undefined;
887
1643
  }>;
888
1644
  crossSourceMatches: {
889
1645
  tasksCreated: number;
@@ -894,8 +1650,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
894
1650
  }[];
895
1651
  effectiveness: Record<string, {
896
1652
  tasksCompleted: number;
897
- successRate: number;
898
1653
  successfulOutcomes: number;
1654
+ successRate: number;
899
1655
  avgImprovementScore: number;
900
1656
  }>;
901
1657
  learnedPatterns: {
@@ -917,21 +1673,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
917
1673
  id: string;
918
1674
  attributes: {
919
1675
  overall: {
920
- skipped: number;
921
1676
  tasksCreated: number;
922
1677
  tasksUpdated: number;
1678
+ skipped: number;
923
1679
  deduplicationRate: number;
924
1680
  totalRecommendations: number;
925
1681
  };
926
1682
  bySource: Record<string, {
927
1683
  recommendations: number;
928
- skipped: number;
929
1684
  tasksCreated: number;
930
1685
  tasksUpdated: number;
1686
+ skipped: number;
931
1687
  avgConfidence: number;
932
1688
  tasksCompleted?: number | undefined;
933
- successRate?: number | undefined;
934
1689
  successfulOutcomes?: number | undefined;
1690
+ successRate?: number | undefined;
935
1691
  }>;
936
1692
  crossSourceMatches: {
937
1693
  tasksCreated: number;
@@ -942,8 +1698,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
942
1698
  }[];
943
1699
  effectiveness: Record<string, {
944
1700
  tasksCompleted: number;
945
- successRate: number;
946
1701
  successfulOutcomes: number;
1702
+ successRate: number;
947
1703
  avgImprovementScore: number;
948
1704
  }>;
949
1705
  learnedPatterns: {
@@ -991,21 +1747,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
991
1747
  id: string;
992
1748
  attributes: {
993
1749
  overall: {
994
- skipped: number;
995
1750
  tasksCreated: number;
996
1751
  tasksUpdated: number;
1752
+ skipped: number;
997
1753
  deduplicationRate: number;
998
1754
  totalRecommendations: number;
999
1755
  };
1000
1756
  bySource: Record<string, {
1001
1757
  recommendations: number;
1002
- skipped: number;
1003
1758
  tasksCreated: number;
1004
1759
  tasksUpdated: number;
1760
+ skipped: number;
1005
1761
  avgConfidence: number;
1006
1762
  tasksCompleted?: number | undefined;
1007
- successRate?: number | undefined;
1008
1763
  successfulOutcomes?: number | undefined;
1764
+ successRate?: number | undefined;
1009
1765
  }>;
1010
1766
  crossSourceMatches: {
1011
1767
  tasksCreated: number;
@@ -1016,8 +1772,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
1016
1772
  }[];
1017
1773
  effectiveness: Record<string, {
1018
1774
  tasksCompleted: number;
1019
- successRate: number;
1020
1775
  successfulOutcomes: number;
1776
+ successRate: number;
1021
1777
  avgImprovementScore: number;
1022
1778
  }>;
1023
1779
  learnedPatterns: {
@@ -1051,21 +1807,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
1051
1807
  id: string;
1052
1808
  attributes: {
1053
1809
  overall: {
1054
- skipped: number;
1055
1810
  tasksCreated: number;
1056
1811
  tasksUpdated: number;
1812
+ skipped: number;
1057
1813
  deduplicationRate: number;
1058
1814
  totalRecommendations: number;
1059
1815
  };
1060
1816
  bySource: Record<string, {
1061
1817
  recommendations: number;
1062
- skipped: number;
1063
1818
  tasksCreated: number;
1064
1819
  tasksUpdated: number;
1820
+ skipped: number;
1065
1821
  avgConfidence: number;
1066
1822
  tasksCompleted?: number | undefined;
1067
- successRate?: number | undefined;
1068
1823
  successfulOutcomes?: number | undefined;
1824
+ successRate?: number | undefined;
1069
1825
  }>;
1070
1826
  crossSourceMatches: {
1071
1827
  tasksCreated: number;
@@ -1076,8 +1832,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
1076
1832
  }[];
1077
1833
  effectiveness: Record<string, {
1078
1834
  tasksCompleted: number;
1079
- successRate: number;
1080
1835
  successfulOutcomes: number;
1836
+ successRate: number;
1081
1837
  avgImprovementScore: number;
1082
1838
  }>;
1083
1839
  learnedPatterns: {
@@ -1106,13 +1862,19 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
1106
1862
  meta?: Record<string, unknown> | undefined;
1107
1863
  }[] | undefined;
1108
1864
  }>;
1865
+ export type AdminCreateUserAttributes = z.infer<typeof adminCreateUserAttributesSchema>;
1866
+ export type AdminCreateUserInput = z.infer<typeof adminCreateUserSchema>;
1867
+ export type AdminCreateUserResponse = z.infer<typeof userResponseSchema>;
1868
+ export type AdminUserListAttributes = z.infer<typeof adminUserListAttributesSchema>;
1869
+ export type AdminUserListResponse = z.infer<typeof adminUserListResponseSchema>;
1870
+ export type AdminLoginLinkResponse = z.infer<typeof adminLoginLinkResponseSchema>;
1871
+ export type InviteSuperAdminInput = z.infer<typeof inviteSuperAdminSchema>;
1872
+ export type AcceptAdminInviteInput = z.infer<typeof acceptAdminInviteSchema>;
1873
+ export type ImpersonationResponse = z.infer<typeof impersonationResponseSchema>;
1109
1874
  export type SourceStats = z.infer<typeof sourceStatsSchema>;
1110
1875
  export type CrossSourceMatch = z.infer<typeof crossSourceMatchSchema>;
1111
1876
  export type Effectiveness = z.infer<typeof effectivenessSchema>;
1112
1877
  export type LearnedPattern = z.infer<typeof learnedPatternSchema>;
1113
1878
  export type AutonomousMonitoringStatsAttributes = z.infer<typeof autonomousMonitoringStatsAttributesSchema>;
1114
1879
  export type AutonomousMonitoringStatsResponse = z.infer<typeof autonomousMonitoringStatsResponseSchema>;
1115
- export type AdminCreateUserAttributes = z.infer<typeof adminCreateUserAttributesSchema>;
1116
- export type AdminCreateUserInput = z.infer<typeof adminCreateUserSchema>;
1117
- export type AdminCreateUserResponse = z.infer<typeof userResponseSchema>;
1118
1880
  //# sourceMappingURL=admin.schemas.d.ts.map