@scalar/api-reference 1.28.10 → 1.28.11

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.
@@ -128,6 +128,7 @@ declare const client: import("vue").Ref<{
128
128
  } | undefined;
129
129
  };
130
130
  description?: string | undefined;
131
+ "x-default-scopes"?: string | string[] | undefined;
131
132
  }>;
132
133
  cookies: Record<string, {
133
134
  uid: string & import("zod").BRAND<"cookie">;
@@ -520,83 +521,7 @@ declare const client: import("vue").Ref<{
520
521
  examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
521
522
  servers: import("@scalar/oas-utils/entities/spec").Server[];
522
523
  tags: import("@scalar/oas-utils/entities/spec").Tag[];
523
- securitySchemes: ({
524
- uid: string & import("zod").BRAND<"securityScheme">;
525
- name: string;
526
- value: string;
527
- type: "apiKey";
528
- in: "cookie" | "query" | "header";
529
- nameKey: string;
530
- description?: string | undefined;
531
- } | {
532
- uid: string & import("zod").BRAND<"securityScheme">;
533
- type: "http";
534
- password: string;
535
- nameKey: string;
536
- scheme: "basic" | "bearer";
537
- bearerFormat: string;
538
- username: string;
539
- token: string;
540
- description?: string | undefined;
541
- } | {
542
- uid: string & import("zod").BRAND<"securityScheme">;
543
- type: "openIdConnect";
544
- nameKey: string;
545
- openIdConnectUrl: string;
546
- description?: string | undefined;
547
- } | {
548
- uid: string & import("zod").BRAND<"securityScheme">;
549
- type: "oauth2";
550
- nameKey: string;
551
- flows: {
552
- password?: {
553
- type: "password";
554
- password: string;
555
- username: string;
556
- token: string;
557
- refreshUrl: string;
558
- scopes: Record<string, string>;
559
- selectedScopes: string[];
560
- "x-scalar-client-id": string;
561
- tokenUrl: string;
562
- clientSecret: string;
563
- } | undefined;
564
- implicit?: {
565
- type: "implicit";
566
- token: string;
567
- refreshUrl: string;
568
- scopes: Record<string, string>;
569
- selectedScopes: string[];
570
- "x-scalar-client-id": string;
571
- authorizationUrl: string;
572
- "x-scalar-redirect-uri": string;
573
- } | undefined;
574
- clientCredentials?: {
575
- type: "clientCredentials";
576
- token: string;
577
- refreshUrl: string;
578
- scopes: Record<string, string>;
579
- selectedScopes: string[];
580
- "x-scalar-client-id": string;
581
- tokenUrl: string;
582
- clientSecret: string;
583
- } | undefined;
584
- authorizationCode?: {
585
- type: "authorizationCode";
586
- token: string;
587
- refreshUrl: string;
588
- scopes: Record<string, string>;
589
- selectedScopes: string[];
590
- "x-scalar-client-id": string;
591
- authorizationUrl: string;
592
- "x-scalar-redirect-uri": string;
593
- tokenUrl: string;
594
- clientSecret: string;
595
- "x-usePkce": "SHA-256" | "plain" | "no";
596
- } | undefined;
597
- };
598
- description?: string | undefined;
599
- })[];
524
+ securitySchemes: import("@scalar/types/entities").SecurityScheme[];
600
525
  } | undefined>;
601
526
  importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
602
527
  uid?: string | undefined;
@@ -690,83 +615,7 @@ declare const client: import("vue").Ref<{
690
615
  examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
691
616
  servers: import("@scalar/oas-utils/entities/spec").Server[];
692
617
  tags: import("@scalar/oas-utils/entities/spec").Tag[];
693
- securitySchemes: ({
694
- uid: string & import("zod").BRAND<"securityScheme">;
695
- name: string;
696
- value: string;
697
- type: "apiKey";
698
- in: "cookie" | "query" | "header";
699
- nameKey: string;
700
- description?: string | undefined;
701
- } | {
702
- uid: string & import("zod").BRAND<"securityScheme">;
703
- type: "http";
704
- password: string;
705
- nameKey: string;
706
- scheme: "basic" | "bearer";
707
- bearerFormat: string;
708
- username: string;
709
- token: string;
710
- description?: string | undefined;
711
- } | {
712
- uid: string & import("zod").BRAND<"securityScheme">;
713
- type: "openIdConnect";
714
- nameKey: string;
715
- openIdConnectUrl: string;
716
- description?: string | undefined;
717
- } | {
718
- uid: string & import("zod").BRAND<"securityScheme">;
719
- type: "oauth2";
720
- nameKey: string;
721
- flows: {
722
- password?: {
723
- type: "password";
724
- password: string;
725
- username: string;
726
- token: string;
727
- refreshUrl: string;
728
- scopes: Record<string, string>;
729
- selectedScopes: string[];
730
- "x-scalar-client-id": string;
731
- tokenUrl: string;
732
- clientSecret: string;
733
- } | undefined;
734
- implicit?: {
735
- type: "implicit";
736
- token: string;
737
- refreshUrl: string;
738
- scopes: Record<string, string>;
739
- selectedScopes: string[];
740
- "x-scalar-client-id": string;
741
- authorizationUrl: string;
742
- "x-scalar-redirect-uri": string;
743
- } | undefined;
744
- clientCredentials?: {
745
- type: "clientCredentials";
746
- token: string;
747
- refreshUrl: string;
748
- scopes: Record<string, string>;
749
- selectedScopes: string[];
750
- "x-scalar-client-id": string;
751
- tokenUrl: string;
752
- clientSecret: string;
753
- } | undefined;
754
- authorizationCode?: {
755
- type: "authorizationCode";
756
- token: string;
757
- refreshUrl: string;
758
- scopes: Record<string, string>;
759
- selectedScopes: string[];
760
- "x-scalar-client-id": string;
761
- authorizationUrl: string;
762
- "x-scalar-redirect-uri": string;
763
- tokenUrl: string;
764
- clientSecret: string;
765
- "x-usePkce": "SHA-256" | "plain" | "no";
766
- } | undefined;
767
- };
768
- description?: string | undefined;
769
- })[];
618
+ securitySchemes: import("@scalar/types/entities").SecurityScheme[];
770
619
  } | undefined>>>>>;
771
620
  cookieMutators: {
772
621
  add: (item: {
@@ -2743,6 +2592,7 @@ declare const client: import("vue").Ref<{
2743
2592
  } | undefined;
2744
2593
  };
2745
2594
  description?: string | undefined;
2595
+ "x-default-scopes"?: string | string[] | undefined;
2746
2596
  }) => void;
2747
2597
  add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
2748
2598
  type: "apiKey";
@@ -2820,6 +2670,7 @@ declare const client: import("vue").Ref<{
2820
2670
  } | undefined;
2821
2671
  };
