@scalar/api-client 2.3.10 → 2.3.11
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/CHANGELOG.md +27 -0
- package/dist/layouts/App/create-api-client-app.d.ts +18 -160
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +36 -320
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +18 -160
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +18 -160
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts +1 -0
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/store/import-spec.d.ts +2 -154
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +16 -6
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +18 -160
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Request/Request.vue.d.ts +2 -0
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +35 -33
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +63 -62
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts +11 -0
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -0
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +81 -0
- package/dist/views/Request/ResponseSection/RequestHeaders.vue2.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +2 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +73 -60
- package/dist/views/Request/consts/mediaTypes.d.ts.map +1 -1
- package/dist/views/Request/consts/mediaTypes.js +1 -0
- package/package.json +13 -13
|
@@ -359,6 +359,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
359
359
|
} | undefined;
|
|
360
360
|
};
|
|
361
361
|
description?: string | undefined;
|
|
362
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
362
363
|
}>;
|
|
363
364
|
modalState: {
|
|
364
365
|
open: boolean;
|
|
@@ -431,83 +432,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
431
432
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
432
433
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
433
434
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
434
|
-
securitySchemes: (
|
|
435
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
436
|
-
name: string;
|
|
437
|
-
value: string;
|
|
438
|
-
type: "apiKey";
|
|
439
|
-
in: "cookie" | "query" | "header";
|
|
440
|
-
nameKey: string;
|
|
441
|
-
description?: string | undefined;
|
|
442
|
-
} | {
|
|
443
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
444
|
-
type: "http";
|
|
445
|
-
password: string;
|
|
446
|
-
nameKey: string;
|
|
447
|
-
scheme: "basic" | "bearer";
|
|
448
|
-
bearerFormat: string;
|
|
449
|
-
username: string;
|
|
450
|
-
token: string;
|
|
451
|
-
description?: string | undefined;
|
|
452
|
-
} | {
|
|
453
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
454
|
-
type: "openIdConnect";
|
|
455
|
-
nameKey: string;
|
|
456
|
-
openIdConnectUrl: string;
|
|
457
|
-
description?: string | undefined;
|
|
458
|
-
} | {
|
|
459
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
460
|
-
type: "oauth2";
|
|
461
|
-
nameKey: string;
|
|
462
|
-
flows: {
|
|
463
|
-
password?: {
|
|
464
|
-
type: "password";
|
|
465
|
-
password: string;
|
|
466
|
-
username: string;
|
|
467
|
-
token: string;
|
|
468
|
-
refreshUrl: string;
|
|
469
|
-
scopes: Record<string, string>;
|
|
470
|
-
selectedScopes: string[];
|
|
471
|
-
"x-scalar-client-id": string;
|
|
472
|
-
tokenUrl: string;
|
|
473
|
-
clientSecret: string;
|
|
474
|
-
} | undefined;
|
|
475
|
-
implicit?: {
|
|
476
|
-
type: "implicit";
|
|
477
|
-
token: string;
|
|
478
|
-
refreshUrl: string;
|
|
479
|
-
scopes: Record<string, string>;
|
|
480
|
-
selectedScopes: string[];
|
|
481
|
-
"x-scalar-client-id": string;
|
|
482
|
-
authorizationUrl: string;
|
|
483
|
-
"x-scalar-redirect-uri": string;
|
|
484
|
-
} | undefined;
|
|
485
|
-
clientCredentials?: {
|
|
486
|
-
type: "clientCredentials";
|
|
487
|
-
token: string;
|
|
488
|
-
refreshUrl: string;
|
|
489
|
-
scopes: Record<string, string>;
|
|
490
|
-
selectedScopes: string[];
|
|
491
|
-
"x-scalar-client-id": string;
|
|
492
|
-
tokenUrl: string;
|
|
493
|
-
clientSecret: string;
|
|
494
|
-
} | undefined;
|
|
495
|
-
authorizationCode?: {
|
|
496
|
-
type: "authorizationCode";
|
|
497
|
-
token: string;
|
|
498
|
-
refreshUrl: string;
|
|
499
|
-
scopes: Record<string, string>;
|
|
500
|
-
selectedScopes: string[];
|
|
501
|
-
"x-scalar-client-id": string;
|
|
502
|
-
authorizationUrl: string;
|
|
503
|
-
"x-scalar-redirect-uri": string;
|
|
504
|
-
tokenUrl: string;
|
|
505
|
-
clientSecret: string;
|
|
506
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
507
|
-
} | undefined;
|
|
508
|
-
};
|
|
509
|
-
description?: string | undefined;
|
|
510
|
-
})[];
|
|
435
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
511
436
|
} | undefined>;
|
|
512
437
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
513
438
|
uid?: string | undefined;
|
|
@@ -601,83 +526,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
601
526
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
602
527
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
603
528
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
604
|
-
securitySchemes: (
|
|
605
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
606
|
-
name: string;
|
|
607
|
-
value: string;
|
|
608
|
-
type: "apiKey";
|
|
609
|
-
in: "cookie" | "query" | "header";
|
|
610
|
-
nameKey: string;
|
|
611
|
-
description?: string | undefined;
|
|
612
|
-
} | {
|
|
613
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
614
|
-
type: "http";
|
|
615
|
-
password: string;
|
|
616
|
-
nameKey: string;
|
|
617
|
-
scheme: "basic" | "bearer";
|
|
618
|
-
bearerFormat: string;
|
|
619
|
-
username: string;
|
|
620
|
-
token: string;
|
|
621
|
-
description?: string | undefined;
|
|
622
|
-
} | {
|
|
623
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
624
|
-
type: "openIdConnect";
|
|
625
|
-
nameKey: string;
|
|
626
|
-
openIdConnectUrl: string;
|
|
627
|
-
description?: string | undefined;
|
|
628
|
-
} | {
|
|
629
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
630
|
-
type: "oauth2";
|
|
631
|
-
nameKey: string;
|
|
632
|
-
flows: {
|
|
633
|
-
password?: {
|
|
634
|
-
type: "password";
|
|
635
|
-
password: string;
|
|
636
|
-
username: string;
|
|
637
|
-
token: string;
|
|
638
|
-
refreshUrl: string;
|
|
639
|
-
scopes: Record<string, string>;
|
|
640
|
-
selectedScopes: string[];
|
|
641
|
-
"x-scalar-client-id": string;
|
|
642
|
-
tokenUrl: string;
|
|
643
|
-
clientSecret: string;
|
|
644
|
-
} | undefined;
|
|
645
|
-
implicit?: {
|
|
646
|
-
type: "implicit";
|
|
647
|
-
token: string;
|
|
648
|
-
refreshUrl: string;
|
|
649
|
-
scopes: Record<string, string>;
|
|
650
|
-
selectedScopes: string[];
|
|
651
|
-
"x-scalar-client-id": string;
|
|
652
|
-
authorizationUrl: string;
|
|
653
|
-
"x-scalar-redirect-uri": string;
|
|
654
|
-
} | undefined;
|
|
655
|
-
clientCredentials?: {
|
|
656
|
-
type: "clientCredentials";
|
|
657
|
-
token: string;
|
|
658
|
-
refreshUrl: string;
|
|
659
|
-
scopes: Record<string, string>;
|
|
660
|
-
selectedScopes: string[];
|
|
661
|
-
"x-scalar-client-id": string;
|
|
662
|
-
tokenUrl: string;
|
|
663
|
-
clientSecret: string;
|
|
664
|
-
} | undefined;
|
|
665
|
-
authorizationCode?: {
|
|
666
|
-
type: "authorizationCode";
|
|
667
|
-
token: string;
|
|
668
|
-
refreshUrl: string;
|
|
669
|
-
scopes: Record<string, string>;
|
|
670
|
-
selectedScopes: string[];
|
|
671
|
-
"x-scalar-client-id": string;
|
|
672
|
-
authorizationUrl: string;
|
|
673
|
-
"x-scalar-redirect-uri": string;
|
|
674
|
-
tokenUrl: string;
|
|
675
|
-
clientSecret: string;
|
|
676
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
677
|
-
} | undefined;
|
|
678
|
-
};
|
|
679
|
-
description?: string | undefined;
|
|
680
|
-
})[];
|
|
529
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
681
530
|
} | undefined>>>>>;
|
|
682
531
|
cookieMutators: {
|
|
683
532
|
add: (item: {
|
|
@@ -2655,6 +2504,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2655
2504
|
} | undefined;
|
|
2656
2505
|
};
|
|
2657
2506
|
description?: string | undefined;
|
|
2507
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2658
2508
|
}) => void;
|
|
2659
2509
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2660
2510
|
type: "apiKey";
|
|
@@ -2732,6 +2582,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2732
2582
|
} | undefined;
|
|
2733
2583
|
};
|
|
2734
2584
|
description?: string | undefined;
|
|
2585
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2735
2586
|
};
|
|
2736
2587
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
2737
2588
|
set: (item: {
|
|
@@ -2810,8 +2661,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2810
2661
|
} | undefined;
|
|
2811
2662
|
};
|
|
2812
2663
|
description?: string | undefined;
|
|
2664
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2813
2665
|
}) => void;
|
|
2814
|
-
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
2666
|
+
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
2815
2667
|
type: "apiKey";
|
|
2816
2668
|
value: string;
|
|
2817
2669
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -2883,7 +2735,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2883
2735
|
nameKey: string;
|
|
2884
2736
|
openIdConnectUrl: string;
|
|
2885
2737
|
description?: string | undefined;
|
|
2886
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2738
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
2887
2739
|
type: "oauth2";
|
|
2888
2740
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2889
2741
|
nameKey: string;
|
|
@@ -2935,7 +2787,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2935
2787
|
} | undefined;
|
|
2936
2788
|
};
|
|
2937
2789
|
description?: string | undefined;
|
|
2938
|
-
|
|
2790
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2791
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2939
2792
|
type: "oauth2";
|
|
2940
2793
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2941
2794
|
nameKey: string;
|
|
@@ -2987,6 +2840,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2987
2840
|
} | undefined;
|
|
2988
2841
|
};
|
|
2989
2842
|
description?: string | undefined;
|
|
2843
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2990
2844
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2991
2845
|
type: "oauth2";
|
|
2992
2846
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3039,8 +2893,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3039
2893
|
} | undefined;
|
|
3040
2894
|
};
|
|
3041
2895
|
description?: string | undefined;
|
|
2896
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3042
2897
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3043
|
-
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
2898
|
+
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
3044
2899
|
type: "apiKey";
|
|
3045
2900
|
value: string;
|
|
3046
2901
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3112,7 +2967,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3112
2967
|
nameKey: string;
|
|
3113
2968
|
openIdConnectUrl: string;
|
|
3114
2969
|
description?: string | undefined;
|
|
3115
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2970
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
3116
2971
|
type: "oauth2";
|
|
3117
2972
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3118
2973
|
nameKey: string;
|
|
@@ -3164,7 +3019,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3164
3019
|
} | undefined;
|
|
3165
3020
|
};
|
|
3166
3021
|
description?: string | undefined;
|
|
3167
|
-
|
|
3022
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3023
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3168
3024
|
type: "oauth2";
|
|
3169
3025
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3170
3026
|
nameKey: string;
|
|
@@ -3216,6 +3072,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3216
3072
|
} | undefined;
|
|
3217
3073
|
};
|
|
3218
3074
|
description?: string | undefined;
|
|
3075
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3219
3076
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3220
3077
|
type: "oauth2";
|
|
3221
3078
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3268,6 +3125,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3268
3125
|
} | undefined;
|
|
3269
3126
|
};
|
|
3270
3127
|
description?: string | undefined;
|
|
3128
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3271
3129
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3272
3130
|
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3273
3131
|
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
@@ -4085,6 +3943,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4085
3943
|
} | undefined;
|
|
4086
3944
|
};
|
|
4087
3945
|
description?: string | undefined;
|
|
3946
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
4088
3947
|
}>;
|
|
4089
3948
|
modalState: {
|
|
4090
3949
|
open: boolean;
|
|
@@ -4157,83 +4016,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4157
4016
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
4158
4017
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
4159
4018
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
4160
|
-
securitySchemes: (
|
|
4161
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4162
|
-
name: string;
|
|
4163
|
-
value: string;
|
|
4164
|
-
type: "apiKey";
|
|
4165
|
-
in: "cookie" | "query" | "header";
|
|
4166
|
-
nameKey: string;
|
|
4167
|
-
description?: string | undefined;
|
|
4168
|
-
} | {
|
|
4169
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4170
|
-
type: "http";
|
|
4171
|
-
password: string;
|
|
4172
|
-
nameKey: string;
|
|
4173
|
-
scheme: "basic" | "bearer";
|
|
4174
|
-
bearerFormat: string;
|
|
4175
|
-
username: string;
|
|
4176
|
-
token: string;
|
|
4177
|
-
description?: string | undefined;
|
|
4178
|
-
} | {
|
|
4179
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4180
|
-
type: "openIdConnect";
|
|
4181
|
-
nameKey: string;
|
|
4182
|
-
openIdConnectUrl: string;
|
|
4183
|
-
description?: string | undefined;
|
|
4184
|
-
} | {
|
|
4185
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4186
|
-
type: "oauth2";
|
|
4187
|
-
nameKey: string;
|
|
4188
|
-
flows: {
|
|
4189
|
-
password?: {
|
|
4190
|
-
type: "password";
|
|
4191
|
-
password: string;
|
|
4192
|
-
username: string;
|
|
4193
|
-
token: string;
|
|
4194
|
-
refreshUrl: string;
|
|
4195
|
-
scopes: Record<string, string>;
|
|
4196
|
-
selectedScopes: string[];
|
|
4197
|
-
"x-scalar-client-id": string;
|
|
4198
|
-
tokenUrl: string;
|
|
4199
|
-
clientSecret: string;
|
|
4200
|
-
} | undefined;
|
|
4201
|
-
implicit?: {
|
|
4202
|
-
type: "implicit";
|
|
4203
|
-
token: string;
|
|
4204
|
-
refreshUrl: string;
|
|
4205
|
-
scopes: Record<string, string>;
|
|
4206
|
-
selectedScopes: string[];
|
|
4207
|
-
"x-scalar-client-id": string;
|
|
4208
|
-
authorizationUrl: string;
|
|
4209
|
-
"x-scalar-redirect-uri": string;
|
|
4210
|
-
} | undefined;
|
|
4211
|
-
clientCredentials?: {
|
|
4212
|
-
type: "clientCredentials";
|
|
4213
|
-
token: string;
|
|
4214
|
-
refreshUrl: string;
|
|
4215
|
-
scopes: Record<string, string>;
|
|
4216
|
-
selectedScopes: string[];
|
|
4217
|
-
"x-scalar-client-id": string;
|
|
4218
|
-
tokenUrl: string;
|
|
4219
|
-
clientSecret: string;
|
|
4220
|
-
} | undefined;
|
|
4221
|
-
authorizationCode?: {
|
|
4222
|
-
type: "authorizationCode";
|
|
4223
|
-
token: string;
|
|
4224
|
-
refreshUrl: string;
|
|
4225
|
-
scopes: Record<string, string>;
|
|
4226
|
-
selectedScopes: string[];
|
|
4227
|
-
"x-scalar-client-id": string;
|
|
4228
|
-
authorizationUrl: string;
|
|
4229
|
-
"x-scalar-redirect-uri": string;
|
|
4230
|
-
tokenUrl: string;
|
|
4231
|
-
clientSecret: string;
|
|
4232
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
4233
|
-
} | undefined;
|
|
4234
|
-
};
|
|
4235
|
-
description?: string | undefined;
|
|
4236
|
-
})[];
|
|
4019
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
4237
4020
|
} | undefined>;
|
|
4238
4021
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
4239
4022
|
uid?: string | undefined;
|
|
@@ -4327,83 +4110,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4327
4110
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
4328
4111
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
4329
4112
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
4330
|
-
securitySchemes: (
|
|
4331
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4332
|
-
name: string;
|
|
4333
|
-
value: string;
|
|
4334
|
-
type: "apiKey";
|
|
4335
|
-
in: "cookie" | "query" | "header";
|
|
4336
|
-
nameKey: string;
|
|
4337
|
-
description?: string | undefined;
|
|
4338
|
-
} | {
|
|
4339
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4340
|
-
type: "http";
|
|
4341
|
-
password: string;
|
|
4342
|
-
nameKey: string;
|
|
4343
|
-
scheme: "basic" | "bearer";
|
|
4344
|
-
bearerFormat: string;
|
|
4345
|
-
username: string;
|
|
4346
|
-
token: string;
|
|
4347
|
-
description?: string | undefined;
|
|
4348
|
-
} | {
|
|
4349
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4350
|
-
type: "openIdConnect";
|
|
4351
|
-
nameKey: string;
|
|
4352
|
-
openIdConnectUrl: string;
|
|
4353
|
-
description?: string | undefined;
|
|
4354
|
-
} | {
|
|
4355
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4356
|
-
type: "oauth2";
|
|
4357
|
-
nameKey: string;
|
|
4358
|
-
flows: {
|
|
4359
|
-
password?: {
|
|
4360
|
-
type: "password";
|
|
4361
|
-
password: string;
|
|
4362
|
-
username: string;
|
|
4363
|
-
token: string;
|
|
4364
|
-
refreshUrl: string;
|
|
4365
|
-
scopes: Record<string, string>;
|
|
4366
|
-
selectedScopes: string[];
|
|
4367
|
-
"x-scalar-client-id": string;
|
|
4368
|
-
tokenUrl: string;
|
|
4369
|
-
clientSecret: string;
|
|
4370
|
-
} | undefined;
|
|
4371
|
-
implicit?: {
|
|
4372
|
-
type: "implicit";
|
|
4373
|
-
token: string;
|
|
4374
|
-
refreshUrl: string;
|
|
4375
|
-
scopes: Record<string, string>;
|
|
4376
|
-
selectedScopes: string[];
|
|
4377
|
-
"x-scalar-client-id": string;
|
|
4378
|
-
authorizationUrl: string;
|
|
4379
|
-
"x-scalar-redirect-uri": string;
|
|
4380
|
-
} | undefined;
|
|
4381
|
-
clientCredentials?: {
|
|
4382
|
-
type: "clientCredentials";
|
|
4383
|
-
token: string;
|
|
4384
|
-
refreshUrl: string;
|
|
4385
|
-
scopes: Record<string, string>;
|
|
4386
|
-
selectedScopes: string[];
|
|
4387
|
-
"x-scalar-client-id": string;
|
|
4388
|
-
tokenUrl: string;
|
|
4389
|
-
clientSecret: string;
|
|
4390
|
-
} | undefined;
|
|
4391
|
-
authorizationCode?: {
|
|
4392
|
-
type: "authorizationCode";
|
|
4393
|
-
token: string;
|
|
4394
|
-
refreshUrl: string;
|
|
4395
|
-
scopes: Record<string, string>;
|
|
4396
|
-
selectedScopes: string[];
|
|
4397
|
-
"x-scalar-client-id": string;
|
|
4398
|
-
authorizationUrl: string;
|
|
4399
|
-
"x-scalar-redirect-uri": string;
|
|
4400
|
-
tokenUrl: string;
|
|
4401
|
-
clientSecret: string;
|
|
4402
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
4403
|
-
} | undefined;
|
|
4404
|
-
};
|
|
4405
|
-
description?: string | undefined;
|
|
4406
|
-
})[];
|
|
4113
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
4407
4114
|
} | undefined>>>>>;
|
|
4408
4115
|
cookieMutators: {
|
|
4409
4116
|
add: (item: {
|
|
@@ -6381,6 +6088,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6381
6088
|
} | undefined;
|
|
6382
6089
|
};
|
|
6383
6090
|
description?: string | undefined;
|
|
6091
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6384
6092
|
}) => void;
|
|
6385
6093
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
6386
6094
|
type: "apiKey";
|
|
@@ -6458,6 +6166,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6458
6166
|
} | undefined;
|
|
6459
6167
|
};
|
|
6460
6168
|
description?: string | undefined;
|
|
6169
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6461
6170
|
};
|
|
6462
6171
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
6463
6172
|
set: (item: {
|
|
@@ -6536,8 +6245,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6536
6245
|
} | undefined;
|
|
6537
6246
|
};
|
|
6538
6247
|
description?: string | undefined;
|
|
6248
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6539
6249
|
}) => void;
|
|
6540
|
-
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6250
|
+
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6541
6251
|
type: "apiKey";
|
|
6542
6252
|
value: string;
|
|
6543
6253
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6609,7 +6319,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6609
6319
|
nameKey: string;
|
|
6610
6320
|
openIdConnectUrl: string;
|
|
6611
6321
|
description?: string | undefined;
|
|
6612
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
6322
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
6613
6323
|
type: "oauth2";
|
|
6614
6324
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6615
6325
|
nameKey: string;
|
|
@@ -6661,7 +6371,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6661
6371
|
} | undefined;
|
|
6662
6372
|
};
|
|
6663
6373
|
description?: string | undefined;
|
|
6664
|
-
|
|
6374
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6375
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6665
6376
|
type: "oauth2";
|
|
6666
6377
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6667
6378
|
nameKey: string;
|
|
@@ -6713,6 +6424,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6713
6424
|
} | undefined;
|
|
6714
6425
|
};
|
|
6715
6426
|
description?: string | undefined;
|
|
6427
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6716
6428
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6717
6429
|
type: "oauth2";
|
|
6718
6430
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6765,8 +6477,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6765
6477
|
} | undefined;
|
|
6766
6478
|
};
|
|
6767
6479
|
description?: string | undefined;
|
|
6480
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6768
6481
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
6769
|
-
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6482
|
+
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6770
6483
|
type: "apiKey";
|
|
6771
6484
|
value: string;
|
|
6772
6485
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6838,7 +6551,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6838
6551
|
nameKey: string;
|
|
6839
6552
|
openIdConnectUrl: string;
|
|
6840
6553
|
description?: string | undefined;
|
|
6841
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
6554
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
6842
6555
|
type: "oauth2";
|
|
6843
6556
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6844
6557
|
nameKey: string;
|
|
@@ -6890,7 +6603,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6890
6603
|
} | undefined;
|
|
6891
6604
|
};
|
|
6892
6605
|
description?: string | undefined;
|
|
6893
|
-
|
|
6606
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6607
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6894
6608
|
type: "oauth2";
|
|
6895
6609
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6896
6610
|
nameKey: string;
|
|
@@ -6942,6 +6656,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6942
6656
|
} | undefined;
|
|
6943
6657
|
};
|
|
6944
6658
|
description?: string | undefined;
|
|
6659
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6945
6660
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6946
6661
|
type: "oauth2";
|
|
6947
6662
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6994,6 +6709,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6994
6709
|
} | undefined;
|
|
6995
6710
|
};
|
|
6996
6711
|
description?: string | undefined;
|
|
6712
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6997
6713
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
6998
6714
|
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
6999
6715
|
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|