@kya-os/contracts 1.7.12 → 1.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agentshield-api/schemas.d.ts +157 -157
- package/dist/agentshield-api/schemas.js +2 -1
- package/dist/agentshield-api/types.d.ts +1 -1
- package/dist/audit/index.d.ts +20 -20
- package/dist/dashboard-config/schemas.d.ts +524 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/tool-protection/index.d.ts +102 -7
- package/dist/tool-protection/index.js +41 -8
- package/package.json +1 -1
|
@@ -181,6 +181,18 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
181
181
|
type: "oauth";
|
|
182
182
|
provider: string;
|
|
183
183
|
requiredScopes?: string[] | undefined;
|
|
184
|
+
}>, z.ZodObject<{
|
|
185
|
+
type: z.ZodLiteral<"oauth2">;
|
|
186
|
+
provider: z.ZodString;
|
|
187
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
type: "oauth2";
|
|
190
|
+
provider: string;
|
|
191
|
+
requiredScopes?: string[] | undefined;
|
|
192
|
+
}, {
|
|
193
|
+
type: "oauth2";
|
|
194
|
+
provider: string;
|
|
195
|
+
requiredScopes?: string[] | undefined;
|
|
184
196
|
}>, z.ZodObject<{
|
|
185
197
|
type: z.ZodLiteral<"password">;
|
|
186
198
|
provider: z.ZodString;
|
|
@@ -252,6 +264,10 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
252
264
|
type: "oauth";
|
|
253
265
|
provider: string;
|
|
254
266
|
requiredScopes?: string[] | undefined;
|
|
267
|
+
} | {
|
|
268
|
+
type: "oauth2";
|
|
269
|
+
provider: string;
|
|
270
|
+
requiredScopes?: string[] | undefined;
|
|
255
271
|
} | {
|
|
256
272
|
type: "password";
|
|
257
273
|
provider: string;
|
|
@@ -283,6 +299,10 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
283
299
|
type: "oauth";
|
|
284
300
|
provider: string;
|
|
285
301
|
requiredScopes?: string[] | undefined;
|
|
302
|
+
} | {
|
|
303
|
+
type: "oauth2";
|
|
304
|
+
provider: string;
|
|
305
|
+
requiredScopes?: string[] | undefined;
|
|
286
306
|
} | {
|
|
287
307
|
type: "password";
|
|
288
308
|
provider: string;
|
|
@@ -321,6 +341,10 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
321
341
|
type: "oauth";
|
|
322
342
|
provider: string;
|
|
323
343
|
requiredScopes?: string[] | undefined;
|
|
344
|
+
} | {
|
|
345
|
+
type: "oauth2";
|
|
346
|
+
provider: string;
|
|
347
|
+
requiredScopes?: string[] | undefined;
|
|
324
348
|
} | {
|
|
325
349
|
type: "password";
|
|
326
350
|
provider: string;
|
|
@@ -359,6 +383,10 @@ export declare const toolProtectionConfigSchema: z.ZodObject<{
|
|
|
359
383
|
type: "oauth";
|
|
360
384
|
provider: string;
|
|
361
385
|
requiredScopes?: string[] | undefined;
|
|
386
|
+
} | {
|
|
387
|
+
type: "oauth2";
|
|
388
|
+
provider: string;
|
|
389
|
+
requiredScopes?: string[] | undefined;
|
|
362
390
|
} | {
|
|
363
391
|
type: "password";
|
|
364
392
|
provider: string;
|
|
@@ -415,6 +443,18 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
415
443
|
type: "oauth";
|
|
416
444
|
provider: string;
|
|
417
445
|
requiredScopes?: string[] | undefined;
|
|
446
|
+
}>, z.ZodObject<{
|
|
447
|
+
type: z.ZodLiteral<"oauth2">;
|
|
448
|
+
provider: z.ZodString;
|
|
449
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
|
451
|
+
type: "oauth2";
|
|
452
|
+
provider: string;
|
|
453
|
+
requiredScopes?: string[] | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
type: "oauth2";
|
|
456
|
+
provider: string;
|
|
457
|
+
requiredScopes?: string[] | undefined;
|
|
418
458
|
}>, z.ZodObject<{
|
|
419
459
|
type: z.ZodLiteral<"password">;
|
|
420
460
|
provider: z.ZodString;
|
|
@@ -486,6 +526,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
486
526
|
type: "oauth";
|
|
487
527
|
provider: string;
|
|
488
528
|
requiredScopes?: string[] | undefined;
|
|
529
|
+
} | {
|
|
530
|
+
type: "oauth2";
|
|
531
|
+
provider: string;
|
|
532
|
+
requiredScopes?: string[] | undefined;
|
|
489
533
|
} | {
|
|
490
534
|
type: "password";
|
|
491
535
|
provider: string;
|
|
@@ -517,6 +561,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
517
561
|
type: "oauth";
|
|
518
562
|
provider: string;
|
|
519
563
|
requiredScopes?: string[] | undefined;
|
|
564
|
+
} | {
|
|
565
|
+
type: "oauth2";
|
|
566
|
+
provider: string;
|
|
567
|
+
requiredScopes?: string[] | undefined;
|
|
520
568
|
} | {
|
|
521
569
|
type: "password";
|
|
522
570
|
provider: string;
|
|
@@ -560,6 +608,18 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
560
608
|
type: "oauth";
|
|
561
609
|
provider: string;
|
|
562
610
|
requiredScopes?: string[] | undefined;
|
|
611
|
+
}>, z.ZodObject<{
|
|
612
|
+
type: z.ZodLiteral<"oauth2">;
|
|
613
|
+
provider: z.ZodString;
|
|
614
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
615
|
+
}, "strip", z.ZodTypeAny, {
|
|
616
|
+
type: "oauth2";
|
|
617
|
+
provider: string;
|
|
618
|
+
requiredScopes?: string[] | undefined;
|
|
619
|
+
}, {
|
|
620
|
+
type: "oauth2";
|
|
621
|
+
provider: string;
|
|
622
|
+
requiredScopes?: string[] | undefined;
|
|
563
623
|
}>, z.ZodObject<{
|
|
564
624
|
type: z.ZodLiteral<"password">;
|
|
565
625
|
provider: z.ZodString;
|
|
@@ -631,6 +691,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
631
691
|
type: "oauth";
|
|
632
692
|
provider: string;
|
|
633
693
|
requiredScopes?: string[] | undefined;
|
|
694
|
+
} | {
|
|
695
|
+
type: "oauth2";
|
|
696
|
+
provider: string;
|
|
697
|
+
requiredScopes?: string[] | undefined;
|
|
634
698
|
} | {
|
|
635
699
|
type: "password";
|
|
636
700
|
provider: string;
|
|
@@ -662,6 +726,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
662
726
|
type: "oauth";
|
|
663
727
|
provider: string;
|
|
664
728
|
requiredScopes?: string[] | undefined;
|
|
729
|
+
} | {
|
|
730
|
+
type: "oauth2";
|
|
731
|
+
provider: string;
|
|
732
|
+
requiredScopes?: string[] | undefined;
|
|
665
733
|
} | {
|
|
666
734
|
type: "password";
|
|
667
735
|
provider: string;
|
|
@@ -695,6 +763,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
695
763
|
type: "oauth";
|
|
696
764
|
provider: string;
|
|
697
765
|
requiredScopes?: string[] | undefined;
|
|
766
|
+
} | {
|
|
767
|
+
type: "oauth2";
|
|
768
|
+
provider: string;
|
|
769
|
+
requiredScopes?: string[] | undefined;
|
|
698
770
|
} | {
|
|
699
771
|
type: "password";
|
|
700
772
|
provider: string;
|
|
@@ -732,6 +804,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
732
804
|
type: "oauth";
|
|
733
805
|
provider: string;
|
|
734
806
|
requiredScopes?: string[] | undefined;
|
|
807
|
+
} | {
|
|
808
|
+
type: "oauth2";
|
|
809
|
+
provider: string;
|
|
810
|
+
requiredScopes?: string[] | undefined;
|
|
735
811
|
} | {
|
|
736
812
|
type: "password";
|
|
737
813
|
provider: string;
|
|
@@ -765,6 +841,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
765
841
|
type: "oauth";
|
|
766
842
|
provider: string;
|
|
767
843
|
requiredScopes?: string[] | undefined;
|
|
844
|
+
} | {
|
|
845
|
+
type: "oauth2";
|
|
846
|
+
provider: string;
|
|
847
|
+
requiredScopes?: string[] | undefined;
|
|
768
848
|
} | {
|
|
769
849
|
type: "password";
|
|
770
850
|
provider: string;
|
|
@@ -802,6 +882,10 @@ export declare const mergedToolProtectionConfigSchema: z.ZodObject<{
|
|
|
802
882
|
type: "oauth";
|
|
803
883
|
provider: string;
|
|
804
884
|
requiredScopes?: string[] | undefined;
|
|
885
|
+
} | {
|
|
886
|
+
type: "oauth2";
|
|
887
|
+
provider: string;
|
|
888
|
+
requiredScopes?: string[] | undefined;
|
|
805
889
|
} | {
|
|
806
890
|
type: "password";
|
|
807
891
|
provider: string;
|
|
@@ -1523,6 +1607,18 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1523
1607
|
type: "oauth";
|
|
1524
1608
|
provider: string;
|
|
1525
1609
|
requiredScopes?: string[] | undefined;
|
|
1610
|
+
}>, z.ZodObject<{
|
|
1611
|
+
type: z.ZodLiteral<"oauth2">;
|
|
1612
|
+
provider: z.ZodString;
|
|
1613
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1614
|
+
}, "strip", z.ZodTypeAny, {
|
|
1615
|
+
type: "oauth2";
|
|
1616
|
+
provider: string;
|
|
1617
|
+
requiredScopes?: string[] | undefined;
|
|
1618
|
+
}, {
|
|
1619
|
+
type: "oauth2";
|
|
1620
|
+
provider: string;
|
|
1621
|
+
requiredScopes?: string[] | undefined;
|
|
1526
1622
|
}>, z.ZodObject<{
|
|
1527
1623
|
type: z.ZodLiteral<"password">;
|
|
1528
1624
|
provider: z.ZodString;
|
|
@@ -1594,6 +1690,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1594
1690
|
type: "oauth";
|
|
1595
1691
|
provider: string;
|
|
1596
1692
|
requiredScopes?: string[] | undefined;
|
|
1693
|
+
} | {
|
|
1694
|
+
type: "oauth2";
|
|
1695
|
+
provider: string;
|
|
1696
|
+
requiredScopes?: string[] | undefined;
|
|
1597
1697
|
} | {
|
|
1598
1698
|
type: "password";
|
|
1599
1699
|
provider: string;
|
|
@@ -1625,6 +1725,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1625
1725
|
type: "oauth";
|
|
1626
1726
|
provider: string;
|
|
1627
1727
|
requiredScopes?: string[] | undefined;
|
|
1728
|
+
} | {
|
|
1729
|
+
type: "oauth2";
|
|
1730
|
+
provider: string;
|
|
1731
|
+
requiredScopes?: string[] | undefined;
|
|
1628
1732
|
} | {
|
|
1629
1733
|
type: "password";
|
|
1630
1734
|
provider: string;
|
|
@@ -1663,6 +1767,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1663
1767
|
type: "oauth";
|
|
1664
1768
|
provider: string;
|
|
1665
1769
|
requiredScopes?: string[] | undefined;
|
|
1770
|
+
} | {
|
|
1771
|
+
type: "oauth2";
|
|
1772
|
+
provider: string;
|
|
1773
|
+
requiredScopes?: string[] | undefined;
|
|
1666
1774
|
} | {
|
|
1667
1775
|
type: "password";
|
|
1668
1776
|
provider: string;
|
|
@@ -1701,6 +1809,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
1701
1809
|
type: "oauth";
|
|
1702
1810
|
provider: string;
|
|
1703
1811
|
requiredScopes?: string[] | undefined;
|
|
1812
|
+
} | {
|
|
1813
|
+
type: "oauth2";
|
|
1814
|
+
provider: string;
|
|
1815
|
+
requiredScopes?: string[] | undefined;
|
|
1704
1816
|
} | {
|
|
1705
1817
|
type: "password";
|
|
1706
1818
|
provider: string;
|
|
@@ -2141,6 +2253,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
2141
2253
|
type: "oauth";
|
|
2142
2254
|
provider: string;
|
|
2143
2255
|
requiredScopes?: string[] | undefined;
|
|
2256
|
+
} | {
|
|
2257
|
+
type: "oauth2";
|
|
2258
|
+
provider: string;
|
|
2259
|
+
requiredScopes?: string[] | undefined;
|
|
2144
2260
|
} | {
|
|
2145
2261
|
type: "password";
|
|
2146
2262
|
provider: string;
|
|
@@ -2277,6 +2393,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
|
|
|
2277
2393
|
type: "oauth";
|
|
2278
2394
|
provider: string;
|
|
2279
2395
|
requiredScopes?: string[] | undefined;
|
|
2396
|
+
} | {
|
|
2397
|
+
type: "oauth2";
|
|
2398
|
+
provider: string;
|
|
2399
|
+
requiredScopes?: string[] | undefined;
|
|
2280
2400
|
} | {
|
|
2281
2401
|
type: "password";
|
|
2282
2402
|
provider: string;
|
|
@@ -2809,6 +2929,18 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
2809
2929
|
type: "oauth";
|
|
2810
2930
|
provider: string;
|
|
2811
2931
|
requiredScopes?: string[] | undefined;
|
|
2932
|
+
}>, z.ZodObject<{
|
|
2933
|
+
type: z.ZodLiteral<"oauth2">;
|
|
2934
|
+
provider: z.ZodString;
|
|
2935
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2936
|
+
}, "strip", z.ZodTypeAny, {
|
|
2937
|
+
type: "oauth2";
|
|
2938
|
+
provider: string;
|
|
2939
|
+
requiredScopes?: string[] | undefined;
|
|
2940
|
+
}, {
|
|
2941
|
+
type: "oauth2";
|
|
2942
|
+
provider: string;
|
|
2943
|
+
requiredScopes?: string[] | undefined;
|
|
2812
2944
|
}>, z.ZodObject<{
|
|
2813
2945
|
type: z.ZodLiteral<"password">;
|
|
2814
2946
|
provider: z.ZodString;
|
|
@@ -2880,6 +3012,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
2880
3012
|
type: "oauth";
|
|
2881
3013
|
provider: string;
|
|
2882
3014
|
requiredScopes?: string[] | undefined;
|
|
3015
|
+
} | {
|
|
3016
|
+
type: "oauth2";
|
|
3017
|
+
provider: string;
|
|
3018
|
+
requiredScopes?: string[] | undefined;
|
|
2883
3019
|
} | {
|
|
2884
3020
|
type: "password";
|
|
2885
3021
|
provider: string;
|
|
@@ -2911,6 +3047,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
2911
3047
|
type: "oauth";
|
|
2912
3048
|
provider: string;
|
|
2913
3049
|
requiredScopes?: string[] | undefined;
|
|
3050
|
+
} | {
|
|
3051
|
+
type: "oauth2";
|
|
3052
|
+
provider: string;
|
|
3053
|
+
requiredScopes?: string[] | undefined;
|
|
2914
3054
|
} | {
|
|
2915
3055
|
type: "password";
|
|
2916
3056
|
provider: string;
|
|
@@ -2954,6 +3094,18 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
2954
3094
|
type: "oauth";
|
|
2955
3095
|
provider: string;
|
|
2956
3096
|
requiredScopes?: string[] | undefined;
|
|
3097
|
+
}>, z.ZodObject<{
|
|
3098
|
+
type: z.ZodLiteral<"oauth2">;
|
|
3099
|
+
provider: z.ZodString;
|
|
3100
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3101
|
+
}, "strip", z.ZodTypeAny, {
|
|
3102
|
+
type: "oauth2";
|
|
3103
|
+
provider: string;
|
|
3104
|
+
requiredScopes?: string[] | undefined;
|
|
3105
|
+
}, {
|
|
3106
|
+
type: "oauth2";
|
|
3107
|
+
provider: string;
|
|
3108
|
+
requiredScopes?: string[] | undefined;
|
|
2957
3109
|
}>, z.ZodObject<{
|
|
2958
3110
|
type: z.ZodLiteral<"password">;
|
|
2959
3111
|
provider: z.ZodString;
|
|
@@ -3025,6 +3177,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3025
3177
|
type: "oauth";
|
|
3026
3178
|
provider: string;
|
|
3027
3179
|
requiredScopes?: string[] | undefined;
|
|
3180
|
+
} | {
|
|
3181
|
+
type: "oauth2";
|
|
3182
|
+
provider: string;
|
|
3183
|
+
requiredScopes?: string[] | undefined;
|
|
3028
3184
|
} | {
|
|
3029
3185
|
type: "password";
|
|
3030
3186
|
provider: string;
|
|
@@ -3056,6 +3212,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3056
3212
|
type: "oauth";
|
|
3057
3213
|
provider: string;
|
|
3058
3214
|
requiredScopes?: string[] | undefined;
|
|
3215
|
+
} | {
|
|
3216
|
+
type: "oauth2";
|
|
3217
|
+
provider: string;
|
|
3218
|
+
requiredScopes?: string[] | undefined;
|
|
3059
3219
|
} | {
|
|
3060
3220
|
type: "password";
|
|
3061
3221
|
provider: string;
|
|
@@ -3089,6 +3249,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3089
3249
|
type: "oauth";
|
|
3090
3250
|
provider: string;
|
|
3091
3251
|
requiredScopes?: string[] | undefined;
|
|
3252
|
+
} | {
|
|
3253
|
+
type: "oauth2";
|
|
3254
|
+
provider: string;
|
|
3255
|
+
requiredScopes?: string[] | undefined;
|
|
3092
3256
|
} | {
|
|
3093
3257
|
type: "password";
|
|
3094
3258
|
provider: string;
|
|
@@ -3126,6 +3290,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3126
3290
|
type: "oauth";
|
|
3127
3291
|
provider: string;
|
|
3128
3292
|
requiredScopes?: string[] | undefined;
|
|
3293
|
+
} | {
|
|
3294
|
+
type: "oauth2";
|
|
3295
|
+
provider: string;
|
|
3296
|
+
requiredScopes?: string[] | undefined;
|
|
3129
3297
|
} | {
|
|
3130
3298
|
type: "password";
|
|
3131
3299
|
provider: string;
|
|
@@ -3159,6 +3327,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3159
3327
|
type: "oauth";
|
|
3160
3328
|
provider: string;
|
|
3161
3329
|
requiredScopes?: string[] | undefined;
|
|
3330
|
+
} | {
|
|
3331
|
+
type: "oauth2";
|
|
3332
|
+
provider: string;
|
|
3333
|
+
requiredScopes?: string[] | undefined;
|
|
3162
3334
|
} | {
|
|
3163
3335
|
type: "password";
|
|
3164
3336
|
provider: string;
|
|
@@ -3196,6 +3368,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3196
3368
|
type: "oauth";
|
|
3197
3369
|
provider: string;
|
|
3198
3370
|
requiredScopes?: string[] | undefined;
|
|
3371
|
+
} | {
|
|
3372
|
+
type: "oauth2";
|
|
3373
|
+
provider: string;
|
|
3374
|
+
requiredScopes?: string[] | undefined;
|
|
3199
3375
|
} | {
|
|
3200
3376
|
type: "password";
|
|
3201
3377
|
provider: string;
|
|
@@ -3309,6 +3485,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3309
3485
|
type: "oauth";
|
|
3310
3486
|
provider: string;
|
|
3311
3487
|
requiredScopes?: string[] | undefined;
|
|
3488
|
+
} | {
|
|
3489
|
+
type: "oauth2";
|
|
3490
|
+
provider: string;
|
|
3491
|
+
requiredScopes?: string[] | undefined;
|
|
3312
3492
|
} | {
|
|
3313
3493
|
type: "password";
|
|
3314
3494
|
provider: string;
|
|
@@ -3346,6 +3526,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3346
3526
|
type: "oauth";
|
|
3347
3527
|
provider: string;
|
|
3348
3528
|
requiredScopes?: string[] | undefined;
|
|
3529
|
+
} | {
|
|
3530
|
+
type: "oauth2";
|
|
3531
|
+
provider: string;
|
|
3532
|
+
requiredScopes?: string[] | undefined;
|
|
3349
3533
|
} | {
|
|
3350
3534
|
type: "password";
|
|
3351
3535
|
provider: string;
|
|
@@ -3477,6 +3661,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3477
3661
|
type: "oauth";
|
|
3478
3662
|
provider: string;
|
|
3479
3663
|
requiredScopes?: string[] | undefined;
|
|
3664
|
+
} | {
|
|
3665
|
+
type: "oauth2";
|
|
3666
|
+
provider: string;
|
|
3667
|
+
requiredScopes?: string[] | undefined;
|
|
3480
3668
|
} | {
|
|
3481
3669
|
type: "password";
|
|
3482
3670
|
provider: string;
|
|
@@ -3514,6 +3702,10 @@ export declare const mergedMcpIServerConfigSchema: z.ZodObject<{
|
|
|
3514
3702
|
type: "oauth";
|
|
3515
3703
|
provider: string;
|
|
3516
3704
|
requiredScopes?: string[] | undefined;
|
|
3705
|
+
} | {
|
|
3706
|
+
type: "oauth2";
|
|
3707
|
+
provider: string;
|
|
3708
|
+
requiredScopes?: string[] | undefined;
|
|
3517
3709
|
} | {
|
|
3518
3710
|
type: "password";
|
|
3519
3711
|
provider: string;
|
|
@@ -3738,6 +3930,18 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3738
3930
|
type: "oauth";
|
|
3739
3931
|
provider: string;
|
|
3740
3932
|
requiredScopes?: string[] | undefined;
|
|
3933
|
+
}>, z.ZodObject<{
|
|
3934
|
+
type: z.ZodLiteral<"oauth2">;
|
|
3935
|
+
provider: z.ZodString;
|
|
3936
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3937
|
+
}, "strip", z.ZodTypeAny, {
|
|
3938
|
+
type: "oauth2";
|
|
3939
|
+
provider: string;
|
|
3940
|
+
requiredScopes?: string[] | undefined;
|
|
3941
|
+
}, {
|
|
3942
|
+
type: "oauth2";
|
|
3943
|
+
provider: string;
|
|
3944
|
+
requiredScopes?: string[] | undefined;
|
|
3741
3945
|
}>, z.ZodObject<{
|
|
3742
3946
|
type: z.ZodLiteral<"password">;
|
|
3743
3947
|
provider: z.ZodString;
|
|
@@ -3809,6 +4013,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3809
4013
|
type: "oauth";
|
|
3810
4014
|
provider: string;
|
|
3811
4015
|
requiredScopes?: string[] | undefined;
|
|
4016
|
+
} | {
|
|
4017
|
+
type: "oauth2";
|
|
4018
|
+
provider: string;
|
|
4019
|
+
requiredScopes?: string[] | undefined;
|
|
3812
4020
|
} | {
|
|
3813
4021
|
type: "password";
|
|
3814
4022
|
provider: string;
|
|
@@ -3840,6 +4048,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3840
4048
|
type: "oauth";
|
|
3841
4049
|
provider: string;
|
|
3842
4050
|
requiredScopes?: string[] | undefined;
|
|
4051
|
+
} | {
|
|
4052
|
+
type: "oauth2";
|
|
4053
|
+
provider: string;
|
|
4054
|
+
requiredScopes?: string[] | undefined;
|
|
3843
4055
|
} | {
|
|
3844
4056
|
type: "password";
|
|
3845
4057
|
provider: string;
|
|
@@ -3878,6 +4090,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3878
4090
|
type: "oauth";
|
|
3879
4091
|
provider: string;
|
|
3880
4092
|
requiredScopes?: string[] | undefined;
|
|
4093
|
+
} | {
|
|
4094
|
+
type: "oauth2";
|
|
4095
|
+
provider: string;
|
|
4096
|
+
requiredScopes?: string[] | undefined;
|
|
3881
4097
|
} | {
|
|
3882
4098
|
type: "password";
|
|
3883
4099
|
provider: string;
|
|
@@ -3916,6 +4132,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
3916
4132
|
type: "oauth";
|
|
3917
4133
|
provider: string;
|
|
3918
4134
|
requiredScopes?: string[] | undefined;
|
|
4135
|
+
} | {
|
|
4136
|
+
type: "oauth2";
|
|
4137
|
+
provider: string;
|
|
4138
|
+
requiredScopes?: string[] | undefined;
|
|
3919
4139
|
} | {
|
|
3920
4140
|
type: "password";
|
|
3921
4141
|
provider: string;
|
|
@@ -4356,6 +4576,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
4356
4576
|
type: "oauth";
|
|
4357
4577
|
provider: string;
|
|
4358
4578
|
requiredScopes?: string[] | undefined;
|
|
4579
|
+
} | {
|
|
4580
|
+
type: "oauth2";
|
|
4581
|
+
provider: string;
|
|
4582
|
+
requiredScopes?: string[] | undefined;
|
|
4359
4583
|
} | {
|
|
4360
4584
|
type: "password";
|
|
4361
4585
|
provider: string;
|
|
@@ -4492,6 +4716,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
4492
4716
|
type: "oauth";
|
|
4493
4717
|
provider: string;
|
|
4494
4718
|
requiredScopes?: string[] | undefined;
|
|
4719
|
+
} | {
|
|
4720
|
+
type: "oauth2";
|
|
4721
|
+
provider: string;
|
|
4722
|
+
requiredScopes?: string[] | undefined;
|
|
4495
4723
|
} | {
|
|
4496
4724
|
type: "password";
|
|
4497
4725
|
provider: string;
|
|
@@ -4630,6 +4858,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
4630
4858
|
type: "oauth";
|
|
4631
4859
|
provider: string;
|
|
4632
4860
|
requiredScopes?: string[] | undefined;
|
|
4861
|
+
} | {
|
|
4862
|
+
type: "oauth2";
|
|
4863
|
+
provider: string;
|
|
4864
|
+
requiredScopes?: string[] | undefined;
|
|
4633
4865
|
} | {
|
|
4634
4866
|
type: "password";
|
|
4635
4867
|
provider: string;
|
|
@@ -4768,6 +5000,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
4768
5000
|
type: "oauth";
|
|
4769
5001
|
provider: string;
|
|
4770
5002
|
requiredScopes?: string[] | undefined;
|
|
5003
|
+
} | {
|
|
5004
|
+
type: "oauth2";
|
|
5005
|
+
provider: string;
|
|
5006
|
+
requiredScopes?: string[] | undefined;
|
|
4771
5007
|
} | {
|
|
4772
5008
|
type: "password";
|
|
4773
5009
|
provider: string;
|
|
@@ -4919,6 +5155,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
4919
5155
|
type: "oauth";
|
|
4920
5156
|
provider: string;
|
|
4921
5157
|
requiredScopes?: string[] | undefined;
|
|
5158
|
+
} | {
|
|
5159
|
+
type: "oauth2";
|
|
5160
|
+
provider: string;
|
|
5161
|
+
requiredScopes?: string[] | undefined;
|
|
4922
5162
|
} | {
|
|
4923
5163
|
type: "password";
|
|
4924
5164
|
provider: string;
|
|
@@ -5064,6 +5304,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
|
|
|
5064
5304
|
type: "oauth";
|
|
5065
5305
|
provider: string;
|
|
5066
5306
|
requiredScopes?: string[] | undefined;
|
|
5307
|
+
} | {
|
|
5308
|
+
type: "oauth2";
|
|
5309
|
+
provider: string;
|
|
5310
|
+
requiredScopes?: string[] | undefined;
|
|
5067
5311
|
} | {
|
|
5068
5312
|
type: "password";
|
|
5069
5313
|
provider: string;
|
|
@@ -5605,6 +5849,18 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5605
5849
|
type: "oauth";
|
|
5606
5850
|
provider: string;
|
|
5607
5851
|
requiredScopes?: string[] | undefined;
|
|
5852
|
+
}>, z.ZodObject<{
|
|
5853
|
+
type: z.ZodLiteral<"oauth2">;
|
|
5854
|
+
provider: z.ZodString;
|
|
5855
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5856
|
+
}, "strip", z.ZodTypeAny, {
|
|
5857
|
+
type: "oauth2";
|
|
5858
|
+
provider: string;
|
|
5859
|
+
requiredScopes?: string[] | undefined;
|
|
5860
|
+
}, {
|
|
5861
|
+
type: "oauth2";
|
|
5862
|
+
provider: string;
|
|
5863
|
+
requiredScopes?: string[] | undefined;
|
|
5608
5864
|
}>, z.ZodObject<{
|
|
5609
5865
|
type: z.ZodLiteral<"password">;
|
|
5610
5866
|
provider: z.ZodString;
|
|
@@ -5676,6 +5932,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5676
5932
|
type: "oauth";
|
|
5677
5933
|
provider: string;
|
|
5678
5934
|
requiredScopes?: string[] | undefined;
|
|
5935
|
+
} | {
|
|
5936
|
+
type: "oauth2";
|
|
5937
|
+
provider: string;
|
|
5938
|
+
requiredScopes?: string[] | undefined;
|
|
5679
5939
|
} | {
|
|
5680
5940
|
type: "password";
|
|
5681
5941
|
provider: string;
|
|
@@ -5707,6 +5967,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5707
5967
|
type: "oauth";
|
|
5708
5968
|
provider: string;
|
|
5709
5969
|
requiredScopes?: string[] | undefined;
|
|
5970
|
+
} | {
|
|
5971
|
+
type: "oauth2";
|
|
5972
|
+
provider: string;
|
|
5973
|
+
requiredScopes?: string[] | undefined;
|
|
5710
5974
|
} | {
|
|
5711
5975
|
type: "password";
|
|
5712
5976
|
provider: string;
|
|
@@ -5750,6 +6014,18 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5750
6014
|
type: "oauth";
|
|
5751
6015
|
provider: string;
|
|
5752
6016
|
requiredScopes?: string[] | undefined;
|
|
6017
|
+
}>, z.ZodObject<{
|
|
6018
|
+
type: z.ZodLiteral<"oauth2">;
|
|
6019
|
+
provider: z.ZodString;
|
|
6020
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6021
|
+
}, "strip", z.ZodTypeAny, {
|
|
6022
|
+
type: "oauth2";
|
|
6023
|
+
provider: string;
|
|
6024
|
+
requiredScopes?: string[] | undefined;
|
|
6025
|
+
}, {
|
|
6026
|
+
type: "oauth2";
|
|
6027
|
+
provider: string;
|
|
6028
|
+
requiredScopes?: string[] | undefined;
|
|
5753
6029
|
}>, z.ZodObject<{
|
|
5754
6030
|
type: z.ZodLiteral<"password">;
|
|
5755
6031
|
provider: z.ZodString;
|
|
@@ -5821,6 +6097,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5821
6097
|
type: "oauth";
|
|
5822
6098
|
provider: string;
|
|
5823
6099
|
requiredScopes?: string[] | undefined;
|
|
6100
|
+
} | {
|
|
6101
|
+
type: "oauth2";
|
|
6102
|
+
provider: string;
|
|
6103
|
+
requiredScopes?: string[] | undefined;
|
|
5824
6104
|
} | {
|
|
5825
6105
|
type: "password";
|
|
5826
6106
|
provider: string;
|
|
@@ -5852,6 +6132,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5852
6132
|
type: "oauth";
|
|
5853
6133
|
provider: string;
|
|
5854
6134
|
requiredScopes?: string[] | undefined;
|
|
6135
|
+
} | {
|
|
6136
|
+
type: "oauth2";
|
|
6137
|
+
provider: string;
|
|
6138
|
+
requiredScopes?: string[] | undefined;
|
|
5855
6139
|
} | {
|
|
5856
6140
|
type: "password";
|
|
5857
6141
|
provider: string;
|
|
@@ -5885,6 +6169,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5885
6169
|
type: "oauth";
|
|
5886
6170
|
provider: string;
|
|
5887
6171
|
requiredScopes?: string[] | undefined;
|
|
6172
|
+
} | {
|
|
6173
|
+
type: "oauth2";
|
|
6174
|
+
provider: string;
|
|
6175
|
+
requiredScopes?: string[] | undefined;
|
|
5888
6176
|
} | {
|
|
5889
6177
|
type: "password";
|
|
5890
6178
|
provider: string;
|
|
@@ -5922,6 +6210,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5922
6210
|
type: "oauth";
|
|
5923
6211
|
provider: string;
|
|
5924
6212
|
requiredScopes?: string[] | undefined;
|
|
6213
|
+
} | {
|
|
6214
|
+
type: "oauth2";
|
|
6215
|
+
provider: string;
|
|
6216
|
+
requiredScopes?: string[] | undefined;
|
|
5925
6217
|
} | {
|
|
5926
6218
|
type: "password";
|
|
5927
6219
|
provider: string;
|
|
@@ -5955,6 +6247,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5955
6247
|
type: "oauth";
|
|
5956
6248
|
provider: string;
|
|
5957
6249
|
requiredScopes?: string[] | undefined;
|
|
6250
|
+
} | {
|
|
6251
|
+
type: "oauth2";
|
|
6252
|
+
provider: string;
|
|
6253
|
+
requiredScopes?: string[] | undefined;
|
|
5958
6254
|
} | {
|
|
5959
6255
|
type: "password";
|
|
5960
6256
|
provider: string;
|
|
@@ -5992,6 +6288,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
5992
6288
|
type: "oauth";
|
|
5993
6289
|
provider: string;
|
|
5994
6290
|
requiredScopes?: string[] | undefined;
|
|
6291
|
+
} | {
|
|
6292
|
+
type: "oauth2";
|
|
6293
|
+
provider: string;
|
|
6294
|
+
requiredScopes?: string[] | undefined;
|
|
5995
6295
|
} | {
|
|
5996
6296
|
type: "password";
|
|
5997
6297
|
provider: string;
|
|
@@ -6105,6 +6405,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6105
6405
|
type: "oauth";
|
|
6106
6406
|
provider: string;
|
|
6107
6407
|
requiredScopes?: string[] | undefined;
|
|
6408
|
+
} | {
|
|
6409
|
+
type: "oauth2";
|
|
6410
|
+
provider: string;
|
|
6411
|
+
requiredScopes?: string[] | undefined;
|
|
6108
6412
|
} | {
|
|
6109
6413
|
type: "password";
|
|
6110
6414
|
provider: string;
|
|
@@ -6142,6 +6446,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6142
6446
|
type: "oauth";
|
|
6143
6447
|
provider: string;
|
|
6144
6448
|
requiredScopes?: string[] | undefined;
|
|
6449
|
+
} | {
|
|
6450
|
+
type: "oauth2";
|
|
6451
|
+
provider: string;
|
|
6452
|
+
requiredScopes?: string[] | undefined;
|
|
6145
6453
|
} | {
|
|
6146
6454
|
type: "password";
|
|
6147
6455
|
provider: string;
|
|
@@ -6273,6 +6581,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6273
6581
|
type: "oauth";
|
|
6274
6582
|
provider: string;
|
|
6275
6583
|
requiredScopes?: string[] | undefined;
|
|
6584
|
+
} | {
|
|
6585
|
+
type: "oauth2";
|
|
6586
|
+
provider: string;
|
|
6587
|
+
requiredScopes?: string[] | undefined;
|
|
6276
6588
|
} | {
|
|
6277
6589
|
type: "password";
|
|
6278
6590
|
provider: string;
|
|
@@ -6310,6 +6622,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6310
6622
|
type: "oauth";
|
|
6311
6623
|
provider: string;
|
|
6312
6624
|
requiredScopes?: string[] | undefined;
|
|
6625
|
+
} | {
|
|
6626
|
+
type: "oauth2";
|
|
6627
|
+
provider: string;
|
|
6628
|
+
requiredScopes?: string[] | undefined;
|
|
6313
6629
|
} | {
|
|
6314
6630
|
type: "password";
|
|
6315
6631
|
provider: string;
|
|
@@ -6373,6 +6689,18 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6373
6689
|
type: "oauth";
|
|
6374
6690
|
provider: string;
|
|
6375
6691
|
requiredScopes?: string[] | undefined;
|
|
6692
|
+
}>, z.ZodObject<{
|
|
6693
|
+
type: z.ZodLiteral<"oauth2">;
|
|
6694
|
+
provider: z.ZodString;
|
|
6695
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6696
|
+
}, "strip", z.ZodTypeAny, {
|
|
6697
|
+
type: "oauth2";
|
|
6698
|
+
provider: string;
|
|
6699
|
+
requiredScopes?: string[] | undefined;
|
|
6700
|
+
}, {
|
|
6701
|
+
type: "oauth2";
|
|
6702
|
+
provider: string;
|
|
6703
|
+
requiredScopes?: string[] | undefined;
|
|
6376
6704
|
}>, z.ZodObject<{
|
|
6377
6705
|
type: z.ZodLiteral<"password">;
|
|
6378
6706
|
provider: z.ZodString;
|
|
@@ -6444,6 +6772,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6444
6772
|
type: "oauth";
|
|
6445
6773
|
provider: string;
|
|
6446
6774
|
requiredScopes?: string[] | undefined;
|
|
6775
|
+
} | {
|
|
6776
|
+
type: "oauth2";
|
|
6777
|
+
provider: string;
|
|
6778
|
+
requiredScopes?: string[] | undefined;
|
|
6447
6779
|
} | {
|
|
6448
6780
|
type: "password";
|
|
6449
6781
|
provider: string;
|
|
@@ -6475,6 +6807,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6475
6807
|
type: "oauth";
|
|
6476
6808
|
provider: string;
|
|
6477
6809
|
requiredScopes?: string[] | undefined;
|
|
6810
|
+
} | {
|
|
6811
|
+
type: "oauth2";
|
|
6812
|
+
provider: string;
|
|
6813
|
+
requiredScopes?: string[] | undefined;
|
|
6478
6814
|
} | {
|
|
6479
6815
|
type: "password";
|
|
6480
6816
|
provider: string;
|
|
@@ -6588,6 +6924,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6588
6924
|
type: "oauth";
|
|
6589
6925
|
provider: string;
|
|
6590
6926
|
requiredScopes?: string[] | undefined;
|
|
6927
|
+
} | {
|
|
6928
|
+
type: "oauth2";
|
|
6929
|
+
provider: string;
|
|
6930
|
+
requiredScopes?: string[] | undefined;
|
|
6591
6931
|
} | {
|
|
6592
6932
|
type: "password";
|
|
6593
6933
|
provider: string;
|
|
@@ -6625,6 +6965,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6625
6965
|
type: "oauth";
|
|
6626
6966
|
provider: string;
|
|
6627
6967
|
requiredScopes?: string[] | undefined;
|
|
6968
|
+
} | {
|
|
6969
|
+
type: "oauth2";
|
|
6970
|
+
provider: string;
|
|
6971
|
+
requiredScopes?: string[] | undefined;
|
|
6628
6972
|
} | {
|
|
6629
6973
|
type: "password";
|
|
6630
6974
|
provider: string;
|
|
@@ -6677,6 +7021,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6677
7021
|
type: "oauth";
|
|
6678
7022
|
provider: string;
|
|
6679
7023
|
requiredScopes?: string[] | undefined;
|
|
7024
|
+
} | {
|
|
7025
|
+
type: "oauth2";
|
|
7026
|
+
provider: string;
|
|
7027
|
+
requiredScopes?: string[] | undefined;
|
|
6680
7028
|
} | {
|
|
6681
7029
|
type: "password";
|
|
6682
7030
|
provider: string;
|
|
@@ -6790,6 +7138,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6790
7138
|
type: "oauth";
|
|
6791
7139
|
provider: string;
|
|
6792
7140
|
requiredScopes?: string[] | undefined;
|
|
7141
|
+
} | {
|
|
7142
|
+
type: "oauth2";
|
|
7143
|
+
provider: string;
|
|
7144
|
+
requiredScopes?: string[] | undefined;
|
|
6793
7145
|
} | {
|
|
6794
7146
|
type: "password";
|
|
6795
7147
|
provider: string;
|
|
@@ -6827,6 +7179,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6827
7179
|
type: "oauth";
|
|
6828
7180
|
provider: string;
|
|
6829
7181
|
requiredScopes?: string[] | undefined;
|
|
7182
|
+
} | {
|
|
7183
|
+
type: "oauth2";
|
|
7184
|
+
provider: string;
|
|
7185
|
+
requiredScopes?: string[] | undefined;
|
|
6830
7186
|
} | {
|
|
6831
7187
|
type: "password";
|
|
6832
7188
|
provider: string;
|
|
@@ -6879,6 +7235,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
6879
7235
|
type: "oauth";
|
|
6880
7236
|
provider: string;
|
|
6881
7237
|
requiredScopes?: string[] | undefined;
|
|
7238
|
+
} | {
|
|
7239
|
+
type: "oauth2";
|
|
7240
|
+
provider: string;
|
|
7241
|
+
requiredScopes?: string[] | undefined;
|
|
6882
7242
|
} | {
|
|
6883
7243
|
type: "password";
|
|
6884
7244
|
provider: string;
|
|
@@ -7008,6 +7368,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
7008
7368
|
type: "oauth";
|
|
7009
7369
|
provider: string;
|
|
7010
7370
|
requiredScopes?: string[] | undefined;
|
|
7371
|
+
} | {
|
|
7372
|
+
type: "oauth2";
|
|
7373
|
+
provider: string;
|
|
7374
|
+
requiredScopes?: string[] | undefined;
|
|
7011
7375
|
} | {
|
|
7012
7376
|
type: "password";
|
|
7013
7377
|
provider: string;
|
|
@@ -7045,6 +7409,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
7045
7409
|
type: "oauth";
|
|
7046
7410
|
provider: string;
|
|
7047
7411
|
requiredScopes?: string[] | undefined;
|
|
7412
|
+
} | {
|
|
7413
|
+
type: "oauth2";
|
|
7414
|
+
provider: string;
|
|
7415
|
+
requiredScopes?: string[] | undefined;
|
|
7048
7416
|
} | {
|
|
7049
7417
|
type: "password";
|
|
7050
7418
|
provider: string;
|
|
@@ -7097,6 +7465,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
7097
7465
|
type: "oauth";
|
|
7098
7466
|
provider: string;
|
|
7099
7467
|
requiredScopes?: string[] | undefined;
|
|
7468
|
+
} | {
|
|
7469
|
+
type: "oauth2";
|
|
7470
|
+
provider: string;
|
|
7471
|
+
requiredScopes?: string[] | undefined;
|
|
7100
7472
|
} | {
|
|
7101
7473
|
type: "password";
|
|
7102
7474
|
provider: string;
|
|
@@ -7218,6 +7590,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
7218
7590
|
type: "oauth";
|
|
7219
7591
|
provider: string;
|
|
7220
7592
|
requiredScopes?: string[] | undefined;
|
|
7593
|
+
} | {
|
|
7594
|
+
type: "oauth2";
|
|
7595
|
+
provider: string;
|
|
7596
|
+
requiredScopes?: string[] | undefined;
|
|
7221
7597
|
} | {
|
|
7222
7598
|
type: "password";
|
|
7223
7599
|
provider: string;
|
|
@@ -7255,6 +7631,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
7255
7631
|
type: "oauth";
|
|
7256
7632
|
provider: string;
|
|
7257
7633
|
requiredScopes?: string[] | undefined;
|
|
7634
|
+
} | {
|
|
7635
|
+
type: "oauth2";
|
|
7636
|
+
provider: string;
|
|
7637
|
+
requiredScopes?: string[] | undefined;
|
|
7258
7638
|
} | {
|
|
7259
7639
|
type: "password";
|
|
7260
7640
|
provider: string;
|
|
@@ -7307,6 +7687,10 @@ export declare const getMergedServerConfigResponseSchema: z.ZodObject<{
|
|
|
7307
7687
|
type: "oauth";
|
|
7308
7688
|
provider: string;
|
|
7309
7689
|
requiredScopes?: string[] | undefined;
|
|
7690
|
+
} | {
|
|
7691
|
+
type: "oauth2";
|
|
7692
|
+
provider: string;
|
|
7693
|
+
requiredScopes?: string[] | undefined;
|
|
7310
7694
|
} | {
|
|
7311
7695
|
type: "password";
|
|
7312
7696
|
provider: string;
|
|
@@ -7507,6 +7891,18 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
7507
7891
|
type: "oauth";
|
|
7508
7892
|
provider: string;
|
|
7509
7893
|
requiredScopes?: string[] | undefined;
|
|
7894
|
+
}>, z.ZodObject<{
|
|
7895
|
+
type: z.ZodLiteral<"oauth2">;
|
|
7896
|
+
provider: z.ZodString;
|
|
7897
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7898
|
+
}, "strip", z.ZodTypeAny, {
|
|
7899
|
+
type: "oauth2";
|
|
7900
|
+
provider: string;
|
|
7901
|
+
requiredScopes?: string[] | undefined;
|
|
7902
|
+
}, {
|
|
7903
|
+
type: "oauth2";
|
|
7904
|
+
provider: string;
|
|
7905
|
+
requiredScopes?: string[] | undefined;
|
|
7510
7906
|
}>, z.ZodObject<{
|
|
7511
7907
|
type: z.ZodLiteral<"password">;
|
|
7512
7908
|
provider: z.ZodString;
|
|
@@ -7578,6 +7974,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
7578
7974
|
type: "oauth";
|
|
7579
7975
|
provider: string;
|
|
7580
7976
|
requiredScopes?: string[] | undefined;
|
|
7977
|
+
} | {
|
|
7978
|
+
type: "oauth2";
|
|
7979
|
+
provider: string;
|
|
7980
|
+
requiredScopes?: string[] | undefined;
|
|
7581
7981
|
} | {
|
|
7582
7982
|
type: "password";
|
|
7583
7983
|
provider: string;
|
|
@@ -7609,6 +8009,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
7609
8009
|
type: "oauth";
|
|
7610
8010
|
provider: string;
|
|
7611
8011
|
requiredScopes?: string[] | undefined;
|
|
8012
|
+
} | {
|
|
8013
|
+
type: "oauth2";
|
|
8014
|
+
provider: string;
|
|
8015
|
+
requiredScopes?: string[] | undefined;
|
|
7612
8016
|
} | {
|
|
7613
8017
|
type: "password";
|
|
7614
8018
|
provider: string;
|
|
@@ -7647,6 +8051,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
7647
8051
|
type: "oauth";
|
|
7648
8052
|
provider: string;
|
|
7649
8053
|
requiredScopes?: string[] | undefined;
|
|
8054
|
+
} | {
|
|
8055
|
+
type: "oauth2";
|
|
8056
|
+
provider: string;
|
|
8057
|
+
requiredScopes?: string[] | undefined;
|
|
7650
8058
|
} | {
|
|
7651
8059
|
type: "password";
|
|
7652
8060
|
provider: string;
|
|
@@ -7685,6 +8093,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
7685
8093
|
type: "oauth";
|
|
7686
8094
|
provider: string;
|
|
7687
8095
|
requiredScopes?: string[] | undefined;
|
|
8096
|
+
} | {
|
|
8097
|
+
type: "oauth2";
|
|
8098
|
+
provider: string;
|
|
8099
|
+
requiredScopes?: string[] | undefined;
|
|
7688
8100
|
} | {
|
|
7689
8101
|
type: "password";
|
|
7690
8102
|
provider: string;
|
|
@@ -8125,6 +8537,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
8125
8537
|
type: "oauth";
|
|
8126
8538
|
provider: string;
|
|
8127
8539
|
requiredScopes?: string[] | undefined;
|
|
8540
|
+
} | {
|
|
8541
|
+
type: "oauth2";
|
|
8542
|
+
provider: string;
|
|
8543
|
+
requiredScopes?: string[] | undefined;
|
|
8128
8544
|
} | {
|
|
8129
8545
|
type: "password";
|
|
8130
8546
|
provider: string;
|
|
@@ -8261,6 +8677,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
8261
8677
|
type: "oauth";
|
|
8262
8678
|
provider: string;
|
|
8263
8679
|
requiredScopes?: string[] | undefined;
|
|
8680
|
+
} | {
|
|
8681
|
+
type: "oauth2";
|
|
8682
|
+
provider: string;
|
|
8683
|
+
requiredScopes?: string[] | undefined;
|
|
8264
8684
|
} | {
|
|
8265
8685
|
type: "password";
|
|
8266
8686
|
provider: string;
|
|
@@ -8400,6 +8820,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
8400
8820
|
type: "oauth";
|
|
8401
8821
|
provider: string;
|
|
8402
8822
|
requiredScopes?: string[] | undefined;
|
|
8823
|
+
} | {
|
|
8824
|
+
type: "oauth2";
|
|
8825
|
+
provider: string;
|
|
8826
|
+
requiredScopes?: string[] | undefined;
|
|
8403
8827
|
} | {
|
|
8404
8828
|
type: "password";
|
|
8405
8829
|
provider: string;
|
|
@@ -8539,6 +8963,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
|
|
|
8539
8963
|
type: "oauth";
|
|
8540
8964
|
provider: string;
|
|
8541
8965
|
requiredScopes?: string[] | undefined;
|
|
8966
|
+
} | {
|
|
8967
|
+
type: "oauth2";
|
|
8968
|
+
provider: string;
|
|
8969
|
+
requiredScopes?: string[] | undefined;
|
|
8542
8970
|
} | {
|
|
8543
8971
|
type: "password";
|
|
8544
8972
|
provider: string;
|
|
@@ -8754,6 +9182,18 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
8754
9182
|
type: "oauth";
|
|
8755
9183
|
provider: string;
|
|
8756
9184
|
requiredScopes?: string[] | undefined;
|
|
9185
|
+
}>, z.ZodObject<{
|
|
9186
|
+
type: z.ZodLiteral<"oauth2">;
|
|
9187
|
+
provider: z.ZodString;
|
|
9188
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9189
|
+
}, "strip", z.ZodTypeAny, {
|
|
9190
|
+
type: "oauth2";
|
|
9191
|
+
provider: string;
|
|
9192
|
+
requiredScopes?: string[] | undefined;
|
|
9193
|
+
}, {
|
|
9194
|
+
type: "oauth2";
|
|
9195
|
+
provider: string;
|
|
9196
|
+
requiredScopes?: string[] | undefined;
|
|
8757
9197
|
}>, z.ZodObject<{
|
|
8758
9198
|
type: z.ZodLiteral<"password">;
|
|
8759
9199
|
provider: z.ZodString;
|
|
@@ -8825,6 +9265,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
8825
9265
|
type: "oauth";
|
|
8826
9266
|
provider: string;
|
|
8827
9267
|
requiredScopes?: string[] | undefined;
|
|
9268
|
+
} | {
|
|
9269
|
+
type: "oauth2";
|
|
9270
|
+
provider: string;
|
|
9271
|
+
requiredScopes?: string[] | undefined;
|
|
8828
9272
|
} | {
|
|
8829
9273
|
type: "password";
|
|
8830
9274
|
provider: string;
|
|
@@ -8856,6 +9300,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
8856
9300
|
type: "oauth";
|
|
8857
9301
|
provider: string;
|
|
8858
9302
|
requiredScopes?: string[] | undefined;
|
|
9303
|
+
} | {
|
|
9304
|
+
type: "oauth2";
|
|
9305
|
+
provider: string;
|
|
9306
|
+
requiredScopes?: string[] | undefined;
|
|
8859
9307
|
} | {
|
|
8860
9308
|
type: "password";
|
|
8861
9309
|
provider: string;
|
|
@@ -8894,6 +9342,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
8894
9342
|
type: "oauth";
|
|
8895
9343
|
provider: string;
|
|
8896
9344
|
requiredScopes?: string[] | undefined;
|
|
9345
|
+
} | {
|
|
9346
|
+
type: "oauth2";
|
|
9347
|
+
provider: string;
|
|
9348
|
+
requiredScopes?: string[] | undefined;
|
|
8897
9349
|
} | {
|
|
8898
9350
|
type: "password";
|
|
8899
9351
|
provider: string;
|
|
@@ -8932,6 +9384,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
8932
9384
|
type: "oauth";
|
|
8933
9385
|
provider: string;
|
|
8934
9386
|
requiredScopes?: string[] | undefined;
|
|
9387
|
+
} | {
|
|
9388
|
+
type: "oauth2";
|
|
9389
|
+
provider: string;
|
|
9390
|
+
requiredScopes?: string[] | undefined;
|
|
8935
9391
|
} | {
|
|
8936
9392
|
type: "password";
|
|
8937
9393
|
provider: string;
|
|
@@ -9372,6 +9828,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
9372
9828
|
type: "oauth";
|
|
9373
9829
|
provider: string;
|
|
9374
9830
|
requiredScopes?: string[] | undefined;
|
|
9831
|
+
} | {
|
|
9832
|
+
type: "oauth2";
|
|
9833
|
+
provider: string;
|
|
9834
|
+
requiredScopes?: string[] | undefined;
|
|
9375
9835
|
} | {
|
|
9376
9836
|
type: "password";
|
|
9377
9837
|
provider: string;
|
|
@@ -9508,6 +9968,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
9508
9968
|
type: "oauth";
|
|
9509
9969
|
provider: string;
|
|
9510
9970
|
requiredScopes?: string[] | undefined;
|
|
9971
|
+
} | {
|
|
9972
|
+
type: "oauth2";
|
|
9973
|
+
provider: string;
|
|
9974
|
+
requiredScopes?: string[] | undefined;
|
|
9511
9975
|
} | {
|
|
9512
9976
|
type: "password";
|
|
9513
9977
|
provider: string;
|
|
@@ -9659,6 +10123,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
9659
10123
|
type: "oauth";
|
|
9660
10124
|
provider: string;
|
|
9661
10125
|
requiredScopes?: string[] | undefined;
|
|
10126
|
+
} | {
|
|
10127
|
+
type: "oauth2";
|
|
10128
|
+
provider: string;
|
|
10129
|
+
requiredScopes?: string[] | undefined;
|
|
9662
10130
|
} | {
|
|
9663
10131
|
type: "password";
|
|
9664
10132
|
provider: string;
|
|
@@ -9802,6 +10270,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
9802
10270
|
type: "oauth";
|
|
9803
10271
|
provider: string;
|
|
9804
10272
|
requiredScopes?: string[] | undefined;
|
|
10273
|
+
} | {
|
|
10274
|
+
type: "oauth2";
|
|
10275
|
+
provider: string;
|
|
10276
|
+
requiredScopes?: string[] | undefined;
|
|
9805
10277
|
} | {
|
|
9806
10278
|
type: "password";
|
|
9807
10279
|
provider: string;
|
|
@@ -9958,6 +10430,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
9958
10430
|
type: "oauth";
|
|
9959
10431
|
provider: string;
|
|
9960
10432
|
requiredScopes?: string[] | undefined;
|
|
10433
|
+
} | {
|
|
10434
|
+
type: "oauth2";
|
|
10435
|
+
provider: string;
|
|
10436
|
+
requiredScopes?: string[] | undefined;
|
|
9961
10437
|
} | {
|
|
9962
10438
|
type: "password";
|
|
9963
10439
|
provider: string;
|
|
@@ -10108,6 +10584,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
|
|
|
10108
10584
|
type: "oauth";
|
|
10109
10585
|
provider: string;
|
|
10110
10586
|
requiredScopes?: string[] | undefined;
|
|
10587
|
+
} | {
|
|
10588
|
+
type: "oauth2";
|
|
10589
|
+
provider: string;
|
|
10590
|
+
requiredScopes?: string[] | undefined;
|
|
10111
10591
|
} | {
|
|
10112
10592
|
type: "password";
|
|
10113
10593
|
provider: string;
|
|
@@ -10332,6 +10812,18 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
10332
10812
|
type: "oauth";
|
|
10333
10813
|
provider: string;
|
|
10334
10814
|
requiredScopes?: string[] | undefined;
|
|
10815
|
+
}>, z.ZodObject<{
|
|
10816
|
+
type: z.ZodLiteral<"oauth2">;
|
|
10817
|
+
provider: z.ZodString;
|
|
10818
|
+
requiredScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10819
|
+
}, "strip", z.ZodTypeAny, {
|
|
10820
|
+
type: "oauth2";
|
|
10821
|
+
provider: string;
|
|
10822
|
+
requiredScopes?: string[] | undefined;
|
|
10823
|
+
}, {
|
|
10824
|
+
type: "oauth2";
|
|
10825
|
+
provider: string;
|
|
10826
|
+
requiredScopes?: string[] | undefined;
|
|
10335
10827
|
}>, z.ZodObject<{
|
|
10336
10828
|
type: z.ZodLiteral<"password">;
|
|
10337
10829
|
provider: z.ZodString;
|
|
@@ -10403,6 +10895,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
10403
10895
|
type: "oauth";
|
|
10404
10896
|
provider: string;
|
|
10405
10897
|
requiredScopes?: string[] | undefined;
|
|
10898
|
+
} | {
|
|
10899
|
+
type: "oauth2";
|
|
10900
|
+
provider: string;
|
|
10901
|
+
requiredScopes?: string[] | undefined;
|
|
10406
10902
|
} | {
|
|
10407
10903
|
type: "password";
|
|
10408
10904
|
provider: string;
|
|
@@ -10434,6 +10930,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
10434
10930
|
type: "oauth";
|
|
10435
10931
|
provider: string;
|
|
10436
10932
|
requiredScopes?: string[] | undefined;
|
|
10933
|
+
} | {
|
|
10934
|
+
type: "oauth2";
|
|
10935
|
+
provider: string;
|
|
10936
|
+
requiredScopes?: string[] | undefined;
|
|
10437
10937
|
} | {
|
|
10438
10938
|
type: "password";
|
|
10439
10939
|
provider: string;
|
|
@@ -10472,6 +10972,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
10472
10972
|
type: "oauth";
|
|
10473
10973
|
provider: string;
|
|
10474
10974
|
requiredScopes?: string[] | undefined;
|
|
10975
|
+
} | {
|
|
10976
|
+
type: "oauth2";
|
|
10977
|
+
provider: string;
|
|
10978
|
+
requiredScopes?: string[] | undefined;
|
|
10475
10979
|
} | {
|
|
10476
10980
|
type: "password";
|
|
10477
10981
|
provider: string;
|
|
@@ -10510,6 +11014,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
10510
11014
|
type: "oauth";
|
|
10511
11015
|
provider: string;
|
|
10512
11016
|
requiredScopes?: string[] | undefined;
|
|
11017
|
+
} | {
|
|
11018
|
+
type: "oauth2";
|
|
11019
|
+
provider: string;
|
|
11020
|
+
requiredScopes?: string[] | undefined;
|
|
10513
11021
|
} | {
|
|
10514
11022
|
type: "password";
|
|
10515
11023
|
provider: string;
|
|
@@ -10950,6 +11458,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
10950
11458
|
type: "oauth";
|
|
10951
11459
|
provider: string;
|
|
10952
11460
|
requiredScopes?: string[] | undefined;
|
|
11461
|
+
} | {
|
|
11462
|
+
type: "oauth2";
|
|
11463
|
+
provider: string;
|
|
11464
|
+
requiredScopes?: string[] | undefined;
|
|
10953
11465
|
} | {
|
|
10954
11466
|
type: "password";
|
|
10955
11467
|
provider: string;
|
|
@@ -11086,6 +11598,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
11086
11598
|
type: "oauth";
|
|
11087
11599
|
provider: string;
|
|
11088
11600
|
requiredScopes?: string[] | undefined;
|
|
11601
|
+
} | {
|
|
11602
|
+
type: "oauth2";
|
|
11603
|
+
provider: string;
|
|
11604
|
+
requiredScopes?: string[] | undefined;
|
|
11089
11605
|
} | {
|
|
11090
11606
|
type: "password";
|
|
11091
11607
|
provider: string;
|
|
@@ -11225,6 +11741,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
11225
11741
|
type: "oauth";
|
|
11226
11742
|
provider: string;
|
|
11227
11743
|
requiredScopes?: string[] | undefined;
|
|
11744
|
+
} | {
|
|
11745
|
+
type: "oauth2";
|
|
11746
|
+
provider: string;
|
|
11747
|
+
requiredScopes?: string[] | undefined;
|
|
11228
11748
|
} | {
|
|
11229
11749
|
type: "password";
|
|
11230
11750
|
provider: string;
|
|
@@ -11364,6 +11884,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
|
|
|
11364
11884
|
type: "oauth";
|
|
11365
11885
|
provider: string;
|
|
11366
11886
|
requiredScopes?: string[] | undefined;
|
|
11887
|
+
} | {
|
|
11888
|
+
type: "oauth2";
|
|
11889
|
+
provider: string;
|
|
11890
|
+
requiredScopes?: string[] | undefined;
|
|
11367
11891
|
} | {
|
|
11368
11892
|
type: "password";
|
|
11369
11893
|
provider: string;
|