@kya-os/contracts 1.6.1 → 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.
@@ -227,6 +227,8 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
227
227
  }, "strip", z.ZodTypeAny, {
228
228
  requiresDelegation: boolean;
229
229
  requiredScopes: string[];
230
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
231
+ oauthProvider?: string | undefined;
230
232
  authorization?: {
231
233
  type: "oauth";
232
234
  provider: string;
@@ -246,11 +248,11 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
246
248
  } | {
247
249
  type: "none";
248
250
  } | undefined;
249
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
250
- oauthProvider?: string | undefined;
251
251
  }, {
252
252
  requiresDelegation: boolean;
253
253
  requiredScopes: string[];
254
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
255
+ oauthProvider?: string | undefined;
254
256
  authorization?: {
255
257
  type: "oauth";
256
258
  provider: string;
@@ -270,8 +272,6 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
270
272
  } | {
271
273
  type: "none";
272
274
  } | undefined;
273
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
274
- oauthProvider?: string | undefined;
275
275
  }>>>;
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  source: "agentshield" | "inline" | "file";
@@ -282,6 +282,8 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
282
282
  fallback?: Record<string, {
283
283
  requiresDelegation: boolean;
284
284
  requiredScopes: string[];
285
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
286
+ oauthProvider?: string | undefined;
285
287
  authorization?: {
286
288
  type: "oauth";
287
289
  provider: string;
@@ -301,8 +303,6 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
301
303
  } | {
302
304
  type: "none";
303
305
  } | undefined;
304
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
305
- oauthProvider?: string | undefined;
306
306
  }> | undefined;
307
307
  }, {
308
308
  source: "agentshield" | "inline" | "file";
@@ -313,6 +313,8 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
313
313
  fallback?: Record<string, {
314
314
  requiresDelegation: boolean;
315
315
  requiredScopes: string[];
316
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
317
+ oauthProvider?: string | undefined;
316
318
  authorization?: {
317
319
  type: "oauth";
318
320
  provider: string;
@@ -332,8 +334,6 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
332
334
  } | {
333
335
  type: "none";
334
336
  } | undefined;
335
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
336
- oauthProvider?: string | undefined;
337
337
  }> | undefined;
338
338
  }>;
