@scalar/types 0.1.13 → 0.1.15

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.
Files changed (75) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/api-reference/api-reference-configuration.d.ts +41 -11
  3. package/dist/api-reference/api-reference-configuration.d.ts.map +1 -1
  4. package/dist/api-reference/api-reference-configuration.js +274 -290
  5. package/dist/api-reference/api-reference-configuration.js.map +7 -0
  6. package/dist/api-reference/api-reference-configuration.test.js +224 -0
  7. package/dist/api-reference/api-reference-configuration.test.js.map +7 -0
  8. package/dist/api-reference/api-reference-plugin.d.ts +16 -2
  9. package/dist/api-reference/api-reference-plugin.d.ts.map +1 -1
  10. package/dist/api-reference/api-reference-plugin.js +28 -22
  11. package/dist/api-reference/api-reference-plugin.js.map +7 -0
  12. package/dist/api-reference/authentication-configuration.d.ts +2 -2
  13. package/dist/api-reference/authentication-configuration.d.ts.map +1 -1
  14. package/dist/api-reference/authentication-configuration.js +1 -0
  15. package/dist/api-reference/authentication-configuration.js.map +7 -0
  16. package/dist/api-reference/authentication-configuration.test-d.js +45 -0
  17. package/dist/api-reference/authentication-configuration.test-d.js.map +7 -0
  18. package/dist/api-reference/html-api.d.ts +1 -1
  19. package/dist/api-reference/html-api.d.ts.map +1 -1
  20. package/dist/api-reference/html-api.js +1 -0
  21. package/dist/api-reference/html-api.js.map +7 -0
  22. package/dist/api-reference/html-rendering-configuration.d.ts +1 -1
  23. package/dist/api-reference/html-rendering-configuration.d.ts.map +1 -1
  24. package/dist/api-reference/html-rendering-configuration.js +19 -21
  25. package/dist/api-reference/html-rendering-configuration.js.map +7 -0
  26. package/dist/api-reference/index.d.ts +4 -5
  27. package/dist/api-reference/index.d.ts.map +1 -1
  28. package/dist/api-reference/index.js +17 -3
  29. package/dist/api-reference/index.js.map +7 -0
  30. package/dist/entities/index.d.ts +1 -1
  31. package/dist/entities/index.d.ts.map +1 -1
  32. package/dist/entities/index.js +21 -1
  33. package/dist/entities/index.js.map +7 -0
  34. package/dist/entities/security-scheme.d.ts +104 -0
  35. package/dist/entities/security-scheme.d.ts.map +1 -1
  36. package/dist/entities/security-scheme.js +118 -157
  37. package/dist/entities/security-scheme.js.map +7 -0
  38. package/dist/entities/security-scheme.test.js +318 -0
  39. package/dist/entities/security-scheme.test.js.map +7 -0
  40. package/dist/index.d.ts +2 -2
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.js +3 -4
  43. package/dist/index.js.map +7 -0
  44. package/dist/legacy/index.d.ts +1 -1
  45. package/dist/legacy/index.d.ts.map +1 -1
  46. package/dist/legacy/index.js +2 -1
  47. package/dist/legacy/index.js.map +7 -0
  48. package/dist/legacy/reference-config.d.ts +2 -2
  49. package/dist/legacy/reference-config.d.ts.map +1 -1
  50. package/dist/legacy/reference-config.js +10 -8
  51. package/dist/legacy/reference-config.js.map +7 -0
  52. package/dist/snippetz/index.d.ts +1 -1
  53. package/dist/snippetz/index.d.ts.map +1 -1
  54. package/dist/snippetz/index.js +2 -1
  55. package/dist/snippetz/index.js.map +7 -0
  56. package/dist/snippetz/snippetz.d.ts +1 -1
  57. package/dist/snippetz/snippetz.d.ts.map +1 -1
  58. package/dist/snippetz/snippetz.js +39 -40
  59. package/dist/snippetz/snippetz.js.map +7 -0
  60. package/dist/snippetz/snippetz.test-d.js +28 -0
  61. package/dist/snippetz/snippetz.test-d.js.map +7 -0
  62. package/dist/utils/index.d.ts +2 -2
  63. package/dist/utils/index.d.ts.map +1 -1
  64. package/dist/utils/index.js +5 -1
  65. package/dist/utils/index.js.map +7 -0
  66. package/dist/utils/nanoid.js +7 -11
  67. package/dist/utils/nanoid.js.map +7 -0
  68. package/dist/utils/nanoid.test.js +29 -0
  69. package/dist/utils/nanoid.test.js.map +7 -0
  70. package/dist/utils/utility-types.js +1 -0
  71. package/dist/utils/utility-types.js.map +7 -0
  72. package/package.json +6 -10
  73. package/dist/api-reference/helpers/migrate-theme-variables.d.ts +0 -10
  74. package/dist/api-reference/helpers/migrate-theme-variables.d.ts.map +0 -1
  75. package/dist/api-reference/helpers/migrate-theme-variables.js +0 -22