2822
2672
  description?: string | undefined;
2673
+ "x-default-scopes"?: string | string[] | undefined;
2823
2674
  };
2824
2675
  delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
2825
2676
  set: (item: {
@@ -2898,8 +2749,9 @@ declare const client: import("vue").Ref<{
2898
2749
  } | undefined;
2899
2750
  };
2900
2751
  description?: string | undefined;
2752
+ "x-default-scopes"?: string | string[] | undefined;
2901
2753
  }) => void;
2902
- edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
2754
+ edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
2903
2755
  type: "apiKey";
2904
2756
  value: string;
2905
2757
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -2971,7 +2823,7 @@ declare const client: import("vue").Ref<{
2971
2823
  nameKey: string;
2972
2824
  openIdConnectUrl: string;
2973
2825
  description?: string | undefined;
2974
- }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
2826
+ }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
2975
2827
  type: "oauth2";
2976
2828
  uid: string & import("zod").BRAND<"securityScheme">;
2977
2829
  nameKey: string;
@@ -3023,7 +2875,8 @@ declare const client: import("vue").Ref<{
3023
2875
  } | undefined;
3024
2876
  };
3025
2877
  description?: string | undefined;
3026
- }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
2878
+ "x-default-scopes"?: string | string[] | undefined;
2879
+ }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
3027
2880
  type: "oauth2";
3028
2881
  uid: string & import("zod").BRAND<"securityScheme">;
3029
2882
  nameKey: string;
@@ -3075,6 +2928,7 @@ declare const client: import("vue").Ref<{
3075
2928
  } | undefined;
3076
2929
  };
3077
2930
  description?: string | undefined;
2931
+ "x-default-scopes"?: string | string[] | undefined;
3078
2932
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
3079
2933
  type: "oauth2";
