@scalar/api-client-react 1.0.7 → 1.0.8
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 +8 -0
- package/dist/index.d.ts +409 -498
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ import { RequestEvent } from '@scalar/oas-utils/entities/workspace/spec';
|
|
|
15
15
|
import { RequestExample } from '@scalar/oas-utils/entities/workspace/spec';
|
|
16
16
|
import { RequestPayload } from '@scalar/oas-utils/entities/workspace/spec';
|
|
17
17
|
import { Router } from 'vue-router';
|
|
18
|
+
import { SecurityScheme } from '@scalar/oas-utils/entities/workspace/security';
|
|
19
|
+
import { SecuritySchemePayload } from '@scalar/oas-utils/entities/workspace/security';
|
|
18
20
|
import { Server } from '@scalar/oas-utils/entities/workspace/server';
|
|
19
21
|
import { ServerPayload } from '@scalar/oas-utils/entities/workspace/server';
|
|
20
22
|
import { SpecConfiguration } from '@scalar/oas-utils';
|
|
@@ -96,10 +98,7 @@ export declare const useApiClientModal: () => {
|
|
|
96
98
|
} | undefined;
|
|
97
99
|
} | undefined;
|
|
98
100
|
};
|
|
99
|
-
|
|
100
|
-
uid: string;
|
|
101
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
102
|
-
}[];
|
|
101
|
+
securitySchemeDict: Record<string, string>;
|
|
103
102
|
selectedServerUid: string;
|
|
104
103
|
childUids: string[];
|
|
105
104
|
}>;
|
|
@@ -145,8 +144,8 @@ export declare const useApiClientModal: () => {
|
|
|
145
144
|
minimum?: number | undefined;
|
|
146
145
|
type?: string | undefined;
|
|
147
146
|
maximum?: number | undefined;
|
|
148
|
-
default?: any;
|
|
149
147
|
description?: string | undefined;
|
|
148
|
+
default?: any;
|
|
150
149
|
enum?: string[] | undefined;
|
|
151
150
|
required?: boolean | undefined;
|
|
152
151
|
file?: File | undefined;
|
|
@@ -161,8 +160,8 @@ export declare const useApiClientModal: () => {
|
|
|
161
160
|
minimum?: number | undefined;
|
|
162
161
|
type?: string | undefined;
|
|
163
162
|
maximum?: number | undefined;
|
|
164
|
-
default?: any;
|
|
165
163
|
description?: string | undefined;
|
|
164
|
+
default?: any;
|
|
166
165
|
enum?: string[] | undefined;
|
|
167
166
|
required?: boolean | undefined;
|
|
168
167
|
file?: File | undefined;
|
|
@@ -177,8 +176,8 @@ export declare const useApiClientModal: () => {
|
|
|
177
176
|
minimum?: number | undefined;
|
|
178
177
|
type?: string | undefined;
|
|
179
178
|
maximum?: number | undefined;
|
|
180
|
-
default?: any;
|
|
181
179
|
description?: string | undefined;
|
|
180
|
+
default?: any;
|
|
182
181
|
enum?: string[] | undefined;
|
|
183
182
|
required?: boolean | undefined;
|
|
184
183
|
file?: File | undefined;
|
|
@@ -193,8 +192,8 @@ export declare const useApiClientModal: () => {
|
|
|
193
192
|
minimum?: number | undefined;
|
|
194
193
|
type?: string | undefined;
|
|
195
194
|
maximum?: number | undefined;
|
|
196
|
-
default?: any;
|
|
197
195
|
description?: string | undefined;
|
|
196
|
+
default?: any;
|
|
198
197
|
enum?: string[] | undefined;
|
|
199
198
|
required?: boolean | undefined;
|
|
200
199
|
file?: File | undefined;
|
|
@@ -217,8 +216,8 @@ export declare const useApiClientModal: () => {
|
|
|
217
216
|
minimum?: number | undefined;
|
|
218
217
|
type?: string | undefined;
|
|
219
218
|
maximum?: number | undefined;
|
|
220
|
-
default?: any;
|
|
221
219
|
description?: string | undefined;
|
|
220
|
+
default?: any;
|
|
222
221
|
enum?: string[] | undefined;
|
|
223
222
|
required?: boolean | undefined;
|
|
224
223
|
file?: File | undefined;
|
|
@@ -239,8 +238,8 @@ export declare const useApiClientModal: () => {
|
|
|
239
238
|
url: string;
|
|
240
239
|
description?: string | undefined;
|
|
241
240
|
variables?: Record<string, {
|
|
242
|
-
default: string;
|
|
243
241
|
uid: string;
|
|
242
|
+
default: string;
|
|
244
243
|
value?: string | undefined;
|
|
245
244
|
description?: string | undefined;
|
|
246
245
|
enum?: string[] | undefined;
|
|
@@ -250,6 +249,7 @@ export declare const useApiClientModal: () => {
|
|
|
250
249
|
type: "apiKey";
|
|
251
250
|
value: string;
|
|
252
251
|
uid: string;
|
|
252
|
+
nameKey: string;
|
|
253
253
|
name: string;
|
|
254
254
|
in: "query" | "header" | "cookie";
|
|
255
255
|
description?: string | undefined;
|
|
@@ -257,6 +257,7 @@ export declare const useApiClientModal: () => {
|
|
|
257
257
|
type: "http";
|
|
258
258
|
value: string;
|
|
259
259
|
uid: string;
|
|
260
|
+
nameKey: string;
|
|
260
261
|
scheme: "basic" | "bearer";
|
|
261
262
|
bearerFormat: string;
|
|
262
263
|
secondValue: string;
|
|
@@ -264,48 +265,50 @@ export declare const useApiClientModal: () => {
|
|
|
264
265
|
} | {
|
|
265
266
|
type: "oauth2";
|
|
266
267
|
uid: string;
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
268
|
+
nameKey: string;
|
|
269
|
+
flow: {
|
|
270
|
+
type: "implicit";
|
|
271
|
+
refreshUrl: string;
|
|
272
|
+
selectedScopes: string[];
|
|
273
|
+
token: string;
|
|
274
|
+
authorizationUrl: string;
|
|
275
|
+
redirectUri: string;
|
|
276
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
277
|
+
} | {
|
|
278
|
+
type: "password";
|
|
279
|
+
value: string;
|
|
280
|
+
secondValue: string;
|
|
281
|
+
refreshUrl: string;
|
|
282
|
+
selectedScopes: string[];
|
|
283
|
+
token: string;
|
|
284
|
+
tokenUrl: string;
|
|
285
|
+
clientSecret: string;
|
|
286
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
287
|
+
} | {
|
|
288
|
+
type: "clientCredentials";
|
|
289
|
+
refreshUrl: string;
|
|
290
|
+
selectedScopes: string[];
|
|
291
|
+
token: string;
|
|
292
|
+
tokenUrl: string;
|
|
293
|
+
clientSecret: string;
|
|
294
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
295
|
+
} | {
|
|
296
|
+
type: "authorizationCode";
|
|
297
|
+
refreshUrl: string;
|
|
298
|
+
selectedScopes: string[];
|
|
299
|
+
token: string;
|
|
300
|
+
authorizationUrl: string;
|
|
301
|
+
redirectUri: string;
|
|
302
|
+
tokenUrl: string;
|
|
303
|
+
clientSecret: string;
|
|
304
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
302
305
|
};
|
|
303
306
|
clientId: string;
|
|
304
|
-
redirectUri: string;
|
|
305
307
|
description?: string | undefined;
|
|
306
308
|
} | {
|
|
307
309
|
type: "openIdConnect";
|
|
308
310
|
uid: string;
|
|
311
|
+
nameKey: string;
|
|
309
312
|
openIdConnectUrl: string;
|
|
310
313
|
description?: string | undefined;
|
|
311
314
|
}>;
|
|
@@ -345,10 +348,7 @@ export declare const useApiClientModal: () => {
|
|
|
345
348
|
} | undefined;
|
|
346
349
|
} | undefined;
|
|
347
350
|
};
|
|
348
|
-
|
|
349
|
-
uid: string;
|
|
350
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
351
|
-
}[];
|
|
351
|
+
securitySchemeDict: Record<string, string>;
|
|
352
352
|
selectedServerUid: string;
|
|
353
353
|
childUids: string[];
|
|
354
354
|
} | null>;
|
|
@@ -365,8 +365,8 @@ export declare const useApiClientModal: () => {
|
|
|
365
365
|
minimum?: number | undefined;
|
|
366
366
|
type?: string | undefined;
|
|
367
367
|
maximum?: number | undefined;
|
|
368
|
-
default?: any;
|
|
369
368
|
description?: string | undefined;
|
|
369
|
+
default?: any;
|
|
370
370
|
enum?: string[] | undefined;
|
|
371
371
|
required?: boolean | undefined;
|
|
372
372
|
file?: File | undefined;
|
|
@@ -381,8 +381,8 @@ export declare const useApiClientModal: () => {
|
|
|
381
381
|
minimum?: number | undefined;
|
|
382
382
|
type?: string | undefined;
|
|
383
383
|
maximum?: number | undefined;
|
|
384
|
-
default?: any;
|
|
385
384
|
description?: string | undefined;
|
|
385
|
+
default?: any;
|
|
386
386
|
enum?: string[] | undefined;
|
|
387
387
|
required?: boolean | undefined;
|
|
388
388
|
file?: File | undefined;
|
|
@@ -397,8 +397,8 @@ export declare const useApiClientModal: () => {
|
|
|
397
397
|
minimum?: number | undefined;
|
|
398
398
|
type?: string | undefined;
|
|
399
399
|
maximum?: number | undefined;
|
|
400
|
-
default?: any;
|
|
401
400
|
description?: string | undefined;
|
|
401
|
+
default?: any;
|
|
402
402
|
enum?: string[] | undefined;
|
|
403
403
|
required?: boolean | undefined;
|
|
404
404
|
file?: File | undefined;
|
|
@@ -413,8 +413,8 @@ export declare const useApiClientModal: () => {
|
|
|
413
413
|
minimum?: number | undefined;
|
|
414
414
|
type?: string | undefined;
|
|
415
415
|
maximum?: number | undefined;
|
|
416
|
-
default?: any;
|
|
417
416
|
description?: string | undefined;
|
|
417
|
+
default?: any;
|
|
418
418
|
enum?: string[] | undefined;
|
|
419
419
|
required?: boolean | undefined;
|
|
420
420
|
file?: File | undefined;
|
|
@@ -437,8 +437,8 @@ export declare const useApiClientModal: () => {
|
|
|
437
437
|
minimum?: number | undefined;
|
|
438
438
|
type?: string | undefined;
|
|
439
439
|
maximum?: number | undefined;
|
|
440
|
-
default?: any;
|
|
441
440
|
description?: string | undefined;
|
|
441
|
+
default?: any;
|
|
442
442
|
enum?: string[] | undefined;
|
|
443
443
|
required?: boolean | undefined;
|
|
444
444
|
file?: File | undefined;
|
|
@@ -465,42 +465,11 @@ export declare const useApiClientModal: () => {
|
|
|
465
465
|
workspace: string;
|
|
466
466
|
}>;
|
|
467
467
|
activeSecurityRequirements: ComputedRef<Record<string, string[]>[]>;
|
|
468
|
-
|
|
469
|
-
flow: {
|
|
470
|
-
value: string;
|
|
471
|
-
secondValue: string;
|
|
472
|
-
selectedScopes: string[];
|
|
473
|
-
token: string;
|
|
474
|
-
tokenUrl: string;
|
|
475
|
-
clientSecret: string;
|
|
476
|
-
refreshUrl?: string | undefined;
|
|
477
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
478
|
-
} | {
|
|
479
|
-
authorizationUrl: string;
|
|
480
|
-
selectedScopes: string[];
|
|
481
|
-
token: string;
|
|
482
|
-
refreshUrl?: string | undefined;
|
|
483
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
484
|
-
} | {
|
|
485
|
-
selectedScopes: string[];
|
|
486
|
-
token: string;
|
|
487
|
-
tokenUrl: string;
|
|
488
|
-
clientSecret: string;
|
|
489
|
-
refreshUrl?: string | undefined;
|
|
490
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
491
|
-
} | {
|
|
492
|
-
authorizationUrl: string;
|
|
493
|
-
selectedScopes: string[];
|
|
494
|
-
token: string;
|
|
495
|
-
tokenUrl: string;
|
|
496
|
-
clientSecret: string;
|
|
497
|
-
refreshUrl?: string | undefined;
|
|
498
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
499
|
-
} | undefined;
|
|
500
|
-
scheme: {
|
|
468
|
+
activeSecuritySchemes: ComputedRef<({
|
|
501
469
|
type: "apiKey";
|
|
502
470
|
value: string;
|
|
503
471
|
uid: string;
|
|
472
|
+
nameKey: string;
|
|
504
473
|
name: string;
|
|
505
474
|
in: "query" | "header" | "cookie";
|
|
506
475
|
description?: string | undefined;
|
|
@@ -508,6 +477,7 @@ export declare const useApiClientModal: () => {
|
|
|
508
477
|
type: "http";
|
|
509
478
|
value: string;
|
|
510
479
|
uid: string;
|
|
480
|
+
nameKey: string;
|
|
511
481
|
scheme: "basic" | "bearer";
|
|
512
482
|
bearerFormat: string;
|
|
513
483
|
secondValue: string;
|
|
@@ -515,124 +485,60 @@ export declare const useApiClientModal: () => {
|
|
|
515
485
|
} | {
|
|
516
486
|
type: "oauth2";
|
|
517
487
|
uid: string;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
token: string;
|
|
523
|
-
refreshUrl?: string | undefined;
|
|
524
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
525
|
-
} | undefined;
|
|
526
|
-
password?: {
|
|
527
|
-
value: string;
|
|
528
|
-
secondValue: string;
|
|
529
|
-
selectedScopes: string[];
|
|
530
|
-
token: string;
|
|
531
|
-
tokenUrl: string;
|
|
532
|
-
clientSecret: string;
|
|
533
|
-
refreshUrl?: string | undefined;
|
|
534
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
535
|
-
} | undefined;
|
|
536
|
-
clientCredentials?: {
|
|
488
|
+
nameKey: string;
|
|
489
|
+
flow: {
|
|
490
|
+
type: "implicit";
|
|
491
|
+
refreshUrl: string;
|
|
537
492
|
selectedScopes: string[];
|
|
538
493
|
token: string;
|
|
539
|
-
tokenUrl: string;
|
|
540
|
-
clientSecret: string;
|
|
541
|
-
refreshUrl?: string | undefined;
|
|
542
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
543
|
-
} | undefined;
|
|
544
|
-
authorizationCode?: {
|
|
545
494
|
authorizationUrl: string;
|
|
546
|
-
selectedScopes: string[];
|
|
547
|
-
token: string;
|
|
548
|
-
tokenUrl: string;
|
|
549
|
-
clientSecret: string;
|
|
550
|
-
refreshUrl?: string | undefined;
|
|
551
|
-
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
552
|
-
} | undefined;
|
|
553
|
-
};
|
|
554
|
-
clientId: string;
|
|
555
495
|
redirectUri: string;
|
|
556
|
-
description?: string | undefined;
|
|
557
|
-
} | {
|
|
558
|
-
type: "openIdConnect";
|
|
559
|
-
uid: string;
|
|
560
|
-
openIdConnectUrl: string;
|
|
561
|
-
description?: string | undefined;
|
|
562
|
-
};
|
|
563
|
-
} | {
|
|
564
|
-
flow?: undefined;
|
|
565
|
-
scheme: {
|
|
566
|
-
type: "apiKey";
|
|
567
|
-
value: string;
|
|
568
|
-
uid: string;
|
|
569
|
-
name: string;
|
|
570
|
-
in: "query" | "header" | "cookie";
|
|
571
|
-
description?: string | undefined;
|
|
572
|
-
} | {
|
|
573
|
-
type: "http";
|
|
574
|
-
value: string;
|
|
575
|
-
uid: string;
|
|
576
|
-
scheme: "basic" | "bearer";
|
|
577
|
-
bearerFormat: string;
|
|
578
|
-
secondValue: string;
|
|
579
|
-
description?: string | undefined;
|
|
580
|
-
} | {
|
|
581
|
-
type: "oauth2";
|
|
582
|
-
uid: string;
|
|
583
|
-
flows: {
|
|
584
|
-
implicit?: {
|
|
585
|
-
authorizationUrl: string;
|
|
586
|
-
selectedScopes: string[];
|
|
587
|
-
token: string;
|
|
588
|
-
refreshUrl?: string | undefined;
|
|
589
496
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
590
|
-
} |
|
|
591
|
-
password
|
|
497
|
+
} | {
|
|
498
|
+
type: "password";
|
|
592
499
|
value: string;
|
|
593
500
|
secondValue: string;
|
|
501
|
+
refreshUrl: string;
|
|
594
502
|
selectedScopes: string[];
|
|
595
503
|
token: string;
|
|
596
504
|
tokenUrl: string;
|
|
597
505
|
clientSecret: string;
|
|
598
|
-
refreshUrl?: string | undefined;
|
|
599
506
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
600
|
-
} |
|
|
601
|
-
clientCredentials
|
|
507
|
+
} | {
|
|
508
|
+
type: "clientCredentials";
|
|
509
|
+
refreshUrl: string;
|
|
602
510
|
selectedScopes: string[];
|
|
603
511
|
token: string;
|
|
604
512
|
tokenUrl: string;
|
|
605
513
|
clientSecret: string;
|
|
606
|
-
refreshUrl?: string | undefined;
|
|
607
514
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
608
|
-
} |
|
|
609
|
-
authorizationCode
|
|
610
|
-
|
|
515
|
+
} | {
|
|
516
|
+
type: "authorizationCode";
|
|
517
|
+
refreshUrl: string;
|
|
611
518
|
selectedScopes: string[];
|
|
612
519
|
token: string;
|
|
520
|
+
authorizationUrl: string;
|
|
521
|
+
redirectUri: string;
|
|
613
522
|
tokenUrl: string;
|
|
614
523
|
clientSecret: string;
|
|
615
|
-
refreshUrl?: string | undefined;
|
|
616
524
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
617
|
-
} | undefined;
|
|
618
525
|
};
|
|
619
526
|
clientId: string;
|
|
620
|
-
redirectUri: string;
|
|
621
527
|
description?: string | undefined;
|
|
622
528
|
} | {
|
|
623
529
|
type: "openIdConnect";
|
|
624
530
|
uid: string;
|
|
531
|
+
nameKey: string;
|
|
625
532
|
openIdConnectUrl: string;
|
|
626
533
|
description?: string | undefined;
|
|
627
|
-
}
|
|
628
|
-
} | undefined>;
|
|
534
|
+
})[]>;
|
|
629
535
|
activeServer: ComputedRef< {
|
|
630
536
|
uid: string;
|
|
631
537
|
url: string;
|
|
632
538
|
description?: string | undefined;
|
|
633
539
|
variables?: Record<string, {
|
|
634
|
-
default: string;
|
|
635
540
|
uid: string;
|
|
541
|
+
default: string;
|
|
636
542
|
value?: string | undefined;
|
|
637
543
|
description?: string | undefined;
|
|
638
544
|
enum?: string[] | undefined;
|
|
@@ -685,10 +591,7 @@ export declare const useApiClientModal: () => {
|
|
|
685
591
|
} | undefined;
|
|
686
592
|
} | undefined;
|
|
687
593
|
};
|
|
688
|
-
|
|
689
|
-
uid: string;
|
|
690
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
691
|
-
}[];
|
|
594
|
+
securitySchemeDict: Record<string, string>;
|
|
692
595
|
selectedServerUid: string;
|
|
693
596
|
childUids: string[];
|
|
694
597
|
}[]>;
|
|
@@ -697,8 +600,8 @@ export declare const useApiClientModal: () => {
|
|
|
697
600
|
url: string;
|
|
698
601
|
description?: string | undefined;
|
|
699
602
|
variables?: Record<string, {
|
|
700
|
-
default: string;
|
|
701
603
|
uid: string;
|
|
604
|
+
default: string;
|
|
702
605
|
value?: string | undefined;
|
|
703
606
|
description?: string | undefined;
|
|
704
607
|
enum?: string[] | undefined;
|
|
@@ -865,10 +768,7 @@ export declare const useApiClientModal: () => {
|
|
|
865
768
|
} | undefined;
|
|
866
769
|
} | undefined;
|
|
867
770
|
};
|
|
868
|
-
|
|
869
|
-
uid: string;
|
|
870
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
871
|
-
}[];
|
|
771
|
+
securitySchemeDict: Record<string, string>;
|
|
872
772
|
selectedServerUid: string;
|
|
873
773
|
childUids: string[];
|
|
874
774
|
}) => void;
|
|
@@ -908,10 +808,7 @@ export declare const useApiClientModal: () => {
|
|
|
908
808
|
} | undefined;
|
|
909
809
|
} | undefined;
|
|
910
810
|
};
|
|
911
|
-
|
|
912
|
-
uid: string;
|
|
913
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
914
|
-
}[];
|
|
811
|
+
securitySchemeDict: Record<string, string>;
|
|
915
812
|
selectedServerUid: string;
|
|
916
813
|
childUids: string[];
|
|
917
814
|
};
|
|
@@ -952,14 +849,11 @@ export declare const useApiClientModal: () => {
|
|
|
952
849
|
} | undefined;
|
|
953
850
|
} | undefined;
|
|
954
851
|
};
|
|
955
|
-
|
|
956
|
-
uid: string;
|
|
957
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
958
|
-
}[];
|
|
852
|
+
securitySchemeDict: Record<string, string>;
|
|
959
853
|
selectedServerUid: string;
|
|
960
854
|
childUids: string[];
|
|
961
855
|
}) => void;
|
|
962
|
-
edit: <P extends "uid" | "spec" | "
|
|
856
|
+
edit: <P extends "uid" | "spec" | "childUids" | `childUids.${number}` | "securitySchemeDict" | "selectedServerUid" | "spec.info" | "spec.tags" | "spec.security" | "spec.externalDocs" | `spec.tags.${number}` | `spec.security.${number}` | `spec.security.${number}.${string}` | "spec.externalDocs.url" | "spec.externalDocs.description" | "spec.openapi" | "spec.serverUids" | "spec.info.summary" | "spec.info.title" | "spec.info.description" | "spec.info.version" | "spec.info.termsOfService" | "spec.info.contact" | "spec.info.license" | "spec.info.contact.name" | "spec.info.contact.email" | "spec.info.contact.url" | "spec.info.license.name" | "spec.info.license.url" | "spec.info.license.identifier" | `spec.tags.${number}.description` | `spec.tags.${number}.name` | `spec.tags.${number}.externalDocs` | `spec.tags.${number}.externalDocs.url` | `spec.tags.${number}.externalDocs.description` | `spec.serverUids.${number}` | `securitySchemeDict.${string}`>(uid: string, path: P, value: P extends "uid" | "spec" | "childUids" | "securitySchemeDict" | "selectedServerUid" ? {
|
|
963
857
|
uid: string;
|
|
964
858
|
spec: {
|
|
965
859
|
openapi: string;
|
|
@@ -995,13 +889,10 @@ export declare const useApiClientModal: () => {
|
|
|
995
889
|
} | undefined;
|
|
996
890
|
} | undefined;
|
|
997
891
|
};
|
|
998
|
-
|
|
999
|
-
uid: string;
|
|
1000
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
1001
|
-
}[];
|
|
892
|
+
securitySchemeDict: Record<string, string>;
|
|
1002
893
|
selectedServerUid: string;
|
|
1003
894
|
childUids: string[];
|
|
1004
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "uid" | "spec" | "
|
|
895
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "uid" | "spec" | "childUids" | "securitySchemeDict" | "selectedServerUid" ? R extends Path< {
|
|
1005
896
|
uid: string;
|
|
1006
897
|
spec: {
|
|
1007
898
|
openapi: string;
|
|
@@ -1037,10 +928,7 @@ export declare const useApiClientModal: () => {
|
|
|
1037
928
|
} | undefined;
|
|
1038
929
|
} | undefined;
|
|
1039
930
|
};
|
|
1040
|
-
|
|
1041
|
-
uid: string;
|
|
1042
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
1043
|
-
}[];
|
|
931
|
+
securitySchemeDict: Record<string, string>;
|
|
1044
932
|
selectedServerUid: string;
|
|
1045
933
|
childUids: string[];
|
|
1046
934
|
}[K]> ? PathValue< {
|
|
@@ -1079,14 +967,11 @@ export declare const useApiClientModal: () => {
|
|
|
1079
967
|
} | undefined;
|
|
1080
968
|
} | undefined;
|
|
1081
969
|
};
|
|
1082
|
-
|
|
1083
|
-
uid: string;
|
|
1084
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
1085
|
-
}[];
|
|
970
|
+
securitySchemeDict: Record<string, string>;
|
|
1086
971
|
selectedServerUid: string;
|
|
1087
972
|
childUids: string[];
|
|
1088
973
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1089
|
-
untrackedEdit: <P extends "uid" | "spec" | "
|
|
974
|
+
untrackedEdit: <P extends "uid" | "spec" | "childUids" | `childUids.${number}` | "securitySchemeDict" | "selectedServerUid" | "spec.info" | "spec.tags" | "spec.security" | "spec.externalDocs" | `spec.tags.${number}` | `spec.security.${number}` | `spec.security.${number}.${string}` | "spec.externalDocs.url" | "spec.externalDocs.description" | "spec.openapi" | "spec.serverUids" | "spec.info.summary" | "spec.info.title" | "spec.info.description" | "spec.info.version" | "spec.info.termsOfService" | "spec.info.contact" | "spec.info.license" | "spec.info.contact.name" | "spec.info.contact.email" | "spec.info.contact.url" | "spec.info.license.name" | "spec.info.license.url" | "spec.info.license.identifier" | `spec.tags.${number}.description` | `spec.tags.${number}.name` | `spec.tags.${number}.externalDocs` | `spec.tags.${number}.externalDocs.url` | `spec.tags.${number}.externalDocs.description` | `spec.serverUids.${number}` | `securitySchemeDict.${string}`>(uid: string, path: P, value: P extends "uid" | "spec" | "childUids" | "securitySchemeDict" | "selectedServerUid" ? {
|
|
1090
975
|
uid: string;
|
|
1091
976
|
spec: {
|
|
1092
977
|
openapi: string;
|
|
@@ -1122,13 +1007,10 @@ export declare const useApiClientModal: () => {
|
|
|
1122
1007
|
} | undefined;
|
|
1123
1008
|
} | undefined;
|
|
1124
1009
|
};
|
|
1125
|
-
|
|
1126
|
-
uid: string;
|
|
1127
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
1128
|
-
}[];
|
|
1010
|
+
securitySchemeDict: Record<string, string>;
|
|
1129
1011
|
selectedServerUid: string;
|
|
1130
1012
|
childUids: string[];
|
|
1131
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "uid" | "spec" | "
|
|
1013
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "uid" | "spec" | "childUids" | "securitySchemeDict" | "selectedServerUid" ? R extends Path< {
|
|
1132
1014
|
uid: string;
|
|
1133
1015
|
spec: {
|
|
1134
1016
|
openapi: string;
|
|
@@ -1164,10 +1046,7 @@ export declare const useApiClientModal: () => {
|
|
|
1164
1046
|
} | undefined;
|
|
1165
1047
|
} | undefined;
|
|
1166
1048
|
};
|
|
1167
|
-
|
|
1168
|
-
uid: string;
|
|
1169
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
1170
|
-
}[];
|
|
1049
|
+
securitySchemeDict: Record<string, string>;
|
|
1171
1050
|
selectedServerUid: string;
|
|
1172
1051
|
childUids: string[];
|
|
1173
1052
|
}[K]> ? PathValue< {
|
|
@@ -1206,10 +1085,7 @@ export declare const useApiClientModal: () => {
|
|
|
1206
1085
|
} | undefined;
|
|
1207
1086
|
} | undefined;
|
|
1208
1087
|
};
|
|
1209
|
-
|
|
1210
|
-
uid: string;
|
|
1211
|
-
flowKey?: "implicit" | "password" | "clientCredentials" | "authorizationCode" | undefined;
|
|
1212
|
-
}[];
|
|
1088
|
+
securitySchemeDict: Record<string, string>;
|
|
1213
1089
|
selectedServerUid: string;
|
|
1214
1090
|
childUids: string[];
|
|
1215
1091
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -1374,6 +1250,8 @@ export declare const useApiClientModal: () => {
|
|
|
1374
1250
|
isExternal: boolean;
|
|
1375
1251
|
collectionRef?: string | undefined;
|
|
1376
1252
|
} | null;
|
|
1253
|
+
securitySchemeUids: string[];
|
|
1254
|
+
selectedSecuritySchemeUids: string[];
|
|
1377
1255
|
history: any[];
|
|
1378
1256
|
description?: string | undefined;
|
|
1379
1257
|
summary?: string | undefined;
|
|
@@ -1383,8 +1261,8 @@ export declare const useApiClientModal: () => {
|
|
|
1383
1261
|
};
|
|
1384
1262
|
delete: (request: Request_2, parentUid: string) => void;
|
|
1385
1263
|
set: (item: Request_2) => void;
|
|
1386
|
-
edit: <P extends "summary" | "ref" | "path" | "uid" | "description" | "
|
|
1387
|
-
untrackedEdit: <P extends "summary" | "ref" | "path" | "uid" | "description" | "
|
|
1264
|
+
edit: <P extends "summary" | "ref" | "path" | "uid" | "description" | "method" | "parameters" | "parameters.cookies" | "parameters.path" | "parameters.query" | "parameters.headers" | "tags" | "childUids" | "securitySchemeUids" | "selectedSecuritySchemeUids" | "history" | "security" | "operationId" | "requestBody" | "externalDocs" | "ref.path" | "ref.isExternal" | "ref.collectionRef" | `parameters.cookies.${string}` | `parameters.path.${string}` | `parameters.query.${string}` | `parameters.headers.${string}` | `tags.${number}` | `childUids.${number}` | `securitySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}` | `history.${number}` | `history.${number}.${string}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | "externalDocs.url" | "externalDocs.description">(uid: string, path: P, value: P extends "summary" | "ref" | "path" | "uid" | "description" | "method" | "parameters" | "tags" | "childUids" | "securitySchemeUids" | "selectedSecuritySchemeUids" | "history" | "security" | "operationId" | "requestBody" | "externalDocs" ? Request_2[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "ref" | "path" | "uid" | "description" | "method" | "parameters" | "tags" | "childUids" | "securitySchemeUids" | "selectedSecuritySchemeUids" | "history" | "security" | "operationId" | "requestBody" | "externalDocs" ? R extends Path<Request_2[K]> ? PathValue<Request_2[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1265
|
+
untrackedEdit: <P extends "summary" | "ref" | "path" | "uid" | "description" | "method" | "parameters" | "parameters.cookies" | "parameters.path" | "parameters.query" | "parameters.headers" | "tags" | "childUids" | "securitySchemeUids" | "selectedSecuritySchemeUids" | "history" | "security" | "operationId" | "requestBody" | "externalDocs" | "ref.path" | "ref.isExternal" | "ref.collectionRef" | `parameters.cookies.${string}` | `parameters.path.${string}` | `parameters.query.${string}` | `parameters.headers.${string}` | `tags.${number}` | `childUids.${number}` | `securitySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}` | `history.${number}` | `history.${number}.${string}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | "externalDocs.url" | "externalDocs.description">(uid: string, path: P, value: P extends "summary" | "ref" | "path" | "uid" | "description" | "method" | "parameters" | "tags" | "childUids" | "securitySchemeUids" | "selectedSecuritySchemeUids" | "history" | "security" | "operationId" | "requestBody" | "externalDocs" ? Request_2[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "ref" | "path" | "uid" | "description" | "method" | "parameters" | "tags" | "childUids" | "securitySchemeUids" | "selectedSecuritySchemeUids" | "history" | "security" | "operationId" | "requestBody" | "externalDocs" ? R extends Path<Request_2[K]> ? PathValue<Request_2[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1388
1266
|
undo: (uid: string) => void;
|
|
1389
1267
|
redo: (uid: string) => void;
|
|
1390
1268
|
};
|
|
@@ -1401,8 +1279,8 @@ export declare const useApiClientModal: () => {
|
|
|
1401
1279
|
minimum?: number | undefined;
|
|
1402
1280
|
type?: string | undefined;
|
|
1403
1281
|
maximum?: number | undefined;
|
|
1404
|
-
default?: any;
|
|
1405
1282
|
description?: string | undefined;
|
|
1283
|
+
default?: any;
|
|
1406
1284
|
enum?: string[] | undefined;
|
|
1407
1285
|
required?: boolean | undefined;
|
|
1408
1286
|
file?: File | undefined;
|
|
@@ -1417,8 +1295,8 @@ export declare const useApiClientModal: () => {
|
|
|
1417
1295
|
minimum?: number | undefined;
|
|
1418
1296
|
type?: string | undefined;
|
|
1419
1297
|
maximum?: number | undefined;
|
|
1420
|
-
default?: any;
|
|
1421
1298
|
description?: string | undefined;
|
|
1299
|
+
default?: any;
|
|
1422
1300
|
enum?: string[] | undefined;
|
|
1423
1301
|
required?: boolean | undefined;
|
|
1424
1302
|
file?: File | undefined;
|
|
@@ -1433,8 +1311,8 @@ export declare const useApiClientModal: () => {
|
|
|
1433
1311
|
minimum?: number | undefined;
|
|
1434
1312
|
type?: string | undefined;
|
|
1435
1313
|
maximum?: number | undefined;
|
|
1436
|
-
default?: any;
|
|
1437
1314
|
description?: string | undefined;
|
|
1315
|
+
default?: any;
|
|
1438
1316
|
enum?: string[] | undefined;
|
|
1439
1317
|
required?: boolean | undefined;
|
|
1440
1318
|
file?: File | undefined;
|
|
@@ -1449,8 +1327,8 @@ export declare const useApiClientModal: () => {
|
|
|
1449
1327
|
minimum?: number | undefined;
|
|
1450
1328
|
type?: string | undefined;
|
|
1451
1329
|
maximum?: number | undefined;
|
|
1452
|
-
default?: any;
|
|
1453
1330
|
description?: string | undefined;
|
|
1331
|
+
default?: any;
|
|
1454
1332
|
enum?: string[] | undefined;
|
|
1455
1333
|
required?: boolean | undefined;
|
|
1456
1334
|
file?: File | undefined;
|
|
@@ -1473,8 +1351,8 @@ export declare const useApiClientModal: () => {
|
|
|
1473
1351
|
minimum?: number | undefined;
|
|
1474
1352
|
type?: string | undefined;
|
|
1475
1353
|
maximum?: number | undefined;
|
|
1476
|
-
default?: any;
|
|
1477
1354
|
description?: string | undefined;
|
|
1355
|
+
default?: any;
|
|
1478
1356
|
enum?: string[] | undefined;
|
|
1479
1357
|
required?: boolean | undefined;
|
|
1480
1358
|
file?: File | undefined;
|
|
@@ -1501,8 +1379,8 @@ export declare const useApiClientModal: () => {
|
|
|
1501
1379
|
minimum?: number | undefined;
|
|
1502
1380
|
type?: string | undefined;
|
|
1503
1381
|
maximum?: number | undefined;
|
|
1504
|
-
default?: any;
|
|
1505
1382
|
description?: string | undefined;
|
|
1383
|
+
default?: any;
|
|
1506
1384
|
enum?: string[] | undefined;
|
|
1507
1385
|
required?: boolean | undefined;
|
|
1508
1386
|
file?: File | undefined;
|
|
@@ -1517,8 +1395,8 @@ export declare const useApiClientModal: () => {
|
|
|
1517
1395
|
minimum?: number | undefined;
|
|
1518
1396
|
type?: string | undefined;
|
|
1519
1397
|
maximum?: number | undefined;
|
|
1520
|
-
default?: any;
|
|
1521
1398
|
description?: string | undefined;
|
|
1399
|
+
default?: any;
|
|
1522
1400
|
enum?: string[] | undefined;
|
|
1523
1401
|
required?: boolean | undefined;
|
|
1524
1402
|
file?: File | undefined;
|
|
@@ -1533,8 +1411,8 @@ export declare const useApiClientModal: () => {
|
|
|
1533
1411
|
minimum?: number | undefined;
|
|
1534
1412
|
type?: string | undefined;
|
|
1535
1413
|
maximum?: number | undefined;
|
|
1536
|
-
default?: any;
|
|
1537
1414
|
description?: string | undefined;
|
|
1415
|
+
default?: any;
|
|
1538
1416
|
enum?: string[] | undefined;
|
|
1539
1417
|
required?: boolean | undefined;
|
|
1540
1418
|
file?: File | undefined;
|
|
@@ -1549,8 +1427,8 @@ export declare const useApiClientModal: () => {
|
|
|
1549
1427
|
minimum?: number | undefined;
|
|
1550
1428
|
type?: string | undefined;
|
|
1551
1429
|
maximum?: number | undefined;
|
|
1552
|
-
default?: any;
|
|
1553
1430
|
description?: string | undefined;
|
|
1431
|
+
default?: any;
|
|
1554
1432
|
enum?: string[] | undefined;
|
|
1555
1433
|
required?: boolean | undefined;
|
|
1556
1434
|
file?: File | undefined;
|
|
@@ -1573,8 +1451,8 @@ export declare const useApiClientModal: () => {
|
|
|
1573
1451
|
minimum?: number | undefined;
|
|
1574
1452
|
type?: string | undefined;
|
|
1575
1453
|
maximum?: number | undefined;
|
|
1576
|
-
default?: any;
|
|
1577
1454
|
description?: string | undefined;
|
|
1455
|
+
default?: any;
|
|
1578
1456
|
enum?: string[] | undefined;
|
|
1579
1457
|
required?: boolean | undefined;
|
|
1580
1458
|
file?: File | undefined;
|
|
@@ -1602,8 +1480,8 @@ export declare const useApiClientModal: () => {
|
|
|
1602
1480
|
minimum?: number | undefined;
|
|
1603
1481
|
type?: string | undefined;
|
|
1604
1482
|
maximum?: number | undefined;
|
|
1605
|
-
default?: any;
|
|
1606
1483
|
description?: string | undefined;
|
|
1484
|
+
default?: any;
|
|
1607
1485
|
enum?: string[] | undefined;
|
|
1608
1486
|
required?: boolean | undefined;
|
|
1609
1487
|
file?: File | undefined;
|
|
@@ -1618,8 +1496,8 @@ export declare const useApiClientModal: () => {
|
|
|
1618
1496
|
minimum?: number | undefined;
|
|
1619
1497
|
type?: string | undefined;
|
|
1620
1498
|
maximum?: number | undefined;
|
|
1621
|
-
default?: any;
|
|
1622
1499
|
description?: string | undefined;
|
|
1500
|
+
default?: any;
|
|
1623
1501
|
enum?: string[] | undefined;
|
|
1624
1502
|
required?: boolean | undefined;
|
|
1625
1503
|
file?: File | undefined;
|
|
@@ -1634,8 +1512,8 @@ export declare const useApiClientModal: () => {
|
|
|
1634
1512
|
minimum?: number | undefined;
|
|
1635
1513
|
type?: string | undefined;
|
|
1636
1514
|
maximum?: number | undefined;
|
|
1637
|
-
default?: any;
|
|
1638
1515
|
description?: string | undefined;
|
|
1516
|
+
default?: any;
|
|
1639
1517
|
enum?: string[] | undefined;
|
|
1640
1518
|
required?: boolean | undefined;
|
|
1641
1519
|
file?: File | undefined;
|
|
@@ -1650,8 +1528,8 @@ export declare const useApiClientModal: () => {
|
|
|
1650
1528
|
minimum?: number | undefined;
|
|
1651
1529
|
type?: string | undefined;
|
|
1652
1530
|
maximum?: number | undefined;
|
|
1653
|
-
default?: any;
|
|
1654
1531
|
description?: string | undefined;
|
|
1532
|
+
default?: any;
|
|
1655
1533
|
enum?: string[] | undefined;
|
|
1656
1534
|
required?: boolean | undefined;
|
|
1657
1535
|
file?: File | undefined;
|
|
@@ -1674,8 +1552,8 @@ export declare const useApiClientModal: () => {
|
|
|
1674
1552
|
minimum?: number | undefined;
|
|
1675
1553
|
type?: string | undefined;
|
|
1676
1554
|
maximum?: number | undefined;
|
|
1677
|
-
default?: any;
|
|
1678
1555
|
description?: string | undefined;
|
|
1556
|
+
default?: any;
|
|
1679
1557
|
enum?: string[] | undefined;
|
|
1680
1558
|
required?: boolean | undefined;
|
|
1681
1559
|
file?: File | undefined;
|
|
@@ -1690,7 +1568,7 @@ export declare const useApiClientModal: () => {
|
|
|
1690
1568
|
};
|
|
1691
1569
|
auth: Record<string, any>;
|
|
1692
1570
|
}) => void;
|
|
1693
|
-
edit: <P extends "body" | "name" | "url" | "uid" | "parameters" | "requestUid" | "auth" | "body.raw" | "body.formData" | "body.activeBody" | "body.binary" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.
|
|
1571
|
+
edit: <P extends "body" | "name" | "url" | "uid" | "parameters" | "requestUid" | "auth" | "body.raw" | "body.formData" | "body.activeBody" | "body.binary" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.file` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.refUid` | `body.formData.value.${number}.format` | `body.formData.value.${number}.default.${string}` | "parameters.cookies" | "parameters.path" | "parameters.query" | "parameters.headers" | `parameters.cookies.${number}` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.refUid` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.default.${string}` | `parameters.path.${number}` | `parameters.path.${number}.file` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.description` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.refUid` | `parameters.path.${number}.format` | `parameters.path.${number}.default.${string}` | `parameters.query.${number}` | `parameters.query.${number}.file` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.description` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.refUid` | `parameters.query.${number}.format` | `parameters.query.${number}.default.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.file` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.refUid` | `parameters.headers.${number}.format` | `parameters.headers.${number}.default.${string}` | `auth.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "url" | "uid" | "parameters" | "requestUid" | "auth" ? {
|
|
1694
1572
|
uid: string;
|
|
1695
1573
|
name: string;
|
|
1696
1574
|
url: string;
|
|
@@ -1702,8 +1580,8 @@ export declare const useApiClientModal: () => {
|
|
|
1702
1580
|
minimum?: number | undefined;
|
|
1703
1581
|
type?: string | undefined;
|
|
1704
1582
|
maximum?: number | undefined;
|
|
1705
|
-
default?: any;
|
|
1706
1583
|
description?: string | undefined;
|
|
1584
|
+
default?: any;
|
|
1707
1585
|
enum?: string[] | undefined;
|
|
1708
1586
|
required?: boolean | undefined;
|
|
1709
1587
|
file?: File | undefined;
|
|
@@ -1718,8 +1596,8 @@ export declare const useApiClientModal: () => {
|
|
|
1718
1596
|
minimum?: number | undefined;
|
|
1719
1597
|
type?: string | undefined;
|
|
1720
1598
|
maximum?: number | undefined;
|
|
1721
|
-
default?: any;
|
|
1722
1599
|
description?: string | undefined;
|
|
1600
|
+
default?: any;
|
|
1723
1601
|
enum?: string[] | undefined;
|
|
1724
1602
|
required?: boolean | undefined;
|
|
1725
1603
|
file?: File | undefined;
|
|
@@ -1734,8 +1612,8 @@ export declare const useApiClientModal: () => {
|
|
|
1734
1612
|
minimum?: number | undefined;
|
|
1735
1613
|
type?: string | undefined;
|
|
1736
1614
|
maximum?: number | undefined;
|
|
1737
|
-
default?: any;
|
|
1738
1615
|
description?: string | undefined;
|
|
1616
|
+
default?: any;
|
|
1739
1617
|
enum?: string[] | undefined;
|
|
1740
1618
|
required?: boolean | undefined;
|
|
1741
1619
|
file?: File | undefined;
|
|
@@ -1750,8 +1628,8 @@ export declare const useApiClientModal: () => {
|
|
|
1750
1628
|
minimum?: number | undefined;
|
|
1751
1629
|
type?: string | undefined;
|
|
1752
1630
|
maximum?: number | undefined;
|
|
1753
|
-
default?: any;
|
|
1754
1631
|
description?: string | undefined;
|
|
1632
|
+
default?: any;
|
|
1755
1633
|
enum?: string[] | undefined;
|
|
1756
1634
|
required?: boolean | undefined;
|
|
1757
1635
|
file?: File | undefined;
|
|
@@ -1774,8 +1652,8 @@ export declare const useApiClientModal: () => {
|
|
|
1774
1652
|
minimum?: number | undefined;
|
|
1775
1653
|
type?: string | undefined;
|
|
1776
1654
|
maximum?: number | undefined;
|
|
1777
|
-
default?: any;
|
|
1778
1655
|
description?: string | undefined;
|
|
1656
|
+
default?: any;
|
|
1779
1657
|
enum?: string[] | undefined;
|
|
1780
1658
|
required?: boolean | undefined;
|
|
1781
1659
|
file?: File | undefined;
|
|
@@ -1801,8 +1679,8 @@ export declare const useApiClientModal: () => {
|
|
|
1801
1679
|
minimum?: number | undefined;
|
|
1802
1680
|
type?: string | undefined;
|
|
1803
1681
|
maximum?: number | undefined;
|
|
1804
|
-
default?: any;
|
|
1805
1682
|
description?: string | undefined;
|
|
1683
|
+
default?: any;
|
|
1806
1684
|
enum?: string[] | undefined;
|
|
1807
1685
|
required?: boolean | undefined;
|
|
1808
1686
|
file?: File | undefined;
|
|
@@ -1817,8 +1695,8 @@ export declare const useApiClientModal: () => {
|
|
|
1817
1695
|
minimum?: number | undefined;
|
|
1818
1696
|
type?: string | undefined;
|
|
1819
1697
|
maximum?: number | undefined;
|
|
1820
|
-
default?: any;
|
|
1821
1698
|
description?: string | undefined;
|
|
1699
|
+
default?: any;
|
|
1822
1700
|
enum?: string[] | undefined;
|
|
1823
1701
|
required?: boolean | undefined;
|
|
1824
1702
|
file?: File | undefined;
|
|
@@ -1833,8 +1711,8 @@ export declare const useApiClientModal: () => {
|
|
|
1833
1711
|
minimum?: number | undefined;
|
|
1834
1712
|
type?: string | undefined;
|
|
1835
1713
|
maximum?: number | undefined;
|
|
1836
|
-
default?: any;
|
|
1837
1714
|
description?: string | undefined;
|
|
1715
|
+
default?: any;
|
|
1838
1716
|
enum?: string[] | undefined;
|
|
1839
1717
|
required?: boolean | undefined;
|
|
1840
1718
|
file?: File | undefined;
|
|
@@ -1849,8 +1727,8 @@ export declare const useApiClientModal: () => {
|
|
|
1849
1727
|
minimum?: number | undefined;
|
|
1850
1728
|
type?: string | undefined;
|
|
1851
1729
|
maximum?: number | undefined;
|
|
1852
|
-
default?: any;
|
|
1853
1730
|
description?: string | undefined;
|
|
1731
|
+
default?: any;
|
|
1854
1732
|
enum?: string[] | undefined;
|
|
1855
1733
|
required?: boolean | undefined;
|
|
1856
1734
|
file?: File | undefined;
|
|
@@ -1873,8 +1751,8 @@ export declare const useApiClientModal: () => {
|
|
|
1873
1751
|
minimum?: number | undefined;
|
|
1874
1752
|
type?: string | undefined;
|
|
1875
1753
|
maximum?: number | undefined;
|
|
1876
|
-
default?: any;
|
|
1877
1754
|
description?: string | undefined;
|
|
1755
|
+
default?: any;
|
|
1878
1756
|
enum?: string[] | undefined;
|
|
1879
1757
|
required?: boolean | undefined;
|
|
1880
1758
|
file?: File | undefined;
|
|
@@ -1900,8 +1778,8 @@ export declare const useApiClientModal: () => {
|
|
|
1900
1778
|
minimum?: number | undefined;
|
|
1901
1779
|
type?: string | undefined;
|
|
1902
1780
|
maximum?: number | undefined;
|
|
1903
|
-
default?: any;
|
|
1904
1781
|
description?: string | undefined;
|
|
1782
|
+
default?: any;
|
|
1905
1783
|
enum?: string[] | undefined;
|
|
1906
1784
|
required?: boolean | undefined;
|
|
1907
1785
|
file?: File | undefined;
|
|
@@ -1916,8 +1794,8 @@ export declare const useApiClientModal: () => {
|
|
|
1916
1794
|
minimum?: number | undefined;
|
|
1917
1795
|
type?: string | undefined;
|
|
1918
1796
|
maximum?: number | undefined;
|
|
1919
|
-
default?: any;
|
|
1920
1797
|
description?: string | undefined;
|
|
1798
|
+
default?: any;
|
|
1921
1799
|
enum?: string[] | undefined;
|
|
1922
1800
|
required?: boolean | undefined;
|
|
1923
1801
|
file?: File | undefined;
|
|
@@ -1932,8 +1810,8 @@ export declare const useApiClientModal: () => {
|
|
|
1932
1810
|
minimum?: number | undefined;
|
|
1933
1811
|
type?: string | undefined;
|
|
1934
1812
|
maximum?: number | undefined;
|
|
1935
|
-
default?: any;
|
|
1936
1813
|
description?: string | undefined;
|
|
1814
|
+
default?: any;
|
|
1937
1815
|
enum?: string[] | undefined;
|
|
1938
1816
|
required?: boolean | undefined;
|
|
1939
1817
|
file?: File | undefined;
|
|
@@ -1948,8 +1826,8 @@ export declare const useApiClientModal: () => {
|
|
|
1948
1826
|
minimum?: number | undefined;
|
|
1949
1827
|
type?: string | undefined;
|
|
1950
1828
|
maximum?: number | undefined;
|
|
1951
|
-
default?: any;
|
|
1952
1829
|
description?: string | undefined;
|
|
1830
|
+
default?: any;
|
|
1953
1831
|
enum?: string[] | undefined;
|
|
1954
1832
|
required?: boolean | undefined;
|
|
1955
1833
|
file?: File | undefined;
|
|
@@ -1972,8 +1850,8 @@ export declare const useApiClientModal: () => {
|
|
|
1972
1850
|
minimum?: number | undefined;
|
|
1973
1851
|
type?: string | undefined;
|
|
1974
1852
|
maximum?: number | undefined;
|
|
1975
|
-
default?: any;
|
|
1976
1853
|
description?: string | undefined;
|
|
1854
|
+
default?: any;
|
|
1977
1855
|
enum?: string[] | undefined;
|
|
1978
1856
|
required?: boolean | undefined;
|
|
1979
1857
|
file?: File | undefined;
|
|
@@ -1988,7 +1866,7 @@ export declare const useApiClientModal: () => {
|
|
|
1988
1866
|
};
|
|
1989
1867
|
auth: Record<string, any>;
|
|
1990
1868
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1991
|
-
untrackedEdit: <P extends "body" | "name" | "url" | "uid" | "parameters" | "requestUid" | "auth" | "body.raw" | "body.formData" | "body.activeBody" | "body.binary" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.
|
|
1869
|
+
untrackedEdit: <P extends "body" | "name" | "url" | "uid" | "parameters" | "requestUid" | "auth" | "body.raw" | "body.formData" | "body.activeBody" | "body.binary" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.file` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.refUid` | `body.formData.value.${number}.format` | `body.formData.value.${number}.default.${string}` | "parameters.cookies" | "parameters.path" | "parameters.query" | "parameters.headers" | `parameters.cookies.${number}` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.refUid` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.default.${string}` | `parameters.path.${number}` | `parameters.path.${number}.file` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.description` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.refUid` | `parameters.path.${number}.format` | `parameters.path.${number}.default.${string}` | `parameters.query.${number}` | `parameters.query.${number}.file` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.description` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.refUid` | `parameters.query.${number}.format` | `parameters.query.${number}.default.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.file` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.refUid` | `parameters.headers.${number}.format` | `parameters.headers.${number}.default.${string}` | `auth.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "url" | "uid" | "parameters" | "requestUid" | "auth" ? {
|
|
1992
1870
|
uid: string;
|
|
1993
1871
|
name: string;
|
|
1994
1872
|
url: string;
|
|
@@ -2000,8 +1878,8 @@ export declare const useApiClientModal: () => {
|
|
|
2000
1878
|
minimum?: number | undefined;
|
|
2001
1879
|
type?: string | undefined;
|
|
2002
1880
|
maximum?: number | undefined;
|
|
2003
|
-
default?: any;
|
|
2004
1881
|
description?: string | undefined;
|
|
1882
|
+
default?: any;
|
|
2005
1883
|
enum?: string[] | undefined;
|
|
2006
1884
|
required?: boolean | undefined;
|
|
2007
1885
|
file?: File | undefined;
|
|
@@ -2016,8 +1894,8 @@ export declare const useApiClientModal: () => {
|
|
|
2016
1894
|
minimum?: number | undefined;
|
|
2017
1895
|
type?: string | undefined;
|
|
2018
1896
|
maximum?: number | undefined;
|
|
2019
|
-
default?: any;
|
|
2020
1897
|
description?: string | undefined;
|
|
1898
|
+
default?: any;
|
|
2021
1899
|
enum?: string[] | undefined;
|
|
2022
1900
|
required?: boolean | undefined;
|
|
2023
1901
|
file?: File | undefined;
|
|
@@ -2032,8 +1910,8 @@ export declare const useApiClientModal: () => {
|
|
|
2032
1910
|
minimum?: number | undefined;
|
|
2033
1911
|
type?: string | undefined;
|
|
2034
1912
|
maximum?: number | undefined;
|
|
2035
|
-
default?: any;
|
|
2036
1913
|
description?: string | undefined;
|
|
1914
|
+
default?: any;
|
|
2037
1915
|
enum?: string[] | undefined;
|
|
2038
1916
|
required?: boolean | undefined;
|
|
2039
1917
|
file?: File | undefined;
|
|
@@ -2048,8 +1926,8 @@ export declare const useApiClientModal: () => {
|
|
|
2048
1926
|
minimum?: number | undefined;
|
|
2049
1927
|
type?: string | undefined;
|
|
2050
1928
|
maximum?: number | undefined;
|
|
2051
|
-
default?: any;
|
|
2052
1929
|
description?: string | undefined;
|
|
1930
|
+
default?: any;
|
|
2053
1931
|
enum?: string[] | undefined;
|
|
2054
1932
|
required?: boolean | undefined;
|
|
2055
1933
|
file?: File | undefined;
|
|
@@ -2072,8 +1950,8 @@ export declare const useApiClientModal: () => {
|
|
|
2072
1950
|
minimum?: number | undefined;
|
|
2073
1951
|
type?: string | undefined;
|
|
2074
1952
|
maximum?: number | undefined;
|
|
2075
|
-
default?: any;
|
|
2076
1953
|
description?: string | undefined;
|
|
1954
|
+
default?: any;
|
|
2077
1955
|
enum?: string[] | undefined;
|
|
2078
1956
|
required?: boolean | undefined;
|
|
2079
1957
|
file?: File | undefined;
|
|
@@ -2099,8 +1977,8 @@ export declare const useApiClientModal: () => {
|
|
|
2099
1977
|
minimum?: number | undefined;
|
|
2100
1978
|
type?: string | undefined;
|
|
2101
1979
|
maximum?: number | undefined;
|
|
2102
|
-
default?: any;
|
|
2103
1980
|
description?: string | undefined;
|
|
1981
|
+
default?: any;
|
|
2104
1982
|
enum?: string[] | undefined;
|
|
2105
1983
|
required?: boolean | undefined;
|
|
2106
1984
|
file?: File | undefined;
|
|
@@ -2115,8 +1993,8 @@ export declare const useApiClientModal: () => {
|
|
|
2115
1993
|
minimum?: number | undefined;
|
|
2116
1994
|
type?: string | undefined;
|
|
2117
1995
|
maximum?: number | undefined;
|
|
2118
|
-
default?: any;
|
|
2119
1996
|
description?: string | undefined;
|
|
1997
|
+
default?: any;
|
|
2120
1998
|
enum?: string[] | undefined;
|
|
2121
1999
|
required?: boolean | undefined;
|
|
2122
2000
|
file?: File | undefined;
|
|
@@ -2131,8 +2009,8 @@ export declare const useApiClientModal: () => {
|
|
|
2131
2009
|
minimum?: number | undefined;
|
|
2132
2010
|
type?: string | undefined;
|
|
2133
2011
|
maximum?: number | undefined;
|
|
2134
|
-
default?: any;
|
|
2135
2012
|
description?: string | undefined;
|
|
2013
|
+
default?: any;
|
|
2136
2014
|
enum?: string[] | undefined;
|
|
2137
2015
|
required?: boolean | undefined;
|
|
2138
2016
|
file?: File | undefined;
|
|
@@ -2147,8 +2025,8 @@ export declare const useApiClientModal: () => {
|
|
|
2147
2025
|
minimum?: number | undefined;
|
|
2148
2026
|
type?: string | undefined;
|
|
2149
2027
|
maximum?: number | undefined;
|
|
2150
|
-
default?: any;
|
|
2151
2028
|
description?: string | undefined;
|
|
2029
|
+
default?: any;
|
|
2152
2030
|
enum?: string[] | undefined;
|
|
2153
2031
|
required?: boolean | undefined;
|
|
2154
2032
|
file?: File | undefined;
|
|
@@ -2171,8 +2049,8 @@ export declare const useApiClientModal: () => {
|
|
|
2171
2049
|
minimum?: number | undefined;
|
|
2172
2050
|
type?: string | undefined;
|
|
2173
2051
|
maximum?: number | undefined;
|
|
2174
|
-
default?: any;
|
|
2175
2052
|
description?: string | undefined;
|
|
2053
|
+
default?: any;
|
|
2176
2054
|
enum?: string[] | undefined;
|
|
2177
2055
|
required?: boolean | undefined;
|
|
2178
2056
|
file?: File | undefined;
|
|
@@ -2198,8 +2076,8 @@ export declare const useApiClientModal: () => {
|
|
|
2198
2076
|
minimum?: number | undefined;
|
|
2199
2077
|
type?: string | undefined;
|
|
2200
2078
|
maximum?: number | undefined;
|
|
2201
|
-
default?: any;
|
|
2202
2079
|
description?: string | undefined;
|
|
2080
|
+
default?: any;
|
|
2203
2081
|
enum?: string[] | undefined;
|
|
2204
2082
|
required?: boolean | undefined;
|
|
2205
2083
|
file?: File | undefined;
|
|
@@ -2214,8 +2092,8 @@ export declare const useApiClientModal: () => {
|
|
|
2214
2092
|
minimum?: number | undefined;
|
|
2215
2093
|
type?: string | undefined;
|
|
2216
2094
|
maximum?: number | undefined;
|
|
2217
|
-
default?: any;
|
|
2218
2095
|
description?: string | undefined;
|
|
2096
|
+
default?: any;
|
|
2219
2097
|
enum?: string[] | undefined;
|
|
2220
2098
|
required?: boolean | undefined;
|
|
2221
2099
|
file?: File | undefined;
|
|
@@ -2230,8 +2108,8 @@ export declare const useApiClientModal: () => {
|
|
|
2230
2108
|
minimum?: number | undefined;
|
|
2231
2109
|
type?: string | undefined;
|
|
2232
2110
|
maximum?: number | undefined;
|
|
2233
|
-
default?: any;
|
|
2234
2111
|
description?: string | undefined;
|
|
2112
|
+
default?: any;
|
|
2235
2113
|
enum?: string[] | undefined;
|
|
2236
2114
|
required?: boolean | undefined;
|
|
2237
2115
|
file?: File | undefined;
|
|
@@ -2246,8 +2124,8 @@ export declare const useApiClientModal: () => {
|
|
|
2246
2124
|
minimum?: number | undefined;
|
|
2247
2125
|
type?: string | undefined;
|
|
2248
2126
|
maximum?: number | undefined;
|
|
2249
|
-
default?: any;
|
|
2250
2127
|
description?: string | undefined;
|
|
2128
|
+
default?: any;
|
|
2251
2129
|
enum?: string[] | undefined;
|
|
2252
2130
|
required?: boolean | undefined;
|
|
2253
2131
|
file?: File | undefined;
|
|
@@ -2270,8 +2148,8 @@ export declare const useApiClientModal: () => {
|
|
|
2270
2148
|
minimum?: number | undefined;
|
|
2271
2149
|
type?: string | undefined;
|
|
2272
2150
|
maximum?: number | undefined;
|
|
2273
|
-
default?: any;
|
|
2274
2151
|
description?: string | undefined;
|
|
2152
|
+
default?: any;
|
|
2275
2153
|
enum?: string[] | undefined;
|
|
2276
2154
|
required?: boolean | undefined;
|
|
2277
2155
|
file?: File | undefined;
|
|
@@ -2291,10 +2169,11 @@ export declare const useApiClientModal: () => {
|
|
|
2291
2169
|
};
|
|
2292
2170
|
requestsHistory: ComputedRef<RequestEvent[]>;
|
|
2293
2171
|
securitySchemeMutators: {
|
|
2294
|
-
|
|
2172
|
+
rawAdd: (item: {
|
|
2295
2173
|
type: "apiKey";
|
|
2296
2174
|
value: string;
|
|
2297
2175
|
uid: string;
|
|
2176
|
+
nameKey: string;
|
|
2298
2177
|
name: string;
|
|
2299
2178
|
in: "query" | "header" | "cookie";
|
|
2300
2179
|
description?: string | undefined;
|
|
@@ -2302,6 +2181,7 @@ export declare const useApiClientModal: () => {
|
|
|
2302
2181
|
type: "http";
|
|
2303
2182
|
value: string;
|
|
2304
2183
|
uid: string;
|
|
2184
|
+
nameKey: string;
|
|
2305
2185
|
scheme: "basic" | "bearer";
|
|
2306
2186
|
bearerFormat: string;
|
|
2307
2187
|
secondValue: string;
|
|
@@ -2309,56 +2189,60 @@ export declare const useApiClientModal: () => {
|
|
|
2309
2189
|
} | {
|
|
2310
2190
|
type: "oauth2";
|
|
2311
2191
|
uid: string;
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2192
|
+
nameKey: string;
|
|
2193
|
+
flow: {
|
|
2194
|
+
type: "implicit";
|
|
2195
|
+
refreshUrl: string;
|
|
2196
|
+
selectedScopes: string[];
|
|
2197
|
+
token: string;
|
|
2198
|
+
authorizationUrl: string;
|
|
2199
|
+
redirectUri: string;
|
|
2200
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2201
|
+
} | {
|
|
2202
|
+
type: "password";
|
|
2203
|
+
value: string;
|
|
2204
|
+
secondValue: string;
|
|
2205
|
+
refreshUrl: string;
|
|
2206
|
+
selectedScopes: string[];
|
|
2207
|
+
token: string;
|
|
2208
|
+
tokenUrl: string;
|
|
2209
|
+
clientSecret: string;
|
|
2210
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2211
|
+
} | {
|
|
2212
|
+
type: "clientCredentials";
|
|
2213
|
+
refreshUrl: string;
|
|
2214
|
+
selectedScopes: string[];
|
|
2215
|
+
token: string;
|
|
2216
|
+
tokenUrl: string;
|
|
2217
|
+
clientSecret: string;
|
|
2218
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2219
|
+
} | {
|
|
2220
|
+
type: "authorizationCode";
|
|
2221
|
+
refreshUrl: string;
|
|
2222
|
+
selectedScopes: string[];
|
|
2223
|
+
token: string;
|
|
2224
|
+
authorizationUrl: string;
|
|
2225
|
+
redirectUri: string;
|
|
2226
|
+
tokenUrl: string;
|
|
2227
|
+
clientSecret: string;
|
|
2228
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2347
2229
|
};
|
|
2348
2230
|
clientId: string;
|
|
2349
|
-
redirectUri: string;
|
|
2350
2231
|
description?: string | undefined;
|
|
2351
2232
|
} | {
|
|
2352
2233
|
type: "openIdConnect";
|
|
2353
2234
|
uid: string;
|
|
2235
|
+
nameKey: string;
|
|
2354
2236
|
openIdConnectUrl: string;
|
|
2355
2237
|
description?: string | undefined;
|
|
2356
2238
|
}) => void;
|
|
2357
|
-
|
|
2239
|
+
add: (payload: SecuritySchemePayload, collectionUid: string, request?: Request_2, select?: boolean) => void;
|
|
2240
|
+
delete: (scheme: SecurityScheme, request: Request_2) => void;
|
|
2358
2241
|
set: (item: {
|
|
2359
2242
|
type: "apiKey";
|
|
2360
2243
|
value: string;
|
|
2361
2244
|
uid: string;
|
|
2245
|
+
nameKey: string;
|
|
2362
2246
|
name: string;
|
|
2363
2247
|
in: "query" | "header" | "cookie";
|
|
2364
2248
|
description?: string | undefined;
|
|
@@ -2366,6 +2250,7 @@ export declare const useApiClientModal: () => {
|
|
|
2366
2250
|
type: "http";
|
|
2367
2251
|
value: string;
|
|
2368
2252
|
uid: string;
|
|
2253
|
+
nameKey: string;
|
|
2369
2254
|
scheme: "basic" | "bearer";
|
|
2370
2255
|
bearerFormat: string;
|
|
2371
2256
|
secondValue: string;
|
|
@@ -2373,62 +2258,66 @@ export declare const useApiClientModal: () => {
|
|
|
2373
2258
|
} | {
|
|
2374
2259
|
type: "oauth2";
|
|
2375
2260
|
uid: string;
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2261
|
+
nameKey: string;
|
|
2262
|
+
flow: {
|
|
2263
|
+
type: "implicit";
|
|
2264
|
+
refreshUrl: string;
|
|
2265
|
+
selectedScopes: string[];
|
|
2266
|
+
token: string;
|
|
2267
|
+
authorizationUrl: string;
|
|
2268
|
+
redirectUri: string;
|
|
2269
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2270
|
+
} | {
|
|
2271
|
+
type: "password";
|
|
2272
|
+
value: string;
|
|
2273
|
+
secondValue: string;
|
|
2274
|
+
refreshUrl: string;
|
|
2275
|
+
selectedScopes: string[];
|
|
2276
|
+
token: string;
|
|
2277
|
+
tokenUrl: string;
|
|
2278
|
+
clientSecret: string;
|
|
2279
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2280
|
+
} | {
|
|
2281
|
+
type: "clientCredentials";
|
|
2282
|
+
refreshUrl: string;
|
|
2283
|
+
selectedScopes: string[];
|
|
2284
|
+
token: string;
|
|
2285
|
+
tokenUrl: string;
|
|
2286
|
+
clientSecret: string;
|
|
2287
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2288
|
+
} | {
|
|
2289
|
+
type: "authorizationCode";
|
|
2290
|
+
refreshUrl: string;
|
|
2291
|
+
selectedScopes: string[];
|
|
2292
|
+
token: string;
|
|
2293
|
+
authorizationUrl: string;
|
|
2294
|
+
redirectUri: string;
|
|
2295
|
+
tokenUrl: string;
|
|
2296
|
+
clientSecret: string;
|
|
2297
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2411
2298
|
};
|
|
2412
2299
|
clientId: string;
|
|
2413
|
-
redirectUri: string;
|
|
2414
2300
|
description?: string | undefined;
|
|
2415
2301
|
} | {
|
|
2416
2302
|
type: "openIdConnect";
|
|
2417
2303
|
uid: string;
|
|
2304
|
+
nameKey: string;
|
|
2418
2305
|
openIdConnectUrl: string;
|
|
2419
2306
|
description?: string | undefined;
|
|
2420
2307
|
}) => void;
|
|
2421
|
-
edit: <P extends "value" | "name" | "type" | "
|
|
2308
|
+
edit: <P extends "value" | "name" | "type" | "uid" | "description" | "nameKey" | "in" | "scheme" | "bearerFormat" | "secondValue" | "flow" | "clientId" | "flow.value" | "flow.type" | "flow.secondValue" | "flow.refreshUrl" | "flow.selectedScopes" | "flow.token" | "flow.authorizationUrl" | "flow.redirectUri" | "flow.scopes" | `flow.selectedScopes.${number}` | "flow.tokenUrl" | "flow.clientSecret" | "openIdConnectUrl" | `flow.scopes.${string}`>(uid: string, path: P, value: (P extends "value" | "name" | "type" | "uid" | "description" | "nameKey" | "in" ? {
|
|
2422
2309
|
type: "apiKey";
|
|
2423
2310
|
value: string;
|
|
2424
2311
|
uid: string;
|
|
2312
|
+
nameKey: string;
|
|
2425
2313
|
name: string;
|
|
2426
2314
|
in: "query" | "header" | "cookie";
|
|
2427
2315
|
description?: string | undefined;
|
|
2428
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "type" | "uid" | "description" | "in" ? R extends Path< {
|
|
2316
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "type" | "uid" | "description" | "nameKey" | "in" ? R extends Path< {
|
|
2429
2317
|
type: "apiKey";
|
|
2430
2318
|
value: string;
|
|
2431
2319
|
uid: string;
|
|
2320
|
+
nameKey: string;
|
|
2432
2321
|
name: string;
|
|
2433
2322
|
in: "query" | "header" | "cookie";
|
|
2434
2323
|
description?: string | undefined;
|
|
@@ -2436,21 +2325,24 @@ export declare const useApiClientModal: () => {
|
|
|
2436
2325
|
type: "apiKey";
|
|
2437
2326
|
value: string;
|
|
2438
2327
|
uid: string;
|
|
2328
|
+
nameKey: string;
|
|
2439
2329
|
name: string;
|
|
2440
2330
|
in: "query" | "header" | "cookie";
|
|
2441
2331
|
description?: string | undefined;
|
|
2442
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "value" | "type" | "uid" | "description" | "scheme" | "bearerFormat" | "secondValue" ? {
|
|
2332
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "value" | "type" | "uid" | "description" | "nameKey" | "scheme" | "bearerFormat" | "secondValue" ? {
|
|
2443
2333
|
type: "http";
|
|
2444
2334
|
value: string;
|
|
2445
2335
|
uid: string;
|
|
2336
|
+
nameKey: string;
|
|
2446
2337
|
scheme: "basic" | "bearer";
|
|
2447
2338
|
bearerFormat: string;
|
|
2448
2339
|
secondValue: string;
|
|
2449
2340
|
description?: string | undefined;
|
|
2450
|
-
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "value" | "type" | "uid" | "description" | "scheme" | "bearerFormat" | "secondValue" ? R_1 extends Path< {
|
|
2341
|
+
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "value" | "type" | "uid" | "description" | "nameKey" | "scheme" | "bearerFormat" | "secondValue" ? R_1 extends Path< {
|
|
2451
2342
|
type: "http";
|
|
2452
2343
|
value: string;
|
|
2453
2344
|
uid: string;
|
|
2345
|
+
nameKey: string;
|
|
2454
2346
|
scheme: "basic" | "bearer";
|
|
2455
2347
|
bearerFormat: string;
|
|
2456
2348
|
secondValue: string;
|
|
@@ -2459,163 +2351,172 @@ export declare const useApiClientModal: () => {
|
|
|
2459
2351
|
type: "http";
|
|
2460
2352
|
value: string;
|
|
2461
2353
|
uid: string;
|
|
2354
|
+
nameKey: string;
|
|
2462
2355
|
scheme: "basic" | "bearer";
|
|
2463
2356
|
bearerFormat: string;
|
|
2464
2357
|
secondValue: string;
|
|
2465
2358
|
description?: string | undefined;
|
|
2466
|
-
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
2359
|
+
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "uid" | "description" | "nameKey" | "flow" | "clientId" ? {
|
|
2467
2360
|
type: "oauth2";
|
|
2468
2361
|
uid: string;
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2362
|
+
nameKey: string;
|
|
2363
|
+
flow: {
|
|
2364
|
+
type: "implicit";
|
|
2365
|
+
refreshUrl: string;
|
|
2366
|
+
selectedScopes: string[];
|
|
2367
|
+
token: string;
|
|
2368
|
+
authorizationUrl: string;
|
|
2369
|
+
redirectUri: string;
|
|
2370
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2371
|
+
} | {
|
|
2372
|
+
type: "password";
|
|
2373
|
+
value: string;
|
|
2374
|
+
secondValue: string;
|
|
2375
|
+
refreshUrl: string;
|
|
2376
|
+
selectedScopes: string[];
|
|
2377
|
+
token: string;
|
|
2378
|
+
tokenUrl: string;
|
|
2379
|
+
clientSecret: string;
|
|
2380
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2381
|
+
} | {
|
|
2382
|
+
type: "clientCredentials";
|
|
2383
|
+
refreshUrl: string;
|
|
2384
|
+
selectedScopes: string[];
|
|
2385
|
+
token: string;
|
|
2386
|
+
tokenUrl: string;
|
|
2387
|
+
clientSecret: string;
|
|
2388
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2389
|
+
} | {
|
|
2390
|
+
type: "authorizationCode";
|
|
2391
|
+
refreshUrl: string;
|
|
2392
|
+
selectedScopes: string[];
|
|
2393
|
+
token: string;
|
|
2394
|
+
authorizationUrl: string;
|
|
2395
|
+
redirectUri: string;
|
|
2396
|
+
tokenUrl: string;
|
|
2397
|
+
clientSecret: string;
|
|
2398
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2504
2399
|
};
|
|
2505
2400
|
clientId: string;
|
|
2506
|
-
redirectUri: string;
|
|
2507
2401
|
description?: string | undefined;
|
|
2508
|
-
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "type" | "
|
|
2402
|
+
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "type" | "uid" | "description" | "nameKey" | "flow" | "clientId" ? R_2 extends Path< {
|
|
2509
2403
|
type: "oauth2";
|
|
2510
2404
|
uid: string;
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2405
|
+
nameKey: string;
|
|
2406
|
+
flow: {
|
|
2407
|
+
type: "implicit";
|
|
2408
|
+
refreshUrl: string;
|
|
2514
2409
|
selectedScopes: string[];
|
|
2515
2410
|
token: string;
|
|
2516
|
-
|
|
2411
|
+
authorizationUrl: string;
|
|
2412
|
+
redirectUri: string;
|
|
2517
2413
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2518
|
-
} |
|
|
2519
|
-
password
|
|
2414
|
+
} | {
|
|
2415
|
+
type: "password";
|
|
2520
2416
|
value: string;
|
|
2521
2417
|
secondValue: string;
|
|
2418
|
+
refreshUrl: string;
|
|
2522
2419
|
selectedScopes: string[];
|
|
2523
2420
|
token: string;
|
|
2524
2421
|
tokenUrl: string;
|
|
2525
2422
|
clientSecret: string;
|
|
2526
|
-
refreshUrl?: string | undefined;
|
|
2527
2423
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2528
|
-
} |
|
|
2529
|
-
clientCredentials
|
|
2424
|
+
} | {
|
|
2425
|
+
type: "clientCredentials";
|
|
2426
|
+
refreshUrl: string;
|
|
2530
2427
|
selectedScopes: string[];
|
|
2531
2428
|
token: string;
|
|
2532
2429
|
tokenUrl: string;
|
|
2533
2430
|
clientSecret: string;
|
|
2534
|
-
refreshUrl?: string | undefined;
|
|
2535
2431
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2536
|
-
} |
|
|
2537
|
-
authorizationCode
|
|
2538
|
-
|
|
2432
|
+
} | {
|
|
2433
|
+
type: "authorizationCode";
|
|
2434
|
+
refreshUrl: string;
|
|
2539
2435
|
selectedScopes: string[];
|
|
2540
2436
|
token: string;
|
|
2437
|
+
authorizationUrl: string;
|
|
2438
|
+
redirectUri: string;
|
|
2541
2439
|
tokenUrl: string;
|
|
2542
2440
|
clientSecret: string;
|
|
2543
|
-
refreshUrl?: string | undefined;
|
|
2544
2441
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2545
|
-
} | undefined;
|
|
2546
2442
|
};
|
|
2547
2443
|
clientId: string;
|
|
2548
|
-
redirectUri: string;
|
|
2549
2444
|
description?: string | undefined;
|
|
2550
2445
|
}[K]> ? PathValue< {
|
|
2551
2446
|
type: "oauth2";
|
|
2552
2447
|
uid: string;
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2448
|
+
nameKey: string;
|
|
2449
|
+
flow: {
|
|
2450
|
+
type: "implicit";
|
|
2451
|
+
refreshUrl: string;
|
|
2556
2452
|
selectedScopes: string[];
|
|
2557
2453
|
token: string;
|
|
2558
|
-
|
|
2454
|
+
authorizationUrl: string;
|
|
2455
|
+
redirectUri: string;
|
|
2559
2456
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2560
|
-
} |
|
|
2561
|
-
password
|
|
2457
|
+
} | {
|
|
2458
|
+
type: "password";
|
|
2562
2459
|
value: string;
|
|
2563
2460
|
secondValue: string;
|
|
2461
|
+
refreshUrl: string;
|
|
2564
2462
|
selectedScopes: string[];
|
|
2565
2463
|
token: string;
|
|
2566
2464
|
tokenUrl: string;
|
|
2567
2465
|
clientSecret: string;
|
|
2568
|
-
refreshUrl?: string | undefined;
|
|
2569
2466
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2570
|
-
} |
|
|
2571
|
-
clientCredentials
|
|
2467
|
+
} | {
|
|
2468
|
+
type: "clientCredentials";
|
|
2469
|
+
refreshUrl: string;
|
|
2572
2470
|
selectedScopes: string[];
|
|
2573
2471
|
token: string;
|
|
2574
2472
|
tokenUrl: string;
|
|
2575
2473
|
clientSecret: string;
|
|
2576
|
-
refreshUrl?: string | undefined;
|
|
2577
2474
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2578
|
-
} |
|
|
2579
|
-
authorizationCode
|
|
2580
|
-
|
|
2475
|
+
} | {
|
|
2476
|
+
type: "authorizationCode";
|
|
2477
|
+
refreshUrl: string;
|
|
2581
2478
|
selectedScopes: string[];
|
|
2582
2479
|
token: string;
|
|
2480
|
+
authorizationUrl: string;
|
|
2481
|
+
redirectUri: string;
|
|
2583
2482
|
tokenUrl: string;
|
|
2584
2483
|
clientSecret: string;
|
|
2585
|
-
refreshUrl?: string | undefined;
|
|
2586
2484
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2587
|
-
} | undefined;
|
|
2588
2485
|
};
|
|
2589
2486
|
clientId: string;
|
|
2590
|
-
redirectUri: string;
|
|
2591
2487
|
description?: string | undefined;
|
|
2592
|
-
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "uid" | "description" | "openIdConnectUrl" ? {
|
|
2488
|
+
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "uid" | "description" | "nameKey" | "openIdConnectUrl" ? {
|
|
2593
2489
|
type: "openIdConnect";
|
|
2594
2490
|
uid: string;
|
|
2491
|
+
nameKey: string;
|
|
2595
2492
|
openIdConnectUrl: string;
|
|
2596
2493
|
description?: string | undefined;
|
|
2597
|
-
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "type" | "uid" | "description" | "openIdConnectUrl" ? R_3 extends Path< {
|
|
2494
|
+
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "type" | "uid" | "description" | "nameKey" | "openIdConnectUrl" ? R_3 extends Path< {
|
|
2598
2495
|
type: "openIdConnect";
|
|
2599
2496
|
uid: string;
|
|
2497
|
+
nameKey: string;
|
|
2600
2498
|
openIdConnectUrl: string;
|
|
2601
2499
|
description?: string | undefined;
|
|
2602
2500
|
}[K]> ? PathValue< {
|
|
2603
2501
|
type: "openIdConnect";
|
|
2604
2502
|
uid: string;
|
|
2503
|
+
nameKey: string;
|
|
2605
2504
|
openIdConnectUrl: string;
|
|
2606
2505
|
description?: string | undefined;
|
|
2607
2506
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
2608
|
-
untrackedEdit: <P extends "value" | "name" | "type" | "
|
|
2507
|
+
untrackedEdit: <P extends "value" | "name" | "type" | "uid" | "description" | "nameKey" | "in" | "scheme" | "bearerFormat" | "secondValue" | "flow" | "clientId" | "flow.value" | "flow.type" | "flow.secondValue" | "flow.refreshUrl" | "flow.selectedScopes" | "flow.token" | "flow.authorizationUrl" | "flow.redirectUri" | "flow.scopes" | `flow.selectedScopes.${number}` | "flow.tokenUrl" | "flow.clientSecret" | "openIdConnectUrl" | `flow.scopes.${string}`>(uid: string, path: P, value: (P extends "value" | "name" | "type" | "uid" | "description" | "nameKey" | "in" ? {
|
|
2609
2508
|
type: "apiKey";
|
|
2610
2509
|
value: string;
|
|
2611
2510
|
uid: string;
|
|
2511
|
+
nameKey: string;
|
|
2612
2512
|
name: string;
|
|
2613
2513
|
in: "query" | "header" | "cookie";
|
|
2614
2514
|
description?: string | undefined;
|
|
2615
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "type" | "uid" | "description" | "in" ? R extends Path< {
|
|
2515
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "type" | "uid" | "description" | "nameKey" | "in" ? R extends Path< {
|
|
2616
2516
|
type: "apiKey";
|
|
2617
2517
|
value: string;
|
|
2618
2518
|
uid: string;
|
|
2519
|
+
nameKey: string;
|
|
2619
2520
|
name: string;
|
|
2620
2521
|
in: "query" | "header" | "cookie";
|
|
2621
2522
|
description?: string | undefined;
|
|
@@ -2623,21 +2524,24 @@ export declare const useApiClientModal: () => {
|
|
|
2623
2524
|
type: "apiKey";
|
|
2624
2525
|
value: string;
|
|
2625
2526
|
uid: string;
|
|
2527
|
+
nameKey: string;
|
|
2626
2528
|
name: string;
|
|
2627
2529
|
in: "query" | "header" | "cookie";
|
|
2628
2530
|
description?: string | undefined;
|
|
2629
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "value" | "type" | "uid" | "description" | "scheme" | "bearerFormat" | "secondValue" ? {
|
|
2531
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "value" | "type" | "uid" | "description" | "nameKey" | "scheme" | "bearerFormat" | "secondValue" ? {
|
|
2630
2532
|
type: "http";
|
|
2631
2533
|
value: string;
|
|
2632
2534
|
uid: string;
|
|
2535
|
+
nameKey: string;
|
|
2633
2536
|
scheme: "basic" | "bearer";
|
|
2634
2537
|
bearerFormat: string;
|
|
2635
2538
|
secondValue: string;
|
|
2636
2539
|
description?: string | undefined;
|
|
2637
|
-
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "value" | "type" | "uid" | "description" | "scheme" | "bearerFormat" | "secondValue" ? R_1 extends Path< {
|
|
2540
|
+
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "value" | "type" | "uid" | "description" | "nameKey" | "scheme" | "bearerFormat" | "secondValue" ? R_1 extends Path< {
|
|
2638
2541
|
type: "http";
|
|
2639
2542
|
value: string;
|
|
2640
2543
|
uid: string;
|
|
2544
|
+
nameKey: string;
|
|
2641
2545
|
scheme: "basic" | "bearer";
|
|
2642
2546
|
bearerFormat: string;
|
|
2643
2547
|
secondValue: string;
|
|
@@ -2646,149 +2550,156 @@ export declare const useApiClientModal: () => {
|
|
|
2646
2550
|
type: "http";
|
|
2647
2551
|
value: string;
|
|
2648
2552
|
uid: string;
|
|
2553
|
+
nameKey: string;
|
|
2649
2554
|
scheme: "basic" | "bearer";
|
|
2650
2555
|
bearerFormat: string;
|
|
2651
2556
|
secondValue: string;
|
|
2652
2557
|
description?: string | undefined;
|
|
2653
|
-
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
2558
|
+
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "uid" | "description" | "nameKey" | "flow" | "clientId" ? {
|
|
2654
2559
|
type: "oauth2";
|
|
2655
2560
|
uid: string;
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2561
|
+
nameKey: string;
|
|
2562
|
+
flow: {
|
|
2563
|
+
type: "implicit";
|
|
2564
|
+
refreshUrl: string;
|
|
2565
|
+
selectedScopes: string[];
|
|
2566
|
+
token: string;
|
|
2567
|
+
authorizationUrl: string;
|
|
2568
|
+
redirectUri: string;
|
|
2569
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2570
|
+
} | {
|
|
2571
|
+
type: "password";
|
|
2572
|
+
value: string;
|
|
2573
|
+
secondValue: string;
|
|
2574
|
+
refreshUrl: string;
|
|
2575
|
+
selectedScopes: string[];
|
|
2576
|
+
token: string;
|
|
2577
|
+
tokenUrl: string;
|
|
2578
|
+
clientSecret: string;
|
|
2579
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2580
|
+
} | {
|
|
2581
|
+
type: "clientCredentials";
|
|
2582
|
+
refreshUrl: string;
|
|
2583
|
+
selectedScopes: string[];
|
|
2584
|
+
token: string;
|
|
2585
|
+
tokenUrl: string;
|
|
2586
|
+
clientSecret: string;
|
|
2587
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2588
|
+
} | {
|
|
2589
|
+
type: "authorizationCode";
|
|
2590
|
+
refreshUrl: string;
|
|
2591
|
+
selectedScopes: string[];
|
|
2592
|
+
token: string;
|
|
2593
|
+
authorizationUrl: string;
|
|
2594
|
+
redirectUri: string;
|
|
2595
|
+
tokenUrl: string;
|
|
2596
|
+
clientSecret: string;
|
|
2597
|
+
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2691
2598
|
};
|
|
2692
2599
|
clientId: string;
|
|
2693
|
-
redirectUri: string;
|
|
2694
2600
|
description?: string | undefined;
|
|
2695
|
-
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "type" | "
|
|
2601
|
+
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "type" | "uid" | "description" | "nameKey" | "flow" | "clientId" ? R_2 extends Path< {
|
|
2696
2602
|
type: "oauth2";
|
|
2697
2603
|
uid: string;
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2604
|
+
nameKey: string;
|
|
2605
|
+
flow: {
|
|
2606
|
+
type: "implicit";
|
|
2607
|
+
refreshUrl: string;
|
|
2701
2608
|
selectedScopes: string[];
|
|
2702
2609
|
token: string;
|
|
2703
|
-
|
|
2610
|
+
authorizationUrl: string;
|
|
2611
|
+
redirectUri: string;
|
|
2704
2612
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2705
|
-
} |
|
|
2706
|
-
password
|
|
2613
|
+
} | {
|
|
2614
|
+
type: "password";
|
|
2707
2615
|
value: string;
|
|
2708
2616
|
secondValue: string;
|
|
2617
|
+
refreshUrl: string;
|
|
2709
2618
|
selectedScopes: string[];
|
|
2710
2619
|
token: string;
|
|
2711
2620
|
tokenUrl: string;
|
|
2712
2621
|
clientSecret: string;
|
|
2713
|
-
refreshUrl?: string | undefined;
|
|
2714
2622
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2715
|
-
} |
|
|
2716
|
-
clientCredentials
|
|
2623
|
+
} | {
|
|
2624
|
+
type: "clientCredentials";
|
|
2625
|
+
refreshUrl: string;
|
|
2717
2626
|
selectedScopes: string[];
|
|
2718
2627
|
token: string;
|
|
2719
2628
|
tokenUrl: string;
|
|
2720
2629
|
clientSecret: string;
|
|
2721
|
-
refreshUrl?: string | undefined;
|
|
2722
2630
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2723
|
-
} |
|
|
2724
|
-
authorizationCode
|
|
2725
|
-
|
|
2631
|
+
} | {
|
|
2632
|
+
type: "authorizationCode";
|
|
2633
|
+
refreshUrl: string;
|
|
2726
2634
|
selectedScopes: string[];
|
|
2727
2635
|
token: string;
|
|
2636
|
+
authorizationUrl: string;
|
|
2637
|
+
redirectUri: string;
|
|
2728
2638
|
tokenUrl: string;
|
|
2729
2639
|
clientSecret: string;
|
|
2730
|
-
refreshUrl?: string | undefined;
|
|
2731
2640
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2732
|
-
} | undefined;
|
|
2733
2641
|
};
|
|
2734
2642
|
clientId: string;
|
|
2735
|
-
redirectUri: string;
|
|
2736
2643
|
description?: string | undefined;
|
|
2737
2644
|
}[K]> ? PathValue< {
|
|
2738
2645
|
type: "oauth2";
|
|
2739
2646
|
uid: string;
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2647
|
+
nameKey: string;
|
|
2648
|
+
flow: {
|
|
2649
|
+
type: "implicit";
|
|
2650
|
+
refreshUrl: string;
|
|
2743
2651
|
selectedScopes: string[];
|
|
2744
2652
|
token: string;
|
|
2745
|
-
|
|
2653
|
+
authorizationUrl: string;
|
|
2654
|
+
redirectUri: string;
|
|
2746
2655
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2747
|
-
} |
|
|
2748
|
-
password
|
|
2656
|
+
} | {
|
|
2657
|
+
type: "password";
|
|
2749
2658
|
value: string;
|
|
2750
2659
|
secondValue: string;
|
|
2660
|
+
refreshUrl: string;
|
|
2751
2661
|
selectedScopes: string[];
|
|
2752
2662
|
token: string;
|
|
2753
2663
|
tokenUrl: string;
|
|
2754
2664
|
clientSecret: string;
|
|
2755
|
-
refreshUrl?: string | undefined;
|
|
2756
2665
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2757
|
-
} |
|
|
2758
|
-
clientCredentials
|
|
2666
|
+
} | {
|
|
2667
|
+
type: "clientCredentials";
|
|
2668
|
+
refreshUrl: string;
|
|
2759
2669
|
selectedScopes: string[];
|
|
2760
2670
|
token: string;
|
|
2761
2671
|
tokenUrl: string;
|
|
2762
2672
|
clientSecret: string;
|
|
2763
|
-
refreshUrl?: string | undefined;
|
|
2764
2673
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2765
|
-
} |
|
|
2766
|
-
authorizationCode
|
|
2767
|
-
|
|
2674
|
+
} | {
|
|
2675
|
+
type: "authorizationCode";
|
|
2676
|
+
refreshUrl: string;
|
|
2768
2677
|
selectedScopes: string[];
|
|
2769
2678
|
token: string;
|
|
2679
|
+
authorizationUrl: string;
|
|
2680
|
+
redirectUri: string;
|
|
2770
2681
|
tokenUrl: string;
|
|
2771
2682
|
clientSecret: string;
|
|
2772
|
-
refreshUrl?: string | undefined;
|
|
2773
2683
|
scopes?: Map<string, string | undefined> | Record<string, string | undefined> | {} | undefined;
|
|
2774
|
-
} | undefined;
|
|
2775
2684
|
};
|
|
2776
2685
|
clientId: string;
|
|
2777
|
-
redirectUri: string;
|
|
2778
2686
|
description?: string | undefined;
|
|
2779
|
-
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "uid" | "description" | "openIdConnectUrl" ? {
|
|
2687
|
+
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "uid" | "description" | "nameKey" | "openIdConnectUrl" ? {
|
|
2780
2688
|
type: "openIdConnect";
|
|
2781
2689
|
uid: string;
|
|
2690
|
+
nameKey: string;
|
|
2782
2691
|
openIdConnectUrl: string;
|
|
2783
2692
|
description?: string | undefined;
|
|
2784
|
-
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "type" | "uid" | "description" | "openIdConnectUrl" ? R_3 extends Path< {
|
|
2693
|
+
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "type" | "uid" | "description" | "nameKey" | "openIdConnectUrl" ? R_3 extends Path< {
|
|
2785
2694
|
type: "openIdConnect";
|
|
2786
2695
|
uid: string;
|
|
2696
|
+
nameKey: string;
|
|
2787
2697
|
openIdConnectUrl: string;
|
|
2788
2698
|
description?: string | undefined;
|
|
2789
2699
|
}[K]> ? PathValue< {
|
|
2790
2700
|
type: "openIdConnect";
|
|
2791
2701
|
uid: string;
|
|
2702
|
+
nameKey: string;
|
|
2792
2703
|
openIdConnectUrl: string;
|
|
2793
2704
|
description?: string | undefined;
|
|
2794
2705
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
@@ -2801,8 +2712,8 @@ export declare const useApiClientModal: () => {
|
|
|
2801
2712
|
url: string;
|
|
2802
2713
|
description?: string | undefined;
|
|
2803
2714
|
variables?: Record<string, {
|
|
2804
|
-
default: string;
|
|
2805
2715
|
uid: string;
|
|
2716
|
+
default: string;
|
|
2806
2717
|
value?: string | undefined;
|
|
2807
2718
|
description?: string | undefined;
|
|
2808
2719
|
enum?: string[] | undefined;
|
|
@@ -2815,8 +2726,8 @@ export declare const useApiClientModal: () => {
|
|
|
2815
2726
|
url: string;
|
|
2816
2727
|
description?: string | undefined;
|
|
2817
2728
|
variables?: Record<string, {
|
|
2818
|
-
default: string;
|
|
2819
2729
|
uid: string;
|
|
2730
|
+
default: string;
|
|
2820
2731
|
value?: string | undefined;
|
|
2821
2732
|
description?: string | undefined;
|
|
2822
2733
|
enum?: string[] | undefined;
|
|
@@ -2827,8 +2738,8 @@ export declare const useApiClientModal: () => {
|
|
|
2827
2738
|
url: string;
|
|
2828
2739
|
description?: string | undefined;
|
|
2829
2740
|
variables?: Record<string, {
|
|
2830
|
-
default: string;
|
|
2831
2741
|
uid: string;
|
|
2742
|
+
default: string;
|
|
2832
2743
|
value?: string | undefined;
|
|
2833
2744
|
description?: string | undefined;
|
|
2834
2745
|
enum?: string[] | undefined;
|
|
@@ -2838,8 +2749,8 @@ export declare const useApiClientModal: () => {
|
|
|
2838
2749
|
url: string;
|
|
2839
2750
|
description?: string | undefined;
|
|
2840
2751
|
variables?: Record<string, {
|
|
2841
|
-
default: string;
|
|
2842
2752
|
uid: string;
|
|
2753
|
+
default: string;
|
|
2843
2754
|
value?: string | undefined;
|
|
2844
2755
|
description?: string | undefined;
|
|
2845
2756
|
enum?: string[] | undefined;
|
|
@@ -2849,8 +2760,8 @@ export declare const useApiClientModal: () => {
|
|
|
2849
2760
|
url: string;
|
|
2850
2761
|
description?: string | undefined;
|
|
2851
2762
|
variables?: Record<string, {
|
|
2852
|
-
default: string;
|
|
2853
2763
|
uid: string;
|
|
2764
|
+
default: string;
|
|
2854
2765
|
value?: string | undefined;
|
|
2855
2766
|
description?: string | undefined;
|
|
2856
2767
|
enum?: string[] | undefined;
|
|
@@ -2861,8 +2772,8 @@ export declare const useApiClientModal: () => {
|
|
|
2861
2772
|
url: string;
|
|
2862
2773
|
description?: string | undefined;
|
|
2863
2774
|
variables?: Record<string, {
|
|
2864
|
-
default: string;
|
|
2865
2775
|
uid: string;
|
|
2776
|
+
default: string;
|
|
2866
2777
|
value?: string | undefined;
|
|
2867
2778
|
description?: string | undefined;
|
|
2868
2779
|
enum?: string[] | undefined;
|
|
@@ -2872,8 +2783,8 @@ export declare const useApiClientModal: () => {
|
|
|
2872
2783
|
url: string;
|
|
2873
2784
|
description?: string | undefined;
|
|
2874
2785
|
variables?: Record<string, {
|
|
2875
|
-
default: string;
|
|
2876
2786
|
uid: string;
|
|
2787
|
+
default: string;
|
|
2877
2788
|
value?: string | undefined;
|
|
2878
2789
|
description?: string | undefined;
|
|
2879
2790
|
enum?: string[] | undefined;
|
|
@@ -2883,8 +2794,8 @@ export declare const useApiClientModal: () => {
|
|
|
2883
2794
|
url: string;
|
|
2884
2795
|
description?: string | undefined;
|
|
2885
2796
|
variables?: Record<string, {
|
|
2886
|
-
default: string;
|
|
2887
2797
|
uid: string;
|
|
2798
|
+
default: string;
|
|
2888
2799
|
value?: string | undefined;
|
|
2889
2800
|
description?: string | undefined;
|
|
2890
2801
|
enum?: string[] | undefined;
|