@scalar/types 0.26.0 → 0.28.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 +32 -0
- package/dist/api-reference/api-client-translations.d.ts +5 -0
- package/dist/api-reference/api-client-translations.d.ts.map +1 -1
- package/dist/api-reference/api-reference-configuration.d.ts +5 -2
- package/dist/api-reference/api-reference-configuration.d.ts.map +1 -1
- package/dist/api-reference/api-reference-configuration.js +12 -4
- package/dist/api-reference/api-reference-configuration.test-d.js +16 -0
- package/dist/api-reference/authentication-configuration.d.ts +6 -0
- package/dist/api-reference/authentication-configuration.d.ts.map +1 -1
- package/dist/api-reference/authentication-configuration.test-d.js +15 -0
- package/dist/api-reference/source-configuration.d.ts +2 -0
- package/dist/api-reference/source-configuration.d.ts.map +1 -1
- package/dist/api-reference/source-configuration.js +2 -0
- package/dist/api-reference/types.d.ts +20 -1
- package/dist/api-reference/types.d.ts.map +1 -1
- package/dist/api-reference/types.test-d.d.ts +2 -0
- package/dist/api-reference/types.test-d.d.ts.map +1 -0
- package/dist/api-reference/types.test-d.js +46 -0
- package/dist/asyncapi/3.1/index.generated.d.ts +1 -1
- package/dist/asyncapi/3.1/index.generated.js +1 -1
- package/dist/entities/security-scheme.d.ts +490 -2
- package/dist/entities/security-scheme.d.ts.map +1 -1
- package/dist/entities/security-scheme.js +15 -11
- package/dist/extensions/document/index.d.ts +3 -1
- package/dist/extensions/document/index.d.ts.map +1 -1
- package/dist/extensions/document/index.js +1 -1
- package/dist/extensions/example/index.d.ts +1 -1
- package/dist/extensions/example/index.js +1 -1
- package/dist/extensions/general/index.d.ts +1 -1
- package/dist/extensions/general/index.js +1 -1
- package/dist/extensions/operation/index.d.ts +3 -1
- package/dist/extensions/operation/index.d.ts.map +1 -1
- package/dist/extensions/operation/index.js +1 -1
- package/dist/extensions/parameter/index.d.ts +1 -1
- package/dist/extensions/parameter/index.js +1 -1
- package/dist/extensions/schema/index.d.ts +1 -1
- package/dist/extensions/schema/index.js +1 -1
- package/dist/extensions/security/index.d.ts +10 -1
- package/dist/extensions/security/index.d.ts.map +1 -1
- package/dist/extensions/security/index.js +1 -1
- package/dist/extensions/server/index.d.ts +1 -1
- package/dist/extensions/server/index.js +1 -1
- package/dist/extensions/tag/index.d.ts +1 -1
- package/dist/extensions/tag/index.js +1 -1
- package/dist/extensions/workspace/index.d.ts +1 -1
- package/dist/extensions/workspace/index.js +1 -1
- package/dist/openapi/3.1/index.generated.d.ts +29 -1
- package/dist/openapi/3.1/index.generated.d.ts.map +1 -1
- package/dist/openapi/3.1/index.generated.js +1 -1
- package/package.json +2 -2
|
@@ -38,17 +38,121 @@ export declare const securityMutualTlsSchema: z.ZodObject<{
|
|
|
38
38
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
39
39
|
}, z.core.$strip>;
|
|
40
40
|
export type SecuritySchemeMutualTls = z.infer<typeof securityMutualTlsSchema>;
|
|
41
|
+
/** Options for the x-usePkce extension */
|
|
42
|
+
export declare const pkceOptions: readonly ["SHA-256", "plain", "no"];
|
|
41
43
|
export declare const securityOpenIdSchema: z.ZodObject<{
|
|
42
44
|
description: z.ZodOptional<z.ZodString>;
|
|
43
45
|
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
44
46
|
type: z.ZodLiteral<"openIdConnect">;
|
|
45
47
|
openIdConnectUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
48
|
+
flows: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
deviceAuthorization: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
51
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
52
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
53
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
token: z.ZodDefault<z.ZodString>;
|
|
55
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
56
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
57
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
58
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
type: z.ZodDefault<z.ZodLiteral<"deviceAuthorization">>;
|
|
61
|
+
deviceAuthorizationUrl: z.ZodDefault<z.ZodString>;
|
|
62
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
63
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
64
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
header: "header";
|
|
66
|
+
body: "body";
|
|
67
|
+
}>>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
implicit: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
71
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
72
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
73
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
74
|
+
token: z.ZodDefault<z.ZodString>;
|
|
75
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
76
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
77
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
78
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
type: z.ZodDefault<z.ZodLiteral<"implicit">>;
|
|
81
|
+
authorizationUrl: z.ZodDefault<z.ZodString>;
|
|
82
|
+
'x-scalar-redirect-uri': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
password: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
87
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
88
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
89
|
+
token: z.ZodDefault<z.ZodString>;
|
|
90
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
91
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
92
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
93
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
type: z.ZodDefault<z.ZodLiteral<"password">>;
|
|
96
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
97
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
98
|
+
username: z.ZodDefault<z.ZodString>;
|
|
99
|
+
password: z.ZodDefault<z.ZodString>;
|
|
100
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
101
|
+
header: "header";
|
|
102
|
+
body: "body";
|
|
103
|
+
}>>;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
clientCredentials: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
107
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
108
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
109
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
110
|
+
token: z.ZodDefault<z.ZodString>;
|
|
111
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
112
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
113
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
114
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
type: z.ZodDefault<z.ZodLiteral<"clientCredentials">>;
|
|
117
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
118
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
119
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
header: "header";
|
|
121
|
+
body: "body";
|
|
122
|
+
}>>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
authorizationCode: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
126
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
127
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
128
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
129
|
+
token: z.ZodDefault<z.ZodString>;
|
|
130
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
131
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
132
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
133
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
type: z.ZodDefault<z.ZodLiteral<"authorizationCode">>;
|
|
136
|
+
authorizationUrl: z.ZodDefault<z.ZodString>;
|
|
137
|
+
'x-usePkce': z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
"SHA-256": "SHA-256";
|
|
139
|
+
plain: "plain";
|
|
140
|
+
no: "no";
|
|
141
|
+
}>>>;
|
|
142
|
+
'x-scalar-redirect-uri': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
143
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
144
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
145
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
146
|
+
header: "header";
|
|
147
|
+
body: "body";
|
|
148
|
+
}>>;
|
|
149
|
+
}, z.core.$strip>>;
|
|
150
|
+
}, z.core.$strip>>;
|
|
151
|
+
'x-default-scopes': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
152
|
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
47
153
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
48
154
|
}, z.core.$strip>;
|
|
49
155
|
export type SecuritySchemaOpenId = z.infer<typeof securityOpenIdSchema>;
|
|
50
|
-
/** Options for the x-usePkce extension */
|
|
51
|
-
export declare const pkceOptions: readonly ["SHA-256", "plain", "no"];
|
|
52
156
|
export declare const securityOauthSchema: z.ZodObject<{
|
|
53
157
|
description: z.ZodOptional<z.ZodString>;
|
|
54
158
|
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
@@ -313,6 +417,110 @@ export declare const oasSecuritySchemeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
313
417
|
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
314
418
|
type: z.ZodLiteral<"openIdConnect">;
|
|
315
419
|
openIdConnectUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
420
|
+
flows: z.ZodOptional<z.ZodObject<{
|
|
421
|
+
deviceAuthorization: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
423
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
424
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
425
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
426
|
+
token: z.ZodDefault<z.ZodString>;
|
|
427
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
428
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
429
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
430
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
431
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
432
|
+
type: z.ZodDefault<z.ZodLiteral<"deviceAuthorization">>;
|
|
433
|
+
deviceAuthorizationUrl: z.ZodDefault<z.ZodString>;
|
|
434
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
435
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
436
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
437
|
+
header: "header";
|
|
438
|
+
body: "body";
|
|
439
|
+
}>>;
|
|
440
|
+
}, z.core.$strip>>;
|
|
441
|
+
implicit: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
443
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
444
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
445
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
446
|
+
token: z.ZodDefault<z.ZodString>;
|
|
447
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
448
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
449
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
450
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
452
|
+
type: z.ZodDefault<z.ZodLiteral<"implicit">>;
|
|
453
|
+
authorizationUrl: z.ZodDefault<z.ZodString>;
|
|
454
|
+
'x-scalar-redirect-uri': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
455
|
+
}, z.core.$strip>>;
|
|
456
|
+
password: z.ZodOptional<z.ZodObject<{
|
|
457
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
458
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
459
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
460
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
461
|
+
token: z.ZodDefault<z.ZodString>;
|
|
462
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
463
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
464
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
465
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
467
|
+
type: z.ZodDefault<z.ZodLiteral<"password">>;
|
|
468
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
469
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
470
|
+
username: z.ZodDefault<z.ZodString>;
|
|
471
|
+
password: z.ZodDefault<z.ZodString>;
|
|
472
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
473
|
+
header: "header";
|
|
474
|
+
body: "body";
|
|
475
|
+
}>>;
|
|
476
|
+
}, z.core.$strip>>;
|
|
477
|
+
clientCredentials: z.ZodOptional<z.ZodObject<{
|
|
478
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
479
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
480
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
481
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
482
|
+
token: z.ZodDefault<z.ZodString>;
|
|
483
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
484
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
485
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
486
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
487
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
488
|
+
type: z.ZodDefault<z.ZodLiteral<"clientCredentials">>;
|
|
489
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
490
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
491
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
header: "header";
|
|
493
|
+
body: "body";
|
|
494
|
+
}>>;
|
|
495
|
+
}, z.core.$strip>>;
|
|
496
|
+
authorizationCode: z.ZodOptional<z.ZodObject<{
|
|
497
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
498
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
499
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
500
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
501
|
+
token: z.ZodDefault<z.ZodString>;
|
|
502
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
503
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
504
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
505
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
506
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
507
|
+
type: z.ZodDefault<z.ZodLiteral<"authorizationCode">>;
|
|
508
|
+
authorizationUrl: z.ZodDefault<z.ZodString>;
|
|
509
|
+
'x-usePkce': z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
510
|
+
"SHA-256": "SHA-256";
|
|
511
|
+
plain: "plain";
|
|
512
|
+
no: "no";
|
|
513
|
+
}>>>;
|
|
514
|
+
'x-scalar-redirect-uri': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
515
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
516
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
517
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
518
|
+
header: "header";
|
|
519
|
+
body: "body";
|
|
520
|
+
}>>;
|
|
521
|
+
}, z.core.$strip>>;
|
|
522
|
+
}, z.core.$strip>>;
|
|
523
|
+
'x-default-scopes': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
316
524
|
}, z.core.$strip>]>;
|
|
317
525
|
/** Extended security schemes for workspace usage */
|
|
318
526
|
export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -353,6 +561,110 @@ export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.
|
|
|
353
561
|
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
354
562
|
type: z.ZodLiteral<"openIdConnect">;
|
|
355
563
|
openIdConnectUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
564
|
+
flows: z.ZodOptional<z.ZodObject<{
|
|
565
|
+
deviceAuthorization: z.ZodOptional<z.ZodObject<{
|
|
566
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
567
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
568
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
569
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
570
|
+
token: z.ZodDefault<z.ZodString>;
|
|
571
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
572
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
573
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
574
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
576
|
+
type: z.ZodDefault<z.ZodLiteral<"deviceAuthorization">>;
|
|
577
|
+
deviceAuthorizationUrl: z.ZodDefault<z.ZodString>;
|
|
578
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
579
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
580
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
581
|
+
header: "header";
|
|
582
|
+
body: "body";
|
|
583
|
+
}>>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
implicit: z.ZodOptional<z.ZodObject<{
|
|
586
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
587
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
588
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
589
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
590
|
+
token: z.ZodDefault<z.ZodString>;
|
|
591
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
592
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
593
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
594
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
595
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
596
|
+
type: z.ZodDefault<z.ZodLiteral<"implicit">>;
|
|
597
|
+
authorizationUrl: z.ZodDefault<z.ZodString>;
|
|
598
|
+
'x-scalar-redirect-uri': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
599
|
+
}, z.core.$strip>>;
|
|
600
|
+
password: z.ZodOptional<z.ZodObject<{
|
|
601
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
602
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
603
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
604
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
605
|
+
token: z.ZodDefault<z.ZodString>;
|
|
606
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
607
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
608
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
609
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
610
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
611
|
+
type: z.ZodDefault<z.ZodLiteral<"password">>;
|
|
612
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
613
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
614
|
+
username: z.ZodDefault<z.ZodString>;
|
|
615
|
+
password: z.ZodDefault<z.ZodString>;
|
|
616
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
617
|
+
header: "header";
|
|
618
|
+
body: "body";
|
|
619
|
+
}>>;
|
|
620
|
+
}, z.core.$strip>>;
|
|
621
|
+
clientCredentials: z.ZodOptional<z.ZodObject<{
|
|
622
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
623
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
624
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
625
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
626
|
+
token: z.ZodDefault<z.ZodString>;
|
|
627
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
628
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
629
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
630
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
631
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
632
|
+
type: z.ZodDefault<z.ZodLiteral<"clientCredentials">>;
|
|
633
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
634
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
635
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
636
|
+
header: "header";
|
|
637
|
+
body: "body";
|
|
638
|
+
}>>;
|
|
639
|
+
}, z.core.$strip>>;
|
|
640
|
+
authorizationCode: z.ZodOptional<z.ZodObject<{
|
|
641
|
+
refreshUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
642
|
+
scopes: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodString>>>>>>;
|
|
643
|
+
selectedScopes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
644
|
+
'x-scalar-client-id': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
645
|
+
token: z.ZodDefault<z.ZodString>;
|
|
646
|
+
'x-scalar-security-query': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
647
|
+
'x-scalar-security-body': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
648
|
+
'x-tokenName': z.ZodOptional<z.ZodString>;
|
|
649
|
+
'x-order': z.ZodOptional<z.ZodNumber>;
|
|
650
|
+
'x-scalar-ignore': z.ZodOptional<z.ZodBoolean>;
|
|
651
|
+
type: z.ZodDefault<z.ZodLiteral<"authorizationCode">>;
|
|
652
|
+
authorizationUrl: z.ZodDefault<z.ZodString>;
|
|
653
|
+
'x-usePkce': z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
654
|
+
"SHA-256": "SHA-256";
|
|
655
|
+
plain: "plain";
|
|
656
|
+
no: "no";
|
|
657
|
+
}>>>;
|
|
658
|
+
'x-scalar-redirect-uri': z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
659
|
+
tokenUrl: z.ZodDefault<z.ZodString>;
|
|
660
|
+
clientSecret: z.ZodDefault<z.ZodString>;
|
|
661
|
+
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
|
|
662
|
+
header: "header";
|
|
663
|
+
body: "body";
|
|
664
|
+
}>>;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
}, z.core.$strip>>;
|
|
667
|
+
'x-default-scopes': z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
356
668
|
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
357
669
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
358
670
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -498,6 +810,94 @@ export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.
|
|
|
498
810
|
nameKey: string;
|
|
499
811
|
description?: string | undefined;
|
|
500
812
|
'x-scalar-ignore'?: boolean | undefined;
|
|
813
|
+
flows?: {
|
|
814
|
+
deviceAuthorization?: {
|
|
815
|
+
refreshUrl: string;
|
|
816
|
+
scopes: Record<string, string>;
|
|
817
|
+
selectedScopes: string[];
|
|
818
|
+
'x-scalar-client-id': string;
|
|
819
|
+
token: string;
|
|
820
|
+
type: "deviceAuthorization";
|
|
821
|
+
deviceAuthorizationUrl: string;
|
|
822
|
+
tokenUrl: string;
|
|
823
|
+
clientSecret: string;
|
|
824
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
825
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
826
|
+
'x-tokenName'?: string | undefined;
|
|
827
|
+
'x-order'?: number | undefined;
|
|
828
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
829
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
830
|
+
} | undefined;
|
|
831
|
+
implicit?: {
|
|
832
|
+
refreshUrl: string;
|
|
833
|
+
scopes: Record<string, string>;
|
|
834
|
+
selectedScopes: string[];
|
|
835
|
+
'x-scalar-client-id': string;
|
|
836
|
+
token: string;
|
|
837
|
+
type: "implicit";
|
|
838
|
+
authorizationUrl: string;
|
|
839
|
+
'x-scalar-redirect-uri': string;
|
|
840
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
841
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
842
|
+
'x-tokenName'?: string | undefined;
|
|
843
|
+
'x-order'?: number | undefined;
|
|
844
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
845
|
+
} | undefined;
|
|
846
|
+
password?: {
|
|
847
|
+
refreshUrl: string;
|
|
848
|
+
scopes: Record<string, string>;
|
|
849
|
+
selectedScopes: string[];
|
|
850
|
+
'x-scalar-client-id': string;
|
|
851
|
+
token: string;
|
|
852
|
+
type: "password";
|
|
853
|
+
tokenUrl: string;
|
|
854
|
+
clientSecret: string;
|
|
855
|
+
username: string;
|
|
856
|
+
password: string;
|
|
857
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
858
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
859
|
+
'x-tokenName'?: string | undefined;
|
|
860
|
+
'x-order'?: number | undefined;
|
|
861
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
862
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
863
|
+
} | undefined;
|
|
864
|
+
clientCredentials?: {
|
|
865
|
+
refreshUrl: string;
|
|
866
|
+
scopes: Record<string, string>;
|
|
867
|
+
selectedScopes: string[];
|
|
868
|
+
'x-scalar-client-id': string;
|
|
869
|
+
token: string;
|
|
870
|
+
type: "clientCredentials";
|
|
871
|
+
tokenUrl: string;
|
|
872
|
+
clientSecret: string;
|
|
873
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
874
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
875
|
+
'x-tokenName'?: string | undefined;
|
|
876
|
+
'x-order'?: number | undefined;
|
|
877
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
878
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
879
|
+
} | undefined;
|
|
880
|
+
authorizationCode?: {
|
|
881
|
+
refreshUrl: string;
|
|
882
|
+
scopes: Record<string, string>;
|
|
883
|
+
selectedScopes: string[];
|
|
884
|
+
'x-scalar-client-id': string;
|
|
885
|
+
token: string;
|
|
886
|
+
type: "authorizationCode";
|
|
887
|
+
authorizationUrl: string;
|
|
888
|
+
'x-usePkce': "SHA-256" | "plain" | "no";
|
|
889
|
+
'x-scalar-redirect-uri': string;
|
|
890
|
+
tokenUrl: string;
|
|
891
|
+
clientSecret: string;
|
|
892
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
893
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
894
|
+
'x-tokenName'?: string | undefined;
|
|
895
|
+
'x-order'?: number | undefined;
|
|
896
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
897
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
898
|
+
} | undefined;
|
|
899
|
+
} | undefined;
|
|
900
|
+
'x-default-scopes'?: string[] | undefined;
|
|
501
901
|
} | {
|
|
502
902
|
type: "oauth2";
|
|
503
903
|
flows: {
|
|
@@ -625,6 +1025,94 @@ export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.
|
|
|
625
1025
|
nameKey: string;
|
|
626
1026
|
description?: string | undefined;
|
|
627
1027
|
'x-scalar-ignore'?: boolean | undefined;
|
|
1028
|
+
flows?: {
|
|
1029
|
+
deviceAuthorization?: {
|
|
1030
|
+
refreshUrl: string;
|
|
1031
|
+
scopes: Record<string, string>;
|
|
1032
|
+
selectedScopes: string[];
|
|
1033
|
+
'x-scalar-client-id': string;
|
|
1034
|
+
token: string;
|
|
1035
|
+
type: "deviceAuthorization";
|
|
1036
|
+
deviceAuthorizationUrl: string;
|
|
1037
|
+
tokenUrl: string;
|
|
1038
|
+
clientSecret: string;
|
|
1039
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
1040
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
1041
|
+
'x-tokenName'?: string | undefined;
|
|
1042
|
+
'x-order'?: number | undefined;
|
|
1043
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
1044
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
1045
|
+
} | undefined;
|
|
1046
|
+
implicit?: {
|
|
1047
|
+
refreshUrl: string;
|
|
1048
|
+
scopes: Record<string, string>;
|
|
1049
|
+
selectedScopes: string[];
|
|
1050
|
+
'x-scalar-client-id': string;
|
|
1051
|
+
token: string;
|
|
1052
|
+
type: "implicit";
|
|
1053
|
+
authorizationUrl: string;
|
|
1054
|
+
'x-scalar-redirect-uri': string;
|
|
1055
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
1056
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
1057
|
+
'x-tokenName'?: string | undefined;
|
|
1058
|
+
'x-order'?: number | undefined;
|
|
1059
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
1060
|
+
} | undefined;
|
|
1061
|
+
password?: {
|
|
1062
|
+
refreshUrl: string;
|
|
1063
|
+
scopes: Record<string, string>;
|
|
1064
|
+
selectedScopes: string[];
|
|
1065
|
+
'x-scalar-client-id': string;
|
|
1066
|
+
token: string;
|
|
1067
|
+
type: "password";
|
|
1068
|
+
tokenUrl: string;
|
|
1069
|
+
clientSecret: string;
|
|
1070
|
+
username: string;
|
|
1071
|
+
password: string;
|
|
1072
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
1073
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
1074
|
+
'x-tokenName'?: string | undefined;
|
|
1075
|
+
'x-order'?: number | undefined;
|
|
1076
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
1077
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
1078
|
+
} | undefined;
|
|
1079
|
+
clientCredentials?: {
|
|
1080
|
+
refreshUrl: string;
|
|
1081
|
+
scopes: Record<string, string>;
|
|
1082
|
+
selectedScopes: string[];
|
|
1083
|
+
'x-scalar-client-id': string;
|
|
1084
|
+
token: string;
|
|
1085
|
+
type: "clientCredentials";
|
|
1086
|
+
tokenUrl: string;
|
|
1087
|
+
clientSecret: string;
|
|
1088
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
1089
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
1090
|
+
'x-tokenName'?: string | undefined;
|
|
1091
|
+
'x-order'?: number | undefined;
|
|
1092
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
1093
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
1094
|
+
} | undefined;
|
|
1095
|
+
authorizationCode?: {
|
|
1096
|
+
refreshUrl: string;
|
|
1097
|
+
scopes: Record<string, string>;
|
|
1098
|
+
selectedScopes: string[];
|
|
1099
|
+
'x-scalar-client-id': string;
|
|
1100
|
+
token: string;
|
|
1101
|
+
type: "authorizationCode";
|
|
1102
|
+
authorizationUrl: string;
|
|
1103
|
+
'x-usePkce': "SHA-256" | "plain" | "no";
|
|
1104
|
+
'x-scalar-redirect-uri': string;
|
|
1105
|
+
tokenUrl: string;
|
|
1106
|
+
clientSecret: string;
|
|
1107
|
+
'x-scalar-security-query'?: Record<string, string> | undefined;
|
|
1108
|
+
'x-scalar-security-body'?: Record<string, string> | undefined;
|
|
1109
|
+
'x-tokenName'?: string | undefined;
|
|
1110
|
+
'x-order'?: number | undefined;
|
|
1111
|
+
'x-scalar-ignore'?: boolean | undefined;
|
|
1112
|
+
'x-scalar-credentials-location'?: "header" | "body" | undefined;
|
|
1113
|
+
} | undefined;
|
|
1114
|
+
} | undefined;
|
|
1115
|
+
'x-default-scopes'?: string[] | undefined;
|
|
628
1116
|
} | {
|
|
629
1117
|
type: "oauth2";
|
|
630
1118
|
flows: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../src/entities/security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsCvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;iBAAiF,CAAA;AAClH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAkCvE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;iBAA6E,CAAA;AAC5G,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAYnE,eAAO,MAAM,uBAAuB;;;;;;iBAA2D,CAAA;AAC/F,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../src/entities/security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsCvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;iBAAiF,CAAA;AAClH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAkCvE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;iBAA6E,CAAA;AAC5G,MAAM,MAAM,kBAAkB,GAA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;;;;;;;;;;;;;;;;;GAmB7B,CAAA;AAEJ;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACjE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -68,17 +68,6 @@ const oasSecuritySchemeMutualTls = commonProps.extend({
|
|
|
68
68
|
});
|
|
69
69
|
export const securityMutualTlsSchema = oasSecuritySchemeMutualTls.merge(extendedSecuritySchema);
|
|
70
70
|
// ---------------------------------------------------------------------------
|
|
71
|
-
// OPENID CONNECT
|
|
72
|
-
const oasSecuritySchemeOpenId = commonProps.extend({
|
|
73
|
-
type: z.literal('openIdConnect'),
|
|
74
|
-
/**
|
|
75
|
-
* REQUIRED. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the
|
|
76
|
-
* form of a URL. The OpenID Connect standard requires the use of TLS.
|
|
77
|
-
*/
|
|
78
|
-
openIdConnectUrl: z.string().optional().default(''),
|
|
79
|
-
});
|
|
80
|
-
export const securityOpenIdSchema = oasSecuritySchemeOpenId.merge(extendedSecuritySchema);
|
|
81
|
-
// ---------------------------------------------------------------------------
|
|
82
71
|
/**
|
|
83
72
|
* REQUIRED. The authorization URL to be used for this flow. This MUST be in
|
|
84
73
|
* the form of a URL. The OAuth2 standard requires the use of TLS.
|
|
@@ -184,6 +173,21 @@ const oasSecuritySchemeOauth2 = commonProps.extend({
|
|
|
184
173
|
},
|
|
185
174
|
}),
|
|
186
175
|
});
|
|
176
|
+
// ---------------------------------------------------------------------------
|
|
177
|
+
// OPENID CONNECT
|
|
178
|
+
const oasSecuritySchemeOpenId = commonProps.extend({
|
|
179
|
+
type: z.literal('openIdConnect'),
|
|
180
|
+
/**
|
|
181
|
+
* REQUIRED. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the
|
|
182
|
+
* form of a URL. The OpenID Connect standard requires the use of TLS.
|
|
183
|
+
*/
|
|
184
|
+
openIdConnectUrl: z.string().optional().default(''),
|
|
185
|
+
/** Defaults for discovered OAuth flows; these do not bypass discovery. */
|
|
186
|
+
flows: oasSecuritySchemeOauth2.shape.flows.unwrap().optional(),
|
|
187
|
+
/** Default scopes to select after discovery. */
|
|
188
|
+
'x-default-scopes': oasSecuritySchemeOauth2.shape['x-default-scopes'],
|
|
189
|
+
});
|
|
190
|
+
export const securityOpenIdSchema = oasSecuritySchemeOpenId.merge(extendedSecuritySchema);
|
|
187
191
|
export const securityOauthSchema = oasSecuritySchemeOauth2.merge(extendedSecuritySchema);
|
|
188
192
|
// ---------------------------------------------------------------------------
|
|
189
193
|
// Final Types
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file is autogenerated. Do not edit it.
|
|
3
3
|
*
|
|
4
|
-
* Generated at: 2026-
|
|
4
|
+
* Generated at: 2026-11-09T12:52:26.182Z
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Marks an entity as internal (hidden from external consumers).
|
|
@@ -197,6 +197,8 @@ export type XScalarRegistryMeta = {
|
|
|
197
197
|
export type XScalarSdkInstallationItem = {
|
|
198
198
|
/** Programming language or platform (for example `TypeScript`, `Java`, `Python`) */
|
|
199
199
|
lang: string;
|
|
200
|
+
/** Display label for the SDK tab. Defaults to lang. */
|
|
201
|
+
label?: string;
|
|
200
202
|
/** Installation instructions in Markdown (supports fenced code blocks) */
|
|
201
203
|
description?: string;
|
|
202
204
|
/** @deprecated Use `description` instead. When set, it is appended to `description` as a fenced code block (or used on its own when there is no `description`). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/extensions/document/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED;;;;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sBAAsB,GAAG;IACnC,2DAA2D;IAC3D,2BAA2B,CAAC,EAAE,0BAA0B,EAAE,CAAA;CAC3D,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mEAAmE;IACnE,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/extensions/document/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,4EAA4E;IAC5E,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,qEAAqE;IACrE,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC,CAAA;AAED,yCAAyC;AACzC,MAAM,MAAM,aAAa,GAAG;IAC1B,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,KAAK,EACD;QACE,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,OAAO,EAAE,MAAM,CAAA;KAChB,GACD,MAAM,CAAA;CACX,CAAA;AAED,2DAA2D;AAC3D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MA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