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