@scalar/workspace-store 0.15.7 → 0.16.0
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 +22 -0
- package/dist/client.d.ts +1 -38
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -5
- package/dist/client.js.map +2 -2
- package/dist/navigation/get-navigation-options.d.ts +9 -0
- package/dist/navigation/get-navigation-options.d.ts.map +1 -0
- package/dist/navigation/get-navigation-options.js +77 -0
- package/dist/navigation/get-navigation-options.js.map +7 -0
- package/dist/navigation/helpers/get-x-keys.d.ts +10 -0
- package/dist/navigation/helpers/get-x-keys.d.ts.map +1 -0
- package/dist/navigation/helpers/get-x-keys.js +10 -0
- package/dist/navigation/helpers/get-x-keys.js.map +7 -0
- package/dist/navigation/helpers/traverse-description.d.ts +3 -5
- package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-description.js +4 -5
- package/dist/navigation/helpers/traverse-description.js.map +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts +121 -28
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js +16 -21
- package/dist/navigation/helpers/traverse-document.js.map +2 -2
- package/dist/navigation/helpers/traverse-paths.d.ts +4 -5
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +14 -7
- package/dist/navigation/helpers/traverse-paths.js.map +2 -2
- package/dist/navigation/helpers/traverse-schemas.d.ts +3 -6
- package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-schemas.js +7 -7
- package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
- package/dist/navigation/helpers/traverse-tags.d.ts +2 -5
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.js +16 -13
- package/dist/navigation/helpers/traverse-tags.js.map +2 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts +3 -6
- package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-webhooks.js +27 -7
- package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
- package/dist/navigation/index.d.ts +1 -0
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js +2 -0
- package/dist/navigation/index.js.map +2 -2
- package/dist/navigation/types.d.ts +3 -4
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/schemas/extensions/operation/index.d.ts +2 -0
- package/dist/schemas/extensions/operation/index.d.ts.map +1 -0
- package/dist/schemas/extensions/operation/index.js +1 -0
- package/dist/schemas/extensions/operation/index.js.map +7 -0
- package/dist/schemas/extensions/operation/x-code-samples.d.ts +2 -0
- package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
- package/dist/schemas/extensions/operation/x-code-samples.js.map +2 -2
- package/dist/schemas/extensions/security/x-default-scopes.d.ts +17 -0
- package/dist/schemas/extensions/security/x-default-scopes.d.ts.map +1 -0
- package/dist/schemas/extensions/security/x-default-scopes.js +8 -0
- package/dist/schemas/extensions/security/x-default-scopes.js.map +7 -0
- package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +6 -1
- package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +1 -1
- package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +2 -2
- package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +27 -3
- package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-security-secrets.js +15 -3
- package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +2 -2
- package/dist/schemas/extensions/security/x-use-pkce.d.ts +1 -1
- package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -1
- package/dist/schemas/extensions/security/x-use-pkce.js +1 -3
- package/dist/schemas/extensions/security/x-use-pkce.js.map +2 -2
- package/dist/schemas/inmemory-workspace.d.ts +312 -134
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/navigation.d.ts +60 -128
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +40 -44
- package/dist/schemas/navigation.js.map +2 -2
- package/dist/schemas/reference-config/index.d.ts +156 -67
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +156 -67
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts +135 -24
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauth-flow.js +37 -15
- package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
- package/dist/schemas/v3.1/strict/oauthflows.d.ts +67 -12
- package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +12434 -1877
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.js +32 -4
- package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
- package/dist/schemas/v3.1/strict/operation.d.ts +1 -0
- package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/operation.js +2 -1
- package/dist/schemas/v3.1/strict/operation.js.map +2 -2
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts +8 -0
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js +12 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js.map +2 -2
- package/dist/schemas/v3.1/strict/schema.d.ts +2 -2
- package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.js +2 -44
- package/dist/schemas/v3.1/strict/schema.js.map +2 -2
- package/dist/schemas/v3.1/strict/security-scheme.d.ts +12 -8
- package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-scheme.js +3 -1
- package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
- package/dist/schemas/workspace-specification/config.d.ts +188 -67
- package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/config.js.map +2 -2
- package/dist/schemas/workspace-specification/index.d.ts +156 -67
- package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
- package/dist/schemas/workspace.d.ts +1092 -469
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/server.d.ts +3 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js.map +2 -2
- package/package.json +13 -13
|
@@ -1,45 +1,67 @@
|
|
|
1
1
|
import { Type } from "@scalar/typebox";
|
|
2
2
|
import { compose } from "../../../schemas/compose.js";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
import { XScalarCredentialsLocationSchema } from "../../../schemas/extensions/security/x-scalar-credentials-location.js";
|
|
4
|
+
import { XScalarSecurityBody } from "../../../schemas/extensions/security/x-scalar-security-body.js";
|
|
5
|
+
import { XScalarSecurityQuery } from "../../../schemas/extensions/security/x-scalar-security-query.js";
|
|
6
|
+
import {
|
|
7
|
+
XScalarSecretClientIdSchema,
|
|
8
|
+
XScalarSecretClientSecretSchema,
|
|
9
|
+
XScalarSecretHTTPSchema,
|
|
10
|
+
XScalarSecretRedirectUriSchema,
|
|
11
|
+
XScalarSecretTokenSchema
|
|
12
|
+
} from "../../../schemas/extensions/security/x-scalar-security-secrets.js";
|
|
13
|
+
import { XTokenName } from "../../../schemas/extensions/security/x-tokenName.js";
|
|
14
|
+
import { XusePkceSchema } from "../../../schemas/extensions/security/x-use-pkce.js";
|
|
15
|
+
const OAuthFlowCommonSchema = compose(
|
|
16
|
+
Type.Object({
|
|
17
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
18
|
+
refreshUrl: Type.String(),
|
|
19
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
20
|
+
scopes: Type.Record(Type.String(), Type.String())
|
|
21
|
+
}),
|
|
22
|
+
XScalarSecretClientIdSchema,
|
|
23
|
+
XScalarSecretTokenSchema,
|
|
24
|
+
XScalarSecurityQuery,
|
|
25
|
+
XScalarSecurityBody,
|
|
26
|
+
XTokenName,
|
|
27
|
+
XScalarCredentialsLocationSchema
|
|
28
|
+
);
|
|
10
29
|
const OAuthFlowImplicitSchema = compose(
|
|
11
30
|
OAuthFlowCommonSchema,
|
|
12
|
-
XScalarSecretTokenSchema,
|
|
13
31
|
Type.Object({
|
|
14
32
|
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
15
33
|
authorizationUrl: Type.String()
|
|
16
|
-
})
|
|
34
|
+
}),
|
|
35
|
+
XScalarSecretRedirectUriSchema
|
|
17
36
|
);
|
|
18
37
|
const OAuthFlowPasswordSchema = compose(
|
|
19
38
|
OAuthFlowCommonSchema,
|
|
20
|
-
XScalarSecretTokenSchema,
|
|
21
39
|
Type.Object({
|
|
22
40
|
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
23
41
|
tokenUrl: Type.String()
|
|
24
|
-
})
|
|
42
|
+
}),
|
|
43
|
+
XScalarSecretHTTPSchema,
|
|
44
|
+
XScalarSecretClientSecretSchema
|
|
25
45
|
);
|
|
26
46
|
const OAuthFlowClientCredentialsSchema = compose(
|
|
27
47
|
OAuthFlowCommonSchema,
|
|
28
|
-
XScalarSecretTokenSchema,
|
|
29
48
|
Type.Object({
|
|
30
49
|
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
31
50
|
tokenUrl: Type.String()
|
|
32
|
-
})
|
|
51
|
+
}),
|
|
52
|
+
XScalarSecretClientSecretSchema
|
|
33
53
|
);
|
|
34
54
|
const OAuthFlowAuthorizationCodeSchema = compose(
|
|
35
55
|
OAuthFlowCommonSchema,
|
|
36
|
-
XScalarSecretTokenSchema,
|
|
37
56
|
Type.Object({
|
|
38
57
|
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
39
58
|
authorizationUrl: Type.String(),
|
|
40
59
|
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
41
60
|
tokenUrl: Type.String()
|
|
42
|
-
})
|
|
61
|
+
}),
|
|
62
|
+
XScalarSecretClientSecretSchema,
|
|
63
|
+
XScalarSecretRedirectUriSchema,
|
|
64
|
+
XusePkceSchema
|
|
43
65
|
);
|
|
44
66
|
const OAuthFlowObjectSchemaDefinition = Type.Union([
|
|
45
67
|
OAuthFlowImplicitSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/schemas/v3.1/strict/oauth-flow.ts"],
|
|
4
|
-
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport {
|
|
5
|
-
"mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,eAAe;AACxB,SAAS,
|
|
4
|
+
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XScalarCredentialsLocationSchema } from '@/schemas/extensions/security/x-scalar-credentials-location'\nimport { XScalarSecurityBody } from '@/schemas/extensions/security/x-scalar-security-body'\nimport { XScalarSecurityQuery } from '@/schemas/extensions/security/x-scalar-security-query'\nimport {\n XScalarSecretClientIdSchema,\n XScalarSecretClientSecretSchema,\n XScalarSecretHTTPSchema,\n XScalarSecretRedirectUriSchema,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\nimport { XTokenName } from '@/schemas/extensions/security/x-tokenName'\nimport { XusePkceSchema } from '@/schemas/extensions/security/x-use-pkce'\n\n/** Common properties used across all OAuth flows */\nconst OAuthFlowCommonSchema = compose(\n Type.Object({\n /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n refreshUrl: Type.String(),\n /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */\n scopes: Type.Record(Type.String(), Type.String()),\n }),\n XScalarSecretClientIdSchema,\n XScalarSecretTokenSchema,\n XScalarSecurityQuery,\n XScalarSecurityBody,\n XTokenName,\n XScalarCredentialsLocationSchema,\n)\n\n/** Configuration for the OAuth Implicit flow */\nexport const OAuthFlowImplicitSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n authorizationUrl: Type.String(),\n }),\n XScalarSecretRedirectUriSchema,\n)\n\n/** Configuration for the OAuth Resource Owner Password flow */\nexport const OAuthFlowPasswordSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n }),\n XScalarSecretHTTPSchema,\n XScalarSecretClientSecretSchema,\n)\n\n/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */\nexport const OAuthFlowClientCredentialsSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n }),\n XScalarSecretClientSecretSchema,\n)\n\n/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */\nexport const OAuthFlowAuthorizationCodeSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n authorizationUrl: Type.String(),\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n }),\n XScalarSecretClientSecretSchema,\n XScalarSecretRedirectUriSchema,\n XusePkceSchema,\n)\n\n/** Union of all OAuth flow schemas */\nexport const OAuthFlowObjectSchemaDefinition = Type.Union([\n OAuthFlowImplicitSchema,\n OAuthFlowPasswordSchema,\n OAuthFlowClientCredentialsSchema,\n OAuthFlowAuthorizationCodeSchema,\n])\n\nexport type OAuthFlowImplicit = Static<typeof OAuthFlowImplicitSchema>\nexport type OAuthFlowPassword = Static<typeof OAuthFlowPasswordSchema>\nexport type OAuthFlowClientCredentials = Static<typeof OAuthFlowClientCredentialsSchema>\nexport type OAuthFlowAuthorizationCode = Static<typeof OAuthFlowAuthorizationCodeSchema>\n\nexport type OAuthFlow = OAuthFlowImplicit | OAuthFlowPassword | OAuthFlowClientCredentials | OAuthFlowAuthorizationCode\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,eAAe;AACxB,SAAS,wCAAwC;AACjD,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAG/B,MAAM,wBAAwB;AAAA,EAC5B,KAAK,OAAO;AAAA;AAAA,IAEV,YAAY,KAAK,OAAO;AAAA;AAAA,IAExB,QAAQ,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC;AAAA,EAClD,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAGO,MAAM,0BAA0B;AAAA,EACrC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AAAA,EACD;AACF;AAGO,MAAM,0BAA0B;AAAA,EACrC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,UAAU,KAAK,OAAO;AAAA,EACxB,CAAC;AAAA,EACD;AAAA,EACA;AACF;AAGO,MAAM,mCAAmC;AAAA,EAC9C;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,UAAU,KAAK,OAAO;AAAA,EACxB,CAAC;AAAA,EACD;AACF;AAGO,MAAM,mCAAmC;AAAA,EAC9C;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,kBAAkB,KAAK,OAAO;AAAA;AAAA,IAE9B,UAAU,KAAK,OAAO;AAAA,EACxB,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACF;AAGO,MAAM,kCAAkC,KAAK,MAAM;AAAA,EACxD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,41 +3,96 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const OAuthFlowsObjectSchemaDefinition: import("@scalar/typebox").TObject<{
|
|
5
5
|
/** Configuration for the OAuth Implicit flow */
|
|
6
|
-
implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
7
|
-
refreshUrl: import("@scalar/typebox").
|
|
6
|
+
implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
7
|
+
refreshUrl: import("@scalar/typebox").TString;
|
|
8
8
|
scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
|
|
9
9
|
}>, import("@scalar/typebox").TObject<{
|
|
10
|
-
'x-scalar-secret-
|
|
10
|
+
'x-scalar-secret-client-id': import("@scalar/typebox").TString;
|
|
11
11
|
}>, import("@scalar/typebox").TObject<{
|
|
12
|
+
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
13
|
+
}>, import("@scalar/typebox").TObject<{
|
|
14
|
+
'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
15
|
+
}>, import("@scalar/typebox").TObject<{
|
|
16
|
+
'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
17
|
+
}>, import("@scalar/typebox").TObject<{
|
|
18
|
+
'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
19
|
+
}>, import("@scalar/typebox").TObject<{
|
|
20
|
+
'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
|
|
21
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
12
22
|
authorizationUrl: import("@scalar/typebox").TString;
|
|
23
|
+
}>, import("@scalar/typebox").TObject<{
|
|
24
|
+
'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
|
|
13
25
|
}>]>>;
|
|
14
26
|
/** Configuration for the OAuth Resource Owner Password flow */
|
|
15
|
-
password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
16
|
-
refreshUrl: import("@scalar/typebox").
|
|
27
|
+
password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
28
|
+
refreshUrl: import("@scalar/typebox").TString;
|
|
17
29
|
scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
|
|
18
30
|
}>, import("@scalar/typebox").TObject<{
|
|
19
|
-
'x-scalar-secret-
|
|
31
|
+
'x-scalar-secret-client-id': import("@scalar/typebox").TString;
|
|
32
|
+
}>, import("@scalar/typebox").TObject<{
|
|
33
|
+
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
20
34
|
}>, import("@scalar/typebox").TObject<{
|
|
35
|
+
'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
36
|
+
}>, import("@scalar/typebox").TObject<{
|
|
37
|
+
'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
38
|
+
}>, import("@scalar/typebox").TObject<{
|
|
39
|
+
'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
40
|
+
}>, import("@scalar/typebox").TObject<{
|
|
41
|
+
'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
|
|
42
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
21
43
|
tokenUrl: import("@scalar/typebox").TString;
|
|
44
|
+
}>, import("@scalar/typebox").TObject<{
|
|
45
|
+
'x-scalar-secret-username': import("@scalar/typebox").TString;
|
|
46
|
+
'x-scalar-secret-password': import("@scalar/typebox").TString;
|
|
47
|
+
}>, import("@scalar/typebox").TObject<{
|
|
48
|
+
'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
|
|
22
49
|
}>]>>;
|
|
23
50
|
/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */
|
|
24
|
-
clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
25
|
-
refreshUrl: import("@scalar/typebox").
|
|
51
|
+
clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
52
|
+
refreshUrl: import("@scalar/typebox").TString;
|
|
26
53
|
scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
|
|
27
54
|
}>, import("@scalar/typebox").TObject<{
|
|
28
|
-
'x-scalar-secret-
|
|
55
|
+
'x-scalar-secret-client-id': import("@scalar/typebox").TString;
|
|
56
|
+
}>, import("@scalar/typebox").TObject<{
|
|
57
|
+
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
29
58
|
}>, import("@scalar/typebox").TObject<{
|
|
59
|
+
'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
60
|
+
}>, import("@scalar/typebox").TObject<{
|
|
61
|
+
'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
62
|
+
}>, import("@scalar/typebox").TObject<{
|
|
63
|
+
'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
64
|
+
}>, import("@scalar/typebox").TObject<{
|
|
65
|
+
'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
|
|
66
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
30
67
|
tokenUrl: import("@scalar/typebox").TString;
|
|
68
|
+
}>, import("@scalar/typebox").TObject<{
|
|
69
|
+
'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
|
|
31
70
|
}>]>>;
|
|
32
71
|
/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */
|
|
33
|
-
authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
34
|
-
refreshUrl: import("@scalar/typebox").
|
|
72
|
+
authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
73
|
+
refreshUrl: import("@scalar/typebox").TString;
|
|
35
74
|
scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
|
|
36
75
|
}>, import("@scalar/typebox").TObject<{
|
|
37
|
-
'x-scalar-secret-
|
|
76
|
+
'x-scalar-secret-client-id': import("@scalar/typebox").TString;
|
|
77
|
+
}>, import("@scalar/typebox").TObject<{
|
|
78
|
+
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
79
|
+
}>, import("@scalar/typebox").TObject<{
|
|
80
|
+
'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
38
81
|
}>, import("@scalar/typebox").TObject<{
|
|
82
|
+
'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
83
|
+
}>, import("@scalar/typebox").TObject<{
|
|
84
|
+
'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
85
|
+
}>, import("@scalar/typebox").TObject<{
|
|
86
|
+
'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
|
|
87
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
39
88
|
authorizationUrl: import("@scalar/typebox").TString;
|
|
40
89
|
tokenUrl: import("@scalar/typebox").TString;
|
|
90
|
+
}>, import("@scalar/typebox").TObject<{
|
|
91
|
+
'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
|
|
92
|
+
}>, import("@scalar/typebox").TObject<{
|
|
93
|
+
'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
|
|
94
|
+
}>, import("@scalar/typebox").TObject<{
|
|
95
|
+
'x-usePkce': import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"SHA-256">, import("@scalar/typebox").TLiteral<"plain">, import("@scalar/typebox").TLiteral<"no">]>;
|
|
41
96
|
}>]>>;
|
|
42
97
|
}>;
|
|
43
98
|
//# sourceMappingURL=oauthflows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauthflows.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,gCAAgC;IAC3C,gDAAgD
|
|
1
|
+
{"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauthflows.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,gCAAgC;IAC3C,gDAAgD;;;;;;;;;;;;;;;;;;;;;IAEhD,+DAA+D;;;;;;;;;;;;;;;;;;;;;;;;IAE/D,yGAAyG;;;;;;;;;;;;;;;;;;;;;IAEzG,wGAAwG;;;;;;;;;;;;;;;;;;;;;;;;;;EAExG,CAAA"}
|