3080
2934
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -3127,8 +2981,9 @@ declare const client: import("vue").Ref<{
3127
2981
  } | undefined;
3128
2982
  };
3129
2983
  description?: string | undefined;
2984
+ "x-default-scopes"?: string | string[] | undefined;
3130
2985
  }[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
3131
- untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
2986
+ untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
3132
2987
  type: "apiKey";
3133
2988
  value: string;
3134
2989
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -3200,7 +3055,7 @@ declare const client: import("vue").Ref<{
3200
3055
  nameKey: string;
3201
3056
  openIdConnectUrl: string;
3202
3057
  description?: string | undefined;
3203
- }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
3058
+ }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
3204
3059
  type: "oauth2";
3205
3060
  uid: string & import("zod").BRAND<"securityScheme">;
3206
3061
  nameKey: string;
@@ -3252,7 +3107,8 @@ declare const client: import("vue").Ref<{
3252
3107
  } | undefined;
3253
3108
  };
3254
3109
  description?: string | undefined;
3255
- }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
3110
+ "x-default-scopes"?: string | string[] | undefined;
3111
+ }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
3256
3112
  type: "oauth2";
3257
3113
  uid: string & import("zod").BRAND<"securityScheme">;
3258
3114
  nameKey: string;
@@ -3304,6 +3160,7 @@ declare const client: import("vue").Ref<{
3304
3160
  } | undefined;
3305
3161
  };
3306
3162
  description?: string | undefined;
3163
+ "x-default-scopes"?: string | string[] | undefined;
3307
3164
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
3308
3165
  type: "oauth2";
3309
3166
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -3356,6 +3213,7 @@ declare const client: import("vue").Ref<{
3356
3213
  } | undefined;
3357
3214
  };
3358
3215
  description?: string | undefined;
3216
+ "x-default-scopes"?: string | string[] | undefined;
3359
3217
  }[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
3360
3218
  undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
3361
3219
  redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
@@ -3837,6 +3695,7 @@ declare const client: import("vue").Ref<{
3837
3695
  } | undefined;
3838
3696
  };
3839
3697
  description?: string | undefined;
3698
+ "x-default-scopes"?: string | string[] | undefined;
3840
3699
  }>;