@@ -130,6 +130,8 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
130
130
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
131
131
  /** The auth token */
132
132
  token: z.ZodDefault<z.ZodString>;
133
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
134
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
133
135
  }, {
134
136
  type: z.ZodDefault<z.ZodLiteral<"implicit">>;
135
137
  authorizationUrl: z.ZodDefault<z.ZodString>;
@@ -143,6 +145,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
143
145
  'x-scalar-client-id': string;
144
146
  authorizationUrl: string;
145
147
  'x-scalar-redirect-uri': string;
148
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
146
149
  }, {
147
150
  type?: "implicit" | undefined;
148
151
  token?: string | undefined;
@@ -150,6 +153,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
150
153
  scopes?: unknown;
151
154
  selectedScopes?: string[] | undefined;
152
155
  'x-scalar-client-id'?: string | undefined;
156
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
153
157
  authorizationUrl?: string | undefined;
154
158
  'x-scalar-redirect-uri'?: string | undefined;
155
159
  }>>;
@@ -169,6 +173,8 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
169
173
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
170
174
  /** The auth token */
171
175
  token: z.ZodDefault<z.ZodString>;
176
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
177
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
172
178
  }, {
173
179
  type: z.ZodDefault<z.ZodLiteral<"password">>;
174
180
  tokenUrl: z.ZodDefault<z.ZodString>;
@@ -186,6 +192,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
186
192
  'x-scalar-client-id': string;
187
193
  tokenUrl: string;
188
194
  clientSecret: string;
195
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
189
196
  }, {
190
197
  type?: "password" | undefined;
191
198
  username?: string | undefined;
@@ -195,6 +202,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
195
202
  scopes?: unknown;
196
203
  selectedScopes?: string[] | undefined;
197
204
  'x-scalar-client-id'?: string | undefined;
205
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
198
206
  tokenUrl?: string | undefined;
199
207
  clientSecret?: string | undefined;
200
208
  }>>;
@@ -214,6 +222,8 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
214
222
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
215
223
  /** The auth token */
216
224
  token: z.ZodDefault<z.ZodString>;
225
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
226
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
217
227
  }, {
218
228
  type: z.ZodDefault<z.ZodLiteral<"clientCredentials">>;
219
229
  tokenUrl: z.ZodDefault<z.ZodString>;
@@ -227,6 +237,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
227
237
  'x-scalar-client-id': string;
228
238
  tokenUrl: string;
229
239
  clientSecret: string;
240
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
230
241
  }, {
231
242
  type?: "clientCredentials" | undefined;
232
243
  token?: string | undefined;
@@ -234,6 +245,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
234
245
  scopes?: unknown;
235
246
  selectedScopes?: string[] | undefined;
236
247
  'x-scalar-client-id'?: string | undefined;
248
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
237
249
  tokenUrl?: string | undefined;
238
250
  clientSecret?: string | undefined;
239
251
  }>>;
@@ -253,6 +265,8 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
253
265
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
254
266
  /** The auth token */
255
267
  token: z.ZodDefault<z.ZodString>;
268
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
269
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
256
270
  }, {
257
271
  type: z.ZodDefault<z.ZodLiteral<"authorizationCode">>;
258
272
  authorizationUrl: z.ZodDefault<z.ZodString>;
@@ -272,6 +286,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
272
286
  tokenUrl: string;
273
287
  clientSecret: string;
274
288
  'x-usePkce': "SHA-256" | "plain" | "no";
289
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
275
290
  }, {
276
291
  type?: "authorizationCode" | undefined;
277
292
  token?: string | undefined;
@@ -279,6 +294,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
279
294
  scopes?: unknown;
280
295
  selectedScopes?: string[] | undefined;
281
296
  'x-scalar-client-id'?: string | undefined;
297
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
282
298
  authorizationUrl?: string | undefined;
283
299
  'x-scalar-redirect-uri'?: string | undefined;
284
300
  tokenUrl?: string | undefined;
@@ -297,6 +313,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
297
313
  'x-scalar-client-id': string;
298
314
  tokenUrl: string;
299
315
  clientSecret: string;
316
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
300
317
  } | undefined;
