@deepintel-ltd/farmpro-contracts 1.11.3 → 1.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/admin.routes.d.ts +2591 -59
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +68 -6
- package/dist/routes/agent-workflows.routes.d.ts +140 -140
- package/dist/routes/agents.routes.d.ts +6 -6
- package/dist/routes/analytics.routes.d.ts +6 -6
- package/dist/routes/auth.routes.d.ts +503 -0
- package/dist/routes/auth.routes.d.ts.map +1 -1
- package/dist/routes/auth.routes.js +15 -0
- package/dist/routes/crop-profile.routes.d.ts +18 -18
- package/dist/routes/documents.routes.d.ts +58 -58
- package/dist/routes/equipment.routes.d.ts +62 -62
- package/dist/routes/extension.routes.d.ts +6 -6
- package/dist/routes/farm-status.routes.d.ts +6 -6
- package/dist/routes/farms.routes.d.ts +35 -0
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/fertigation.routes.d.ts +76 -76
- package/dist/routes/field-monitoring.routes.d.ts +34 -34
- package/dist/routes/field-observations.routes.d.ts +170 -170
- package/dist/routes/finance.routes.d.ts +6 -6
- package/dist/routes/geofences.routes.d.ts +8 -8
- package/dist/routes/irrigation.routes.d.ts +22 -22
- package/dist/routes/live-monitor.routes.d.ts +2 -2
- package/dist/routes/livestock-groups.routes.d.ts +30 -30
- package/dist/routes/livestock.routes.d.ts +24 -24
- package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +48 -48
- package/dist/routes/prescription-maps.routes.d.ts +2 -2
- package/dist/routes/seasonal-plans.routes.d.ts +6 -6
- package/dist/routes/soil-tests.routes.d.ts +30 -30
- package/dist/routes/subscriptions.routes.d.ts +2 -2
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/team.routes.d.ts +24 -24
- package/dist/routes/users.routes.d.ts +14 -0
- package/dist/routes/users.routes.d.ts.map +1 -1
- package/dist/routes/weather.routes.d.ts +14 -14
- package/dist/routes/yield-prediction.routes.d.ts +48 -48
- package/dist/schemas/admin.schemas.d.ts +470 -84
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +46 -0
- package/dist/schemas/agent-workflows.schemas.d.ts +111 -111
- package/dist/schemas/agents.schemas.d.ts +6 -6
- package/dist/schemas/analytics.schemas.d.ts +12 -12
- package/dist/schemas/crop-profile.schemas.d.ts +26 -26
- package/dist/schemas/documents.schemas.d.ts +48 -48
- package/dist/schemas/equipment.schemas.d.ts +48 -48
- package/dist/schemas/extension.schemas.d.ts +12 -12
- package/dist/schemas/farm-status.schemas.d.ts +8 -8
- package/dist/schemas/farms.schemas.d.ts +48 -0
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +3 -0
- package/dist/schemas/fertigation.schemas.d.ts +20 -20
- package/dist/schemas/field-monitoring.schemas.d.ts +26 -26
- package/dist/schemas/field-observations.schemas.d.ts +126 -126
- package/dist/schemas/finance.schemas.d.ts +6 -6
- package/dist/schemas/geofences.schemas.d.ts +6 -6
- package/dist/schemas/irrigation.schemas.d.ts +12 -12
- package/dist/schemas/live-monitor.schemas.d.ts +2 -2
- package/dist/schemas/livestock-groups.schemas.d.ts +18 -18
- package/dist/schemas/livestock.schemas.d.ts +18 -18
- package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
- package/dist/schemas/pest-disease-risk.schemas.d.ts +32 -32
- package/dist/schemas/prescription-maps.schemas.d.ts +2 -2
- package/dist/schemas/seasonal-plans.schemas.d.ts +12 -12
- package/dist/schemas/soil-tests.schemas.d.ts +28 -28
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/team.schemas.d.ts +18 -18
- package/dist/schemas/users.schemas.d.ts +15 -0
- package/dist/schemas/users.schemas.d.ts.map +1 -1
- package/dist/schemas/users.schemas.js +1 -0
- package/dist/schemas/weather.schemas.d.ts +28 -28
- package/dist/schemas/yield-prediction.schemas.d.ts +8 -8
- package/package.json +1 -1
|
@@ -60,6 +60,8 @@ export declare const adminUserListAttributesSchema: z.ZodObject<{
|
|
|
60
60
|
phone: z.ZodNullable<z.ZodString>;
|
|
61
61
|
emailVerified: z.ZodBoolean;
|
|
62
62
|
isPlatformAdmin: z.ZodBoolean;
|
|
63
|
+
platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
|
|
64
|
+
hasPassword: z.ZodOptional<z.ZodBoolean>;
|
|
63
65
|
} & {
|
|
64
66
|
createdAt: z.ZodString;
|
|
65
67
|
updatedAt: z.ZodString;
|
|
@@ -71,6 +73,8 @@ export declare const adminUserListAttributesSchema: z.ZodObject<{
|
|
|
71
73
|
phone: string | null;
|
|
72
74
|
emailVerified: boolean;
|
|
73
75
|
isPlatformAdmin: boolean;
|
|
76
|
+
platformRole: "super_admin" | null;
|
|
77
|
+
hasPassword?: boolean | undefined;
|
|
74
78
|
}, {
|
|
75
79
|
email: string;
|
|
76
80
|
createdAt: string;
|
|
@@ -79,6 +83,8 @@ export declare const adminUserListAttributesSchema: z.ZodObject<{
|
|
|
79
83
|
phone: string | null;
|
|
80
84
|
emailVerified: boolean;
|
|
81
85
|
isPlatformAdmin: boolean;
|
|
86
|
+
platformRole: "super_admin" | null;
|
|
87
|
+
hasPassword?: boolean | undefined;
|
|
82
88
|
}>;
|
|
83
89
|
export declare const adminUserListResourceSchema: z.ZodObject<{
|
|
84
90
|
type: z.ZodLiteral<string>;
|
|
@@ -89,6 +95,8 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
|
|
|
89
95
|
phone: z.ZodNullable<z.ZodString>;
|
|
90
96
|
emailVerified: z.ZodBoolean;
|
|
91
97
|
isPlatformAdmin: z.ZodBoolean;
|
|
98
|
+
platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
|
|
99
|
+
hasPassword: z.ZodOptional<z.ZodBoolean>;
|
|
92
100
|
} & {
|
|
93
101
|
createdAt: z.ZodString;
|
|
94
102
|
updatedAt: z.ZodString;
|
|
@@ -100,6 +108,8 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
|
|
|
100
108
|
phone: string | null;
|
|
101
109
|
emailVerified: boolean;
|
|
102
110
|
isPlatformAdmin: boolean;
|
|
111
|
+
platformRole: "super_admin" | null;
|
|
112
|
+
hasPassword?: boolean | undefined;
|
|
103
113
|
}, {
|
|
104
114
|
email: string;
|
|
105
115
|
createdAt: string;
|
|
@@ -108,6 +118,8 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
|
|
|
108
118
|
phone: string | null;
|
|
109
119
|
emailVerified: boolean;
|
|
110
120
|
isPlatformAdmin: boolean;
|
|
121
|
+
platformRole: "super_admin" | null;
|
|
122
|
+
hasPassword?: boolean | undefined;
|
|
111
123
|
}>;
|
|
112
124
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
113
125
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -123,6 +135,8 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
|
|
|
123
135
|
phone: string | null;
|
|
124
136
|
emailVerified: boolean;
|
|
125
137
|
isPlatformAdmin: boolean;
|
|
138
|
+
platformRole: "super_admin" | null;
|
|
139
|
+
hasPassword?: boolean | undefined;
|
|
126
140
|
};
|
|
127
141
|
relationships?: Record<string, unknown> | undefined;
|
|
128
142
|
links?: Record<string, string> | undefined;
|
|
@@ -138,6 +152,8 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
|
|
|
138
152
|
phone: string | null;
|
|
139
153
|
emailVerified: boolean;
|
|
140
154
|
isPlatformAdmin: boolean;
|
|
155
|
+
platformRole: "super_admin" | null;
|
|
156
|
+
hasPassword?: boolean | undefined;
|
|
141
157
|
};
|
|
142
158
|
relationships?: Record<string, unknown> | undefined;
|
|
143
159
|
links?: Record<string, string> | undefined;
|
|
@@ -153,6 +169,8 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
|
|
|
153
169
|
phone: z.ZodNullable<z.ZodString>;
|
|
154
170
|
emailVerified: z.ZodBoolean;
|
|
155
171
|
isPlatformAdmin: z.ZodBoolean;
|
|
172
|
+
platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
|
|
173
|
+
hasPassword: z.ZodOptional<z.ZodBoolean>;
|
|
156
174
|
} & {
|
|
157
175
|
createdAt: z.ZodString;
|
|
158
176
|
updatedAt: z.ZodString;
|
|
@@ -164,6 +182,8 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
|
|
|
164
182
|
phone: string | null;
|
|
165
183
|
emailVerified: boolean;
|
|
166
184
|
isPlatformAdmin: boolean;
|
|
185
|
+
platformRole: "super_admin" | null;
|
|
186
|
+
hasPassword?: boolean | undefined;
|
|
167
187
|
}, {
|
|
168
188
|
email: string;
|
|
169
189
|
createdAt: string;
|
|
@@ -172,6 +192,8 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
|
|
|
172
192
|
phone: string | null;
|
|
173
193
|
emailVerified: boolean;
|
|
174
194
|
isPlatformAdmin: boolean;
|
|
195
|
+
platformRole: "super_admin" | null;
|
|
196
|
+
hasPassword?: boolean | undefined;
|
|
175
197
|
}>;
|
|
176
198
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
177
199
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -187,6 +209,8 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
|
|
|
187
209
|
phone: string | null;
|
|
188
210
|
emailVerified: boolean;
|
|
189
211
|
isPlatformAdmin: boolean;
|
|
212
|
+
platformRole: "super_admin" | null;
|
|
213
|
+
hasPassword?: boolean | undefined;
|
|
190
214
|
};
|
|
191
215
|
relationships?: Record<string, unknown> | undefined;
|
|
192
216
|
links?: Record<string, string> | undefined;
|
|
@@ -202,6 +226,8 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
|
|
|
202
226
|
phone: string | null;
|
|
203
227
|
emailVerified: boolean;
|
|
204
228
|
isPlatformAdmin: boolean;
|
|
229
|
+
platformRole: "super_admin" | null;
|
|
230
|
+
hasPassword?: boolean | undefined;
|
|
205
231
|
};
|
|
206
232
|
relationships?: Record<string, unknown> | undefined;
|
|
207
233
|
links?: Record<string, string> | undefined;
|
|
@@ -259,6 +285,8 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
|
|
|
259
285
|
phone: string | null;
|
|
260
286
|
emailVerified: boolean;
|
|
261
287
|
isPlatformAdmin: boolean;
|
|
288
|
+
platformRole: "super_admin" | null;
|
|
289
|
+
hasPassword?: boolean | undefined;
|
|
262
290
|
};
|
|
263
291
|
relationships?: Record<string, unknown> | undefined;
|
|
264
292
|
links?: Record<string, string> | undefined;
|
|
@@ -291,6 +319,8 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
|
|
|
291
319
|
phone: string | null;
|
|
292
320
|
emailVerified: boolean;
|
|
293
321
|
isPlatformAdmin: boolean;
|
|
322
|
+
platformRole: "super_admin" | null;
|
|
323
|
+
hasPassword?: boolean | undefined;
|
|
294
324
|
};
|
|
295
325
|
relationships?: Record<string, unknown> | undefined;
|
|
296
326
|
links?: Record<string, string> | undefined;
|
|
@@ -466,6 +496,358 @@ export declare const adminLoginLinkResponseSchema: z.ZodObject<{
|
|
|
466
496
|
meta?: Record<string, unknown> | undefined;
|
|
467
497
|
}[] | undefined;
|
|
468
498
|
}>;
|
|
499
|
+
export declare const adminInviteUserAttributesSchema: z.ZodObject<{
|
|
500
|
+
name: z.ZodString;
|
|
501
|
+
email: z.ZodString;
|
|
502
|
+
/** Role to grant on invite. Extensible later without a new resource. */
|
|
503
|
+
platformRole: z.ZodDefault<z.ZodEnum<["super_admin"]>>;
|
|
504
|
+
}, "strip", z.ZodTypeAny, {
|
|
505
|
+
email: string;
|
|
506
|
+
name: string;
|
|
507
|
+
platformRole: "super_admin";
|
|
508
|
+
}, {
|
|
509
|
+
email: string;
|
|
510
|
+
name: string;
|
|
511
|
+
platformRole?: "super_admin" | undefined;
|
|
512
|
+
}>;
|
|
513
|
+
export declare const adminInviteUserSchema: z.ZodObject<{
|
|
514
|
+
type: z.ZodLiteral<"user-invites">;
|
|
515
|
+
attributes: z.ZodObject<{
|
|
516
|
+
name: z.ZodString;
|
|
517
|
+
email: z.ZodString;
|
|
518
|
+
/** Role to grant on invite. Extensible later without a new resource. */
|
|
519
|
+
platformRole: z.ZodDefault<z.ZodEnum<["super_admin"]>>;
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
521
|
+
email: string;
|
|
522
|
+
name: string;
|
|
523
|
+
platformRole: "super_admin";
|
|
524
|
+
}, {
|
|
525
|
+
email: string;
|
|
526
|
+
name: string;
|
|
527
|
+
platformRole?: "super_admin" | undefined;
|
|
528
|
+
}>;
|
|
529
|
+
}, "strip", z.ZodTypeAny, {
|
|
530
|
+
type: "user-invites";
|
|
531
|
+
attributes: {
|
|
532
|
+
email: string;
|
|
533
|
+
name: string;
|
|
534
|
+
platformRole: "super_admin";
|
|
535
|
+
};
|
|
536
|
+
}, {
|
|
537
|
+
type: "user-invites";
|
|
538
|
+
attributes: {
|
|
539
|
+
email: string;
|
|
540
|
+
name: string;
|
|
541
|
+
platformRole?: "super_admin" | undefined;
|
|
542
|
+
};
|
|
543
|
+
}>;
|
|
544
|
+
/** Grant or clear platform role on an existing user. */
|
|
545
|
+
export declare const updatePlatformRoleAttributesSchema: z.ZodObject<{
|
|
546
|
+
platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
|
|
547
|
+
}, "strip", z.ZodTypeAny, {
|
|
548
|
+
platformRole: "super_admin" | null;
|
|
549
|
+
}, {
|
|
550
|
+
platformRole: "super_admin" | null;
|
|
551
|
+
}>;
|
|
552
|
+
export declare const updatePlatformRoleSchema: z.ZodObject<{
|
|
553
|
+
type: z.ZodLiteral<"users">;
|
|
554
|
+
attributes: z.ZodObject<{
|
|
555
|
+
platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
|
|
556
|
+
}, "strip", z.ZodTypeAny, {
|
|
557
|
+
platformRole: "super_admin" | null;
|
|
558
|
+
}, {
|
|
559
|
+
platformRole: "super_admin" | null;
|
|
560
|
+
}>;
|
|
561
|
+
}, "strip", z.ZodTypeAny, {
|
|
562
|
+
type: "users";
|
|
563
|
+
attributes: {
|
|
564
|
+
platformRole: "super_admin" | null;
|
|
565
|
+
};
|
|
566
|
+
}, {
|
|
567
|
+
type: "users";
|
|
568
|
+
attributes: {
|
|
569
|
+
platformRole: "super_admin" | null;
|
|
570
|
+
};
|
|
571
|
+
}>;
|
|
572
|
+
export declare const acceptAdminInviteAttributesSchema: z.ZodObject<{
|
|
573
|
+
token: z.ZodString;
|
|
574
|
+
password: z.ZodString;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
password: string;
|
|
577
|
+
token: string;
|
|
578
|
+
}, {
|
|
579
|
+
password: string;
|
|
580
|
+
token: string;
|
|
581
|
+
}>;
|
|
582
|
+
export declare const acceptAdminInviteSchema: z.ZodObject<{
|
|
583
|
+
type: z.ZodLiteral<"admin-invite-accept">;
|
|
584
|
+
attributes: z.ZodObject<{
|
|
585
|
+
token: z.ZodString;
|
|
586
|
+
password: z.ZodString;
|
|
587
|
+
}, "strip", z.ZodTypeAny, {
|
|
588
|
+
password: string;
|
|
589
|
+
token: string;
|
|
590
|
+
}, {
|
|
591
|
+
password: string;
|
|
592
|
+
token: string;
|
|
593
|
+
}>;
|
|
594
|
+
}, "strip", z.ZodTypeAny, {
|
|
595
|
+
type: "admin-invite-accept";
|
|
596
|
+
attributes: {
|
|
597
|
+
password: string;
|
|
598
|
+
token: string;
|
|
599
|
+
};
|
|
600
|
+
}, {
|
|
601
|
+
type: "admin-invite-accept";
|
|
602
|
+
attributes: {
|
|
603
|
+
password: string;
|
|
604
|
+
token: string;
|
|
605
|
+
};
|
|
606
|
+
}>;
|
|
607
|
+
export declare const impersonationAttributesSchema: z.ZodObject<{
|
|
608
|
+
accessToken: z.ZodString;
|
|
609
|
+
refreshToken: z.ZodString;
|
|
610
|
+
expiresIn: z.ZodNumber;
|
|
611
|
+
tokenType: z.ZodLiteral<"Bearer">;
|
|
612
|
+
targetUserId: z.ZodString;
|
|
613
|
+
targetName: z.ZodString;
|
|
614
|
+
targetEmail: z.ZodString;
|
|
615
|
+
impersonatedBy: z.ZodString;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
refreshToken: string;
|
|
618
|
+
accessToken: string;
|
|
619
|
+
expiresIn: number;
|
|
620
|
+
tokenType: "Bearer";
|
|
621
|
+
targetUserId: string;
|
|
622
|
+
targetName: string;
|
|
623
|
+
targetEmail: string;
|
|
624
|
+
impersonatedBy: string;
|
|
625
|
+
}, {
|
|
626
|
+
refreshToken: string;
|
|
627
|
+
accessToken: string;
|
|
628
|
+
expiresIn: number;
|
|
629
|
+
tokenType: "Bearer";
|
|
630
|
+
targetUserId: string;
|
|
631
|
+
targetName: string;
|
|
632
|
+
targetEmail: string;
|
|
633
|
+
impersonatedBy: string;
|
|
634
|
+
}>;
|
|
635
|
+
export declare const impersonationResourceSchema: z.ZodObject<{
|
|
636
|
+
type: z.ZodLiteral<string>;
|
|
637
|
+
id: z.ZodString;
|
|
638
|
+
attributes: z.ZodObject<{
|
|
639
|
+
accessToken: z.ZodString;
|
|
640
|
+
refreshToken: z.ZodString;
|
|
641
|
+
expiresIn: z.ZodNumber;
|
|
642
|
+
tokenType: z.ZodLiteral<"Bearer">;
|
|
643
|
+
targetUserId: z.ZodString;
|
|
644
|
+
targetName: z.ZodString;
|
|
645
|
+
targetEmail: z.ZodString;
|
|
646
|
+
impersonatedBy: z.ZodString;
|
|
647
|
+
}, "strip", z.ZodTypeAny, {
|
|
648
|
+
refreshToken: string;
|
|
649
|
+
accessToken: string;
|
|
650
|
+
expiresIn: number;
|
|
651
|
+
tokenType: "Bearer";
|
|
652
|
+
targetUserId: string;
|
|
653
|
+
targetName: string;
|
|
654
|
+
targetEmail: string;
|
|
655
|
+
impersonatedBy: string;
|
|
656
|
+
}, {
|
|
657
|
+
refreshToken: string;
|
|
658
|
+
accessToken: string;
|
|
659
|
+
expiresIn: number;
|
|
660
|
+
tokenType: "Bearer";
|
|
661
|
+
targetUserId: string;
|
|
662
|
+
targetName: string;
|
|
663
|
+
targetEmail: string;
|
|
664
|
+
impersonatedBy: string;
|
|
665
|
+
}>;
|
|
666
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
667
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
668
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
|
670
|
+
type: string;
|
|
671
|
+
id: string;
|
|
672
|
+
attributes: {
|
|
673
|
+
refreshToken: string;
|
|
674
|
+
accessToken: string;
|
|
675
|
+
expiresIn: number;
|
|
676
|
+
tokenType: "Bearer";
|
|
677
|
+
targetUserId: string;
|
|
678
|
+
targetName: string;
|
|
679
|
+
targetEmail: string;
|
|
680
|
+
impersonatedBy: string;
|
|
681
|
+
};
|
|
682
|
+
relationships?: Record<string, unknown> | undefined;
|
|
683
|
+
links?: Record<string, string> | undefined;
|
|
684
|
+
meta?: Record<string, unknown> | undefined;
|
|
685
|
+
}, {
|
|
686
|
+
type: string;
|
|
687
|
+
id: string;
|
|
688
|
+
attributes: {
|
|
689
|
+
refreshToken: string;
|
|
690
|
+
accessToken: string;
|
|
691
|
+
expiresIn: number;
|
|
692
|
+
tokenType: "Bearer";
|
|
693
|
+
targetUserId: string;
|
|
694
|
+
targetName: string;
|
|
695
|
+
targetEmail: string;
|
|
696
|
+
impersonatedBy: string;
|
|
697
|
+
};
|
|
698
|
+
relationships?: Record<string, unknown> | undefined;
|
|
699
|
+
links?: Record<string, string> | undefined;
|
|
700
|
+
meta?: Record<string, unknown> | undefined;
|
|
701
|
+
}>;
|
|
702
|
+
export declare const impersonationResponseSchema: z.ZodObject<{
|
|
703
|
+
data: z.ZodObject<{
|
|
704
|
+
type: z.ZodLiteral<string>;
|
|
705
|
+
id: z.ZodString;
|
|
706
|
+
attributes: z.ZodObject<{
|
|
707
|
+
accessToken: z.ZodString;
|
|
708
|
+
refreshToken: z.ZodString;
|
|
709
|
+
expiresIn: z.ZodNumber;
|
|
710
|
+
tokenType: z.ZodLiteral<"Bearer">;
|
|
711
|
+
targetUserId: z.ZodString;
|
|
712
|
+
targetName: z.ZodString;
|
|
713
|
+
targetEmail: z.ZodString;
|
|
714
|
+
impersonatedBy: z.ZodString;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
refreshToken: string;
|
|
717
|
+
accessToken: string;
|
|
718
|
+
expiresIn: number;
|
|
719
|
+
tokenType: "Bearer";
|
|
720
|
+
targetUserId: string;
|
|
721
|
+
targetName: string;
|
|
722
|
+
targetEmail: string;
|
|
723
|
+
impersonatedBy: string;
|
|
724
|
+
}, {
|
|
725
|
+
refreshToken: string;
|
|
726
|
+
accessToken: string;
|
|
727
|
+
expiresIn: number;
|
|
728
|
+
tokenType: "Bearer";
|
|
729
|
+
targetUserId: string;
|
|
730
|
+
targetName: string;
|
|
731
|
+
targetEmail: string;
|
|
732
|
+
impersonatedBy: string;
|
|
733
|
+
}>;
|
|
734
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
735
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
736
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
type: string;
|
|
739
|
+
id: string;
|
|
740
|
+
attributes: {
|
|
741
|
+
refreshToken: string;
|
|
742
|
+
accessToken: string;
|
|
743
|
+
expiresIn: number;
|
|
744
|
+
tokenType: "Bearer";
|
|
745
|
+
targetUserId: string;
|
|
746
|
+
targetName: string;
|
|
747
|
+
targetEmail: string;
|
|
748
|
+
impersonatedBy: string;
|
|
749
|
+
};
|
|
750
|
+
relationships?: Record<string, unknown> | undefined;
|
|
751
|
+
links?: Record<string, string> | undefined;
|
|
752
|
+
meta?: Record<string, unknown> | undefined;
|
|
753
|
+
}, {
|
|
754
|
+
type: string;
|
|
755
|
+
id: string;
|
|
756
|
+
attributes: {
|
|
757
|
+
refreshToken: string;
|
|
758
|
+
accessToken: string;
|
|
759
|
+
expiresIn: number;
|
|
760
|
+
tokenType: "Bearer";
|
|
761
|
+
targetUserId: string;
|
|
762
|
+
targetName: string;
|
|
763
|
+
targetEmail: string;
|
|
764
|
+
impersonatedBy: string;
|
|
765
|
+
};
|
|
766
|
+
relationships?: Record<string, unknown> | undefined;
|
|
767
|
+
links?: Record<string, string> | undefined;
|
|
768
|
+
meta?: Record<string, unknown> | undefined;
|
|
769
|
+
}>;
|
|
770
|
+
included: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
771
|
+
type: z.ZodString;
|
|
772
|
+
id: z.ZodString;
|
|
773
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
774
|
+
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
775
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
776
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
777
|
+
}, "strip", z.ZodTypeAny, {
|
|
778
|
+
type: string;
|
|
779
|
+
id: string;
|
|
780
|
+
attributes?: Record<string, unknown> | undefined;
|
|
781
|
+
relationships?: Record<string, unknown> | undefined;
|
|
782
|
+
links?: Record<string, string> | undefined;
|
|
783
|
+
meta?: Record<string, unknown> | undefined;
|
|
784
|
+
}, {
|
|
785
|
+
type: string;
|
|
786
|
+
id: string;
|
|
787
|
+
attributes?: Record<string, unknown> | undefined;
|
|
788
|
+
relationships?: Record<string, unknown> | undefined;
|
|
789
|
+
links?: Record<string, string> | undefined;
|
|
790
|
+
meta?: Record<string, unknown> | undefined;
|
|
791
|
+
}>, "many">>;
|
|
792
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
793
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
795
|
+
data: {
|
|
796
|
+
type: string;
|
|
797
|
+
id: string;
|
|
798
|
+
attributes: {
|
|
799
|
+
refreshToken: string;
|
|
800
|
+
accessToken: string;
|
|
801
|
+
expiresIn: number;
|
|
802
|
+
tokenType: "Bearer";
|
|
803
|
+
targetUserId: string;
|
|
804
|
+
targetName: string;
|
|
805
|
+
targetEmail: string;
|
|
806
|
+
impersonatedBy: string;
|
|
807
|
+
};
|
|
808
|
+
relationships?: Record<string, unknown> | undefined;
|
|
809
|
+
links?: Record<string, string> | undefined;
|
|
810
|
+
meta?: Record<string, unknown> | undefined;
|
|
811
|
+
};
|
|
812
|
+
links?: Record<string, string> | undefined;
|
|
813
|
+
meta?: Record<string, unknown> | undefined;
|
|
814
|
+
included?: {
|
|
815
|
+
type: string;
|
|
816
|
+
id: string;
|
|
817
|
+
attributes?: Record<string, unknown> | undefined;
|
|
818
|
+
relationships?: Record<string, unknown> | undefined;
|
|
819
|
+
links?: Record<string, string> | undefined;
|
|
820
|
+
meta?: Record<string, unknown> | undefined;
|
|
821
|
+
}[] | undefined;
|
|
822
|
+
}, {
|
|
823
|
+
data: {
|
|
824
|
+
type: string;
|
|
825
|
+
id: string;
|
|
826
|
+
attributes: {
|
|
827
|
+
refreshToken: string;
|
|
828
|
+
accessToken: string;
|
|
829
|
+
expiresIn: number;
|
|
830
|
+
tokenType: "Bearer";
|
|
831
|
+
targetUserId: string;
|
|
832
|
+
targetName: string;
|
|
833
|
+
targetEmail: string;
|
|
834
|
+
impersonatedBy: string;
|
|
835
|
+
};
|
|
836
|
+
relationships?: Record<string, unknown> | undefined;
|
|
837
|
+
links?: Record<string, string> | undefined;
|
|
838
|
+
meta?: Record<string, unknown> | undefined;
|
|
839
|
+
};
|
|
840
|
+
links?: Record<string, string> | undefined;
|
|
841
|
+
meta?: Record<string, unknown> | undefined;
|
|
842
|
+
included?: {
|
|
843
|
+
type: string;
|
|
844
|
+
id: string;
|
|
845
|
+
attributes?: Record<string, unknown> | undefined;
|
|
846
|
+
relationships?: Record<string, unknown> | undefined;
|
|
847
|
+
links?: Record<string, string> | undefined;
|
|
848
|
+
meta?: Record<string, unknown> | undefined;
|
|
849
|
+
}[] | undefined;
|
|
850
|
+
}>;
|
|
469
851
|
export declare const sourceStatsSchema: z.ZodObject<{
|
|
470
852
|
recommendations: z.ZodNumber;
|
|
471
853
|
tasksCreated: z.ZodNumber;
|
|
@@ -477,22 +859,22 @@ export declare const sourceStatsSchema: z.ZodObject<{
|
|
|
477
859
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
478
860
|
}, "strip", z.ZodTypeAny, {
|
|
479
861
|
recommendations: number;
|
|
480
|
-
skipped: number;
|
|
481
862
|
tasksCreated: number;
|
|
482
863
|
tasksUpdated: number;
|
|
864
|
+
skipped: number;
|
|
483
865
|
avgConfidence: number;
|
|
484
866
|
tasksCompleted?: number | undefined;
|
|
485
|
-
successRate?: number | undefined;
|
|
486
867
|
successfulOutcomes?: number | undefined;
|
|
868
|
+
successRate?: number | undefined;
|
|
487
869
|
}, {
|
|
488
870
|
recommendations: number;
|
|
489
|
-
skipped: number;
|
|
490
871
|
tasksCreated: number;
|
|
491
872
|
tasksUpdated: number;
|
|
873
|
+
skipped: number;
|
|
492
874
|
avgConfidence: number;
|
|
493
875
|
tasksCompleted?: number | undefined;
|
|
494
|
-
successRate?: number | undefined;
|
|
495
876
|
successfulOutcomes?: number | undefined;
|
|
877
|
+
successRate?: number | undefined;
|
|
496
878
|
}>;
|
|
497
879
|
export declare const crossSourceMatchSchema: z.ZodObject<{
|
|
498
880
|
issueType: z.ZodString;
|
|
@@ -520,13 +902,13 @@ export declare const effectivenessSchema: z.ZodObject<{
|
|
|
520
902
|
avgImprovementScore: z.ZodNumber;
|
|
521
903
|
}, "strip", z.ZodTypeAny, {
|
|
522
904
|
tasksCompleted: number;
|
|
523
|
-
successRate: number;
|
|
524
905
|
successfulOutcomes: number;
|
|
906
|
+
successRate: number;
|
|
525
907
|
avgImprovementScore: number;
|
|
526
908
|
}, {
|
|
527
909
|
tasksCompleted: number;
|
|
528
|
-
successRate: number;
|
|
529
910
|
successfulOutcomes: number;
|
|
911
|
+
successRate: number;
|
|
530
912
|
avgImprovementScore: number;
|
|
531
913
|
}>;
|
|
532
914
|
export declare const learnedPatternSchema: z.ZodObject<{
|
|
@@ -556,15 +938,15 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
556
938
|
skipped: z.ZodNumber;
|
|
557
939
|
deduplicationRate: z.ZodNumber;
|
|
558
940
|
}, "strip", z.ZodTypeAny, {
|
|
559
|
-
skipped: number;
|
|
560
941
|
tasksCreated: number;
|
|
561
942
|
tasksUpdated: number;
|
|
943
|
+
skipped: number;
|
|
562
944
|
deduplicationRate: number;
|
|
563
945
|
totalRecommendations: number;
|
|
564
946
|
}, {
|
|
565
|
-
skipped: number;
|
|
566
947
|
tasksCreated: number;
|
|
567
948
|
tasksUpdated: number;
|
|
949
|
+
skipped: number;
|
|
568
950
|
deduplicationRate: number;
|
|
569
951
|
totalRecommendations: number;
|
|
570
952
|
}>;
|
|
@@ -579,22 +961,22 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
579
961
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
580
962
|
}, "strip", z.ZodTypeAny, {
|
|
581
963
|
recommendations: number;
|
|
582
|
-
skipped: number;
|
|
583
964
|
tasksCreated: number;
|
|
584
965
|
tasksUpdated: number;
|
|
966
|
+
skipped: number;
|
|
585
967
|
avgConfidence: number;
|
|
586
968
|
tasksCompleted?: number | undefined;
|
|
587
|
-
successRate?: number | undefined;
|
|
588
969
|
successfulOutcomes?: number | undefined;
|
|
970
|
+
successRate?: number | undefined;
|
|
589
971
|
}, {
|
|
590
972
|
recommendations: number;
|
|
591
|
-
skipped: number;
|
|
592
973
|
tasksCreated: number;
|
|
593
974
|
tasksUpdated: number;
|
|
975
|
+
skipped: number;
|
|
594
976
|
avgConfidence: number;
|
|
595
977
|
tasksCompleted?: number | undefined;
|
|
596
|
-
successRate?: number | undefined;
|
|
597
978
|
successfulOutcomes?: number | undefined;
|
|
979
|
+
successRate?: number | undefined;
|
|
598
980
|
}>>;
|
|
599
981
|
crossSourceMatches: z.ZodArray<z.ZodObject<{
|
|
600
982
|
issueType: z.ZodString;
|
|
@@ -622,13 +1004,13 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
622
1004
|
avgImprovementScore: z.ZodNumber;
|
|
623
1005
|
}, "strip", z.ZodTypeAny, {
|
|
624
1006
|
tasksCompleted: number;
|
|
625
|
-
successRate: number;
|
|
626
1007
|
successfulOutcomes: number;
|
|
1008
|
+
successRate: number;
|
|
627
1009
|
avgImprovementScore: number;
|
|
628
1010
|
}, {
|
|
629
1011
|
tasksCompleted: number;
|
|
630
|
-
successRate: number;
|
|
631
1012
|
successfulOutcomes: number;
|
|
1013
|
+
successRate: number;
|
|
632
1014
|
avgImprovementScore: number;
|
|
633
1015
|
}>>;
|
|
634
1016
|
learnedPatterns: z.ZodObject<{
|
|
@@ -673,21 +1055,21 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
673
1055
|
}>;
|
|
674
1056
|
}, "strip", z.ZodTypeAny, {
|
|
675
1057
|
overall: {
|
|
676
|
-
skipped: number;
|
|
677
1058
|
tasksCreated: number;
|
|
678
1059
|
tasksUpdated: number;
|
|
1060
|
+
skipped: number;
|
|
679
1061
|
deduplicationRate: number;
|
|
680
1062
|
totalRecommendations: number;
|
|
681
1063
|
};
|
|
682
1064
|
bySource: Record<string, {
|
|
683
1065
|
recommendations: number;
|
|
684
|
-
skipped: number;
|
|
685
1066
|
tasksCreated: number;
|
|
686
1067
|
tasksUpdated: number;
|
|
1068
|
+
skipped: number;
|
|
687
1069
|
avgConfidence: number;
|
|
688
1070
|
tasksCompleted?: number | undefined;
|
|
689
|
-
successRate?: number | undefined;
|
|
690
1071
|
successfulOutcomes?: number | undefined;
|
|
1072
|
+
successRate?: number | undefined;
|
|
691
1073
|
}>;
|
|
692
1074
|
crossSourceMatches: {
|
|
693
1075
|
tasksCreated: number;
|
|
@@ -698,8 +1080,8 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
698
1080
|
}[];
|
|
699
1081
|
effectiveness: Record<string, {
|
|
700
1082
|
tasksCompleted: number;
|
|
701
|
-
successRate: number;
|
|
702
1083
|
successfulOutcomes: number;
|
|
1084
|
+
successRate: number;
|
|
703
1085
|
avgImprovementScore: number;
|
|
704
1086
|
}>;
|
|
705
1087
|
learnedPatterns: {
|
|
@@ -714,21 +1096,21 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
714
1096
|
};
|
|
715
1097
|
}, {
|
|
716
1098
|
overall: {
|
|
717
|
-
skipped: number;
|
|
718
1099
|
tasksCreated: number;
|
|
719
1100
|
tasksUpdated: number;
|
|
1101
|
+
skipped: number;
|
|
720
1102
|
deduplicationRate: number;
|
|
721
1103
|
totalRecommendations: number;
|
|
722
1104
|
};
|
|
723
1105
|
bySource: Record<string, {
|
|
724
1106
|
recommendations: number;
|
|
725
|
-
skipped: number;
|
|
726
1107
|
tasksCreated: number;
|
|
727
1108
|
tasksUpdated: number;
|
|
1109
|
+
skipped: number;
|
|
728
1110
|
avgConfidence: number;
|
|
729
1111
|
tasksCompleted?: number | undefined;
|
|
730
|
-
successRate?: number | undefined;
|
|
731
1112
|
successfulOutcomes?: number | undefined;
|
|
1113
|
+
successRate?: number | undefined;
|
|
732
1114
|
}>;
|
|
733
1115
|
crossSourceMatches: {
|
|
734
1116
|
tasksCreated: number;
|
|
@@ -739,8 +1121,8 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
739
1121
|
}[];
|
|
740
1122
|
effectiveness: Record<string, {
|
|
741
1123
|
tasksCompleted: number;
|
|
742
|
-
successRate: number;
|
|
743
1124
|
successfulOutcomes: number;
|
|
1125
|
+
successRate: number;
|
|
744
1126
|
avgImprovementScore: number;
|
|
745
1127
|
}>;
|
|
746
1128
|
learnedPatterns: {
|
|
@@ -765,15 +1147,15 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
765
1147
|
skipped: z.ZodNumber;
|
|
766
1148
|
deduplicationRate: z.ZodNumber;
|
|
767
1149
|
}, "strip", z.ZodTypeAny, {
|
|
768
|
-
skipped: number;
|
|
769
1150
|
tasksCreated: number;
|
|
770
1151
|
tasksUpdated: number;
|
|
1152
|
+
skipped: number;
|
|
771
1153
|
deduplicationRate: number;
|
|
772
1154
|
totalRecommendations: number;
|
|
773
1155
|
}, {
|
|
774
|
-
skipped: number;
|
|
775
1156
|
tasksCreated: number;
|
|
776
1157
|
tasksUpdated: number;
|
|
1158
|
+
skipped: number;
|
|
777
1159
|
deduplicationRate: number;
|
|
778
1160
|
totalRecommendations: number;
|
|
779
1161
|
}>;
|
|
@@ -788,22 +1170,22 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
788
1170
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
789
1171
|
}, "strip", z.ZodTypeAny, {
|
|
790
1172
|
recommendations: number;
|
|
791
|
-
skipped: number;
|
|
792
1173
|
tasksCreated: number;
|
|
793
1174
|
tasksUpdated: number;
|
|
1175
|
+
skipped: number;
|
|
794
1176
|
avgConfidence: number;
|
|
795
1177
|
tasksCompleted?: number | undefined;
|
|
796
|
-
successRate?: number | undefined;
|
|
797
1178
|
successfulOutcomes?: number | undefined;
|
|
1179
|
+
successRate?: number | undefined;
|
|
798
1180
|
}, {
|
|
799
1181
|
recommendations: number;
|
|
800
|
-
skipped: number;
|
|
801
1182
|
tasksCreated: number;
|
|
802
1183
|
tasksUpdated: number;
|
|
1184
|
+
skipped: number;
|
|
803
1185
|
avgConfidence: number;
|
|
804
1186
|
tasksCompleted?: number | undefined;
|
|
805
|
-
successRate?: number | undefined;
|
|
806
1187
|
successfulOutcomes?: number | undefined;
|
|
1188
|
+
successRate?: number | undefined;
|
|
807
1189
|
}>>;
|
|
808
1190
|
crossSourceMatches: z.ZodArray<z.ZodObject<{
|
|
809
1191
|
issueType: z.ZodString;
|
|
@@ -831,13 +1213,13 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
831
1213
|
avgImprovementScore: z.ZodNumber;
|
|
832
1214
|
}, "strip", z.ZodTypeAny, {
|
|
833
1215
|
tasksCompleted: number;
|
|
834
|
-
successRate: number;
|
|
835
1216
|
successfulOutcomes: number;
|
|
1217
|
+
successRate: number;
|
|
836
1218
|
avgImprovementScore: number;
|
|
837
1219
|
}, {
|
|
838
1220
|
tasksCompleted: number;
|
|
839
|
-
successRate: number;
|
|
840
1221
|
successfulOutcomes: number;
|
|
1222
|
+
successRate: number;
|
|
841
1223
|
avgImprovementScore: number;
|
|
842
1224
|
}>>;
|
|
843
1225
|
learnedPatterns: z.ZodObject<{
|
|
@@ -882,21 +1264,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
882
1264
|
}>;
|
|
883
1265
|
}, "strip", z.ZodTypeAny, {
|
|
884
1266
|
overall: {
|
|
885
|
-
skipped: number;
|
|
886
1267
|
tasksCreated: number;
|
|
887
1268
|
tasksUpdated: number;
|
|
1269
|
+
skipped: number;
|
|
888
1270
|
deduplicationRate: number;
|
|
889
1271
|
totalRecommendations: number;
|
|
890
1272
|
};
|
|
891
1273
|
bySource: Record<string, {
|
|
892
1274
|
recommendations: number;
|
|
893
|
-
skipped: number;
|
|
894
1275
|
tasksCreated: number;
|
|
895
1276
|
tasksUpdated: number;
|
|
1277
|
+
skipped: number;
|
|
896
1278
|
avgConfidence: number;
|
|
897
1279
|
tasksCompleted?: number | undefined;
|
|
898
|
-
successRate?: number | undefined;
|
|
899
1280
|
successfulOutcomes?: number | undefined;
|
|
1281
|
+
successRate?: number | undefined;
|
|
900
1282
|
}>;
|
|
901
1283
|
crossSourceMatches: {
|
|
902
1284
|
tasksCreated: number;
|
|
@@ -907,8 +1289,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
907
1289
|
}[];
|
|
908
1290
|
effectiveness: Record<string, {
|
|
909
1291
|
tasksCompleted: number;
|
|
910
|
-
successRate: number;
|
|
911
1292
|
successfulOutcomes: number;
|
|
1293
|
+
successRate: number;
|
|
912
1294
|
avgImprovementScore: number;
|
|
913
1295
|
}>;
|
|
914
1296
|
learnedPatterns: {
|
|
@@ -923,21 +1305,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
923
1305
|
};
|
|
924
1306
|
}, {
|
|
925
1307
|
overall: {
|
|
926
|
-
skipped: number;
|
|
927
1308
|
tasksCreated: number;
|
|
928
1309
|
tasksUpdated: number;
|
|
1310
|
+
skipped: number;
|
|
929
1311
|
deduplicationRate: number;
|
|
930
1312
|
totalRecommendations: number;
|
|
931
1313
|
};
|
|
932
1314
|
bySource: Record<string, {
|
|
933
1315
|
recommendations: number;
|
|
934
|
-
skipped: number;
|
|
935
1316
|
tasksCreated: number;
|
|
936
1317
|
tasksUpdated: number;
|
|
1318
|
+
skipped: number;
|
|
937
1319
|
avgConfidence: number;
|
|
938
1320
|
tasksCompleted?: number | undefined;
|
|
939
|
-
successRate?: number | undefined;
|
|
940
1321
|
successfulOutcomes?: number | undefined;
|
|
1322
|
+
successRate?: number | undefined;
|
|
941
1323
|
}>;
|
|
942
1324
|
crossSourceMatches: {
|
|
943
1325
|
tasksCreated: number;
|
|
@@ -948,8 +1330,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
948
1330
|
}[];
|
|
949
1331
|
effectiveness: Record<string, {
|
|
950
1332
|
tasksCompleted: number;
|
|
951
|
-
successRate: number;
|
|
952
1333
|
successfulOutcomes: number;
|
|
1334
|
+
successRate: number;
|
|
953
1335
|
avgImprovementScore: number;
|
|
954
1336
|
}>;
|
|
955
1337
|
learnedPatterns: {
|
|
@@ -971,21 +1353,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
971
1353
|
id: string;
|
|
972
1354
|
attributes: {
|
|
973
1355
|
overall: {
|
|
974
|
-
skipped: number;
|
|
975
1356
|
tasksCreated: number;
|
|
976
1357
|
tasksUpdated: number;
|
|
1358
|
+
skipped: number;
|
|
977
1359
|
deduplicationRate: number;
|
|
978
1360
|
totalRecommendations: number;
|
|
979
1361
|
};
|
|
980
1362
|
bySource: Record<string, {
|
|
981
1363
|
recommendations: number;
|
|
982
|
-
skipped: number;
|
|
983
1364
|
tasksCreated: number;
|
|
984
1365
|
tasksUpdated: number;
|
|
1366
|
+
skipped: number;
|
|
985
1367
|
avgConfidence: number;
|
|
986
1368
|
tasksCompleted?: number | undefined;
|
|
987
|
-
successRate?: number | undefined;
|
|
988
1369
|
successfulOutcomes?: number | undefined;
|
|
1370
|
+
successRate?: number | undefined;
|
|
989
1371
|
}>;
|
|
990
1372
|
crossSourceMatches: {
|
|
991
1373
|
tasksCreated: number;
|
|
@@ -996,8 +1378,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
996
1378
|
}[];
|
|
997
1379
|
effectiveness: Record<string, {
|
|
998
1380
|
tasksCompleted: number;
|
|
999
|
-
successRate: number;
|
|
1000
1381
|
successfulOutcomes: number;
|
|
1382
|
+
successRate: number;
|
|
1001
1383
|
avgImprovementScore: number;
|
|
1002
1384
|
}>;
|
|
1003
1385
|
learnedPatterns: {
|
|
@@ -1019,21 +1401,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
1019
1401
|
id: string;
|
|
1020
1402
|
attributes: {
|
|
1021
1403
|
overall: {
|
|
1022
|
-
skipped: number;
|
|
1023
1404
|
tasksCreated: number;
|
|
1024
1405
|
tasksUpdated: number;
|
|
1406
|
+
skipped: number;
|
|
1025
1407
|
deduplicationRate: number;
|
|
1026
1408
|
totalRecommendations: number;
|
|
1027
1409
|
};
|
|
1028
1410
|
bySource: Record<string, {
|
|
1029
1411
|
recommendations: number;
|
|
1030
|
-
skipped: number;
|
|
1031
1412
|
tasksCreated: number;
|
|
1032
1413
|
tasksUpdated: number;
|
|
1414
|
+
skipped: number;
|
|
1033
1415
|
avgConfidence: number;
|
|
1034
1416
|
tasksCompleted?: number | undefined;
|
|
1035
|
-
successRate?: number | undefined;
|
|
1036
1417
|
successfulOutcomes?: number | undefined;
|
|
1418
|
+
successRate?: number | undefined;
|
|
1037
1419
|
}>;
|
|
1038
1420
|
crossSourceMatches: {
|
|
1039
1421
|
tasksCreated: number;
|
|
@@ -1044,8 +1426,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
1044
1426
|
}[];
|
|
1045
1427
|
effectiveness: Record<string, {
|
|
1046
1428
|
tasksCompleted: number;
|
|
1047
|
-
successRate: number;
|
|
1048
1429
|
successfulOutcomes: number;
|
|
1430
|
+
successRate: number;
|
|
1049
1431
|
avgImprovementScore: number;
|
|
1050
1432
|
}>;
|
|
1051
1433
|
learnedPatterns: {
|
|
@@ -1075,15 +1457,15 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1075
1457
|
skipped: z.ZodNumber;
|
|
1076
1458
|
deduplicationRate: z.ZodNumber;
|
|
1077
1459
|
}, "strip", z.ZodTypeAny, {
|
|
1078
|
-
skipped: number;
|
|
1079
1460
|
tasksCreated: number;
|
|
1080
1461
|
tasksUpdated: number;
|
|
1462
|
+
skipped: number;
|
|
1081
1463
|
deduplicationRate: number;
|
|
1082
1464
|
totalRecommendations: number;
|
|
1083
1465
|
}, {
|
|
1084
|
-
skipped: number;
|
|
1085
1466
|
tasksCreated: number;
|
|
1086
1467
|
tasksUpdated: number;
|
|
1468
|
+
skipped: number;
|
|
1087
1469
|
deduplicationRate: number;
|
|
1088
1470
|
totalRecommendations: number;
|
|
1089
1471
|
}>;
|
|
@@ -1098,22 +1480,22 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1098
1480
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
1099
1481
|
}, "strip", z.ZodTypeAny, {
|
|
1100
1482
|
recommendations: number;
|
|
1101
|
-
skipped: number;
|
|
1102
1483
|
tasksCreated: number;
|
|
1103
1484
|
tasksUpdated: number;
|
|
1485
|
+
skipped: number;
|
|
1104
1486
|
avgConfidence: number;
|
|
1105
1487
|
tasksCompleted?: number | undefined;
|
|
1106
|
-
successRate?: number | undefined;
|
|
1107
1488
|
successfulOutcomes?: number | undefined;
|
|
1489
|
+
successRate?: number | undefined;
|
|
1108
1490
|
}, {
|
|
1109
1491
|
recommendations: number;
|
|
1110
|
-
skipped: number;
|
|
1111
1492
|
tasksCreated: number;
|
|
1112
1493
|
tasksUpdated: number;
|
|
1494
|
+
skipped: number;
|
|
1113
1495
|
avgConfidence: number;
|
|
1114
1496
|
tasksCompleted?: number | undefined;
|
|
1115
|
-
successRate?: number | undefined;
|
|
1116
1497
|
successfulOutcomes?: number | undefined;
|
|
1498
|
+
successRate?: number | undefined;
|
|
1117
1499
|
}>>;
|
|
1118
1500
|
crossSourceMatches: z.ZodArray<z.ZodObject<{
|
|
1119
1501
|
issueType: z.ZodString;
|
|
@@ -1141,13 +1523,13 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1141
1523
|
avgImprovementScore: z.ZodNumber;
|
|
1142
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1143
1525
|
tasksCompleted: number;
|
|
1144
|
-
successRate: number;
|
|
1145
1526
|
successfulOutcomes: number;
|
|
1527
|
+
successRate: number;
|
|
1146
1528
|
avgImprovementScore: number;
|
|
1147
1529
|
}, {
|
|
1148
1530
|
tasksCompleted: number;
|
|
1149
|
-
successRate: number;
|
|
1150
1531
|
successfulOutcomes: number;
|
|
1532
|
+
successRate: number;
|
|
1151
1533
|
avgImprovementScore: number;
|
|
1152
1534
|
}>>;
|
|
1153
1535
|
learnedPatterns: z.ZodObject<{
|
|
@@ -1192,21 +1574,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1192
1574
|
}>;
|
|
1193
1575
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1576
|
overall: {
|
|
1195
|
-
skipped: number;
|
|
1196
1577
|
tasksCreated: number;
|
|
1197
1578
|
tasksUpdated: number;
|
|
1579
|
+
skipped: number;
|
|
1198
1580
|
deduplicationRate: number;
|
|
1199
1581
|
totalRecommendations: number;
|
|
1200
1582
|
};
|
|
1201
1583
|
bySource: Record<string, {
|
|
1202
1584
|
recommendations: number;
|
|
1203
|
-
skipped: number;
|
|
1204
1585
|
tasksCreated: number;
|
|
1205
1586
|
tasksUpdated: number;
|
|
1587
|
+
skipped: number;
|
|
1206
1588
|
avgConfidence: number;
|
|
1207
1589
|
tasksCompleted?: number | undefined;
|
|
1208
|
-
successRate?: number | undefined;
|
|
1209
1590
|
successfulOutcomes?: number | undefined;
|
|
1591
|
+
successRate?: number | undefined;
|
|
1210
1592
|
}>;
|
|
1211
1593
|
crossSourceMatches: {
|
|
1212
1594
|
tasksCreated: number;
|
|
@@ -1217,8 +1599,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1217
1599
|
}[];
|
|
1218
1600
|
effectiveness: Record<string, {
|
|
1219
1601
|
tasksCompleted: number;
|
|
1220
|
-
successRate: number;
|
|
1221
1602
|
successfulOutcomes: number;
|
|
1603
|
+
successRate: number;
|
|
1222
1604
|
avgImprovementScore: number;
|
|
1223
1605
|
}>;
|
|
1224
1606
|
learnedPatterns: {
|
|
@@ -1233,21 +1615,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1233
1615
|
};
|
|
1234
1616
|
}, {
|
|
1235
1617
|
overall: {
|
|
1236
|
-
skipped: number;
|
|
1237
1618
|
tasksCreated: number;
|
|
1238
1619
|
tasksUpdated: number;
|
|
1620
|
+
skipped: number;
|
|
1239
1621
|
deduplicationRate: number;
|
|
1240
1622
|
totalRecommendations: number;
|
|
1241
1623
|
};
|
|
1242
1624
|
bySource: Record<string, {
|
|
1243
1625
|
recommendations: number;
|
|
1244
|
-
skipped: number;
|
|
1245
1626
|
tasksCreated: number;
|
|
1246
1627
|
tasksUpdated: number;
|
|
1628
|
+
skipped: number;
|
|
1247
1629
|
avgConfidence: number;
|
|
1248
1630
|
tasksCompleted?: number | undefined;
|
|
1249
|
-
successRate?: number | undefined;
|
|
1250
1631
|
successfulOutcomes?: number | undefined;
|
|
1632
|
+
successRate?: number | undefined;
|
|
1251
1633
|
}>;
|
|
1252
1634
|
crossSourceMatches: {
|
|
1253
1635
|
tasksCreated: number;
|
|
@@ -1258,8 +1640,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1258
1640
|
}[];
|
|
1259
1641
|
effectiveness: Record<string, {
|
|
1260
1642
|
tasksCompleted: number;
|
|
1261
|
-
successRate: number;
|
|
1262
1643
|
successfulOutcomes: number;
|
|
1644
|
+
successRate: number;
|
|
1263
1645
|
avgImprovementScore: number;
|
|
1264
1646
|
}>;
|
|
1265
1647
|
learnedPatterns: {
|
|
@@ -1281,21 +1663,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1281
1663
|
id: string;
|
|
1282
1664
|
attributes: {
|
|
1283
1665
|
overall: {
|
|
1284
|
-
skipped: number;
|
|
1285
1666
|
tasksCreated: number;
|
|
1286
1667
|
tasksUpdated: number;
|
|
1668
|
+
skipped: number;
|
|
1287
1669
|
deduplicationRate: number;
|
|
1288
1670
|
totalRecommendations: number;
|
|
1289
1671
|
};
|
|
1290
1672
|
bySource: Record<string, {
|
|
1291
1673
|
recommendations: number;
|
|
1292
|
-
skipped: number;
|
|
1293
1674
|
tasksCreated: number;
|
|
1294
1675
|
tasksUpdated: number;
|
|
1676
|
+
skipped: number;
|
|
1295
1677
|
avgConfidence: number;
|
|
1296
1678
|
tasksCompleted?: number | undefined;
|
|
1297
|
-
successRate?: number | undefined;
|
|
1298
1679
|
successfulOutcomes?: number | undefined;
|
|
1680
|
+
successRate?: number | undefined;
|
|
1299
1681
|
}>;
|
|
1300
1682
|
crossSourceMatches: {
|
|
1301
1683
|
tasksCreated: number;
|
|
@@ -1306,8 +1688,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1306
1688
|
}[];
|
|
1307
1689
|
effectiveness: Record<string, {
|
|
1308
1690
|
tasksCompleted: number;
|
|
1309
|
-
successRate: number;
|
|
1310
1691
|
successfulOutcomes: number;
|
|
1692
|
+
successRate: number;
|
|
1311
1693
|
avgImprovementScore: number;
|
|
1312
1694
|
}>;
|
|
1313
1695
|
learnedPatterns: {
|
|
@@ -1329,21 +1711,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1329
1711
|
id: string;
|
|
1330
1712
|
attributes: {
|
|
1331
1713
|
overall: {
|
|
1332
|
-
skipped: number;
|
|
1333
1714
|
tasksCreated: number;
|
|
1334
1715
|
tasksUpdated: number;
|
|
1716
|
+
skipped: number;
|
|
1335
1717
|
deduplicationRate: number;
|
|
1336
1718
|
totalRecommendations: number;
|
|
1337
1719
|
};
|
|
1338
1720
|
bySource: Record<string, {
|
|
1339
1721
|
recommendations: number;
|
|
1340
|
-
skipped: number;
|
|
1341
1722
|
tasksCreated: number;
|
|
1342
1723
|
tasksUpdated: number;
|
|
1724
|
+
skipped: number;
|
|
1343
1725
|
avgConfidence: number;
|
|
1344
1726
|
tasksCompleted?: number | undefined;
|
|
1345
|
-
successRate?: number | undefined;
|
|
1346
1727
|
successfulOutcomes?: number | undefined;
|
|
1728
|
+
successRate?: number | undefined;
|
|
1347
1729
|
}>;
|
|
1348
1730
|
crossSourceMatches: {
|
|
1349
1731
|
tasksCreated: number;
|
|
@@ -1354,8 +1736,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1354
1736
|
}[];
|
|
1355
1737
|
effectiveness: Record<string, {
|
|
1356
1738
|
tasksCompleted: number;
|
|
1357
|
-
successRate: number;
|
|
1358
1739
|
successfulOutcomes: number;
|
|
1740
|
+
successRate: number;
|
|
1359
1741
|
avgImprovementScore: number;
|
|
1360
1742
|
}>;
|
|
1361
1743
|
learnedPatterns: {
|
|
@@ -1403,21 +1785,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1403
1785
|
id: string;
|
|
1404
1786
|
attributes: {
|
|
1405
1787
|
overall: {
|
|
1406
|
-
skipped: number;
|
|
1407
1788
|
tasksCreated: number;
|
|
1408
1789
|
tasksUpdated: number;
|
|
1790
|
+
skipped: number;
|
|
1409
1791
|
deduplicationRate: number;
|
|
1410
1792
|
totalRecommendations: number;
|
|
1411
1793
|
};
|
|
1412
1794
|
bySource: Record<string, {
|
|
1413
1795
|
recommendations: number;
|
|
1414
|
-
skipped: number;
|
|
1415
1796
|
tasksCreated: number;
|
|
1416
1797
|
tasksUpdated: number;
|
|
1798
|
+
skipped: number;
|
|
1417
1799
|
avgConfidence: number;
|
|
1418
1800
|
tasksCompleted?: number | undefined;
|
|
1419
|
-
successRate?: number | undefined;
|
|
1420
1801
|
successfulOutcomes?: number | undefined;
|
|
1802
|
+
successRate?: number | undefined;
|
|
1421
1803
|
}>;
|
|
1422
1804
|
crossSourceMatches: {
|
|
1423
1805
|
tasksCreated: number;
|
|
@@ -1428,8 +1810,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1428
1810
|
}[];
|
|
1429
1811
|
effectiveness: Record<string, {
|
|
1430
1812
|
tasksCompleted: number;
|
|
1431
|
-
successRate: number;
|
|
1432
1813
|
successfulOutcomes: number;
|
|
1814
|
+
successRate: number;
|
|
1433
1815
|
avgImprovementScore: number;
|
|
1434
1816
|
}>;
|
|
1435
1817
|
learnedPatterns: {
|
|
@@ -1463,21 +1845,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1463
1845
|
id: string;
|
|
1464
1846
|
attributes: {
|
|
1465
1847
|
overall: {
|
|
1466
|
-
skipped: number;
|
|
1467
1848
|
tasksCreated: number;
|
|
1468
1849
|
tasksUpdated: number;
|
|
1850
|
+
skipped: number;
|
|
1469
1851
|
deduplicationRate: number;
|
|
1470
1852
|
totalRecommendations: number;
|
|
1471
1853
|
};
|
|
1472
1854
|
bySource: Record<string, {
|
|
1473
1855
|
recommendations: number;
|
|
1474
|
-
skipped: number;
|
|
1475
1856
|
tasksCreated: number;
|
|
1476
1857
|
tasksUpdated: number;
|
|
1858
|
+
skipped: number;
|
|
1477
1859
|
avgConfidence: number;
|
|
1478
1860
|
tasksCompleted?: number | undefined;
|
|
1479
|
-
successRate?: number | undefined;
|
|
1480
1861
|
successfulOutcomes?: number | undefined;
|
|
1862
|
+
successRate?: number | undefined;
|
|
1481
1863
|
}>;
|
|
1482
1864
|
crossSourceMatches: {
|
|
1483
1865
|
tasksCreated: number;
|
|
@@ -1488,8 +1870,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1488
1870
|
}[];
|
|
1489
1871
|
effectiveness: Record<string, {
|
|
1490
1872
|
tasksCompleted: number;
|
|
1491
|
-
successRate: number;
|
|
1492
1873
|
successfulOutcomes: number;
|
|
1874
|
+
successRate: number;
|
|
1493
1875
|
avgImprovementScore: number;
|
|
1494
1876
|
}>;
|
|
1495
1877
|
learnedPatterns: {
|
|
@@ -1518,16 +1900,20 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1518
1900
|
meta?: Record<string, unknown> | undefined;
|
|
1519
1901
|
}[] | undefined;
|
|
1520
1902
|
}>;
|
|
1521
|
-
export type SourceStats = z.infer<typeof sourceStatsSchema>;
|
|
1522
|
-
export type CrossSourceMatch = z.infer<typeof crossSourceMatchSchema>;
|
|
1523
|
-
export type Effectiveness = z.infer<typeof effectivenessSchema>;
|
|
1524
|
-
export type LearnedPattern = z.infer<typeof learnedPatternSchema>;
|
|
1525
|
-
export type AutonomousMonitoringStatsAttributes = z.infer<typeof autonomousMonitoringStatsAttributesSchema>;
|
|
1526
|
-
export type AutonomousMonitoringStatsResponse = z.infer<typeof autonomousMonitoringStatsResponseSchema>;
|
|
1527
1903
|
export type AdminCreateUserAttributes = z.infer<typeof adminCreateUserAttributesSchema>;
|
|
1528
1904
|
export type AdminCreateUserInput = z.infer<typeof adminCreateUserSchema>;
|
|
1529
1905
|
export type AdminCreateUserResponse = z.infer<typeof userResponseSchema>;
|
|
1530
1906
|
export type AdminUserListAttributes = z.infer<typeof adminUserListAttributesSchema>;
|
|
1531
1907
|
export type AdminUserListResponse = z.infer<typeof adminUserListResponseSchema>;
|
|
1532
1908
|
export type AdminLoginLinkResponse = z.infer<typeof adminLoginLinkResponseSchema>;
|
|
1909
|
+
export type AdminInviteUserInput = z.infer<typeof adminInviteUserSchema>;
|
|
1910
|
+
export type UpdatePlatformRoleInput = z.infer<typeof updatePlatformRoleSchema>;
|
|
1911
|
+
export type AcceptAdminInviteInput = z.infer<typeof acceptAdminInviteSchema>;
|
|
1912
|
+
export type ImpersonationResponse = z.infer<typeof impersonationResponseSchema>;
|
|
1913
|
+
export type SourceStats = z.infer<typeof sourceStatsSchema>;
|
|
1914
|
+
export type CrossSourceMatch = z.infer<typeof crossSourceMatchSchema>;
|
|
1915
|
+
export type Effectiveness = z.infer<typeof effectivenessSchema>;
|
|
1916
|
+
export type LearnedPattern = z.infer<typeof learnedPatternSchema>;
|
|
1917
|
+
export type AutonomousMonitoringStatsAttributes = z.infer<typeof autonomousMonitoringStatsAttributesSchema>;
|
|
1918
|
+
export type AutonomousMonitoringStatsResponse = z.infer<typeof autonomousMonitoringStatsResponseSchema>;
|
|
1533
1919
|
//# sourceMappingURL=admin.schemas.d.ts.map
|