3841
3700
  cookies: Record<string, {
3842
3701
  uid: string & import("zod").BRAND<"cookie">;
@@ -4229,83 +4088,7 @@ declare const client: import("vue").Ref<{
4229
4088
  examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
4230
4089
  servers: import("@scalar/oas-utils/entities/spec").Server[];
4231
4090
  tags: import("@scalar/oas-utils/entities/spec").Tag[];
4232
- securitySchemes: ({
4233
- uid: string & import("zod").BRAND<"securityScheme">;
4234
- name: string;
4235
- value: string;
4236
- type: "apiKey";
4237
- in: "cookie" | "query" | "header";
4238
- nameKey: string;
4239
- description?: string | undefined;
4240
- } | {
4241
- uid: string & import("zod").BRAND<"securityScheme">;
4242
- type: "http";
4243
- password: string;
4244
- nameKey: string;
4245
- scheme: "basic" | "bearer";
4246
- bearerFormat: string;
4247
- username: string;
4248
- token: string;
4249
- description?: string | undefined;
4250
- } | {
4251
- uid: string & import("zod").BRAND<"securityScheme">;
4252
- type: "openIdConnect";
4253
- nameKey: string;
4254
- openIdConnectUrl: string;
4255
- description?: string | undefined;
4256
- } | {
4257
- uid: string & import("zod").BRAND<"securityScheme">;
4258
- type: "oauth2";
4259
- nameKey: string;
4260
- flows: {
4261
- password?: {
4262
- type: "password";
4263
- password: string;
4264
- username: string;
4265
- token: string;
4266
- refreshUrl: string;
4267
- scopes: Record<string, string>;
4268
- selectedScopes: string[];
4269
- "x-scalar-client-id": string;
4270
- tokenUrl: string;
4271
- clientSecret: string;
4272
- } | undefined;
4273
- implicit?: {
4274
- type: "implicit";
4275
- token: string;
4276
- refreshUrl: string;
4277
- scopes: Record<string, string>;
4278
- selectedScopes: string[];
4279
- "x-scalar-client-id": string;
4280
- authorizationUrl: string;
4281
- "x-scalar-redirect-uri": string;
4282
- } | undefined;
4283
- clientCredentials?: {
4284
- type: "clientCredentials";
4285
- token: string;
4286
- refreshUrl: string;
4287
- scopes: Record<string, string>;
4288
- selectedScopes: string[];
4289
- "x-scalar-client-id": string;
4290
- tokenUrl: string;
4291
- clientSecret: string;
4292
- } | undefined;
4293
- authorizationCode?: {
4294
- type: "authorizationCode";
4295
- token: string;
4296
- refreshUrl: string;
4297
- scopes: Record<string, string>;
4298
- selectedScopes: string[];
4299
- "x-scalar-client-id": string;
4300
- authorizationUrl: string;
4301
- "x-scalar-redirect-uri": string;
4302
- tokenUrl: string;
4303
- clientSecret: string;
4304
- "x-usePkce": "SHA-256" | "plain" | "no";
4305
- } | undefined;
4306
- };
4307
- description?: string | undefined;
4308
- })[];
4091
+ securitySchemes: import("@scalar/types/entities").SecurityScheme[];
4309
4092
  } | undefined>;
4310
4093
  importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
4311
4094
  uid?: string | undefined;
@@ -4399,83 +4182,7 @@ declare const client: import("vue").Ref<{
4399
4182
  examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
4400
4183
  servers: import("@scalar/oas-utils/entities/spec").Server[];
4401
4184
  tags: import("@scalar/oas-utils/entities/spec").Tag[];
4402
- securitySchemes: ({
4403
- uid: string & import("zod").BRAND<"securityScheme">;
4404
- name: string;
4405
- value: string;
4406
- type: "apiKey";
4407
- in: "cookie" | "query" | "header";
4408
- nameKey: string;
4409
- description?: string | undefined;
4410
- } | {
4411
- uid: string & import("zod").BRAND<"securityScheme">;
4412
- type: "http";
4413
- password: string;
4414
- nameKey: string;
4415
- scheme: "basic" | "bearer";
4416
- bearerFormat: string;
4417
- username: string;
4418
- token: string;
4419
- description?: string | undefined;
4420
- } | {
4421
- uid: string & import("zod").BRAND<"securityScheme">;
4422
- type: "openIdConnect";
4423
- nameKey: string;
4424
- openIdConnectUrl: string;
4425
- description?: string | undefined;
4426
- } | {
4427
- uid: string & import("zod").BRAND<"securityScheme">;
4428
- type: "oauth2";
4429
- nameKey: string;
4430
- flows: {
4431
- password?: {
4432
- type: "password";
4433
- password: string;
4434
- username: string;
4435
- token: string;
4436
- refreshUrl: string;
4437
- scopes: Record<string, string>;
4438
- selectedScopes: string[];
4439
- "x-scalar-client-id": string;
4440
- tokenUrl: string;
4441
- clientSecret: string;
4442
- } | undefined;
4443
- implicit?: {
4444
- type: "implicit";
4445
- token: string;
4446
- refreshUrl: string;
4447
- scopes: Record<string, string>;
4448
- selectedScopes: string[];
4449
- "x-scalar-client-id": string;
4450
- authorizationUrl: string;
4451
- "x-scalar-redirect-uri": string;
4452
- } | undefined;
4453
- clientCredentials?: {
4454
- type: "clientCredentials";
4455
- token: string;
4456
- refreshUrl: string;
4457
- scopes: Record<string, string>;
4458
- selectedScopes: string[];
4459
- "x-scalar-client-id": string;
4460
- tokenUrl: string;
4461
- clientSecret: string;
4462
- } | undefined;
4463
- authorizationCode?: {
4464
- type: "authorizationCode";
4465
- token: string;
4466
- refreshUrl: string;
4467
- scopes: Record<string, string>;
4468
- selectedScopes: string[];
4469
- "x-scalar-client-id": string;
4470
- authorizationUrl: string;
4471
- "x-scalar-redirect-uri": string;
4472
- tokenUrl: string;
4473
- clientSecret: string;
4474
- "x-usePkce": "SHA-256" | "plain" | "no";
4475
- } | undefined;
4476
- };
4477
- description?: string | undefined;
4478
- })[];
4185
+ securitySchemes: import("@scalar/types/entities").SecurityScheme[];
4479
4186
  } | undefined>>>>>;
4480
4187
  cookieMutators: {
4481
4188
  add: (item: {
@@ -6452,6 +6159,7 @@ declare const client: import("vue").Ref<{
6452
6159
  } | undefined;
6453
6160
  };
6454
6161
  description?: string | undefined;
6162
+ "x-default-scopes"?: string | string[] | undefined;
6455
6163
  }) => void;
6456
6164
  add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
6457
6165
  type: "apiKey";
@@ -6529,6 +6237,7 @@ declare const client: import("vue").Ref<{
6529
6237
  } | undefined;
6530
6238
  };
