@scalar/openapi-types 0.1.8 → 0.2.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.
Files changed (246) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +76 -0
  3. package/dist/schemas/3.1/processed/base-path-item-object.d.ts +603 -0
  4. package/dist/schemas/3.1/processed/base-path-item-object.d.ts.map +1 -0
  5. package/dist/schemas/3.1/processed/base-path-item-object.js +35 -0
  6. package/dist/schemas/3.1/processed/callback-object.d.ts +169 -0
  7. package/dist/schemas/3.1/processed/callback-object.d.ts.map +1 -0
  8. package/dist/schemas/3.1/processed/callback-object.js +17 -0
  9. package/dist/schemas/3.1/processed/components-object.d.ts +14411 -0
  10. package/dist/schemas/3.1/processed/components-object.d.ts.map +1 -0
  11. package/dist/schemas/3.1/processed/components-object.js +64 -0
  12. package/dist/schemas/3.1/processed/contact-object.d.ts +25 -0
  13. package/dist/schemas/3.1/processed/contact-object.d.ts.map +1 -0
  14. package/dist/schemas/3.1/processed/contact-object.js +19 -0
  15. package/dist/schemas/3.1/processed/discriminator-object.d.ts +32 -0
  16. package/dist/schemas/3.1/processed/discriminator-object.d.ts.map +1 -0
  17. package/dist/schemas/3.1/processed/discriminator-object.js +28 -0
  18. package/dist/schemas/3.1/processed/encoding-object.d.ts +191 -0
  19. package/dist/schemas/3.1/processed/encoding-object.d.ts.map +1 -0
  20. package/dist/schemas/3.1/processed/encoding-object.js +30 -0
  21. package/dist/schemas/3.1/processed/example-object.d.ts +43 -0
  22. package/dist/schemas/3.1/processed/example-object.d.ts.map +1 -0
  23. package/dist/schemas/3.1/processed/example-object.js +35 -0
  24. package/dist/schemas/3.1/processed/external-documentation-object.d.ts +21 -0
  25. package/dist/schemas/3.1/processed/external-documentation-object.d.ts.map +1 -0
  26. package/dist/schemas/3.1/processed/external-documentation-object.js +17 -0
  27. package/dist/schemas/3.1/processed/header-object.d.ts +161 -0
  28. package/dist/schemas/3.1/processed/header-object.d.ts.map +1 -0
  29. package/dist/schemas/3.1/processed/header-object.js +66 -0
  30. package/dist/schemas/3.1/processed/index.d.ts +31 -0
  31. package/dist/schemas/3.1/processed/index.d.ts.map +1 -0
  32. package/dist/schemas/3.1/processed/index.js +30 -0
  33. package/dist/schemas/3.1/processed/info-object.d.ts +89 -0
  34. package/dist/schemas/3.1/processed/info-object.d.ts.map +1 -0
  35. package/dist/schemas/3.1/processed/info-object.js +45 -0
  36. package/dist/schemas/3.1/processed/license-object.d.ts +27 -0
  37. package/dist/schemas/3.1/processed/license-object.d.ts.map +1 -0
  38. package/dist/schemas/3.1/processed/license-object.js +21 -0
  39. package/dist/schemas/3.1/processed/link-object.d.ts +110 -0
  40. package/dist/schemas/3.1/processed/link-object.d.ts.map +1 -0
  41. package/dist/schemas/3.1/processed/link-object.js +52 -0
  42. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts +60 -0
  43. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts.map +1 -0
  44. package/dist/schemas/3.1/processed/media-type-object-without-encoding.js +34 -0
  45. package/dist/schemas/3.1/processed/media-type-object.d.ts +289 -0
  46. package/dist/schemas/3.1/processed/media-type-object.d.ts.map +1 -0
  47. package/dist/schemas/3.1/processed/media-type-object.js +38 -0
  48. package/dist/schemas/3.1/processed/openapi-object.d.ts +31 -0
  49. package/dist/schemas/3.1/processed/openapi-object.d.ts.map +1 -0
  50. package/dist/schemas/3.1/processed/openapi-object.js +78 -0
  51. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts +2094 -0
  52. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts.map +1 -0
  53. package/dist/schemas/3.1/processed/operation-object-without-callbacks.js +72 -0
  54. package/dist/schemas/3.1/processed/operation-object.d.ts +16 -0
  55. package/dist/schemas/3.1/processed/operation-object.d.ts.map +1 -0
  56. package/dist/schemas/3.1/processed/operation-object.js +22 -0
  57. package/dist/schemas/3.1/processed/parameter-object.d.ts +476 -0
  58. package/dist/schemas/3.1/processed/parameter-object.d.ts.map +1 -0
  59. package/dist/schemas/3.1/processed/parameter-object.js +93 -0
  60. package/dist/schemas/3.1/processed/path-item-object-without-callbacks.d.ts +25 -0
  61. package/dist/schemas/3.1/processed/path-item-object-without-callbacks.d.ts.map +1 -0
  62. package/dist/schemas/3.1/processed/path-item-object-without-callbacks.js +48 -0
  63. package/dist/schemas/3.1/processed/path-item-object.d.ts +7741 -0
  64. package/dist/schemas/3.1/processed/path-item-object.d.ts.map +1 -0
  65. package/dist/schemas/3.1/processed/path-item-object.js +48 -0
  66. package/dist/schemas/3.1/processed/paths-object.d.ts +7718 -0
  67. package/dist/schemas/3.1/processed/paths-object.d.ts.map +1 -0
  68. package/dist/schemas/3.1/processed/paths-object.js +23 -0
  69. package/dist/schemas/3.1/processed/request-body-object.d.ts +595 -0
  70. package/dist/schemas/3.1/processed/request-body-object.d.ts.map +1 -0
  71. package/dist/schemas/3.1/processed/request-body-object.js +33 -0
  72. package/dist/schemas/3.1/processed/response-object.d.ts +633 -0
  73. package/dist/schemas/3.1/processed/response-object.d.ts.map +1 -0
  74. package/dist/schemas/3.1/processed/response-object.js +36 -0
  75. package/dist/schemas/3.1/processed/responses-object.d.ts +626 -0
  76. package/dist/schemas/3.1/processed/responses-object.d.ts.map +1 -0
  77. package/dist/schemas/3.1/processed/responses-object.js +31 -0
  78. package/dist/schemas/3.1/processed/runtime-expression.d.ts +15 -0
  79. package/dist/schemas/3.1/processed/runtime-expression.d.ts.map +1 -0
  80. package/dist/schemas/3.1/processed/runtime-expression.js +98 -0
  81. package/dist/schemas/3.1/processed/schema-object.d.ts +8 -0
  82. package/dist/schemas/3.1/processed/schema-object.d.ts.map +1 -0
  83. package/dist/schemas/3.1/processed/schema-object.js +91 -0
  84. package/dist/schemas/3.1/processed/security-requirement-object.d.ts +21 -0
  85. package/dist/schemas/3.1/processed/security-requirement-object.d.ts.map +1 -0
  86. package/dist/schemas/3.1/processed/security-requirement-object.js +37 -0
  87. package/dist/schemas/3.1/processed/security-scheme-object.d.ts +823 -0
  88. package/dist/schemas/3.1/processed/security-scheme-object.d.ts.map +1 -0
  89. package/dist/schemas/3.1/processed/security-scheme-object.js +170 -0
  90. package/dist/schemas/3.1/processed/server-object.d.ts +52 -0
  91. package/dist/schemas/3.1/processed/server-object.d.ts.map +1 -0
  92. package/dist/schemas/3.1/processed/server-object.js +27 -0
  93. package/dist/schemas/3.1/processed/server-variable-object.d.ts +33 -0
  94. package/dist/schemas/3.1/processed/server-variable-object.d.ts.map +1 -0
  95. package/dist/schemas/3.1/processed/server-variable-object.js +27 -0
  96. package/dist/schemas/3.1/processed/tag-object.d.ts +41 -0
  97. package/dist/schemas/3.1/processed/tag-object.d.ts.map +1 -0
  98. package/dist/schemas/3.1/processed/tag-object.js +21 -0
  99. package/dist/schemas/3.1/processed/webhooks-object.d.ts +172 -0
  100. package/dist/schemas/3.1/processed/webhooks-object.d.ts.map +1 -0
  101. package/dist/schemas/3.1/processed/webhooks-object.js +19 -0
  102. package/dist/schemas/3.1/processed/xml-object.d.ts +51 -0
  103. package/dist/schemas/3.1/processed/xml-object.d.ts.map +1 -0
  104. package/dist/schemas/3.1/processed/xml-object.js +40 -0
  105. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts +1811 -0
  106. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts.map +1 -0
  107. package/dist/schemas/3.1/unprocessed/base-path-item-object.js +23 -0
  108. package/dist/schemas/3.1/unprocessed/callback-object.d.ts +168 -0
  109. package/dist/schemas/3.1/unprocessed/callback-object.d.ts.map +1 -0
  110. package/dist/schemas/3.1/unprocessed/callback-object.js +15 -0
  111. package/dist/schemas/3.1/unprocessed/components-object.d.ts +28835 -0
  112. package/dist/schemas/3.1/unprocessed/components-object.d.ts.map +1 -0
  113. package/dist/schemas/3.1/unprocessed/components-object.js +66 -0
  114. package/dist/schemas/3.1/unprocessed/contact-object.d.ts +21 -0
  115. package/dist/schemas/3.1/unprocessed/contact-object.d.ts.map +1 -0
  116. package/dist/schemas/3.1/unprocessed/contact-object.js +12 -0
  117. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts +23 -0
  118. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts.map +1 -0
  119. package/dist/schemas/3.1/unprocessed/discriminator-object.js +17 -0
  120. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts +402 -0
  121. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts.map +1 -0
  122. package/dist/schemas/3.1/unprocessed/encoding-object.js +26 -0
  123. package/dist/schemas/3.1/unprocessed/example-object.d.ts +28 -0
  124. package/dist/schemas/3.1/unprocessed/example-object.d.ts.map +1 -0
  125. package/dist/schemas/3.1/unprocessed/example-object.js +16 -0
  126. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts +18 -0
  127. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts.map +1 -0
  128. package/dist/schemas/3.1/unprocessed/external-documentation-object.js +12 -0
  129. package/dist/schemas/3.1/unprocessed/header-object.d.ts +217 -0
  130. package/dist/schemas/3.1/unprocessed/header-object.d.ts.map +1 -0
  131. package/dist/schemas/3.1/unprocessed/header-object.js +42 -0
  132. package/dist/schemas/3.1/unprocessed/index.d.ts +32 -0
  133. package/dist/schemas/3.1/unprocessed/index.d.ts.map +1 -0
  134. package/dist/schemas/3.1/unprocessed/index.js +31 -0
  135. package/dist/schemas/3.1/unprocessed/info-object.d.ts +66 -0
  136. package/dist/schemas/3.1/unprocessed/info-object.d.ts.map +1 -0
  137. package/dist/schemas/3.1/unprocessed/info-object.js +13 -0
  138. package/dist/schemas/3.1/unprocessed/license-object.d.ts +21 -0
  139. package/dist/schemas/3.1/unprocessed/license-object.d.ts.map +1 -0
  140. package/dist/schemas/3.1/unprocessed/license-object.js +12 -0
  141. package/dist/schemas/3.1/unprocessed/link-object.d.ts +86 -0
  142. package/dist/schemas/3.1/unprocessed/link-object.d.ts.map +1 -0
  143. package/dist/schemas/3.1/unprocessed/link-object.js +20 -0
  144. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts +46 -0
  145. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts.map +1 -0
  146. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.js +12 -0
  147. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts +728 -0
  148. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts.map +1 -0
  149. package/dist/schemas/3.1/unprocessed/media-type-object.js +40 -0
  150. package/dist/schemas/3.1/unprocessed/openapi-object.d.ts +31 -0
  151. package/dist/schemas/3.1/unprocessed/openapi-object.d.ts.map +1 -0
  152. package/dist/schemas/3.1/unprocessed/openapi-object.js +12 -0
  153. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts +3893 -0
  154. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts.map +1 -0
  155. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.js +45 -0
  156. package/dist/schemas/3.1/unprocessed/operation-object.d.ts +17 -0
  157. package/dist/schemas/3.1/unprocessed/operation-object.d.ts.map +1 -0
  158. package/dist/schemas/3.1/unprocessed/operation-object.js +23 -0
  159. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts +1186 -0
  160. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts.map +1 -0
  161. package/dist/schemas/3.1/unprocessed/parameter-object.js +31 -0
  162. package/dist/schemas/3.1/unprocessed/path-item-object-without-callbacks.d.ts +25 -0
  163. package/dist/schemas/3.1/unprocessed/path-item-object-without-callbacks.d.ts.map +1 -0
  164. package/dist/schemas/3.1/unprocessed/path-item-object-without-callbacks.js +48 -0
  165. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts +9743 -0
  166. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts.map +1 -0
  167. package/dist/schemas/3.1/unprocessed/path-item-object.js +62 -0
  168. package/dist/schemas/3.1/unprocessed/paths-object.d.ts +7717 -0
  169. package/dist/schemas/3.1/unprocessed/paths-object.d.ts.map +1 -0
  170. package/dist/schemas/3.1/unprocessed/paths-object.js +14 -0
  171. package/dist/schemas/3.1/unprocessed/reference-object.d.ts +36 -0
  172. package/dist/schemas/3.1/unprocessed/reference-object.d.ts.map +1 -0
  173. package/dist/schemas/3.1/unprocessed/reference-object.js +30 -0
  174. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts +580 -0
  175. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts.map +1 -0
  176. package/dist/schemas/3.1/unprocessed/request-body-object.js +12 -0
  177. package/dist/schemas/3.1/unprocessed/response-object.d.ts +1661 -0
  178. package/dist/schemas/3.1/unprocessed/response-object.d.ts.map +1 -0
  179. package/dist/schemas/3.1/unprocessed/response-object.js +34 -0
  180. package/dist/schemas/3.1/unprocessed/responses-object.d.ts +1669 -0
  181. package/dist/schemas/3.1/unprocessed/responses-object.d.ts.map +1 -0
  182. package/dist/schemas/3.1/unprocessed/responses-object.js +32 -0
  183. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts +14 -0
  184. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts.map +1 -0
  185. package/dist/schemas/3.1/unprocessed/runtime-expression.js +17 -0
  186. package/dist/schemas/3.1/unprocessed/schema-object.d.ts +8 -0
  187. package/dist/schemas/3.1/unprocessed/schema-object.d.ts.map +1 -0
  188. package/dist/schemas/3.1/unprocessed/schema-object.js +32 -0
  189. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts +20 -0
  190. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts.map +1 -0
  191. package/dist/schemas/3.1/unprocessed/security-requirement-object.js +23 -0
  192. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts +590 -0
  193. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts.map +1 -0
  194. package/dist/schemas/3.1/unprocessed/security-scheme-object.js +29 -0
  195. package/dist/schemas/3.1/unprocessed/server-object.d.ts +41 -0
  196. package/dist/schemas/3.1/unprocessed/server-object.d.ts.map +1 -0
  197. package/dist/schemas/3.1/unprocessed/server-object.js +12 -0
  198. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts +21 -0
  199. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts.map +1 -0
  200. package/dist/schemas/3.1/unprocessed/server-variable-object.js +12 -0
  201. package/dist/schemas/3.1/unprocessed/tag-object.d.ts +37 -0
  202. package/dist/schemas/3.1/unprocessed/tag-object.d.ts.map +1 -0
  203. package/dist/schemas/3.1/unprocessed/tag-object.js +13 -0
  204. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts +212 -0
  205. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts.map +1 -0
  206. package/dist/schemas/3.1/unprocessed/webhooks-object.js +19 -0
  207. package/dist/schemas/3.1/unprocessed/xml-object.d.ts +31 -0
  208. package/dist/schemas/3.1/unprocessed/xml-object.d.ts.map +1 -0
  209. package/dist/schemas/3.1/unprocessed/xml-object.js +16 -0
  210. package/dist/schemas/extensions/index.d.ts +11 -0
  211. package/dist/schemas/extensions/index.d.ts.map +1 -0
  212. package/dist/schemas/extensions/index.js +10 -0
  213. package/dist/schemas/extensions/x-additional-properties-name.d.ts +16 -0
  214. package/dist/schemas/extensions/x-additional-properties-name.d.ts.map +1 -0
  215. package/dist/schemas/extensions/x-additional-properties-name.js +14 -0
  216. package/dist/schemas/extensions/x-code-samples.d.ts +76 -0
  217. package/dist/schemas/extensions/x-code-samples.d.ts.map +1 -0
  218. package/dist/schemas/extensions/x-code-samples.js +14 -0
  219. package/dist/schemas/extensions/x-display-name.d.ts +17 -0
  220. package/dist/schemas/extensions/x-display-name.d.ts.map +1 -0
  221. package/dist/schemas/extensions/x-enum-descriptions.d.ts +22 -0
  222. package/dist/schemas/extensions/x-enum-descriptions.d.ts.map +1 -0
  223. package/dist/schemas/extensions/x-enum-descriptions.js +20 -0
  224. package/dist/schemas/extensions/x-internal.d.ts +9 -0
  225. package/dist/schemas/extensions/x-internal.d.ts.map +1 -0
  226. package/dist/schemas/extensions/x-internal.js +7 -0
  227. package/dist/schemas/extensions/x-scalar-icon.d.ts +9 -0
  228. package/dist/schemas/extensions/x-scalar-icon.d.ts.map +1 -0
  229. package/dist/schemas/extensions/x-scalar-icon.js +7 -0
  230. package/dist/schemas/extensions/x-scalar-ignore.d.ts +9 -0
  231. package/dist/schemas/extensions/x-scalar-ignore.d.ts.map +1 -0
  232. package/dist/schemas/extensions/x-scalar-ignore.js +7 -0
  233. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts +9 -0
  234. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts.map +1 -0
  235. package/dist/schemas/extensions/x-scalar-redirect-uri.js +7 -0
  236. package/dist/schemas/extensions/x-scalar-stability.d.ts +23 -0
  237. package/dist/schemas/extensions/x-scalar-stability.d.ts.map +1 -0
  238. package/dist/schemas/extensions/x-scalar-stability.js +23 -0
  239. package/dist/schemas/extensions/x-tag-groups.d.ts +39 -0
  240. package/dist/schemas/extensions/x-tag-groups.d.ts.map +1 -0
  241. package/dist/schemas/extensions/x-tag-groups.js +20 -0
  242. package/dist/schemas/extensions/x-use-pkce.d.ts +14 -0
  243. package/dist/schemas/extensions/x-use-pkce.d.ts.map +1 -0
  244. package/dist/schemas/extensions/x-use-pkce.js +12 -0
  245. package/package.json +20 -2
  246. package/LICENSE +0 -21