301
318
  implicit?: {
302
319
  type: "implicit";
@@ -307,6 +324,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
307
324
  'x-scalar-client-id': string;
308
325
  authorizationUrl: string;
309
326
  'x-scalar-redirect-uri': string;
327
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
310
328
  } | undefined;
311
329
  clientCredentials?: {
312
330
  type: "clientCredentials";
@@ -317,6 +335,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
317
335
  'x-scalar-client-id': string;
318
336
  tokenUrl: string;
319
337
  clientSecret: string;
338
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
320
339
  } | undefined;
321
340
  authorizationCode?: {
322
341
  type: "authorizationCode";
@@ -330,6 +349,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
330
349
  tokenUrl: string;
331
350
  clientSecret: string;
332
351
  'x-usePkce': "SHA-256" | "plain" | "no";
352
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
333
353
  } | undefined;
334
354
  }, {
335
355
  password?: {
@@ -341,6 +361,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
341
361
  scopes?: unknown;
342
362
  selectedScopes?: string[] | undefined;
343
363
  'x-scalar-client-id'?: string | undefined;
364
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
344
365
  tokenUrl?: string | undefined;
345
366
  clientSecret?: string | undefined;
346
367
  } | undefined;
@@ -351,6 +372,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
351
372
  scopes?: unknown;
352
373
  selectedScopes?: string[] | undefined;
353
374
  'x-scalar-client-id'?: string | undefined;
375
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
354
376
  authorizationUrl?: string | undefined;
355
377
  'x-scalar-redirect-uri'?: string | undefined;
356
378
  } | undefined;
@@ -361,6 +383,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
361
383
  scopes?: unknown;
362
384
  selectedScopes?: string[] | undefined;
363
385
  'x-scalar-client-id'?: string | undefined;
386
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
364
387
  tokenUrl?: string | undefined;
365
388
  clientSecret?: string | undefined;
366
389
  } | undefined;
@@ -371,6 +394,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
371
394
  scopes?: unknown;
372
395
  selectedScopes?: string[] | undefined;
373
396
  'x-scalar-client-id'?: string | undefined;
397
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
374
398
  authorizationUrl?: string | undefined;
375
399
  'x-scalar-redirect-uri'?: string | undefined;
376
400
  tokenUrl?: string | undefined;
@@ -398,6 +422,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
398
422
  'x-scalar-client-id': string;
399
423
  tokenUrl: string;
400
424
  clientSecret: string;
425
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
401
426
  } | undefined;
402
427
  implicit?: {
403
428
  type: "implicit";
@@ -408,6 +433,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
408
433
  'x-scalar-client-id': string;
409
434
  authorizationUrl: string;
410
435
  'x-scalar-redirect-uri': string;
436
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
411
437
  } | undefined;
412
438
  clientCredentials?: {
413
439
  type: "clientCredentials";
@@ -418,6 +444,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
418
444
  'x-scalar-client-id': string;
419
445
  tokenUrl: string;
420
446
  clientSecret: string;
447
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
421
448
  } | undefined;
422
449
  authorizationCode?: {
423
450
  type: "authorizationCode";
@@ -431,6 +458,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
431
458
  tokenUrl: string;
432
459
  clientSecret: string;
433
460
  'x-usePkce': "SHA-256" | "plain" | "no";
461
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
434
462
  } | undefined;
435
463
  };
436
464
  description?: string | undefined;
@@ -451,6 +479,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
451
479
  scopes?: unknown;
452
480
  selectedScopes?: string[] | undefined;
453
481
  'x-scalar-client-id'?: string | undefined;
482
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
454
483
  tokenUrl?: string | undefined;
455
484
  clientSecret?: string | undefined;
456
485
  } | undefined;
@@ -461,6 +490,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
461
490
  scopes?: unknown;
462
491
  selectedScopes?: string[] | undefined;
463
492
  'x-scalar-client-id'?: string | undefined;
493
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
464
494
  authorizationUrl?: string | undefined;
465
495
  'x-scalar-redirect-uri'?: string | undefined;
466
496
  } | undefined;
@@ -471,6 +501,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
471
501
  scopes?: unknown;
472
502
  selectedScopes?: string[] | undefined;
473
503
  'x-scalar-client-id'?: string | undefined;