339
339
  /**
@@ -1077,6 +1077,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1077
1077
  }, "strip", z.ZodTypeAny, {
1078
1078
  requiresDelegation: boolean;
1079
1079
  requiredScopes: string[];
1080
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1081
+ oauthProvider?: string | undefined;
1080
1082
  authorization?: {
1081
1083
  type: "oauth";
1082
1084
  provider: string;
@@ -1096,11 +1098,11 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1096
1098
  } | {
1097
1099
  type: "none";
1098
1100
  } | undefined;
1099
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1100
- oauthProvider?: string | undefined;
1101
1101
  }, {
1102
1102
  requiresDelegation: boolean;
1103
1103
  requiredScopes: string[];
1104
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1105
+ oauthProvider?: string | undefined;
1104
1106
  authorization?: {
1105
1107
  type: "oauth";
1106
1108
  provider: string;
@@ -1120,8 +1122,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1120
1122
  } | {
1121
1123
  type: "none";
1122
1124
  } | undefined;
1123
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1124
- oauthProvider?: string | undefined;
1125
1125
  }>>>;
1126
1126
  }, "strip", z.ZodTypeAny, {
1127
1127
  source: "agentshield" | "inline" | "file";
@@ -1132,6 +1132,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1132
1132
  fallback?: Record<string, {
1133
1133
  requiresDelegation: boolean;
1134
1134
  requiredScopes: string[];
1135
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1136
+ oauthProvider?: string | undefined;
1135
1137
  authorization?: {
1136
1138
  type: "oauth";
1137
1139
  provider: string;
@@ -1151,8 +1153,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1151
1153
  } | {
1152
1154
  type: "none";
1153
1155
  } | undefined;
1154
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1155
- oauthProvider?: string | undefined;
1156
1156
  }> | undefined;
1157
1157
  }, {
1158
1158
  source: "agentshield" | "inline" | "file";
@@ -1163,6 +1163,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1163
1163
  fallback?: Record<string, {
1164
1164
  requiresDelegation: boolean;
1165
1165
  requiredScopes: string[];
1166
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1167
+ oauthProvider?: string | undefined;
1166
1168
  authorization?: {
1167
1169
  type: "oauth";
1168
1170
  provider: string;
@@ -1182,8 +1184,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1182
1184
  } | {
1183
1185
  type: "none";
1184
1186
  } | undefined;
1185
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1186
- oauthProvider?: string | undefined;
1187
1187
  }> | undefined;
1188
1188
  }>;
1189
1189
  audit: z.ZodObject<{
@@ -1609,6 +1609,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1609
1609
  fallback?: Record<string, {
1610
1610
  requiresDelegation: boolean;
1611
1611
  requiredScopes: string[];
1612
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1613
+ oauthProvider?: string | undefined;
1612
1614
  authorization?: {
1613
1615
  type: "oauth";
1614
1616
  provider: string;
@@ -1628,8 +1630,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1628
1630
  } | {
1629
1631
  type: "none";
1630
1632
  } | undefined;
1631
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1632
- oauthProvider?: string | undefined;
1633
1633
  }> | undefined;
1634
1634
  };
1635
1635
  audit: {
@@ -1738,6 +1738,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1738
1738
  fallback?: Record<string, {
1739
1739
  requiresDelegation: boolean;
1740
1740
  requiredScopes: string[];
1741
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1742
+ oauthProvider?: string | undefined;
1741
1743
  authorization?: {
1742
1744
  type: "oauth";
1743
1745
  provider: string;
@@ -1757,8 +1759,6 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1757
1759
  } | {
1758
1760
  type: "none";
1759
1761
  } | undefined;
1760
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1761
- oauthProvider?: string | undefined;
1762
1762
  }> | undefined;
1763
1763
  };
1764
1764
  audit: {
@@ -1992,6 +1992,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1992
1992
  }, "strip", z.ZodTypeAny, {
1993
1993
  requiresDelegation: boolean;
1994
1994
  requiredScopes: string[];
1995
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
1996
+ oauthProvider?: string | undefined;
1995
1997
  authorization?: {
1996
1998
  type: "oauth";
1997
1999
  provider: string;
@@ -2011,11 +2013,11 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2011
2013
  } | {
2012
2014
  type: "none";
2013
2015
  } | undefined;
2014
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2015
- oauthProvider?: string | undefined;
2016
2016
  }, {
2017
2017
  requiresDelegation: boolean;
2018
2018
  requiredScopes: string[];
2019
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2020
+ oauthProvider?: string | undefined;
2019
2021
  authorization?: {
2020
2022
  type: "oauth";
2021
2023
  provider: string;
@@ -2035,8 +2037,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2035
2037
  } | {
2036
2038
  type: "none";
2037
2039
  } | undefined;
2038
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2039
- oauthProvider?: string | undefined;
2040
2040
  }>>>;
2041
2041
  }, "strip", z.ZodTypeAny, {
2042
2042
  source: "agentshield" | "inline" | "file";
@@ -2047,6 +2047,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2047
2047
  fallback?: Record<string, {
2048
2048
  requiresDelegation: boolean;
2049
2049
  requiredScopes: string[];
2050
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2051
+ oauthProvider?: string | undefined;
2050
2052
  authorization?: {
2051
2053
  type: "oauth";
2052
2054
  provider: string;
@@ -2066,8 +2068,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2066
2068
  } | {
2067
2069
  type: "none";
2068
2070
  } | undefined;
2069
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2070
- oauthProvider?: string | undefined;
2071
2071
  }> | undefined;
2072
2072
  }, {
2073
2073
  source: "agentshield" | "inline" | "file";
@@ -2078,6 +2078,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2078
2078
  fallback?: Record<string, {
2079
2079
  requiresDelegation: boolean;
2080
2080
  requiredScopes: string[];
2081
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2082
+ oauthProvider?: string | undefined;
2081
2083
  authorization?: {
2082
2084
  type: "oauth";
2083
2085
  provider: string;
@@ -2097,8 +2099,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2097
2099
  } | {
2098
2100
  type: "none";
2099
2101
  } | undefined;
2100
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2101
- oauthProvider?: string | undefined;
2102
2102
  }> | undefined;
2103
2103
  }>;
2104
2104
  audit: z.ZodObject<{
@@ -2524,6 +2524,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2524
2524
  fallback?: Record<string, {
2525
2525
  requiresDelegation: boolean;
2526
2526
  requiredScopes: string[];
2527
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2528
+ oauthProvider?: string | undefined;
2527
2529
  authorization?: {
2528
2530
  type: "oauth";
2529
2531
  provider: string;
@@ -2543,8 +2545,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2543
2545
  } | {
2544
2546
  type: "none";
2545
2547
  } | undefined;
2546
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2547
- oauthProvider?: string | undefined;
2548
2548
  }> | undefined;
2549
2549
  };
2550
2550
  audit: {
@@ -2653,6 +2653,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2653
2653
  fallback?: Record<string, {
2654
2654
  requiresDelegation: boolean;
2655
2655
  requiredScopes: string[];
2656
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2657
+ oauthProvider?: string | undefined;
2656
2658
  authorization?: {
2657
2659
  type: "oauth";
2658
2660
  provider: string;
@@ -2672,8 +2674,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2672
2674
  } | {
2673
2675
  type: "none";
2674
2676
  } | undefined;
2675
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2676
- oauthProvider?: string | undefined;
2677
2677
  }> | undefined;
2678
2678
  };
2679
2679
  audit: {
@@ -2784,6 +2784,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2784
2784
  fallback?: Record<string, {
2785
2785
  requiresDelegation: boolean;
2786
2786
  requiredScopes: string[];
2787
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2788
+ oauthProvider?: string | undefined;
2787
2789
  authorization?: {
2788
2790
  type: "oauth";
2789
2791
  provider: string;
@@ -2803,8 +2805,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2803
2805
  } | {
2804
2806
  type: "none";
2805
2807
  } | undefined;
2806
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2807
- oauthProvider?: string | undefined;
2808
2808
  }> | undefined;
2809
2809
  };
2810
2810
  audit: {
@@ -2915,6 +2915,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2915
2915
  fallback?: Record<string, {
2916
2916
  requiresDelegation: boolean;
2917
2917
  requiredScopes: string[];
2918
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2919
+ oauthProvider?: string | undefined;
2918
2920
  authorization?: {
2919
2921
  type: "oauth";
2920
2922
  provider: string;
@@ -2934,8 +2936,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2934
2936
  } | {
2935
2937
  type: "none";
2936
2938
  } | undefined;
2937
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
2938
- oauthProvider?: string | undefined;
2939
2939
  }> | undefined;
2940
2940
  };
2941
2941
  audit: {
@@ -3059,6 +3059,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
3059
3059
  fallback?: Record<string, {
3060
3060
  requiresDelegation: boolean;
3061
3061
  requiredScopes: string[];
3062
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3063
+ oauthProvider?: string | undefined;
3062
3064
  authorization?: {
3063
3065
  type: "oauth";
3064
3066
  provider: string;
@@ -3078,8 +3080,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
3078
3080
  } | {
3079
3081
  type: "none";
3080
3082
  } | undefined;
3081
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3082
- oauthProvider?: string | undefined;
3083
3083
  }> | undefined;
3084
3084
  };
3085
3085
  audit: {
@@ -3197,6 +3197,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
3197
3197
  fallback?: Record<string, {
3198
3198
  requiresDelegation: boolean;
3199
3199
  requiredScopes: string[];
3200
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3201
+ oauthProvider?: string | undefined;
3200
3202
  authorization?: {
3201
3203
  type: "oauth";
3202
3204
  provider: string;
@@ -3216,8 +3218,6 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
3216
3218
  } | {
3217
3219
  type: "none";
3218
3220
  } | undefined;
3219
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3220
- oauthProvider?: string | undefined;
3221
3221
  }> | undefined;
3222
3222
  };
3223
3223
  audit: {
@@ -3446,6 +3446,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3446
3446
  }, "strip", z.ZodTypeAny, {
3447
3447
  requiresDelegation: boolean;
3448
3448
  requiredScopes: string[];
3449
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3450
+ oauthProvider?: string | undefined;
3449
3451
  authorization?: {
3450
3452
  type: "oauth";
3451
3453
  provider: string;
@@ -3465,11 +3467,11 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3465
3467
  } | {
3466
3468
  type: "none";
3467
3469
  } | undefined;
3468
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3469
- oauthProvider?: string | undefined;
3470
3470
  }, {
3471
3471
  requiresDelegation: boolean;
3472
3472
  requiredScopes: string[];
3473
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3474
+ oauthProvider?: string | undefined;
3473
3475
  authorization?: {
3474
3476
  type: "oauth";
3475
3477
  provider: string;
@@ -3489,8 +3491,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3489
3491
  } | {
3490
3492
  type: "none";
3491
3493
  } | undefined;
3492
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3493
- oauthProvider?: string | undefined;
3494
3494
  }>>>;
3495
3495
  }, "strip", z.ZodTypeAny, {
3496
3496
  source: "agentshield" | "inline" | "file";
@@ -3501,6 +3501,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3501
3501
  fallback?: Record<string, {
3502
3502
  requiresDelegation: boolean;
3503
3503
  requiredScopes: string[];
3504
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3505
+ oauthProvider?: string | undefined;
3504
3506
  authorization?: {
3505
3507
  type: "oauth";
3506
3508
  provider: string;
@@ -3520,8 +3522,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3520
3522
  } | {
3521
3523
  type: "none";
3522
3524
  } | undefined;
3523
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3524
- oauthProvider?: string | undefined;
3525
3525
  }> | undefined;
3526
3526
  }, {
3527
3527
  source: "agentshield" | "inline" | "file";
@@ -3532,6 +3532,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3532
3532
  fallback?: Record<string, {
3533
3533
  requiresDelegation: boolean;
3534
3534
  requiredScopes: string[];
3535
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3536
+ oauthProvider?: string | undefined;
3535
3537
  authorization?: {
3536
3538
  type: "oauth";
3537
3539
  provider: string;
@@ -3551,8 +3553,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3551
3553
  } | {
3552
3554
  type: "none";
3553
3555
  } | undefined;
3554
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3555
- oauthProvider?: string | undefined;
3556
3556
  }> | undefined;
3557
3557
  }>>;
3558
3558
  audit: z.ZodOptional<z.ZodObject<{
@@ -3978,6 +3978,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3978
3978
  fallback?: Record<string, {
3979
3979
  requiresDelegation: boolean;
3980
3980
  requiredScopes: string[];
3981
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
3982
+ oauthProvider?: string | undefined;
3981
3983
  authorization?: {
3982
3984
  type: "oauth";
3983
3985
  provider: string;
@@ -3997,8 +3999,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3997
3999
  } | {
3998
4000
  type: "none";
3999
4001
  } | undefined;
4000
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4001
- oauthProvider?: string | undefined;
4002
4002
  }> | undefined;
4003
4003
  } | undefined;
4004
4004
  audit?: {
@@ -4107,6 +4107,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
4107
4107
  fallback?: Record<string, {
4108
4108
  requiresDelegation: boolean;
4109
4109
  requiredScopes: string[];
4110
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4111
+ oauthProvider?: string | undefined;
4110
4112
  authorization?: {
4111
4113
  type: "oauth";
4112
4114
  provider: string;
@@ -4126,8 +4128,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
4126
4128
  } | {
4127
4129
  type: "none";
4128
4130
  } | undefined;
4129
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4130
- oauthProvider?: string | undefined;
4131
4131
  }> | undefined;
4132
4132
  } | undefined;
4133
4133
  audit?: {
@@ -4239,6 +4239,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
4239
4239
  fallback?: Record<string, {
4240
4240
  requiresDelegation: boolean;
4241
4241
  requiredScopes: string[];
4242
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4243
+ oauthProvider?: string | undefined;
4242
4244
  authorization?: {
4243
4245
  type: "oauth";
4244
4246
  provider: string;
@@ -4258,8 +4260,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
4258
4260
  } | {
4259
4261
  type: "none";
4260
4262
  } | undefined;
4261
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4262
- oauthProvider?: string | undefined;
4263
4263
  }> | undefined;
4264
4264
  } | undefined;
4265
4265
  audit?: {
@@ -4371,6 +4371,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
4371
4371
  fallback?: Record<string, {
4372
4372
  requiresDelegation: boolean;
4373
4373
  requiredScopes: string[];
4374
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4375
+ oauthProvider?: string | undefined;
4374
4376
  authorization?: {
4375
4377
  type: "oauth";
4376
4378
  provider: string;
@@ -4390,8 +4392,6 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
4390
4392
  } | {
4391
4393
  type: "none";
4392
4394
  } | undefined;
4393
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4394
- oauthProvider?: string | undefined;
4395
4395
  }> | undefined;
4396
4396
  } | undefined;
4397
4397
  audit?: {
@@ -4616,6 +4616,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4616
4616
  }, "strip", z.ZodTypeAny, {
4617
4617
  requiresDelegation: boolean;
4618
4618
  requiredScopes: string[];
4619
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4620
+ oauthProvider?: string | undefined;
4619
4621
  authorization?: {
4620
4622
  type: "oauth";
4621
4623
  provider: string;
@@ -4635,11 +4637,11 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4635
4637
  } | {
4636
4638
  type: "none";
4637
4639
  } | undefined;
4638
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4639
- oauthProvider?: string | undefined;
4640
4640
  }, {
4641
4641
  requiresDelegation: boolean;
4642
4642
  requiredScopes: string[];
4643
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4644
+ oauthProvider?: string | undefined;
4643
4645
  authorization?: {
4644
4646
  type: "oauth";
4645
4647
  provider: string;
@@ -4659,8 +4661,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4659
4661
  } | {
4660
4662
  type: "none";
4661
4663
  } | undefined;
4662
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4663
- oauthProvider?: string | undefined;
4664
4664
  }>>>;
4665
4665
  }, "strip", z.ZodTypeAny, {
4666
4666
  source: "agentshield" | "inline" | "file";
@@ -4671,6 +4671,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4671
4671
  fallback?: Record<string, {
4672
4672
  requiresDelegation: boolean;
4673
4673
  requiredScopes: string[];
4674
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4675
+ oauthProvider?: string | undefined;
4674
4676
  authorization?: {
4675
4677
  type: "oauth";
4676
4678
  provider: string;
@@ -4690,8 +4692,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4690
4692
  } | {
4691
4693
  type: "none";
4692
4694
  } | undefined;
4693
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4694
- oauthProvider?: string | undefined;
4695
4695
  }> | undefined;
4696
4696
  }, {
4697
4697
  source: "agentshield" | "inline" | "file";
@@ -4702,6 +4702,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4702
4702
  fallback?: Record<string, {
4703
4703
  requiresDelegation: boolean;
4704
4704
  requiredScopes: string[];
4705
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4706
+ oauthProvider?: string | undefined;
4705
4707
  authorization?: {
4706
4708
  type: "oauth";
4707
4709
  provider: string;
@@ -4721,8 +4723,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4721
4723
  } | {
4722
4724
  type: "none";
4723
4725
  } | undefined;
4724
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
4725
- oauthProvider?: string | undefined;
4726
4726
  }> | undefined;
4727
4727
  }>;
4728
4728
  audit: z.ZodObject<{
@@ -5148,6 +5148,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5148
5148
  fallback?: Record<string, {
5149
5149
  requiresDelegation: boolean;
5150
5150
  requiredScopes: string[];
5151
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5152
+ oauthProvider?: string | undefined;
5151
5153
  authorization?: {
5152
5154
  type: "oauth";
5153
5155
  provider: string;
@@ -5167,8 +5169,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5167
5169
  } | {
5168
5170
  type: "none";
5169
5171
  } | undefined;
5170
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5171
- oauthProvider?: string | undefined;
5172
5172
  }> | undefined;
5173
5173
  };
5174
5174
  audit: {
@@ -5277,6 +5277,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5277
5277
  fallback?: Record<string, {
5278
5278
  requiresDelegation: boolean;
5279
5279
  requiredScopes: string[];
5280
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5281
+ oauthProvider?: string | undefined;
5280
5282
  authorization?: {
5281
5283
  type: "oauth";
5282
5284
  provider: string;
@@ -5296,8 +5298,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5296
5298
  } | {
5297
5299
  type: "none";
5298
5300
  } | undefined;
5299
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5300
- oauthProvider?: string | undefined;
5301
5301
  }> | undefined;
5302
5302
  };
5303
5303
  audit: {
@@ -5421,6 +5421,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5421
5421
  fallback?: Record<string, {
5422
5422
  requiresDelegation: boolean;
5423
5423
  requiredScopes: string[];
5424
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5425
+ oauthProvider?: string | undefined;
5424
5426
  authorization?: {
5425
5427
  type: "oauth";
5426
5428
  provider: string;
@@ -5440,8 +5442,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5440
5442
  } | {
5441
5443
  type: "none";
5442
5444
  } | undefined;
5443
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5444
- oauthProvider?: string | undefined;
5445
5445
  }> | undefined;
5446
5446
  };
5447
5447
  audit: {
@@ -5557,6 +5557,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5557
5557
  fallback?: Record<string, {
5558
5558
  requiresDelegation: boolean;
5559
5559
  requiredScopes: string[];
5560
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5561
+ oauthProvider?: string | undefined;
5560
5562
  authorization?: {
5561
5563
  type: "oauth";
5562
5564
  provider: string;
@@ -5576,8 +5578,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5576
5578
  } | {
5577
5579
  type: "none";
5578
5580
  } | undefined;
5579
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5580
- oauthProvider?: string | undefined;
5581
5581
  }> | undefined;
5582
5582
  };
5583
5583
  audit: {
@@ -5706,6 +5706,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5706
5706
  fallback?: Record<string, {
5707
5707
  requiresDelegation: boolean;
5708
5708
  requiredScopes: string[];
5709
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5710
+ oauthProvider?: string | undefined;
5709
5711
  authorization?: {
5710
5712
  type: "oauth";
5711
5713
  provider: string;
@@ -5725,8 +5727,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5725
5727
  } | {
5726
5728
  type: "none";
5727
5729
  } | undefined;
5728
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5729
- oauthProvider?: string | undefined;
5730
5730
  }> | undefined;
5731
5731
  };
5732
5732
  audit: {
@@ -5849,6 +5849,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5849
5849
  fallback?: Record<string, {
5850
5850
  requiresDelegation: boolean;
5851
5851
  requiredScopes: string[];
5852
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5853
+ oauthProvider?: string | undefined;
5852
5854
  authorization?: {
5853
5855
  type: "oauth";
5854
5856
  provider: string;
@@ -5868,8 +5870,6 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
5868
5870
  } | {
5869
5871
  type: "none";
5870
5872
  } | undefined;
5871
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
5872
- oauthProvider?: string | undefined;
5873
5873
  }> | undefined;
5874
5874
  };
5875
5875
  audit: {
@@ -6103,6 +6103,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6103
6103
  }, "strip", z.ZodTypeAny, {
6104
6104
  requiresDelegation: boolean;
6105
6105
  requiredScopes: string[];
6106
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6107
+ oauthProvider?: string | undefined;
6106
6108
  authorization?: {
6107
6109
  type: "oauth";
6108
6110
  provider: string;
@@ -6122,11 +6124,11 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6122
6124
  } | {
6123
6125
  type: "none";
6124
6126
  } | undefined;
6125
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6126
- oauthProvider?: string | undefined;
6127
6127
  }, {
6128
6128
  requiresDelegation: boolean;
6129
6129
  requiredScopes: string[];
6130
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6131
+ oauthProvider?: string | undefined;
6130
6132
  authorization?: {
6131
6133
  type: "oauth";
6132
6134
  provider: string;
@@ -6146,8 +6148,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6146
6148
  } | {
6147
6149
  type: "none";
6148
6150
  } | undefined;
6149
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6150
- oauthProvider?: string | undefined;
6151
6151
  }>>>;
6152
6152
  }, "strip", z.ZodTypeAny, {
6153
6153
  source: "agentshield" | "inline" | "file";
@@ -6158,6 +6158,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6158
6158
  fallback?: Record<string, {
6159
6159
  requiresDelegation: boolean;
6160
6160
  requiredScopes: string[];
6161
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6162
+ oauthProvider?: string | undefined;
6161
6163
  authorization?: {
6162
6164
  type: "oauth";
6163
6165
  provider: string;
@@ -6177,8 +6179,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6177
6179
  } | {
6178
6180
  type: "none";
6179
6181
  } | undefined;
6180
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6181
- oauthProvider?: string | undefined;
6182
6182
  }> | undefined;
6183
6183
  }, {
6184
6184
  source: "agentshield" | "inline" | "file";
@@ -6189,6 +6189,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6189
6189
  fallback?: Record<string, {
6190
6190
  requiresDelegation: boolean;
6191
6191
  requiredScopes: string[];
6192
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6193
+ oauthProvider?: string | undefined;
6192
6194
  authorization?: {
6193
6195
  type: "oauth";
6194
6196
  provider: string;
@@ -6208,8 +6210,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6208
6210
  } | {
6209
6211
  type: "none";
6210
6212
  } | undefined;
6211
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6212
- oauthProvider?: string | undefined;
6213
6213
  }> | undefined;
6214
6214
  }>>;
6215
6215
  audit: z.ZodOptional<z.ZodObject<{
@@ -6635,6 +6635,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6635
6635
  fallback?: Record<string, {
6636
6636
  requiresDelegation: boolean;
6637
6637
  requiredScopes: string[];
6638
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6639
+ oauthProvider?: string | undefined;
6638
6640
  authorization?: {
6639
6641
  type: "oauth";
6640
6642
  provider: string;
@@ -6654,8 +6656,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6654
6656
  } | {
6655
6657
  type: "none";
6656
6658
  } | undefined;
6657
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6658
- oauthProvider?: string | undefined;
6659
6659
  }> | undefined;
6660
6660
  } | undefined;
6661
6661
  audit?: {
@@ -6764,6 +6764,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6764
6764
  fallback?: Record<string, {
6765
6765
  requiresDelegation: boolean;
6766
6766
  requiredScopes: string[];
6767
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6768
+ oauthProvider?: string | undefined;
6767
6769
  authorization?: {
6768
6770
  type: "oauth";
6769
6771
  provider: string;
@@ -6783,8 +6785,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6783
6785
  } | {
6784
6786
  type: "none";
6785
6787
  } | undefined;
6786
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6787
- oauthProvider?: string | undefined;
6788
6788
  }> | undefined;
6789
6789
  } | undefined;
6790
6790
  audit?: {
@@ -6896,6 +6896,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6896
6896
  fallback?: Record<string, {
6897
6897
  requiresDelegation: boolean;
6898
6898
  requiredScopes: string[];
6899
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6900
+ oauthProvider?: string | undefined;
6899
6901
  authorization?: {
6900
6902
  type: "oauth";
6901
6903
  provider: string;
@@ -6915,8 +6917,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
6915
6917
  } | {
6916
6918
  type: "none";
6917
6919
  } | undefined;
6918
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
6919
- oauthProvider?: string | undefined;
6920
6920
  }> | undefined;
6921
6921
  } | undefined;
6922
6922
  audit?: {
@@ -7028,6 +7028,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
7028
7028
  fallback?: Record<string, {
7029
7029
  requiresDelegation: boolean;
7030
7030
  requiredScopes: string[];
7031
+ riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
7032
+ oauthProvider?: string | undefined;
7031
7033
  authorization?: {
7032
7034
  type: "oauth";
7033
7035
  provider: string;
@@ -7047,8 +7049,6 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
7047
7049
  } | {
7048
7050
  type: "none";
7049
7051
  } | undefined;
7050
- riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
7051
- oauthProvider?: string | undefined;
7052
7052
  }> | undefined;
7053
7053
  } | undefined;
7054
7054
  audit?: {