@deepintel-ltd/farmpro-contracts 1.11.3 → 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.
- package/dist/routes/admin.routes.d.ts +2852 -36
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +78 -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 +431 -84
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +36 -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,320 @@ export declare const adminLoginLinkResponseSchema: z.ZodObject<{
|
|
|
466
496
|
meta?: Record<string, unknown> | undefined;
|
|
467
497
|
}[] | undefined;
|
|
468
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
|
+
}>;
|
|
469
813
|
export declare const sourceStatsSchema: z.ZodObject<{
|
|
470
814
|
recommendations: z.ZodNumber;
|
|
471
815
|
tasksCreated: z.ZodNumber;
|
|
@@ -477,22 +821,22 @@ export declare const sourceStatsSchema: z.ZodObject<{
|
|
|
477
821
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
478
822
|
}, "strip", z.ZodTypeAny, {
|
|
479
823
|
recommendations: number;
|
|
480
|
-
skipped: number;
|
|
481
824
|
tasksCreated: number;
|
|
482
825
|
tasksUpdated: number;
|
|
826
|
+
skipped: number;
|
|
483
827
|
avgConfidence: number;
|
|
484
828
|
tasksCompleted?: number | undefined;
|
|
485
|
-
successRate?: number | undefined;
|
|
486
829
|
successfulOutcomes?: number | undefined;
|
|
830
|
+
successRate?: number | undefined;
|
|
487
831
|
}, {
|
|
488
832
|
recommendations: number;
|
|
489
|
-
skipped: number;
|
|
490
833
|
tasksCreated: number;
|
|
491
834
|
tasksUpdated: number;
|
|
835
|
+
skipped: number;
|
|
492
836
|
avgConfidence: number;
|
|
493
837
|
tasksCompleted?: number | undefined;
|
|
494
|
-
successRate?: number | undefined;
|
|
495
838
|
successfulOutcomes?: number | undefined;
|
|
839
|
+
successRate?: number | undefined;
|
|
496
840
|
}>;
|
|
497
841
|
export declare const crossSourceMatchSchema: z.ZodObject<{
|
|
498
842
|
issueType: z.ZodString;
|
|
@@ -520,13 +864,13 @@ export declare const effectivenessSchema: z.ZodObject<{
|
|
|
520
864
|
avgImprovementScore: z.ZodNumber;
|
|
521
865
|
}, "strip", z.ZodTypeAny, {
|
|
522
866
|
tasksCompleted: number;
|
|
523
|
-
successRate: number;
|
|
524
867
|
successfulOutcomes: number;
|
|
868
|
+
successRate: number;
|
|
525
869
|
avgImprovementScore: number;
|
|
526
870
|
}, {
|
|
527
871
|
tasksCompleted: number;
|
|
528
|
-
successRate: number;
|
|
529
872
|
successfulOutcomes: number;
|
|
873
|
+
successRate: number;
|
|
530
874
|
avgImprovementScore: number;
|
|
531
875
|
}>;
|
|
532
876
|
export declare const learnedPatternSchema: z.ZodObject<{
|
|
@@ -556,15 +900,15 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
556
900
|
skipped: z.ZodNumber;
|
|
557
901
|
deduplicationRate: z.ZodNumber;
|
|
558
902
|
}, "strip", z.ZodTypeAny, {
|
|
559
|
-
skipped: number;
|
|
560
903
|
tasksCreated: number;
|
|
561
904
|
tasksUpdated: number;
|
|
905
|
+
skipped: number;
|
|
562
906
|
deduplicationRate: number;
|
|
563
907
|
totalRecommendations: number;
|
|
564
908
|
}, {
|
|
565
|
-
skipped: number;
|
|
566
909
|
tasksCreated: number;
|
|
567
910
|
tasksUpdated: number;
|
|
911
|
+
skipped: number;
|
|
568
912
|
deduplicationRate: number;
|
|
569
913
|
totalRecommendations: number;
|
|
570
914
|
}>;
|
|
@@ -579,22 +923,22 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
579
923
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
580
924
|
}, "strip", z.ZodTypeAny, {
|
|
581
925
|
recommendations: number;
|
|
582
|
-
skipped: number;
|
|
583
926
|
tasksCreated: number;
|
|
584
927
|
tasksUpdated: number;
|
|
928
|
+
skipped: number;
|
|
585
929
|
avgConfidence: number;
|
|
586
930
|
tasksCompleted?: number | undefined;
|
|
587
|
-
successRate?: number | undefined;
|
|
588
931
|
successfulOutcomes?: number | undefined;
|
|
932
|
+
successRate?: number | undefined;
|
|
589
933
|
}, {
|
|
590
934
|
recommendations: number;
|
|
591
|
-
skipped: number;
|
|
592
935
|
tasksCreated: number;
|
|
593
936
|
tasksUpdated: number;
|
|
937
|
+
skipped: number;
|
|
594
938
|
avgConfidence: number;
|
|
595
939
|
tasksCompleted?: number | undefined;
|
|
596
|
-
successRate?: number | undefined;
|
|
597
940
|
successfulOutcomes?: number | undefined;
|
|
941
|
+
successRate?: number | undefined;
|
|
598
942
|
}>>;
|
|
599
943
|
crossSourceMatches: z.ZodArray<z.ZodObject<{
|
|
600
944
|
issueType: z.ZodString;
|
|
@@ -622,13 +966,13 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
622
966
|
avgImprovementScore: z.ZodNumber;
|
|
623
967
|
}, "strip", z.ZodTypeAny, {
|
|
624
968
|
tasksCompleted: number;
|
|
625
|
-
successRate: number;
|
|
626
969
|
successfulOutcomes: number;
|
|
970
|
+
successRate: number;
|
|
627
971
|
avgImprovementScore: number;
|
|
628
972
|
}, {
|
|
629
973
|
tasksCompleted: number;
|
|
630
|
-
successRate: number;
|
|
631
974
|
successfulOutcomes: number;
|
|
975
|
+
successRate: number;
|
|
632
976
|
avgImprovementScore: number;
|
|
633
977
|
}>>;
|
|
634
978
|
learnedPatterns: z.ZodObject<{
|
|
@@ -673,21 +1017,21 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
673
1017
|
}>;
|
|
674
1018
|
}, "strip", z.ZodTypeAny, {
|
|
675
1019
|
overall: {
|
|
676
|
-
skipped: number;
|
|
677
1020
|
tasksCreated: number;
|
|
678
1021
|
tasksUpdated: number;
|
|
1022
|
+
skipped: number;
|
|
679
1023
|
deduplicationRate: number;
|
|
680
1024
|
totalRecommendations: number;
|
|
681
1025
|
};
|
|
682
1026
|
bySource: Record<string, {
|
|
683
1027
|
recommendations: number;
|
|
684
|
-
skipped: number;
|
|
685
1028
|
tasksCreated: number;
|
|
686
1029
|
tasksUpdated: number;
|
|
1030
|
+
skipped: number;
|
|
687
1031
|
avgConfidence: number;
|
|
688
1032
|
tasksCompleted?: number | undefined;
|
|
689
|
-
successRate?: number | undefined;
|
|
690
1033
|
successfulOutcomes?: number | undefined;
|
|
1034
|
+
successRate?: number | undefined;
|
|
691
1035
|
}>;
|
|
692
1036
|
crossSourceMatches: {
|
|
693
1037
|
tasksCreated: number;
|
|
@@ -698,8 +1042,8 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
698
1042
|
}[];
|
|
699
1043
|
effectiveness: Record<string, {
|
|
700
1044
|
tasksCompleted: number;
|
|
701
|
-
successRate: number;
|
|
702
1045
|
successfulOutcomes: number;
|
|
1046
|
+
successRate: number;
|
|
703
1047
|
avgImprovementScore: number;
|
|
704
1048
|
}>;
|
|
705
1049
|
learnedPatterns: {
|
|
@@ -714,21 +1058,21 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
714
1058
|
};
|
|
715
1059
|
}, {
|
|
716
1060
|
overall: {
|
|
717
|
-
skipped: number;
|
|
718
1061
|
tasksCreated: number;
|
|
719
1062
|
tasksUpdated: number;
|
|
1063
|
+
skipped: number;
|
|
720
1064
|
deduplicationRate: number;
|
|
721
1065
|
totalRecommendations: number;
|
|
722
1066
|
};
|
|
723
1067
|
bySource: Record<string, {
|
|
724
1068
|
recommendations: number;
|
|
725
|
-
skipped: number;
|
|
726
1069
|
tasksCreated: number;
|
|
727
1070
|
tasksUpdated: number;
|
|
1071
|
+
skipped: number;
|
|
728
1072
|
avgConfidence: number;
|
|
729
1073
|
tasksCompleted?: number | undefined;
|
|
730
|
-
successRate?: number | undefined;
|
|
731
1074
|
successfulOutcomes?: number | undefined;
|
|
1075
|
+
successRate?: number | undefined;
|
|
732
1076
|
}>;
|
|
733
1077
|
crossSourceMatches: {
|
|
734
1078
|
tasksCreated: number;
|
|
@@ -739,8 +1083,8 @@ export declare const autonomousMonitoringStatsAttributesSchema: z.ZodObject<{
|
|
|
739
1083
|
}[];
|
|
740
1084
|
effectiveness: Record<string, {
|
|
741
1085
|
tasksCompleted: number;
|
|
742
|
-
successRate: number;
|
|
743
1086
|
successfulOutcomes: number;
|
|
1087
|
+
successRate: number;
|
|
744
1088
|
avgImprovementScore: number;
|
|
745
1089
|
}>;
|
|
746
1090
|
learnedPatterns: {
|
|
@@ -765,15 +1109,15 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
765
1109
|
skipped: z.ZodNumber;
|
|
766
1110
|
deduplicationRate: z.ZodNumber;
|
|
767
1111
|
}, "strip", z.ZodTypeAny, {
|
|
768
|
-
skipped: number;
|
|
769
1112
|
tasksCreated: number;
|
|
770
1113
|
tasksUpdated: number;
|
|
1114
|
+
skipped: number;
|
|
771
1115
|
deduplicationRate: number;
|
|
772
1116
|
totalRecommendations: number;
|
|
773
1117
|
}, {
|
|
774
|
-
skipped: number;
|
|
775
1118
|
tasksCreated: number;
|
|
776
1119
|
tasksUpdated: number;
|
|
1120
|
+
skipped: number;
|
|
777
1121
|
deduplicationRate: number;
|
|
778
1122
|
totalRecommendations: number;
|
|
779
1123
|
}>;
|
|
@@ -788,22 +1132,22 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
788
1132
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
789
1133
|
}, "strip", z.ZodTypeAny, {
|
|
790
1134
|
recommendations: number;
|
|
791
|
-
skipped: number;
|
|
792
1135
|
tasksCreated: number;
|
|
793
1136
|
tasksUpdated: number;
|
|
1137
|
+
skipped: number;
|
|
794
1138
|
avgConfidence: number;
|
|
795
1139
|
tasksCompleted?: number | undefined;
|
|
796
|
-
successRate?: number | undefined;
|
|
797
1140
|
successfulOutcomes?: number | undefined;
|
|
1141
|
+
successRate?: number | undefined;
|
|
798
1142
|
}, {
|
|
799
1143
|
recommendations: number;
|
|
800
|
-
skipped: number;
|
|
801
1144
|
tasksCreated: number;
|
|
802
1145
|
tasksUpdated: number;
|
|
1146
|
+
skipped: number;
|
|
803
1147
|
avgConfidence: number;
|
|
804
1148
|
tasksCompleted?: number | undefined;
|
|
805
|
-
successRate?: number | undefined;
|
|
806
1149
|
successfulOutcomes?: number | undefined;
|
|
1150
|
+
successRate?: number | undefined;
|
|
807
1151
|
}>>;
|
|
808
1152
|
crossSourceMatches: z.ZodArray<z.ZodObject<{
|
|
809
1153
|
issueType: z.ZodString;
|
|
@@ -831,13 +1175,13 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
831
1175
|
avgImprovementScore: z.ZodNumber;
|
|
832
1176
|
}, "strip", z.ZodTypeAny, {
|
|
833
1177
|
tasksCompleted: number;
|
|
834
|
-
successRate: number;
|
|
835
1178
|
successfulOutcomes: number;
|
|
1179
|
+
successRate: number;
|
|
836
1180
|
avgImprovementScore: number;
|
|
837
1181
|
}, {
|
|
838
1182
|
tasksCompleted: number;
|
|
839
|
-
successRate: number;
|
|
840
1183
|
successfulOutcomes: number;
|
|
1184
|
+
successRate: number;
|
|
841
1185
|
avgImprovementScore: number;
|
|
842
1186
|
}>>;
|
|
843
1187
|
learnedPatterns: z.ZodObject<{
|
|
@@ -882,21 +1226,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
882
1226
|
}>;
|
|
883
1227
|
}, "strip", z.ZodTypeAny, {
|
|
884
1228
|
overall: {
|
|
885
|
-
skipped: number;
|
|
886
1229
|
tasksCreated: number;
|
|
887
1230
|
tasksUpdated: number;
|
|
1231
|
+
skipped: number;
|
|
888
1232
|
deduplicationRate: number;
|
|
889
1233
|
totalRecommendations: number;
|
|
890
1234
|
};
|
|
891
1235
|
bySource: Record<string, {
|
|
892
1236
|
recommendations: number;
|
|
893
|
-
skipped: number;
|
|
894
1237
|
tasksCreated: number;
|
|
895
1238
|
tasksUpdated: number;
|
|
1239
|
+
skipped: number;
|
|
896
1240
|
avgConfidence: number;
|
|
897
1241
|
tasksCompleted?: number | undefined;
|
|
898
|
-
successRate?: number | undefined;
|
|
899
1242
|
successfulOutcomes?: number | undefined;
|
|
1243
|
+
successRate?: number | undefined;
|
|
900
1244
|
}>;
|
|
901
1245
|
crossSourceMatches: {
|
|
902
1246
|
tasksCreated: number;
|
|
@@ -907,8 +1251,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
907
1251
|
}[];
|
|
908
1252
|
effectiveness: Record<string, {
|
|
909
1253
|
tasksCompleted: number;
|
|
910
|
-
successRate: number;
|
|
911
1254
|
successfulOutcomes: number;
|
|
1255
|
+
successRate: number;
|
|
912
1256
|
avgImprovementScore: number;
|
|
913
1257
|
}>;
|
|
914
1258
|
learnedPatterns: {
|
|
@@ -923,21 +1267,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
923
1267
|
};
|
|
924
1268
|
}, {
|
|
925
1269
|
overall: {
|
|
926
|
-
skipped: number;
|
|
927
1270
|
tasksCreated: number;
|
|
928
1271
|
tasksUpdated: number;
|
|
1272
|
+
skipped: number;
|
|
929
1273
|
deduplicationRate: number;
|
|
930
1274
|
totalRecommendations: number;
|
|
931
1275
|
};
|
|
932
1276
|
bySource: Record<string, {
|
|
933
1277
|
recommendations: number;
|
|
934
|
-
skipped: number;
|
|
935
1278
|
tasksCreated: number;
|
|
936
1279
|
tasksUpdated: number;
|
|
1280
|
+
skipped: number;
|
|
937
1281
|
avgConfidence: number;
|
|
938
1282
|
tasksCompleted?: number | undefined;
|
|
939
|
-
successRate?: number | undefined;
|
|
940
1283
|
successfulOutcomes?: number | undefined;
|
|
1284
|
+
successRate?: number | undefined;
|
|
941
1285
|
}>;
|
|
942
1286
|
crossSourceMatches: {
|
|
943
1287
|
tasksCreated: number;
|
|
@@ -948,8 +1292,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
948
1292
|
}[];
|
|
949
1293
|
effectiveness: Record<string, {
|
|
950
1294
|
tasksCompleted: number;
|
|
951
|
-
successRate: number;
|
|
952
1295
|
successfulOutcomes: number;
|
|
1296
|
+
successRate: number;
|
|
953
1297
|
avgImprovementScore: number;
|
|
954
1298
|
}>;
|
|
955
1299
|
learnedPatterns: {
|
|
@@ -971,21 +1315,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
971
1315
|
id: string;
|
|
972
1316
|
attributes: {
|
|
973
1317
|
overall: {
|
|
974
|
-
skipped: number;
|
|
975
1318
|
tasksCreated: number;
|
|
976
1319
|
tasksUpdated: number;
|
|
1320
|
+
skipped: number;
|
|
977
1321
|
deduplicationRate: number;
|
|
978
1322
|
totalRecommendations: number;
|
|
979
1323
|
};
|
|
980
1324
|
bySource: Record<string, {
|
|
981
1325
|
recommendations: number;
|
|
982
|
-
skipped: number;
|
|
983
1326
|
tasksCreated: number;
|
|
984
1327
|
tasksUpdated: number;
|
|
1328
|
+
skipped: number;
|
|
985
1329
|
avgConfidence: number;
|
|
986
1330
|
tasksCompleted?: number | undefined;
|
|
987
|
-
successRate?: number | undefined;
|
|
988
1331
|
successfulOutcomes?: number | undefined;
|
|
1332
|
+
successRate?: number | undefined;
|
|
989
1333
|
}>;
|
|
990
1334
|
crossSourceMatches: {
|
|
991
1335
|
tasksCreated: number;
|
|
@@ -996,8 +1340,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
996
1340
|
}[];
|
|
997
1341
|
effectiveness: Record<string, {
|
|
998
1342
|
tasksCompleted: number;
|
|
999
|
-
successRate: number;
|
|
1000
1343
|
successfulOutcomes: number;
|
|
1344
|
+
successRate: number;
|
|
1001
1345
|
avgImprovementScore: number;
|
|
1002
1346
|
}>;
|
|
1003
1347
|
learnedPatterns: {
|
|
@@ -1019,21 +1363,21 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
1019
1363
|
id: string;
|
|
1020
1364
|
attributes: {
|
|
1021
1365
|
overall: {
|
|
1022
|
-
skipped: number;
|
|
1023
1366
|
tasksCreated: number;
|
|
1024
1367
|
tasksUpdated: number;
|
|
1368
|
+
skipped: number;
|
|
1025
1369
|
deduplicationRate: number;
|
|
1026
1370
|
totalRecommendations: number;
|
|
1027
1371
|
};
|
|
1028
1372
|
bySource: Record<string, {
|
|
1029
1373
|
recommendations: number;
|
|
1030
|
-
skipped: number;
|
|
1031
1374
|
tasksCreated: number;
|
|
1032
1375
|
tasksUpdated: number;
|
|
1376
|
+
skipped: number;
|
|
1033
1377
|
avgConfidence: number;
|
|
1034
1378
|
tasksCompleted?: number | undefined;
|
|
1035
|
-
successRate?: number | undefined;
|
|
1036
1379
|
successfulOutcomes?: number | undefined;
|
|
1380
|
+
successRate?: number | undefined;
|
|
1037
1381
|
}>;
|
|
1038
1382
|
crossSourceMatches: {
|
|
1039
1383
|
tasksCreated: number;
|
|
@@ -1044,8 +1388,8 @@ export declare const autonomousMonitoringStatsResourceSchema: z.ZodObject<{
|
|
|
1044
1388
|
}[];
|
|
1045
1389
|
effectiveness: Record<string, {
|
|
1046
1390
|
tasksCompleted: number;
|
|
1047
|
-
successRate: number;
|
|
1048
1391
|
successfulOutcomes: number;
|
|
1392
|
+
successRate: number;
|
|
1049
1393
|
avgImprovementScore: number;
|
|
1050
1394
|
}>;
|
|
1051
1395
|
learnedPatterns: {
|
|
@@ -1075,15 +1419,15 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1075
1419
|
skipped: z.ZodNumber;
|
|
1076
1420
|
deduplicationRate: z.ZodNumber;
|
|
1077
1421
|
}, "strip", z.ZodTypeAny, {
|
|
1078
|
-
skipped: number;
|
|
1079
1422
|
tasksCreated: number;
|
|
1080
1423
|
tasksUpdated: number;
|
|
1424
|
+
skipped: number;
|
|
1081
1425
|
deduplicationRate: number;
|
|
1082
1426
|
totalRecommendations: number;
|
|
1083
1427
|
}, {
|
|
1084
|
-
skipped: number;
|
|
1085
1428
|
tasksCreated: number;
|
|
1086
1429
|
tasksUpdated: number;
|
|
1430
|
+
skipped: number;
|
|
1087
1431
|
deduplicationRate: number;
|
|
1088
1432
|
totalRecommendations: number;
|
|
1089
1433
|
}>;
|
|
@@ -1098,22 +1442,22 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1098
1442
|
successRate: z.ZodOptional<z.ZodNumber>;
|
|
1099
1443
|
}, "strip", z.ZodTypeAny, {
|
|
1100
1444
|
recommendations: number;
|
|
1101
|
-
skipped: number;
|
|
1102
1445
|
tasksCreated: number;
|
|
1103
1446
|
tasksUpdated: number;
|
|
1447
|
+
skipped: number;
|
|
1104
1448
|
avgConfidence: number;
|
|
1105
1449
|
tasksCompleted?: number | undefined;
|
|
1106
|
-
successRate?: number | undefined;
|
|
1107
1450
|
successfulOutcomes?: number | undefined;
|
|
1451
|
+
successRate?: number | undefined;
|
|
1108
1452
|
}, {
|
|
1109
1453
|
recommendations: number;
|
|
1110
|
-
skipped: number;
|
|
1111
1454
|
tasksCreated: number;
|
|
1112
1455
|
tasksUpdated: number;
|
|
1456
|
+
skipped: number;
|
|
1113
1457
|
avgConfidence: number;
|
|
1114
1458
|
tasksCompleted?: number | undefined;
|
|
1115
|
-
successRate?: number | undefined;
|
|
1116
1459
|
successfulOutcomes?: number | undefined;
|
|
1460
|
+
successRate?: number | undefined;
|
|
1117
1461
|
}>>;
|
|
1118
1462
|
crossSourceMatches: z.ZodArray<z.ZodObject<{
|
|
1119
1463
|
issueType: z.ZodString;
|
|
@@ -1141,13 +1485,13 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1141
1485
|
avgImprovementScore: z.ZodNumber;
|
|
1142
1486
|
}, "strip", z.ZodTypeAny, {
|
|
1143
1487
|
tasksCompleted: number;
|
|
1144
|
-
successRate: number;
|
|
1145
1488
|
successfulOutcomes: number;
|
|
1489
|
+
successRate: number;
|
|
1146
1490
|
avgImprovementScore: number;
|
|
1147
1491
|
}, {
|
|
1148
1492
|
tasksCompleted: number;
|
|
1149
|
-
successRate: number;
|
|
1150
1493
|
successfulOutcomes: number;
|
|
1494
|
+
successRate: number;
|
|
1151
1495
|
avgImprovementScore: number;
|
|
1152
1496
|
}>>;
|
|
1153
1497
|
learnedPatterns: z.ZodObject<{
|
|
@@ -1192,21 +1536,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1192
1536
|
}>;
|
|
1193
1537
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1538
|
overall: {
|
|
1195
|
-
skipped: number;
|
|
1196
1539
|
tasksCreated: number;
|
|
1197
1540
|
tasksUpdated: number;
|
|
1541
|
+
skipped: number;
|
|
1198
1542
|
deduplicationRate: number;
|
|
1199
1543
|
totalRecommendations: number;
|
|
1200
1544
|
};
|
|
1201
1545
|
bySource: Record<string, {
|
|
1202
1546
|
recommendations: number;
|
|
1203
|
-
skipped: number;
|
|
1204
1547
|
tasksCreated: number;
|
|
1205
1548
|
tasksUpdated: number;
|
|
1549
|
+
skipped: number;
|
|
1206
1550
|
avgConfidence: number;
|
|
1207
1551
|
tasksCompleted?: number | undefined;
|
|
1208
|
-
successRate?: number | undefined;
|
|
1209
1552
|
successfulOutcomes?: number | undefined;
|
|
1553
|
+
successRate?: number | undefined;
|
|
1210
1554
|
}>;
|
|
1211
1555
|
crossSourceMatches: {
|
|
1212
1556
|
tasksCreated: number;
|
|
@@ -1217,8 +1561,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1217
1561
|
}[];
|
|
1218
1562
|
effectiveness: Record<string, {
|
|
1219
1563
|
tasksCompleted: number;
|
|
1220
|
-
successRate: number;
|
|
1221
1564
|
successfulOutcomes: number;
|
|
1565
|
+
successRate: number;
|
|
1222
1566
|
avgImprovementScore: number;
|
|
1223
1567
|
}>;
|
|
1224
1568
|
learnedPatterns: {
|
|
@@ -1233,21 +1577,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1233
1577
|
};
|
|
1234
1578
|
}, {
|
|
1235
1579
|
overall: {
|
|
1236
|
-
skipped: number;
|
|
1237
1580
|
tasksCreated: number;
|
|
1238
1581
|
tasksUpdated: number;
|
|
1582
|
+
skipped: number;
|
|
1239
1583
|
deduplicationRate: number;
|
|
1240
1584
|
totalRecommendations: number;
|
|
1241
1585
|
};
|
|
1242
1586
|
bySource: Record<string, {
|
|
1243
1587
|
recommendations: number;
|
|
1244
|
-
skipped: number;
|
|
1245
1588
|
tasksCreated: number;
|
|
1246
1589
|
tasksUpdated: number;
|
|
1590
|
+
skipped: number;
|
|
1247
1591
|
avgConfidence: number;
|
|
1248
1592
|
tasksCompleted?: number | undefined;
|
|
1249
|
-
successRate?: number | undefined;
|
|
1250
1593
|
successfulOutcomes?: number | undefined;
|
|
1594
|
+
successRate?: number | undefined;
|
|
1251
1595
|
}>;
|
|
1252
1596
|
crossSourceMatches: {
|
|
1253
1597
|
tasksCreated: number;
|
|
@@ -1258,8 +1602,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1258
1602
|
}[];
|
|
1259
1603
|
effectiveness: Record<string, {
|
|
1260
1604
|
tasksCompleted: number;
|
|
1261
|
-
successRate: number;
|
|
1262
1605
|
successfulOutcomes: number;
|
|
1606
|
+
successRate: number;
|
|
1263
1607
|
avgImprovementScore: number;
|
|
1264
1608
|
}>;
|
|
1265
1609
|
learnedPatterns: {
|
|
@@ -1281,21 +1625,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1281
1625
|
id: string;
|
|
1282
1626
|
attributes: {
|
|
1283
1627
|
overall: {
|
|
1284
|
-
skipped: number;
|
|
1285
1628
|
tasksCreated: number;
|
|
1286
1629
|
tasksUpdated: number;
|
|
1630
|
+
skipped: number;
|
|
1287
1631
|
deduplicationRate: number;
|
|
1288
1632
|
totalRecommendations: number;
|
|
1289
1633
|
};
|
|
1290
1634
|
bySource: Record<string, {
|
|
1291
1635
|
recommendations: number;
|
|
1292
|
-
skipped: number;
|
|
1293
1636
|
tasksCreated: number;
|
|
1294
1637
|
tasksUpdated: number;
|
|
1638
|
+
skipped: number;
|
|
1295
1639
|
avgConfidence: number;
|
|
1296
1640
|
tasksCompleted?: number | undefined;
|
|
1297
|
-
successRate?: number | undefined;
|
|
1298
1641
|
successfulOutcomes?: number | undefined;
|
|
1642
|
+
successRate?: number | undefined;
|
|
1299
1643
|
}>;
|
|
1300
1644
|
crossSourceMatches: {
|
|
1301
1645
|
tasksCreated: number;
|
|
@@ -1306,8 +1650,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1306
1650
|
}[];
|
|
1307
1651
|
effectiveness: Record<string, {
|
|
1308
1652
|
tasksCompleted: number;
|
|
1309
|
-
successRate: number;
|
|
1310
1653
|
successfulOutcomes: number;
|
|
1654
|
+
successRate: number;
|
|
1311
1655
|
avgImprovementScore: number;
|
|
1312
1656
|
}>;
|
|
1313
1657
|
learnedPatterns: {
|
|
@@ -1329,21 +1673,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1329
1673
|
id: string;
|
|
1330
1674
|
attributes: {
|
|
1331
1675
|
overall: {
|
|
1332
|
-
skipped: number;
|
|
1333
1676
|
tasksCreated: number;
|
|
1334
1677
|
tasksUpdated: number;
|
|
1678
|
+
skipped: number;
|
|
1335
1679
|
deduplicationRate: number;
|
|
1336
1680
|
totalRecommendations: number;
|
|
1337
1681
|
};
|
|
1338
1682
|
bySource: Record<string, {
|
|
1339
1683
|
recommendations: number;
|
|
1340
|
-
skipped: number;
|
|
1341
1684
|
tasksCreated: number;
|
|
1342
1685
|
tasksUpdated: number;
|
|
1686
|
+
skipped: number;
|
|
1343
1687
|
avgConfidence: number;
|
|
1344
1688
|
tasksCompleted?: number | undefined;
|
|
1345
|
-
successRate?: number | undefined;
|
|
1346
1689
|
successfulOutcomes?: number | undefined;
|
|
1690
|
+
successRate?: number | undefined;
|
|
1347
1691
|
}>;
|
|
1348
1692
|
crossSourceMatches: {
|
|
1349
1693
|
tasksCreated: number;
|
|
@@ -1354,8 +1698,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1354
1698
|
}[];
|
|
1355
1699
|
effectiveness: Record<string, {
|
|
1356
1700
|
tasksCompleted: number;
|
|
1357
|
-
successRate: number;
|
|
1358
1701
|
successfulOutcomes: number;
|
|
1702
|
+
successRate: number;
|
|
1359
1703
|
avgImprovementScore: number;
|
|
1360
1704
|
}>;
|
|
1361
1705
|
learnedPatterns: {
|
|
@@ -1403,21 +1747,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1403
1747
|
id: string;
|
|
1404
1748
|
attributes: {
|
|
1405
1749
|
overall: {
|
|
1406
|
-
skipped: number;
|
|
1407
1750
|
tasksCreated: number;
|
|
1408
1751
|
tasksUpdated: number;
|
|
1752
|
+
skipped: number;
|
|
1409
1753
|
deduplicationRate: number;
|
|
1410
1754
|
totalRecommendations: number;
|
|
1411
1755
|
};
|
|
1412
1756
|
bySource: Record<string, {
|
|
1413
1757
|
recommendations: number;
|
|
1414
|
-
skipped: number;
|
|
1415
1758
|
tasksCreated: number;
|
|
1416
1759
|
tasksUpdated: number;
|
|
1760
|
+
skipped: number;
|
|
1417
1761
|
avgConfidence: number;
|
|
1418
1762
|
tasksCompleted?: number | undefined;
|
|
1419
|
-
successRate?: number | undefined;
|
|
1420
1763
|
successfulOutcomes?: number | undefined;
|
|
1764
|
+
successRate?: number | undefined;
|
|
1421
1765
|
}>;
|
|
1422
1766
|
crossSourceMatches: {
|
|
1423
1767
|
tasksCreated: number;
|
|
@@ -1428,8 +1772,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1428
1772
|
}[];
|
|
1429
1773
|
effectiveness: Record<string, {
|
|
1430
1774
|
tasksCompleted: number;
|
|
1431
|
-
successRate: number;
|
|
1432
1775
|
successfulOutcomes: number;
|
|
1776
|
+
successRate: number;
|
|
1433
1777
|
avgImprovementScore: number;
|
|
1434
1778
|
}>;
|
|
1435
1779
|
learnedPatterns: {
|
|
@@ -1463,21 +1807,21 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1463
1807
|
id: string;
|
|
1464
1808
|
attributes: {
|
|
1465
1809
|
overall: {
|
|
1466
|
-
skipped: number;
|
|
1467
1810
|
tasksCreated: number;
|
|
1468
1811
|
tasksUpdated: number;
|
|
1812
|
+
skipped: number;
|
|
1469
1813
|
deduplicationRate: number;
|
|
1470
1814
|
totalRecommendations: number;
|
|
1471
1815
|
};
|
|
1472
1816
|
bySource: Record<string, {
|
|
1473
1817
|
recommendations: number;
|
|
1474
|
-
skipped: number;
|
|
1475
1818
|
tasksCreated: number;
|
|
1476
1819
|
tasksUpdated: number;
|
|
1820
|
+
skipped: number;
|
|
1477
1821
|
avgConfidence: number;
|
|
1478
1822
|
tasksCompleted?: number | undefined;
|
|
1479
|
-
successRate?: number | undefined;
|
|
1480
1823
|
successfulOutcomes?: number | undefined;
|
|
1824
|
+
successRate?: number | undefined;
|
|
1481
1825
|
}>;
|
|
1482
1826
|
crossSourceMatches: {
|
|
1483
1827
|
tasksCreated: number;
|
|
@@ -1488,8 +1832,8 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1488
1832
|
}[];
|
|
1489
1833
|
effectiveness: Record<string, {
|
|
1490
1834
|
tasksCompleted: number;
|
|
1491
|
-
successRate: number;
|
|
1492
1835
|
successfulOutcomes: number;
|
|
1836
|
+
successRate: number;
|
|
1493
1837
|
avgImprovementScore: number;
|
|
1494
1838
|
}>;
|
|
1495
1839
|
learnedPatterns: {
|
|
@@ -1518,16 +1862,19 @@ export declare const autonomousMonitoringStatsResponseSchema: z.ZodObject<{
|
|
|
1518
1862
|
meta?: Record<string, unknown> | undefined;
|
|
1519
1863
|
}[] | undefined;
|
|
1520
1864
|
}>;
|
|
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
1865
|
export type AdminCreateUserAttributes = z.infer<typeof adminCreateUserAttributesSchema>;
|
|
1528
1866
|
export type AdminCreateUserInput = z.infer<typeof adminCreateUserSchema>;
|
|
1529
1867
|
export type AdminCreateUserResponse = z.infer<typeof userResponseSchema>;
|
|
1530
1868
|
export type AdminUserListAttributes = z.infer<typeof adminUserListAttributesSchema>;
|
|
1531
1869
|
export type AdminUserListResponse = z.infer<typeof adminUserListResponseSchema>;
|
|
1532
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>;
|
|
1874
|
+
export type SourceStats = z.infer<typeof sourceStatsSchema>;
|
|
1875
|
+
export type CrossSourceMatch = z.infer<typeof crossSourceMatchSchema>;
|
|
1876
|
+
export type Effectiveness = z.infer<typeof effectivenessSchema>;
|
|
1877
|
+
export type LearnedPattern = z.infer<typeof learnedPatternSchema>;
|
|
1878
|
+
export type AutonomousMonitoringStatsAttributes = z.infer<typeof autonomousMonitoringStatsAttributesSchema>;
|
|
1879
|
+
export type AutonomousMonitoringStatsResponse = z.infer<typeof autonomousMonitoringStatsResponseSchema>;
|
|
1533
1880
|
//# sourceMappingURL=admin.schemas.d.ts.map
|