@@ -0,0 +1,590 @@
1
+ /**
2
+ * Security Scheme Object
3
+ *
4
+ * Defines a security scheme that can be used by the operations.
5
+ *
6
+ * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query
7
+ * parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials
8
+ * and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit
9
+ * flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is
10
+ * Authorization Code Grant flow with PKCE.
11
+ *
12
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#security-scheme-object
13
+ */
14
+ export declare const SecuritySchemeObjectSchema: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").objectUtil.extendShape<{
15
+ description: import("zod").ZodOptional<import("zod").ZodString>;
16
+ }, {
17
+ type: import("zod").ZodLiteral<"apiKey">;
18
+ name: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
19
+ in: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["query", "header", "cookie"]>>>>;
20
+ }>, "strip", import("zod").ZodTypeAny, {
21
+ name: string;
22
+ in: "query" | "header" | "cookie";
23
+ type: "apiKey";
24
+ description?: string | undefined;
25
+ }, {
26
+ type: "apiKey";
27
+ description?: string | undefined;
28
+ name?: string | undefined;
29
+ in?: unknown;
30
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
31
+ description: import("zod").ZodOptional<import("zod").ZodString>;
32
+ }, {
33
+ type: import("zod").ZodLiteral<"http">;
34
+ scheme: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodEnum<["basic", "bearer"]>>>>;
35
+ bearerFormat: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"JWT">, import("zod").ZodLiteral<"bearer">, import("zod").ZodString]>>;
36
+ }>, "strip", import("zod").ZodTypeAny, {
37
+ type: "http";
38
+ scheme: "basic" | "bearer";
39
+ description?: string | undefined;
40
+ bearerFormat?: string | undefined;
41
+ }, {
42
+ type: "http";
43
+ description?: string | undefined;
44
+ scheme?: string | undefined;
45
+ bearerFormat?: string | undefined;
46
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
47
+ description: import("zod").ZodOptional<import("zod").ZodString>;
48
+ }, {
49
+ type: import("zod").ZodLiteral<"mutualTLS">;
50
+ }>, "strip", import("zod").ZodTypeAny, {
51
+ type: "mutualTLS";
52
+ description?: string | undefined;
53
+ }, {
54
+ type: "mutualTLS";
55
+ description?: string | undefined;
56
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
57
+ description: import("zod").ZodOptional<import("zod").ZodString>;
58
+ }, {
59
+ type: import("zod").ZodLiteral<"oauth2">;
60
+ flows: import("zod").ZodObject<{
61
+ implicit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
62
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
63
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
64
+ }, {
65
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"implicit">>;
66
+ authorizationUrl: import("zod").ZodDefault<import("zod").ZodString>;
67
+ }>, "strip", import("zod").ZodTypeAny, {
68
+ scopes: Record<string, string | undefined>;
69
+ authorizationUrl: string;
70
+ type?: "implicit" | undefined;
71
+ refreshUrl?: string | undefined;
72
+ }, {
73
+ type?: "implicit" | undefined;
74
+ refreshUrl?: string | undefined;
75
+ scopes?: unknown;
76
+ authorizationUrl?: string | undefined;
77
+ }>>>;
78
+ password: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
79
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
80
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
81
+ }, {
82
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"password">>;
83
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
84
+ }>, "strip", import("zod").ZodTypeAny, {
85
+ scopes: Record<string, string | undefined>;
86
+ tokenUrl: string;
87
+ type?: "password" | undefined;
88
+ refreshUrl?: string | undefined;
89
+ }, {
90
+ type?: "password" | undefined;
91
+ refreshUrl?: string | undefined;
92
+ scopes?: unknown;
93
+ tokenUrl?: string | undefined;
94
+ }>>>;
95
+ clientCredentials: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
96
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
97
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
98
+ }, {
99
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"clientCredentials">>;
100
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
101
+ }>, "strip", import("zod").ZodTypeAny, {
102
+ scopes: Record<string, string | undefined>;
103
+ tokenUrl: string;
104
+ type?: "clientCredentials" | undefined;
105
+ refreshUrl?: string | undefined;
106
+ }, {
107
+ type?: "clientCredentials" | undefined;
108
+ refreshUrl?: string | undefined;
109
+ scopes?: unknown;
110
+ tokenUrl?: string | undefined;
111
+ }>>>;
112
+ authorizationCode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
113
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
114
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
115
+ }, {
116
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"authorizationCode">>;
117
+ authorizationUrl: import("zod").ZodDefault<import("zod").ZodString>;
118
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
119
+ }>, "strip", import("zod").ZodTypeAny, {
120
+ scopes: Record<string, string | undefined>;
121
+ authorizationUrl: string;
122
+ tokenUrl: string;
123
+ type?: "authorizationCode" | undefined;
124
+ refreshUrl?: string | undefined;
125
+ }, {
126
+ type?: "authorizationCode" | undefined;
127
+ refreshUrl?: string | undefined;
128
+ scopes?: unknown;
129
+ authorizationUrl?: string | undefined;
130
+ tokenUrl?: string | undefined;
131
+ }>>>;
132
+ }, "strip", import("zod").ZodTypeAny, {
133
+ implicit?: {
134
+ scopes: Record<string, string | undefined>;
135
+ authorizationUrl: string;
136
+ type?: "implicit" | undefined;
137
+ refreshUrl?: string | undefined;
138
+ } | undefined;
139
+ password?: {
140
+ scopes: Record<string, string | undefined>;
141
+ tokenUrl: string;
142
+ type?: "password" | undefined;
143
+ refreshUrl?: string | undefined;
144
+ } | undefined;
145
+ clientCredentials?: {
146
+ scopes: Record<string, string | undefined>;
147
+ tokenUrl: string;
148
+ type?: "clientCredentials" | undefined;
149
+ refreshUrl?: string | undefined;
150
+ } | undefined;
151
+ authorizationCode?: {
152
+ scopes: Record<string, string | undefined>;
153
+ authorizationUrl: string;
154
+ tokenUrl: string;
155
+ type?: "authorizationCode" | undefined;
156
+ refreshUrl?: string | undefined;
157
+ } | undefined;
158
+ }, {
159
+ implicit?: {
160
+ type?: "implicit" | undefined;
161
+ refreshUrl?: string | undefined;
162
+ scopes?: unknown;
163
+ authorizationUrl?: string | undefined;
164
+ } | undefined;
165
+ password?: {
166
+ type?: "password" | undefined;
167
+ refreshUrl?: string | undefined;
168
+ scopes?: unknown;
169
+ tokenUrl?: string | undefined;
170
+ } | undefined;
171
+ clientCredentials?: {
172
+ type?: "clientCredentials" | undefined;
173
+ refreshUrl?: string | undefined;
174
+ scopes?: unknown;
175
+ tokenUrl?: string | undefined;
176
+ } | undefined;
177
+ authorizationCode?: {
178
+ type?: "authorizationCode" | undefined;
179
+ refreshUrl?: string | undefined;
180
+ scopes?: unknown;
181
+ authorizationUrl?: string | undefined;
182
+ tokenUrl?: string | undefined;
183
+ } | undefined;
184
+ }>;
185
+ }>, "strip", import("zod").ZodTypeAny, {
186
+ type: "oauth2";
187
+ flows: {
188
+ implicit?: {
189
+ scopes: Record<string, string | undefined>;
190
+ authorizationUrl: string;
191
+ type?: "implicit" | undefined;
192
+ refreshUrl?: string | undefined;
193
+ } | undefined;
194
+ password?: {
195
+ scopes: Record<string, string | undefined>;
196
+ tokenUrl: string;
197
+ type?: "password" | undefined;
198
+ refreshUrl?: string | undefined;
199
+ } | undefined;
200
+ clientCredentials?: {
201
+ scopes: Record<string, string | undefined>;
202
+ tokenUrl: string;
203
+ type?: "clientCredentials" | undefined;
204
+ refreshUrl?: string | undefined;
205
+ } | undefined;
206
+ authorizationCode?: {
207
+ scopes: Record<string, string | undefined>;
208
+ authorizationUrl: string;
209
+ tokenUrl: string;
210
+ type?: "authorizationCode" | undefined;
211
+ refreshUrl?: string | undefined;
212
+ } | undefined;
213
+ };
214
+ description?: string | undefined;
215
+ }, {
216
+ type: "oauth2";
217
+ flows: {
218
+ implicit?: {
219
+ type?: "implicit" | undefined;
220
+ refreshUrl?: string | undefined;
221
+ scopes?: unknown;
222
+ authorizationUrl?: string | undefined;
223
+ } | undefined;
224
+ password?: {
225
+ type?: "password" | undefined;
226
+ refreshUrl?: string | undefined;
227
+ scopes?: unknown;
228
+ tokenUrl?: string | undefined;
229
+ } | undefined;
230
+ clientCredentials?: {
231
+ type?: "clientCredentials" | undefined;
232
+ refreshUrl?: string | undefined;
233
+ scopes?: unknown;
234
+ tokenUrl?: string | undefined;
235
+ } | undefined;
236
+ authorizationCode?: {
237
+ type?: "authorizationCode" | undefined;
238
+ refreshUrl?: string | undefined;
239
+ scopes?: unknown;
240
+ authorizationUrl?: string | undefined;
241
+ tokenUrl?: string | undefined;
242
+ } | undefined;
243
+ };
244
+ description?: string | undefined;
245
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
246
+ description: import("zod").ZodOptional<import("zod").ZodString>;
247
+ }, {
248
+ type: import("zod").ZodLiteral<"openIdConnect">;
249
+ openIdConnectUrl: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
250
+ }>, "strip", import("zod").ZodTypeAny, {
251
+ type: "openIdConnect";
252
+ openIdConnectUrl: string;
253
+ description?: string | undefined;
254
+ }, {
255
+ type: "openIdConnect";
256
+ description?: string | undefined;
257
+ openIdConnectUrl?: string | undefined;
258
+ }>]>;
259
+ export declare const ApiKeyInValues: readonly ["query", "header", "cookie"];
260
+ export declare const ApiKeySchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
261
+ description: import("zod").ZodOptional<import("zod").ZodString>;
262
+ }, {
263
+ type: import("zod").ZodLiteral<"apiKey">;
264
+ name: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
265
+ in: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["query", "header", "cookie"]>>>>;
266
+ }>, "strip", import("zod").ZodTypeAny, {
267
+ name: string;
268
+ in: "query" | "header" | "cookie";
269
+ type: "apiKey";
270
+ description?: string | undefined;
271
+ }, {
272
+ type: "apiKey";
273
+ description?: string | undefined;
274
+ name?: string | undefined;
275
+ in?: unknown;
276
+ }>;
277
+ export declare const HttpSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
278
+ description: import("zod").ZodOptional<import("zod").ZodString>;
279
+ }, {
280
+ type: import("zod").ZodLiteral<"http">;
281
+ scheme: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodEnum<["basic", "bearer"]>>>>;
282
+ bearerFormat: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"JWT">, import("zod").ZodLiteral<"bearer">, import("zod").ZodString]>>;
283
+ }>, "strip", import("zod").ZodTypeAny, {
284
+ type: "http";
285
+ scheme: "basic" | "bearer";
286
+ description?: string | undefined;
287
+ bearerFormat?: string | undefined;
288
+ }, {
289
+ type: "http";
290
+ description?: string | undefined;
291
+ scheme?: string | undefined;
292
+ bearerFormat?: string | undefined;
293
+ }>;
294
+ export declare const MutualTlsSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
295
+ description: import("zod").ZodOptional<import("zod").ZodString>;
296
+ }, {
297
+ type: import("zod").ZodLiteral<"mutualTLS">;
298
+ }>, "strip", import("zod").ZodTypeAny, {
299
+ type: "mutualTLS";
300
+ description?: string | undefined;
301
+ }, {
302
+ type: "mutualTLS";
303
+ description?: string | undefined;
304
+ }>;
305
+ export declare const OpenIdConnectSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
306
+ description: import("zod").ZodOptional<import("zod").ZodString>;
307
+ }, {
308
+ type: import("zod").ZodLiteral<"openIdConnect">;
309
+ openIdConnectUrl: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
310
+ }>, "strip", import("zod").ZodTypeAny, {
311
+ type: "openIdConnect";
312
+ openIdConnectUrl: string;
313
+ description?: string | undefined;
314
+ }, {
315
+ type: "openIdConnect";
316
+ description?: string | undefined;
317
+ openIdConnectUrl?: string | undefined;
318
+ }>;
319
+ export declare const OAuthFlowsObjectSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
320
+ description: import("zod").ZodOptional<import("zod").ZodString>;
321
+ }, {
322
+ type: import("zod").ZodLiteral<"oauth2">;
323
+ flows: import("zod").ZodObject<{
324
+ implicit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
325
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
326
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
327
+ }, {
328
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"implicit">>;
329
+ authorizationUrl: import("zod").ZodDefault<import("zod").ZodString>;
330
+ }>, "strip", import("zod").ZodTypeAny, {
331
+ scopes: Record<string, string | undefined>;
332
+ authorizationUrl: string;
333
+ type?: "implicit" | undefined;
334
+ refreshUrl?: string | undefined;
335
+ }, {
336
+ type?: "implicit" | undefined;
337
+ refreshUrl?: string | undefined;
338
+ scopes?: unknown;
339
+ authorizationUrl?: string | undefined;
340
+ }>>>;
341
+ password: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
342
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
343
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
344
+ }, {
345
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"password">>;
346
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
347
+ }>, "strip", import("zod").ZodTypeAny, {
348
+ scopes: Record<string, string | undefined>;
349
+ tokenUrl: string;
350
+ type?: "password" | undefined;
351
+ refreshUrl?: string | undefined;
352
+ }, {
353
+ type?: "password" | undefined;
354
+ refreshUrl?: string | undefined;
355
+ scopes?: unknown;
356
+ tokenUrl?: string | undefined;
357
+ }>>>;
358
+ clientCredentials: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
359
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
360
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
361
+ }, {
362
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"clientCredentials">>;
363
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
364
+ }>, "strip", import("zod").ZodTypeAny, {
365
+ scopes: Record<string, string | undefined>;
366
+ tokenUrl: string;
367
+ type?: "clientCredentials" | undefined;
368
+ refreshUrl?: string | undefined;
369
+ }, {
370
+ type?: "clientCredentials" | undefined;
371
+ refreshUrl?: string | undefined;
372
+ scopes?: unknown;
373
+ tokenUrl?: string | undefined;
374
+ }>>>;
375
+ authorizationCode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
376
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
377
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
378
+ }, {
379
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"authorizationCode">>;
380
+ authorizationUrl: import("zod").ZodDefault<import("zod").ZodString>;
381
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
382
+ }>, "strip", import("zod").ZodTypeAny, {
383
+ scopes: Record<string, string | undefined>;
384
+ authorizationUrl: string;
385
+ tokenUrl: string;
386
+ type?: "authorizationCode" | undefined;
387
+ refreshUrl?: string | undefined;
388
+ }, {
389
+ type?: "authorizationCode" | undefined;
390
+ refreshUrl?: string | undefined;
391
+ scopes?: unknown;
392
+ authorizationUrl?: string | undefined;
393
+ tokenUrl?: string | undefined;
394
+ }>>>;
395
+ }, "strip", import("zod").ZodTypeAny, {
396
+ implicit?: {
397
+ scopes: Record<string, string | undefined>;
398
+ authorizationUrl: string;
399
+ type?: "implicit" | undefined;
400
+ refreshUrl?: string | undefined;
401
+ } | undefined;
402
+ password?: {
403
+ scopes: Record<string, string | undefined>;
404
+ tokenUrl: string;
405
+ type?: "password" | undefined;
406
+ refreshUrl?: string | undefined;
407
+ } | undefined;
408
+ clientCredentials?: {
409
+ scopes: Record<string, string | undefined>;
410
+ tokenUrl: string;
411
+ type?: "clientCredentials" | undefined;
412
+ refreshUrl?: string | undefined;
413
+ } | undefined;
414
+ authorizationCode?: {
415
+ scopes: Record<string, string | undefined>;
416
+ authorizationUrl: string;
417
+ tokenUrl: string;
418
+ type?: "authorizationCode" | undefined;
419
+ refreshUrl?: string | undefined;
420
+ } | undefined;
421
+ }, {
422
+ implicit?: {
423
+ type?: "implicit" | undefined;
424
+ refreshUrl?: string | undefined;
425
+ scopes?: unknown;
426
+ authorizationUrl?: string | undefined;
427
+ } | undefined;
428
+ password?: {
429
+ type?: "password" | undefined;
430
+ refreshUrl?: string | undefined;
431
+ scopes?: unknown;
432
+ tokenUrl?: string | undefined;
433
+ } | undefined;
434
+ clientCredentials?: {
435
+ type?: "clientCredentials" | undefined;
436
+ refreshUrl?: string | undefined;
437
+ scopes?: unknown;
438
+ tokenUrl?: string | undefined;
439
+ } | undefined;
440
+ authorizationCode?: {
441
+ type?: "authorizationCode" | undefined;
442
+ refreshUrl?: string | undefined;
443
+ scopes?: unknown;
444
+ authorizationUrl?: string | undefined;
445
+ tokenUrl?: string | undefined;
446
+ } | undefined;
447
+ }>;
448
+ }>, "strip", import("zod").ZodTypeAny, {
449
+ type: "oauth2";
450
+ flows: {
451
+ implicit?: {
452
+ scopes: Record<string, string | undefined>;
453
+ authorizationUrl: string;
454
+ type?: "implicit" | undefined;
455
+ refreshUrl?: string | undefined;
456
+ } | undefined;
457
+ password?: {
458
+ scopes: Record<string, string | undefined>;
459
+ tokenUrl: string;
460
+ type?: "password" | undefined;
461
+ refreshUrl?: string | undefined;
462
+ } | undefined;
463
+ clientCredentials?: {
464
+ scopes: Record<string, string | undefined>;
465
+ tokenUrl: string;
466
+ type?: "clientCredentials" | undefined;
467
+ refreshUrl?: string | undefined;
468
+ } | undefined;
469
+ authorizationCode?: {
470
+ scopes: Record<string, string | undefined>;
471
+ authorizationUrl: string;
472
+ tokenUrl: string;
473
+ type?: "authorizationCode" | undefined;
474
+ refreshUrl?: string | undefined;
475
+ } | undefined;
476
+ };
477
+ description?: string | undefined;
478
+ }, {
479
+ type: "oauth2";
480
+ flows: {
481
+ implicit?: {
482
+ type?: "implicit" | undefined;
483
+ refreshUrl?: string | undefined;
484
+ scopes?: unknown;
485
+ authorizationUrl?: string | undefined;
486
+ } | undefined;
487
+ password?: {
488
+ type?: "password" | undefined;
489
+ refreshUrl?: string | undefined;
490
+ scopes?: unknown;
491
+ tokenUrl?: string | undefined;
492
+ } | undefined;
493
+ clientCredentials?: {
494
+ type?: "clientCredentials" | undefined;
495
+ refreshUrl?: string | undefined;
496
+ scopes?: unknown;
497
+ tokenUrl?: string | undefined;
498
+ } | undefined;
499
+ authorizationCode?: {
500
+ type?: "authorizationCode" | undefined;
501
+ refreshUrl?: string | undefined;
502
+ scopes?: unknown;
503
+ authorizationUrl?: string | undefined;
504
+ tokenUrl?: string | undefined;
505
+ } | undefined;
506
+ };
507
+ description?: string | undefined;
508
+ }>;
509
+ export declare const OAuthFlowObjectSchema: import("zod").ZodObject<{
510
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
511
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
512
+ }, "strip", import("zod").ZodTypeAny, {
513
+ scopes: Record<string, string | undefined>;
514
+ refreshUrl?: string | undefined;
515
+ }, {
516
+ refreshUrl?: string | undefined;
517
+ scopes?: unknown;
518
+ }>;
519
+ export declare const AuthorizationCodeFlowSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
520
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
521
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
522
+ }, {
523
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"authorizationCode">>;
524
+ authorizationUrl: import("zod").ZodDefault<import("zod").ZodString>;
525
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
526
+ }>, "strip", import("zod").ZodTypeAny, {
527
+ scopes: Record<string, string | undefined>;
528
+ authorizationUrl: string;
529
+ tokenUrl: string;
530
+ type?: "authorizationCode" | undefined;
531
+ refreshUrl?: string | undefined;
532
+ }, {
533
+ type?: "authorizationCode" | undefined;
534
+ refreshUrl?: string | undefined;
535
+ scopes?: unknown;
536
+ authorizationUrl?: string | undefined;
537
+ tokenUrl?: string | undefined;
538
+ }>;
539
+ export declare const ClientCredentialsFlowSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
540
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
541
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
542
+ }, {
543
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"clientCredentials">>;
544
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
545
+ }>, "strip", import("zod").ZodTypeAny, {
546
+ scopes: Record<string, string | undefined>;
547
+ tokenUrl: string;
548
+ type?: "clientCredentials" | undefined;
549
+ refreshUrl?: string | undefined;
550
+ }, {
551
+ type?: "clientCredentials" | undefined;
552
+ refreshUrl?: string | undefined;
553
+ scopes?: unknown;
554
+ tokenUrl?: string | undefined;
555
+ }>;
556
+ export declare const ImplicitFlowSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
557
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
558
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
559
+ }, {
560
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"implicit">>;
561
+ authorizationUrl: import("zod").ZodDefault<import("zod").ZodString>;
562
+ }>, "strip", import("zod").ZodTypeAny, {
563
+ scopes: Record<string, string | undefined>;
564
+ authorizationUrl: string;
565
+ type?: "implicit" | undefined;
566
+ refreshUrl?: string | undefined;
567
+ }, {
568
+ type?: "implicit" | undefined;
569
+ refreshUrl?: string | undefined;
570
+ scopes?: unknown;
571
+ authorizationUrl?: string | undefined;
572
+ }>;
573
+ export declare const PasswordFlowSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
574
+ refreshUrl: import("zod").ZodOptional<import("zod").ZodString>;
575
+ scopes: import("zod").ZodCatch<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>>>;
576
+ }, {
577
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"password">>;
578
+ tokenUrl: import("zod").ZodDefault<import("zod").ZodString>;
579
+ }>, "strip", import("zod").ZodTypeAny, {
580
+ scopes: Record<string, string | undefined>;
581
+ tokenUrl: string;
582
+ type?: "password" | undefined;
583
+ refreshUrl?: string | undefined;
584
+ }, {
585
+ type?: "password" | undefined;
586
+ refreshUrl?: string | undefined;
587
+ scopes?: unknown;
588
+ tokenUrl?: string | undefined;
589
+ }>;
590
+ //# sourceMappingURL=security-scheme-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security-scheme-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/security-scheme-object.ts"],"names":[],"mappings":"AAeA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAqC,CAAA;AAE5E,eAAO,MAAM,cAAc,wCAAyB,CAAA;AACpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;EAAuB,CAAA;AAChD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;EAAqB,CAAA;AAC5C,eAAO,MAAM,eAAe;;;;;;;;;;EAA0B,CAAA;AACtD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;EAA8B,CAAA;AAE9D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACpE,eAAO,MAAM,qBAAqB;;;;;;;;;EAAgC,CAAA;AAClE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;EAAsC,CAAA;AAC9E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;EAAsC,CAAA;AAC9E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;EAA6B,CAAA;AAC5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;EAA6B,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { SecuritySchemeObjectSchema as SecuritySchemeObjectSchema$1, ApiKeyInValues as ApiKeyInValues$1, ApiKeySchema as ApiKeySchema$1, HttpSchema as HttpSchema$1, MutualTlsSchema as MutualTlsSchema$1, OpenIdConnectSchema as OpenIdConnectSchema$1, OAuthFlowsObjectSchema as OAuthFlowsObjectSchema$1, OAuthFlowObjectSchema as OAuthFlowObjectSchema$1, AuthorizationCodeFlowSchema as AuthorizationCodeFlowSchema$1, ClientCredentialsFlowSchema as ClientCredentialsFlowSchema$1, ImplicitFlowSchema as ImplicitFlowSchema$1, PasswordFlowSchema as PasswordFlowSchema$1 } from '../processed/security-scheme-object.js';
2
+
3
+ /**
4
+ * Security Scheme Object
5
+ *
6
+ * Defines a security scheme that can be used by the operations.
7
+ *
8
+ * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query
9
+ * parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials
10
+ * and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit
11
+ * flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is
12
+ * Authorization Code Grant flow with PKCE.
13
+ *
14
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#security-scheme-object
15
+ */
16
+ const SecuritySchemeObjectSchema = SecuritySchemeObjectSchema$1;
17
+ const ApiKeyInValues = ApiKeyInValues$1;
18
+ const ApiKeySchema = ApiKeySchema$1;
19
+ const HttpSchema = HttpSchema$1;
20
+ const MutualTlsSchema = MutualTlsSchema$1;
21
+ const OpenIdConnectSchema = OpenIdConnectSchema$1;
22
+ const OAuthFlowsObjectSchema = OAuthFlowsObjectSchema$1;
23
+ const OAuthFlowObjectSchema = OAuthFlowObjectSchema$1;
24
+ const AuthorizationCodeFlowSchema = AuthorizationCodeFlowSchema$1;
25
+ const ClientCredentialsFlowSchema = ClientCredentialsFlowSchema$1;
26
+ const ImplicitFlowSchema = ImplicitFlowSchema$1;
27
+ const PasswordFlowSchema = PasswordFlowSchema$1;
28
+
29
+ export { ApiKeyInValues, ApiKeySchema, AuthorizationCodeFlowSchema, ClientCredentialsFlowSchema, HttpSchema, ImplicitFlowSchema, MutualTlsSchema, OAuthFlowObjectSchema, OAuthFlowsObjectSchema, OpenIdConnectSchema, PasswordFlowSchema, SecuritySchemeObjectSchema };
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Server Object
3
+ *
4
+ * An object representing a Server.
5
+ *
6
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#server-object
7
+ */
8
+ export declare const ServerObjectSchema: import("zod").ZodObject<{
9
+ url: import("zod").ZodString;
10
+ description: import("zod").ZodOptional<import("zod").ZodString>;
11
+ variables: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
12
+ enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13
+ default: import("zod").ZodOptional<import("zod").ZodString>;
14
+ description: import("zod").ZodOptional<import("zod").ZodString>;
15
+ }, "strip", import("zod").ZodTypeAny, {
16
+ description?: string | undefined;
17
+ default?: string | undefined;
18
+ enum?: string[] | undefined;
19
+ }, {
20
+ description?: string | undefined;
21
+ default?: string | undefined;
22
+ enum?: string[] | undefined;
23
+ }>>>;
24
+ }, "strip", import("zod").ZodTypeAny, {
25
+ url: string;
26
+ description?: string | undefined;
27
+ variables?: Record<string, {
28
+ description?: string | undefined;
29
+ default?: string | undefined;
30
+ enum?: string[] | undefined;
31
+ }> | undefined;
32
+ }, {
33
+ url: string;
34
+ description?: string | undefined;
35
+ variables?: Record<string, {
36
+ description?: string | undefined;
37
+ default?: string | undefined;
38
+ enum?: string[] | undefined;
39
+ }> | undefined;
40
+ }>;
41
+ //# sourceMappingURL=server-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/server-object.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA"}