504
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
474
505
  tokenUrl?: string | undefined;
475
506
  clientSecret?: string | undefined;
476
507
  } | undefined;
@@ -481,6 +512,7 @@ export declare const securityOauthSchema: z.ZodObject<z.objectUtil.extendShape<z
481
512
  scopes?: unknown;
482
513
  selectedScopes?: string[] | undefined;
483
514
  'x-scalar-client-id'?: string | undefined;
515
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
484
516
  authorizationUrl?: string | undefined;
485
517
  'x-scalar-redirect-uri'?: string | undefined;
486
518
  tokenUrl?: string | undefined;
@@ -573,6 +605,8 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
573
605
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
574
606
  /** The auth token */
575
607
  token: z.ZodDefault<z.ZodString>;
608
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
609
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
576
610
  }, {
577
611
  type: z.ZodDefault<z.ZodLiteral<"implicit">>;
578
612
  authorizationUrl: z.ZodDefault<z.ZodString>;
@@ -586,6 +620,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
586
620
  'x-scalar-client-id': string;
587
621
  authorizationUrl: string;
588
622
  'x-scalar-redirect-uri': string;
623
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
589
624
  }, {
590
625
  type?: "implicit" | undefined;
591
626
  token?: string | undefined;
@@ -593,6 +628,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
593
628
  scopes?: unknown;
594
629
  selectedScopes?: string[] | undefined;
595
630
  'x-scalar-client-id'?: string | undefined;
631
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
596
632
  authorizationUrl?: string | undefined;
597
633
  'x-scalar-redirect-uri'?: string | undefined;
598
634
  }>>;
@@ -612,6 +648,8 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
612
648
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
613
649
  /** The auth token */
614
650
  token: z.ZodDefault<z.ZodString>;
651
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
652
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
615
653
  }, {
616
654
  type: z.ZodDefault<z.ZodLiteral<"password">>;
617
655
  tokenUrl: z.ZodDefault<z.ZodString>;
@@ -629,6 +667,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
629
667
  'x-scalar-client-id': string;
630
668
  tokenUrl: string;
631
669
  clientSecret: string;
670
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
632
671
  }, {
633
672
  type?: "password" | undefined;
634
673
  username?: string | undefined;
@@ -638,6 +677,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
638
677
  scopes?: unknown;
639
678
  selectedScopes?: string[] | undefined;
640
679
  'x-scalar-client-id'?: string | undefined;
680
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
641
681
  tokenUrl?: string | undefined;
642
682
  clientSecret?: string | undefined;
643
683
  }>>;
@@ -657,6 +697,8 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
657
697
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
658
698
  /** The auth token */
659
699
  token: z.ZodDefault<z.ZodString>;
700
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
701
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
660
702
  }, {
661
703
  type: z.ZodDefault<z.ZodLiteral<"clientCredentials">>;
662
704
  tokenUrl: z.ZodDefault<z.ZodString>;
@@ -670,6 +712,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
670
712
  'x-scalar-client-id': string;
671
713
  tokenUrl: string;
672
714
  clientSecret: string;
715
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
673
716
  }, {
674
717
  type?: "clientCredentials" | undefined;
675
718
  token?: string | undefined;
@@ -677,6 +720,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
677
720
  scopes?: unknown;
678
721
  selectedScopes?: string[] | undefined;
679
722
  'x-scalar-client-id'?: string | undefined;
723
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
680
724
  tokenUrl?: string | undefined;
681
725
  clientSecret?: string | undefined;
682
726
  }>>;
@@ -696,6 +740,8 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
696
740
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
697
741
  /** The auth token */
698
742
  token: z.ZodDefault<z.ZodString>;
743
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
744
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
699
745
  }, {
700
746
  type: z.ZodDefault<z.ZodLiteral<"authorizationCode">>;
701
747
  authorizationUrl: z.ZodDefault<z.ZodString>;
@@ -715,6 +761,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
715
761
  tokenUrl: string;
716
762
  clientSecret: string;
717
763
  'x-usePkce': "SHA-256" | "plain" | "no";
764
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
718
765
  }, {
719
766
  type?: "authorizationCode" | undefined;
720
767
  token?: string | undefined;
@@ -722,6 +769,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
722
769
  scopes?: unknown;
723
770
  selectedScopes?: string[] | undefined;
724
771
  'x-scalar-client-id'?: string | undefined;
772
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
725
773
  authorizationUrl?: string | undefined;
726
774
  'x-scalar-redirect-uri'?: string | undefined;
727
775
  tokenUrl?: string | undefined;
@@ -740,6 +788,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
740
788
  'x-scalar-client-id': string;
741
789
  tokenUrl: string;
742
790
  clientSecret: string;
791
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
743
792
  } | undefined;
