@kya-os/contracts 1.6.1 → 1.6.2-canary.0
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/agentshield-api/schemas.d.ts +48 -27
- package/dist/agentshield-api/schemas.js +4 -5
- package/dist/agentshield-api/types.d.ts +4 -6
- package/dist/config/identity.d.ts +2 -214
- package/dist/config/identity.js +0 -29
- package/dist/config/index.d.ts +1 -2
- package/dist/consent/schemas.d.ts +1 -96
- package/dist/consent/schemas.js +1 -39
- package/dist/dashboard-config/schemas.d.ts +174 -1430
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -2
- package/dist/tool-protection/index.d.ts +2 -478
- package/dist/tool-protection/index.js +2 -89
- package/package.json +120 -63
- package/dist/audit/index.d.ts +0 -193
- package/dist/audit/index.js +0 -100
- package/dist/config/tool-context.d.ts +0 -34
- package/dist/config/tool-context.js +0 -13
- package/dist/verifier/index.d.ts +0 -1
- package/dist/verifier/index.js +0 -18
|
@@ -121,12 +121,6 @@ export declare const delegationConfigSchema: z.ZodObject<{
|
|
|
121
121
|
requireAuthForUnknown?: boolean | undefined;
|
|
122
122
|
}>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
authorization: {
|
|
125
|
-
authorizationUrl?: string | undefined;
|
|
126
|
-
minReputationScore?: number | undefined;
|
|
127
|
-
resumeTokenTtl?: number | undefined;
|
|
128
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
129
|
-
};
|
|
130
124
|
enabled: boolean;
|
|
131
125
|
enforceStrictly: boolean;
|
|
132
126
|
verifier: {
|
|
@@ -134,13 +128,13 @@ export declare const delegationConfigSchema: z.ZodObject<{
|
|
|
134
128
|
apiUrl?: string | undefined;
|
|
135
129
|
cacheTtl?: number | undefined;
|
|
136
130
|
};
|
|
137
|
-
}, {
|
|
138
131
|
authorization: {
|
|
139
132
|
authorizationUrl?: string | undefined;
|
|
140
133
|
minReputationScore?: number | undefined;
|
|
141
134
|
resumeTokenTtl?: number | undefined;
|
|
142
135
|
requireAuthForUnknown?: boolean | undefined;
|
|
143
136
|
};
|
|
137
|
+
}, {
|
|
144
138
|
enabled: boolean;
|
|
145
139
|
enforceStrictly: boolean;
|
|
146
140
|
verifier: {
|
|
@@ -148,6 +142,12 @@ export declare const delegationConfigSchema: z.ZodObject<{
|
|
|
148
142
|
apiUrl?: string | undefined;
|
|
149
143
|
cacheTtl?: number | undefined;
|
|
150
144
|
};
|
|
145
|
+
authorization: {
|
|
146
|
+
authorizationUrl?: string | undefined;
|
|
147
|
+
minReputationScore?: number | undefined;
|
|
148
|
+
resumeTokenTtl?: number | undefined;
|
|
149
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
150
|
+
};
|
|
151
151
|
}>;
|
|
152
152
|
/**
|
|
153
153
|
* Tool protection configuration schema
|
|
@@ -168,110 +168,14 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
168
168
|
requiresDelegation: z.ZodBoolean;
|
|
169
169
|
requiredScopes: z.ZodArray<z.ZodString, "many">;
|
|
170
170
|
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
171
|
-
oauthProvider: z.ZodOptional<z.ZodString>;
|
|
172
|
-
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
173
|
-
type: z.ZodLiteral<"oauth">;
|
|
174
|
-
provider: z.ZodString;
|
|
175
|
-
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
176
|
-
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
type: "oauth";
|
|
178
|
-
provider: string;
|
|
179
|
-
requiredScopes?: string[] | undefined;
|
|
180
|
-
}, {
|
|
181
|
-
type: "oauth";
|
|
182
|
-
provider: string;
|
|
183
|
-
requiredScopes?: string[] | undefined;
|
|
184
|
-
}>, z.ZodObject<{
|
|
185
|
-
type: z.ZodLiteral<"mdl">;
|
|
186
|
-
issuer: z.ZodString;
|
|
187
|
-
credentialType: z.ZodOptional<z.ZodString>;
|
|
188
|
-
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
type: "mdl";
|
|
190
|
-
issuer: string;
|
|
191
|
-
credentialType?: string | undefined;
|
|
192
|
-
}, {
|
|
193
|
-
type: "mdl";
|
|
194
|
-
issuer: string;
|
|
195
|
-
credentialType?: string | undefined;
|
|
196
|
-
}>, z.ZodObject<{
|
|
197
|
-
type: z.ZodLiteral<"idv">;
|
|
198
|
-
provider: z.ZodString;
|
|
199
|
-
verificationLevel: z.ZodOptional<z.ZodEnum<["basic", "enhanced", "loa3"]>>;
|
|
200
|
-
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
type: "idv";
|
|
202
|
-
provider: string;
|
|
203
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
204
|
-
}, {
|
|
205
|
-
type: "idv";
|
|
206
|
-
provider: string;
|
|
207
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
208
|
-
}>, z.ZodObject<{
|
|
209
|
-
type: z.ZodLiteral<"credential">;
|
|
210
|
-
credentialType: z.ZodString;
|
|
211
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
212
|
-
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
type: "credential";
|
|
214
|
-
credentialType: string;
|
|
215
|
-
issuer?: string | undefined;
|
|
216
|
-
}, {
|
|
217
|
-
type: "credential";
|
|
218
|
-
credentialType: string;
|
|
219
|
-
issuer?: string | undefined;
|
|
220
|
-
}>, z.ZodObject<{
|
|
221
|
-
type: z.ZodLiteral<"none">;
|
|
222
|
-
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
type: "none";
|
|
224
|
-
}, {
|
|
225
|
-
type: "none";
|
|
226
|
-
}>]>>;
|
|
227
171
|
}, "strip", z.ZodTypeAny, {
|
|
228
172
|
requiresDelegation: boolean;
|
|
229
173
|
requiredScopes: string[];
|
|
230
|
-
authorization?: {
|
|
231
|
-
type: "oauth";
|
|
232
|
-
provider: string;
|
|
233
|
-
requiredScopes?: string[] | undefined;
|
|
234
|
-
} | {
|
|
235
|
-
type: "mdl";
|
|
236
|
-
issuer: string;
|
|
237
|
-
credentialType?: string | undefined;
|
|
238
|
-
} | {
|
|
239
|
-
type: "idv";
|
|
240
|
-
provider: string;
|
|
241
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
242
|
-
} | {
|
|
243
|
-
type: "credential";
|
|
244
|
-
credentialType: string;
|
|
245
|
-
issuer?: string | undefined;
|
|
246
|
-
} | {
|
|
247
|
-
type: "none";
|
|
248
|
-
} | undefined;
|
|
249
174
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
250
|
-
oauthProvider?: string | undefined;
|
|
251
175
|
}, {
|
|
252
176
|
requiresDelegation: boolean;
|
|
253
177
|
requiredScopes: string[];
|
|
254
|
-
authorization?: {
|
|
255
|
-
type: "oauth";
|
|
256
|
-
provider: string;
|
|
257
|
-
requiredScopes?: string[] | undefined;
|
|
258
|
-
} | {
|
|
259
|
-
type: "mdl";
|
|
260
|
-
issuer: string;
|
|
261
|
-
credentialType?: string | undefined;
|
|
262
|
-
} | {
|
|
263
|
-
type: "idv";
|
|
264
|
-
provider: string;
|
|
265
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
266
|
-
} | {
|
|
267
|
-
type: "credential";
|
|
268
|
-
credentialType: string;
|
|
269
|
-
issuer?: string | undefined;
|
|
270
|
-
} | {
|
|
271
|
-
type: "none";
|
|
272
|
-
} | undefined;
|
|
273
178
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
274
|
-
oauthProvider?: string | undefined;
|
|
275
179
|
}>>>;
|
|
276
180
|
}, "strip", z.ZodTypeAny, {
|
|
277
181
|
source: "agentshield" | "inline" | "file";
|
|
@@ -282,27 +186,7 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
282
186
|
fallback?: Record<string, {
|
|
283
187
|
requiresDelegation: boolean;
|
|
284
188
|
requiredScopes: string[];
|
|
285
|
-
authorization?: {
|
|
286
|
-
type: "oauth";
|
|
287
|
-
provider: string;
|
|
288
|
-
requiredScopes?: string[] | undefined;
|
|
289
|
-
} | {
|
|
290
|
-
type: "mdl";
|
|
291
|
-
issuer: string;
|
|
292
|
-
credentialType?: string | undefined;
|
|
293
|
-
} | {
|
|
294
|
-
type: "idv";
|
|
295
|
-
provider: string;
|
|
296
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
297
|
-
} | {
|
|
298
|
-
type: "credential";
|
|
299
|
-
credentialType: string;
|
|
300
|
-
issuer?: string | undefined;
|
|
301
|
-
} | {
|
|
302
|
-
type: "none";
|
|
303
|
-
} | undefined;
|
|
304
189
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
305
|
-
oauthProvider?: string | undefined;
|
|
306
190
|
}> | undefined;
|
|
307
191
|
}, {
|
|
308
192
|
source: "agentshield" | "inline" | "file";
|
|
@@ -313,27 +197,7 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
313
197
|
fallback?: Record<string, {
|
|
314
198
|
requiresDelegation: boolean;
|
|
315
199
|
requiredScopes: string[];
|
|
316
|
-
authorization?: {
|
|
317
|
-
type: "oauth";
|
|
318
|
-
provider: string;
|
|
319
|
-
requiredScopes?: string[] | undefined;
|
|
320
|
-
} | {
|
|
321
|
-
type: "mdl";
|
|
322
|
-
issuer: string;
|
|
323
|
-
credentialType?: string | undefined;
|
|
324
|
-
} | {
|
|
325
|
-
type: "idv";
|
|
326
|
-
provider: string;
|
|
327
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
328
|
-
} | {
|
|
329
|
-
type: "credential";
|
|
330
|
-
credentialType: string;
|
|
331
|
-
issuer?: string | undefined;
|
|
332
|
-
} | {
|
|
333
|
-
type: "none";
|
|
334
|
-
} | undefined;
|
|
335
200
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
336
|
-
oauthProvider?: string | undefined;
|
|
337
201
|
}> | undefined;
|
|
338
202
|
}>;
|
|
339
203
|
/**
|
|
@@ -974,12 +838,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
974
838
|
requireAuthForUnknown?: boolean | undefined;
|
|
975
839
|
}>;
|
|
976
840
|
}, "strip", z.ZodTypeAny, {
|
|
977
|
-
authorization: {
|
|
978
|
-
authorizationUrl?: string | undefined;
|
|
979
|
-
minReputationScore?: number | undefined;
|
|
980
|
-
resumeTokenTtl?: number | undefined;
|
|
981
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
982
|
-
};
|
|
983
841
|
enabled: boolean;
|
|
984
842
|
enforceStrictly: boolean;
|
|
985
843
|
verifier: {
|
|
@@ -987,13 +845,13 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
987
845
|
apiUrl?: string | undefined;
|
|
988
846
|
cacheTtl?: number | undefined;
|
|
989
847
|
};
|
|
990
|
-
}, {
|
|
991
848
|
authorization: {
|
|
992
849
|
authorizationUrl?: string | undefined;
|
|
993
850
|
minReputationScore?: number | undefined;
|
|
994
851
|
resumeTokenTtl?: number | undefined;
|
|
995
852
|
requireAuthForUnknown?: boolean | undefined;
|
|
996
853
|
};
|
|
854
|
+
}, {
|
|
997
855
|
enabled: boolean;
|
|
998
856
|
enforceStrictly: boolean;
|
|
999
857
|
verifier: {
|
|
@@ -1001,6 +859,12 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1001
859
|
apiUrl?: string | undefined;
|
|
1002
860
|
cacheTtl?: number | undefined;
|
|
1003
861
|
};
|
|
862
|
+
authorization: {
|
|
863
|
+
authorizationUrl?: string | undefined;
|
|
864
|
+
minReputationScore?: number | undefined;
|
|
865
|
+
resumeTokenTtl?: number | undefined;
|
|
866
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
867
|
+
};
|
|
1004
868
|
}>;
|
|
1005
869
|
toolProtection: z.ZodObject<{
|
|
1006
870
|
source: z.ZodEnum<["agentshield", "inline", "file"]>;
|
|
@@ -1018,110 +882,14 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1018
882
|
requiresDelegation: z.ZodBoolean;
|
|
1019
883
|
requiredScopes: z.ZodArray<z.ZodString, "many">;
|
|
1020
884
|
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
1021
|
-
oauthProvider: z.ZodOptional<z.ZodString>;
|
|
1022
|
-
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1023
|
-
type: z.ZodLiteral<"oauth">;
|
|
1024
|
-
provider: z.ZodString;
|
|
1025
|
-
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1026
|
-
}, "strip", z.ZodTypeAny, {
|
|
1027
|
-
type: "oauth";
|
|
1028
|
-
provider: string;
|
|
1029
|
-
requiredScopes?: string[] | undefined;
|
|
1030
|
-
}, {
|
|
1031
|
-
type: "oauth";
|
|
1032
|
-
provider: string;
|
|
1033
|
-
requiredScopes?: string[] | undefined;
|
|
1034
|
-
}>, z.ZodObject<{
|
|
1035
|
-
type: z.ZodLiteral<"mdl">;
|
|
1036
|
-
issuer: z.ZodString;
|
|
1037
|
-
credentialType: z.ZodOptional<z.ZodString>;
|
|
1038
|
-
}, "strip", z.ZodTypeAny, {
|
|
1039
|
-
type: "mdl";
|
|
1040
|
-
issuer: string;
|
|
1041
|
-
credentialType?: string | undefined;
|
|
1042
|
-
}, {
|
|
1043
|
-
type: "mdl";
|
|
1044
|
-
issuer: string;
|
|
1045
|
-
credentialType?: string | undefined;
|
|
1046
|
-
}>, z.ZodObject<{
|
|
1047
|
-
type: z.ZodLiteral<"idv">;
|
|
1048
|
-
provider: z.ZodString;
|
|
1049
|
-
verificationLevel: z.ZodOptional<z.ZodEnum<["basic", "enhanced", "loa3"]>>;
|
|
1050
|
-
}, "strip", z.ZodTypeAny, {
|
|
1051
|
-
type: "idv";
|
|
1052
|
-
provider: string;
|
|
1053
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1054
|
-
}, {
|
|
1055
|
-
type: "idv";
|
|
1056
|
-
provider: string;
|
|
1057
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1058
|
-
}>, z.ZodObject<{
|
|
1059
|
-
type: z.ZodLiteral<"credential">;
|
|
1060
|
-
credentialType: z.ZodString;
|
|
1061
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
1062
|
-
}, "strip", z.ZodTypeAny, {
|
|
1063
|
-
type: "credential";
|
|
1064
|
-
credentialType: string;
|
|
1065
|
-
issuer?: string | undefined;
|
|
1066
|
-
}, {
|
|
1067
|
-
type: "credential";
|
|
1068
|
-
credentialType: string;
|
|
1069
|
-
issuer?: string | undefined;
|
|
1070
|
-
}>, z.ZodObject<{
|
|
1071
|
-
type: z.ZodLiteral<"none">;
|
|
1072
|
-
}, "strip", z.ZodTypeAny, {
|
|
1073
|
-
type: "none";
|
|
1074
|
-
}, {
|
|
1075
|
-
type: "none";
|
|
1076
|
-
}>]>>;
|
|
1077
885
|
}, "strip", z.ZodTypeAny, {
|
|
1078
886
|
requiresDelegation: boolean;
|
|
1079
887
|
requiredScopes: string[];
|
|
1080
|
-
authorization?: {
|
|
1081
|
-
type: "oauth";
|
|
1082
|
-
provider: string;
|
|
1083
|
-
requiredScopes?: string[] | undefined;
|
|
1084
|
-
} | {
|
|
1085
|
-
type: "mdl";
|
|
1086
|
-
issuer: string;
|
|
1087
|
-
credentialType?: string | undefined;
|
|
1088
|
-
} | {
|
|
1089
|
-
type: "idv";
|
|
1090
|
-
provider: string;
|
|
1091
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1092
|
-
} | {
|
|
1093
|
-
type: "credential";
|
|
1094
|
-
credentialType: string;
|
|
1095
|
-
issuer?: string | undefined;
|
|
1096
|
-
} | {
|
|
1097
|
-
type: "none";
|
|
1098
|
-
} | undefined;
|
|
1099
888
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1100
|
-
oauthProvider?: string | undefined;
|
|
1101
889
|
}, {
|
|
1102
890
|
requiresDelegation: boolean;
|
|
1103
891
|
requiredScopes: string[];
|
|
1104
|
-
authorization?: {
|
|
1105
|
-
type: "oauth";
|
|
1106
|
-
provider: string;
|
|
1107
|
-
requiredScopes?: string[] | undefined;
|
|
1108
|
-
} | {
|
|
1109
|
-
type: "mdl";
|
|
1110
|
-
issuer: string;
|
|
1111
|
-
credentialType?: string | undefined;
|
|
1112
|
-
} | {
|
|
1113
|
-
type: "idv";
|
|
1114
|
-
provider: string;
|
|
1115
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1116
|
-
} | {
|
|
1117
|
-
type: "credential";
|
|
1118
|
-
credentialType: string;
|
|
1119
|
-
issuer?: string | undefined;
|
|
1120
|
-
} | {
|
|
1121
|
-
type: "none";
|
|
1122
|
-
} | undefined;
|
|
1123
892
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1124
|
-
oauthProvider?: string | undefined;
|
|
1125
893
|
}>>>;
|
|
1126
894
|
}, "strip", z.ZodTypeAny, {
|
|
1127
895
|
source: "agentshield" | "inline" | "file";
|
|
@@ -1132,27 +900,7 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1132
900
|
fallback?: Record<string, {
|
|
1133
901
|
requiresDelegation: boolean;
|
|
1134
902
|
requiredScopes: string[];
|
|
1135
|
-
authorization?: {
|
|
1136
|
-
type: "oauth";
|
|
1137
|
-
provider: string;
|
|
1138
|
-
requiredScopes?: string[] | undefined;
|
|
1139
|
-
} | {
|
|
1140
|
-
type: "mdl";
|
|
1141
|
-
issuer: string;
|
|
1142
|
-
credentialType?: string | undefined;
|
|
1143
|
-
} | {
|
|
1144
|
-
type: "idv";
|
|
1145
|
-
provider: string;
|
|
1146
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1147
|
-
} | {
|
|
1148
|
-
type: "credential";
|
|
1149
|
-
credentialType: string;
|
|
1150
|
-
issuer?: string | undefined;
|
|
1151
|
-
} | {
|
|
1152
|
-
type: "none";
|
|
1153
|
-
} | undefined;
|
|
1154
903
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1155
|
-
oauthProvider?: string | undefined;
|
|
1156
904
|
}> | undefined;
|
|
1157
905
|
}, {
|
|
1158
906
|
source: "agentshield" | "inline" | "file";
|
|
@@ -1163,27 +911,7 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1163
911
|
fallback?: Record<string, {
|
|
1164
912
|
requiresDelegation: boolean;
|
|
1165
913
|
requiredScopes: string[];
|
|
1166
|
-
authorization?: {
|
|
1167
|
-
type: "oauth";
|
|
1168
|
-
provider: string;
|
|
1169
|
-
requiredScopes?: string[] | undefined;
|
|
1170
|
-
} | {
|
|
1171
|
-
type: "mdl";
|
|
1172
|
-
issuer: string;
|
|
1173
|
-
credentialType?: string | undefined;
|
|
1174
|
-
} | {
|
|
1175
|
-
type: "idv";
|
|
1176
|
-
provider: string;
|
|
1177
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1178
|
-
} | {
|
|
1179
|
-
type: "credential";
|
|
1180
|
-
credentialType: string;
|
|
1181
|
-
issuer?: string | undefined;
|
|
1182
|
-
} | {
|
|
1183
|
-
type: "none";
|
|
1184
|
-
} | undefined;
|
|
1185
914
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1186
|
-
oauthProvider?: string | undefined;
|
|
1187
915
|
}> | undefined;
|
|
1188
916
|
}>;
|
|
1189
917
|
audit: z.ZodObject<{
|
|
@@ -1567,12 +1295,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1567
1295
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
1568
1296
|
};
|
|
1569
1297
|
delegation: {
|
|
1570
|
-
authorization: {
|
|
1571
|
-
authorizationUrl?: string | undefined;
|
|
1572
|
-
minReputationScore?: number | undefined;
|
|
1573
|
-
resumeTokenTtl?: number | undefined;
|
|
1574
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
1575
|
-
};
|
|
1576
1298
|
enabled: boolean;
|
|
1577
1299
|
enforceStrictly: boolean;
|
|
1578
1300
|
verifier: {
|
|
@@ -1580,6 +1302,12 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1580
1302
|
apiUrl?: string | undefined;
|
|
1581
1303
|
cacheTtl?: number | undefined;
|
|
1582
1304
|
};
|
|
1305
|
+
authorization: {
|
|
1306
|
+
authorizationUrl?: string | undefined;
|
|
1307
|
+
minReputationScore?: number | undefined;
|
|
1308
|
+
resumeTokenTtl?: number | undefined;
|
|
1309
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
1310
|
+
};
|
|
1583
1311
|
};
|
|
1584
1312
|
identity: {
|
|
1585
1313
|
environment: "development" | "production";
|
|
@@ -1609,27 +1337,7 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1609
1337
|
fallback?: Record<string, {
|
|
1610
1338
|
requiresDelegation: boolean;
|
|
1611
1339
|
requiredScopes: string[];
|
|
1612
|
-
authorization?: {
|
|
1613
|
-
type: "oauth";
|
|
1614
|
-
provider: string;
|
|
1615
|
-
requiredScopes?: string[] | undefined;
|
|
1616
|
-
} | {
|
|
1617
|
-
type: "mdl";
|
|
1618
|
-
issuer: string;
|
|
1619
|
-
credentialType?: string | undefined;
|
|
1620
|
-
} | {
|
|
1621
|
-
type: "idv";
|
|
1622
|
-
provider: string;
|
|
1623
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1624
|
-
} | {
|
|
1625
|
-
type: "credential";
|
|
1626
|
-
credentialType: string;
|
|
1627
|
-
issuer?: string | undefined;
|
|
1628
|
-
} | {
|
|
1629
|
-
type: "none";
|
|
1630
|
-
} | undefined;
|
|
1631
1340
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1632
|
-
oauthProvider?: string | undefined;
|
|
1633
1341
|
}> | undefined;
|
|
1634
1342
|
};
|
|
1635
1343
|
audit: {
|
|
@@ -1696,12 +1404,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1696
1404
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
1697
1405
|
};
|
|
1698
1406
|
delegation: {
|
|
1699
|
-
authorization: {
|
|
1700
|
-
authorizationUrl?: string | undefined;
|
|
1701
|
-
minReputationScore?: number | undefined;
|
|
1702
|
-
resumeTokenTtl?: number | undefined;
|
|
1703
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
1704
|
-
};
|
|
1705
1407
|
enabled: boolean;
|
|
1706
1408
|
enforceStrictly: boolean;
|
|
1707
1409
|
verifier: {
|
|
@@ -1709,6 +1411,12 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1709
1411
|
apiUrl?: string | undefined;
|
|
1710
1412
|
cacheTtl?: number | undefined;
|
|
1711
1413
|
};
|
|
1414
|
+
authorization: {
|
|
1415
|
+
authorizationUrl?: string | undefined;
|
|
1416
|
+
minReputationScore?: number | undefined;
|
|
1417
|
+
resumeTokenTtl?: number | undefined;
|
|
1418
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
1419
|
+
};
|
|
1712
1420
|
};
|
|
1713
1421
|
identity: {
|
|
1714
1422
|
environment: "development" | "production";
|
|
@@ -1738,27 +1446,7 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1738
1446
|
fallback?: Record<string, {
|
|
1739
1447
|
requiresDelegation: boolean;
|
|
1740
1448
|
requiredScopes: string[];
|
|
1741
|
-
authorization?: {
|
|
1742
|
-
type: "oauth";
|
|
1743
|
-
provider: string;
|
|
1744
|
-
requiredScopes?: string[] | undefined;
|
|
1745
|
-
} | {
|
|
1746
|
-
type: "mdl";
|
|
1747
|
-
issuer: string;
|
|
1748
|
-
credentialType?: string | undefined;
|
|
1749
|
-
} | {
|
|
1750
|
-
type: "idv";
|
|
1751
|
-
provider: string;
|
|
1752
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1753
|
-
} | {
|
|
1754
|
-
type: "credential";
|
|
1755
|
-
credentialType: string;
|
|
1756
|
-
issuer?: string | undefined;
|
|
1757
|
-
} | {
|
|
1758
|
-
type: "none";
|
|
1759
|
-
} | undefined;
|
|
1760
1449
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1761
|
-
oauthProvider?: string | undefined;
|
|
1762
1450
|
}> | undefined;
|
|
1763
1451
|
};
|
|
1764
1452
|
audit: {
|
|
@@ -1889,12 +1577,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
1889
1577
|
requireAuthForUnknown?: boolean | undefined;
|
|
1890
1578
|
}>;
|
|
1891
1579
|
}, "strip", z.ZodTypeAny, {
|
|
1892
|
-
authorization: {
|
|
1893
|
-
authorizationUrl?: string | undefined;
|
|
1894
|
-
minReputationScore?: number | undefined;
|
|
1895
|
-
resumeTokenTtl?: number | undefined;
|
|
1896
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
1897
|
-
};
|
|
1898
1580
|
enabled: boolean;
|
|
1899
1581
|
enforceStrictly: boolean;
|
|
1900
1582
|
verifier: {
|
|
@@ -1902,13 +1584,13 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
1902
1584
|
apiUrl?: string | undefined;
|
|
1903
1585
|
cacheTtl?: number | undefined;
|
|
1904
1586
|
};
|
|
1905
|
-
}, {
|
|
1906
1587
|
authorization: {
|
|
1907
1588
|
authorizationUrl?: string | undefined;
|
|
1908
1589
|
minReputationScore?: number | undefined;
|
|
1909
1590
|
resumeTokenTtl?: number | undefined;
|
|
1910
1591
|
requireAuthForUnknown?: boolean | undefined;
|
|
1911
1592
|
};
|
|
1593
|
+
}, {
|
|
1912
1594
|
enabled: boolean;
|
|
1913
1595
|
enforceStrictly: boolean;
|
|
1914
1596
|
verifier: {
|
|
@@ -1916,6 +1598,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
1916
1598
|
apiUrl?: string | undefined;
|
|
1917
1599
|
cacheTtl?: number | undefined;
|
|
1918
1600
|
};
|
|
1601
|
+
authorization: {
|
|
1602
|
+
authorizationUrl?: string | undefined;
|
|
1603
|
+
minReputationScore?: number | undefined;
|
|
1604
|
+
resumeTokenTtl?: number | undefined;
|
|
1605
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
1606
|
+
};
|
|
1919
1607
|
}>;
|
|
1920
1608
|
toolProtection: z.ZodObject<{
|
|
1921
1609
|
source: z.ZodEnum<["agentshield", "inline", "file"]>;
|
|
@@ -1933,110 +1621,14 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
1933
1621
|
requiresDelegation: z.ZodBoolean;
|
|
1934
1622
|
requiredScopes: z.ZodArray<z.ZodString, "many">;
|
|
1935
1623
|
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
1936
|
-
oauthProvider: z.ZodOptional<z.ZodString>;
|
|
1937
|
-
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1938
|
-
type: z.ZodLiteral<"oauth">;
|
|
1939
|
-
provider: z.ZodString;
|
|
1940
|
-
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1941
|
-
}, "strip", z.ZodTypeAny, {
|
|
1942
|
-
type: "oauth";
|
|
1943
|
-
provider: string;
|
|
1944
|
-
requiredScopes?: string[] | undefined;
|
|
1945
|
-
}, {
|
|
1946
|
-
type: "oauth";
|
|
1947
|
-
provider: string;
|
|
1948
|
-
requiredScopes?: string[] | undefined;
|
|
1949
|
-
}>, z.ZodObject<{
|
|
1950
|
-
type: z.ZodLiteral<"mdl">;
|
|
1951
|
-
issuer: z.ZodString;
|
|
1952
|
-
credentialType: z.ZodOptional<z.ZodString>;
|
|
1953
|
-
}, "strip", z.ZodTypeAny, {
|
|
1954
|
-
type: "mdl";
|
|
1955
|
-
issuer: string;
|
|
1956
|
-
credentialType?: string | undefined;
|
|
1957
|
-
}, {
|
|
1958
|
-
type: "mdl";
|
|
1959
|
-
issuer: string;
|
|
1960
|
-
credentialType?: string | undefined;
|
|
1961
|
-
}>, z.ZodObject<{
|
|
1962
|
-
type: z.ZodLiteral<"idv">;
|
|
1963
|
-
provider: z.ZodString;
|
|
1964
|
-
verificationLevel: z.ZodOptional<z.ZodEnum<["basic", "enhanced", "loa3"]>>;
|
|
1965
|
-
}, "strip", z.ZodTypeAny, {
|
|
1966
|
-
type: "idv";
|
|
1967
|
-
provider: string;
|
|
1968
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1969
|
-
}, {
|
|
1970
|
-
type: "idv";
|
|
1971
|
-
provider: string;
|
|
1972
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
1973
|
-
}>, z.ZodObject<{
|
|
1974
|
-
type: z.ZodLiteral<"credential">;
|
|
1975
|
-
credentialType: z.ZodString;
|
|
1976
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
1977
|
-
}, "strip", z.ZodTypeAny, {
|
|
1978
|
-
type: "credential";
|
|
1979
|
-
credentialType: string;
|
|
1980
|
-
issuer?: string | undefined;
|
|
1981
|
-
}, {
|
|
1982
|
-
type: "credential";
|
|
1983
|
-
credentialType: string;
|
|
1984
|
-
issuer?: string | undefined;
|
|
1985
|
-
}>, z.ZodObject<{
|
|
1986
|
-
type: z.ZodLiteral<"none">;
|
|
1987
|
-
}, "strip", z.ZodTypeAny, {
|
|
1988
|
-
type: "none";
|
|
1989
|
-
}, {
|
|
1990
|
-
type: "none";
|
|
1991
|
-
}>]>>;
|
|
1992
1624
|
}, "strip", z.ZodTypeAny, {
|
|
1993
1625
|
requiresDelegation: boolean;
|
|
1994
1626
|
requiredScopes: string[];
|
|
1995
|
-
authorization?: {
|
|
1996
|
-
type: "oauth";
|
|
1997
|
-
provider: string;
|
|
1998
|
-
requiredScopes?: string[] | undefined;
|
|
1999
|
-
} | {
|
|
2000
|
-
type: "mdl";
|
|
2001
|
-
issuer: string;
|
|
2002
|
-
credentialType?: string | undefined;
|
|
2003
|
-
} | {
|
|
2004
|
-
type: "idv";
|
|
2005
|
-
provider: string;
|
|
2006
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2007
|
-
} | {
|
|
2008
|
-
type: "credential";
|
|
2009
|
-
credentialType: string;
|
|
2010
|
-
issuer?: string | undefined;
|
|
2011
|
-
} | {
|
|
2012
|
-
type: "none";
|
|
2013
|
-
} | undefined;
|
|
2014
1627
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2015
|
-
oauthProvider?: string | undefined;
|
|
2016
1628
|
}, {
|
|
2017
1629
|
requiresDelegation: boolean;
|
|
2018
1630
|
requiredScopes: string[];
|
|
2019
|
-
authorization?: {
|
|
2020
|
-
type: "oauth";
|
|
2021
|
-
provider: string;
|
|
2022
|
-
requiredScopes?: string[] | undefined;
|
|
2023
|
-
} | {
|
|
2024
|
-
type: "mdl";
|
|
2025
|
-
issuer: string;
|
|
2026
|
-
credentialType?: string | undefined;
|
|
2027
|
-
} | {
|
|
2028
|
-
type: "idv";
|
|
2029
|
-
provider: string;
|
|
2030
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2031
|
-
} | {
|
|
2032
|
-
type: "credential";
|
|
2033
|
-
credentialType: string;
|
|
2034
|
-
issuer?: string | undefined;
|
|
2035
|
-
} | {
|
|
2036
|
-
type: "none";
|
|
2037
|
-
} | undefined;
|
|
2038
1631
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2039
|
-
oauthProvider?: string | undefined;
|
|
2040
1632
|
}>>>;
|
|
2041
1633
|
}, "strip", z.ZodTypeAny, {
|
|
2042
1634
|
source: "agentshield" | "inline" | "file";
|
|
@@ -2047,27 +1639,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2047
1639
|
fallback?: Record<string, {
|
|
2048
1640
|
requiresDelegation: boolean;
|
|
2049
1641
|
requiredScopes: string[];
|
|
2050
|
-
authorization?: {
|
|
2051
|
-
type: "oauth";
|
|
2052
|
-
provider: string;
|
|
2053
|
-
requiredScopes?: string[] | undefined;
|
|
2054
|
-
} | {
|
|
2055
|
-
type: "mdl";
|
|
2056
|
-
issuer: string;
|
|
2057
|
-
credentialType?: string | undefined;
|
|
2058
|
-
} | {
|
|
2059
|
-
type: "idv";
|
|
2060
|
-
provider: string;
|
|
2061
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2062
|
-
} | {
|
|
2063
|
-
type: "credential";
|
|
2064
|
-
credentialType: string;
|
|
2065
|
-
issuer?: string | undefined;
|
|
2066
|
-
} | {
|
|
2067
|
-
type: "none";
|
|
2068
|
-
} | undefined;
|
|
2069
1642
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2070
|
-
oauthProvider?: string | undefined;
|
|
2071
1643
|
}> | undefined;
|
|
2072
1644
|
}, {
|
|
2073
1645
|
source: "agentshield" | "inline" | "file";
|
|
@@ -2078,27 +1650,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2078
1650
|
fallback?: Record<string, {
|
|
2079
1651
|
requiresDelegation: boolean;
|
|
2080
1652
|
requiredScopes: string[];
|
|
2081
|
-
authorization?: {
|
|
2082
|
-
type: "oauth";
|
|
2083
|
-
provider: string;
|
|
2084
|
-
requiredScopes?: string[] | undefined;
|
|
2085
|
-
} | {
|
|
2086
|
-
type: "mdl";
|
|
2087
|
-
issuer: string;
|
|
2088
|
-
credentialType?: string | undefined;
|
|
2089
|
-
} | {
|
|
2090
|
-
type: "idv";
|
|
2091
|
-
provider: string;
|
|
2092
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2093
|
-
} | {
|
|
2094
|
-
type: "credential";
|
|
2095
|
-
credentialType: string;
|
|
2096
|
-
issuer?: string | undefined;
|
|
2097
|
-
} | {
|
|
2098
|
-
type: "none";
|
|
2099
|
-
} | undefined;
|
|
2100
1653
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2101
|
-
oauthProvider?: string | undefined;
|
|
2102
1654
|
}> | undefined;
|
|
2103
1655
|
}>;
|
|
2104
1656
|
audit: z.ZodObject<{
|
|
@@ -2482,12 +2034,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2482
2034
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
2483
2035
|
};
|
|
2484
2036
|
delegation: {
|
|
2485
|
-
authorization: {
|
|
2486
|
-
authorizationUrl?: string | undefined;
|
|
2487
|
-
minReputationScore?: number | undefined;
|
|
2488
|
-
resumeTokenTtl?: number | undefined;
|
|
2489
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
2490
|
-
};
|
|
2491
2037
|
enabled: boolean;
|
|
2492
2038
|
enforceStrictly: boolean;
|
|
2493
2039
|
verifier: {
|
|
@@ -2495,6 +2041,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2495
2041
|
apiUrl?: string | undefined;
|
|
2496
2042
|
cacheTtl?: number | undefined;
|
|
2497
2043
|
};
|
|
2044
|
+
authorization: {
|
|
2045
|
+
authorizationUrl?: string | undefined;
|
|
2046
|
+
minReputationScore?: number | undefined;
|
|
2047
|
+
resumeTokenTtl?: number | undefined;
|
|
2048
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
2049
|
+
};
|
|
2498
2050
|
};
|
|
2499
2051
|
identity: {
|
|
2500
2052
|
environment: "development" | "production";
|
|
@@ -2524,27 +2076,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2524
2076
|
fallback?: Record<string, {
|
|
2525
2077
|
requiresDelegation: boolean;
|
|
2526
2078
|
requiredScopes: string[];
|
|
2527
|
-
authorization?: {
|
|
2528
|
-
type: "oauth";
|
|
2529
|
-
provider: string;
|
|
2530
|
-
requiredScopes?: string[] | undefined;
|
|
2531
|
-
} | {
|
|
2532
|
-
type: "mdl";
|
|
2533
|
-
issuer: string;
|
|
2534
|
-
credentialType?: string | undefined;
|
|
2535
|
-
} | {
|
|
2536
|
-
type: "idv";
|
|
2537
|
-
provider: string;
|
|
2538
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2539
|
-
} | {
|
|
2540
|
-
type: "credential";
|
|
2541
|
-
credentialType: string;
|
|
2542
|
-
issuer?: string | undefined;
|
|
2543
|
-
} | {
|
|
2544
|
-
type: "none";
|
|
2545
|
-
} | undefined;
|
|
2546
2079
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2547
|
-
oauthProvider?: string | undefined;
|
|
2548
2080
|
}> | undefined;
|
|
2549
2081
|
};
|
|
2550
2082
|
audit: {
|
|
@@ -2611,12 +2143,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2611
2143
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
2612
2144
|
};
|
|
2613
2145
|
delegation: {
|
|
2614
|
-
authorization: {
|
|
2615
|
-
authorizationUrl?: string | undefined;
|
|
2616
|
-
minReputationScore?: number | undefined;
|
|
2617
|
-
resumeTokenTtl?: number | undefined;
|
|
2618
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
2619
|
-
};
|
|
2620
2146
|
enabled: boolean;
|
|
2621
2147
|
enforceStrictly: boolean;
|
|
2622
2148
|
verifier: {
|
|
@@ -2624,6 +2150,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2624
2150
|
apiUrl?: string | undefined;
|
|
2625
2151
|
cacheTtl?: number | undefined;
|
|
2626
2152
|
};
|
|
2153
|
+
authorization: {
|
|
2154
|
+
authorizationUrl?: string | undefined;
|
|
2155
|
+
minReputationScore?: number | undefined;
|
|
2156
|
+
resumeTokenTtl?: number | undefined;
|
|
2157
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
2158
|
+
};
|
|
2627
2159
|
};
|
|
2628
2160
|
identity: {
|
|
2629
2161
|
environment: "development" | "production";
|
|
@@ -2653,27 +2185,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2653
2185
|
fallback?: Record<string, {
|
|
2654
2186
|
requiresDelegation: boolean;
|
|
2655
2187
|
requiredScopes: string[];
|
|
2656
|
-
authorization?: {
|
|
2657
|
-
type: "oauth";
|
|
2658
|
-
provider: string;
|
|
2659
|
-
requiredScopes?: string[] | undefined;
|
|
2660
|
-
} | {
|
|
2661
|
-
type: "mdl";
|
|
2662
|
-
issuer: string;
|
|
2663
|
-
credentialType?: string | undefined;
|
|
2664
|
-
} | {
|
|
2665
|
-
type: "idv";
|
|
2666
|
-
provider: string;
|
|
2667
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2668
|
-
} | {
|
|
2669
|
-
type: "credential";
|
|
2670
|
-
credentialType: string;
|
|
2671
|
-
issuer?: string | undefined;
|
|
2672
|
-
} | {
|
|
2673
|
-
type: "none";
|
|
2674
|
-
} | undefined;
|
|
2675
2188
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2676
|
-
oauthProvider?: string | undefined;
|
|
2677
2189
|
}> | undefined;
|
|
2678
2190
|
};
|
|
2679
2191
|
audit: {
|
|
@@ -2742,12 +2254,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2742
2254
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
2743
2255
|
};
|
|
2744
2256
|
delegation: {
|
|
2745
|
-
authorization: {
|
|
2746
|
-
authorizationUrl?: string | undefined;
|
|
2747
|
-
minReputationScore?: number | undefined;
|
|
2748
|
-
resumeTokenTtl?: number | undefined;
|
|
2749
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
2750
|
-
};
|
|
2751
2257
|
enabled: boolean;
|
|
2752
2258
|
enforceStrictly: boolean;
|
|
2753
2259
|
verifier: {
|
|
@@ -2755,6 +2261,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2755
2261
|
apiUrl?: string | undefined;
|
|
2756
2262
|
cacheTtl?: number | undefined;
|
|
2757
2263
|
};
|
|
2264
|
+
authorization: {
|
|
2265
|
+
authorizationUrl?: string | undefined;
|
|
2266
|
+
minReputationScore?: number | undefined;
|
|
2267
|
+
resumeTokenTtl?: number | undefined;
|
|
2268
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
2269
|
+
};
|
|
2758
2270
|
};
|
|
2759
2271
|
identity: {
|
|
2760
2272
|
environment: "development" | "production";
|
|
@@ -2784,27 +2296,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2784
2296
|
fallback?: Record<string, {
|
|
2785
2297
|
requiresDelegation: boolean;
|
|
2786
2298
|
requiredScopes: string[];
|
|
2787
|
-
authorization?: {
|
|
2788
|
-
type: "oauth";
|
|
2789
|
-
provider: string;
|
|
2790
|
-
requiredScopes?: string[] | undefined;
|
|
2791
|
-
} | {
|
|
2792
|
-
type: "mdl";
|
|
2793
|
-
issuer: string;
|
|
2794
|
-
credentialType?: string | undefined;
|
|
2795
|
-
} | {
|
|
2796
|
-
type: "idv";
|
|
2797
|
-
provider: string;
|
|
2798
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2799
|
-
} | {
|
|
2800
|
-
type: "credential";
|
|
2801
|
-
credentialType: string;
|
|
2802
|
-
issuer?: string | undefined;
|
|
2803
|
-
} | {
|
|
2804
|
-
type: "none";
|
|
2805
|
-
} | undefined;
|
|
2806
2299
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2807
|
-
oauthProvider?: string | undefined;
|
|
2808
2300
|
}> | undefined;
|
|
2809
2301
|
};
|
|
2810
2302
|
audit: {
|
|
@@ -2873,12 +2365,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2873
2365
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
2874
2366
|
};
|
|
2875
2367
|
delegation: {
|
|
2876
|
-
authorization: {
|
|
2877
|
-
authorizationUrl?: string | undefined;
|
|
2878
|
-
minReputationScore?: number | undefined;
|
|
2879
|
-
resumeTokenTtl?: number | undefined;
|
|
2880
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
2881
|
-
};
|
|
2882
2368
|
enabled: boolean;
|
|
2883
2369
|
enforceStrictly: boolean;
|
|
2884
2370
|
verifier: {
|
|
@@ -2886,6 +2372,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2886
2372
|
apiUrl?: string | undefined;
|
|
2887
2373
|
cacheTtl?: number | undefined;
|
|
2888
2374
|
};
|
|
2375
|
+
authorization: {
|
|
2376
|
+
authorizationUrl?: string | undefined;
|
|
2377
|
+
minReputationScore?: number | undefined;
|
|
2378
|
+
resumeTokenTtl?: number | undefined;
|
|
2379
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
2380
|
+
};
|
|
2889
2381
|
};
|
|
2890
2382
|
identity: {
|
|
2891
2383
|
environment: "development" | "production";
|
|
@@ -2915,27 +2407,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
2915
2407
|
fallback?: Record<string, {
|
|
2916
2408
|
requiresDelegation: boolean;
|
|
2917
2409
|
requiredScopes: string[];
|
|
2918
|
-
authorization?: {
|
|
2919
|
-
type: "oauth";
|
|
2920
|
-
provider: string;
|
|
2921
|
-
requiredScopes?: string[] | undefined;
|
|
2922
|
-
} | {
|
|
2923
|
-
type: "mdl";
|
|
2924
|
-
issuer: string;
|
|
2925
|
-
credentialType?: string | undefined;
|
|
2926
|
-
} | {
|
|
2927
|
-
type: "idv";
|
|
2928
|
-
provider: string;
|
|
2929
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
2930
|
-
} | {
|
|
2931
|
-
type: "credential";
|
|
2932
|
-
credentialType: string;
|
|
2933
|
-
issuer?: string | undefined;
|
|
2934
|
-
} | {
|
|
2935
|
-
type: "none";
|
|
2936
|
-
} | undefined;
|
|
2937
2410
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
2938
|
-
oauthProvider?: string | undefined;
|
|
2939
2411
|
}> | undefined;
|
|
2940
2412
|
};
|
|
2941
2413
|
audit: {
|
|
@@ -3017,12 +2489,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3017
2489
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
3018
2490
|
};
|
|
3019
2491
|
delegation: {
|
|
3020
|
-
authorization: {
|
|
3021
|
-
authorizationUrl?: string | undefined;
|
|
3022
|
-
minReputationScore?: number | undefined;
|
|
3023
|
-
resumeTokenTtl?: number | undefined;
|
|
3024
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
3025
|
-
};
|
|
3026
2492
|
enabled: boolean;
|
|
3027
2493
|
enforceStrictly: boolean;
|
|
3028
2494
|
verifier: {
|
|
@@ -3030,6 +2496,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3030
2496
|
apiUrl?: string | undefined;
|
|
3031
2497
|
cacheTtl?: number | undefined;
|
|
3032
2498
|
};
|
|
2499
|
+
authorization: {
|
|
2500
|
+
authorizationUrl?: string | undefined;
|
|
2501
|
+
minReputationScore?: number | undefined;
|
|
2502
|
+
resumeTokenTtl?: number | undefined;
|
|
2503
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
2504
|
+
};
|
|
3033
2505
|
};
|
|
3034
2506
|
identity: {
|
|
3035
2507
|
environment: "development" | "production";
|
|
@@ -3059,27 +2531,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3059
2531
|
fallback?: Record<string, {
|
|
3060
2532
|
requiresDelegation: boolean;
|
|
3061
2533
|
requiredScopes: string[];
|
|
3062
|
-
authorization?: {
|
|
3063
|
-
type: "oauth";
|
|
3064
|
-
provider: string;
|
|
3065
|
-
requiredScopes?: string[] | undefined;
|
|
3066
|
-
} | {
|
|
3067
|
-
type: "mdl";
|
|
3068
|
-
issuer: string;
|
|
3069
|
-
credentialType?: string | undefined;
|
|
3070
|
-
} | {
|
|
3071
|
-
type: "idv";
|
|
3072
|
-
provider: string;
|
|
3073
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3074
|
-
} | {
|
|
3075
|
-
type: "credential";
|
|
3076
|
-
credentialType: string;
|
|
3077
|
-
issuer?: string | undefined;
|
|
3078
|
-
} | {
|
|
3079
|
-
type: "none";
|
|
3080
|
-
} | undefined;
|
|
3081
2534
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3082
|
-
oauthProvider?: string | undefined;
|
|
3083
2535
|
}> | undefined;
|
|
3084
2536
|
};
|
|
3085
2537
|
audit: {
|
|
@@ -3155,12 +2607,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3155
2607
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
3156
2608
|
};
|
|
3157
2609
|
delegation: {
|
|
3158
|
-
authorization: {
|
|
3159
|
-
authorizationUrl?: string | undefined;
|
|
3160
|
-
minReputationScore?: number | undefined;
|
|
3161
|
-
resumeTokenTtl?: number | undefined;
|
|
3162
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
3163
|
-
};
|
|
3164
2610
|
enabled: boolean;
|
|
3165
2611
|
enforceStrictly: boolean;
|
|
3166
2612
|
verifier: {
|
|
@@ -3168,6 +2614,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3168
2614
|
apiUrl?: string | undefined;
|
|
3169
2615
|
cacheTtl?: number | undefined;
|
|
3170
2616
|
};
|
|
2617
|
+
authorization: {
|
|
2618
|
+
authorizationUrl?: string | undefined;
|
|
2619
|
+
minReputationScore?: number | undefined;
|
|
2620
|
+
resumeTokenTtl?: number | undefined;
|
|
2621
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
2622
|
+
};
|
|
3171
2623
|
};
|
|
3172
2624
|
identity: {
|
|
3173
2625
|
environment: "development" | "production";
|
|
@@ -3197,27 +2649,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3197
2649
|
fallback?: Record<string, {
|
|
3198
2650
|
requiresDelegation: boolean;
|
|
3199
2651
|
requiredScopes: string[];
|
|
3200
|
-
authorization?: {
|
|
3201
|
-
type: "oauth";
|
|
3202
|
-
provider: string;
|
|
3203
|
-
requiredScopes?: string[] | undefined;
|
|
3204
|
-
} | {
|
|
3205
|
-
type: "mdl";
|
|
3206
|
-
issuer: string;
|
|
3207
|
-
credentialType?: string | undefined;
|
|
3208
|
-
} | {
|
|
3209
|
-
type: "idv";
|
|
3210
|
-
provider: string;
|
|
3211
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3212
|
-
} | {
|
|
3213
|
-
type: "credential";
|
|
3214
|
-
credentialType: string;
|
|
3215
|
-
issuer?: string | undefined;
|
|
3216
|
-
} | {
|
|
3217
|
-
type: "none";
|
|
3218
|
-
} | undefined;
|
|
3219
2652
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3220
|
-
oauthProvider?: string | undefined;
|
|
3221
2653
|
}> | undefined;
|
|
3222
2654
|
};
|
|
3223
2655
|
audit: {
|
|
@@ -3343,12 +2775,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3343
2775
|
requireAuthForUnknown?: boolean | undefined;
|
|
3344
2776
|
}>;
|
|
3345
2777
|
}, "strip", z.ZodTypeAny, {
|
|
3346
|
-
authorization: {
|
|
3347
|
-
authorizationUrl?: string | undefined;
|
|
3348
|
-
minReputationScore?: number | undefined;
|
|
3349
|
-
resumeTokenTtl?: number | undefined;
|
|
3350
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
3351
|
-
};
|
|
3352
2778
|
enabled: boolean;
|
|
3353
2779
|
enforceStrictly: boolean;
|
|
3354
2780
|
verifier: {
|
|
@@ -3356,13 +2782,13 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3356
2782
|
apiUrl?: string | undefined;
|
|
3357
2783
|
cacheTtl?: number | undefined;
|
|
3358
2784
|
};
|
|
3359
|
-
}, {
|
|
3360
2785
|
authorization: {
|
|
3361
2786
|
authorizationUrl?: string | undefined;
|
|
3362
2787
|
minReputationScore?: number | undefined;
|
|
3363
2788
|
resumeTokenTtl?: number | undefined;
|
|
3364
2789
|
requireAuthForUnknown?: boolean | undefined;
|
|
3365
2790
|
};
|
|
2791
|
+
}, {
|
|
3366
2792
|
enabled: boolean;
|
|
3367
2793
|
enforceStrictly: boolean;
|
|
3368
2794
|
verifier: {
|
|
@@ -3370,6 +2796,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3370
2796
|
apiUrl?: string | undefined;
|
|
3371
2797
|
cacheTtl?: number | undefined;
|
|
3372
2798
|
};
|
|
2799
|
+
authorization: {
|
|
2800
|
+
authorizationUrl?: string | undefined;
|
|
2801
|
+
minReputationScore?: number | undefined;
|
|
2802
|
+
resumeTokenTtl?: number | undefined;
|
|
2803
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
2804
|
+
};
|
|
3373
2805
|
}>>;
|
|
3374
2806
|
toolProtection: z.ZodOptional<z.ZodObject<{
|
|
3375
2807
|
source: z.ZodEnum<["agentshield", "inline", "file"]>;
|
|
@@ -3387,110 +2819,14 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3387
2819
|
requiresDelegation: z.ZodBoolean;
|
|
3388
2820
|
requiredScopes: z.ZodArray<z.ZodString, "many">;
|
|
3389
2821
|
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
3390
|
-
oauthProvider: z.ZodOptional<z.ZodString>;
|
|
3391
|
-
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3392
|
-
type: z.ZodLiteral<"oauth">;
|
|
3393
|
-
provider: z.ZodString;
|
|
3394
|
-
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3395
|
-
}, "strip", z.ZodTypeAny, {
|
|
3396
|
-
type: "oauth";
|
|
3397
|
-
provider: string;
|
|
3398
|
-
requiredScopes?: string[] | undefined;
|
|
3399
|
-
}, {
|
|
3400
|
-
type: "oauth";
|
|
3401
|
-
provider: string;
|
|
3402
|
-
requiredScopes?: string[] | undefined;
|
|
3403
|
-
}>, z.ZodObject<{
|
|
3404
|
-
type: z.ZodLiteral<"mdl">;
|
|
3405
|
-
issuer: z.ZodString;
|
|
3406
|
-
credentialType: z.ZodOptional<z.ZodString>;
|
|
3407
|
-
}, "strip", z.ZodTypeAny, {
|
|
3408
|
-
type: "mdl";
|
|
3409
|
-
issuer: string;
|
|
3410
|
-
credentialType?: string | undefined;
|
|
3411
|
-
}, {
|
|
3412
|
-
type: "mdl";
|
|
3413
|
-
issuer: string;
|
|
3414
|
-
credentialType?: string | undefined;
|
|
3415
|
-
}>, z.ZodObject<{
|
|
3416
|
-
type: z.ZodLiteral<"idv">;
|
|
3417
|
-
provider: z.ZodString;
|
|
3418
|
-
verificationLevel: z.ZodOptional<z.ZodEnum<["basic", "enhanced", "loa3"]>>;
|
|
3419
|
-
}, "strip", z.ZodTypeAny, {
|
|
3420
|
-
type: "idv";
|
|
3421
|
-
provider: string;
|
|
3422
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3423
|
-
}, {
|
|
3424
|
-
type: "idv";
|
|
3425
|
-
provider: string;
|
|
3426
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3427
|
-
}>, z.ZodObject<{
|
|
3428
|
-
type: z.ZodLiteral<"credential">;
|
|
3429
|
-
credentialType: z.ZodString;
|
|
3430
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
3431
|
-
}, "strip", z.ZodTypeAny, {
|
|
3432
|
-
type: "credential";
|
|
3433
|
-
credentialType: string;
|
|
3434
|
-
issuer?: string | undefined;
|
|
3435
|
-
}, {
|
|
3436
|
-
type: "credential";
|
|
3437
|
-
credentialType: string;
|
|
3438
|
-
issuer?: string | undefined;
|
|
3439
|
-
}>, z.ZodObject<{
|
|
3440
|
-
type: z.ZodLiteral<"none">;
|
|
3441
|
-
}, "strip", z.ZodTypeAny, {
|
|
3442
|
-
type: "none";
|
|
3443
|
-
}, {
|
|
3444
|
-
type: "none";
|
|
3445
|
-
}>]>>;
|
|
3446
2822
|
}, "strip", z.ZodTypeAny, {
|
|
3447
2823
|
requiresDelegation: boolean;
|
|
3448
2824
|
requiredScopes: string[];
|
|
3449
|
-
authorization?: {
|
|
3450
|
-
type: "oauth";
|
|
3451
|
-
provider: string;
|
|
3452
|
-
requiredScopes?: string[] | undefined;
|
|
3453
|
-
} | {
|
|
3454
|
-
type: "mdl";
|
|
3455
|
-
issuer: string;
|
|
3456
|
-
credentialType?: string | undefined;
|
|
3457
|
-
} | {
|
|
3458
|
-
type: "idv";
|
|
3459
|
-
provider: string;
|
|
3460
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3461
|
-
} | {
|
|
3462
|
-
type: "credential";
|
|
3463
|
-
credentialType: string;
|
|
3464
|
-
issuer?: string | undefined;
|
|
3465
|
-
} | {
|
|
3466
|
-
type: "none";
|
|
3467
|
-
} | undefined;
|
|
3468
2825
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3469
|
-
oauthProvider?: string | undefined;
|
|
3470
2826
|
}, {
|
|
3471
2827
|
requiresDelegation: boolean;
|
|
3472
2828
|
requiredScopes: string[];
|
|
3473
|
-
authorization?: {
|
|
3474
|
-
type: "oauth";
|
|
3475
|
-
provider: string;
|
|
3476
|
-
requiredScopes?: string[] | undefined;
|
|
3477
|
-
} | {
|
|
3478
|
-
type: "mdl";
|
|
3479
|
-
issuer: string;
|
|
3480
|
-
credentialType?: string | undefined;
|
|
3481
|
-
} | {
|
|
3482
|
-
type: "idv";
|
|
3483
|
-
provider: string;
|
|
3484
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3485
|
-
} | {
|
|
3486
|
-
type: "credential";
|
|
3487
|
-
credentialType: string;
|
|
3488
|
-
issuer?: string | undefined;
|
|
3489
|
-
} | {
|
|
3490
|
-
type: "none";
|
|
3491
|
-
} | undefined;
|
|
3492
2829
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3493
|
-
oauthProvider?: string | undefined;
|
|
3494
2830
|
}>>>;
|
|
3495
2831
|
}, "strip", z.ZodTypeAny, {
|
|
3496
2832
|
source: "agentshield" | "inline" | "file";
|
|
@@ -3501,27 +2837,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3501
2837
|
fallback?: Record<string, {
|
|
3502
2838
|
requiresDelegation: boolean;
|
|
3503
2839
|
requiredScopes: string[];
|
|
3504
|
-
authorization?: {
|
|
3505
|
-
type: "oauth";
|
|
3506
|
-
provider: string;
|
|
3507
|
-
requiredScopes?: string[] | undefined;
|
|
3508
|
-
} | {
|
|
3509
|
-
type: "mdl";
|
|
3510
|
-
issuer: string;
|
|
3511
|
-
credentialType?: string | undefined;
|
|
3512
|
-
} | {
|
|
3513
|
-
type: "idv";
|
|
3514
|
-
provider: string;
|
|
3515
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3516
|
-
} | {
|
|
3517
|
-
type: "credential";
|
|
3518
|
-
credentialType: string;
|
|
3519
|
-
issuer?: string | undefined;
|
|
3520
|
-
} | {
|
|
3521
|
-
type: "none";
|
|
3522
|
-
} | undefined;
|
|
3523
2840
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3524
|
-
oauthProvider?: string | undefined;
|
|
3525
2841
|
}> | undefined;
|
|
3526
2842
|
}, {
|
|
3527
2843
|
source: "agentshield" | "inline" | "file";
|
|
@@ -3532,27 +2848,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3532
2848
|
fallback?: Record<string, {
|
|
3533
2849
|
requiresDelegation: boolean;
|
|
3534
2850
|
requiredScopes: string[];
|
|
3535
|
-
authorization?: {
|
|
3536
|
-
type: "oauth";
|
|
3537
|
-
provider: string;
|
|
3538
|
-
requiredScopes?: string[] | undefined;
|
|
3539
|
-
} | {
|
|
3540
|
-
type: "mdl";
|
|
3541
|
-
issuer: string;
|
|
3542
|
-
credentialType?: string | undefined;
|
|
3543
|
-
} | {
|
|
3544
|
-
type: "idv";
|
|
3545
|
-
provider: string;
|
|
3546
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3547
|
-
} | {
|
|
3548
|
-
type: "credential";
|
|
3549
|
-
credentialType: string;
|
|
3550
|
-
issuer?: string | undefined;
|
|
3551
|
-
} | {
|
|
3552
|
-
type: "none";
|
|
3553
|
-
} | undefined;
|
|
3554
2851
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
3555
|
-
oauthProvider?: string | undefined;
|
|
3556
2852
|
}> | undefined;
|
|
3557
2853
|
}>>;
|
|
3558
2854
|
audit: z.ZodOptional<z.ZodObject<{
|
|
@@ -3936,12 +3232,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3936
3232
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
3937
3233
|
} | undefined;
|
|
3938
3234
|
delegation?: {
|
|
3939
|
-
authorization: {
|
|
3940
|
-
authorizationUrl?: string | undefined;
|
|
3941
|
-
minReputationScore?: number | undefined;
|
|
3942
|
-
resumeTokenTtl?: number | undefined;
|
|
3943
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
3944
|
-
};
|
|
3945
3235
|
enabled: boolean;
|
|
3946
3236
|
enforceStrictly: boolean;
|
|
3947
3237
|
verifier: {
|
|
@@ -3949,6 +3239,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3949
3239
|
apiUrl?: string | undefined;
|
|
3950
3240
|
cacheTtl?: number | undefined;
|
|
3951
3241
|
};
|
|
3242
|
+
authorization: {
|
|
3243
|
+
authorizationUrl?: string | undefined;
|
|
3244
|
+
minReputationScore?: number | undefined;
|
|
3245
|
+
resumeTokenTtl?: number | undefined;
|
|
3246
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
3247
|
+
};
|
|
3952
3248
|
} | undefined;
|
|
3953
3249
|
identity?: {
|
|
3954
3250
|
environment: "development" | "production";
|
|
@@ -3978,27 +3274,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
3978
3274
|
fallback?: Record<string, {
|
|
3979
3275
|
requiresDelegation: boolean;
|
|
3980
3276
|
requiredScopes: string[];
|
|
3981
|
-
authorization?: {
|
|
3982
|
-
type: "oauth";
|
|
3983
|
-
provider: string;
|
|
3984
|
-
requiredScopes?: string[] | undefined;
|
|
3985
|
-
} | {
|
|
3986
|
-
type: "mdl";
|
|
3987
|
-
issuer: string;
|
|
3988
|
-
credentialType?: string | undefined;
|
|
3989
|
-
} | {
|
|
3990
|
-
type: "idv";
|
|
3991
|
-
provider: string;
|
|
3992
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3993
|
-
} | {
|
|
3994
|
-
type: "credential";
|
|
3995
|
-
credentialType: string;
|
|
3996
|
-
issuer?: string | undefined;
|
|
3997
|
-
} | {
|
|
3998
|
-
type: "none";
|
|
3999
|
-
} | undefined;
|
|
4000
3277
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4001
|
-
oauthProvider?: string | undefined;
|
|
4002
3278
|
}> | undefined;
|
|
4003
3279
|
} | undefined;
|
|
4004
3280
|
audit?: {
|
|
@@ -4065,12 +3341,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4065
3341
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
4066
3342
|
} | undefined;
|
|
4067
3343
|
delegation?: {
|
|
4068
|
-
authorization: {
|
|
4069
|
-
authorizationUrl?: string | undefined;
|
|
4070
|
-
minReputationScore?: number | undefined;
|
|
4071
|
-
resumeTokenTtl?: number | undefined;
|
|
4072
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
4073
|
-
};
|
|
4074
3344
|
enabled: boolean;
|
|
4075
3345
|
enforceStrictly: boolean;
|
|
4076
3346
|
verifier: {
|
|
@@ -4078,6 +3348,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4078
3348
|
apiUrl?: string | undefined;
|
|
4079
3349
|
cacheTtl?: number | undefined;
|
|
4080
3350
|
};
|
|
3351
|
+
authorization: {
|
|
3352
|
+
authorizationUrl?: string | undefined;
|
|
3353
|
+
minReputationScore?: number | undefined;
|
|
3354
|
+
resumeTokenTtl?: number | undefined;
|
|
3355
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
3356
|
+
};
|
|
4081
3357
|
} | undefined;
|
|
4082
3358
|
identity?: {
|
|
4083
3359
|
environment: "development" | "production";
|
|
@@ -4107,27 +3383,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4107
3383
|
fallback?: Record<string, {
|
|
4108
3384
|
requiresDelegation: boolean;
|
|
4109
3385
|
requiredScopes: string[];
|
|
4110
|
-
authorization?: {
|
|
4111
|
-
type: "oauth";
|
|
4112
|
-
provider: string;
|
|
4113
|
-
requiredScopes?: string[] | undefined;
|
|
4114
|
-
} | {
|
|
4115
|
-
type: "mdl";
|
|
4116
|
-
issuer: string;
|
|
4117
|
-
credentialType?: string | undefined;
|
|
4118
|
-
} | {
|
|
4119
|
-
type: "idv";
|
|
4120
|
-
provider: string;
|
|
4121
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4122
|
-
} | {
|
|
4123
|
-
type: "credential";
|
|
4124
|
-
credentialType: string;
|
|
4125
|
-
issuer?: string | undefined;
|
|
4126
|
-
} | {
|
|
4127
|
-
type: "none";
|
|
4128
|
-
} | undefined;
|
|
4129
3386
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4130
|
-
oauthProvider?: string | undefined;
|
|
4131
3387
|
}> | undefined;
|
|
4132
3388
|
} | undefined;
|
|
4133
3389
|
audit?: {
|
|
@@ -4197,12 +3453,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4197
3453
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
4198
3454
|
} | undefined;
|
|
4199
3455
|
delegation?: {
|
|
4200
|
-
authorization: {
|
|
4201
|
-
authorizationUrl?: string | undefined;
|
|
4202
|
-
minReputationScore?: number | undefined;
|
|
4203
|
-
resumeTokenTtl?: number | undefined;
|
|
4204
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
4205
|
-
};
|
|
4206
3456
|
enabled: boolean;
|
|
4207
3457
|
enforceStrictly: boolean;
|
|
4208
3458
|
verifier: {
|
|
@@ -4210,6 +3460,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4210
3460
|
apiUrl?: string | undefined;
|
|
4211
3461
|
cacheTtl?: number | undefined;
|
|
4212
3462
|
};
|
|
3463
|
+
authorization: {
|
|
3464
|
+
authorizationUrl?: string | undefined;
|
|
3465
|
+
minReputationScore?: number | undefined;
|
|
3466
|
+
resumeTokenTtl?: number | undefined;
|
|
3467
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
3468
|
+
};
|
|
4213
3469
|
} | undefined;
|
|
4214
3470
|
identity?: {
|
|
4215
3471
|
environment: "development" | "production";
|
|
@@ -4239,27 +3495,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4239
3495
|
fallback?: Record<string, {
|
|
4240
3496
|
requiresDelegation: boolean;
|
|
4241
3497
|
requiredScopes: string[];
|
|
4242
|
-
authorization?: {
|
|
4243
|
-
type: "oauth";
|
|
4244
|
-
provider: string;
|
|
4245
|
-
requiredScopes?: string[] | undefined;
|
|
4246
|
-
} | {
|
|
4247
|
-
type: "mdl";
|
|
4248
|
-
issuer: string;
|
|
4249
|
-
credentialType?: string | undefined;
|
|
4250
|
-
} | {
|
|
4251
|
-
type: "idv";
|
|
4252
|
-
provider: string;
|
|
4253
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4254
|
-
} | {
|
|
4255
|
-
type: "credential";
|
|
4256
|
-
credentialType: string;
|
|
4257
|
-
issuer?: string | undefined;
|
|
4258
|
-
} | {
|
|
4259
|
-
type: "none";
|
|
4260
|
-
} | undefined;
|
|
4261
3498
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4262
|
-
oauthProvider?: string | undefined;
|
|
4263
3499
|
}> | undefined;
|
|
4264
3500
|
} | undefined;
|
|
4265
3501
|
audit?: {
|
|
@@ -4329,12 +3565,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4329
3565
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
4330
3566
|
} | undefined;
|
|
4331
3567
|
delegation?: {
|
|
4332
|
-
authorization: {
|
|
4333
|
-
authorizationUrl?: string | undefined;
|
|
4334
|
-
minReputationScore?: number | undefined;
|
|
4335
|
-
resumeTokenTtl?: number | undefined;
|
|
4336
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
4337
|
-
};
|
|
4338
3568
|
enabled: boolean;
|
|
4339
3569
|
enforceStrictly: boolean;
|
|
4340
3570
|
verifier: {
|
|
@@ -4342,6 +3572,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4342
3572
|
apiUrl?: string | undefined;
|
|
4343
3573
|
cacheTtl?: number | undefined;
|
|
4344
3574
|
};
|
|
3575
|
+
authorization: {
|
|
3576
|
+
authorizationUrl?: string | undefined;
|
|
3577
|
+
minReputationScore?: number | undefined;
|
|
3578
|
+
resumeTokenTtl?: number | undefined;
|
|
3579
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
3580
|
+
};
|
|
4345
3581
|
} | undefined;
|
|
4346
3582
|
identity?: {
|
|
4347
3583
|
environment: "development" | "production";
|
|
@@ -4371,27 +3607,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
4371
3607
|
fallback?: Record<string, {
|
|
4372
3608
|
requiresDelegation: boolean;
|
|
4373
3609
|
requiredScopes: string[];
|
|
4374
|
-
authorization?: {
|
|
4375
|
-
type: "oauth";
|
|
4376
|
-
provider: string;
|
|
4377
|
-
requiredScopes?: string[] | undefined;
|
|
4378
|
-
} | {
|
|
4379
|
-
type: "mdl";
|
|
4380
|
-
issuer: string;
|
|
4381
|
-
credentialType?: string | undefined;
|
|
4382
|
-
} | {
|
|
4383
|
-
type: "idv";
|
|
4384
|
-
provider: string;
|
|
4385
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4386
|
-
} | {
|
|
4387
|
-
type: "credential";
|
|
4388
|
-
credentialType: string;
|
|
4389
|
-
issuer?: string | undefined;
|
|
4390
|
-
} | {
|
|
4391
|
-
type: "none";
|
|
4392
|
-
} | undefined;
|
|
4393
3610
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4394
|
-
oauthProvider?: string | undefined;
|
|
4395
3611
|
}> | undefined;
|
|
4396
3612
|
} | undefined;
|
|
4397
3613
|
audit?: {
|
|
@@ -4513,12 +3729,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
4513
3729
|
requireAuthForUnknown?: boolean | undefined;
|
|
4514
3730
|
}>;
|
|
4515
3731
|
}, "strip", z.ZodTypeAny, {
|
|
4516
|
-
authorization: {
|
|
4517
|
-
authorizationUrl?: string | undefined;
|
|
4518
|
-
minReputationScore?: number | undefined;
|
|
4519
|
-
resumeTokenTtl?: number | undefined;
|
|
4520
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
4521
|
-
};
|
|
4522
3732
|
enabled: boolean;
|
|
4523
3733
|
enforceStrictly: boolean;
|
|
4524
3734
|
verifier: {
|
|
@@ -4526,13 +3736,13 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
4526
3736
|
apiUrl?: string | undefined;
|
|
4527
3737
|
cacheTtl?: number | undefined;
|
|
4528
3738
|
};
|
|
4529
|
-
}, {
|
|
4530
3739
|
authorization: {
|
|
4531
3740
|
authorizationUrl?: string | undefined;
|
|
4532
3741
|
minReputationScore?: number | undefined;
|
|
4533
3742
|
resumeTokenTtl?: number | undefined;
|
|
4534
3743
|
requireAuthForUnknown?: boolean | undefined;
|
|
4535
3744
|
};
|
|
3745
|
+
}, {
|
|
4536
3746
|
enabled: boolean;
|
|
4537
3747
|
enforceStrictly: boolean;
|
|
4538
3748
|
verifier: {
|
|
@@ -4540,6 +3750,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
4540
3750
|
apiUrl?: string | undefined;
|
|
4541
3751
|
cacheTtl?: number | undefined;
|
|
4542
3752
|
};
|
|
3753
|
+
authorization: {
|
|
3754
|
+
authorizationUrl?: string | undefined;
|
|
3755
|
+
minReputationScore?: number | undefined;
|
|
3756
|
+
resumeTokenTtl?: number | undefined;
|
|
3757
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
3758
|
+
};
|
|
4543
3759
|
}>;
|
|
4544
3760
|
toolProtection: z.ZodObject<{
|
|
4545
3761
|
source: z.ZodEnum<["agentshield", "inline", "file"]>;
|
|
@@ -4557,110 +3773,14 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
4557
3773
|
requiresDelegation: z.ZodBoolean;
|
|
4558
3774
|
requiredScopes: z.ZodArray<z.ZodString, "many">;
|
|
4559
3775
|
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
4560
|
-
oauthProvider: z.ZodOptional<z.ZodString>;
|
|
4561
|
-
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4562
|
-
type: z.ZodLiteral<"oauth">;
|
|
4563
|
-
provider: z.ZodString;
|
|
4564
|
-
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4565
|
-
}, "strip", z.ZodTypeAny, {
|
|
4566
|
-
type: "oauth";
|
|
4567
|
-
provider: string;
|
|
4568
|
-
requiredScopes?: string[] | undefined;
|
|
4569
|
-
}, {
|
|
4570
|
-
type: "oauth";
|
|
4571
|
-
provider: string;
|
|
4572
|
-
requiredScopes?: string[] | undefined;
|
|
4573
|
-
}>, z.ZodObject<{
|
|
4574
|
-
type: z.ZodLiteral<"mdl">;
|
|
4575
|
-
issuer: z.ZodString;
|
|
4576
|
-
credentialType: z.ZodOptional<z.ZodString>;
|
|
4577
|
-
}, "strip", z.ZodTypeAny, {
|
|
4578
|
-
type: "mdl";
|
|
4579
|
-
issuer: string;
|
|
4580
|
-
credentialType?: string | undefined;
|
|
4581
|
-
}, {
|
|
4582
|
-
type: "mdl";
|
|
4583
|
-
issuer: string;
|
|
4584
|
-
credentialType?: string | undefined;
|
|
4585
|
-
}>, z.ZodObject<{
|
|
4586
|
-
type: z.ZodLiteral<"idv">;
|
|
4587
|
-
provider: z.ZodString;
|
|
4588
|
-
verificationLevel: z.ZodOptional<z.ZodEnum<["basic", "enhanced", "loa3"]>>;
|
|
4589
|
-
}, "strip", z.ZodTypeAny, {
|
|
4590
|
-
type: "idv";
|
|
4591
|
-
provider: string;
|
|
4592
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4593
|
-
}, {
|
|
4594
|
-
type: "idv";
|
|
4595
|
-
provider: string;
|
|
4596
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4597
|
-
}>, z.ZodObject<{
|
|
4598
|
-
type: z.ZodLiteral<"credential">;
|
|
4599
|
-
credentialType: z.ZodString;
|
|
4600
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
4601
|
-
}, "strip", z.ZodTypeAny, {
|
|
4602
|
-
type: "credential";
|
|
4603
|
-
credentialType: string;
|
|
4604
|
-
issuer?: string | undefined;
|
|
4605
|
-
}, {
|
|
4606
|
-
type: "credential";
|
|
4607
|
-
credentialType: string;
|
|
4608
|
-
issuer?: string | undefined;
|
|
4609
|
-
}>, z.ZodObject<{
|
|
4610
|
-
type: z.ZodLiteral<"none">;
|
|
4611
|
-
}, "strip", z.ZodTypeAny, {
|
|
4612
|
-
type: "none";
|
|
4613
|
-
}, {
|
|
4614
|
-
type: "none";
|
|
4615
|
-
}>]>>;
|
|
4616
3776
|
}, "strip", z.ZodTypeAny, {
|
|
4617
3777
|
requiresDelegation: boolean;
|
|
4618
3778
|
requiredScopes: string[];
|
|
4619
|
-
authorization?: {
|
|
4620
|
-
type: "oauth";
|
|
4621
|
-
provider: string;
|
|
4622
|
-
requiredScopes?: string[] | undefined;
|
|
4623
|
-
} | {
|
|
4624
|
-
type: "mdl";
|
|
4625
|
-
issuer: string;
|
|
4626
|
-
credentialType?: string | undefined;
|
|
4627
|
-
} | {
|
|
4628
|
-
type: "idv";
|
|
4629
|
-
provider: string;
|
|
4630
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4631
|
-
} | {
|
|
4632
|
-
type: "credential";
|
|
4633
|
-
credentialType: string;
|
|
4634
|
-
issuer?: string | undefined;
|
|
4635
|
-
} | {
|
|
4636
|
-
type: "none";
|
|
4637
|
-
} | undefined;
|
|
4638
3779
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4639
|
-
oauthProvider?: string | undefined;
|
|
4640
3780
|
}, {
|
|
4641
3781
|
requiresDelegation: boolean;
|
|
4642
3782
|
requiredScopes: string[];
|
|
4643
|
-
authorization?: {
|
|
4644
|
-
type: "oauth";
|
|
4645
|
-
provider: string;
|
|
4646
|
-
requiredScopes?: string[] | undefined;
|
|
4647
|
-
} | {
|
|
4648
|
-
type: "mdl";
|
|
4649
|
-
issuer: string;
|
|
4650
|
-
credentialType?: string | undefined;
|
|
4651
|
-
} | {
|
|
4652
|
-
type: "idv";
|
|
4653
|
-
provider: string;
|
|
4654
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4655
|
-
} | {
|
|
4656
|
-
type: "credential";
|
|
4657
|
-
credentialType: string;
|
|
4658
|
-
issuer?: string | undefined;
|
|
4659
|
-
} | {
|
|
4660
|
-
type: "none";
|
|
4661
|
-
} | undefined;
|
|
4662
3783
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4663
|
-
oauthProvider?: string | undefined;
|
|
4664
3784
|
}>>>;
|
|
4665
3785
|
}, "strip", z.ZodTypeAny, {
|
|
4666
3786
|
source: "agentshield" | "inline" | "file";
|
|
@@ -4671,27 +3791,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
4671
3791
|
fallback?: Record<string, {
|
|
4672
3792
|
requiresDelegation: boolean;
|
|
4673
3793
|
requiredScopes: string[];
|
|
4674
|
-
authorization?: {
|
|
4675
|
-
type: "oauth";
|
|
4676
|
-
provider: string;
|
|
4677
|
-
requiredScopes?: string[] | undefined;
|
|
4678
|
-
} | {
|
|
4679
|
-
type: "mdl";
|
|
4680
|
-
issuer: string;
|
|
4681
|
-
credentialType?: string | undefined;
|
|
4682
|
-
} | {
|
|
4683
|
-
type: "idv";
|
|
4684
|
-
provider: string;
|
|
4685
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4686
|
-
} | {
|
|
4687
|
-
type: "credential";
|
|
4688
|
-
credentialType: string;
|
|
4689
|
-
issuer?: string | undefined;
|
|
4690
|
-
} | {
|
|
4691
|
-
type: "none";
|
|
4692
|
-
} | undefined;
|
|
4693
3794
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4694
|
-
oauthProvider?: string | undefined;
|
|
4695
3795
|
}> | undefined;
|
|
4696
3796
|
}, {
|
|
4697
3797
|
source: "agentshield" | "inline" | "file";
|
|
@@ -4702,27 +3802,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
4702
3802
|
fallback?: Record<string, {
|
|
4703
3803
|
requiresDelegation: boolean;
|
|
4704
3804
|
requiredScopes: string[];
|
|
4705
|
-
authorization?: {
|
|
4706
|
-
type: "oauth";
|
|
4707
|
-
provider: string;
|
|
4708
|
-
requiredScopes?: string[] | undefined;
|
|
4709
|
-
} | {
|
|
4710
|
-
type: "mdl";
|
|
4711
|
-
issuer: string;
|
|
4712
|
-
credentialType?: string | undefined;
|
|
4713
|
-
} | {
|
|
4714
|
-
type: "idv";
|
|
4715
|
-
provider: string;
|
|
4716
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
4717
|
-
} | {
|
|
4718
|
-
type: "credential";
|
|
4719
|
-
credentialType: string;
|
|
4720
|
-
issuer?: string | undefined;
|
|
4721
|
-
} | {
|
|
4722
|
-
type: "none";
|
|
4723
|
-
} | undefined;
|
|
4724
3805
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
4725
|
-
oauthProvider?: string | undefined;
|
|
4726
3806
|
}> | undefined;
|
|
4727
3807
|
}>;
|
|
4728
3808
|
audit: z.ZodObject<{
|
|
@@ -5106,12 +4186,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5106
4186
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
5107
4187
|
};
|
|
5108
4188
|
delegation: {
|
|
5109
|
-
authorization: {
|
|
5110
|
-
authorizationUrl?: string | undefined;
|
|
5111
|
-
minReputationScore?: number | undefined;
|
|
5112
|
-
resumeTokenTtl?: number | undefined;
|
|
5113
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
5114
|
-
};
|
|
5115
4189
|
enabled: boolean;
|
|
5116
4190
|
enforceStrictly: boolean;
|
|
5117
4191
|
verifier: {
|
|
@@ -5119,6 +4193,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5119
4193
|
apiUrl?: string | undefined;
|
|
5120
4194
|
cacheTtl?: number | undefined;
|
|
5121
4195
|
};
|
|
4196
|
+
authorization: {
|
|
4197
|
+
authorizationUrl?: string | undefined;
|
|
4198
|
+
minReputationScore?: number | undefined;
|
|
4199
|
+
resumeTokenTtl?: number | undefined;
|
|
4200
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
4201
|
+
};
|
|
5122
4202
|
};
|
|
5123
4203
|
identity: {
|
|
5124
4204
|
environment: "development" | "production";
|
|
@@ -5148,27 +4228,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5148
4228
|
fallback?: Record<string, {
|
|
5149
4229
|
requiresDelegation: boolean;
|
|
5150
4230
|
requiredScopes: string[];
|
|
5151
|
-
authorization?: {
|
|
5152
|
-
type: "oauth";
|
|
5153
|
-
provider: string;
|
|
5154
|
-
requiredScopes?: string[] | undefined;
|
|
5155
|
-
} | {
|
|
5156
|
-
type: "mdl";
|
|
5157
|
-
issuer: string;
|
|
5158
|
-
credentialType?: string | undefined;
|
|
5159
|
-
} | {
|
|
5160
|
-
type: "idv";
|
|
5161
|
-
provider: string;
|
|
5162
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
5163
|
-
} | {
|
|
5164
|
-
type: "credential";
|
|
5165
|
-
credentialType: string;
|
|
5166
|
-
issuer?: string | undefined;
|
|
5167
|
-
} | {
|
|
5168
|
-
type: "none";
|
|
5169
|
-
} | undefined;
|
|
5170
4231
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
5171
|
-
oauthProvider?: string | undefined;
|
|
5172
4232
|
}> | undefined;
|
|
5173
4233
|
};
|
|
5174
4234
|
audit: {
|
|
@@ -5235,12 +4295,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5235
4295
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
5236
4296
|
};
|
|
5237
4297
|
delegation: {
|
|
5238
|
-
authorization: {
|
|
5239
|
-
authorizationUrl?: string | undefined;
|
|
5240
|
-
minReputationScore?: number | undefined;
|
|
5241
|
-
resumeTokenTtl?: number | undefined;
|
|
5242
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
5243
|
-
};
|
|
5244
4298
|
enabled: boolean;
|
|
5245
4299
|
enforceStrictly: boolean;
|
|
5246
4300
|
verifier: {
|
|
@@ -5248,6 +4302,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5248
4302
|
apiUrl?: string | undefined;
|
|
5249
4303
|
cacheTtl?: number | undefined;
|
|
5250
4304
|
};
|
|
4305
|
+
authorization: {
|
|
4306
|
+
authorizationUrl?: string | undefined;
|
|
4307
|
+
minReputationScore?: number | undefined;
|
|
4308
|
+
resumeTokenTtl?: number | undefined;
|
|
4309
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
4310
|
+
};
|
|
5251
4311
|
};
|
|
5252
4312
|
identity: {
|
|
5253
4313
|
environment: "development" | "production";
|
|
@@ -5277,27 +4337,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5277
4337
|
fallback?: Record<string, {
|
|
5278
4338
|
requiresDelegation: boolean;
|
|
5279
4339
|
requiredScopes: string[];
|
|
5280
|
-
authorization?: {
|
|
5281
|
-
type: "oauth";
|
|
5282
|
-
provider: string;
|
|
5283
|
-
requiredScopes?: string[] | undefined;
|
|
5284
|
-
} | {
|
|
5285
|
-
type: "mdl";
|
|
5286
|
-
issuer: string;
|
|
5287
|
-
credentialType?: string | undefined;
|
|
5288
|
-
} | {
|
|
5289
|
-
type: "idv";
|
|
5290
|
-
provider: string;
|
|
5291
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
5292
|
-
} | {
|
|
5293
|
-
type: "credential";
|
|
5294
|
-
credentialType: string;
|
|
5295
|
-
issuer?: string | undefined;
|
|
5296
|
-
} | {
|
|
5297
|
-
type: "none";
|
|
5298
|
-
} | undefined;
|
|
5299
4340
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
5300
|
-
oauthProvider?: string | undefined;
|
|
5301
4341
|
}> | undefined;
|
|
5302
4342
|
};
|
|
5303
4343
|
audit: {
|
|
@@ -5379,12 +4419,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5379
4419
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
5380
4420
|
};
|
|
5381
4421
|
delegation: {
|
|
5382
|
-
authorization: {
|
|
5383
|
-
authorizationUrl?: string | undefined;
|
|
5384
|
-
minReputationScore?: number | undefined;
|
|
5385
|
-
resumeTokenTtl?: number | undefined;
|
|
5386
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
5387
|
-
};
|
|
5388
4422
|
enabled: boolean;
|
|
5389
4423
|
enforceStrictly: boolean;
|
|
5390
4424
|
verifier: {
|
|
@@ -5392,6 +4426,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5392
4426
|
apiUrl?: string | undefined;
|
|
5393
4427
|
cacheTtl?: number | undefined;
|
|
5394
4428
|
};
|
|
4429
|
+
authorization: {
|
|
4430
|
+
authorizationUrl?: string | undefined;
|
|
4431
|
+
minReputationScore?: number | undefined;
|
|
4432
|
+
resumeTokenTtl?: number | undefined;
|
|
4433
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
4434
|
+
};
|
|
5395
4435
|
};
|
|
5396
4436
|
identity: {
|
|
5397
4437
|
environment: "development" | "production";
|
|
@@ -5421,27 +4461,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5421
4461
|
fallback?: Record<string, {
|
|
5422
4462
|
requiresDelegation: boolean;
|
|
5423
4463
|
requiredScopes: string[];
|
|
5424
|
-
authorization?: {
|
|
5425
|
-
type: "oauth";
|
|
5426
|
-
provider: string;
|
|
5427
|
-
requiredScopes?: string[] | undefined;
|
|
5428
|
-
} | {
|
|
5429
|
-
type: "mdl";
|
|
5430
|
-
issuer: string;
|
|
5431
|
-
credentialType?: string | undefined;
|
|
5432
|
-
} | {
|
|
5433
|
-
type: "idv";
|
|
5434
|
-
provider: string;
|
|
5435
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
5436
|
-
} | {
|
|
5437
|
-
type: "credential";
|
|
5438
|
-
credentialType: string;
|
|
5439
|
-
issuer?: string | undefined;
|
|
5440
|
-
} | {
|
|
5441
|
-
type: "none";
|
|
5442
|
-
} | undefined;
|
|
5443
4464
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
5444
|
-
oauthProvider?: string | undefined;
|
|
5445
4465
|
}> | undefined;
|
|
5446
4466
|
};
|
|
5447
4467
|
audit: {
|
|
@@ -5515,12 +4535,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5515
4535
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
5516
4536
|
};
|
|
5517
4537
|
delegation: {
|
|
5518
|
-
authorization: {
|
|
5519
|
-
authorizationUrl?: string | undefined;
|
|
5520
|
-
minReputationScore?: number | undefined;
|
|
5521
|
-
resumeTokenTtl?: number | undefined;
|
|
5522
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
5523
|
-
};
|
|
5524
4538
|
enabled: boolean;
|
|
5525
4539
|
enforceStrictly: boolean;
|
|
5526
4540
|
verifier: {
|
|
@@ -5528,6 +4542,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5528
4542
|
apiUrl?: string | undefined;
|
|
5529
4543
|
cacheTtl?: number | undefined;
|
|
5530
4544
|
};
|
|
4545
|
+
authorization: {
|
|
4546
|
+
authorizationUrl?: string | undefined;
|
|
4547
|
+
minReputationScore?: number | undefined;
|
|
4548
|
+
resumeTokenTtl?: number | undefined;
|
|
4549
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
4550
|
+
};
|
|
5531
4551
|
};
|
|
5532
4552
|
identity: {
|
|
5533
4553
|
environment: "development" | "production";
|
|
@@ -5557,27 +4577,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5557
4577
|
fallback?: Record<string, {
|
|
5558
4578
|
requiresDelegation: boolean;
|
|
5559
4579
|
requiredScopes: string[];
|
|
5560
|
-
authorization?: {
|
|
5561
|
-
type: "oauth";
|
|
5562
|
-
provider: string;
|
|
5563
|
-
requiredScopes?: string[] | undefined;
|
|
5564
|
-
} | {
|
|
5565
|
-
type: "mdl";
|
|
5566
|
-
issuer: string;
|
|
5567
|
-
credentialType?: string | undefined;
|
|
5568
|
-
} | {
|
|
5569
|
-
type: "idv";
|
|
5570
|
-
provider: string;
|
|
5571
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
5572
|
-
} | {
|
|
5573
|
-
type: "credential";
|
|
5574
|
-
credentialType: string;
|
|
5575
|
-
issuer?: string | undefined;
|
|
5576
|
-
} | {
|
|
5577
|
-
type: "none";
|
|
5578
|
-
} | undefined;
|
|
5579
4580
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
5580
|
-
oauthProvider?: string | undefined;
|
|
5581
4581
|
}> | undefined;
|
|
5582
4582
|
};
|
|
5583
4583
|
audit: {
|
|
@@ -5664,12 +4664,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5664
4664
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
5665
4665
|
};
|
|
5666
4666
|
delegation: {
|
|
5667
|
-
authorization: {
|
|
5668
|
-
authorizationUrl?: string | undefined;
|
|
5669
|
-
minReputationScore?: number | undefined;
|
|
5670
|
-
resumeTokenTtl?: number | undefined;
|
|
5671
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
5672
|
-
};
|
|
5673
4667
|
enabled: boolean;
|
|
5674
4668
|
enforceStrictly: boolean;
|
|
5675
4669
|
verifier: {
|
|
@@ -5677,6 +4671,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5677
4671
|
apiUrl?: string | undefined;
|
|
5678
4672
|
cacheTtl?: number | undefined;
|
|
5679
4673
|
};
|
|
4674
|
+
authorization: {
|
|
4675
|
+
authorizationUrl?: string | undefined;
|
|
4676
|
+
minReputationScore?: number | undefined;
|
|
4677
|
+
resumeTokenTtl?: number | undefined;
|
|
4678
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
4679
|
+
};
|
|
5680
4680
|
};
|
|
5681
4681
|
identity: {
|
|
5682
4682
|
environment: "development" | "production";
|
|
@@ -5706,27 +4706,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5706
4706
|
fallback?: Record<string, {
|
|
5707
4707
|
requiresDelegation: boolean;
|
|
5708
4708
|
requiredScopes: string[];
|
|
5709
|
-
authorization?: {
|
|
5710
|
-
type: "oauth";
|
|
5711
|
-
provider: string;
|
|
5712
|
-
requiredScopes?: string[] | undefined;
|
|
5713
|
-
} | {
|
|
5714
|
-
type: "mdl";
|
|
5715
|
-
issuer: string;
|
|
5716
|
-
credentialType?: string | undefined;
|
|
5717
|
-
} | {
|
|
5718
|
-
type: "idv";
|
|
5719
|
-
provider: string;
|
|
5720
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
5721
|
-
} | {
|
|
5722
|
-
type: "credential";
|
|
5723
|
-
credentialType: string;
|
|
5724
|
-
issuer?: string | undefined;
|
|
5725
|
-
} | {
|
|
5726
|
-
type: "none";
|
|
5727
|
-
} | undefined;
|
|
5728
4709
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
5729
|
-
oauthProvider?: string | undefined;
|
|
5730
4710
|
}> | undefined;
|
|
5731
4711
|
};
|
|
5732
4712
|
audit: {
|
|
@@ -5807,12 +4787,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5807
4787
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
5808
4788
|
};
|
|
5809
4789
|
delegation: {
|
|
5810
|
-
authorization: {
|
|
5811
|
-
authorizationUrl?: string | undefined;
|
|
5812
|
-
minReputationScore?: number | undefined;
|
|
5813
|
-
resumeTokenTtl?: number | undefined;
|
|
5814
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
5815
|
-
};
|
|
5816
4790
|
enabled: boolean;
|
|
5817
4791
|
enforceStrictly: boolean;
|
|
5818
4792
|
verifier: {
|
|
@@ -5820,6 +4794,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5820
4794
|
apiUrl?: string | undefined;
|
|
5821
4795
|
cacheTtl?: number | undefined;
|
|
5822
4796
|
};
|
|
4797
|
+
authorization: {
|
|
4798
|
+
authorizationUrl?: string | undefined;
|
|
4799
|
+
minReputationScore?: number | undefined;
|
|
4800
|
+
resumeTokenTtl?: number | undefined;
|
|
4801
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
4802
|
+
};
|
|
5823
4803
|
};
|
|
5824
4804
|
identity: {
|
|
5825
4805
|
environment: "development" | "production";
|
|
@@ -5849,27 +4829,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
5849
4829
|
fallback?: Record<string, {
|
|
5850
4830
|
requiresDelegation: boolean;
|
|
5851
4831
|
requiredScopes: string[];
|
|
5852
|
-
authorization?: {
|
|
5853
|
-
type: "oauth";
|
|
5854
|
-
provider: string;
|
|
5855
|
-
requiredScopes?: string[] | undefined;
|
|
5856
|
-
} | {
|
|
5857
|
-
type: "mdl";
|
|
5858
|
-
issuer: string;
|
|
5859
|
-
credentialType?: string | undefined;
|
|
5860
|
-
} | {
|
|
5861
|
-
type: "idv";
|
|
5862
|
-
provider: string;
|
|
5863
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
5864
|
-
} | {
|
|
5865
|
-
type: "credential";
|
|
5866
|
-
credentialType: string;
|
|
5867
|
-
issuer?: string | undefined;
|
|
5868
|
-
} | {
|
|
5869
|
-
type: "none";
|
|
5870
|
-
} | undefined;
|
|
5871
4832
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
5872
|
-
oauthProvider?: string | undefined;
|
|
5873
4833
|
}> | undefined;
|
|
5874
4834
|
};
|
|
5875
4835
|
audit: {
|
|
@@ -6000,12 +4960,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6000
4960
|
requireAuthForUnknown?: boolean | undefined;
|
|
6001
4961
|
}>;
|
|
6002
4962
|
}, "strip", z.ZodTypeAny, {
|
|
6003
|
-
authorization: {
|
|
6004
|
-
authorizationUrl?: string | undefined;
|
|
6005
|
-
minReputationScore?: number | undefined;
|
|
6006
|
-
resumeTokenTtl?: number | undefined;
|
|
6007
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
6008
|
-
};
|
|
6009
4963
|
enabled: boolean;
|
|
6010
4964
|
enforceStrictly: boolean;
|
|
6011
4965
|
verifier: {
|
|
@@ -6013,13 +4967,13 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6013
4967
|
apiUrl?: string | undefined;
|
|
6014
4968
|
cacheTtl?: number | undefined;
|
|
6015
4969
|
};
|
|
6016
|
-
}, {
|
|
6017
4970
|
authorization: {
|
|
6018
4971
|
authorizationUrl?: string | undefined;
|
|
6019
4972
|
minReputationScore?: number | undefined;
|
|
6020
4973
|
resumeTokenTtl?: number | undefined;
|
|
6021
4974
|
requireAuthForUnknown?: boolean | undefined;
|
|
6022
4975
|
};
|
|
4976
|
+
}, {
|
|
6023
4977
|
enabled: boolean;
|
|
6024
4978
|
enforceStrictly: boolean;
|
|
6025
4979
|
verifier: {
|
|
@@ -6027,6 +4981,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6027
4981
|
apiUrl?: string | undefined;
|
|
6028
4982
|
cacheTtl?: number | undefined;
|
|
6029
4983
|
};
|
|
4984
|
+
authorization: {
|
|
4985
|
+
authorizationUrl?: string | undefined;
|
|
4986
|
+
minReputationScore?: number | undefined;
|
|
4987
|
+
resumeTokenTtl?: number | undefined;
|
|
4988
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
4989
|
+
};
|
|
6030
4990
|
}>>;
|
|
6031
4991
|
toolProtection: z.ZodOptional<z.ZodObject<{
|
|
6032
4992
|
source: z.ZodEnum<["agentshield", "inline", "file"]>;
|
|
@@ -6044,110 +5004,14 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6044
5004
|
requiresDelegation: z.ZodBoolean;
|
|
6045
5005
|
requiredScopes: z.ZodArray<z.ZodString, "many">;
|
|
6046
5006
|
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
6047
|
-
oauthProvider: z.ZodOptional<z.ZodString>;
|
|
6048
|
-
authorization: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6049
|
-
type: z.ZodLiteral<"oauth">;
|
|
6050
|
-
provider: z.ZodString;
|
|
6051
|
-
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6052
|
-
}, "strip", z.ZodTypeAny, {
|
|
6053
|
-
type: "oauth";
|
|
6054
|
-
provider: string;
|
|
6055
|
-
requiredScopes?: string[] | undefined;
|
|
6056
|
-
}, {
|
|
6057
|
-
type: "oauth";
|
|
6058
|
-
provider: string;
|
|
6059
|
-
requiredScopes?: string[] | undefined;
|
|
6060
|
-
}>, z.ZodObject<{
|
|
6061
|
-
type: z.ZodLiteral<"mdl">;
|
|
6062
|
-
issuer: z.ZodString;
|
|
6063
|
-
credentialType: z.ZodOptional<z.ZodString>;
|
|
6064
|
-
}, "strip", z.ZodTypeAny, {
|
|
6065
|
-
type: "mdl";
|
|
6066
|
-
issuer: string;
|
|
6067
|
-
credentialType?: string | undefined;
|
|
6068
|
-
}, {
|
|
6069
|
-
type: "mdl";
|
|
6070
|
-
issuer: string;
|
|
6071
|
-
credentialType?: string | undefined;
|
|
6072
|
-
}>, z.ZodObject<{
|
|
6073
|
-
type: z.ZodLiteral<"idv">;
|
|
6074
|
-
provider: z.ZodString;
|
|
6075
|
-
verificationLevel: z.ZodOptional<z.ZodEnum<["basic", "enhanced", "loa3"]>>;
|
|
6076
|
-
}, "strip", z.ZodTypeAny, {
|
|
6077
|
-
type: "idv";
|
|
6078
|
-
provider: string;
|
|
6079
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6080
|
-
}, {
|
|
6081
|
-
type: "idv";
|
|
6082
|
-
provider: string;
|
|
6083
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6084
|
-
}>, z.ZodObject<{
|
|
6085
|
-
type: z.ZodLiteral<"credential">;
|
|
6086
|
-
credentialType: z.ZodString;
|
|
6087
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
6088
|
-
}, "strip", z.ZodTypeAny, {
|
|
6089
|
-
type: "credential";
|
|
6090
|
-
credentialType: string;
|
|
6091
|
-
issuer?: string | undefined;
|
|
6092
|
-
}, {
|
|
6093
|
-
type: "credential";
|
|
6094
|
-
credentialType: string;
|
|
6095
|
-
issuer?: string | undefined;
|
|
6096
|
-
}>, z.ZodObject<{
|
|
6097
|
-
type: z.ZodLiteral<"none">;
|
|
6098
|
-
}, "strip", z.ZodTypeAny, {
|
|
6099
|
-
type: "none";
|
|
6100
|
-
}, {
|
|
6101
|
-
type: "none";
|
|
6102
|
-
}>]>>;
|
|
6103
5007
|
}, "strip", z.ZodTypeAny, {
|
|
6104
5008
|
requiresDelegation: boolean;
|
|
6105
5009
|
requiredScopes: string[];
|
|
6106
|
-
authorization?: {
|
|
6107
|
-
type: "oauth";
|
|
6108
|
-
provider: string;
|
|
6109
|
-
requiredScopes?: string[] | undefined;
|
|
6110
|
-
} | {
|
|
6111
|
-
type: "mdl";
|
|
6112
|
-
issuer: string;
|
|
6113
|
-
credentialType?: string | undefined;
|
|
6114
|
-
} | {
|
|
6115
|
-
type: "idv";
|
|
6116
|
-
provider: string;
|
|
6117
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6118
|
-
} | {
|
|
6119
|
-
type: "credential";
|
|
6120
|
-
credentialType: string;
|
|
6121
|
-
issuer?: string | undefined;
|
|
6122
|
-
} | {
|
|
6123
|
-
type: "none";
|
|
6124
|
-
} | undefined;
|
|
6125
5010
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
6126
|
-
oauthProvider?: string | undefined;
|
|
6127
5011
|
}, {
|
|
6128
5012
|
requiresDelegation: boolean;
|
|
6129
5013
|
requiredScopes: string[];
|
|
6130
|
-
authorization?: {
|
|
6131
|
-
type: "oauth";
|
|
6132
|
-
provider: string;
|
|
6133
|
-
requiredScopes?: string[] | undefined;
|
|
6134
|
-
} | {
|
|
6135
|
-
type: "mdl";
|
|
6136
|
-
issuer: string;
|
|
6137
|
-
credentialType?: string | undefined;
|
|
6138
|
-
} | {
|
|
6139
|
-
type: "idv";
|
|
6140
|
-
provider: string;
|
|
6141
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6142
|
-
} | {
|
|
6143
|
-
type: "credential";
|
|
6144
|
-
credentialType: string;
|
|
6145
|
-
issuer?: string | undefined;
|
|
6146
|
-
} | {
|
|
6147
|
-
type: "none";
|
|
6148
|
-
} | undefined;
|
|
6149
5014
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
6150
|
-
oauthProvider?: string | undefined;
|
|
6151
5015
|
}>>>;
|
|
6152
5016
|
}, "strip", z.ZodTypeAny, {
|
|
6153
5017
|
source: "agentshield" | "inline" | "file";
|
|
@@ -6158,27 +5022,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6158
5022
|
fallback?: Record<string, {
|
|
6159
5023
|
requiresDelegation: boolean;
|
|
6160
5024
|
requiredScopes: string[];
|
|
6161
|
-
authorization?: {
|
|
6162
|
-
type: "oauth";
|
|
6163
|
-
provider: string;
|
|
6164
|
-
requiredScopes?: string[] | undefined;
|
|
6165
|
-
} | {
|
|
6166
|
-
type: "mdl";
|
|
6167
|
-
issuer: string;
|
|
6168
|
-
credentialType?: string | undefined;
|
|
6169
|
-
} | {
|
|
6170
|
-
type: "idv";
|
|
6171
|
-
provider: string;
|
|
6172
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6173
|
-
} | {
|
|
6174
|
-
type: "credential";
|
|
6175
|
-
credentialType: string;
|
|
6176
|
-
issuer?: string | undefined;
|
|
6177
|
-
} | {
|
|
6178
|
-
type: "none";
|
|
6179
|
-
} | undefined;
|
|
6180
5025
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
6181
|
-
oauthProvider?: string | undefined;
|
|
6182
5026
|
}> | undefined;
|
|
6183
5027
|
}, {
|
|
6184
5028
|
source: "agentshield" | "inline" | "file";
|
|
@@ -6189,27 +5033,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6189
5033
|
fallback?: Record<string, {
|
|
6190
5034
|
requiresDelegation: boolean;
|
|
6191
5035
|
requiredScopes: string[];
|
|
6192
|
-
authorization?: {
|
|
6193
|
-
type: "oauth";
|
|
6194
|
-
provider: string;
|
|
6195
|
-
requiredScopes?: string[] | undefined;
|
|
6196
|
-
} | {
|
|
6197
|
-
type: "mdl";
|
|
6198
|
-
issuer: string;
|
|
6199
|
-
credentialType?: string | undefined;
|
|
6200
|
-
} | {
|
|
6201
|
-
type: "idv";
|
|
6202
|
-
provider: string;
|
|
6203
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6204
|
-
} | {
|
|
6205
|
-
type: "credential";
|
|
6206
|
-
credentialType: string;
|
|
6207
|
-
issuer?: string | undefined;
|
|
6208
|
-
} | {
|
|
6209
|
-
type: "none";
|
|
6210
|
-
} | undefined;
|
|
6211
5036
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
6212
|
-
oauthProvider?: string | undefined;
|
|
6213
5037
|
}> | undefined;
|
|
6214
5038
|
}>>;
|
|
6215
5039
|
audit: z.ZodOptional<z.ZodObject<{
|
|
@@ -6593,12 +5417,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6593
5417
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
6594
5418
|
} | undefined;
|
|
6595
5419
|
delegation?: {
|
|
6596
|
-
authorization: {
|
|
6597
|
-
authorizationUrl?: string | undefined;
|
|
6598
|
-
minReputationScore?: number | undefined;
|
|
6599
|
-
resumeTokenTtl?: number | undefined;
|
|
6600
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
6601
|
-
};
|
|
6602
5420
|
enabled: boolean;
|
|
6603
5421
|
enforceStrictly: boolean;
|
|
6604
5422
|
verifier: {
|
|
@@ -6606,6 +5424,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6606
5424
|
apiUrl?: string | undefined;
|
|
6607
5425
|
cacheTtl?: number | undefined;
|
|
6608
5426
|
};
|
|
5427
|
+
authorization: {
|
|
5428
|
+
authorizationUrl?: string | undefined;
|
|
5429
|
+
minReputationScore?: number | undefined;
|
|
5430
|
+
resumeTokenTtl?: number | undefined;
|
|
5431
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
5432
|
+
};
|
|
6609
5433
|
} | undefined;
|
|
6610
5434
|
identity?: {
|
|
6611
5435
|
environment: "development" | "production";
|
|
@@ -6635,27 +5459,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6635
5459
|
fallback?: Record<string, {
|
|
6636
5460
|
requiresDelegation: boolean;
|
|
6637
5461
|
requiredScopes: string[];
|
|
6638
|
-
authorization?: {
|
|
6639
|
-
type: "oauth";
|
|
6640
|
-
provider: string;
|
|
6641
|
-
requiredScopes?: string[] | undefined;
|
|
6642
|
-
} | {
|
|
6643
|
-
type: "mdl";
|
|
6644
|
-
issuer: string;
|
|
6645
|
-
credentialType?: string | undefined;
|
|
6646
|
-
} | {
|
|
6647
|
-
type: "idv";
|
|
6648
|
-
provider: string;
|
|
6649
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6650
|
-
} | {
|
|
6651
|
-
type: "credential";
|
|
6652
|
-
credentialType: string;
|
|
6653
|
-
issuer?: string | undefined;
|
|
6654
|
-
} | {
|
|
6655
|
-
type: "none";
|
|
6656
|
-
} | undefined;
|
|
6657
5462
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
6658
|
-
oauthProvider?: string | undefined;
|
|
6659
5463
|
}> | undefined;
|
|
6660
5464
|
} | undefined;
|
|
6661
5465
|
audit?: {
|
|
@@ -6722,12 +5526,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6722
5526
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
6723
5527
|
} | undefined;
|
|
6724
5528
|
delegation?: {
|
|
6725
|
-
authorization: {
|
|
6726
|
-
authorizationUrl?: string | undefined;
|
|
6727
|
-
minReputationScore?: number | undefined;
|
|
6728
|
-
resumeTokenTtl?: number | undefined;
|
|
6729
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
6730
|
-
};
|
|
6731
5529
|
enabled: boolean;
|
|
6732
5530
|
enforceStrictly: boolean;
|
|
6733
5531
|
verifier: {
|
|
@@ -6735,6 +5533,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6735
5533
|
apiUrl?: string | undefined;
|
|
6736
5534
|
cacheTtl?: number | undefined;
|
|
6737
5535
|
};
|
|
5536
|
+
authorization: {
|
|
5537
|
+
authorizationUrl?: string | undefined;
|
|
5538
|
+
minReputationScore?: number | undefined;
|
|
5539
|
+
resumeTokenTtl?: number | undefined;
|
|
5540
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
5541
|
+
};
|
|
6738
5542
|
} | undefined;
|
|
6739
5543
|
identity?: {
|
|
6740
5544
|
environment: "development" | "production";
|
|
@@ -6764,27 +5568,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6764
5568
|
fallback?: Record<string, {
|
|
6765
5569
|
requiresDelegation: boolean;
|
|
6766
5570
|
requiredScopes: string[];
|
|
6767
|
-
authorization?: {
|
|
6768
|
-
type: "oauth";
|
|
6769
|
-
provider: string;
|
|
6770
|
-
requiredScopes?: string[] | undefined;
|
|
6771
|
-
} | {
|
|
6772
|
-
type: "mdl";
|
|
6773
|
-
issuer: string;
|
|
6774
|
-
credentialType?: string | undefined;
|
|
6775
|
-
} | {
|
|
6776
|
-
type: "idv";
|
|
6777
|
-
provider: string;
|
|
6778
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6779
|
-
} | {
|
|
6780
|
-
type: "credential";
|
|
6781
|
-
credentialType: string;
|
|
6782
|
-
issuer?: string | undefined;
|
|
6783
|
-
} | {
|
|
6784
|
-
type: "none";
|
|
6785
|
-
} | undefined;
|
|
6786
5571
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
6787
|
-
oauthProvider?: string | undefined;
|
|
6788
5572
|
}> | undefined;
|
|
6789
5573
|
} | undefined;
|
|
6790
5574
|
audit?: {
|
|
@@ -6854,12 +5638,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6854
5638
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
6855
5639
|
} | undefined;
|
|
6856
5640
|
delegation?: {
|
|
6857
|
-
authorization: {
|
|
6858
|
-
authorizationUrl?: string | undefined;
|
|
6859
|
-
minReputationScore?: number | undefined;
|
|
6860
|
-
resumeTokenTtl?: number | undefined;
|
|
6861
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
6862
|
-
};
|
|
6863
5641
|
enabled: boolean;
|
|
6864
5642
|
enforceStrictly: boolean;
|
|
6865
5643
|
verifier: {
|
|
@@ -6867,6 +5645,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6867
5645
|
apiUrl?: string | undefined;
|
|
6868
5646
|
cacheTtl?: number | undefined;
|
|
6869
5647
|
};
|
|
5648
|
+
authorization: {
|
|
5649
|
+
authorizationUrl?: string | undefined;
|
|
5650
|
+
minReputationScore?: number | undefined;
|
|
5651
|
+
resumeTokenTtl?: number | undefined;
|
|
5652
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
5653
|
+
};
|
|
6870
5654
|
} | undefined;
|
|
6871
5655
|
identity?: {
|
|
6872
5656
|
environment: "development" | "production";
|
|
@@ -6896,27 +5680,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6896
5680
|
fallback?: Record<string, {
|
|
6897
5681
|
requiresDelegation: boolean;
|
|
6898
5682
|
requiredScopes: string[];
|
|
6899
|
-
authorization?: {
|
|
6900
|
-
type: "oauth";
|
|
6901
|
-
provider: string;
|
|
6902
|
-
requiredScopes?: string[] | undefined;
|
|
6903
|
-
} | {
|
|
6904
|
-
type: "mdl";
|
|
6905
|
-
issuer: string;
|
|
6906
|
-
credentialType?: string | undefined;
|
|
6907
|
-
} | {
|
|
6908
|
-
type: "idv";
|
|
6909
|
-
provider: string;
|
|
6910
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
6911
|
-
} | {
|
|
6912
|
-
type: "credential";
|
|
6913
|
-
credentialType: string;
|
|
6914
|
-
issuer?: string | undefined;
|
|
6915
|
-
} | {
|
|
6916
|
-
type: "none";
|
|
6917
|
-
} | undefined;
|
|
6918
5683
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
6919
|
-
oauthProvider?: string | undefined;
|
|
6920
5684
|
}> | undefined;
|
|
6921
5685
|
} | undefined;
|
|
6922
5686
|
audit?: {
|
|
@@ -6986,12 +5750,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6986
5750
|
deploymentStatus?: "error" | "active" | "inactive" | undefined;
|
|
6987
5751
|
} | undefined;
|
|
6988
5752
|
delegation?: {
|
|
6989
|
-
authorization: {
|
|
6990
|
-
authorizationUrl?: string | undefined;
|
|
6991
|
-
minReputationScore?: number | undefined;
|
|
6992
|
-
resumeTokenTtl?: number | undefined;
|
|
6993
|
-
requireAuthForUnknown?: boolean | undefined;
|
|
6994
|
-
};
|
|
6995
5753
|
enabled: boolean;
|
|
6996
5754
|
enforceStrictly: boolean;
|
|
6997
5755
|
verifier: {
|
|
@@ -6999,6 +5757,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
6999
5757
|
apiUrl?: string | undefined;
|
|
7000
5758
|
cacheTtl?: number | undefined;
|
|
7001
5759
|
};
|
|
5760
|
+
authorization: {
|
|
5761
|
+
authorizationUrl?: string | undefined;
|
|
5762
|
+
minReputationScore?: number | undefined;
|
|
5763
|
+
resumeTokenTtl?: number | undefined;
|
|
5764
|
+
requireAuthForUnknown?: boolean | undefined;
|
|
5765
|
+
};
|
|
7002
5766
|
} | undefined;
|
|
7003
5767
|
identity?: {
|
|
7004
5768
|
environment: "development" | "production";
|
|
@@ -7028,27 +5792,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
7028
5792
|
fallback?: Record<string, {
|
|
7029
5793
|
requiresDelegation: boolean;
|
|
7030
5794
|
requiredScopes: string[];
|
|
7031
|
-
authorization?: {
|
|
7032
|
-
type: "oauth";
|
|
7033
|
-
provider: string;
|
|
7034
|
-
requiredScopes?: string[] | undefined;
|
|
7035
|
-
} | {
|
|
7036
|
-
type: "mdl";
|
|
7037
|
-
issuer: string;
|
|
7038
|
-
credentialType?: string | undefined;
|
|
7039
|
-
} | {
|
|
7040
|
-
type: "idv";
|
|
7041
|
-
provider: string;
|
|
7042
|
-
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
7043
|
-
} | {
|
|
7044
|
-
type: "credential";
|
|
7045
|
-
credentialType: string;
|
|
7046
|
-
issuer?: string | undefined;
|
|
7047
|
-
} | {
|
|
7048
|
-
type: "none";
|
|
7049
|
-
} | undefined;
|
|
7050
5795
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
7051
|
-
oauthProvider?: string | undefined;
|
|
7052
5796
|
}> | undefined;
|
|
7053
5797
|
} | undefined;
|
|
7054
5798
|
audit?: {
|