@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
|
@@ -218,34 +218,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
218
218
|
uid: string & import("zod").BRAND<"example">;
|
|
219
219
|
name: string;
|
|
220
220
|
type: "requestExample";
|
|
221
|
-
body: {
|
|
222
|
-
activeBody: "binary" | "formData" | "raw";
|
|
223
|
-
binary?: Blob | undefined;
|
|
224
|
-
formData?: {
|
|
225
|
-
value: {
|
|
226
|
-
value: string;
|
|
227
|
-
key: string;
|
|
228
|
-
enabled: boolean;
|
|
229
|
-
minimum?: number | undefined;
|
|
230
|
-
type?: string | string[] | undefined;
|
|
231
|
-
maximum?: number | undefined;
|
|
232
|
-
description?: string | undefined;
|
|
233
|
-
default?: any;
|
|
234
|
-
required?: boolean | undefined;
|
|
235
|
-
enum?: string[] | undefined;
|
|
236
|
-
format?: string | undefined;
|
|
237
|
-
examples?: any[] | undefined;
|
|
238
|
-
file?: any;
|
|
239
|
-
nullable?: boolean | undefined;
|
|
240
|
-
}[];
|
|
241
|
-
encoding: "form-data" | "urlencoded";
|
|
242
|
-
} | undefined;
|
|
243
|
-
raw?: {
|
|
244
|
-
value: string;
|
|
245
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
246
|
-
mimeType?: string | undefined;
|
|
247
|
-
} | undefined;
|
|
248
|
-
};
|
|
249
221
|
parameters: {
|
|
250
222
|
path: {
|
|
251
223
|
value: string;
|
|
@@ -312,6 +284,34 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
312
284
|
nullable?: boolean | undefined;
|
|
313
285
|
}[];
|
|
314
286
|
};
|
|
287
|
+
body: {
|
|
288
|
+
activeBody: "binary" | "formData" | "raw";
|
|
289
|
+
binary?: Blob | undefined;
|
|
290
|
+
formData?: {
|
|
291
|
+
value: {
|
|
292
|
+
value: string;
|
|
293
|
+
key: string;
|
|
294
|
+
enabled: boolean;
|
|
295
|
+
minimum?: number | undefined;
|
|
296
|
+
type?: string | string[] | undefined;
|
|
297
|
+
maximum?: number | undefined;
|
|
298
|
+
description?: string | undefined;
|
|
299
|
+
default?: any;
|
|
300
|
+
required?: boolean | undefined;
|
|
301
|
+
enum?: string[] | undefined;
|
|
302
|
+
format?: string | undefined;
|
|
303
|
+
examples?: any[] | undefined;
|
|
304
|
+
file?: any;
|
|
305
|
+
nullable?: boolean | undefined;
|
|
306
|
+
}[];
|
|
307
|
+
encoding: "form-data" | "urlencoded";
|
|
308
|
+
} | undefined;
|
|
309
|
+
raw?: {
|
|
310
|
+
value: string;
|
|
311
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
312
|
+
mimeType?: string | undefined;
|
|
313
|
+
} | undefined;
|
|
314
|
+
};
|
|
315
315
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
316
316
|
serverVariables?: Record<string, string[]> | undefined;
|
|
317
317
|
}>;
|
|
@@ -323,7 +323,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
323
323
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
324
324
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
325
325
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
326
|
-
method: "options" | "
|
|
326
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
327
327
|
description?: string | undefined;
|
|
328
328
|
summary?: string | undefined;
|
|
329
329
|
externalDocs?: {
|
|
@@ -336,6 +336,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
336
336
|
tags?: string[] | undefined;
|
|
337
337
|
deprecated?: boolean | undefined;
|
|
338
338
|
operationId?: string | undefined;
|
|
339
|
+
requestBody?: any;
|
|
339
340
|
parameters?: {
|
|
340
341
|
name: string;
|
|
341
342
|
required: boolean;
|
|
@@ -348,16 +349,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
348
349
|
summary?: string | undefined;
|
|
349
350
|
externalValue?: string | undefined;
|
|
350
351
|
}> | undefined;
|
|
352
|
+
schema?: unknown;
|
|
351
353
|
content?: unknown;
|
|
352
354
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
353
355
|
explode?: boolean | undefined;
|
|
354
|
-
schema?: unknown;
|
|
355
356
|
}[] | undefined;
|
|
356
|
-
requestBody?: any;
|
|
357
357
|
responses?: Record<string, any> | undefined;
|
|
358
358
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
359
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
360
|
-
'x-post-response'?: string | undefined;
|
|
361
359
|
'x-codeSamples'?: {
|
|
362
360
|
source: string;
|
|
363
361
|
label?: string | undefined;
|
|
@@ -373,6 +371,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
373
371
|
label?: string | undefined;
|
|
374
372
|
lang?: string | undefined;
|
|
375
373
|
}[] | undefined;
|
|
374
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
375
|
+
'x-post-response'?: string | undefined;
|
|
376
376
|
}>;
|
|
377
377
|
servers: Record<string, {
|
|
378
378
|
uid: string & import("zod").BRAND<"server">;
|
|
@@ -426,6 +426,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
426
426
|
tokenUrl: string;
|
|
427
427
|
clientSecret: string;
|
|
428
428
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
429
|
+
"x-tokenName"?: string | undefined;
|
|
429
430
|
} | undefined;
|
|
430
431
|
implicit?: {
|
|
431
432
|
type: "implicit";
|
|
@@ -437,6 +438,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
437
438
|
authorizationUrl: string;
|
|
438
439
|
"x-scalar-redirect-uri": string;
|
|
439
440
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
441
|
+
"x-tokenName"?: string | undefined;
|
|
440
442
|
} | undefined;
|
|
441
443
|
clientCredentials?: {
|
|
442
444
|
type: "clientCredentials";
|
|
@@ -448,6 +450,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
448
450
|
tokenUrl: string;
|
|
449
451
|
clientSecret: string;
|
|
450
452
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
453
|
+
"x-tokenName"?: string | undefined;
|
|
451
454
|
} | undefined;
|
|
452
455
|
authorizationCode?: {
|
|
453
456
|
type: "authorizationCode";
|
|
@@ -462,6 +465,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
462
465
|
clientSecret: string;
|
|
463
466
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
464
467
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
468
|
+
"x-tokenName"?: string | undefined;
|
|
465
469
|
} | undefined;
|
|
466
470
|
};
|
|
467
471
|
description?: string | undefined;
|
|
@@ -487,7 +491,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
487
491
|
proxyUrl: string | undefined;
|
|
488
492
|
hideClientButton: boolean;
|
|
489
493
|
showSidebar: boolean;
|
|
490
|
-
integration: "elysiajs" | "fastify" | "go" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "
|
|
494
|
+
integration: "elysiajs" | "fastify" | "go" | "rust" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "svelte" | "vue" | null | undefined;
|
|
491
495
|
importSpecFile: (_spec: string | Record<string, any> | undefined, workspaceUid: string, options?: Pick<{
|
|
492
496
|
uid?: string | undefined;
|
|
493
497
|
type?: "collection" | undefined;
|
|
@@ -1312,7 +1316,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1312
1316
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1313
1317
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1314
1318
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1315
|
-
method: "options" | "
|
|
1319
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1316
1320
|
description?: string | undefined;
|
|
1317
1321
|
summary?: string | undefined;
|
|
1318
1322
|
externalDocs?: {
|
|
@@ -1325,6 +1329,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1325
1329
|
tags?: string[] | undefined;
|
|
1326
1330
|
deprecated?: boolean | undefined;
|
|
1327
1331
|
operationId?: string | undefined;
|
|
1332
|
+
requestBody?: any;
|
|
1328
1333
|
parameters?: {
|
|
1329
1334
|
name: string;
|
|
1330
1335
|
required: boolean;
|
|
@@ -1337,16 +1342,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1337
1342
|
summary?: string | undefined;
|
|
1338
1343
|
externalValue?: string | undefined;
|
|
1339
1344
|
}> | undefined;
|
|
1345
|
+
schema?: unknown;
|
|
1340
1346
|
content?: unknown;
|
|
1341
1347
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1342
1348
|
explode?: boolean | undefined;
|
|
1343
|
-
schema?: unknown;
|
|
1344
1349
|
}[] | undefined;
|
|
1345
|
-
requestBody?: any;
|
|
1346
1350
|
responses?: Record<string, any> | undefined;
|
|
1347
1351
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1348
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1349
|
-
'x-post-response'?: string | undefined;
|
|
1350
1352
|
'x-codeSamples'?: {
|
|
1351
1353
|
source: string;
|
|
1352
1354
|
label?: string | undefined;
|
|
@@ -1362,6 +1364,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1362
1364
|
label?: string | undefined;
|
|
1363
1365
|
lang?: string | undefined;
|
|
1364
1366
|
}[] | undefined;
|
|
1367
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1368
|
+
'x-post-response'?: string | undefined;
|
|
1365
1369
|
}) => void;
|
|
1366
1370
|
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1367
1371
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -1371,7 +1375,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1371
1375
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1372
1376
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1373
1377
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1374
|
-
method: "options" | "
|
|
1378
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1375
1379
|
description?: string | undefined;
|
|
1376
1380
|
summary?: string | undefined;
|
|
1377
1381
|
externalDocs?: {
|
|
@@ -1384,6 +1388,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1384
1388
|
tags?: string[] | undefined;
|
|
1385
1389
|
deprecated?: boolean | undefined;
|
|
1386
1390
|
operationId?: string | undefined;
|
|
1391
|
+
requestBody?: any;
|
|
1387
1392
|
parameters?: {
|
|
1388
1393
|
name: string;
|
|
1389
1394
|
required: boolean;
|
|
@@ -1396,16 +1401,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1396
1401
|
summary?: string | undefined;
|
|
1397
1402
|
externalValue?: string | undefined;
|
|
1398
1403
|
}> | undefined;
|
|
1404
|
+
schema?: unknown;
|
|
1399
1405
|
content?: unknown;
|
|
1400
1406
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1401
1407
|
explode?: boolean | undefined;
|
|
1402
|
-
schema?: unknown;
|
|
1403
1408
|
}[] | undefined;
|
|
1404
|
-
requestBody?: any;
|
|
1405
1409
|
responses?: Record<string, any> | undefined;
|
|
1406
1410
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1407
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1408
|
-
'x-post-response'?: string | undefined;
|
|
1409
1411
|
'x-codeSamples'?: {
|
|
1410
1412
|
source: string;
|
|
1411
1413
|
label?: string | undefined;
|
|
@@ -1421,6 +1423,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1421
1423
|
label?: string | undefined;
|
|
1422
1424
|
lang?: string | undefined;
|
|
1423
1425
|
}[] | undefined;
|
|
1426
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1427
|
+
'x-post-response'?: string | undefined;
|
|
1424
1428
|
};
|
|
1425
1429
|
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1426
1430
|
set: (item: {
|
|
@@ -1431,7 +1435,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1431
1435
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1432
1436
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1433
1437
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1434
|
-
method: "options" | "
|
|
1438
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1435
1439
|
description?: string | undefined;
|
|
1436
1440
|
summary?: string | undefined;
|
|
1437
1441
|
externalDocs?: {
|
|
@@ -1444,6 +1448,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1444
1448
|
tags?: string[] | undefined;
|
|
1445
1449
|
deprecated?: boolean | undefined;
|
|
1446
1450
|
operationId?: string | undefined;
|
|
1451
|
+
requestBody?: any;
|
|
1447
1452
|
parameters?: {
|
|
1448
1453
|
name: string;
|
|
1449
1454
|
required: boolean;
|
|
@@ -1456,16 +1461,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1456
1461
|
summary?: string | undefined;
|
|
1457
1462
|
externalValue?: string | undefined;
|
|
1458
1463
|
}> | undefined;
|
|
1464
|
+
schema?: unknown;
|
|
1459
1465
|
content?: unknown;
|
|
1460
1466
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1461
1467
|
explode?: boolean | undefined;
|
|
1462
|
-
schema?: unknown;
|
|
1463
1468
|
}[] | undefined;
|
|
1464
|
-
requestBody?: any;
|
|
1465
1469
|
responses?: Record<string, any> | undefined;
|
|
1466
1470
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1467
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1468
|
-
'x-post-response'?: string | undefined;
|
|
1469
1471
|
'x-codeSamples'?: {
|
|
1470
1472
|
source: string;
|
|
1471
1473
|
label?: string | undefined;
|
|
@@ -1481,6 +1483,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1481
1483
|
label?: string | undefined;
|
|
1482
1484
|
lang?: string | undefined;
|
|
1483
1485
|
}[] | undefined;
|
|
1486
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1487
|
+
'x-post-response'?: string | undefined;
|
|
1484
1488
|
}) => void;
|
|
1485
1489
|
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" ? {
|
|
1486
1490
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -1490,7 +1494,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1490
1494
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1491
1495
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1492
1496
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1493
|
-
method: "options" | "
|
|
1497
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1494
1498
|
description?: string | undefined;
|
|
1495
1499
|
summary?: string | undefined;
|
|
1496
1500
|
externalDocs?: {
|
|
@@ -1503,6 +1507,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1503
1507
|
tags?: string[] | undefined;
|
|
1504
1508
|
deprecated?: boolean | undefined;
|
|
1505
1509
|
operationId?: string | undefined;
|
|
1510
|
+
requestBody?: any;
|
|
1506
1511
|
parameters?: {
|
|
1507
1512
|
name: string;
|
|
1508
1513
|
required: boolean;
|
|
@@ -1515,16 +1520,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1515
1520
|
summary?: string | undefined;
|
|
1516
1521
|
externalValue?: string | undefined;
|
|
1517
1522
|
}> | undefined;
|
|
1523
|
+
schema?: unknown;
|
|
1518
1524
|
content?: unknown;
|
|
1519
1525
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1520
1526
|
explode?: boolean | undefined;
|
|
1521
|
-
schema?: unknown;
|
|
1522
1527
|
}[] | undefined;
|
|
1523
|
-
requestBody?: any;
|
|
1524
1528
|
responses?: Record<string, any> | undefined;
|
|
1525
1529
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1526
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1527
|
-
'x-post-response'?: string | undefined;
|
|
1528
1530
|
'x-codeSamples'?: {
|
|
1529
1531
|
source: string;
|
|
1530
1532
|
label?: string | undefined;
|
|
@@ -1540,6 +1542,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1540
1542
|
label?: string | undefined;
|
|
1541
1543
|
lang?: string | undefined;
|
|
1542
1544
|
}[] | undefined;
|
|
1545
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1546
|
+
'x-post-response'?: string | undefined;
|
|
1543
1547
|
}[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 Path<{
|
|
1544
1548
|
uid: string & import("zod").BRAND<"operation">;
|
|
1545
1549
|
path: string;
|
|
@@ -1548,7 +1552,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1548
1552
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1549
1553
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1550
1554
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1551
|
-
method: "options" | "
|
|
1555
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1552
1556
|
description?: string | undefined;
|
|
1553
1557
|
summary?: string | undefined;
|
|
1554
1558
|
externalDocs?: {
|
|
@@ -1561,6 +1565,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1561
1565
|
tags?: string[] | undefined;
|
|
1562
1566
|
deprecated?: boolean | undefined;
|
|
1563
1567
|
operationId?: string | undefined;
|
|
1568
|
+
requestBody?: any;
|
|
1564
1569
|
parameters?: {
|
|
1565
1570
|
name: string;
|
|
1566
1571
|
required: boolean;
|
|
@@ -1573,16 +1578,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1573
1578
|
summary?: string | undefined;
|
|
1574
1579
|
externalValue?: string | undefined;
|
|
1575
1580
|
}> | undefined;
|
|
1581
|
+
schema?: unknown;
|
|
1576
1582
|
content?: unknown;
|
|
1577
1583
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1578
1584
|
explode?: boolean | undefined;
|
|
1579
|
-
schema?: unknown;
|
|
1580
1585
|
}[] | undefined;
|
|
1581
|
-
requestBody?: any;
|
|
1582
1586
|
responses?: Record<string, any> | undefined;
|
|
1583
1587
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1584
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1585
|
-
'x-post-response'?: string | undefined;
|
|
1586
1588
|
'x-codeSamples'?: {
|
|
1587
1589
|
source: string;
|
|
1588
1590
|
label?: string | undefined;
|
|
@@ -1598,6 +1600,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1598
1600
|
label?: string | undefined;
|
|
1599
1601
|
lang?: string | undefined;
|
|
1600
1602
|
}[] | undefined;
|
|
1603
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1604
|
+
'x-post-response'?: string | undefined;
|
|
1601
1605
|
}[K]> ? PathValue<{
|
|
1602
1606
|
uid: string & import("zod").BRAND<"operation">;
|
|
1603
1607
|
path: string;
|
|
@@ -1606,7 +1610,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1606
1610
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1607
1611
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1608
1612
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1609
|
-
method: "options" | "
|
|
1613
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1610
1614
|
description?: string | undefined;
|
|
1611
1615
|
summary?: string | undefined;
|
|
1612
1616
|
externalDocs?: {
|
|
@@ -1619,6 +1623,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1619
1623
|
tags?: string[] | undefined;
|
|
1620
1624
|
deprecated?: boolean | undefined;
|
|
1621
1625
|
operationId?: string | undefined;
|
|
1626
|
+
requestBody?: any;
|
|
1622
1627
|
parameters?: {
|
|
1623
1628
|
name: string;
|
|
1624
1629
|
required: boolean;
|
|
@@ -1631,16 +1636,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1631
1636
|
summary?: string | undefined;
|
|
1632
1637
|
externalValue?: string | undefined;
|
|
1633
1638
|
}> | undefined;
|
|
1639
|
+
schema?: unknown;
|
|
1634
1640
|
content?: unknown;
|
|
1635
1641
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1636
1642
|
explode?: boolean | undefined;
|
|
1637
|
-
schema?: unknown;
|
|
1638
1643
|
}[] | undefined;
|
|
1639
|
-
requestBody?: any;
|
|
1640
1644
|
responses?: Record<string, any> | undefined;
|
|
1641
1645
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1642
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1643
|
-
'x-post-response'?: string | undefined;
|
|
1644
1646
|
'x-codeSamples'?: {
|
|
1645
1647
|
source: string;
|
|
1646
1648
|
label?: string | undefined;
|
|
@@ -1656,6 +1658,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1656
1658
|
label?: string | undefined;
|
|
1657
1659
|
lang?: string | undefined;
|
|
1658
1660
|
}[] | undefined;
|
|
1661
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1662
|
+
'x-post-response'?: string | undefined;
|
|
1659
1663
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1660
1664
|
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" ? {
|
|
1661
1665
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -1665,7 +1669,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1665
1669
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1666
1670
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1667
1671
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1668
|
-
method: "options" | "
|
|
1672
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1669
1673
|
description?: string | undefined;
|
|
1670
1674
|
summary?: string | undefined;
|
|
1671
1675
|
externalDocs?: {
|
|
@@ -1678,6 +1682,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1678
1682
|
tags?: string[] | undefined;
|
|
1679
1683
|
deprecated?: boolean | undefined;
|
|
1680
1684
|
operationId?: string | undefined;
|
|
1685
|
+
requestBody?: any;
|
|
1681
1686
|
parameters?: {
|
|
1682
1687
|
name: string;
|
|
1683
1688
|
required: boolean;
|
|
@@ -1690,16 +1695,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1690
1695
|
summary?: string | undefined;
|
|
1691
1696
|
externalValue?: string | undefined;
|
|
1692
1697
|
}> | undefined;
|
|
1698
|
+
schema?: unknown;
|
|
1693
1699
|
content?: unknown;
|
|
1694
1700
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1695
1701
|
explode?: boolean | undefined;
|
|
1696
|
-
schema?: unknown;
|
|
1697
1702
|
}[] | undefined;
|
|
1698
|
-
requestBody?: any;
|
|
1699
1703
|
responses?: Record<string, any> | undefined;
|
|
1700
1704
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1701
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1702
|
-
'x-post-response'?: string | undefined;
|
|
1703
1705
|
'x-codeSamples'?: {
|
|
1704
1706
|
source: string;
|
|
1705
1707
|
label?: string | undefined;
|
|
@@ -1715,6 +1717,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1715
1717
|
label?: string | undefined;
|
|
1716
1718
|
lang?: string | undefined;
|
|
1717
1719
|
}[] | undefined;
|
|
1720
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1721
|
+
'x-post-response'?: string | undefined;
|
|
1718
1722
|
}[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 Path<{
|
|
1719
1723
|
uid: string & import("zod").BRAND<"operation">;
|
|
1720
1724
|
path: string;
|
|
@@ -1723,7 +1727,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1723
1727
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1724
1728
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1725
1729
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1726
|
-
method: "options" | "
|
|
1730
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1727
1731
|
description?: string | undefined;
|
|
1728
1732
|
summary?: string | undefined;
|
|
1729
1733
|
externalDocs?: {
|
|
@@ -1736,6 +1740,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1736
1740
|
tags?: string[] | undefined;
|
|
1737
1741
|
deprecated?: boolean | undefined;
|
|
1738
1742
|
operationId?: string | undefined;
|
|
1743
|
+
requestBody?: any;
|
|
1739
1744
|
parameters?: {
|
|
1740
1745
|
name: string;
|
|
1741
1746
|
required: boolean;
|
|
@@ -1748,16 +1753,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1748
1753
|
summary?: string | undefined;
|
|
1749
1754
|
externalValue?: string | undefined;
|
|
1750
1755
|
}> | undefined;
|
|
1756
|
+
schema?: unknown;
|
|
1751
1757
|
content?: unknown;
|
|
1752
1758
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1753
1759
|
explode?: boolean | undefined;
|
|
1754
|
-
schema?: unknown;
|
|
1755
1760
|
}[] | undefined;
|
|
1756
|
-
requestBody?: any;
|
|
1757
1761
|
responses?: Record<string, any> | undefined;
|
|
1758
1762
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1759
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1760
|
-
'x-post-response'?: string | undefined;
|
|
1761
1763
|
'x-codeSamples'?: {
|
|
1762
1764
|
source: string;
|
|
1763
1765
|
label?: string | undefined;
|
|
@@ -1773,6 +1775,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1773
1775
|
label?: string | undefined;
|
|
1774
1776
|
lang?: string | undefined;
|
|
1775
1777
|
}[] | undefined;
|
|
1778
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1779
|
+
'x-post-response'?: string | undefined;
|
|
1776
1780
|
}[K]> ? PathValue<{
|
|
1777
1781
|
uid: string & import("zod").BRAND<"operation">;
|
|
1778
1782
|
path: string;
|
|
@@ -1781,7 +1785,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1781
1785
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1782
1786
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
1783
1787
|
examples: (string & import("zod").BRAND<"example">)[];
|
|
1784
|
-
method: "options" | "
|
|
1788
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1785
1789
|
description?: string | undefined;
|
|
1786
1790
|
summary?: string | undefined;
|
|
1787
1791
|
externalDocs?: {
|
|
@@ -1794,6 +1798,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1794
1798
|
tags?: string[] | undefined;
|
|
1795
1799
|
deprecated?: boolean | undefined;
|
|
1796
1800
|
operationId?: string | undefined;
|
|
1801
|
+
requestBody?: any;
|
|
1797
1802
|
parameters?: {
|
|
1798
1803
|
name: string;
|
|
1799
1804
|
required: boolean;
|
|
@@ -1806,16 +1811,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1806
1811
|
summary?: string | undefined;
|
|
1807
1812
|
externalValue?: string | undefined;
|
|
1808
1813
|
}> | undefined;
|
|
1814
|
+
schema?: unknown;
|
|
1809
1815
|
content?: unknown;
|
|
1810
1816
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1811
1817
|
explode?: boolean | undefined;
|
|
1812
|
-
schema?: unknown;
|
|
1813
1818
|
}[] | undefined;
|
|
1814
|
-
requestBody?: any;
|
|
1815
1819
|
responses?: Record<string, any> | undefined;
|
|
1816
1820
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
1817
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1818
|
-
'x-post-response'?: string | undefined;
|
|
1819
1821
|
'x-codeSamples'?: {
|
|
1820
1822
|
source: string;
|
|
1821
1823
|
label?: string | undefined;
|
|
@@ -1831,6 +1833,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1831
1833
|
label?: string | undefined;
|
|
1832
1834
|
lang?: string | undefined;
|
|
1833
1835
|
}[] | undefined;
|
|
1836
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1837
|
+
'x-post-response'?: string | undefined;
|
|
1834
1838
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1835
1839
|
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1836
1840
|
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
@@ -1842,34 +1846,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1842
1846
|
uid: string & import("zod").BRAND<"example">;
|
|
1843
1847
|
name: string;
|
|
1844
1848
|
type: "requestExample";
|
|
1845
|
-
body: {
|
|
1846
|
-
activeBody: "binary" | "formData" | "raw";
|
|
1847
|
-
binary?: Blob | undefined;
|
|
1848
|
-
formData?: {
|
|
1849
|
-
value: {
|
|
1850
|
-
value: string;
|
|
1851
|
-
key: string;
|
|
1852
|
-
enabled: boolean;
|
|
1853
|
-
minimum?: number | undefined;
|
|
1854
|
-
type?: string | string[] | undefined;
|
|
1855
|
-
maximum?: number | undefined;
|
|
1856
|
-
description?: string | undefined;
|
|
1857
|
-
default?: any;
|
|
1858
|
-
required?: boolean | undefined;
|
|
1859
|
-
enum?: string[] | undefined;
|
|
1860
|
-
format?: string | undefined;
|
|
1861
|
-
examples?: any[] | undefined;
|
|
1862
|
-
file?: any;
|
|
1863
|
-
nullable?: boolean | undefined;
|
|
1864
|
-
}[];
|
|
1865
|
-
encoding: "form-data" | "urlencoded";
|
|
1866
|
-
} | undefined;
|
|
1867
|
-
raw?: {
|
|
1868
|
-
value: string;
|
|
1869
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1870
|
-
mimeType?: string | undefined;
|
|
1871
|
-
} | undefined;
|
|
1872
|
-
};
|
|
1873
1849
|
parameters: {
|
|
1874
1850
|
path: {
|
|
1875
1851
|
value: string;
|
|
@@ -1936,13 +1912,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1936
1912
|
nullable?: boolean | undefined;
|
|
1937
1913
|
}[];
|
|
1938
1914
|
};
|
|
1939
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1940
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1941
|
-
}) => void;
|
|
1942
|
-
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1943
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1944
|
-
name: string;
|
|
1945
|
-
type: "requestExample";
|
|
1946
1915
|
body: {
|
|
1947
1916
|
activeBody: "binary" | "formData" | "raw";
|
|
1948
1917
|
binary?: Blob | undefined;
|
|
@@ -1971,6 +1940,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1971
1940
|
mimeType?: string | undefined;
|
|
1972
1941
|
} | undefined;
|
|
1973
1942
|
};
|
|
1943
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1944
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1945
|
+
}) => void;
|
|
1946
|
+
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1947
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1948
|
+
name: string;
|
|
1949
|
+
type: "requestExample";
|
|
1974
1950
|
parameters: {
|
|
1975
1951
|
path: {
|
|
1976
1952
|
value: string;
|
|
@@ -2037,14 +2013,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2037
2013
|
nullable?: boolean | undefined;
|
|
2038
2014
|
}[];
|
|
2039
2015
|
};
|
|
2040
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2041
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2042
|
-
};
|
|
2043
|
-
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
2044
|
-
set: (item: {
|
|
2045
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2046
|
-
name: string;
|
|
2047
|
-
type: "requestExample";
|
|
2048
2016
|
body: {
|
|
2049
2017
|
activeBody: "binary" | "formData" | "raw";
|
|
2050
2018
|
binary?: Blob | undefined;
|
|
@@ -2073,6 +2041,14 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2073
2041
|
mimeType?: string | undefined;
|
|
2074
2042
|
} | undefined;
|
|
2075
2043
|
};
|
|
2044
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2045
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2046
|
+
};
|
|
2047
|
+
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
2048
|
+
set: (item: {
|
|
2049
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2050
|
+
name: string;
|
|
2051
|
+
type: "requestExample";
|
|
2076
2052
|
parameters: {
|
|
2077
2053
|
path: {
|
|
2078
2054
|
value: string;
|
|
@@ -2139,13 +2115,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2139
2115
|
nullable?: boolean | undefined;
|
|
2140
2116
|
}[];
|
|
2141
2117
|
};
|
|
2142
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2143
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2144
|
-
}) => void;
|
|
2145
|
-
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" ? {
|
|
2146
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2147
|
-
name: string;
|
|
2148
|
-
type: "requestExample";
|
|
2149
2118
|
body: {
|
|
2150
2119
|
activeBody: "binary" | "formData" | "raw";
|
|
2151
2120
|
binary?: Blob | undefined;
|
|
@@ -2174,6 +2143,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2174
2143
|
mimeType?: string | undefined;
|
|
2175
2144
|
} | undefined;
|
|
2176
2145
|
};
|
|
2146
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2147
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2148
|
+
}) => void;
|
|
2149
|
+
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" ? {
|
|
2150
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2151
|
+
name: string;
|
|
2152
|
+
type: "requestExample";
|
|
2177
2153
|
parameters: {
|
|
2178
2154
|
path: {
|
|
2179
2155
|
value: string;
|
|
@@ -2240,12 +2216,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2240
2216
|
nullable?: boolean | undefined;
|
|
2241
2217
|
}[];
|
|
2242
2218
|
};
|
|
2243
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2244
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2245
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends Path<{
|
|
2246
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2247
|
-
name: string;
|
|
2248
|
-
type: "requestExample";
|
|
2249
2219
|
body: {
|
|
2250
2220
|
activeBody: "binary" | "formData" | "raw";
|
|
2251
2221
|
binary?: Blob | undefined;
|
|
@@ -2274,6 +2244,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2274
2244
|
mimeType?: string | undefined;
|
|
2275
2245
|
} | undefined;
|
|
2276
2246
|
};
|
|
2247
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2248
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2249
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends Path<{
|
|
2250
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2251
|
+
name: string;
|
|
2252
|
+
type: "requestExample";
|
|
2277
2253
|
parameters: {
|
|
2278
2254
|
path: {
|
|
2279
2255
|
value: string;
|
|
@@ -2340,12 +2316,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2340
2316
|
nullable?: boolean | undefined;
|
|
2341
2317
|
}[];
|
|
2342
2318
|
};
|
|
2343
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2344
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2345
|
-
}[K]> ? PathValue<{
|
|
2346
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2347
|
-
name: string;
|
|
2348
|
-
type: "requestExample";
|
|
2349
2319
|
body: {
|
|
2350
2320
|
activeBody: "binary" | "formData" | "raw";
|
|
2351
2321
|
binary?: Blob | undefined;
|
|
@@ -2374,6 +2344,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2374
2344
|
mimeType?: string | undefined;
|
|
2375
2345
|
} | undefined;
|
|
2376
2346
|
};
|
|
2347
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2348
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2349
|
+
}[K]> ? PathValue<{
|
|
2350
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2351
|
+
name: string;
|
|
2352
|
+
type: "requestExample";
|
|
2377
2353
|
parameters: {
|
|
2378
2354
|
path: {
|
|
2379
2355
|
value: string;
|
|
@@ -2440,13 +2416,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2440
2416
|
nullable?: boolean | undefined;
|
|
2441
2417
|
}[];
|
|
2442
2418
|
};
|
|
2443
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2444
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2445
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2446
|
-
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" ? {
|
|
2447
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2448
|
-
name: string;
|
|
2449
|
-
type: "requestExample";
|
|
2450
2419
|
body: {
|
|
2451
2420
|
activeBody: "binary" | "formData" | "raw";
|
|
2452
2421
|
binary?: Blob | undefined;
|
|
@@ -2475,6 +2444,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2475
2444
|
mimeType?: string | undefined;
|
|
2476
2445
|
} | undefined;
|
|
2477
2446
|
};
|
|
2447
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2448
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2449
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2450
|
+
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" ? {
|
|
2451
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2452
|
+
name: string;
|
|
2453
|
+
type: "requestExample";
|
|
2478
2454
|
parameters: {
|
|
2479
2455
|
path: {
|
|
2480
2456
|
value: string;
|
|
@@ -2541,12 +2517,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2541
2517
|
nullable?: boolean | undefined;
|
|
2542
2518
|
}[];
|
|
2543
2519
|
};
|
|
2544
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2545
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2546
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends Path<{
|
|
2547
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2548
|
-
name: string;
|
|
2549
|
-
type: "requestExample";
|
|
2550
2520
|
body: {
|
|
2551
2521
|
activeBody: "binary" | "formData" | "raw";
|
|
2552
2522
|
binary?: Blob | undefined;
|
|
@@ -2575,6 +2545,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2575
2545
|
mimeType?: string | undefined;
|
|
2576
2546
|
} | undefined;
|
|
2577
2547
|
};
|
|
2548
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2549
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2550
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "uid" | "requestUid" | "name" | "body" | "serverVariables" ? R extends Path<{
|
|
2551
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2552
|
+
name: string;
|
|
2553
|
+
type: "requestExample";
|
|
2578
2554
|
parameters: {
|
|
2579
2555
|
path: {
|
|
2580
2556
|
value: string;
|
|
@@ -2641,12 +2617,6 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2641
2617
|
nullable?: boolean | undefined;
|
|
2642
2618
|
}[];
|
|
2643
2619
|
};
|
|
2644
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2645
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2646
|
-
}[K]> ? PathValue<{
|
|
2647
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2648
|
-
name: string;
|
|
2649
|
-
type: "requestExample";
|
|
2650
2620
|
body: {
|
|
2651
2621
|
activeBody: "binary" | "formData" | "raw";
|
|
2652
2622
|
binary?: Blob | undefined;
|
|
@@ -2675,6 +2645,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2675
2645
|
mimeType?: string | undefined;
|
|
2676
2646
|
} | undefined;
|
|
2677
2647
|
};
|
|
2648
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2649
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2650
|
+
}[K]> ? PathValue<{
|
|
2651
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2652
|
+
name: string;
|
|
2653
|
+
type: "requestExample";
|
|
2678
2654
|
parameters: {
|
|
2679
2655
|
path: {
|
|
2680
2656
|
value: string;
|
|
@@ -2741,6 +2717,34 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2741
2717
|
nullable?: boolean | undefined;
|
|
2742
2718
|
}[];
|
|
2743
2719
|
};
|
|
2720
|
+
body: {
|
|
2721
|
+
activeBody: "binary" | "formData" | "raw";
|
|
2722
|
+
binary?: Blob | undefined;
|
|
2723
|
+
formData?: {
|
|
2724
|
+
value: {
|
|
2725
|
+
value: string;
|
|
2726
|
+
key: string;
|
|
2727
|
+
enabled: boolean;
|
|
2728
|
+
minimum?: number | undefined;
|
|
2729
|
+
type?: string | string[] | undefined;
|
|
2730
|
+
maximum?: number | undefined;
|
|
2731
|
+
description?: string | undefined;
|
|
2732
|
+
default?: any;
|
|
2733
|
+
required?: boolean | undefined;
|
|
2734
|
+
enum?: string[] | undefined;
|
|
2735
|
+
format?: string | undefined;
|
|
2736
|
+
examples?: any[] | undefined;
|
|
2737
|
+
file?: any;
|
|
2738
|
+
nullable?: boolean | undefined;
|
|
2739
|
+
}[];
|
|
2740
|
+
encoding: "form-data" | "urlencoded";
|
|
2741
|
+
} | undefined;
|
|
2742
|
+
raw?: {
|
|
2743
|
+
value: string;
|
|
2744
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2745
|
+
mimeType?: string | undefined;
|
|
2746
|
+
} | undefined;
|
|
2747
|
+
};
|
|
2744
2748
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2745
2749
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2746
2750
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -2791,6 +2795,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2791
2795
|
tokenUrl: string;
|
|
2792
2796
|
clientSecret: string;
|
|
2793
2797
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2798
|
+
"x-tokenName"?: string | undefined;
|
|
2794
2799
|
} | undefined;
|
|
2795
2800
|
implicit?: {
|
|
2796
2801
|
type: "implicit";
|
|
@@ -2802,6 +2807,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2802
2807
|
authorizationUrl: string;
|
|
2803
2808
|
"x-scalar-redirect-uri": string;
|
|
2804
2809
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2810
|
+
"x-tokenName"?: string | undefined;
|
|
2805
2811
|
} | undefined;
|
|
2806
2812
|
clientCredentials?: {
|
|
2807
2813
|
type: "clientCredentials";
|
|
@@ -2813,6 +2819,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2813
2819
|
tokenUrl: string;
|
|
2814
2820
|
clientSecret: string;
|
|
2815
2821
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2822
|
+
"x-tokenName"?: string | undefined;
|
|
2816
2823
|
} | undefined;
|
|
2817
2824
|
authorizationCode?: {
|
|
2818
2825
|
type: "authorizationCode";
|
|
@@ -2827,6 +2834,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2827
2834
|
clientSecret: string;
|
|
2828
2835
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2829
2836
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2837
|
+
"x-tokenName"?: string | undefined;
|
|
2830
2838
|
} | undefined;
|
|
2831
2839
|
};
|
|
2832
2840
|
description?: string | undefined;
|
|
@@ -2873,6 +2881,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2873
2881
|
tokenUrl: string;
|
|
2874
2882
|
clientSecret: string;
|
|
2875
2883
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2884
|
+
"x-tokenName"?: string | undefined;
|
|
2876
2885
|
} | undefined;
|
|
2877
2886
|
implicit?: {
|
|
2878
2887
|
type: "implicit";
|
|
@@ -2884,6 +2893,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2884
2893
|
authorizationUrl: string;
|
|
2885
2894
|
"x-scalar-redirect-uri": string;
|
|
2886
2895
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2896
|
+
"x-tokenName"?: string | undefined;
|
|
2887
2897
|
} | undefined;
|
|
2888
2898
|
clientCredentials?: {
|
|
2889
2899
|
type: "clientCredentials";
|
|
@@ -2895,6 +2905,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2895
2905
|
tokenUrl: string;
|
|
2896
2906
|
clientSecret: string;
|
|
2897
2907
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2908
|
+
"x-tokenName"?: string | undefined;
|
|
2898
2909
|
} | undefined;
|
|
2899
2910
|
authorizationCode?: {
|
|
2900
2911
|
type: "authorizationCode";
|
|
@@ -2909,6 +2920,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2909
2920
|
clientSecret: string;
|
|
2910
2921
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2911
2922
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2923
|
+
"x-tokenName"?: string | undefined;
|
|
2912
2924
|
} | undefined;
|
|
2913
2925
|
};
|
|
2914
2926
|
description?: string | undefined;
|
|
@@ -2956,6 +2968,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2956
2968
|
tokenUrl: string;
|
|
2957
2969
|
clientSecret: string;
|
|
2958
2970
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2971
|
+
"x-tokenName"?: string | undefined;
|
|
2959
2972
|
} | undefined;
|
|
2960
2973
|
implicit?: {
|
|
2961
2974
|
type: "implicit";
|
|
@@ -2967,6 +2980,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2967
2980
|
authorizationUrl: string;
|
|
2968
2981
|
"x-scalar-redirect-uri": string;
|
|
2969
2982
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2983
|
+
"x-tokenName"?: string | undefined;
|
|
2970
2984
|
} | undefined;
|
|
2971
2985
|
clientCredentials?: {
|
|
2972
2986
|
type: "clientCredentials";
|
|
@@ -2978,6 +2992,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2978
2992
|
tokenUrl: string;
|
|
2979
2993
|
clientSecret: string;
|
|
2980
2994
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
2995
|
+
"x-tokenName"?: string | undefined;
|
|
2981
2996
|
} | undefined;
|
|
2982
2997
|
authorizationCode?: {
|
|
2983
2998
|
type: "authorizationCode";
|
|
@@ -2992,12 +3007,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2992
3007
|
clientSecret: string;
|
|
2993
3008
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2994
3009
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3010
|
+
"x-tokenName"?: string | undefined;
|
|
2995
3011
|
} | undefined;
|
|
2996
3012
|
};
|
|
2997
3013
|
description?: string | undefined;
|
|
2998
3014
|
'x-default-scopes'?: string | string[] | undefined;
|
|
2999
3015
|
}) => void;
|
|
3000
|
-
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" ? {
|
|
3016
|
+
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" ? {
|
|
3001
3017
|
type: "apiKey";
|
|
3002
3018
|
value: string;
|
|
3003
3019
|
name: string;
|
|
@@ -3086,6 +3102,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3086
3102
|
tokenUrl: string;
|
|
3087
3103
|
clientSecret: string;
|
|
3088
3104
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3105
|
+
"x-tokenName"?: string | undefined;
|
|
3089
3106
|
} | undefined;
|
|
3090
3107
|
implicit?: {
|
|
3091
3108
|
type: "implicit";
|
|
@@ -3097,6 +3114,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3097
3114
|
authorizationUrl: string;
|
|
3098
3115
|
"x-scalar-redirect-uri": string;
|
|
3099
3116
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3117
|
+
"x-tokenName"?: string | undefined;
|
|
3100
3118
|
} | undefined;
|
|
3101
3119
|
clientCredentials?: {
|
|
3102
3120
|
type: "clientCredentials";
|
|
@@ -3108,6 +3126,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3108
3126
|
tokenUrl: string;
|
|
3109
3127
|
clientSecret: string;
|
|
3110
3128
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3129
|
+
"x-tokenName"?: string | undefined;
|
|
3111
3130
|
} | undefined;
|
|
3112
3131
|
authorizationCode?: {
|
|
3113
3132
|
type: "authorizationCode";
|
|
@@ -3122,6 +3141,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3122
3141
|
clientSecret: string;
|
|
3123
3142
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3124
3143
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3144
|
+
"x-tokenName"?: string | undefined;
|
|
3125
3145
|
} | undefined;
|
|
3126
3146
|
};
|
|
3127
3147
|
description?: string | undefined;
|
|
@@ -3143,6 +3163,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3143
3163
|
tokenUrl: string;
|
|
3144
3164
|
clientSecret: string;
|
|
3145
3165
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3166
|
+
"x-tokenName"?: string | undefined;
|
|
3146
3167
|
} | undefined;
|
|
3147
3168
|
implicit?: {
|
|
3148
3169
|
type: "implicit";
|
|
@@ -3154,6 +3175,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3154
3175
|
authorizationUrl: string;
|
|
3155
3176
|
"x-scalar-redirect-uri": string;
|
|
3156
3177
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3178
|
+
"x-tokenName"?: string | undefined;
|
|
3157
3179
|
} | undefined;
|
|
3158
3180
|
clientCredentials?: {
|
|
3159
3181
|
type: "clientCredentials";
|
|
@@ -3165,6 +3187,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3165
3187
|
tokenUrl: string;
|
|
3166
3188
|
clientSecret: string;
|
|
3167
3189
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3190
|
+
"x-tokenName"?: string | undefined;
|
|
3168
3191
|
} | undefined;
|
|
3169
3192
|
authorizationCode?: {
|
|
3170
3193
|
type: "authorizationCode";
|
|
@@ -3179,6 +3202,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3179
3202
|
clientSecret: string;
|
|
3180
3203
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3181
3204
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3205
|
+
"x-tokenName"?: string | undefined;
|
|
3182
3206
|
} | undefined;
|
|
3183
3207
|
};
|
|
3184
3208
|
description?: string | undefined;
|
|
@@ -3200,6 +3224,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3200
3224
|
tokenUrl: string;
|
|
3201
3225
|
clientSecret: string;
|
|
3202
3226
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3227
|
+
"x-tokenName"?: string | undefined;
|
|
3203
3228
|
} | undefined;
|
|
3204
3229
|
implicit?: {
|
|
3205
3230
|
type: "implicit";
|
|
@@ -3211,6 +3236,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3211
3236
|
authorizationUrl: string;
|
|
3212
3237
|
"x-scalar-redirect-uri": string;
|
|
3213
3238
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3239
|
+
"x-tokenName"?: string | undefined;
|
|
3214
3240
|
} | undefined;
|
|
3215
3241
|
clientCredentials?: {
|
|
3216
3242
|
type: "clientCredentials";
|
|
@@ -3222,6 +3248,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3222
3248
|
tokenUrl: string;
|
|
3223
3249
|
clientSecret: string;
|
|
3224
3250
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3251
|
+
"x-tokenName"?: string | undefined;
|
|
3225
3252
|
} | undefined;
|
|
3226
3253
|
authorizationCode?: {
|
|
3227
3254
|
type: "authorizationCode";
|
|
@@ -3236,12 +3263,13 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3236
3263
|
clientSecret: string;
|
|
3237
3264
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3238
3265
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3266
|
+
"x-tokenName"?: string | undefined;
|
|
3239
3267
|
} | undefined;
|
|
3240
3268
|
};
|
|
3241
3269
|
description?: string | undefined;
|
|
3242
3270
|
'x-default-scopes'?: string | string[] | undefined;
|
|
3243
3271
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3244
|
-
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" ? {
|
|
3272
|
+
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" ? {
|
|
3245
3273
|
type: "apiKey";
|
|
3246
3274
|
value: string;
|
|
3247
3275
|
name: string;
|
|
@@ -3330,6 +3358,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3330
3358
|
tokenUrl: string;
|
|
3331
3359
|
clientSecret: string;
|
|
3332
3360
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3361
|
+
"x-tokenName"?: string | undefined;
|
|
3333
3362
|
} | undefined;
|
|
3334
3363
|
implicit?: {
|
|
3335
3364
|
type: "implicit";
|
|
@@ -3341,6 +3370,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3341
3370
|
authorizationUrl: string;
|
|
3342
3371
|
"x-scalar-redirect-uri": string;
|
|
3343
3372
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3373
|
+
"x-tokenName"?: string | undefined;
|
|
3344
3374
|
} | undefined;
|
|
3345
3375
|
clientCredentials?: {
|
|
3346
3376
|
type: "clientCredentials";
|
|
@@ -3352,6 +3382,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3352
3382
|
tokenUrl: string;
|
|
3353
3383
|
clientSecret: string;
|
|
3354
3384
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3385
|
+
"x-tokenName"?: string | undefined;
|
|
3355
3386
|
} | undefined;
|
|
3356
3387
|
authorizationCode?: {
|
|
3357
3388
|
type: "authorizationCode";
|
|
@@ -3366,6 +3397,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3366
3397
|
clientSecret: string;
|
|
3367
3398
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3368
3399
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3400
|
+
"x-tokenName"?: string | undefined;
|
|
3369
3401
|
} | undefined;
|
|
3370
3402
|
};
|
|
3371
3403
|
description?: string | undefined;
|
|
@@ -3387,6 +3419,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3387
3419
|
tokenUrl: string;
|
|
3388
3420
|
clientSecret: string;
|
|
3389
3421
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3422
|
+
"x-tokenName"?: string | undefined;
|
|
3390
3423
|
} | undefined;
|
|
3391
3424
|
implicit?: {
|
|
3392
3425
|
type: "implicit";
|
|
@@ -3398,6 +3431,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3398
3431
|
authorizationUrl: string;
|
|
3399
3432
|
"x-scalar-redirect-uri": string;
|
|
3400
3433
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3434
|
+
"x-tokenName"?: string | undefined;
|
|
3401
3435
|
} | undefined;
|
|
3402
3436
|
clientCredentials?: {
|
|
3403
3437
|
type: "clientCredentials";
|
|
@@ -3409,6 +3443,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3409
3443
|
tokenUrl: string;
|
|
3410
3444
|
clientSecret: string;
|
|
3411
3445
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3446
|
+
"x-tokenName"?: string | undefined;
|
|
3412
3447
|
} | undefined;
|
|
3413
3448
|
authorizationCode?: {
|
|
3414
3449
|
type: "authorizationCode";
|
|
@@ -3423,6 +3458,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3423
3458
|
clientSecret: string;
|
|
3424
3459
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3425
3460
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3461
|
+
"x-tokenName"?: string | undefined;
|
|
3426
3462
|
} | undefined;
|
|
3427
3463
|
};
|
|
3428
3464
|
description?: string | undefined;
|
|
@@ -3444,6 +3480,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3444
3480
|
tokenUrl: string;
|
|
3445
3481
|
clientSecret: string;
|
|
3446
3482
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3483
|
+
"x-tokenName"?: string | undefined;
|
|
3447
3484
|
} | undefined;
|
|
3448
3485
|
implicit?: {
|
|
3449
3486
|
type: "implicit";
|
|
@@ -3455,6 +3492,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3455
3492
|
authorizationUrl: string;
|
|
3456
3493
|
"x-scalar-redirect-uri": string;
|
|
3457
3494
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3495
|
+
"x-tokenName"?: string | undefined;
|
|
3458
3496
|
} | undefined;
|
|
3459
3497
|
clientCredentials?: {
|
|
3460
3498
|
type: "clientCredentials";
|
|
@@ -3466,6 +3504,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3466
3504
|
tokenUrl: string;
|
|
3467
3505
|
clientSecret: string;
|
|
3468
3506
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3507
|
+
"x-tokenName"?: string | undefined;
|
|
3469
3508
|
} | undefined;
|
|
3470
3509
|
authorizationCode?: {
|
|
3471
3510
|
type: "authorizationCode";
|
|
@@ -3480,6 +3519,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3480
3519
|
clientSecret: string;
|
|
3481
3520
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3482
3521
|
"x-scalar-security-query"?: Record<string, string> | undefined;
|
|
3522
|
+
"x-tokenName"?: string | undefined;
|
|
3483
3523
|
} | undefined;
|
|
3484
3524
|
};
|
|
3485
3525
|
description?: string | undefined;
|