744
793
  implicit?: {
745
794
  type: "implicit";
@@ -750,6 +799,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
750
799
  'x-scalar-client-id': string;
751
800
  authorizationUrl: string;
752
801
  'x-scalar-redirect-uri': string;
802
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
753
803
  } | undefined;
754
804
  clientCredentials?: {
755
805
  type: "clientCredentials";
@@ -760,6 +810,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
760
810
  'x-scalar-client-id': string;
761
811
  tokenUrl: string;
762
812
  clientSecret: string;
813
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
763
814
  } | undefined;
764
815
  authorizationCode?: {
765
816
  type: "authorizationCode";
@@ -773,6 +824,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
773
824
  tokenUrl: string;
774
825
  clientSecret: string;
775
826
  'x-usePkce': "SHA-256" | "plain" | "no";
827
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
776
828
  } | undefined;
777
829
  }, {
778
830
  password?: {
@@ -784,6 +836,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
784
836
  scopes?: unknown;
785
837
  selectedScopes?: string[] | undefined;
786
838
  'x-scalar-client-id'?: string | undefined;
839
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
787
840
  tokenUrl?: string | undefined;
788
841
  clientSecret?: string | undefined;
789
842
  } | undefined;
@@ -794,6 +847,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
794
847
  scopes?: unknown;
795
848
  selectedScopes?: string[] | undefined;
796
849
  'x-scalar-client-id'?: string | undefined;
850
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
797
851
  authorizationUrl?: string | undefined;
798
852
  'x-scalar-redirect-uri'?: string | undefined;
799
853
  } | undefined;
@@ -804,6 +858,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
804
858
  scopes?: unknown;
805
859
  selectedScopes?: string[] | undefined;
806
860
  'x-scalar-client-id'?: string | undefined;
861
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
807
862
  tokenUrl?: string | undefined;
808
863
  clientSecret?: string | undefined;
809
864
  } | undefined;
@@ -814,6 +869,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
814
869
  scopes?: unknown;
815
870
  selectedScopes?: string[] | undefined;
816
871
  'x-scalar-client-id'?: string | undefined;
872
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
817
873
  authorizationUrl?: string | undefined;
818
874
  'x-scalar-redirect-uri'?: string | undefined;
819
875
  tokenUrl?: string | undefined;
@@ -835,6 +891,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
835
891
  'x-scalar-client-id': string;
836
892
  tokenUrl: string;
837
893
  clientSecret: string;
894
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
838
895
  } | undefined;
839
896
  implicit?: {
840
897
  type: "implicit";
@@ -845,6 +902,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
845
902
  'x-scalar-client-id': string;
846
903
  authorizationUrl: string;
847
904
  'x-scalar-redirect-uri': string;
905
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
848
906
  } | undefined;
849
907
  clientCredentials?: {
850
908
  type: "clientCredentials";
@@ -855,6 +913,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
855
913
  'x-scalar-client-id': string;
856
914
  tokenUrl: string;
857
915
  clientSecret: string;
916
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
858
917
  } | undefined;
859
918
  authorizationCode?: {
860
919
  type: "authorizationCode";
@@ -868,6 +927,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
868
927
  tokenUrl: string;
869
928
  clientSecret: string;
870
929
  'x-usePkce': "SHA-256" | "plain" | "no";
930
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
871
931
  } | undefined;
872
932
  };
873
933
  description?: string | undefined;
@@ -886,6 +946,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
886
946
  scopes?: unknown;
887
947
  selectedScopes?: string[] | undefined;
888
948
  'x-scalar-client-id'?: string | undefined;
949
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
889
950
  tokenUrl?: string | undefined;
890
951
  clientSecret?: string | undefined;
891
952
  } | undefined;
@@ -896,6 +957,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
896
957
  scopes?: unknown;
897
958
  selectedScopes?: string[] | undefined;
898
959
  'x-scalar-client-id'?: string | undefined;
960
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
899
961
  authorizationUrl?: string | undefined;
900
962
  'x-scalar-redirect-uri'?: string | undefined;
901
963
  } | undefined;
@@ -906,6 +968,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
906
968
  scopes?: unknown;
907
969
  selectedScopes?: string[] | undefined;
