@scalar/api-client 2.3.27 → 2.3.28
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 +10 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +4 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +2 -1
- package/dist/components/CodeInput/index.d.ts +2 -0
- package/dist/components/CodeInput/index.d.ts.map +1 -0
- package/dist/components/CodeInput/index.js +4 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/index.d.ts +2 -0
- package/dist/components/ViewLayout/index.d.ts.map +1 -0
- package/dist/components/ViewLayout/index.js +4 -0
- package/dist/layouts/App/create-api-client-app.d.ts +10 -10
- package/dist/layouts/Modal/create-api-client-modal.d.ts +20 -20
- package/dist/layouts/Web/create-api-client-web.d.ts +10 -10
- package/dist/libs/create-client.d.ts +10 -10
- package/dist/store/security-schemes.d.ts +10 -10
- package/dist/store/store.d.ts +10 -10
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +23 -22
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +20 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.3.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d24800: chore: export view layout collapse component
|
|
8
|
+
- Updated dependencies [5d24800]
|
|
9
|
+
- @scalar/oas-utils@0.2.138
|
|
10
|
+
- @scalar/import@0.3.21
|
|
11
|
+
- @scalar/postman-to-openapi@0.2.11
|
|
12
|
+
|
|
3
13
|
## 2.3.27
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
2
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
3
|
-
import { type CodeMirrorLanguage } from '@scalar/use-codemirror';
|
|
3
|
+
import { type CodeMirrorLanguage, type Extension } from '@scalar/use-codemirror';
|
|
4
4
|
import { type Ref } from 'vue';
|
|
5
5
|
import type { EnvVariable } from '../../store/active-entities';
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
@@ -9,6 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
modelValue: string | number;
|
|
10
10
|
error?: boolean;
|
|
11
11
|
emitOnBlur?: boolean;
|
|
12
|
+
extensions?: Extension[];
|
|
12
13
|
lineNumbers?: boolean;
|
|
13
14
|
lint?: boolean;
|
|
14
15
|
disableTabIndent?: boolean;
|
|
@@ -51,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
51
52
|
modelValue: string | number;
|
|
52
53
|
error?: boolean;
|
|
53
54
|
emitOnBlur?: boolean;
|
|
55
|
+
extensions?: Extension[];
|
|
54
56
|
lineNumbers?: boolean;
|
|
55
57
|
lint?: boolean;
|
|
56
58
|
disableTabIndent?: boolean;
|
|
@@ -83,6 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
83
85
|
disabled: boolean;
|
|
84
86
|
colorPicker: boolean;
|
|
85
87
|
emitOnBlur: boolean;
|
|
88
|
+
extensions: Extension[];
|
|
86
89
|
disableTabIndent: boolean;
|
|
87
90
|
disableEnter: boolean;
|
|
88
91
|
disableCloseBrackets: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAkiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACf,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAYxC,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;mBACL,OAAO;;IA+LxB,0BAA0B;;0BAjJC,MAAM;0BA0BN,MAAM;wBAOR,MAAM;;;;;;;;;;kBA1Gf,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;mBACL,OAAO;;;;;;;cARX,OAAO;cAlBP,OAAO;iBADJ,OAAO;gBAIR,OAAO;gBACP,SAAS,EAAE;sBAGL,OAAO;kBAMX,OAAO;0BACC,OAAO;mBAKd,OAAO;gBAEV,OAAO;kBAKL,OAAO;;qBA6iBI,GAAG;kBACN,GAAG;;AA5kB9B,wBAuoBC;AAeD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-397d9ece"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
_ as default
|
|
8
8
|
};
|
|
@@ -35,6 +35,7 @@ const fe = { class: "whitespace-nowrap" }, me = ["id"], ce = {
|
|
|
35
35
|
modelValue: {},
|
|
36
36
|
error: { type: Boolean },
|
|
37
37
|
emitOnBlur: { type: Boolean, default: !0 },
|
|
38
|
+
extensions: { default: () => [] },
|
|
38
39
|
lineNumbers: { type: Boolean },
|
|
39
40
|
lint: { type: Boolean },
|
|
40
41
|
disableTabIndent: { type: Boolean, default: !1 },
|
|
@@ -78,7 +79,7 @@ const fe = { class: "whitespace-nowrap" }, me = ["id"], ce = {
|
|
|
78
79
|
function T(e) {
|
|
79
80
|
x.value = !1, o.emitOnBlur && o.modelValue && V(e), i("blur", e);
|
|
80
81
|
}
|
|
81
|
-
const E = [];
|
|
82
|
+
const E = [...o.extensions];
|
|
82
83
|
o.colorPicker && E.push(ae);
|
|
83
84
|
const L = y(
|
|
84
85
|
() => ue({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -38,6 +38,7 @@ declare function __VLS_template(): {
|
|
|
38
38
|
readonly modelValue: string | number;
|
|
39
39
|
readonly error?: boolean;
|
|
40
40
|
readonly emitOnBlur?: boolean;
|
|
41
|
+
readonly extensions?: import("@codemirror/state").Extension[];
|
|
41
42
|
readonly lineNumbers?: boolean;
|
|
42
43
|
readonly lint?: boolean;
|
|
43
44
|
readonly disableTabIndent?: boolean;
|
|
@@ -85,6 +86,7 @@ declare function __VLS_template(): {
|
|
|
85
86
|
modelValue: string | number;
|
|
86
87
|
error?: boolean;
|
|
87
88
|
emitOnBlur?: boolean;
|
|
89
|
+
extensions?: import("@codemirror/state").Extension[];
|
|
88
90
|
lineNumbers?: boolean;
|
|
89
91
|
lint?: boolean;
|
|
90
92
|
disableTabIndent?: boolean;
|
|
@@ -130,6 +132,7 @@ declare function __VLS_template(): {
|
|
|
130
132
|
disabled: boolean;
|
|
131
133
|
colorPicker: boolean;
|
|
132
134
|
emitOnBlur: boolean;
|
|
135
|
+
extensions: import("@codemirror/state").Extension[];
|
|
133
136
|
disableTabIndent: boolean;
|
|
134
137
|
disableEnter: boolean;
|
|
135
138
|
disableCloseBrackets: boolean;
|
|
@@ -161,6 +164,7 @@ declare function __VLS_template(): {
|
|
|
161
164
|
disabled: boolean;
|
|
162
165
|
colorPicker: boolean;
|
|
163
166
|
emitOnBlur: boolean;
|
|
167
|
+
extensions: import("@codemirror/state").Extension[];
|
|
164
168
|
disableTabIndent: boolean;
|
|
165
169
|
disableEnter: boolean;
|
|
166
170
|
disableCloseBrackets: boolean;
|
|
@@ -173,6 +177,7 @@ declare function __VLS_template(): {
|
|
|
173
177
|
modelValue: string | number;
|
|
174
178
|
error?: boolean;
|
|
175
179
|
emitOnBlur?: boolean;
|
|
180
|
+
extensions?: import("@codemirror/state").Extension[];
|
|
176
181
|
lineNumbers?: boolean;
|
|
177
182
|
lint?: boolean;
|
|
178
183
|
disableTabIndent?: boolean;
|
|
@@ -200,7 +205,7 @@ declare function __VLS_template(): {
|
|
|
200
205
|
"onUpdate:modelValue"?: (v: string) => any;
|
|
201
206
|
onBlur?: (v: string) => any;
|
|
202
207
|
onCurl?: (v: string) => any;
|
|
203
|
-
}>, "modelValue" | "handleBlur" | "focus" | "codeMirror" | "handleChange" | "handleSubmit" | "booleanOptions" | ("nullable" | "disabled" | "colorPicker" | "emitOnBlur" | "disableTabIndent" | "disableEnter" | "disableCloseBrackets" | "withVariables" | "isCopyable" | "lineWrapping")> & import("vue").ShallowUnwrapRef<{
|
|
208
|
+
}>, "modelValue" | "handleBlur" | "focus" | "codeMirror" | "handleChange" | "handleSubmit" | "booleanOptions" | ("nullable" | "disabled" | "colorPicker" | "emitOnBlur" | "extensions" | "disableTabIndent" | "disableEnter" | "disableCloseBrackets" | "withVariables" | "isCopyable" | "lineWrapping")> & import("vue").ShallowUnwrapRef<{
|
|
204
209
|
focus: () => void;
|
|
205
210
|
handleChange: (value: string) => void | null;
|
|
206
211
|
handleSubmit: (value: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAqMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAO/C,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,sEAAsE;IACtE,cAAc,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAsDJ,iBAAS,cAAc;WA4OT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;sBACN,GAAG
|
|
1
|
+
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAqMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAO/C,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,sEAAsE;IACtE,cAAc,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAsDJ,iBAAS,cAAc;WA4OT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;sBACN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAkEmwI,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EApDt5I;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cAzUN,OAAO;cAIP,OAAO;kBAQH,OAAO;2BATE,OAAO;6EA8UjC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAepG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -303,8 +303,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
303
303
|
}>;
|
|
304
304
|
securitySchemes: Record<string, {
|
|
305
305
|
name: string;
|
|
306
|
-
type: "apiKey";
|
|
307
306
|
value: string;
|
|
307
|
+
type: "apiKey";
|
|
308
308
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
309
309
|
nameKey: string;
|
|
310
310
|
in: "cookie" | "query" | "header";
|
|
@@ -2628,8 +2628,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2628
2628
|
securitySchemeMutators: {
|
|
2629
2629
|
rawAdd: (item: {
|
|
2630
2630
|
name: string;
|
|
2631
|
-
type: "apiKey";
|
|
2632
2631
|
value: string;
|
|
2632
|
+
type: "apiKey";
|
|
2633
2633
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2634
2634
|
nameKey: string;
|
|
2635
2635
|
in: "cookie" | "query" | "header";
|
|
@@ -2706,8 +2706,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2706
2706
|
}) => void;
|
|
2707
2707
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2708
2708
|
name: string;
|
|
2709
|
-
type: "apiKey";
|
|
2710
2709
|
value: string;
|
|
2710
|
+
type: "apiKey";
|
|
2711
2711
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2712
2712
|
nameKey: string;
|
|
2713
2713
|
in: "cookie" | "query" | "header";
|
|
@@ -2785,8 +2785,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2785
2785
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
2786
2786
|
set: (item: {
|
|
2787
2787
|
name: string;
|
|
2788
|
-
type: "apiKey";
|
|
2789
2788
|
value: string;
|
|
2789
|
+
type: "apiKey";
|
|
2790
2790
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2791
2791
|
nameKey: string;
|
|
2792
2792
|
in: "cookie" | "query" | "header";
|
|
@@ -2863,24 +2863,24 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2863
2863
|
}) => void;
|
|
2864
2864
|
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" ? {
|
|
2865
2865
|
name: string;
|
|
2866
|
-
type: "apiKey";
|
|
2867
2866
|
value: string;
|
|
2867
|
+
type: "apiKey";
|
|
2868
2868
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2869
2869
|
nameKey: string;
|
|
2870
2870
|
in: "cookie" | "query" | "header";
|
|
2871
2871
|
description?: string | undefined;
|
|
2872
2872
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2873
2873
|
name: string;
|
|
2874
|
-
type: "apiKey";
|
|
2875
2874
|
value: string;
|
|
2875
|
+
type: "apiKey";
|
|
2876
2876
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2877
2877
|
nameKey: string;
|
|
2878
2878
|
in: "cookie" | "query" | "header";
|
|
2879
2879
|
description?: string | undefined;
|
|
2880
2880
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2881
2881
|
name: string;
|
|
2882
|
-
type: "apiKey";
|
|
2883
2882
|
value: string;
|
|
2883
|
+
type: "apiKey";
|
|
2884
2884
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2885
2885
|
nameKey: string;
|
|
2886
2886
|
in: "cookie" | "query" | "header";
|
|
@@ -3095,24 +3095,24 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3095
3095
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3096
3096
|
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" ? {
|
|
3097
3097
|
name: string;
|
|
3098
|
-
type: "apiKey";
|
|
3099
3098
|
value: string;
|
|
3099
|
+
type: "apiKey";
|
|
3100
3100
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3101
3101
|
nameKey: string;
|
|
3102
3102
|
in: "cookie" | "query" | "header";
|
|
3103
3103
|
description?: string | undefined;
|
|
3104
3104
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3105
3105
|
name: string;
|
|
3106
|
-
type: "apiKey";
|
|
3107
3106
|
value: string;
|
|
3107
|
+
type: "apiKey";
|
|
3108
3108
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3109
3109
|
nameKey: string;
|
|
3110
3110
|
in: "cookie" | "query" | "header";
|
|
3111
3111
|
description?: string | undefined;
|
|
3112
3112
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3113
3113
|
name: string;
|
|
3114
|
-
type: "apiKey";
|
|
3115
3114
|
value: string;
|
|
3115
|
+
type: "apiKey";
|
|
3116
3116
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3117
3117
|
nameKey: string;
|
|
3118
3118
|
in: "cookie" | "query" | "header";
|
|
@@ -305,8 +305,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
305
305
|
}>;
|
|
306
306
|
securitySchemes: Record<string, {
|
|
307
307
|
name: string;
|
|
308
|
-
type: "apiKey";
|
|
309
308
|
value: string;
|
|
309
|
+
type: "apiKey";
|
|
310
310
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
311
311
|
nameKey: string;
|
|
312
312
|
in: "cookie" | "query" | "header";
|
|
@@ -2630,8 +2630,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2630
2630
|
securitySchemeMutators: {
|
|
2631
2631
|
rawAdd: (item: {
|
|
2632
2632
|
name: string;
|
|
2633
|
-
type: "apiKey";
|
|
2634
2633
|
value: string;
|
|
2634
|
+
type: "apiKey";
|
|
2635
2635
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2636
2636
|
nameKey: string;
|
|
2637
2637
|
in: "cookie" | "query" | "header";
|
|
@@ -2708,8 +2708,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2708
2708
|
}) => void;
|
|
2709
2709
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2710
2710
|
name: string;
|
|
2711
|
-
type: "apiKey";
|
|
2712
2711
|
value: string;
|
|
2712
|
+
type: "apiKey";
|
|
2713
2713
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2714
2714
|
nameKey: string;
|
|
2715
2715
|
in: "cookie" | "query" | "header";
|
|
@@ -2787,8 +2787,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2787
2787
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
2788
2788
|
set: (item: {
|
|
2789
2789
|
name: string;
|
|
2790
|
-
type: "apiKey";
|
|
2791
2790
|
value: string;
|
|
2791
|
+
type: "apiKey";
|
|
2792
2792
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2793
2793
|
nameKey: string;
|
|
2794
2794
|
in: "cookie" | "query" | "header";
|
|
@@ -2865,24 +2865,24 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2865
2865
|
}) => void;
|
|
2866
2866
|
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" ? {
|
|
2867
2867
|
name: string;
|
|
2868
|
-
type: "apiKey";
|
|
2869
2868
|
value: string;
|
|
2869
|
+
type: "apiKey";
|
|
2870
2870
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2871
2871
|
nameKey: string;
|
|
2872
2872
|
in: "cookie" | "query" | "header";
|
|
2873
2873
|
description?: string | undefined;
|
|
2874
2874
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2875
2875
|
name: string;
|
|
2876
|
-
type: "apiKey";
|
|
2877
2876
|
value: string;
|
|
2877
|
+
type: "apiKey";
|
|
2878
2878
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2879
2879
|
nameKey: string;
|
|
2880
2880
|
in: "cookie" | "query" | "header";
|
|
2881
2881
|
description?: string | undefined;
|
|
2882
2882
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2883
2883
|
name: string;
|
|
2884
|
-
type: "apiKey";
|
|
2885
2884
|
value: string;
|
|
2885
|
+
type: "apiKey";
|
|
2886
2886
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2887
2887
|
nameKey: string;
|
|
2888
2888
|
in: "cookie" | "query" | "header";
|
|
@@ -3097,24 +3097,24 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3097
3097
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3098
3098
|
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" ? {
|
|
3099
3099
|
name: string;
|
|
3100
|
-
type: "apiKey";
|
|
3101
3100
|
value: string;
|
|
3101
|
+
type: "apiKey";
|
|
3102
3102
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3103
3103
|
nameKey: string;
|
|
3104
3104
|
in: "cookie" | "query" | "header";
|
|
3105
3105
|
description?: string | undefined;
|
|
3106
3106
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3107
3107
|
name: string;
|
|
3108
|
-
type: "apiKey";
|
|
3109
3108
|
value: string;
|
|
3109
|
+
type: "apiKey";
|
|
3110
3110
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3111
3111
|
nameKey: string;
|
|
3112
3112
|
in: "cookie" | "query" | "header";
|
|
3113
3113
|
description?: string | undefined;
|
|
3114
3114
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3115
3115
|
name: string;
|
|
3116
|
-
type: "apiKey";
|
|
3117
3116
|
value: string;
|
|
3117
|
+
type: "apiKey";
|
|
3118
3118
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3119
3119
|
nameKey: string;
|
|
3120
3120
|
in: "cookie" | "query" | "header";
|
|
@@ -4089,8 +4089,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4089
4089
|
}>;
|
|
4090
4090
|
securitySchemes: Record<string, {
|
|
4091
4091
|
name: string;
|
|
4092
|
-
type: "apiKey";
|
|
4093
4092
|
value: string;
|
|
4093
|
+
type: "apiKey";
|
|
4094
4094
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4095
4095
|
nameKey: string;
|
|
4096
4096
|
in: "cookie" | "query" | "header";
|
|
@@ -6414,8 +6414,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6414
6414
|
securitySchemeMutators: {
|
|
6415
6415
|
rawAdd: (item: {
|
|
6416
6416
|
name: string;
|
|
6417
|
-
type: "apiKey";
|
|
6418
6417
|
value: string;
|
|
6418
|
+
type: "apiKey";
|
|
6419
6419
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6420
6420
|
nameKey: string;
|
|
6421
6421
|
in: "cookie" | "query" | "header";
|
|
@@ -6492,8 +6492,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6492
6492
|
}) => void;
|
|
6493
6493
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
6494
6494
|
name: string;
|
|
6495
|
-
type: "apiKey";
|
|
6496
6495
|
value: string;
|
|
6496
|
+
type: "apiKey";
|
|
6497
6497
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6498
6498
|
nameKey: string;
|
|
6499
6499
|
in: "cookie" | "query" | "header";
|
|
@@ -6571,8 +6571,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6571
6571
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
6572
6572
|
set: (item: {
|
|
6573
6573
|
name: string;
|
|
6574
|
-
type: "apiKey";
|
|
6575
6574
|
value: string;
|
|
6575
|
+
type: "apiKey";
|
|
6576
6576
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6577
6577
|
nameKey: string;
|
|
6578
6578
|
in: "cookie" | "query" | "header";
|
|
@@ -6649,24 +6649,24 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6649
6649
|
}) => void;
|
|
6650
6650
|
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" ? {
|
|
6651
6651
|
name: string;
|
|
6652
|
-
type: "apiKey";
|
|
6653
6652
|
value: string;
|
|
6653
|
+
type: "apiKey";
|
|
6654
6654
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6655
6655
|
nameKey: string;
|
|
6656
6656
|
in: "cookie" | "query" | "header";
|
|
6657
6657
|
description?: string | undefined;
|
|
6658
6658
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6659
6659
|
name: string;
|
|
6660
|
-
type: "apiKey";
|
|
6661
6660
|
value: string;
|
|
6661
|
+
type: "apiKey";
|
|
6662
6662
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6663
6663
|
nameKey: string;
|
|
6664
6664
|
in: "cookie" | "query" | "header";
|
|
6665
6665
|
description?: string | undefined;
|
|
6666
6666
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6667
6667
|
name: string;
|
|
6668
|
-
type: "apiKey";
|
|
6669
6668
|
value: string;
|
|
6669
|
+
type: "apiKey";
|
|
6670
6670
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6671
6671
|
nameKey: string;
|
|
6672
6672
|
in: "cookie" | "query" | "header";
|
|
@@ -6881,24 +6881,24 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6881
6881
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
6882
6882
|
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" ? {
|
|
6883
6883
|
name: string;
|
|
6884
|
-
type: "apiKey";
|
|
6885
6884
|
value: string;
|
|
6885
|
+
type: "apiKey";
|
|
6886
6886
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6887
6887
|
nameKey: string;
|
|
6888
6888
|
in: "cookie" | "query" | "header";
|
|
6889
6889
|
description?: string | undefined;
|
|
6890
6890
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6891
6891
|
name: string;
|
|
6892
|
-
type: "apiKey";
|
|
6893
6892
|
value: string;
|
|
6893
|
+
type: "apiKey";
|
|
6894
6894
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6895
6895
|
nameKey: string;
|
|
6896
6896
|
in: "cookie" | "query" | "header";
|
|
6897
6897
|
description?: string | undefined;
|
|
6898
6898
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6899
6899
|
name: string;
|
|
6900
|
-
type: "apiKey";
|
|
6901
6900
|
value: string;
|
|
6901
|
+
type: "apiKey";
|
|
6902
6902
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6903
6903
|
nameKey: string;
|
|
6904
6904
|
in: "cookie" | "query" | "header";
|
|
@@ -303,8 +303,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
303
303
|
}>;
|
|
304
304
|
securitySchemes: Record<string, {
|
|
305
305
|
name: string;
|
|
306
|
-
type: "apiKey";
|
|
307
306
|
value: string;
|
|
307
|
+
type: "apiKey";
|
|
308
308
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
309
309
|
nameKey: string;
|
|
310
310
|
in: "cookie" | "query" | "header";
|
|
@@ -2628,8 +2628,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2628
2628
|
securitySchemeMutators: {
|
|
2629
2629
|
rawAdd: (item: {
|
|
2630
2630
|
name: string;
|
|
2631
|
-
type: "apiKey";
|
|
2632
2631
|
value: string;
|
|
2632
|
+
type: "apiKey";
|
|
2633
2633
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2634
2634
|
nameKey: string;
|
|
2635
2635
|
in: "cookie" | "query" | "header";
|
|
@@ -2706,8 +2706,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2706
2706
|
}) => void;
|
|
2707
2707
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2708
2708
|
name: string;
|
|
2709
|
-
type: "apiKey";
|
|
2710
2709
|
value: string;
|
|
2710
|
+
type: "apiKey";
|
|
2711
2711
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2712
2712
|
nameKey: string;
|
|
2713
2713
|
in: "cookie" | "query" | "header";
|
|
@@ -2785,8 +2785,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2785
2785
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
2786
2786
|
set: (item: {
|
|
2787
2787
|
name: string;
|
|
2788
|
-
type: "apiKey";
|
|
2789
2788
|
value: string;
|
|
2789
|
+
type: "apiKey";
|
|
2790
2790
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2791
2791
|
nameKey: string;
|
|
2792
2792
|
in: "cookie" | "query" | "header";
|
|
@@ -2863,24 +2863,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2863
2863
|
}) => void;
|
|
2864
2864
|
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" ? {
|
|
2865
2865
|
name: string;
|
|
2866
|
-
type: "apiKey";
|
|
2867
2866
|
value: string;
|
|
2867
|
+
type: "apiKey";
|
|
2868
2868
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2869
2869
|
nameKey: string;
|
|
2870
2870
|
in: "cookie" | "query" | "header";
|
|
2871
2871
|
description?: string | undefined;
|
|
2872
2872
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2873
2873
|
name: string;
|
|
2874
|
-
type: "apiKey";
|
|
2875
2874
|
value: string;
|
|
2875
|
+
type: "apiKey";
|
|
2876
2876
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2877
2877
|
nameKey: string;
|
|
2878
2878
|
in: "cookie" | "query" | "header";
|
|
2879
2879
|
description?: string | undefined;
|
|
2880
2880
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2881
2881
|
name: string;
|
|
2882
|
-
type: "apiKey";
|
|
2883
2882
|
value: string;
|
|
2883
|
+
type: "apiKey";
|
|
2884
2884
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2885
2885
|
nameKey: string;
|
|
2886
2886
|
in: "cookie" | "query" | "header";
|
|
@@ -3095,24 +3095,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3095
3095
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3096
3096
|
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" ? {
|
|
3097
3097
|
name: string;
|
|
3098
|
-
type: "apiKey";
|
|
3099
3098
|
value: string;
|
|
3099
|
+
type: "apiKey";
|
|
3100
3100
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3101
3101
|
nameKey: string;
|
|
3102
3102
|
in: "cookie" | "query" | "header";
|
|
3103
3103
|
description?: string | undefined;
|
|
3104
3104
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3105
3105
|
name: string;
|
|
3106
|
-
type: "apiKey";
|
|
3107
3106
|
value: string;
|
|
3107
|
+
type: "apiKey";
|
|
3108
3108
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3109
3109
|
nameKey: string;
|
|
3110
3110
|
in: "cookie" | "query" | "header";
|
|
3111
3111
|
description?: string | undefined;
|
|
3112
3112
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3113
3113
|
name: string;
|
|
3114
|
-
type: "apiKey";
|
|
3115
3114
|
value: string;
|
|
3115
|
+
type: "apiKey";
|
|
3116
3116
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3117
3117
|
nameKey: string;
|
|
3118
3118
|
in: "cookie" | "query" | "header";
|