6531
6239
  description?: string | undefined;
6240
+ "x-default-scopes"?: string | string[] | undefined;
6532
6241
  };
6533
6242
  delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
6534
6243
  set: (item: {
@@ -6607,8 +6316,9 @@ declare const client: import("vue").Ref<{
6607
6316
  } | undefined;
6608
6317
  };
6609
6318
  description?: string | undefined;
6319
+ "x-default-scopes"?: string | string[] | undefined;
6610
6320
  }) => void;
6611
- edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
6321
+ edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
6612
6322
  type: "apiKey";
6613
6323
  value: string;
6614
6324
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -6680,7 +6390,7 @@ declare const client: import("vue").Ref<{
6680
6390
  nameKey: string;
6681
6391
  openIdConnectUrl: string;
6682
6392
  description?: string | undefined;
6683
- }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
6393
+ }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
6684
6394
  type: "oauth2";
6685
6395
  uid: string & import("zod").BRAND<"securityScheme">;
6686
6396
  nameKey: string;
@@ -6732,7 +6442,8 @@ declare const client: import("vue").Ref<{
6732
6442
  } | undefined;
6733
6443
  };
6734
6444
  description?: string | undefined;
6735
- }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
6445
+ "x-default-scopes"?: string | string[] | undefined;
6446
+ }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
6736
6447
  type: "oauth2";
6737
6448
  uid: string & import("zod").BRAND<"securityScheme">;
6738
6449
  nameKey: string;
@@ -6784,6 +6495,7 @@ declare const client: import("vue").Ref<{
6784
6495
  } | undefined;
6785
6496
  };
6786
6497
  description?: string | undefined;
6498
+ "x-default-scopes"?: string | string[] | undefined;
6787
6499
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
6788
6500
  type: "oauth2";
6789
6501
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -6836,8 +6548,9 @@ declare const client: import("vue").Ref<{
6836
6548
  } | undefined;
6837
6549
  };
6838
6550
  description?: string | undefined;
6551
+ "x-default-scopes"?: string | string[] | undefined;
6839
6552
  }[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
6840
- untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
6553
+ untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
6841
6554
  type: "apiKey";
6842
6555
  value: string;
6843
6556
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -6909,7 +6622,7 @@ declare const client: import("vue").Ref<{
6909
6622
  nameKey: string;
6910
6623
  openIdConnectUrl: string;
6911
6624
  description?: string | undefined;
6912
- }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
6625
+ }[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
6913
6626
  type: "oauth2";
6914
6627
  uid: string & import("zod").BRAND<"securityScheme">;
6915
6628
  nameKey: string;
@@ -6961,7 +6674,8 @@ declare const client: import("vue").Ref<{
6961
6674
  } | undefined;
6962
6675
  };
6963
6676
  description?: string | undefined;
6964
- }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
6677
+ "x-default-scopes"?: string | string[] | undefined;
6678
+ }[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
6965
6679
  type: "oauth2";
6966
6680
  uid: string & import("zod").BRAND<"securityScheme">;
6967
6681
  nameKey: string;
@@ -7013,6 +6727,7 @@ declare const client: import("vue").Ref<{
7013
6727
  } | undefined;
7014
6728
  };
7015
6729
  description?: string | undefined;
6730
+ "x-default-scopes"?: string | string[] | undefined;
7016
6731
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
7017
6732
  type: "oauth2";
7018
6733
  uid: string & import("zod").BRAND<"securityScheme">;
@@ -7065,6 +6780,7 @@ declare const client: import("vue").Ref<{
7065
6780
  } | undefined;
7066
6781
  };
7067
6782
  description?: string | undefined;
6783
+ "x-default-scopes"?: string | string[] | undefined;
7068
6784
  }[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
7069
6785
  undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
7070
6786
  redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;