908
970
  'x-scalar-client-id'?: string | undefined;
971
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
909
972
  tokenUrl?: string | undefined;
910
973
  clientSecret?: string | undefined;
911
974
  } | undefined;
@@ -916,6 +979,7 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<[z.ZodObject<z.objectUt
916
979
  scopes?: unknown;
917
980
  selectedScopes?: string[] | undefined;
918
981
  'x-scalar-client-id'?: string | undefined;
982
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
919
983
  authorizationUrl?: string | undefined;
920
984
  'x-scalar-redirect-uri'?: string | undefined;
921
985
  tokenUrl?: string | undefined;
@@ -1064,6 +1128,8 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1064
1128
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
1065
1129
  /** The auth token */
1066
1130
  token: z.ZodDefault<z.ZodString>;
1131
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
1132
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1067
1133
  }, {
1068
1134
  type: z.ZodDefault<z.ZodLiteral<"implicit">>;
1069
1135
  authorizationUrl: z.ZodDefault<z.ZodString>;
@@ -1077,6 +1143,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1077
1143
  'x-scalar-client-id': string;
1078
1144
  authorizationUrl: string;
1079
1145
  'x-scalar-redirect-uri': string;
1146
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1080
1147
  }, {
1081
1148
  type?: "implicit" | undefined;
1082
1149
  token?: string | undefined;
@@ -1084,6 +1151,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1084
1151
  scopes?: unknown;
1085
1152
  selectedScopes?: string[] | undefined;
1086
1153
  'x-scalar-client-id'?: string | undefined;
1154
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1087
1155
  authorizationUrl?: string | undefined;
1088
1156
  'x-scalar-redirect-uri'?: string | undefined;
1089
1157
  }>>;
@@ -1103,6 +1171,8 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1103
1171
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
1104
1172
  /** The auth token */
1105
1173
  token: z.ZodDefault<z.ZodString>;
1174
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
1175
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1106
1176
  }, {
1107
1177
  type: z.ZodDefault<z.ZodLiteral<"password">>;
1108
1178
  tokenUrl: z.ZodDefault<z.ZodString>;
@@ -1120,6 +1190,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1120
1190
  'x-scalar-client-id': string;
1121
1191
  tokenUrl: string;
1122
1192
  clientSecret: string;
1193
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1123
1194
  }, {
1124
1195
  type?: "password" | undefined;
1125
1196
  username?: string | undefined;
@@ -1129,6 +1200,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1129
1200
  scopes?: unknown;
1130
1201
  selectedScopes?: string[] | undefined;
1131
1202
  'x-scalar-client-id'?: string | undefined;
1203
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1132
1204
  tokenUrl?: string | undefined;
1133
1205
  clientSecret?: string | undefined;
1134
1206
  }>>;
@@ -1148,6 +1220,8 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1148
1220
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
1149
1221
  /** The auth token */
1150
1222
  token: z.ZodDefault<z.ZodString>;
1223
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
1224
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1151
1225
  }, {
1152
1226
  type: z.ZodDefault<z.ZodLiteral<"clientCredentials">>;
1153
1227
  tokenUrl: z.ZodDefault<z.ZodString>;
@@ -1161,6 +1235,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1161
1235
  'x-scalar-client-id': string;
1162
1236
  tokenUrl: string;
1163
1237
  clientSecret: string;
1238
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1164
1239
  }, {
1165
1240
  type?: "clientCredentials" | undefined;
1166
1241
  token?: string | undefined;
@@ -1168,6 +1243,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1168
1243
  scopes?: unknown;
1169
1244
  selectedScopes?: string[] | undefined;
1170
1245
  'x-scalar-client-id'?: string | undefined;
1246
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1171
1247
  tokenUrl?: string | undefined;
1172
1248
  clientSecret?: string | undefined;
1173
1249
  }>>;
@@ -1187,6 +1263,8 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1187
1263
  'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
1188
1264
  /** The auth token */
1189
1265
  token: z.ZodDefault<z.ZodString>;
