@scalar/api-client 2.5.13 → 2.5.16
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 +77 -0
- package/README.md +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +3 -3
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.js +11 -10
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +10 -10
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +129 -116
- package/dist/components/DataTable/DataTableCell.vue.js +8 -8
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +2 -2
- package/dist/components/Form/Form.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +7 -7
- package/dist/components/ImportCollection/PrefetchError.vue.js +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +1 -1
- package/dist/components/ImportCollection/utils/get-openapi-version.d.ts +5 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.js +20 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts +2 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/import-collection.js +1 -1
- package/dist/components/ImportCollection/utils/{isDocument.d.ts → is-document.d.ts} +2 -2
- package/dist/components/ImportCollection/utils/is-document.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/is-document.js +9 -0
- package/dist/components/ImportCollection/utils/is-document.test.d.ts +2 -0
- package/dist/components/ImportCollection/utils/is-document.test.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/is-url.d.ts +5 -0
- package/dist/components/ImportCollection/utils/is-url.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/is-url.js +9 -0
- package/dist/components/ImportCollection/utils/is-url.test.d.ts +2 -0
- package/dist/components/ImportCollection/utils/is-url.test.d.ts.map +1 -0
- package/dist/components/OpenApiClientButton.vue.js +2 -2
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +8 -8
- package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerSelector.vue.js +13 -13
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.js +3 -3
- package/dist/components/TopNav/TopNav.vue.js +10 -10
- package/dist/components/TopNav/TopNavItem.vue.js +1 -1
- package/dist/components/TopNav/TopNavItem.vue2.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +5 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +42 -36
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +4 -4
- package/dist/hooks/useClientConfig.d.ts +42 -36
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +202 -162
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +404 -324
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +202 -162
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +202 -162
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +5 -5
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/get-request-uid-by-path-method.d.ts.map +1 -1
- package/dist/libs/get-request-uid-by-path-method.js +15 -7
- package/dist/libs/send-request/create-request-operation.js +10 -10
- package/dist/libs/send-request/create-request-operation.test.d.ts +33 -33
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.d.ts +5 -3
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.js +17 -9
- package/dist/plugins/plugin-manager.test.d.ts +2 -0
- package/dist/plugins/plugin-manager.test.d.ts.map +1 -0
- package/dist/store/active-entities.d.ts +33 -33
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +130 -130
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +55 -55
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +42 -2
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +204 -164
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.js +2 -2
- package/dist/views/Collection/components/EnvironmentForm.vue.js +2 -2
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue.js +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue2.js +32 -26
- package/dist/views/Cookies/CookieForm.vue.js +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +67 -61
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +98 -92
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +126 -122
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +22 -22
- package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +9 -9
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +9 -9
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +9 -9
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +39 -39
- package/dist/views/Settings/SettingsGeneral.vue.js +2 -2
- package/package.json +19 -19
- package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.d.ts +0 -5
- package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.js +0 -20
- package/dist/components/ImportCollection/utils/isDocument.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/isDocument.js +0 -7
- package/dist/components/ImportCollection/utils/isUrl.d.ts +0 -3
- package/dist/components/ImportCollection/utils/isUrl.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/isUrl.js +0 -6
|
@@ -139,34 +139,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
139
139
|
uid: string & import("zod").BRAND<"example">;
|
|
140
140
|
name: string;
|
|
141
141
|
type: "requestExample";
|
|
142
|
-
body: {
|
|
143
|
-
activeBody: "binary" | "formData" | "raw";
|
|
144
|
-
binary?: Blob | undefined;
|
|
145
|
-
formData?: {
|
|
146
|
-
value: {
|
|
147
|
-
value: string;
|
|
148
|
-
key: string;
|
|
149
|
-
enabled: boolean;
|
|
150
|
-
minimum?: number | undefined;
|
|
151
|
-
type?: string | string[] | undefined;
|
|
152
|
-
maximum?: number | undefined;
|
|
153
|
-
description?: string | undefined;
|
|
154
|
-
default?: any;
|
|
155
|
-
required?: boolean | undefined;
|
|
156
|
-
enum?: string[] | undefined;
|
|
157
|
-
format?: string | undefined;
|
|
158
|
-
examples?: any[] | undefined;
|
|
159
|
-
file?: any;
|
|
160
|
-
nullable?: boolean | undefined;
|
|
161
|
-
}[];
|
|
162
|
-
encoding: "form-data" | "urlencoded";
|
|
163
|
-
} | undefined;
|
|
164
|
-
raw?: {
|
|
165
|
-
value: string;
|
|
166
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
167
|
-
mimeType?: string | undefined;
|
|
168
|
-
} | undefined;
|
|
169
|
-
};
|
|
170
142
|
parameters: {
|
|
171
143
|
path: {
|
|
172
144
|
value: string;
|
|
@@ -233,6 +205,34 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
233
205
|
nullable?: boolean | undefined;
|
|
234
206
|
}[];
|
|
235
207
|
};
|
|
208
|
+
body: {
|
|
209
|
+
activeBody: "binary" | "formData" | "raw";
|
|
210
|
+
binary?: Blob | undefined;
|
|
211
|
+
formData?: {
|
|
212
|
+
value: {
|
|
213
|
+
value: string;
|
|
214
|
+
key: string;
|
|
215
|
+
enabled: boolean;
|
|
216
|
+
minimum?: number | undefined;
|
|
217
|
+
type?: string | string[] | undefined;
|
|
218
|
+
maximum?: number | undefined;
|
|
219
|
+
description?: string | undefined;
|
|
220
|
+
default?: any;
|
|
221
|
+
required?: boolean | undefined;
|
|
222
|
+
enum?: string[] | undefined;
|
|
223
|
+
format?: string | undefined;
|
|
224
|
+
examples?: any[] | undefined;
|
|
225
|
+
file?: any;
|
|
226
|
+
nullable?: boolean | undefined;
|
|
227
|
+
}[];
|
|
228
|
+
encoding: "form-data" | "urlencoded";
|
|
229
|
+
} | undefined;
|
|
230
|
+
raw?: {
|
|
231
|
+
value: string;
|
|
232
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
233
|
+
mimeType?: string | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
};
|
|
236
236
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
237
237
|
serverVariables?: Record<string, string[]> | undefined;
|
|
238
238
|
}>;
|
|
@@ -244,7 +244,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
244
244
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
245
245
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
246
246
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
247
|
-
method: "options" | "
|
|
247
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
248
248
|
description?: string | undefined;
|
|
249
249
|
summary?: string | undefined;
|
|
250
250
|
externalDocs?: {
|
|
@@ -257,6 +257,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
257
257
|
tags?: string[] | undefined;
|
|
258
258
|
deprecated?: boolean | undefined;
|
|
259
259
|
operationId?: string | undefined;
|
|
260
|
+
requestBody?: any;
|
|
260
261
|
parameters?: {
|
|
261
262
|
name: string;
|
|
262
263
|
required: boolean;
|
|
@@ -269,16 +270,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
269
270
|
summary?: string | undefined;
|
|
270
271
|
externalValue?: string | undefined;
|
|
271
272
|
}> | undefined;
|
|
273
|
+
schema?: unknown;
|
|
272
274
|
content?: unknown;
|
|
273
275
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
274
276
|
explode?: boolean | undefined;
|
|
275
|
-
schema?: unknown;
|
|
276
277
|
}[] | undefined;
|
|
277
|
-
requestBody?: any;
|
|
278
278
|
responses?: Record<string, any> | undefined;
|
|
279
279
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
280
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
281
|
-
'x-post-response'?: string | undefined;
|
|
282
280
|
'x-codeSamples'?: {
|
|
283
281
|
source: string;
|
|
284
282
|
label?: string | undefined;
|
|
@@ -294,6 +292,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
294
292
|
label?: string | undefined;
|
|
295
293
|
lang?: string | undefined;
|
|
296
294
|
}[] | undefined;
|
|
295
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
296
|
+
'x-post-response'?: string | undefined;
|
|
297
297
|
}>;
|
|
298
298
|
servers: Record<string, {
|
|
299
299
|
uid: string & import("zod").BRAND<"server">;
|
|
@@ -347,6 +347,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
347
347
|
tokenUrl: string;
|
|
348
348
|
clientSecret: string;
|
|
349
349
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
350
|
+
"x-tokenName"?: string | undefined;
|
|
350
351
|
} | undefined;
|
|
351
352
|
implicit?: {
|
|
352
353
|
type: "implicit";
|
|
@@ -358,6 +359,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
358
359
|
authorizationUrl: string;
|
|
359
360
|
"x-scalar-redirect-uri": string;
|
|
360
361
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
362
|
+
"x-tokenName"?: string | undefined;
|
|
361
363
|
} | undefined;
|
|
362
364
|
clientCredentials?: {
|
|
363
365
|
type: "clientCredentials";
|
|
@@ -369,6 +371,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
369
371
|
tokenUrl: string;
|
|
370
372
|
clientSecret: string;
|
|
371
373
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
374
|
+
"x-tokenName"?: string | undefined;
|
|
372
375
|
} | undefined;
|
|
373
376
|
authorizationCode?: {
|
|
374
377
|
type: "authorizationCode";
|
|
@@ -383,6 +386,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
383
386
|
clientSecret: string;
|
|
384
387
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
385
388
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
389
|
+
"x-tokenName"?: string | undefined;
|
|
386
390
|
} | undefined;
|
|
387
391
|
};
|
|
388
392
|
description?: string | undefined;
|
|
@@ -408,7 +412,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
408
412
|
proxyUrl: string | undefined;
|
|
409
413
|
hideClientButton: boolean;
|
|
410
414
|
showSidebar: boolean;
|
|
411
|
-
integration: "elysiajs" | "fastify" | "go" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "
|
|
415
|
+
integration: "elysiajs" | "fastify" | "go" | "rust" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "svelte" | "vue" | null | undefined;
|
|
412
416
|
importSpecFile: (_spec: string | Record<string, any> | undefined, workspaceUid: string, options?: Pick<{
|
|
413
417
|
uid?: string | undefined;
|
|
414
418
|
type?: "collection" | undefined;
|
|
@@ -1233,7 +1237,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1233
1237
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1234
1238
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1235
1239
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1236
|
-
method: "options" | "
|
|
1240
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1237
1241
|
description?: string | undefined;
|
|
1238
1242
|
summary?: string | undefined;
|
|
1239
1243
|
externalDocs?: {
|
|
@@ -1246,6 +1250,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1246
1250
|
tags?: string[] | undefined;
|
|
1247
1251
|
deprecated?: boolean | undefined;
|
|
1248
1252
|
operationId?: string | undefined;
|
|
1253
|
+
requestBody?: any;
|
|
1249
1254
|
parameters?: {
|
|
1250
1255
|
name: string;
|
|
1251
1256
|
required: boolean;
|
|
@@ -1258,16 +1263,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1258
1263
|
summary?: string | undefined;
|
|
1259
1264
|
externalValue?: string | undefined;
|
|
1260
1265
|
}> | undefined;
|
|
1266
|
+
schema?: unknown;
|
|
1261
1267
|
content?: unknown;
|
|
1262
1268
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1263
1269
|
explode?: boolean | undefined;
|
|
1264
|
-
schema?: unknown;
|
|
1265
1270
|
}[] | undefined;
|
|
1266
|
-
requestBody?: any;
|
|
1267
1271
|
responses?: Record<string, any> | undefined;
|
|
1268
1272
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1269
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1270
|
-
'x-post-response'?: string | undefined;
|
|
1271
1273
|
'x-codeSamples'?: {
|
|
1272
1274
|
source: string;
|
|
1273
1275
|
label?: string | undefined;
|
|
@@ -1283,6 +1285,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1283
1285
|
label?: string | undefined;
|
|
1284
1286
|
lang?: string | undefined;
|
|
1285
1287
|
}[] | undefined;
|
|
1288
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1289
|
+
'x-post-response'?: string | undefined;
|
|
1286
1290
|
}) => void;
|
|
1287
1291
|
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1288
1292
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -1292,7 +1296,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1292
1296
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1293
1297
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1294
1298
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1295
|
-
method: "options" | "
|
|
1299
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1296
1300
|
description?: string | undefined;
|
|
1297
1301
|
summary?: string | undefined;
|
|
1298
1302
|
externalDocs?: {
|
|
@@ -1305,6 +1309,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1305
1309
|
tags?: string[] | undefined;
|
|
1306
1310
|
deprecated?: boolean | undefined;
|
|
1307
1311
|
operationId?: string | undefined;
|
|
1312
|
+
requestBody?: any;
|
|
1308
1313
|
parameters?: {
|
|
1309
1314
|
name: string;
|
|
1310
1315
|
required: boolean;
|
|
@@ -1317,16 +1322,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1317
1322
|
summary?: string | undefined;
|
|
1318
1323
|
externalValue?: string | undefined;
|
|
1319
1324
|
}> | undefined;
|
|
1325
|
+
schema?: unknown;
|
|
1320
1326
|
content?: unknown;
|
|
1321
1327
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1322
1328
|
explode?: boolean | undefined;
|
|
1323
|
-
schema?: unknown;
|
|
1324
1329
|
}[] | undefined;
|
|
1325
|
-
requestBody?: any;
|
|
1326
1330
|
responses?: Record<string, any> | undefined;
|
|
1327
1331
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1328
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1329
|
-
'x-post-response'?: string | undefined;
|
|
1330
1332
|
'x-codeSamples'?: {
|
|
1331
1333
|
source: string;
|
|
1332
1334
|
label?: string | undefined;
|
|
@@ -1342,6 +1344,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1342
1344
|
label?: string | undefined;
|
|
1343
1345
|
lang?: string | undefined;
|
|
1344
1346
|
}[] | undefined;
|
|
1347
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1348
|
+
'x-post-response'?: string | undefined;
|
|
1345
1349
|
};
|
|
1346
1350
|
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1347
1351
|
set: (item: {
|
|
@@ -1352,7 +1356,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1352
1356
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1353
1357
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1354
1358
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1355
|
-
method: "options" | "
|
|
1359
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1356
1360
|
description?: string | undefined;
|
|
1357
1361
|
summary?: string | undefined;
|
|
1358
1362
|
externalDocs?: {
|
|
@@ -1365,6 +1369,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1365
1369
|
tags?: string[] | undefined;
|
|
1366
1370
|
deprecated?: boolean | undefined;
|
|
1367
1371
|
operationId?: string | undefined;
|
|
1372
|
+
requestBody?: any;
|
|
1368
1373
|
parameters?: {
|
|
1369
1374
|
name: string;
|
|
1370
1375
|
required: boolean;
|
|
@@ -1377,16 +1382,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1377
1382
|
summary?: string | undefined;
|
|
1378
1383
|
externalValue?: string | undefined;
|
|
1379
1384
|
}> | undefined;
|
|
1385
|
+
schema?: unknown;
|
|
1380
1386
|
content?: unknown;
|
|
1381
1387
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1382
1388
|
explode?: boolean | undefined;
|
|
1383
|
-
schema?: unknown;
|
|
1384
1389
|
}[] | undefined;
|
|
1385
|
-
requestBody?: any;
|
|
1386
1390
|
responses?: Record<string, any> | undefined;
|
|
1387
1391
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1388
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1389
|
-
'x-post-response'?: string | undefined;
|
|
1390
1392
|
'x-codeSamples'?: {
|
|
1391
1393
|
source: string;
|
|
1392
1394
|
label?: string | undefined;
|
|
@@ -1402,6 +1404,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1402
1404
|
label?: string | undefined;
|
|
1403
1405
|
lang?: string | undefined;
|
|
1404
1406
|
}[] | undefined;
|
|
1407
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1408
|
+
'x-post-response'?: string | undefined;
|
|
1405
1409
|
}) => void;
|
|
1406
1410
|
edit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "callbacks" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "path" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "x-post-response" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.content` | `parameters.${number}.deprecated` | `parameters.${number}.examples` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.required` | `parameters.${number}.explode` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}` | `callbacks.${string}` | `x-codeSamples.${number}` | `x-codeSamples.${number}.lang` | `x-codeSamples.${number}.source` | `x-codeSamples.${number}.label` | `x-code-samples.${number}` | `x-code-samples.${number}.lang` | `x-code-samples.${number}.source` | `x-code-samples.${number}.label` | `x-custom-examples.${number}` | `x-custom-examples.${number}.lang` | `x-custom-examples.${number}.source` | `x-custom-examples.${number}.label`>(uid: (string & import("zod").BRAND<"operation">) | null | undefined, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "callbacks" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "path" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? {
|
|
1407
1411
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -1411,7 +1415,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1411
1415
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1412
1416
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1413
1417
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1414
|
-
method: "options" | "
|
|
1418
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1415
1419
|
description?: string | undefined;
|
|
1416
1420
|
summary?: string | undefined;
|
|
1417
1421
|
externalDocs?: {
|
|
@@ -1424,6 +1428,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1424
1428
|
tags?: string[] | undefined;
|
|
1425
1429
|
deprecated?: boolean | undefined;
|
|
1426
1430
|
operationId?: string | undefined;
|
|
1431
|
+
requestBody?: any;
|
|
1427
1432
|
parameters?: {
|
|
1428
1433
|
name: string;
|
|
1429
1434
|
required: boolean;
|
|
@@ -1436,16 +1441,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1436
1441
|
summary?: string | undefined;
|
|
1437
1442
|
externalValue?: string | undefined;
|
|
1438
1443
|
}> | undefined;
|
|
1444
|
+
schema?: unknown;
|
|
1439
1445
|
content?: unknown;
|
|
1440
1446
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1441
1447
|
explode?: boolean | undefined;
|
|
1442
|
-
schema?: unknown;
|
|
1443
1448
|
}[] | undefined;
|
|
1444
|
-
requestBody?: any;
|
|
1445
1449
|
responses?: Record<string, any> | undefined;
|
|
1446
1450
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1447
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1448
|
-
'x-post-response'?: string | undefined;
|
|
1449
1451
|
'x-codeSamples'?: {
|
|
1450
1452
|
source: string;
|
|
1451
1453
|
label?: string | undefined;
|
|
@@ -1461,6 +1463,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1461
1463
|
label?: string | undefined;
|
|
1462
1464
|
lang?: string | undefined;
|
|
1463
1465
|
}[] | undefined;
|
|
1466
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1467
|
+
'x-post-response'?: string | undefined;
|
|
1464
1468
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "callbacks" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "path" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1465
1469
|
uid: string & import("zod").BRAND<"operation">;
|
|
1466
1470
|
path: string;
|
|
@@ -1469,7 +1473,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1469
1473
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1470
1474
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1471
1475
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1472
|
-
method: "options" | "
|
|
1476
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1473
1477
|
description?: string | undefined;
|
|
1474
1478
|
summary?: string | undefined;
|
|
1475
1479
|
externalDocs?: {
|
|
@@ -1482,6 +1486,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1482
1486
|
tags?: string[] | undefined;
|
|
1483
1487
|
deprecated?: boolean | undefined;
|
|
1484
1488
|
operationId?: string | undefined;
|
|
1489
|
+
requestBody?: any;
|
|
1485
1490
|
parameters?: {
|
|
1486
1491
|
name: string;
|
|
1487
1492
|
required: boolean;
|
|
@@ -1494,16 +1499,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1494
1499
|
summary?: string | undefined;
|
|
1495
1500
|
externalValue?: string | undefined;
|
|
1496
1501
|
}> | undefined;
|
|
1502
|
+
schema?: unknown;
|
|
1497
1503
|
content?: unknown;
|
|
1498
1504
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1499
1505
|
explode?: boolean | undefined;
|
|
1500
|
-
schema?: unknown;
|
|
1501
1506
|
}[] | undefined;
|
|
1502
|
-
requestBody?: any;
|
|
1503
1507
|
responses?: Record<string, any> | undefined;
|
|
1504
1508
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1505
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1506
|
-
'x-post-response'?: string | undefined;
|
|
1507
1509
|
'x-codeSamples'?: {
|
|
1508
1510
|
source: string;
|
|
1509
1511
|
label?: string | undefined;
|
|
@@ -1519,6 +1521,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1519
1521
|
label?: string | undefined;
|
|
1520
1522
|
lang?: string | undefined;
|
|
1521
1523
|
}[] | undefined;
|
|
1524
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1525
|
+
'x-post-response'?: string | undefined;
|
|
1522
1526
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1523
1527
|
uid: string & import("zod").BRAND<"operation">;
|
|
1524
1528
|
path: string;
|
|
@@ -1527,7 +1531,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1527
1531
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1528
1532
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1529
1533
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1530
|
-
method: "options" | "
|
|
1534
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1531
1535
|
description?: string | undefined;
|
|
1532
1536
|
summary?: string | undefined;
|
|
1533
1537
|
externalDocs?: {
|
|
@@ -1540,6 +1544,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1540
1544
|
tags?: string[] | undefined;
|
|
1541
1545
|
deprecated?: boolean | undefined;
|
|
1542
1546
|
operationId?: string | undefined;
|
|
1547
|
+
requestBody?: any;
|
|
1543
1548
|
parameters?: {
|
|
1544
1549
|
name: string;
|
|
1545
1550
|
required: boolean;
|
|
@@ -1552,16 +1557,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1552
1557
|
summary?: string | undefined;
|
|
1553
1558
|
externalValue?: string | undefined;
|
|
1554
1559
|
}> | undefined;
|
|
1560
|
+
schema?: unknown;
|
|
1555
1561
|
content?: unknown;
|
|
1556
1562
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1557
1563
|
explode?: boolean | undefined;
|
|
1558
|
-
schema?: unknown;
|
|
1559
1564
|
}[] | undefined;
|
|
1560
|
-
requestBody?: any;
|
|
1561
1565
|
responses?: Record<string, any> | undefined;
|
|
1562
1566
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1563
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1564
|
-
'x-post-response'?: string | undefined;
|
|
1565
1567
|
'x-codeSamples'?: {
|
|
1566
1568
|
source: string;
|
|
1567
1569
|
label?: string | undefined;
|
|
@@ -1577,6 +1579,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1577
1579
|
label?: string | undefined;
|
|
1578
1580
|
lang?: string | undefined;
|
|
1579
1581
|
}[] | undefined;
|
|
1582
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1583
|
+
'x-post-response'?: string | undefined;
|
|
1580
1584
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1581
1585
|
untrackedEdit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "callbacks" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "path" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "x-post-response" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.content` | `parameters.${number}.deprecated` | `parameters.${number}.examples` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.required` | `parameters.${number}.explode` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}` | `callbacks.${string}` | `x-codeSamples.${number}` | `x-codeSamples.${number}.lang` | `x-codeSamples.${number}.source` | `x-codeSamples.${number}.label` | `x-code-samples.${number}` | `x-code-samples.${number}.lang` | `x-code-samples.${number}.source` | `x-code-samples.${number}.label` | `x-custom-examples.${number}` | `x-custom-examples.${number}.lang` | `x-custom-examples.${number}.source` | `x-custom-examples.${number}.label`>(uid: string & import("zod").BRAND<"operation">, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "callbacks" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "path" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? {
|
|
1582
1586
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -1586,7 +1590,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1586
1590
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1587
1591
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1588
1592
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1589
|
-
method: "options" | "
|
|
1593
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1590
1594
|
description?: string | undefined;
|
|
1591
1595
|
summary?: string | undefined;
|
|
1592
1596
|
externalDocs?: {
|
|
@@ -1599,6 +1603,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1599
1603
|
tags?: string[] | undefined;
|
|
1600
1604
|
deprecated?: boolean | undefined;
|
|
1601
1605
|
operationId?: string | undefined;
|
|
1606
|
+
requestBody?: any;
|
|
1602
1607
|
parameters?: {
|
|
1603
1608
|
name: string;
|
|
1604
1609
|
required: boolean;
|
|
@@ -1611,16 +1616,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1611
1616
|
summary?: string | undefined;
|
|
1612
1617
|
externalValue?: string | undefined;
|
|
1613
1618
|
}> | undefined;
|
|
1619
|
+
schema?: unknown;
|
|
1614
1620
|
content?: unknown;
|
|
1615
1621
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1616
1622
|
explode?: boolean | undefined;
|
|
1617
|
-
schema?: unknown;
|
|
1618
1623
|
}[] | undefined;
|
|
1619
|
-
requestBody?: any;
|
|
1620
1624
|
responses?: Record<string, any> | undefined;
|
|
1621
1625
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1622
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1623
|
-
'x-post-response'?: string | undefined;
|
|
1624
1626
|
'x-codeSamples'?: {
|
|
1625
1627
|
source: string;
|
|
1626
1628
|
label?: string | undefined;
|
|
@@ -1636,6 +1638,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1636
1638
|
label?: string | undefined;
|
|
1637
1639
|
lang?: string | undefined;
|
|
1638
1640
|
}[] | undefined;
|
|
1641
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1642
|
+
'x-post-response'?: string | undefined;
|
|
1639
1643
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "callbacks" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "path" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1640
1644
|
uid: string & import("zod").BRAND<"operation">;
|
|
1641
1645
|
path: string;
|
|
@@ -1644,7 +1648,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1644
1648
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1645
1649
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1646
1650
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1647
|
-
method: "options" | "
|
|
1651
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1648
1652
|
description?: string | undefined;
|
|
1649
1653
|
summary?: string | undefined;
|
|
1650
1654
|
externalDocs?: {
|
|
@@ -1657,6 +1661,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1657
1661
|
tags?: string[] | undefined;
|
|
1658
1662
|
deprecated?: boolean | undefined;
|
|
1659
1663
|
operationId?: string | undefined;
|
|
1664
|
+
requestBody?: any;
|
|
1660
1665
|
parameters?: {
|
|
1661
1666
|
name: string;
|
|
1662
1667
|
required: boolean;
|
|
@@ -1669,16 +1674,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1669
1674
|
summary?: string | undefined;
|
|
1670
1675
|
externalValue?: string | undefined;
|
|
1671
1676
|
}> | undefined;
|
|
1677
|
+
schema?: unknown;
|
|
1672
1678
|
content?: unknown;
|
|
1673
1679
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1674
1680
|
explode?: boolean | undefined;
|
|
1675
|
-
schema?: unknown;
|
|
1676
1681
|
}[] | undefined;
|
|
1677
|
-
requestBody?: any;
|
|
1678
1682
|
responses?: Record<string, any> | undefined;
|
|
1679
1683
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1680
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1681
|
-
'x-post-response'?: string | undefined;
|
|
1682
1684
|
'x-codeSamples'?: {
|
|
1683
1685
|
source: string;
|
|
1684
1686
|
label?: string | undefined;
|
|
@@ -1694,6 +1696,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1694
1696
|
label?: string | undefined;
|
|
1695
1697
|
lang?: string | undefined;
|
|
1696
1698
|
}[] | undefined;
|
|
1699
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1700
|
+
'x-post-response'?: string | undefined;
|
|
1697
1701
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1698
1702
|
uid: string & import("zod").BRAND<"operation">;
|
|
1699
1703
|
path: string;
|
|
@@ -1702,7 +1706,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1702
1706
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1703
1707
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1704
1708
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1705
|
-
method: "options" | "
|
|
1709
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1706
1710
|
description?: string | undefined;
|
|
1707
1711
|
summary?: string | undefined;
|
|
1708
1712
|
externalDocs?: {
|
|
@@ -1715,6 +1719,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1715
1719
|
tags?: string[] | undefined;
|
|
1716
1720
|
deprecated?: boolean | undefined;
|
|
1717
1721
|
operationId?: string | undefined;
|
|
1722
|
+
requestBody?: any;
|
|
1718
1723
|
parameters?: {
|
|
1719
1724
|
name: string;
|
|
1720
1725
|
required: boolean;
|
|
@@ -1727,16 +1732,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1727
1732
|
summary?: string | undefined;
|
|
1728
1733
|
externalValue?: string | undefined;
|
|
1729
1734
|
}> | undefined;
|
|
1735
|
+
schema?: unknown;
|
|
1730
1736
|
content?: unknown;
|
|
1731
1737
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1732
1738
|
explode?: boolean | undefined;
|
|
1733
|
-
schema?: unknown;
|
|
1734
1739
|
}[] | undefined;
|
|
1735
|
-
requestBody?: any;
|
|
1736
1740
|
responses?: Record<string, any> | undefined;
|
|
1737
1741
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1738
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1739
|
-
'x-post-response'?: string | undefined;
|
|
1740
1742
|
'x-codeSamples'?: {
|
|
1741
1743
|
source: string;
|
|
1742
1744
|
label?: string | undefined;
|
|
@@ -1752,6 +1754,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1752
1754
|
label?: string | undefined;
|
|
1753
1755
|
lang?: string | undefined;
|
|
1754
1756
|
}[] | undefined;
|
|
1757
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1758
|
+
'x-post-response'?: string | undefined;
|
|
1755
1759
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1756
1760
|
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1757
1761
|
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
@@ -1763,34 +1767,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1763
1767
|
uid: string & import("zod").BRAND<"example">;
|
|
1764
1768
|
name: string;
|
|
1765
1769
|
type: "requestExample";
|
|
1766
|
-
body: {
|
|
1767
|
-
activeBody: "binary" | "formData" | "raw";
|
|
1768
|
-
binary?: Blob | undefined;
|
|
1769
|
-
formData?: {
|
|
1770
|
-
value: {
|
|
1771
|
-
value: string;
|
|
1772
|
-
key: string;
|
|
1773
|
-
enabled: boolean;
|
|
1774
|
-
minimum?: number | undefined;
|
|
1775
|
-
type?: string | string[] | undefined;
|
|
1776
|
-
maximum?: number | undefined;
|
|
1777
|
-
description?: string | undefined;
|
|
1778
|
-
default?: any;
|
|
1779
|
-
required?: boolean | undefined;
|
|
1780
|
-
enum?: string[] | undefined;
|
|
1781
|
-
format?: string | undefined;
|
|
1782
|
-
examples?: any[] | undefined;
|
|
1783
|
-
file?: any;
|
|
1784
|
-
nullable?: boolean | undefined;
|
|
1785
|
-
}[];
|
|
1786
|
-
encoding: "form-data" | "urlencoded";
|
|
1787
|
-
} | undefined;
|
|
1788
|
-
raw?: {
|
|
1789
|
-
value: string;
|
|
1790
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1791
|
-
mimeType?: string | undefined;
|
|
1792
|
-
} | undefined;
|
|
1793
|
-
};
|
|
1794
1770
|
parameters: {
|
|
1795
1771
|
path: {
|
|
1796
1772
|
value: string;
|
|
@@ -1857,13 +1833,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1857
1833
|
nullable?: boolean | undefined;
|
|
1858
1834
|
}[];
|
|
1859
1835
|
};
|
|
1860
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1861
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1862
|
-
}) => void;
|
|
1863
|
-
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1864
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1865
|
-
name: string;
|
|
1866
|
-
type: "requestExample";
|
|
1867
1836
|
body: {
|
|
1868
1837
|
activeBody: "binary" | "formData" | "raw";
|
|
1869
1838
|
binary?: Blob | undefined;
|
|
@@ -1892,6 +1861,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1892
1861
|
mimeType?: string | undefined;
|
|
1893
1862
|
} | undefined;
|
|
1894
1863
|
};
|
|
1864
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1865
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1866
|
+
}) => void;
|
|
1867
|
+
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1868
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1869
|
+
name: string;
|
|
1870
|
+
type: "requestExample";
|
|
1895
1871
|
parameters: {
|
|
1896
1872
|
path: {
|
|
1897
1873
|
value: string;
|
|
@@ -1958,14 +1934,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1958
1934
|
nullable?: boolean | undefined;
|
|
1959
1935
|
}[];
|
|
1960
1936
|
};
|
|
1961
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1962
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1963
|
-
};
|
|
1964
|
-
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1965
|
-
set: (item: {
|
|
1966
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1967
|
-
name: string;
|
|
1968
|
-
type: "requestExample";
|
|
1969
1937
|
body: {
|
|
1970
1938
|
activeBody: "binary" | "formData" | "raw";
|
|
1971
1939
|
binary?: Blob | undefined;
|
|
@@ -1994,6 +1962,14 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1994
1962
|
mimeType?: string | undefined;
|
|
1995
1963
|
} | undefined;
|
|
1996
1964
|
};
|
|
1965
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1966
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1967
|
+
};
|
|
1968
|
+
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1969
|
+
set: (item: {
|
|
1970
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1971
|
+
name: string;
|
|
1972
|
+
type: "requestExample";
|
|
1997
1973
|
parameters: {
|
|
1998
1974
|
path: {
|
|
1999
1975
|
value: string;
|
|
@@ -2060,13 +2036,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2060
2036
|
nullable?: boolean | undefined;
|
|
2061
2037
|
}[];
|
|
2062
2038
|
};
|
|
2063
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2064
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2065
|
-
}) => void;
|
|
2066
|
-
edit: <P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.default` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.examples.${number}.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.default` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.examples.${number}.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.examples.${number}.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.default` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.examples.${number}.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.slice" | "body.binary.type" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.default` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.examples.${number}.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? {
|
|
2067
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2068
|
-
name: string;
|
|
2069
|
-
type: "requestExample";
|
|
2070
2039
|
body: {
|
|
2071
2040
|
activeBody: "binary" | "formData" | "raw";
|
|
2072
2041
|
binary?: Blob | undefined;
|
|
@@ -2095,6 +2064,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2095
2064
|
mimeType?: string | undefined;
|
|
2096
2065
|
} | undefined;
|
|
2097
2066
|
};
|
|
2067
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2068
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2069
|
+
}) => void;
|
|
2070
|
+
edit: <P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.default` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.examples.${number}.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.default` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.examples.${number}.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.examples.${number}.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.default` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.examples.${number}.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.slice" | "body.binary.type" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.default` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.examples.${number}.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? {
|
|
2071
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2072
|
+
name: string;
|
|
2073
|
+
type: "requestExample";
|
|
2098
2074
|
parameters: {
|
|
2099
2075
|
path: {
|
|
2100
2076
|
value: string;
|
|
@@ -2161,12 +2137,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2161
2137
|
nullable?: boolean | undefined;
|
|
2162
2138
|
}[];
|
|
2163
2139
|
};
|
|
2164
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2165
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2166
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2167
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2168
|
-
name: string;
|
|
2169
|
-
type: "requestExample";
|
|
2170
2140
|
body: {
|
|
2171
2141
|
activeBody: "binary" | "formData" | "raw";
|
|
2172
2142
|
binary?: Blob | undefined;
|
|
@@ -2195,6 +2165,12 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2195
2165
|
mimeType?: string | undefined;
|
|
2196
2166
|
} | undefined;
|
|
2197
2167
|
};
|
|
2168
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2169
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2170
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2171
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2172
|
+
name: string;
|
|
2173
|
+
type: "requestExample";
|
|
2198
2174
|
parameters: {
|
|
2199
2175
|
path: {
|
|
2200
2176
|
value: string;
|
|
@@ -2261,12 +2237,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2261
2237
|
nullable?: boolean | undefined;
|
|
2262
2238
|
}[];
|
|
2263
2239
|
};
|
|
2264
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2265
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2266
|
-
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2267
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2268
|
-
name: string;
|
|
2269
|
-
type: "requestExample";
|
|
2270
2240
|
body: {
|
|
2271
2241
|
activeBody: "binary" | "formData" | "raw";
|
|
2272
2242
|
binary?: Blob | undefined;
|
|
@@ -2295,6 +2265,12 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2295
2265
|
mimeType?: string | undefined;
|
|
2296
2266
|
} | undefined;
|
|
2297
2267
|
};
|
|
2268
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2269
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2270
|
+
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2271
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2272
|
+
name: string;
|
|
2273
|
+
type: "requestExample";
|
|
2298
2274
|
parameters: {
|
|
2299
2275
|
path: {
|
|
2300
2276
|
value: string;
|
|
@@ -2361,13 +2337,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2361
2337
|
nullable?: boolean | undefined;
|
|
2362
2338
|
}[];
|
|
2363
2339
|
};
|
|
2364
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2365
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2366
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2367
|
-
untrackedEdit: <P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.default` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.examples.${number}.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.default` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.examples.${number}.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.examples.${number}.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.default` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.examples.${number}.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.slice" | "body.binary.type" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.default` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.examples.${number}.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? {
|
|
2368
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2369
|
-
name: string;
|
|
2370
|
-
type: "requestExample";
|
|
2371
2340
|
body: {
|
|
2372
2341
|
activeBody: "binary" | "formData" | "raw";
|
|
2373
2342
|
binary?: Blob | undefined;
|
|
@@ -2396,6 +2365,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2396
2365
|
mimeType?: string | undefined;
|
|
2397
2366
|
} | undefined;
|
|
2398
2367
|
};
|
|
2368
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2369
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2370
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2371
|
+
untrackedEdit: <P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.default` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.examples.${number}.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.default` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.examples.${number}.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.examples.${number}.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.default` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.examples.${number}.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.slice" | "body.binary.type" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.default` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.examples.${number}.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? {
|
|
2372
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2373
|
+
name: string;
|
|
2374
|
+
type: "requestExample";
|
|
2399
2375
|
parameters: {
|
|
2400
2376
|
path: {
|
|
2401
2377
|
value: string;
|
|
@@ -2462,12 +2438,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2462
2438
|
nullable?: boolean | undefined;
|
|
2463
2439
|
}[];
|
|
2464
2440
|
};
|
|
2465
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2466
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2467
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2468
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2469
|
-
name: string;
|
|
2470
|
-
type: "requestExample";
|
|
2471
2441
|
body: {
|
|
2472
2442
|
activeBody: "binary" | "formData" | "raw";
|
|
2473
2443
|
binary?: Blob | undefined;
|
|
@@ -2496,6 +2466,12 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2496
2466
|
mimeType?: string | undefined;
|
|
2497
2467
|
} | undefined;
|
|
2498
2468
|
};
|
|
2469
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2470
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2471
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2472
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2473
|
+
name: string;
|
|
2474
|
+
type: "requestExample";
|
|
2499
2475
|
parameters: {
|
|
2500
2476
|
path: {
|
|
2501
2477
|
value: string;
|
|
@@ -2562,12 +2538,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2562
2538
|
nullable?: boolean | undefined;
|
|
2563
2539
|
}[];
|
|
2564
2540
|
};
|
|
2565
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2566
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2567
|
-
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2568
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2569
|
-
name: string;
|
|
2570
|
-
type: "requestExample";
|
|
2571
2541
|
body: {
|
|
2572
2542
|
activeBody: "binary" | "formData" | "raw";
|
|
2573
2543
|
binary?: Blob | undefined;
|
|
@@ -2596,6 +2566,12 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2596
2566
|
mimeType?: string | undefined;
|
|
2597
2567
|
} | undefined;
|
|
2598
2568
|
};
|
|
2569
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2570
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2571
|
+
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2572
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2573
|
+
name: string;
|
|
2574
|
+
type: "requestExample";
|
|
2599
2575
|
parameters: {
|
|
2600
2576
|
path: {
|
|
2601
2577
|
value: string;
|
|
@@ -2662,6 +2638,34 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2662
2638
|
nullable?: boolean | undefined;
|
|
2663
2639
|
}[];
|
|
2664
2640
|
};
|
|
2641
|
+
body: {
|
|
2642
|
+
activeBody: "binary" | "formData" | "raw";
|
|
2643
|
+
binary?: Blob | undefined;
|
|
2644
|
+
formData?: {
|
|
2645
|
+
value: {
|
|
2646
|
+
value: string;
|
|
2647
|
+
key: string;
|
|
2648
|
+
enabled: boolean;
|
|
2649
|
+
minimum?: number | undefined;
|
|
2650
|
+
type?: string | string[] | undefined;
|
|
2651
|
+
maximum?: number | undefined;
|
|
2652
|
+
description?: string | undefined;
|
|
2653
|
+
default?: any;
|
|
2654
|
+
required?: boolean | undefined;
|
|
2655
|
+
enum?: string[] | undefined;
|
|
2656
|
+
format?: string | undefined;
|
|
2657
|
+
examples?: any[] | undefined;
|
|
2658
|
+
file?: any;
|
|
2659
|
+
nullable?: boolean | undefined;
|
|
2660
|
+
}[];
|
|
2661
|
+
encoding: "form-data" | "urlencoded";
|
|
2662
|
+
} | undefined;
|
|
2663
|
+
raw?: {
|
|
2664
|
+
value: string;
|
|
2665
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2666
|
+
mimeType?: string | undefined;
|
|
2667
|
+
} | undefined;
|
|
2668
|
+
};
|
|
2665
2669
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2666
2670
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2667
2671
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -2712,6 +2716,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2712
2716
|
tokenUrl: string;
|
|
2713
2717
|
clientSecret: string;
|
|
2714
2718
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2719
|
+
"x-tokenName"?: string | undefined;
|
|
2715
2720
|
} | undefined;
|
|
2716
2721
|
implicit?: {
|
|
2717
2722
|
type: "implicit";
|
|
@@ -2723,6 +2728,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2723
2728
|
authorizationUrl: string;
|
|
2724
2729
|
"x-scalar-redirect-uri": string;
|
|
2725
2730
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2731
|
+
"x-tokenName"?: string | undefined;
|
|
2726
2732
|
} | undefined;
|
|
2727
2733
|
clientCredentials?: {
|
|
2728
2734
|
type: "clientCredentials";
|
|
@@ -2734,6 +2740,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2734
2740
|
tokenUrl: string;
|
|
2735
2741
|
clientSecret: string;
|
|
2736
2742
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2743
|
+
"x-tokenName"?: string | undefined;
|
|
2737
2744
|
} | undefined;
|
|
2738
2745
|
authorizationCode?: {
|
|
2739
2746
|
type: "authorizationCode";
|
|
@@ -2748,6 +2755,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2748
2755
|
clientSecret: string;
|
|
2749
2756
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2750
2757
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2758
|
+
"x-tokenName"?: string | undefined;
|
|
2751
2759
|
} | undefined;
|
|
2752
2760
|
};
|
|
2753
2761
|
description?: string | undefined;
|
|
@@ -2794,6 +2802,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2794
2802
|
tokenUrl: string;
|
|
2795
2803
|
clientSecret: string;
|
|
2796
2804
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2805
|
+
"x-tokenName"?: string | undefined;
|
|
2797
2806
|
} | undefined;
|
|
2798
2807
|
implicit?: {
|
|
2799
2808
|
type: "implicit";
|
|
@@ -2805,6 +2814,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2805
2814
|
authorizationUrl: string;
|
|
2806
2815
|
"x-scalar-redirect-uri": string;
|
|
2807
2816
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2817
|
+
"x-tokenName"?: string | undefined;
|
|
2808
2818
|
} | undefined;
|
|
2809
2819
|
clientCredentials?: {
|
|
2810
2820
|
type: "clientCredentials";
|
|
@@ -2816,6 +2826,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2816
2826
|
tokenUrl: string;
|
|
2817
2827
|
clientSecret: string;
|
|
2818
2828
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2829
|
+
"x-tokenName"?: string | undefined;
|
|
2819
2830
|
} | undefined;
|
|
2820
2831
|
authorizationCode?: {
|
|
2821
2832
|
type: "authorizationCode";
|
|
@@ -2830,6 +2841,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2830
2841
|
clientSecret: string;
|
|
2831
2842
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2832
2843
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2844
|
+
"x-tokenName"?: string | undefined;
|
|
2833
2845
|
} | undefined;
|
|
2834
2846
|
};
|
|
2835
2847
|
description?: string | undefined;
|
|
@@ -2877,6 +2889,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2877
2889
|
tokenUrl: string;
|
|
2878
2890
|
clientSecret: string;
|
|
2879
2891
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2892
|
+
"x-tokenName"?: string | undefined;
|
|
2880
2893
|
} | undefined;
|
|
2881
2894
|
implicit?: {
|
|
2882
2895
|
type: "implicit";
|
|
@@ -2888,6 +2901,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2888
2901
|
authorizationUrl: string;
|
|
2889
2902
|
"x-scalar-redirect-uri": string;
|
|
2890
2903
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2904
|
+
"x-tokenName"?: string | undefined;
|
|
2891
2905
|
} | undefined;
|
|
2892
2906
|
clientCredentials?: {
|
|
2893
2907
|
type: "clientCredentials";
|
|
@@ -2899,6 +2913,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2899
2913
|
tokenUrl: string;
|
|
2900
2914
|
clientSecret: string;
|
|
2901
2915
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2916
|
+
"x-tokenName"?: string | undefined;
|
|
2902
2917
|
} | undefined;
|
|
2903
2918
|
authorizationCode?: {
|
|
2904
2919
|
type: "authorizationCode";
|
|
@@ -2913,12 +2928,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2913
2928
|
clientSecret: string;
|
|
2914
2929
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2915
2930
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2931
|
+
"x-tokenName"?: string | undefined;
|
|
2916
2932
|
} | undefined;
|
|
2917
2933
|
};
|
|
2918
2934
|
description?: string | undefined;
|
|
2919
2935
|
'x-default-scopes'?: string | string[] | undefined;
|
|
2920
2936
|
}) => void;
|
|
2921
|
-
edit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "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.x-scalar-security-query" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.x-scalar-security-query" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | "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" | "uid" | "name" | "in" | "nameKey" ? {
|
|
2937
|
+
edit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "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.x-scalar-security-query" | "flows.password.x-tokenName" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.x-scalar-security-query" | "flows.implicit.x-tokenName" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | "flows.clientCredentials.x-tokenName" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | "flows.authorizationCode.x-tokenName" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | "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" | "uid" | "name" | "in" | "nameKey" ? {
|
|
2922
2938
|
type: "apiKey";
|
|
2923
2939
|
value: string;
|
|
2924
2940
|
name: string;
|
|
@@ -3007,6 +3023,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3007
3023
|
tokenUrl: string;
|
|
3008
3024
|
clientSecret: string;
|
|
3009
3025
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3026
|
+
"x-tokenName"?: string | undefined;
|
|
3010
3027
|
} | undefined;
|
|
3011
3028
|
implicit?: {
|
|
3012
3029
|
type: "implicit";
|
|
@@ -3018,6 +3035,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3018
3035
|
authorizationUrl: string;
|
|
3019
3036
|
"x-scalar-redirect-uri": string;
|
|
3020
3037
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3038
|
+
"x-tokenName"?: string | undefined;
|
|
3021
3039
|
} | undefined;
|
|
3022
3040
|
clientCredentials?: {
|
|
3023
3041
|
type: "clientCredentials";
|
|
@@ -3029,6 +3047,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3029
3047
|
tokenUrl: string;
|
|
3030
3048
|
clientSecret: string;
|
|
3031
3049
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3050
|
+
"x-tokenName"?: string | undefined;
|
|
3032
3051
|
} | undefined;
|
|
3033
3052
|
authorizationCode?: {
|
|
3034
3053
|
type: "authorizationCode";
|
|
@@ -3043,6 +3062,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3043
3062
|
clientSecret: string;
|
|
3044
3063
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3045
3064
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3065
|
+
"x-tokenName"?: string | undefined;
|
|
3046
3066
|
} | undefined;
|
|
3047
3067
|
};
|
|
3048
3068
|
description?: string | undefined;
|
|
@@ -3064,6 +3084,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3064
3084
|
tokenUrl: string;
|
|
3065
3085
|
clientSecret: string;
|
|
3066
3086
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3087
|
+
"x-tokenName"?: string | undefined;
|
|
3067
3088
|
} | undefined;
|
|
3068
3089
|
implicit?: {
|
|
3069
3090
|
type: "implicit";
|
|
@@ -3075,6 +3096,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3075
3096
|
authorizationUrl: string;
|
|
3076
3097
|
"x-scalar-redirect-uri": string;
|
|
3077
3098
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3099
|
+
"x-tokenName"?: string | undefined;
|
|
3078
3100
|
} | undefined;
|
|
3079
3101
|
clientCredentials?: {
|
|
3080
3102
|
type: "clientCredentials";
|
|
@@ -3086,6 +3108,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3086
3108
|
tokenUrl: string;
|
|
3087
3109
|
clientSecret: string;
|
|
3088
3110
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3111
|
+
"x-tokenName"?: string | undefined;
|
|
3089
3112
|
} | undefined;
|
|
3090
3113
|
authorizationCode?: {
|
|
3091
3114
|
type: "authorizationCode";
|
|
@@ -3100,6 +3123,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3100
3123
|
clientSecret: string;
|
|
3101
3124
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3102
3125
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3126
|
+
"x-tokenName"?: string | undefined;
|
|
3103
3127
|
} | undefined;
|
|
3104
3128
|
};
|
|
3105
3129
|
description?: string | undefined;
|
|
@@ -3121,6 +3145,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3121
3145
|
tokenUrl: string;
|
|
3122
3146
|
clientSecret: string;
|
|
3123
3147
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3148
|
+
"x-tokenName"?: string | undefined;
|
|
3124
3149
|
} | undefined;
|
|
3125
3150
|
implicit?: {
|
|
3126
3151
|
type: "implicit";
|
|
@@ -3132,6 +3157,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3132
3157
|
authorizationUrl: string;
|
|
3133
3158
|
"x-scalar-redirect-uri": string;
|
|
3134
3159
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3160
|
+
"x-tokenName"?: string | undefined;
|
|
3135
3161
|
} | undefined;
|
|
3136
3162
|
clientCredentials?: {
|
|
3137
3163
|
type: "clientCredentials";
|
|
@@ -3143,6 +3169,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3143
3169
|
tokenUrl: string;
|
|
3144
3170
|
clientSecret: string;
|
|
3145
3171
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3172
|
+
"x-tokenName"?: string | undefined;
|
|
3146
3173
|
} | undefined;
|
|
3147
3174
|
authorizationCode?: {
|
|
3148
3175
|
type: "authorizationCode";
|
|
@@ -3157,12 +3184,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3157
3184
|
clientSecret: string;
|
|
3158
3185
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3159
3186
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3187
|
+
"x-tokenName"?: string | undefined;
|
|
3160
3188
|
} | undefined;
|
|
3161
3189
|
};
|
|
3162
3190
|
description?: string | undefined;
|
|
3163
3191
|
'x-default-scopes'?: string | string[] | undefined;
|
|
3164
3192
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3165
|
-
untrackedEdit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "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.x-scalar-security-query" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.x-scalar-security-query" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | "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" | "uid" | "name" | "in" | "nameKey" ? {
|
|
3193
|
+
untrackedEdit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "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.x-scalar-security-query" | "flows.password.x-tokenName" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.x-scalar-security-query" | "flows.implicit.x-tokenName" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | "flows.clientCredentials.x-tokenName" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | "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.x-scalar-security-query" | "flows.authorizationCode.x-tokenName" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | "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" | "uid" | "name" | "in" | "nameKey" ? {
|
|
3166
3194
|
type: "apiKey";
|
|
3167
3195
|
value: string;
|
|
3168
3196
|
name: string;
|
|
@@ -3251,6 +3279,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3251
3279
|
tokenUrl: string;
|
|
3252
3280
|
clientSecret: string;
|
|
3253
3281
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3282
|
+
"x-tokenName"?: string | undefined;
|
|
3254
3283
|
} | undefined;
|
|
3255
3284
|
implicit?: {
|
|
3256
3285
|
type: "implicit";
|
|
@@ -3262,6 +3291,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3262
3291
|
authorizationUrl: string;
|
|
3263
3292
|
"x-scalar-redirect-uri": string;
|
|
3264
3293
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3294
|
+
"x-tokenName"?: string | undefined;
|
|
3265
3295
|
} | undefined;
|
|
3266
3296
|
clientCredentials?: {
|
|
3267
3297
|
type: "clientCredentials";
|
|
@@ -3273,6 +3303,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3273
3303
|
tokenUrl: string;
|
|
3274
3304
|
clientSecret: string;
|
|
3275
3305
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3306
|
+
"x-tokenName"?: string | undefined;
|
|
3276
3307
|
} | undefined;
|
|
3277
3308
|
authorizationCode?: {
|
|
3278
3309
|
type: "authorizationCode";
|
|
@@ -3287,6 +3318,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3287
3318
|
clientSecret: string;
|
|
3288
3319
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3289
3320
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3321
|
+
"x-tokenName"?: string | undefined;
|
|
3290
3322
|
} | undefined;
|
|
3291
3323
|
};
|
|
3292
3324
|
description?: string | undefined;
|
|
@@ -3308,6 +3340,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3308
3340
|
tokenUrl: string;
|
|
3309
3341
|
clientSecret: string;
|
|
3310
3342
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3343
|
+
"x-tokenName"?: string | undefined;
|
|
3311
3344
|
} | undefined;
|
|
3312
3345
|
implicit?: {
|
|
3313
3346
|
type: "implicit";
|
|
@@ -3319,6 +3352,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3319
3352
|
authorizationUrl: string;
|
|
3320
3353
|
"x-scalar-redirect-uri": string;
|
|
3321
3354
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3355
|
+
"x-tokenName"?: string | undefined;
|
|
3322
3356
|
} | undefined;
|
|
3323
3357
|
clientCredentials?: {
|
|
3324
3358
|
type: "clientCredentials";
|
|
@@ -3330,6 +3364,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3330
3364
|
tokenUrl: string;
|
|
3331
3365
|
clientSecret: string;
|
|
3332
3366
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3367
|
+
"x-tokenName"?: string | undefined;
|
|
3333
3368
|
} | undefined;
|
|
3334
3369
|
authorizationCode?: {
|
|
3335
3370
|
type: "authorizationCode";
|
|
@@ -3344,6 +3379,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3344
3379
|
clientSecret: string;
|
|
3345
3380
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3346
3381
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3382
|
+
"x-tokenName"?: string | undefined;
|
|
3347
3383
|
} | undefined;
|
|
3348
3384
|
};
|
|
3349
3385
|
description?: string | undefined;
|
|
@@ -3365,6 +3401,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3365
3401
|
tokenUrl: string;
|
|
3366
3402
|
clientSecret: string;
|
|
3367
3403
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3404
|
+
"x-tokenName"?: string | undefined;
|
|
3368
3405
|
} | undefined;
|
|
3369
3406
|
implicit?: {
|
|
3370
3407
|
type: "implicit";
|
|
@@ -3376,6 +3413,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3376
3413
|
authorizationUrl: string;
|
|
3377
3414
|
"x-scalar-redirect-uri": string;
|
|
3378
3415
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3416
|
+
"x-tokenName"?: string | undefined;
|
|
3379
3417
|
} | undefined;
|
|
3380
3418
|
clientCredentials?: {
|
|
3381
3419
|
type: "clientCredentials";
|
|
@@ -3387,6 +3425,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3387
3425
|
tokenUrl: string;
|
|
3388
3426
|
clientSecret: string;
|
|
3389
3427
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3428
|
+
"x-tokenName"?: string | undefined;
|
|
3390
3429
|
} | undefined;
|
|
3391
3430
|
authorizationCode?: {
|
|
3392
3431
|
type: "authorizationCode";
|
|
@@ -3401,6 +3440,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3401
3440
|
clientSecret: string;
|
|
3402
3441
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3403
3442
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3443
|
+
"x-tokenName"?: string | undefined;
|
|
3404
3444
|
} | undefined;
|
|
3405
3445
|
};
|
|
3406
3446
|
description?: string | undefined;
|