1266
+ /** Additional query parameters for the OAuth authorization request. Example: { prompt: 'consent', audience: 'scalar' }. */
1267
+ 'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1190
1268
  }, {
1191
1269
  type: z.ZodDefault<z.ZodLiteral<"authorizationCode">>;
1192
1270
  authorizationUrl: z.ZodDefault<z.ZodString>;
@@ -1206,6 +1284,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1206
1284
  tokenUrl: string;
1207
1285
  clientSecret: string;
1208
1286
  'x-usePkce': "SHA-256" | "plain" | "no";
1287
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1209
1288
  }, {
1210
1289
  type?: "authorizationCode" | undefined;
1211
1290
  token?: string | undefined;
@@ -1213,6 +1292,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1213
1292
  scopes?: unknown;
1214
1293
  selectedScopes?: string[] | undefined;
1215
1294
  'x-scalar-client-id'?: string | undefined;
1295
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1216
1296
  authorizationUrl?: string | undefined;
1217
1297
  'x-scalar-redirect-uri'?: string | undefined;
1218
1298
  tokenUrl?: string | undefined;
@@ -1231,6 +1311,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1231
1311
  'x-scalar-client-id': string;
1232
1312
  tokenUrl: string;
1233
1313
  clientSecret: string;
1314
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1234
1315
  } | undefined;
1235
1316
  implicit?: {
1236
1317
  type: "implicit";
@@ -1241,6 +1322,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1241
1322
  'x-scalar-client-id': string;
1242
1323
  authorizationUrl: string;
1243
1324
  'x-scalar-redirect-uri': string;
1325
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1244
1326
  } | undefined;
1245
1327
  clientCredentials?: {
1246
1328
  type: "clientCredentials";
@@ -1251,6 +1333,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1251
1333
  'x-scalar-client-id': string;
1252
1334
  tokenUrl: string;
1253
1335
  clientSecret: string;
1336
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1254
1337
  } | undefined;
1255
1338
  authorizationCode?: {
1256
1339
  type: "authorizationCode";
@@ -1264,6 +1347,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1264
1347
  tokenUrl: string;
1265
1348
  clientSecret: string;
1266
1349
  'x-usePkce': "SHA-256" | "plain" | "no";
1350
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1267
1351
  } | undefined;
1268
1352
  }, {
1269
1353
  password?: {
@@ -1275,6 +1359,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1275
1359
  scopes?: unknown;
1276
1360
  selectedScopes?: string[] | undefined;
1277
1361
  'x-scalar-client-id'?: string | undefined;
1362
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1278
1363
  tokenUrl?: string | undefined;
1279
1364
  clientSecret?: string | undefined;
1280
1365
  } | undefined;
@@ -1285,6 +1370,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1285
1370
  scopes?: unknown;
1286
1371
  selectedScopes?: string[] | undefined;
1287
1372
  'x-scalar-client-id'?: string | undefined;
1373
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1288
1374
  authorizationUrl?: string | undefined;
1289
1375
  'x-scalar-redirect-uri'?: string | undefined;
1290
1376
  } | undefined;
@@ -1295,6 +1381,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1295
1381
  scopes?: unknown;
1296
1382
  selectedScopes?: string[] | undefined;
1297
1383
  'x-scalar-client-id'?: string | undefined;
1384
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1298
1385
  tokenUrl?: string | undefined;
1299
1386
  clientSecret?: string | undefined;
1300
1387
  } | undefined;
@@ -1305,6 +1392,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1305
1392
  scopes?: unknown;
1306
1393
  selectedScopes?: string[] | undefined;
1307
1394
  'x-scalar-client-id'?: string | undefined;
1395
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1308
1396
  authorizationUrl?: string | undefined;
1309
1397
  'x-scalar-redirect-uri'?: string | undefined;
1310
1398
  tokenUrl?: string | undefined;
@@ -1332,6 +1420,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1332
1420
  'x-scalar-client-id': string;
1333
1421
  tokenUrl: string;
1334
1422
  clientSecret: string;
1423
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1335
1424
  } | undefined;
1336
1425
  implicit?: {
1337
1426
  type: "implicit";
@@ -1342,6 +1431,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1342
1431
  'x-scalar-client-id': string;
1343
1432
  authorizationUrl: string;
1344
1433
  'x-scalar-redirect-uri': string;
1434
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1345
1435
  } | undefined;
1346
1436
  clientCredentials?: {
1347
1437
  type: "clientCredentials";
@@ -1352,6 +1442,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1352
1442
  'x-scalar-client-id': string;
1353
1443
  tokenUrl: string;
1354
1444
  clientSecret: string;
1445
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1355
1446
  } | undefined;
1356
1447
  authorizationCode?: {
1357
1448
  type: "authorizationCode";
@@ -1365,6 +1456,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1365
1456
  tokenUrl: string;
1366
1457
  clientSecret: string;
1367
1458
  'x-usePkce': "SHA-256" | "plain" | "no";
1459
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1368
1460
  } | undefined;
1369
1461
  };
1370
1462
  description?: string | undefined;
@@ -1385,6 +1477,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1385
1477
  scopes?: unknown;
1386
1478
  selectedScopes?: string[] | undefined;
1387
1479
  'x-scalar-client-id'?: string | undefined;
1480
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1388
1481
  tokenUrl?: string | undefined;
1389
1482
  clientSecret?: string | undefined;
1390
1483
  } | undefined;
@@ -1395,6 +1488,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1395
1488
  scopes?: unknown;
1396
1489
  selectedScopes?: string[] | undefined;
1397
1490
  'x-scalar-client-id'?: string | undefined;
1491
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1398
1492
  authorizationUrl?: string | undefined;
1399
1493
  'x-scalar-redirect-uri'?: string | undefined;
1400
1494
  } | undefined;
@@ -1405,6 +1499,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1405
1499
  scopes?: unknown;
1406
1500
  selectedScopes?: string[] | undefined;
1407
1501
  'x-scalar-client-id'?: string | undefined;
1502
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1408
1503
  tokenUrl?: string | undefined;
1409
1504
  clientSecret?: string | undefined;
1410
1505
  } | undefined;
@@ -1415,6 +1510,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1415
1510
  scopes?: unknown;
1416
1511
  selectedScopes?: string[] | undefined;
1417
1512
  'x-scalar-client-id'?: string | undefined;
1513
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1418
1514
  authorizationUrl?: string | undefined;
1419
1515
  'x-scalar-redirect-uri'?: string | undefined;
1420
1516
  tokenUrl?: string | undefined;
@@ -1462,6 +1558,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1462
1558
  'x-scalar-client-id': string;
1463
1559
  tokenUrl: string;
1464
1560
  clientSecret: string;
1561
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1465
1562
  } | undefined;
1466
1563
  implicit?: {
1467
1564
  type: "implicit";
@@ -1472,6 +1569,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1472
1569
  'x-scalar-client-id': string;
1473
1570
  authorizationUrl: string;
1474
1571
  'x-scalar-redirect-uri': string;
1572
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1475
1573
  } | undefined;
1476
1574
  clientCredentials?: {
1477
1575
  type: "clientCredentials";
@@ -1482,6 +1580,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1482
1580
  'x-scalar-client-id': string;
1483
1581
  tokenUrl: string;
1484
1582
  clientSecret: string;
1583
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1485
1584
  } | undefined;
1486
1585
  authorizationCode?: {
1487
1586
  type: "authorizationCode";
@@ -1495,6 +1594,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1495
1594
  tokenUrl: string;
1496
1595
  clientSecret: string;
1497
1596
  'x-usePkce': "SHA-256" | "plain" | "no";
1597
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1498
1598
  } | undefined;
1499
1599
  };
1500
1600
  description?: string | undefined;
@@ -1539,6 +1639,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1539
1639
  scopes?: unknown;
1540
1640
  selectedScopes?: string[] | undefined;
1541
1641
  'x-scalar-client-id'?: string | undefined;
1642
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1542
1643
  tokenUrl?: string | undefined;
1543
1644
  clientSecret?: string | undefined;
1544
1645
  } | undefined;
@@ -1549,6 +1650,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1549
1650
  scopes?: unknown;
1550
1651
  selectedScopes?: string[] | undefined;
1551
1652
  'x-scalar-client-id'?: string | undefined;
1653
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1552
1654
  authorizationUrl?: string | undefined;
1553
1655
  'x-scalar-redirect-uri'?: string | undefined;
1554
1656
  } | undefined;
@@ -1559,6 +1661,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1559
1661
  scopes?: unknown;
1560
1662
  selectedScopes?: string[] | undefined;
1561
1663
  'x-scalar-client-id'?: string | undefined;
1664
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1562
1665
  tokenUrl?: string | undefined;
1563
1666
  clientSecret?: string | undefined;
1564
1667
  } | undefined;
@@ -1569,6 +1672,7 @@ export declare const securitySchemeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<
1569
1672
  scopes?: unknown;
1570
1673
  selectedScopes?: string[] | undefined;
1571
1674
  'x-scalar-client-id'?: string | undefined;
1675
+ 'x-scalar-security-query'?: Record<string, string> | undefined;
1572
1676
  authorizationUrl?: string | undefined;
1573
1677
  'x-scalar-redirect-uri'?: string | undefined;
1574
1678
  tokenUrl?: string | undefined;