@skmtc/core 0.0.984 → 0.16.1

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 (2124) hide show
  1. package/README.md +65 -32
  2. package/esm/_dnt.polyfills.d.ts +7 -0
  3. package/esm/_dnt.polyfills.d.ts.map +1 -0
  4. package/esm/anchors/CaptureSink.d.ts +83 -0
  5. package/esm/anchors/CaptureSink.d.ts.map +1 -0
  6. package/esm/anchors/CaptureSink.js +188 -0
  7. package/esm/anchors/ParserAdapter.d.ts +76 -0
  8. package/esm/anchors/ParserAdapter.d.ts.map +1 -0
  9. package/esm/anchors/ParserAdapter.js +19 -0
  10. package/esm/anchors/attribute.d.ts +25 -0
  11. package/esm/anchors/attribute.d.ts.map +1 -0
  12. package/esm/anchors/attribute.js +84 -0
  13. package/esm/anchors/buildSidecar.d.ts +54 -0
  14. package/esm/anchors/buildSidecar.d.ts.map +1 -0
  15. package/esm/anchors/buildSidecar.js +104 -0
  16. package/esm/anchors/generationMap.d.ts +67 -0
  17. package/esm/anchors/generationMap.d.ts.map +1 -0
  18. package/esm/anchors/generationMap.js +97 -0
  19. package/esm/anchors/postPass.d.ts +87 -0
  20. package/esm/anchors/postPass.d.ts.map +1 -0
  21. package/esm/anchors/postPass.js +77 -0
  22. package/esm/anchors/sidecar.d.ts +89 -0
  23. package/esm/anchors/sidecar.d.ts.map +1 -0
  24. package/esm/anchors/sidecar.js +99 -0
  25. package/esm/anchors/types.d.ts +51 -0
  26. package/esm/anchors/types.d.ts.map +1 -0
  27. package/esm/anchors/types.js +9 -0
  28. package/esm/app/validate.d.ts +1 -0
  29. package/esm/app/validate.d.ts.map +1 -1
  30. package/esm/app/validate.js +1 -0
  31. package/esm/context/CoreContext.d.ts +75 -39
  32. package/esm/context/CoreContext.d.ts.map +1 -1
  33. package/esm/context/CoreContext.js +184 -53
  34. package/esm/context/GenerateContext.d.ts +154 -115
  35. package/esm/context/GenerateContext.d.ts.map +1 -1
  36. package/esm/context/GenerateContext.js +884 -255
  37. package/esm/context/ParseContext.d.ts +165 -107
  38. package/esm/context/ParseContext.d.ts.map +1 -1
  39. package/esm/context/ParseContext.js +399 -116
  40. package/esm/context/ParseIssue.d.ts +80 -0
  41. package/esm/context/ParseIssue.d.ts.map +1 -0
  42. package/esm/context/ParseIssue.js +33 -0
  43. package/esm/context/RenderContext.d.ts +46 -24
  44. package/esm/context/RenderContext.d.ts.map +1 -1
  45. package/esm/context/RenderContext.js +140 -37
  46. package/esm/context/StackTrail.d.ts +68 -0
  47. package/esm/context/StackTrail.d.ts.map +1 -1
  48. package/esm/context/StackTrail.js +84 -0
  49. package/esm/context/generateTypes.d.ts +253 -70
  50. package/esm/context/generateTypes.d.ts.map +1 -1
  51. package/esm/context/generateTypes.js +33 -1
  52. package/esm/context/parseTypes.d.ts +148 -49
  53. package/esm/context/parseTypes.d.ts.map +1 -1
  54. package/esm/context/parseTypes.js +17 -0
  55. package/esm/context/tryParseAt.d.ts +70 -0
  56. package/esm/context/tryParseAt.d.ts.map +1 -0
  57. package/esm/context/tryParseAt.js +53 -0
  58. package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
  59. package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.js +903 -0
  61. package/esm/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@std/fs/1.0.23/exists.js +271 -0
  63. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
  64. package/esm/deps/jsr.io/@std/internal/1.0.13/_os.js +12 -0
  65. package/esm/deps/jsr.io/@std/internal/1.0.13/os.d.ts.map +1 -0
  66. package/esm/deps/jsr.io/@std/internal/1.0.13/os.js +5 -0
  67. package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
  68. package/esm/deps/jsr.io/@std/io/0.225.3/types.js +15 -0
  69. package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
  70. package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
  71. package/esm/deps/jsr.io/@std/io/0.225.3/write_all.js +61 -0
  72. package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
  73. package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.js +1 -1
  74. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  75. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  76. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  79. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  81. package/esm/deps/jsr.io/@std/path/1.1.4/join.js +29 -0
  82. package/esm/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@std/path/1.1.4/normalize.js +32 -0
  84. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  85. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  87. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  88. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  89. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  90. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  91. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  92. package/esm/dsl/CodeFileBase.d.ts +38 -0
  93. package/esm/dsl/CodeFileBase.d.ts.map +1 -0
  94. package/esm/dsl/CodeFileBase.js +60 -0
  95. package/esm/dsl/ContentSettings.d.ts +44 -20
  96. package/esm/dsl/ContentSettings.d.ts.map +1 -1
  97. package/esm/dsl/ContentSettings.js +35 -17
  98. package/esm/dsl/CustomValue.d.ts +3 -2
  99. package/esm/dsl/CustomValue.d.ts.map +1 -1
  100. package/esm/dsl/CustomValue.js +3 -2
  101. package/esm/dsl/Definition.d.ts +32 -200
  102. package/esm/dsl/Definition.d.ts.map +1 -1
  103. package/esm/dsl/Definition.js +16 -212
  104. package/esm/dsl/FileBase.d.ts +42 -0
  105. package/esm/dsl/FileBase.d.ts.map +1 -0
  106. package/esm/dsl/FileBase.js +53 -0
  107. package/esm/dsl/GeneratedValue.d.ts +2 -2
  108. package/esm/dsl/GeneratedValue.d.ts.map +1 -1
  109. package/esm/dsl/GeneratorKeys.d.ts +266 -73
  110. package/esm/dsl/GeneratorKeys.d.ts.map +1 -1
  111. package/esm/dsl/GeneratorKeys.js +199 -67
  112. package/esm/dsl/IdentifierBase.d.ts +55 -0
  113. package/esm/dsl/IdentifierBase.d.ts.map +1 -0
  114. package/esm/dsl/IdentifierBase.js +64 -0
  115. package/esm/dsl/IdentifierType.d.ts +31 -0
  116. package/esm/dsl/IdentifierType.d.ts.map +1 -0
  117. package/esm/dsl/IdentifierType.js +1 -0
  118. package/esm/dsl/ImportBase.d.ts +40 -0
  119. package/esm/dsl/ImportBase.d.ts.map +1 -0
  120. package/esm/dsl/ImportBase.js +24 -0
  121. package/esm/dsl/Inserted.d.ts +10 -10
  122. package/esm/dsl/Inserted.d.ts.map +1 -1
  123. package/esm/dsl/Inserted.js +8 -8
  124. package/esm/dsl/JsonFile.d.ts +2 -3
  125. package/esm/dsl/JsonFile.d.ts.map +1 -1
  126. package/esm/dsl/JsonFile.js +3 -9
  127. package/esm/dsl/Lang.d.ts +136 -0
  128. package/esm/dsl/Lang.d.ts.map +1 -0
  129. package/esm/dsl/Lang.js +1 -0
  130. package/esm/dsl/ReExportBase.d.ts +42 -0
  131. package/esm/dsl/ReExportBase.d.ts.map +1 -0
  132. package/esm/dsl/ReExportBase.js +27 -0
  133. package/esm/dsl/SnippetBase.d.ts +86 -0
  134. package/esm/dsl/SnippetBase.d.ts.map +1 -0
  135. package/esm/dsl/SnippetBase.js +113 -0
  136. package/esm/dsl/Stringable.d.ts +1 -0
  137. package/esm/dsl/Stringable.d.ts.map +1 -1
  138. package/esm/dsl/Stringable.js +9 -1
  139. package/esm/dsl/model/ModelDriver.d.ts +23 -58
  140. package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
  141. package/esm/dsl/model/ModelDriver.js +86 -77
  142. package/esm/dsl/model/toModelEntry.d.ts +17 -23
  143. package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
  144. package/esm/dsl/model/toModelEntry.js +7 -14
  145. package/esm/dsl/model/toModelProjectionBase.d.ts +125 -0
  146. package/esm/dsl/model/toModelProjectionBase.d.ts.map +1 -0
  147. package/esm/dsl/model/toModelProjectionBase.js +146 -0
  148. package/esm/dsl/model/types.d.ts +87 -54
  149. package/esm/dsl/model/types.d.ts.map +1 -1
  150. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +52 -0
  151. package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -0
  152. package/esm/dsl/operation/gql/GqlOperationDriver.js +203 -0
  153. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +44 -0
  154. package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -0
  155. package/esm/dsl/operation/gql/toGqlOperationEntry.js +45 -0
  156. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +128 -0
  157. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -0
  158. package/esm/dsl/operation/gql/toGqlOperationProjectionBase.js +160 -0
  159. package/esm/dsl/operation/gql/types.d.ts +141 -0
  160. package/esm/dsl/operation/gql/types.d.ts.map +1 -0
  161. package/esm/dsl/operation/gql/types.js +1 -0
  162. package/esm/dsl/operation/oas/OasOperationDriver.d.ts +52 -0
  163. package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -0
  164. package/esm/dsl/operation/oas/OasOperationDriver.js +220 -0
  165. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +70 -0
  166. package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -0
  167. package/esm/dsl/operation/oas/toOasOperationEntry.js +68 -0
  168. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +144 -0
  169. package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -0
  170. package/esm/dsl/operation/oas/toOasOperationProjectionBase.js +177 -0
  171. package/esm/dsl/operation/oas/types.d.ts +151 -0
  172. package/esm/dsl/operation/oas/types.d.ts.map +1 -0
  173. package/esm/dsl/operation/oas/types.js +1 -0
  174. package/esm/dsl/webhook/WebhookDriver.d.ts +50 -0
  175. package/esm/dsl/webhook/WebhookDriver.d.ts.map +1 -0
  176. package/esm/dsl/webhook/WebhookDriver.js +190 -0
  177. package/esm/dsl/webhook/toWebhookEntry.d.ts +58 -0
  178. package/esm/dsl/webhook/toWebhookEntry.d.ts.map +1 -0
  179. package/esm/dsl/webhook/toWebhookEntry.js +64 -0
  180. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +125 -0
  181. package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -0
  182. package/esm/dsl/webhook/toWebhookProjectionBase.js +160 -0
  183. package/esm/dsl/webhook/types.d.ts +149 -0
  184. package/esm/dsl/webhook/types.d.ts.map +1 -0
  185. package/esm/dsl/webhook/types.js +1 -0
  186. package/esm/enrichments/readEnrichments.d.ts +69 -0
  187. package/esm/enrichments/readEnrichments.d.ts.map +1 -0
  188. package/esm/enrichments/readEnrichments.js +59 -0
  189. package/esm/enrichments/toEnrichmentDescriptor.d.ts +97 -0
  190. package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +1 -0
  191. package/esm/enrichments/toEnrichmentDescriptor.js +157 -0
  192. package/esm/gql/_helpers/recordAppliedDirectives.d.ts +25 -0
  193. package/esm/gql/_helpers/recordAppliedDirectives.d.ts.map +1 -0
  194. package/esm/gql/_helpers/recordAppliedDirectives.js +37 -0
  195. package/esm/gql/_helpers/unwrapType.d.ts +39 -0
  196. package/esm/gql/_helpers/unwrapType.d.ts.map +1 -0
  197. package/esm/gql/_helpers/unwrapType.js +47 -0
  198. package/esm/gql/argument/GqlArgument.d.ts +55 -0
  199. package/esm/gql/argument/GqlArgument.d.ts.map +1 -0
  200. package/esm/gql/argument/GqlArgument.js +83 -0
  201. package/esm/gql/document/GqlDocument.d.ts +93 -0
  202. package/esm/gql/document/GqlDocument.d.ts.map +1 -0
  203. package/esm/gql/document/GqlDocument.js +170 -0
  204. package/esm/gql/document/parseGqlDocument.d.ts +33 -0
  205. package/esm/gql/document/parseGqlDocument.d.ts.map +1 -0
  206. package/esm/gql/document/parseGqlDocument.js +185 -0
  207. package/esm/gql/enum/toEnumType.d.ts +29 -0
  208. package/esm/gql/enum/toEnumType.d.ts.map +1 -0
  209. package/esm/gql/enum/toEnumType.js +22 -0
  210. package/esm/gql/field/toFieldSchema.d.ts +38 -0
  211. package/esm/gql/field/toFieldSchema.d.ts.map +1 -0
  212. package/esm/gql/field/toFieldSchema.js +83 -0
  213. package/esm/gql/input/toInputType.d.ts +28 -0
  214. package/esm/gql/input/toInputType.d.ts.map +1 -0
  215. package/esm/gql/input/toInputType.js +46 -0
  216. package/esm/gql/interface/toInterfaceUnion.d.ts +28 -0
  217. package/esm/gql/interface/toInterfaceUnion.d.ts.map +1 -0
  218. package/esm/gql/interface/toInterfaceUnion.js +34 -0
  219. package/esm/gql/object/toObjectType.d.ts +23 -0
  220. package/esm/gql/object/toObjectType.d.ts.map +1 -0
  221. package/esm/gql/object/toObjectType.js +62 -0
  222. package/esm/gql/operation/GqlOperation.d.ts +63 -0
  223. package/esm/gql/operation/GqlOperation.d.ts.map +1 -0
  224. package/esm/gql/operation/GqlOperation.js +90 -0
  225. package/esm/gql/operation/synthesizeArgsObject.d.ts +22 -0
  226. package/esm/gql/operation/synthesizeArgsObject.d.ts.map +1 -0
  227. package/esm/gql/operation/synthesizeArgsObject.js +37 -0
  228. package/esm/gql/operation/toRootField.d.ts +26 -0
  229. package/esm/gql/operation/toRootField.d.ts.map +1 -0
  230. package/esm/gql/operation/toRootField.js +51 -0
  231. package/esm/gql/registry/GqlRegistry.d.ts +70 -0
  232. package/esm/gql/registry/GqlRegistry.d.ts.map +1 -0
  233. package/esm/gql/registry/GqlRegistry.js +76 -0
  234. package/esm/gql/rootType/GqlRootTypes.d.ts +15 -0
  235. package/esm/gql/rootType/GqlRootTypes.d.ts.map +1 -0
  236. package/esm/gql/rootType/GqlRootTypes.js +1 -0
  237. package/esm/gql/scalar/toScalarType.d.ts +33 -0
  238. package/esm/gql/scalar/toScalarType.d.ts.map +1 -0
  239. package/esm/gql/scalar/toScalarType.js +43 -0
  240. package/esm/gql/union/toUnionType.d.ts +24 -0
  241. package/esm/gql/union/toUnionType.d.ts.map +1 -0
  242. package/esm/gql/union/toUnionType.js +29 -0
  243. package/esm/helpers/collateExamples.d.ts +1 -0
  244. package/esm/helpers/collateExamples.d.ts.map +1 -1
  245. package/esm/helpers/collateExamples.js +1 -0
  246. package/esm/helpers/formatNumber.d.ts +1 -0
  247. package/esm/helpers/formatNumber.d.ts.map +1 -1
  248. package/esm/helpers/formatNumber.js +1 -0
  249. package/esm/helpers/isEmpty.d.ts +1 -0
  250. package/esm/helpers/isEmpty.d.ts.map +1 -1
  251. package/esm/helpers/isEmpty.js +1 -0
  252. package/esm/helpers/isImported.js +1 -1
  253. package/esm/helpers/refFns.d.ts +2 -1
  254. package/esm/helpers/refFns.d.ts.map +1 -1
  255. package/esm/helpers/refFns.js +1 -0
  256. package/esm/helpers/strings.d.ts +1 -0
  257. package/esm/helpers/strings.d.ts.map +1 -1
  258. package/esm/helpers/strings.js +1 -0
  259. package/esm/helpers/toResolvedArtifactPath.d.ts +1 -0
  260. package/esm/helpers/toResolvedArtifactPath.d.ts.map +1 -1
  261. package/esm/helpers/toResolvedArtifactPath.js +2 -1
  262. package/esm/helpers/toVariantList.d.ts +32 -0
  263. package/esm/helpers/toVariantList.d.ts.map +1 -0
  264. package/esm/helpers/toVariantList.js +31 -0
  265. package/esm/helpers/withVariant.d.ts +20 -0
  266. package/esm/helpers/withVariant.d.ts.map +1 -0
  267. package/esm/helpers/withVariant.js +27 -0
  268. package/esm/mod.d.ts +58 -37
  269. package/esm/mod.d.ts.map +1 -1
  270. package/esm/mod.js +61 -37
  271. package/esm/oas/array/Array.d.ts +5 -2
  272. package/esm/oas/array/Array.d.ts.map +1 -1
  273. package/esm/oas/array/Array.js +5 -2
  274. package/esm/oas/boolean/Boolean.d.ts +8 -2
  275. package/esm/oas/boolean/Boolean.d.ts.map +1 -1
  276. package/esm/oas/boolean/Boolean.js +8 -2
  277. package/esm/oas/components/Components.d.ts +1 -0
  278. package/esm/oas/components/Components.d.ts.map +1 -1
  279. package/esm/oas/components/Components.js +1 -0
  280. package/esm/oas/discriminator/Discriminator.d.ts +1 -0
  281. package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
  282. package/esm/oas/discriminator/Discriminator.js +1 -0
  283. package/esm/oas/document/Document.d.ts +56 -2
  284. package/esm/oas/document/Document.d.ts.map +1 -1
  285. package/esm/oas/document/Document.js +61 -1
  286. package/esm/oas/info/Info.d.ts +1 -0
  287. package/esm/oas/info/Info.d.ts.map +1 -1
  288. package/esm/oas/info/Info.js +1 -0
  289. package/esm/oas/integer/Integer.d.ts +5 -2
  290. package/esm/oas/integer/Integer.d.ts.map +1 -1
  291. package/esm/oas/integer/Integer.js +5 -2
  292. package/esm/oas/mediaType/MediaType.d.ts +4 -2
  293. package/esm/oas/mediaType/MediaType.d.ts.map +1 -1
  294. package/esm/oas/mediaType/MediaType.js +4 -2
  295. package/esm/oas/number/Number.d.ts +5 -2
  296. package/esm/oas/number/Number.d.ts.map +1 -1
  297. package/esm/oas/number/Number.js +5 -2
  298. package/esm/oas/object/Object.d.ts +5 -2
  299. package/esm/oas/object/Object.d.ts.map +1 -1
  300. package/esm/oas/object/Object.js +5 -2
  301. package/esm/oas/operation/Operation.d.ts +5 -2
  302. package/esm/oas/operation/Operation.d.ts.map +1 -1
  303. package/esm/oas/operation/Operation.js +5 -2
  304. package/esm/oas/parameter/Parameter.d.ts +5 -2
  305. package/esm/oas/parameter/Parameter.d.ts.map +1 -1
  306. package/esm/oas/parameter/Parameter.js +5 -2
  307. package/esm/oas/ref/Ref.d.ts +37 -6
  308. package/esm/oas/ref/Ref.d.ts.map +1 -1
  309. package/esm/oas/ref/Ref.js +67 -40
  310. package/esm/oas/requestBody/RequestBody.d.ts +5 -2
  311. package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
  312. package/esm/oas/requestBody/RequestBody.js +5 -2
  313. package/esm/oas/response/Response.d.ts +5 -2
  314. package/esm/oas/response/Response.d.ts.map +1 -1
  315. package/esm/oas/response/Response.js +5 -2
  316. package/esm/oas/schema/Schema.d.ts +1 -0
  317. package/esm/oas/schema/Schema.d.ts.map +1 -1
  318. package/esm/oas/schema/Schema.js +1 -1
  319. package/esm/oas/server/Server.d.ts +1 -0
  320. package/esm/oas/server/Server.d.ts.map +1 -1
  321. package/esm/oas/server/Server.js +1 -0
  322. package/esm/oas/string/String.d.ts +5 -2
  323. package/esm/oas/string/String.d.ts.map +1 -1
  324. package/esm/oas/string/String.js +5 -2
  325. package/esm/oas/tag/Tag.d.ts +4 -0
  326. package/esm/oas/tag/Tag.d.ts.map +1 -1
  327. package/esm/oas/tag/Tag.js +4 -0
  328. package/esm/oas/tag/tag-types.d.ts +2 -0
  329. package/esm/oas/tag/tag-types.d.ts.map +1 -1
  330. package/esm/oas/tag/tag-types.js +3 -2
  331. package/esm/oas/union/Union.d.ts +4 -2
  332. package/esm/oas/union/Union.d.ts.map +1 -1
  333. package/esm/oas/union/Union.js +4 -2
  334. package/esm/oas/unknown/Unknown.d.ts +5 -2
  335. package/esm/oas/unknown/Unknown.d.ts.map +1 -1
  336. package/esm/oas/unknown/Unknown.js +5 -2
  337. package/esm/oas/void/Void.d.ts +6 -3
  338. package/esm/oas/void/Void.d.ts.map +1 -1
  339. package/esm/oas/void/Void.js +6 -3
  340. package/esm/oas/webhook/Webhook.d.ts +109 -0
  341. package/esm/oas/webhook/Webhook.d.ts.map +1 -0
  342. package/esm/oas/webhook/Webhook.js +166 -0
  343. package/esm/parse/toOasDialect.d.ts +26 -0
  344. package/esm/parse/toOasDialect.d.ts.map +1 -0
  345. package/esm/parse/toOasDialect.js +22 -0
  346. package/esm/parse/v3-0/_helpers/parseDefault.d.ts +44 -0
  347. package/esm/parse/v3-0/_helpers/parseDefault.d.ts.map +1 -0
  348. package/esm/parse/v3-0/_helpers/parseDefault.js +39 -0
  349. package/esm/parse/v3-0/_helpers/parseEnum.d.ts +14 -0
  350. package/esm/parse/v3-0/_helpers/parseEnum.d.ts.map +1 -0
  351. package/esm/parse/v3-0/_helpers/parseEnum.js +23 -0
  352. package/esm/parse/v3-0/_helpers/parseExample.d.ts +42 -0
  353. package/esm/parse/v3-0/_helpers/parseExample.d.ts.map +1 -0
  354. package/esm/parse/v3-0/_helpers/parseExample.js +37 -0
  355. package/esm/parse/v3-0/_helpers/parseNullable.d.ts +142 -0
  356. package/esm/parse/v3-0/_helpers/parseNullable.d.ts.map +1 -0
  357. package/esm/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
  358. package/esm/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
  359. package/esm/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
  360. package/esm/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
  361. package/esm/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
  362. package/esm/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
  363. package/esm/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
  364. package/esm/parse/v3-0/_merge-all-of/cross-product.d.ts.map +1 -0
  365. package/esm/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +1 -0
  366. package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -0
  367. package/esm/parse/v3-0/_merge-all-of/decompose-union.js +73 -0
  368. package/esm/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +1 -0
  369. package/esm/parse/v3-0/_merge-all-of/is-equal.d.ts.map +1 -0
  370. package/esm/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
  371. package/esm/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
  372. package/esm/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +1 -0
  373. package/esm/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
  374. package/esm/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +1 -0
  375. package/esm/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
  376. package/esm/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
  377. package/esm/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +1 -0
  378. package/esm/parse/v3-0/_merge-all-of/merge-required.d.ts.map +1 -0
  379. package/esm/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
  380. package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -0
  381. package/esm/parse/v3-0/_merge-all-of/merge-union.js +61 -0
  382. package/esm/parse/v3-0/_merge-all-of/merge.d.ts.map +1 -0
  383. package/esm/parse/v3-0/_merge-all-of/merge.js +155 -0
  384. package/esm/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +1 -0
  385. package/esm/parse/v3-0/_merge-all-of/nullable-merge.js +12 -0
  386. package/esm/parse/v3-0/_merge-all-of/types.d.ts.map +1 -0
  387. package/esm/parse/v3-0/array/toArray.d.ts +81 -0
  388. package/esm/parse/v3-0/array/toArray.d.ts.map +1 -0
  389. package/esm/parse/v3-0/array/toArray.js +165 -0
  390. package/esm/parse/v3-0/boolean/toBoolean.d.ts +79 -0
  391. package/esm/parse/v3-0/boolean/toBoolean.d.ts.map +1 -0
  392. package/esm/parse/v3-0/boolean/toBoolean.js +139 -0
  393. package/esm/parse/v3-0/components/toComponentsV3.d.ts +11 -0
  394. package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +1 -0
  395. package/esm/parse/v3-0/components/toComponentsV3.js +39 -0
  396. package/esm/parse/v3-0/contact/toContactV3.d.ts +6 -0
  397. package/esm/parse/v3-0/contact/toContactV3.d.ts.map +1 -0
  398. package/esm/parse/v3-0/contact/toContactV3.js +18 -0
  399. package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +11 -0
  400. package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +1 -0
  401. package/esm/parse/v3-0/discriminator/toDiscriminatorV3.js +20 -0
  402. package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts +14 -0
  403. package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +1 -0
  404. package/esm/parse/v3-0/document/toDocumentFieldsV3.js +32 -0
  405. package/esm/parse/v3-0/example/toExamplesV3.d.ts +68 -0
  406. package/esm/parse/v3-0/example/toExamplesV3.d.ts.map +1 -0
  407. package/esm/parse/v3-0/example/toExamplesV3.js +89 -0
  408. package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts +11 -0
  409. package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +1 -0
  410. package/esm/parse/v3-0/externalDocs/toExternalDocs.js +15 -0
  411. package/esm/parse/v3-0/header/toHeadersV3.d.ts +17 -0
  412. package/esm/parse/v3-0/header/toHeadersV3.d.ts.map +1 -0
  413. package/esm/parse/v3-0/header/toHeadersV3.js +47 -0
  414. package/esm/parse/v3-0/info/toInfoV3.d.ts +11 -0
  415. package/esm/parse/v3-0/info/toInfoV3.d.ts.map +1 -0
  416. package/esm/parse/v3-0/info/toInfoV3.js +23 -0
  417. package/esm/parse/v3-0/integer/toInteger.d.ts +22 -0
  418. package/esm/parse/v3-0/integer/toInteger.d.ts.map +1 -0
  419. package/esm/parse/v3-0/integer/toInteger.js +112 -0
  420. package/esm/parse/v3-0/license/toLicenseV3.d.ts +6 -0
  421. package/esm/parse/v3-0/license/toLicenseV3.d.ts.map +1 -0
  422. package/esm/parse/v3-0/license/toLicenseV3.js +17 -0
  423. package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +315 -0
  424. package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
  425. package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.js +314 -0
  426. package/esm/parse/v3-0/number/toNumber.d.ts +11 -0
  427. package/esm/parse/v3-0/number/toNumber.d.ts.map +1 -0
  428. package/esm/parse/v3-0/number/toNumber.js +112 -0
  429. package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +12 -0
  430. package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +1 -0
  431. package/esm/parse/v3-0/object/toObject.d.ts +11 -0
  432. package/esm/parse/v3-0/object/toObject.d.ts.map +1 -0
  433. package/esm/parse/v3-0/object/toObject.js +88 -0
  434. package/esm/parse/v3-0/operation/toOperationsV3.d.ts +26 -0
  435. package/esm/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -0
  436. package/esm/parse/v3-0/operation/toOperationsV3.js +113 -0
  437. package/esm/parse/v3-0/parameter/toParameterV3.d.ts +40 -0
  438. package/esm/parse/v3-0/parameter/toParameterV3.d.ts.map +1 -0
  439. package/esm/parse/v3-0/parameter/toParameterV3.js +112 -0
  440. package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts +11 -0
  441. package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts.map +1 -0
  442. package/esm/parse/v3-0/pathItem/toPathItemV3.js +18 -0
  443. package/esm/parse/v3-0/ref/toRefV31.d.ts +20 -0
  444. package/esm/parse/v3-0/ref/toRefV31.d.ts.map +1 -0
  445. package/esm/parse/v3-0/ref/toRefV31.js +10 -0
  446. package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +19 -0
  447. package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +1 -0
  448. package/esm/parse/v3-0/requestBody/toRequestBodiesV3.js +44 -0
  449. package/esm/parse/v3-0/response/toResponseV3.d.ts +24 -0
  450. package/esm/parse/v3-0/response/toResponseV3.d.ts.map +1 -0
  451. package/esm/parse/v3-0/response/toResponseV3.js +52 -0
  452. package/esm/parse/v3-0/schema/toSchemasV3.d.ts +30 -0
  453. package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -0
  454. package/esm/parse/v3-0/schema/toSchemasV3.js +296 -0
  455. package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +10 -0
  456. package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
  457. package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.js +9 -0
  458. package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +18 -0
  459. package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
  460. package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.js +105 -0
  461. package/esm/parse/v3-0/server/toServerV3.d.ts +23 -0
  462. package/esm/parse/v3-0/server/toServerV3.d.ts.map +1 -0
  463. package/esm/parse/v3-0/server/toServerV3.js +30 -0
  464. package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts +23 -0
  465. package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +1 -0
  466. package/esm/parse/v3-0/serverVariable/toServerVariableV3.js +30 -0
  467. package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
  468. package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
  469. package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.js +25 -0
  470. package/esm/parse/v3-0/string/toString.d.ts +147 -0
  471. package/esm/parse/v3-0/string/toString.d.ts.map +1 -0
  472. package/esm/parse/v3-0/string/toString.js +218 -0
  473. package/esm/parse/v3-0/tag/toTagsV3.d.ts +17 -0
  474. package/esm/parse/v3-0/tag/toTagsV3.d.ts.map +1 -0
  475. package/esm/parse/v3-0/tag/toTagsV3.js +27 -0
  476. package/esm/parse/v3-0/union/toUnion.d.ts +13 -0
  477. package/esm/parse/v3-0/union/toUnion.d.ts.map +1 -0
  478. package/esm/parse/v3-0/union/toUnion.js +66 -0
  479. package/esm/parse/v3-0/unknown/toUnknown.d.ts +11 -0
  480. package/esm/parse/v3-0/unknown/toUnknown.d.ts.map +1 -0
  481. package/esm/parse/v3-0/unknown/toUnknown.js +19 -0
  482. package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts +49 -0
  483. package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -0
  484. package/esm/parse/v3-0/webhook/toWebhooksV3.js +130 -0
  485. package/esm/parse/v3-1/_helpers/parseDefault.d.ts +44 -0
  486. package/esm/parse/v3-1/_helpers/parseDefault.d.ts.map +1 -0
  487. package/esm/parse/v3-1/_helpers/parseDefault.js +39 -0
  488. package/esm/parse/v3-1/_helpers/parseEnum.d.ts +14 -0
  489. package/esm/parse/v3-1/_helpers/parseEnum.d.ts.map +1 -0
  490. package/esm/parse/v3-1/_helpers/parseEnum.js +23 -0
  491. package/esm/parse/v3-1/_helpers/parseExample.d.ts +42 -0
  492. package/esm/parse/v3-1/_helpers/parseExample.d.ts.map +1 -0
  493. package/esm/parse/v3-1/_helpers/parseExample.js +37 -0
  494. package/esm/parse/v3-1/_helpers/parseNullable.d.ts +142 -0
  495. package/esm/parse/v3-1/_helpers/parseNullable.d.ts.map +1 -0
  496. package/esm/parse/v3-1/_helpers/parseNullable.js +140 -0
  497. package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
  498. package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.js +9 -0
  499. package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
  500. package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.js +5 -0
  501. package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
  502. package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.js +11 -0
  503. package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
  504. package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.js +5 -0
  505. package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
  506. package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.js +11 -0
  507. package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
  508. package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.js +5 -0
  509. package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
  510. package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.js +5 -0
  511. package/esm/parse/v3-1/_merge-all-of/cross-product.d.ts.map +1 -0
  512. package/esm/parse/v3-1/_merge-all-of/cross-product.js +3 -0
  513. package/esm/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +1 -0
  514. package/esm/parse/v3-1/_merge-all-of/decompose-intersection.js +27 -0
  515. package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -0
  516. package/esm/parse/v3-1/_merge-all-of/decompose-union.js +73 -0
  517. package/esm/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +1 -0
  518. package/esm/parse/v3-1/_merge-all-of/generic-merge.js +12 -0
  519. package/esm/parse/v3-1/_merge-all-of/is-equal.d.ts.map +1 -0
  520. package/esm/parse/v3-1/_merge-all-of/is-equal.js +19 -0
  521. package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
  522. package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.js +44 -0
  523. package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
  524. package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.js +7 -0
  525. package/esm/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +1 -0
  526. package/esm/parse/v3-1/_merge-all-of/merge-enum-values.js +32 -0
  527. package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
  528. package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.js +41 -0
  529. package/esm/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +1 -0
  530. package/esm/parse/v3-1/_merge-all-of/merge-intersection.js +16 -0
  531. package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
  532. package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.js +41 -0
  533. package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
  534. package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.js +28 -0
  535. package/esm/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +1 -0
  536. package/esm/parse/v3-1/_merge-all-of/merge-properties.js +25 -0
  537. package/esm/parse/v3-1/_merge-all-of/merge-required.d.ts.map +1 -0
  538. package/esm/parse/v3-1/_merge-all-of/merge-required.js +10 -0
  539. package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
  540. package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.js +55 -0
  541. package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -0
  542. package/esm/parse/v3-1/_merge-all-of/merge-union.js +61 -0
  543. package/esm/parse/v3-1/_merge-all-of/merge.d.ts.map +1 -0
  544. package/esm/parse/v3-1/_merge-all-of/merge.js +155 -0
  545. package/esm/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +1 -0
  546. package/esm/parse/v3-1/_merge-all-of/nullable-merge.js +12 -0
  547. package/esm/parse/v3-1/_merge-all-of/types.d.ts.map +1 -0
  548. package/esm/parse/v3-1/_merge-all-of/types.js +2 -0
  549. package/esm/parse/v3-1/array/toArray.d.ts +81 -0
  550. package/esm/parse/v3-1/array/toArray.d.ts.map +1 -0
  551. package/esm/parse/v3-1/array/toArray.js +165 -0
  552. package/esm/parse/v3-1/boolean/toBoolean.d.ts +79 -0
  553. package/esm/parse/v3-1/boolean/toBoolean.d.ts.map +1 -0
  554. package/esm/parse/v3-1/boolean/toBoolean.js +139 -0
  555. package/esm/parse/v3-1/components/toComponentsV3.d.ts +11 -0
  556. package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +1 -0
  557. package/esm/parse/v3-1/components/toComponentsV3.js +39 -0
  558. package/esm/parse/v3-1/contact/toContactV3.d.ts +6 -0
  559. package/esm/parse/v3-1/contact/toContactV3.d.ts.map +1 -0
  560. package/esm/parse/v3-1/contact/toContactV3.js +18 -0
  561. package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +11 -0
  562. package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +1 -0
  563. package/esm/parse/v3-1/discriminator/toDiscriminatorV3.js +20 -0
  564. package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts +15 -0
  565. package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +1 -0
  566. package/esm/parse/v3-1/document/toDocumentFieldsV3.js +32 -0
  567. package/esm/parse/v3-1/example/toExamplesV3.d.ts +68 -0
  568. package/esm/parse/v3-1/example/toExamplesV3.d.ts.map +1 -0
  569. package/esm/parse/v3-1/example/toExamplesV3.js +89 -0
  570. package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts +11 -0
  571. package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +1 -0
  572. package/esm/parse/v3-1/externalDocs/toExternalDocs.js +15 -0
  573. package/esm/parse/v3-1/header/toHeadersV3.d.ts +17 -0
  574. package/esm/parse/v3-1/header/toHeadersV3.d.ts.map +1 -0
  575. package/esm/parse/v3-1/header/toHeadersV3.js +47 -0
  576. package/esm/parse/v3-1/info/toInfoV3.d.ts +11 -0
  577. package/esm/parse/v3-1/info/toInfoV3.d.ts.map +1 -0
  578. package/esm/parse/v3-1/info/toInfoV3.js +23 -0
  579. package/esm/parse/v3-1/integer/toInteger.d.ts +22 -0
  580. package/esm/parse/v3-1/integer/toInteger.d.ts.map +1 -0
  581. package/esm/parse/v3-1/integer/toInteger.js +112 -0
  582. package/esm/parse/v3-1/license/toLicenseV3.d.ts +6 -0
  583. package/esm/parse/v3-1/license/toLicenseV3.d.ts.map +1 -0
  584. package/esm/parse/v3-1/license/toLicenseV3.js +17 -0
  585. package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +315 -0
  586. package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
  587. package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.js +314 -0
  588. package/esm/parse/v3-1/number/toNumber.d.ts +11 -0
  589. package/esm/parse/v3-1/number/toNumber.d.ts.map +1 -0
  590. package/esm/parse/v3-1/number/toNumber.js +112 -0
  591. package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +12 -0
  592. package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +1 -0
  593. package/esm/parse/v3-1/object/toAdditionalPropertiesV3.js +10 -0
  594. package/esm/parse/v3-1/object/toObject.d.ts +11 -0
  595. package/esm/parse/v3-1/object/toObject.d.ts.map +1 -0
  596. package/esm/parse/v3-1/object/toObject.js +88 -0
  597. package/esm/parse/v3-1/operation/toOperationsV3.d.ts +26 -0
  598. package/esm/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -0
  599. package/esm/parse/v3-1/operation/toOperationsV3.js +116 -0
  600. package/esm/parse/v3-1/parameter/toParameterV3.d.ts +40 -0
  601. package/esm/parse/v3-1/parameter/toParameterV3.d.ts.map +1 -0
  602. package/esm/parse/v3-1/parameter/toParameterV3.js +112 -0
  603. package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts +11 -0
  604. package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts.map +1 -0
  605. package/esm/parse/v3-1/pathItem/toPathItemV3.js +18 -0
  606. package/esm/parse/v3-1/ref/toRefV31.d.ts +20 -0
  607. package/esm/parse/v3-1/ref/toRefV31.d.ts.map +1 -0
  608. package/esm/parse/v3-1/ref/toRefV31.js +10 -0
  609. package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +19 -0
  610. package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +1 -0
  611. package/esm/parse/v3-1/requestBody/toRequestBodiesV3.js +44 -0
  612. package/esm/parse/v3-1/response/toResponseV3.d.ts +24 -0
  613. package/esm/parse/v3-1/response/toResponseV3.d.ts.map +1 -0
  614. package/esm/parse/v3-1/response/toResponseV3.js +52 -0
  615. package/esm/parse/v3-1/schema/toSchemasV3.d.ts +30 -0
  616. package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -0
  617. package/esm/parse/v3-1/schema/toSchemasV3.js +478 -0
  618. package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +10 -0
  619. package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
  620. package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.js +9 -0
  621. package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +18 -0
  622. package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
  623. package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.js +105 -0
  624. package/esm/parse/v3-1/server/toServerV3.d.ts +23 -0
  625. package/esm/parse/v3-1/server/toServerV3.d.ts.map +1 -0
  626. package/esm/parse/v3-1/server/toServerV3.js +30 -0
  627. package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts +23 -0
  628. package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +1 -0
  629. package/esm/parse/v3-1/serverVariable/toServerVariableV3.js +30 -0
  630. package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
  631. package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
  632. package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.js +25 -0
  633. package/esm/parse/v3-1/string/toString.d.ts +147 -0
  634. package/esm/parse/v3-1/string/toString.d.ts.map +1 -0
  635. package/esm/parse/v3-1/string/toString.js +218 -0
  636. package/esm/parse/v3-1/tag/toTagsV3.d.ts +17 -0
  637. package/esm/parse/v3-1/tag/toTagsV3.d.ts.map +1 -0
  638. package/esm/parse/v3-1/tag/toTagsV3.js +27 -0
  639. package/esm/parse/v3-1/union/toUnion.d.ts +13 -0
  640. package/esm/parse/v3-1/union/toUnion.d.ts.map +1 -0
  641. package/esm/parse/v3-1/union/toUnion.js +66 -0
  642. package/esm/parse/v3-1/unknown/toUnknown.d.ts +11 -0
  643. package/esm/parse/v3-1/unknown/toUnknown.d.ts.map +1 -0
  644. package/esm/parse/v3-1/unknown/toUnknown.js +19 -0
  645. package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts +49 -0
  646. package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -0
  647. package/esm/parse/v3-1/webhook/toWebhooksV3.js +130 -0
  648. package/esm/run/toArtifacts.d.ts +20 -25
  649. package/esm/run/toArtifacts.d.ts.map +1 -1
  650. package/esm/run/toArtifacts.js +9 -27
  651. package/esm/run/toEnrichmentDefaults.d.ts +51 -0
  652. package/esm/run/toEnrichmentDefaults.d.ts.map +1 -0
  653. package/esm/run/toEnrichmentDefaults.js +24 -0
  654. package/esm/run/toSupportedSubjects.d.ts +48 -0
  655. package/esm/run/toSupportedSubjects.d.ts.map +1 -0
  656. package/esm/run/toSupportedSubjects.js +21 -0
  657. package/esm/types/AccessorPath.d.ts +17 -0
  658. package/esm/types/AccessorPath.d.ts.map +1 -0
  659. package/esm/types/AccessorPath.js +9 -0
  660. package/esm/types/AttributionState.d.ts +51 -0
  661. package/esm/types/AttributionState.d.ts.map +1 -0
  662. package/esm/types/AttributionState.js +20 -0
  663. package/esm/types/Brand.d.ts +3 -2
  664. package/esm/types/Brand.d.ts.map +1 -1
  665. package/esm/types/Brand.js +10 -1
  666. package/esm/types/DenoJson.d.ts +1 -0
  667. package/esm/types/DenoJson.d.ts.map +1 -1
  668. package/esm/types/DenoJson.js +1 -0
  669. package/esm/types/EnrichmentDefaults.d.ts +33 -0
  670. package/esm/types/EnrichmentDefaults.d.ts.map +1 -0
  671. package/esm/types/EnrichmentDefaults.js +21 -0
  672. package/esm/types/EnrichmentRequest.d.ts +1 -0
  673. package/esm/types/EnrichmentRequest.d.ts.map +1 -1
  674. package/esm/types/EnrichmentRequest.js +1 -1
  675. package/esm/types/Enrichments.d.ts +136 -175
  676. package/esm/types/Enrichments.d.ts.map +1 -1
  677. package/esm/types/Enrichments.js +100 -134
  678. package/esm/types/GeneratorType.d.ts +45 -107
  679. package/esm/types/GeneratorType.d.ts.map +1 -1
  680. package/esm/types/JsonPointer.d.ts +92 -0
  681. package/esm/types/JsonPointer.d.ts.map +1 -0
  682. package/esm/types/JsonPointer.js +112 -0
  683. package/esm/types/Manifest.d.ts +11 -2
  684. package/esm/types/Manifest.d.ts.map +1 -1
  685. package/esm/types/Manifest.js +49 -2
  686. package/esm/types/Method.d.ts +1 -0
  687. package/esm/types/Method.d.ts.map +1 -1
  688. package/esm/types/Method.js +1 -0
  689. package/esm/types/ModuleExport.d.ts +1 -0
  690. package/esm/types/ModuleExport.d.ts.map +1 -1
  691. package/esm/types/ModuleExport.js +1 -0
  692. package/esm/types/OasBase.d.ts +40 -0
  693. package/esm/types/OasBase.d.ts.map +1 -0
  694. package/esm/types/OasBase.js +48 -0
  695. package/esm/types/Preview.d.ts +100 -66
  696. package/esm/types/Preview.d.ts.map +1 -1
  697. package/esm/types/Preview.js +67 -65
  698. package/esm/types/RefName.d.ts +3 -2
  699. package/esm/types/RefName.d.ts.map +1 -1
  700. package/esm/types/RefName.js +1 -1
  701. package/esm/types/Results.d.ts +1 -0
  702. package/esm/types/Results.d.ts.map +1 -1
  703. package/esm/types/Results.js +1 -0
  704. package/esm/types/Settings.d.ts +236 -25
  705. package/esm/types/Settings.d.ts.map +1 -1
  706. package/esm/types/Settings.js +71 -7
  707. package/esm/types/SkmtcDocument.d.ts +81 -0
  708. package/esm/types/SkmtcDocument.d.ts.map +1 -0
  709. package/esm/types/SkmtcDocument.js +18 -0
  710. package/esm/types/SupportedSubjects.d.ts +41 -0
  711. package/esm/types/SupportedSubjects.d.ts.map +1 -0
  712. package/esm/types/SupportedSubjects.js +10 -0
  713. package/esm/types/TypeSystem.d.ts +1 -0
  714. package/esm/types/TypeSystem.d.ts.map +1 -1
  715. package/esm/types/TypeSystem.js +1 -1
  716. package/esm/types/Variant.d.ts +65 -0
  717. package/esm/types/Variant.d.ts.map +1 -0
  718. package/esm/types/Variant.js +55 -0
  719. package/package.json +6 -7
  720. package/script/_dnt.polyfills.d.ts +7 -0
  721. package/script/_dnt.polyfills.d.ts.map +1 -0
  722. package/script/anchors/CaptureSink.d.ts +83 -0
  723. package/script/anchors/CaptureSink.d.ts.map +1 -0
  724. package/script/anchors/CaptureSink.js +192 -0
  725. package/script/anchors/ParserAdapter.d.ts +76 -0
  726. package/script/anchors/ParserAdapter.d.ts.map +1 -0
  727. package/script/anchors/ParserAdapter.js +20 -0
  728. package/script/anchors/attribute.d.ts +25 -0
  729. package/script/anchors/attribute.d.ts.map +1 -0
  730. package/script/anchors/attribute.js +88 -0
  731. package/script/anchors/buildSidecar.d.ts +54 -0
  732. package/script/anchors/buildSidecar.d.ts.map +1 -0
  733. package/script/anchors/buildSidecar.js +108 -0
  734. package/script/anchors/generationMap.d.ts +67 -0
  735. package/script/anchors/generationMap.d.ts.map +1 -0
  736. package/script/anchors/generationMap.js +136 -0
  737. package/script/anchors/postPass.d.ts +87 -0
  738. package/script/anchors/postPass.d.ts.map +1 -0
  739. package/script/anchors/postPass.js +81 -0
  740. package/script/anchors/sidecar.d.ts +89 -0
  741. package/script/anchors/sidecar.d.ts.map +1 -0
  742. package/script/anchors/sidecar.js +136 -0
  743. package/script/anchors/types.d.ts +51 -0
  744. package/script/anchors/types.d.ts.map +1 -0
  745. package/script/anchors/types.js +10 -0
  746. package/script/app/validate.d.ts +1 -0
  747. package/script/app/validate.d.ts.map +1 -1
  748. package/script/app/validate.js +1 -0
  749. package/script/context/CoreContext.d.ts +75 -39
  750. package/script/context/CoreContext.d.ts.map +1 -1
  751. package/script/context/CoreContext.js +184 -53
  752. package/script/context/GenerateContext.d.ts +154 -115
  753. package/script/context/GenerateContext.d.ts.map +1 -1
  754. package/script/context/GenerateContext.js +888 -257
  755. package/script/context/ParseContext.d.ts +165 -107
  756. package/script/context/ParseContext.d.ts.map +1 -1
  757. package/script/context/ParseContext.js +399 -116
  758. package/script/context/ParseIssue.d.ts +80 -0
  759. package/script/context/ParseIssue.d.ts.map +1 -0
  760. package/script/context/ParseIssue.js +69 -0
  761. package/script/context/RenderContext.d.ts +46 -24
  762. package/script/context/RenderContext.d.ts.map +1 -1
  763. package/script/context/RenderContext.js +140 -37
  764. package/script/context/StackTrail.d.ts +68 -0
  765. package/script/context/StackTrail.d.ts.map +1 -1
  766. package/script/context/StackTrail.js +84 -0
  767. package/script/context/generateTypes.d.ts +253 -70
  768. package/script/context/generateTypes.d.ts.map +1 -1
  769. package/script/context/generateTypes.js +67 -0
  770. package/script/context/parseTypes.d.ts +148 -49
  771. package/script/context/parseTypes.d.ts.map +1 -1
  772. package/script/context/parseTypes.js +17 -0
  773. package/script/context/tryParseAt.d.ts +70 -0
  774. package/script/context/tryParseAt.d.ts.map +1 -0
  775. package/script/context/tryParseAt.js +57 -0
  776. package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
  777. package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
  778. package/script/deps/jsr.io/@std/fmt/1.0.10/colors.js +986 -0
  779. package/script/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +1 -0
  780. package/script/deps/jsr.io/@std/fs/1.0.23/exists.js +308 -0
  781. package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
  782. package/script/deps/jsr.io/@std/internal/1.0.13/_os.js +48 -0
  783. package/script/deps/jsr.io/@std/internal/1.0.13/os.d.ts.map +1 -0
  784. package/script/deps/jsr.io/@std/internal/1.0.13/os.js +8 -0
  785. package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
  786. package/script/deps/jsr.io/@std/io/0.225.3/types.js +18 -0
  787. package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
  788. package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
  789. package/script/deps/jsr.io/@std/io/0.225.3/write_all.js +65 -0
  790. package/script/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
  791. package/script/deps/jsr.io/@std/log/0.224.14/file_handler.js +1 -1
  792. package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  793. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  794. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  795. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  796. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  797. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  798. package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  799. package/script/deps/jsr.io/@std/path/1.1.4/join.js +32 -0
  800. package/script/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
  801. package/script/deps/jsr.io/@std/path/1.1.4/normalize.js +35 -0
  802. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  803. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  804. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  805. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  806. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  807. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  808. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  809. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  810. package/script/dsl/CodeFileBase.d.ts +38 -0
  811. package/script/dsl/CodeFileBase.d.ts.map +1 -0
  812. package/script/dsl/CodeFileBase.js +64 -0
  813. package/script/dsl/ContentSettings.d.ts +44 -20
  814. package/script/dsl/ContentSettings.d.ts.map +1 -1
  815. package/script/dsl/ContentSettings.js +35 -17
  816. package/script/dsl/CustomValue.d.ts +3 -2
  817. package/script/dsl/CustomValue.d.ts.map +1 -1
  818. package/script/dsl/CustomValue.js +3 -2
  819. package/script/dsl/Definition.d.ts +32 -200
  820. package/script/dsl/Definition.d.ts.map +1 -1
  821. package/script/dsl/Definition.js +18 -214
  822. package/script/dsl/FileBase.d.ts +42 -0
  823. package/script/dsl/FileBase.d.ts.map +1 -0
  824. package/script/dsl/FileBase.js +57 -0
  825. package/script/dsl/GeneratedValue.d.ts +2 -2
  826. package/script/dsl/GeneratedValue.d.ts.map +1 -1
  827. package/script/dsl/GeneratorKeys.d.ts +266 -73
  828. package/script/dsl/GeneratorKeys.d.ts.map +1 -1
  829. package/script/dsl/GeneratorKeys.js +207 -71
  830. package/script/dsl/IdentifierBase.d.ts +55 -0
  831. package/script/dsl/IdentifierBase.d.ts.map +1 -0
  832. package/script/dsl/IdentifierBase.js +68 -0
  833. package/script/dsl/IdentifierType.d.ts +31 -0
  834. package/script/dsl/IdentifierType.d.ts.map +1 -0
  835. package/script/dsl/IdentifierType.js +2 -0
  836. package/script/dsl/ImportBase.d.ts +40 -0
  837. package/script/dsl/ImportBase.d.ts.map +1 -0
  838. package/script/dsl/ImportBase.js +28 -0
  839. package/script/dsl/Inserted.d.ts +10 -10
  840. package/script/dsl/Inserted.d.ts.map +1 -1
  841. package/script/dsl/Inserted.js +8 -8
  842. package/script/dsl/JsonFile.d.ts +2 -3
  843. package/script/dsl/JsonFile.d.ts.map +1 -1
  844. package/script/dsl/JsonFile.js +3 -9
  845. package/script/dsl/Lang.d.ts +136 -0
  846. package/script/dsl/Lang.d.ts.map +1 -0
  847. package/script/dsl/Lang.js +2 -0
  848. package/script/dsl/ReExportBase.d.ts +42 -0
  849. package/script/dsl/ReExportBase.d.ts.map +1 -0
  850. package/script/dsl/ReExportBase.js +31 -0
  851. package/script/dsl/SnippetBase.d.ts +86 -0
  852. package/script/dsl/SnippetBase.d.ts.map +1 -0
  853. package/script/dsl/SnippetBase.js +117 -0
  854. package/script/dsl/Stringable.d.ts +1 -0
  855. package/script/dsl/Stringable.d.ts.map +1 -1
  856. package/script/dsl/Stringable.js +9 -0
  857. package/script/dsl/model/ModelDriver.d.ts +23 -58
  858. package/script/dsl/model/ModelDriver.d.ts.map +1 -1
  859. package/script/dsl/model/ModelDriver.js +89 -77
  860. package/script/dsl/model/toModelEntry.d.ts +17 -23
  861. package/script/dsl/model/toModelEntry.d.ts.map +1 -1
  862. package/script/dsl/model/toModelEntry.js +7 -14
  863. package/script/dsl/model/toModelProjectionBase.d.ts +125 -0
  864. package/script/dsl/model/toModelProjectionBase.d.ts.map +1 -0
  865. package/script/dsl/model/toModelProjectionBase.js +186 -0
  866. package/script/dsl/model/types.d.ts +87 -54
  867. package/script/dsl/model/types.d.ts.map +1 -1
  868. package/script/dsl/operation/gql/GqlOperationDriver.d.ts +52 -0
  869. package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -0
  870. package/script/dsl/operation/gql/GqlOperationDriver.js +210 -0
  871. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +44 -0
  872. package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -0
  873. package/script/dsl/operation/gql/toGqlOperationEntry.js +85 -0
  874. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +128 -0
  875. package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -0
  876. package/script/dsl/operation/gql/toGqlOperationProjectionBase.js +200 -0
  877. package/script/dsl/operation/gql/types.d.ts +141 -0
  878. package/script/dsl/operation/gql/types.d.ts.map +1 -0
  879. package/script/dsl/operation/gql/types.js +2 -0
  880. package/script/dsl/operation/oas/OasOperationDriver.d.ts +52 -0
  881. package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -0
  882. package/script/dsl/operation/oas/OasOperationDriver.js +227 -0
  883. package/script/dsl/operation/oas/toOasOperationEntry.d.ts +70 -0
  884. package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -0
  885. package/script/dsl/operation/oas/toOasOperationEntry.js +108 -0
  886. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +144 -0
  887. package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -0
  888. package/script/dsl/operation/oas/toOasOperationProjectionBase.js +217 -0
  889. package/script/dsl/operation/oas/types.d.ts +151 -0
  890. package/script/dsl/operation/oas/types.d.ts.map +1 -0
  891. package/script/dsl/operation/oas/types.js +2 -0
  892. package/script/dsl/webhook/WebhookDriver.d.ts +50 -0
  893. package/script/dsl/webhook/WebhookDriver.d.ts.map +1 -0
  894. package/script/dsl/webhook/WebhookDriver.js +197 -0
  895. package/script/dsl/webhook/toWebhookEntry.d.ts +58 -0
  896. package/script/dsl/webhook/toWebhookEntry.d.ts.map +1 -0
  897. package/script/dsl/webhook/toWebhookEntry.js +104 -0
  898. package/script/dsl/webhook/toWebhookProjectionBase.d.ts +125 -0
  899. package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -0
  900. package/script/dsl/webhook/toWebhookProjectionBase.js +200 -0
  901. package/script/dsl/webhook/types.d.ts +149 -0
  902. package/script/dsl/webhook/types.d.ts.map +1 -0
  903. package/script/dsl/webhook/types.js +2 -0
  904. package/script/enrichments/readEnrichments.d.ts +69 -0
  905. package/script/enrichments/readEnrichments.d.ts.map +1 -0
  906. package/script/enrichments/readEnrichments.js +97 -0
  907. package/script/enrichments/toEnrichmentDescriptor.d.ts +97 -0
  908. package/script/enrichments/toEnrichmentDescriptor.d.ts.map +1 -0
  909. package/script/enrichments/toEnrichmentDescriptor.js +162 -0
  910. package/script/gql/_helpers/recordAppliedDirectives.d.ts +25 -0
  911. package/script/gql/_helpers/recordAppliedDirectives.d.ts.map +1 -0
  912. package/script/gql/_helpers/recordAppliedDirectives.js +41 -0
  913. package/script/gql/_helpers/unwrapType.d.ts +39 -0
  914. package/script/gql/_helpers/unwrapType.d.ts.map +1 -0
  915. package/script/gql/_helpers/unwrapType.js +51 -0
  916. package/script/gql/argument/GqlArgument.d.ts +55 -0
  917. package/script/gql/argument/GqlArgument.d.ts.map +1 -0
  918. package/script/gql/argument/GqlArgument.js +87 -0
  919. package/script/gql/document/GqlDocument.d.ts +93 -0
  920. package/script/gql/document/GqlDocument.d.ts.map +1 -0
  921. package/script/gql/document/GqlDocument.js +174 -0
  922. package/script/gql/document/parseGqlDocument.d.ts +33 -0
  923. package/script/gql/document/parseGqlDocument.d.ts.map +1 -0
  924. package/script/gql/document/parseGqlDocument.js +189 -0
  925. package/script/gql/enum/toEnumType.d.ts +29 -0
  926. package/script/gql/enum/toEnumType.d.ts.map +1 -0
  927. package/script/gql/enum/toEnumType.js +26 -0
  928. package/script/gql/field/toFieldSchema.d.ts +38 -0
  929. package/script/gql/field/toFieldSchema.d.ts.map +1 -0
  930. package/script/gql/field/toFieldSchema.js +87 -0
  931. package/script/gql/input/toInputType.d.ts +28 -0
  932. package/script/gql/input/toInputType.d.ts.map +1 -0
  933. package/script/gql/input/toInputType.js +50 -0
  934. package/script/gql/interface/toInterfaceUnion.d.ts +28 -0
  935. package/script/gql/interface/toInterfaceUnion.d.ts.map +1 -0
  936. package/script/gql/interface/toInterfaceUnion.js +38 -0
  937. package/script/gql/object/toObjectType.d.ts +23 -0
  938. package/script/gql/object/toObjectType.d.ts.map +1 -0
  939. package/script/gql/object/toObjectType.js +66 -0
  940. package/script/gql/operation/GqlOperation.d.ts +63 -0
  941. package/script/gql/operation/GqlOperation.d.ts.map +1 -0
  942. package/script/gql/operation/GqlOperation.js +94 -0
  943. package/script/gql/operation/synthesizeArgsObject.d.ts +22 -0
  944. package/script/gql/operation/synthesizeArgsObject.d.ts.map +1 -0
  945. package/script/gql/operation/synthesizeArgsObject.js +41 -0
  946. package/script/gql/operation/toRootField.d.ts +26 -0
  947. package/script/gql/operation/toRootField.d.ts.map +1 -0
  948. package/script/gql/operation/toRootField.js +55 -0
  949. package/script/gql/registry/GqlRegistry.d.ts +70 -0
  950. package/script/gql/registry/GqlRegistry.d.ts.map +1 -0
  951. package/script/gql/registry/GqlRegistry.js +80 -0
  952. package/script/gql/rootType/GqlRootTypes.d.ts +15 -0
  953. package/script/gql/rootType/GqlRootTypes.d.ts.map +1 -0
  954. package/script/gql/rootType/GqlRootTypes.js +2 -0
  955. package/script/gql/scalar/toScalarType.d.ts +33 -0
  956. package/script/gql/scalar/toScalarType.d.ts.map +1 -0
  957. package/script/gql/scalar/toScalarType.js +47 -0
  958. package/script/gql/union/toUnionType.d.ts +24 -0
  959. package/script/gql/union/toUnionType.d.ts.map +1 -0
  960. package/script/gql/union/toUnionType.js +33 -0
  961. package/script/helpers/collateExamples.d.ts +1 -0
  962. package/script/helpers/collateExamples.d.ts.map +1 -1
  963. package/script/helpers/collateExamples.js +1 -0
  964. package/script/helpers/formatNumber.d.ts +1 -0
  965. package/script/helpers/formatNumber.d.ts.map +1 -1
  966. package/script/helpers/formatNumber.js +1 -0
  967. package/script/helpers/isEmpty.d.ts +1 -0
  968. package/script/helpers/isEmpty.d.ts.map +1 -1
  969. package/script/helpers/isEmpty.js +1 -0
  970. package/script/helpers/isImported.js +1 -1
  971. package/script/helpers/refFns.d.ts +2 -1
  972. package/script/helpers/refFns.d.ts.map +1 -1
  973. package/script/helpers/refFns.js +1 -0
  974. package/script/helpers/strings.d.ts +1 -0
  975. package/script/helpers/strings.d.ts.map +1 -1
  976. package/script/helpers/strings.js +1 -0
  977. package/script/helpers/toResolvedArtifactPath.d.ts +1 -0
  978. package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -1
  979. package/script/helpers/toResolvedArtifactPath.js +4 -3
  980. package/script/helpers/toVariantList.d.ts +32 -0
  981. package/script/helpers/toVariantList.d.ts.map +1 -0
  982. package/script/helpers/toVariantList.js +35 -0
  983. package/script/helpers/withVariant.d.ts +20 -0
  984. package/script/helpers/withVariant.d.ts.map +1 -0
  985. package/script/helpers/withVariant.js +31 -0
  986. package/script/mod.d.ts +58 -37
  987. package/script/mod.d.ts.map +1 -1
  988. package/script/mod.js +76 -52
  989. package/script/oas/array/Array.d.ts +5 -2
  990. package/script/oas/array/Array.d.ts.map +1 -1
  991. package/script/oas/array/Array.js +5 -2
  992. package/script/oas/boolean/Boolean.d.ts +8 -2
  993. package/script/oas/boolean/Boolean.d.ts.map +1 -1
  994. package/script/oas/boolean/Boolean.js +8 -2
  995. package/script/oas/components/Components.d.ts +1 -0
  996. package/script/oas/components/Components.d.ts.map +1 -1
  997. package/script/oas/components/Components.js +1 -0
  998. package/script/oas/discriminator/Discriminator.d.ts +1 -0
  999. package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
  1000. package/script/oas/discriminator/Discriminator.js +1 -0
  1001. package/script/oas/document/Document.d.ts +56 -2
  1002. package/script/oas/document/Document.d.ts.map +1 -1
  1003. package/script/oas/document/Document.js +61 -1
  1004. package/script/oas/info/Info.d.ts +1 -0
  1005. package/script/oas/info/Info.d.ts.map +1 -1
  1006. package/script/oas/info/Info.js +1 -0
  1007. package/script/oas/integer/Integer.d.ts +5 -2
  1008. package/script/oas/integer/Integer.d.ts.map +1 -1
  1009. package/script/oas/integer/Integer.js +5 -2
  1010. package/script/oas/mediaType/MediaType.d.ts +4 -2
  1011. package/script/oas/mediaType/MediaType.d.ts.map +1 -1
  1012. package/script/oas/mediaType/MediaType.js +4 -2
  1013. package/script/oas/number/Number.d.ts +5 -2
  1014. package/script/oas/number/Number.d.ts.map +1 -1
  1015. package/script/oas/number/Number.js +5 -2
  1016. package/script/oas/object/Object.d.ts +5 -2
  1017. package/script/oas/object/Object.d.ts.map +1 -1
  1018. package/script/oas/object/Object.js +5 -2
  1019. package/script/oas/operation/Operation.d.ts +5 -2
  1020. package/script/oas/operation/Operation.d.ts.map +1 -1
  1021. package/script/oas/operation/Operation.js +5 -2
  1022. package/script/oas/parameter/Parameter.d.ts +5 -2
  1023. package/script/oas/parameter/Parameter.d.ts.map +1 -1
  1024. package/script/oas/parameter/Parameter.js +5 -2
  1025. package/script/oas/ref/Ref.d.ts +37 -6
  1026. package/script/oas/ref/Ref.d.ts.map +1 -1
  1027. package/script/oas/ref/Ref.js +67 -40
  1028. package/script/oas/requestBody/RequestBody.d.ts +5 -2
  1029. package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
  1030. package/script/oas/requestBody/RequestBody.js +5 -2
  1031. package/script/oas/response/Response.d.ts +5 -2
  1032. package/script/oas/response/Response.d.ts.map +1 -1
  1033. package/script/oas/response/Response.js +5 -2
  1034. package/script/oas/schema/Schema.d.ts +1 -0
  1035. package/script/oas/schema/Schema.d.ts.map +1 -1
  1036. package/script/oas/schema/Schema.js +1 -0
  1037. package/script/oas/server/Server.d.ts +1 -0
  1038. package/script/oas/server/Server.d.ts.map +1 -1
  1039. package/script/oas/server/Server.js +1 -0
  1040. package/script/oas/string/String.d.ts +5 -2
  1041. package/script/oas/string/String.d.ts.map +1 -1
  1042. package/script/oas/string/String.js +5 -2
  1043. package/script/oas/tag/Tag.d.ts +4 -0
  1044. package/script/oas/tag/Tag.d.ts.map +1 -1
  1045. package/script/oas/tag/Tag.js +4 -0
  1046. package/script/oas/tag/tag-types.d.ts +2 -0
  1047. package/script/oas/tag/tag-types.d.ts.map +1 -1
  1048. package/script/oas/tag/tag-types.js +3 -2
  1049. package/script/oas/union/Union.d.ts +4 -2
  1050. package/script/oas/union/Union.d.ts.map +1 -1
  1051. package/script/oas/union/Union.js +4 -2
  1052. package/script/oas/unknown/Unknown.d.ts +5 -2
  1053. package/script/oas/unknown/Unknown.d.ts.map +1 -1
  1054. package/script/oas/unknown/Unknown.js +5 -2
  1055. package/script/oas/void/Void.d.ts +6 -3
  1056. package/script/oas/void/Void.d.ts.map +1 -1
  1057. package/script/oas/void/Void.js +6 -3
  1058. package/script/oas/webhook/Webhook.d.ts +109 -0
  1059. package/script/oas/webhook/Webhook.d.ts.map +1 -0
  1060. package/script/oas/webhook/Webhook.js +170 -0
  1061. package/script/parse/toOasDialect.d.ts +26 -0
  1062. package/script/parse/toOasDialect.d.ts.map +1 -0
  1063. package/script/parse/toOasDialect.js +26 -0
  1064. package/script/parse/v3-0/_helpers/parseDefault.d.ts +44 -0
  1065. package/script/parse/v3-0/_helpers/parseDefault.d.ts.map +1 -0
  1066. package/script/parse/v3-0/_helpers/parseDefault.js +43 -0
  1067. package/script/parse/v3-0/_helpers/parseEnum.d.ts +14 -0
  1068. package/script/parse/v3-0/_helpers/parseEnum.d.ts.map +1 -0
  1069. package/script/parse/v3-0/_helpers/parseEnum.js +27 -0
  1070. package/script/parse/v3-0/_helpers/parseExample.d.ts +42 -0
  1071. package/script/parse/v3-0/_helpers/parseExample.d.ts.map +1 -0
  1072. package/script/parse/v3-0/_helpers/parseExample.js +41 -0
  1073. package/script/parse/v3-0/_helpers/parseNullable.d.ts +142 -0
  1074. package/script/parse/v3-0/_helpers/parseNullable.d.ts.map +1 -0
  1075. package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts +3 -0
  1076. package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
  1077. package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts +5 -0
  1078. package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
  1079. package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts +3 -0
  1080. package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
  1081. package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts +3 -0
  1082. package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
  1083. package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts +3 -0
  1084. package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
  1085. package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts +3 -0
  1086. package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
  1087. package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts +3 -0
  1088. package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
  1089. package/script/parse/v3-0/_merge-all-of/cross-product.d.ts +3 -0
  1090. package/script/parse/v3-0/_merge-all-of/cross-product.d.ts.map +1 -0
  1091. package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts +7 -0
  1092. package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +1 -0
  1093. package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts +13 -0
  1094. package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -0
  1095. package/script/parse/v3-0/_merge-all-of/decompose-union.js +77 -0
  1096. package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts +4 -0
  1097. package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +1 -0
  1098. package/script/parse/v3-0/_merge-all-of/is-equal.d.ts +2 -0
  1099. package/script/parse/v3-0/_merge-all-of/is-equal.d.ts.map +1 -0
  1100. package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts +3 -0
  1101. package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
  1102. package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts +4 -0
  1103. package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
  1104. package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts +4 -0
  1105. package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +1 -0
  1106. package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts +4 -0
  1107. package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
  1108. package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts +9 -0
  1109. package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +1 -0
  1110. package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts +4 -0
  1111. package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
  1112. package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts +6 -0
  1113. package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
  1114. package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts +3 -0
  1115. package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +1 -0
  1116. package/script/parse/v3-0/_merge-all-of/merge-required.d.ts +4 -0
  1117. package/script/parse/v3-0/_merge-all-of/merge-required.d.ts.map +1 -0
  1118. package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts +4 -0
  1119. package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
  1120. package/script/parse/v3-0/_merge-all-of/merge-union.d.ts +16 -0
  1121. package/script/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -0
  1122. package/script/parse/v3-0/_merge-all-of/merge-union.js +66 -0
  1123. package/script/parse/v3-0/_merge-all-of/merge.d.ts +3 -0
  1124. package/script/parse/v3-0/_merge-all-of/merge.d.ts.map +1 -0
  1125. package/script/parse/v3-0/_merge-all-of/merge.js +159 -0
  1126. package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts +4 -0
  1127. package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +1 -0
  1128. package/script/parse/v3-0/_merge-all-of/nullable-merge.js +17 -0
  1129. package/script/parse/v3-0/_merge-all-of/types.d.ts +15 -0
  1130. package/script/parse/v3-0/_merge-all-of/types.d.ts.map +1 -0
  1131. package/script/parse/v3-0/array/toArray.d.ts +81 -0
  1132. package/script/parse/v3-0/array/toArray.d.ts.map +1 -0
  1133. package/script/parse/v3-0/array/toArray.js +203 -0
  1134. package/script/parse/v3-0/boolean/toBoolean.d.ts +79 -0
  1135. package/script/parse/v3-0/boolean/toBoolean.d.ts.map +1 -0
  1136. package/script/parse/v3-0/boolean/toBoolean.js +177 -0
  1137. package/script/parse/v3-0/components/toComponentsV3.d.ts +11 -0
  1138. package/script/parse/v3-0/components/toComponentsV3.d.ts.map +1 -0
  1139. package/script/parse/v3-0/components/toComponentsV3.js +43 -0
  1140. package/script/parse/v3-0/contact/toContactV3.d.ts +6 -0
  1141. package/script/parse/v3-0/contact/toContactV3.d.ts.map +1 -0
  1142. package/script/parse/v3-0/contact/toContactV3.js +22 -0
  1143. package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +11 -0
  1144. package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +1 -0
  1145. package/script/parse/v3-0/discriminator/toDiscriminatorV3.js +24 -0
  1146. package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts +14 -0
  1147. package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +1 -0
  1148. package/script/parse/v3-0/document/toDocumentFieldsV3.js +36 -0
  1149. package/script/parse/v3-0/example/toExamplesV3.d.ts +68 -0
  1150. package/script/parse/v3-0/example/toExamplesV3.d.ts.map +1 -0
  1151. package/script/parse/v3-0/example/toExamplesV3.js +95 -0
  1152. package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts +11 -0
  1153. package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +1 -0
  1154. package/script/parse/v3-0/externalDocs/toExternalDocs.js +52 -0
  1155. package/script/parse/v3-0/header/toHeadersV3.d.ts +17 -0
  1156. package/script/parse/v3-0/header/toHeadersV3.d.ts.map +1 -0
  1157. package/script/parse/v3-0/header/toHeadersV3.js +51 -0
  1158. package/script/parse/v3-0/info/toInfoV3.d.ts +11 -0
  1159. package/script/parse/v3-0/info/toInfoV3.d.ts.map +1 -0
  1160. package/script/parse/v3-0/info/toInfoV3.js +27 -0
  1161. package/script/parse/v3-0/integer/toInteger.d.ts +22 -0
  1162. package/script/parse/v3-0/integer/toInteger.d.ts.map +1 -0
  1163. package/script/parse/v3-0/integer/toInteger.js +150 -0
  1164. package/script/parse/v3-0/license/toLicenseV3.d.ts +6 -0
  1165. package/script/parse/v3-0/license/toLicenseV3.d.ts.map +1 -0
  1166. package/script/parse/v3-0/license/toLicenseV3.js +21 -0
  1167. package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +315 -0
  1168. package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
  1169. package/script/parse/v3-0/mediaType/toMediaTypeItemV3.js +320 -0
  1170. package/script/parse/v3-0/number/toNumber.d.ts +11 -0
  1171. package/script/parse/v3-0/number/toNumber.d.ts.map +1 -0
  1172. package/script/parse/v3-0/number/toNumber.js +149 -0
  1173. package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +12 -0
  1174. package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +1 -0
  1175. package/script/parse/v3-0/object/toObject.d.ts +11 -0
  1176. package/script/parse/v3-0/object/toObject.d.ts.map +1 -0
  1177. package/script/parse/v3-0/object/toObject.js +92 -0
  1178. package/script/parse/v3-0/operation/toOperationsV3.d.ts +26 -0
  1179. package/script/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -0
  1180. package/script/parse/v3-0/operation/toOperationsV3.js +118 -0
  1181. package/script/parse/v3-0/parameter/toParameterV3.d.ts +40 -0
  1182. package/script/parse/v3-0/parameter/toParameterV3.d.ts.map +1 -0
  1183. package/script/parse/v3-0/parameter/toParameterV3.js +151 -0
  1184. package/script/parse/v3-0/pathItem/toPathItemV3.d.ts +11 -0
  1185. package/script/parse/v3-0/pathItem/toPathItemV3.d.ts.map +1 -0
  1186. package/script/parse/v3-0/pathItem/toPathItemV3.js +22 -0
  1187. package/script/parse/v3-0/ref/toRefV31.d.ts +20 -0
  1188. package/script/parse/v3-0/ref/toRefV31.d.ts.map +1 -0
  1189. package/script/parse/v3-0/ref/toRefV31.js +14 -0
  1190. package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +19 -0
  1191. package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +1 -0
  1192. package/script/parse/v3-0/requestBody/toRequestBodiesV3.js +49 -0
  1193. package/script/parse/v3-0/response/toResponseV3.d.ts +24 -0
  1194. package/script/parse/v3-0/response/toResponseV3.d.ts.map +1 -0
  1195. package/script/parse/v3-0/response/toResponseV3.js +58 -0
  1196. package/script/parse/v3-0/schema/toSchemasV3.d.ts +30 -0
  1197. package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -0
  1198. package/script/parse/v3-0/schema/toSchemasV3.js +303 -0
  1199. package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +10 -0
  1200. package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
  1201. package/script/parse/v3-0/securityRequirement/toSecurityRequirement.js +13 -0
  1202. package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +18 -0
  1203. package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
  1204. package/script/parse/v3-0/securitySchemes/toSecuritySchemes.js +142 -0
  1205. package/script/parse/v3-0/server/toServerV3.d.ts +23 -0
  1206. package/script/parse/v3-0/server/toServerV3.d.ts.map +1 -0
  1207. package/script/parse/v3-0/server/toServerV3.js +36 -0
  1208. package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts +23 -0
  1209. package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +1 -0
  1210. package/script/parse/v3-0/serverVariable/toServerVariableV3.js +36 -0
  1211. package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
  1212. package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
  1213. package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.js +30 -0
  1214. package/script/parse/v3-0/string/toString.d.ts +147 -0
  1215. package/script/parse/v3-0/string/toString.d.ts.map +1 -0
  1216. package/script/parse/v3-0/string/toString.js +256 -0
  1217. package/script/parse/v3-0/tag/toTagsV3.d.ts +17 -0
  1218. package/script/parse/v3-0/tag/toTagsV3.d.ts.map +1 -0
  1219. package/script/parse/v3-0/tag/toTagsV3.js +32 -0
  1220. package/script/parse/v3-0/union/toUnion.d.ts +13 -0
  1221. package/script/parse/v3-0/union/toUnion.d.ts.map +1 -0
  1222. package/script/parse/v3-0/union/toUnion.js +70 -0
  1223. package/script/parse/v3-0/unknown/toUnknown.d.ts +11 -0
  1224. package/script/parse/v3-0/unknown/toUnknown.d.ts.map +1 -0
  1225. package/script/parse/v3-0/unknown/toUnknown.js +23 -0
  1226. package/script/parse/v3-0/webhook/toWebhooksV3.d.ts +49 -0
  1227. package/script/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -0
  1228. package/script/parse/v3-0/webhook/toWebhooksV3.js +135 -0
  1229. package/script/parse/v3-1/_helpers/parseDefault.d.ts +44 -0
  1230. package/script/parse/v3-1/_helpers/parseDefault.d.ts.map +1 -0
  1231. package/script/parse/v3-1/_helpers/parseDefault.js +43 -0
  1232. package/script/parse/v3-1/_helpers/parseEnum.d.ts +14 -0
  1233. package/script/parse/v3-1/_helpers/parseEnum.d.ts.map +1 -0
  1234. package/script/parse/v3-1/_helpers/parseEnum.js +27 -0
  1235. package/script/parse/v3-1/_helpers/parseExample.d.ts +42 -0
  1236. package/script/parse/v3-1/_helpers/parseExample.d.ts.map +1 -0
  1237. package/script/parse/v3-1/_helpers/parseExample.js +41 -0
  1238. package/script/parse/v3-1/_helpers/parseNullable.d.ts +142 -0
  1239. package/script/parse/v3-1/_helpers/parseNullable.d.ts.map +1 -0
  1240. package/script/parse/v3-1/_helpers/parseNullable.js +144 -0
  1241. package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts +3 -0
  1242. package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
  1243. package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.js +13 -0
  1244. package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts +5 -0
  1245. package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
  1246. package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.js +9 -0
  1247. package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts +3 -0
  1248. package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
  1249. package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.js +15 -0
  1250. package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts +3 -0
  1251. package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
  1252. package/script/parse/v3-1/_merge-all-of/check-format-conflicts.js +9 -0
  1253. package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts +3 -0
  1254. package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
  1255. package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.js +15 -0
  1256. package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts +3 -0
  1257. package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
  1258. package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.js +9 -0
  1259. package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts +3 -0
  1260. package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
  1261. package/script/parse/v3-1/_merge-all-of/check-type-conflicts.js +9 -0
  1262. package/script/parse/v3-1/_merge-all-of/cross-product.d.ts +3 -0
  1263. package/script/parse/v3-1/_merge-all-of/cross-product.d.ts.map +1 -0
  1264. package/script/parse/v3-1/_merge-all-of/cross-product.js +7 -0
  1265. package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts +7 -0
  1266. package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +1 -0
  1267. package/script/parse/v3-1/_merge-all-of/decompose-intersection.js +31 -0
  1268. package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts +13 -0
  1269. package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -0
  1270. package/script/parse/v3-1/_merge-all-of/decompose-union.js +77 -0
  1271. package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts +4 -0
  1272. package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +1 -0
  1273. package/script/parse/v3-1/_merge-all-of/generic-merge.js +16 -0
  1274. package/script/parse/v3-1/_merge-all-of/is-equal.d.ts +2 -0
  1275. package/script/parse/v3-1/_merge-all-of/is-equal.d.ts.map +1 -0
  1276. package/script/parse/v3-1/_merge-all-of/is-equal.js +23 -0
  1277. package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts +3 -0
  1278. package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
  1279. package/script/parse/v3-1/_merge-all-of/merge-array-constraints.js +80 -0
  1280. package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts +4 -0
  1281. package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
  1282. package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.js +43 -0
  1283. package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts +4 -0
  1284. package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +1 -0
  1285. package/script/parse/v3-1/_merge-all-of/merge-enum-values.js +68 -0
  1286. package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts +4 -0
  1287. package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
  1288. package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.js +77 -0
  1289. package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts +9 -0
  1290. package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +1 -0
  1291. package/script/parse/v3-1/_merge-all-of/merge-intersection.js +20 -0
  1292. package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts +4 -0
  1293. package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
  1294. package/script/parse/v3-1/_merge-all-of/merge-number-constraints.js +77 -0
  1295. package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts +6 -0
  1296. package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
  1297. package/script/parse/v3-1/_merge-all-of/merge-object-constraints.js +65 -0
  1298. package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts +3 -0
  1299. package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +1 -0
  1300. package/script/parse/v3-1/_merge-all-of/merge-properties.js +29 -0
  1301. package/script/parse/v3-1/_merge-all-of/merge-required.d.ts +4 -0
  1302. package/script/parse/v3-1/_merge-all-of/merge-required.d.ts.map +1 -0
  1303. package/script/parse/v3-1/_merge-all-of/merge-required.js +15 -0
  1304. package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts +4 -0
  1305. package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
  1306. package/script/parse/v3-1/_merge-all-of/merge-string-constraints.js +91 -0
  1307. package/script/parse/v3-1/_merge-all-of/merge-union.d.ts +16 -0
  1308. package/script/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -0
  1309. package/script/parse/v3-1/_merge-all-of/merge-union.js +66 -0
  1310. package/script/parse/v3-1/_merge-all-of/merge.d.ts +3 -0
  1311. package/script/parse/v3-1/_merge-all-of/merge.d.ts.map +1 -0
  1312. package/script/parse/v3-1/_merge-all-of/merge.js +159 -0
  1313. package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts +4 -0
  1314. package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +1 -0
  1315. package/script/parse/v3-1/_merge-all-of/nullable-merge.js +17 -0
  1316. package/script/parse/v3-1/_merge-all-of/types.d.ts +15 -0
  1317. package/script/parse/v3-1/_merge-all-of/types.d.ts.map +1 -0
  1318. package/script/parse/v3-1/_merge-all-of/types.js +38 -0
  1319. package/script/parse/v3-1/array/toArray.d.ts +81 -0
  1320. package/script/parse/v3-1/array/toArray.d.ts.map +1 -0
  1321. package/script/parse/v3-1/array/toArray.js +203 -0
  1322. package/script/parse/v3-1/boolean/toBoolean.d.ts +79 -0
  1323. package/script/parse/v3-1/boolean/toBoolean.d.ts.map +1 -0
  1324. package/script/parse/v3-1/boolean/toBoolean.js +177 -0
  1325. package/script/parse/v3-1/components/toComponentsV3.d.ts +11 -0
  1326. package/script/parse/v3-1/components/toComponentsV3.d.ts.map +1 -0
  1327. package/script/parse/v3-1/components/toComponentsV3.js +43 -0
  1328. package/script/parse/v3-1/contact/toContactV3.d.ts +6 -0
  1329. package/script/parse/v3-1/contact/toContactV3.d.ts.map +1 -0
  1330. package/script/parse/v3-1/contact/toContactV3.js +22 -0
  1331. package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +11 -0
  1332. package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +1 -0
  1333. package/script/parse/v3-1/discriminator/toDiscriminatorV3.js +24 -0
  1334. package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts +15 -0
  1335. package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +1 -0
  1336. package/script/parse/v3-1/document/toDocumentFieldsV3.js +36 -0
  1337. package/script/parse/v3-1/example/toExamplesV3.d.ts +68 -0
  1338. package/script/parse/v3-1/example/toExamplesV3.d.ts.map +1 -0
  1339. package/script/parse/v3-1/example/toExamplesV3.js +95 -0
  1340. package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts +11 -0
  1341. package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +1 -0
  1342. package/script/parse/v3-1/externalDocs/toExternalDocs.js +52 -0
  1343. package/script/parse/v3-1/header/toHeadersV3.d.ts +17 -0
  1344. package/script/parse/v3-1/header/toHeadersV3.d.ts.map +1 -0
  1345. package/script/parse/v3-1/header/toHeadersV3.js +51 -0
  1346. package/script/parse/v3-1/info/toInfoV3.d.ts +11 -0
  1347. package/script/parse/v3-1/info/toInfoV3.d.ts.map +1 -0
  1348. package/script/parse/v3-1/info/toInfoV3.js +27 -0
  1349. package/script/parse/v3-1/integer/toInteger.d.ts +22 -0
  1350. package/script/parse/v3-1/integer/toInteger.d.ts.map +1 -0
  1351. package/script/parse/v3-1/integer/toInteger.js +150 -0
  1352. package/script/parse/v3-1/license/toLicenseV3.d.ts +6 -0
  1353. package/script/parse/v3-1/license/toLicenseV3.d.ts.map +1 -0
  1354. package/script/parse/v3-1/license/toLicenseV3.js +21 -0
  1355. package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +315 -0
  1356. package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
  1357. package/script/parse/v3-1/mediaType/toMediaTypeItemV3.js +320 -0
  1358. package/script/parse/v3-1/number/toNumber.d.ts +11 -0
  1359. package/script/parse/v3-1/number/toNumber.d.ts.map +1 -0
  1360. package/script/parse/v3-1/number/toNumber.js +149 -0
  1361. package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +12 -0
  1362. package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +1 -0
  1363. package/script/parse/v3-1/object/toAdditionalPropertiesV3.js +14 -0
  1364. package/script/parse/v3-1/object/toObject.d.ts +11 -0
  1365. package/script/parse/v3-1/object/toObject.d.ts.map +1 -0
  1366. package/script/parse/v3-1/object/toObject.js +92 -0
  1367. package/script/parse/v3-1/operation/toOperationsV3.d.ts +26 -0
  1368. package/script/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -0
  1369. package/script/parse/v3-1/operation/toOperationsV3.js +121 -0
  1370. package/script/parse/v3-1/parameter/toParameterV3.d.ts +40 -0
  1371. package/script/parse/v3-1/parameter/toParameterV3.d.ts.map +1 -0
  1372. package/script/parse/v3-1/parameter/toParameterV3.js +151 -0
  1373. package/script/parse/v3-1/pathItem/toPathItemV3.d.ts +11 -0
  1374. package/script/parse/v3-1/pathItem/toPathItemV3.d.ts.map +1 -0
  1375. package/script/parse/v3-1/pathItem/toPathItemV3.js +22 -0
  1376. package/script/parse/v3-1/ref/toRefV31.d.ts +20 -0
  1377. package/script/parse/v3-1/ref/toRefV31.d.ts.map +1 -0
  1378. package/script/parse/v3-1/ref/toRefV31.js +14 -0
  1379. package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +19 -0
  1380. package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +1 -0
  1381. package/script/parse/v3-1/requestBody/toRequestBodiesV3.js +49 -0
  1382. package/script/parse/v3-1/response/toResponseV3.d.ts +24 -0
  1383. package/script/parse/v3-1/response/toResponseV3.d.ts.map +1 -0
  1384. package/script/parse/v3-1/response/toResponseV3.js +58 -0
  1385. package/script/parse/v3-1/schema/toSchemasV3.d.ts +30 -0
  1386. package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -0
  1387. package/script/parse/v3-1/schema/toSchemasV3.js +485 -0
  1388. package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +10 -0
  1389. package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
  1390. package/script/parse/v3-1/securityRequirement/toSecurityRequirement.js +13 -0
  1391. package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +18 -0
  1392. package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
  1393. package/script/parse/v3-1/securitySchemes/toSecuritySchemes.js +142 -0
  1394. package/script/parse/v3-1/server/toServerV3.d.ts +23 -0
  1395. package/script/parse/v3-1/server/toServerV3.d.ts.map +1 -0
  1396. package/script/parse/v3-1/server/toServerV3.js +36 -0
  1397. package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts +23 -0
  1398. package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +1 -0
  1399. package/script/parse/v3-1/serverVariable/toServerVariableV3.js +36 -0
  1400. package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
  1401. package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
  1402. package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.js +30 -0
  1403. package/script/parse/v3-1/string/toString.d.ts +147 -0
  1404. package/script/parse/v3-1/string/toString.d.ts.map +1 -0
  1405. package/script/parse/v3-1/string/toString.js +256 -0
  1406. package/script/parse/v3-1/tag/toTagsV3.d.ts +17 -0
  1407. package/script/parse/v3-1/tag/toTagsV3.d.ts.map +1 -0
  1408. package/script/parse/v3-1/tag/toTagsV3.js +32 -0
  1409. package/script/parse/v3-1/union/toUnion.d.ts +13 -0
  1410. package/script/parse/v3-1/union/toUnion.d.ts.map +1 -0
  1411. package/script/parse/v3-1/union/toUnion.js +70 -0
  1412. package/script/parse/v3-1/unknown/toUnknown.d.ts +11 -0
  1413. package/script/parse/v3-1/unknown/toUnknown.d.ts.map +1 -0
  1414. package/script/parse/v3-1/unknown/toUnknown.js +23 -0
  1415. package/script/parse/v3-1/webhook/toWebhooksV3.d.ts +49 -0
  1416. package/script/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -0
  1417. package/script/parse/v3-1/webhook/toWebhooksV3.js +135 -0
  1418. package/script/run/toArtifacts.d.ts +20 -25
  1419. package/script/run/toArtifacts.d.ts.map +1 -1
  1420. package/script/run/toArtifacts.js +9 -60
  1421. package/script/run/toEnrichmentDefaults.d.ts +51 -0
  1422. package/script/run/toEnrichmentDefaults.d.ts.map +1 -0
  1423. package/script/run/toEnrichmentDefaults.js +28 -0
  1424. package/script/run/toSupportedSubjects.d.ts +48 -0
  1425. package/script/run/toSupportedSubjects.d.ts.map +1 -0
  1426. package/script/run/toSupportedSubjects.js +25 -0
  1427. package/script/types/AccessorPath.d.ts +17 -0
  1428. package/script/types/AccessorPath.d.ts.map +1 -0
  1429. package/script/types/AccessorPath.js +45 -0
  1430. package/script/types/AttributionState.d.ts +51 -0
  1431. package/script/types/AttributionState.d.ts.map +1 -0
  1432. package/script/types/AttributionState.js +21 -0
  1433. package/script/types/Brand.d.ts +3 -2
  1434. package/script/types/Brand.d.ts.map +1 -1
  1435. package/script/types/Brand.js +10 -0
  1436. package/script/types/DenoJson.d.ts +1 -0
  1437. package/script/types/DenoJson.d.ts.map +1 -1
  1438. package/script/types/DenoJson.js +1 -0
  1439. package/script/types/EnrichmentDefaults.d.ts +33 -0
  1440. package/script/types/EnrichmentDefaults.d.ts.map +1 -0
  1441. package/script/types/EnrichmentDefaults.js +22 -0
  1442. package/script/types/EnrichmentRequest.d.ts +1 -0
  1443. package/script/types/EnrichmentRequest.d.ts.map +1 -1
  1444. package/script/types/EnrichmentRequest.js +2 -1
  1445. package/script/types/Enrichments.d.ts +136 -175
  1446. package/script/types/Enrichments.d.ts.map +1 -1
  1447. package/script/types/Enrichments.js +105 -138
  1448. package/script/types/GeneratorType.d.ts +45 -107
  1449. package/script/types/GeneratorType.d.ts.map +1 -1
  1450. package/script/types/JsonPointer.d.ts +92 -0
  1451. package/script/types/JsonPointer.d.ts.map +1 -0
  1452. package/script/types/JsonPointer.js +121 -0
  1453. package/script/types/Manifest.d.ts +11 -2
  1454. package/script/types/Manifest.d.ts.map +1 -1
  1455. package/script/types/Manifest.js +84 -37
  1456. package/script/types/Method.d.ts +1 -0
  1457. package/script/types/Method.d.ts.map +1 -1
  1458. package/script/types/Method.js +1 -0
  1459. package/script/types/ModuleExport.d.ts +1 -0
  1460. package/script/types/ModuleExport.d.ts.map +1 -1
  1461. package/script/types/ModuleExport.js +1 -0
  1462. package/script/types/OasBase.d.ts +40 -0
  1463. package/script/types/OasBase.d.ts.map +1 -0
  1464. package/script/types/OasBase.js +52 -0
  1465. package/script/types/Preview.d.ts +100 -66
  1466. package/script/types/Preview.d.ts.map +1 -1
  1467. package/script/types/Preview.js +98 -96
  1468. package/script/types/RefName.d.ts +3 -2
  1469. package/script/types/RefName.d.ts.map +1 -1
  1470. package/script/types/RefName.js +2 -1
  1471. package/script/types/Results.d.ts +1 -0
  1472. package/script/types/Results.d.ts.map +1 -1
  1473. package/script/types/Results.js +36 -35
  1474. package/script/types/Settings.d.ts +236 -25
  1475. package/script/types/Settings.d.ts.map +1 -1
  1476. package/script/types/Settings.js +106 -42
  1477. package/script/types/SkmtcDocument.d.ts +81 -0
  1478. package/script/types/SkmtcDocument.d.ts.map +1 -0
  1479. package/script/types/SkmtcDocument.js +23 -0
  1480. package/script/types/SupportedSubjects.d.ts +41 -0
  1481. package/script/types/SupportedSubjects.d.ts.map +1 -0
  1482. package/script/types/SupportedSubjects.js +11 -0
  1483. package/script/types/TypeSystem.d.ts +1 -0
  1484. package/script/types/TypeSystem.d.ts.map +1 -1
  1485. package/script/types/TypeSystem.js +1 -0
  1486. package/script/types/Variant.d.ts +65 -0
  1487. package/script/types/Variant.d.ts.map +1 -0
  1488. package/script/types/Variant.js +58 -0
  1489. package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts +0 -700
  1490. package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
  1491. package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.js +0 -903
  1492. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
  1493. package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -271
  1494. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  1495. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
  1496. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  1497. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
  1498. package/esm/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
  1499. package/esm/deps/jsr.io/@std/io/0.225.2/types.js +0 -15
  1500. package/esm/deps/jsr.io/@std/io/0.225.2/write_all.d.ts +0 -51
  1501. package/esm/deps/jsr.io/@std/io/0.225.2/write_all.d.ts.map +0 -1
  1502. package/esm/deps/jsr.io/@std/io/0.225.2/write_all.js +0 -61
  1503. package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
  1504. package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
  1505. package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
  1506. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
  1507. package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
  1508. package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
  1509. package/esm/deps/jsr.io/@std/path/1.1.3/join.js +0 -29
  1510. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
  1511. package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -32
  1512. package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
  1513. package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
  1514. package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
  1515. package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
  1516. package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
  1517. package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
  1518. package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
  1519. package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
  1520. package/esm/dsl/ContentBase.d.ts +0 -131
  1521. package/esm/dsl/ContentBase.d.ts.map +0 -1
  1522. package/esm/dsl/ContentBase.js +0 -137
  1523. package/esm/dsl/EntityType.d.ts +0 -89
  1524. package/esm/dsl/EntityType.d.ts.map +0 -1
  1525. package/esm/dsl/EntityType.js +0 -106
  1526. package/esm/dsl/File.d.ts +0 -232
  1527. package/esm/dsl/File.d.ts.map +0 -1
  1528. package/esm/dsl/File.js +0 -288
  1529. package/esm/dsl/Identifier.d.ts +0 -163
  1530. package/esm/dsl/Identifier.d.ts.map +0 -1
  1531. package/esm/dsl/Identifier.js +0 -200
  1532. package/esm/dsl/Import.d.ts +0 -243
  1533. package/esm/dsl/Import.d.ts.map +0 -1
  1534. package/esm/dsl/Import.js +0 -265
  1535. package/esm/dsl/model/ModelBase.d.ts +0 -285
  1536. package/esm/dsl/model/ModelBase.d.ts.map +0 -1
  1537. package/esm/dsl/model/ModelBase.js +0 -294
  1538. package/esm/dsl/model/toModelBase.d.ts +0 -106
  1539. package/esm/dsl/model/toModelBase.d.ts.map +0 -1
  1540. package/esm/dsl/model/toModelBase.js +0 -105
  1541. package/esm/dsl/operation/OperationBase.d.ts +0 -388
  1542. package/esm/dsl/operation/OperationBase.d.ts.map +0 -1
  1543. package/esm/dsl/operation/OperationBase.js +0 -407
  1544. package/esm/dsl/operation/OperationDriver.d.ts +0 -111
  1545. package/esm/dsl/operation/OperationDriver.d.ts.map +0 -1
  1546. package/esm/dsl/operation/OperationDriver.js +0 -191
  1547. package/esm/dsl/operation/toOperationBase.d.ts +0 -94
  1548. package/esm/dsl/operation/toOperationBase.d.ts.map +0 -1
  1549. package/esm/dsl/operation/toOperationBase.js +0 -99
  1550. package/esm/dsl/operation/toOperationEntry.d.ts +0 -63
  1551. package/esm/dsl/operation/toOperationEntry.d.ts.map +0 -1
  1552. package/esm/dsl/operation/toOperationEntry.js +0 -53
  1553. package/esm/dsl/operation/types.d.ts +0 -125
  1554. package/esm/dsl/operation/types.d.ts.map +0 -1
  1555. package/esm/helpers/protectedKeywords.d.ts +0 -2
  1556. package/esm/helpers/protectedKeywords.d.ts.map +0 -1
  1557. package/esm/helpers/protectedKeywords.js +0 -69
  1558. package/esm/helpers/sanitizePropertyName.d.ts +0 -3
  1559. package/esm/helpers/sanitizePropertyName.d.ts.map +0 -1
  1560. package/esm/helpers/sanitizePropertyName.js +0 -14
  1561. package/esm/helpers/tracer.d.ts +0 -127
  1562. package/esm/helpers/tracer.d.ts.map +0 -1
  1563. package/esm/helpers/tracer.js +0 -137
  1564. package/esm/oas/_helpers/parseEnum.d.ts +0 -14
  1565. package/esm/oas/_helpers/parseEnum.d.ts.map +0 -1
  1566. package/esm/oas/_helpers/parseEnum.js +0 -23
  1567. package/esm/oas/_helpers/parseNullable.d.ts +0 -142
  1568. package/esm/oas/_helpers/parseNullable.d.ts.map +0 -1
  1569. package/esm/oas/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
  1570. package/esm/oas/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
  1571. package/esm/oas/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
  1572. package/esm/oas/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
  1573. package/esm/oas/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
  1574. package/esm/oas/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
  1575. package/esm/oas/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
  1576. package/esm/oas/_merge-all-of/cross-product.d.ts.map +0 -1
  1577. package/esm/oas/_merge-all-of/decompose-intersection.d.ts.map +0 -1
  1578. package/esm/oas/_merge-all-of/decompose-union.d.ts.map +0 -1
  1579. package/esm/oas/_merge-all-of/decompose-union.js +0 -52
  1580. package/esm/oas/_merge-all-of/generic-merge.d.ts.map +0 -1
  1581. package/esm/oas/_merge-all-of/is-equal.d.ts.map +0 -1
  1582. package/esm/oas/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
  1583. package/esm/oas/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
  1584. package/esm/oas/_merge-all-of/merge-enum-values.d.ts.map +0 -1
  1585. package/esm/oas/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
  1586. package/esm/oas/_merge-all-of/merge-intersection.d.ts.map +0 -1
  1587. package/esm/oas/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
  1588. package/esm/oas/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
  1589. package/esm/oas/_merge-all-of/merge-properties.d.ts.map +0 -1
  1590. package/esm/oas/_merge-all-of/merge-required.d.ts.map +0 -1
  1591. package/esm/oas/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
  1592. package/esm/oas/_merge-all-of/merge-union.d.ts.map +0 -1
  1593. package/esm/oas/_merge-all-of/merge-union.js +0 -53
  1594. package/esm/oas/_merge-all-of/merge.d.ts.map +0 -1
  1595. package/esm/oas/_merge-all-of/merge.js +0 -155
  1596. package/esm/oas/_merge-all-of/nullable-merge.d.ts.map +0 -1
  1597. package/esm/oas/_merge-all-of/nullable-merge.js +0 -12
  1598. package/esm/oas/_merge-all-of/types.d.ts.map +0 -1
  1599. package/esm/oas/array/toArray.d.ts +0 -81
  1600. package/esm/oas/array/toArray.d.ts.map +0 -1
  1601. package/esm/oas/array/toArray.js +0 -184
  1602. package/esm/oas/boolean/toBoolean.d.ts +0 -79
  1603. package/esm/oas/boolean/toBoolean.d.ts.map +0 -1
  1604. package/esm/oas/boolean/toBoolean.js +0 -179
  1605. package/esm/oas/components/toComponentsV3.d.ts +0 -12
  1606. package/esm/oas/components/toComponentsV3.d.ts.map +0 -1
  1607. package/esm/oas/components/toComponentsV3.js +0 -39
  1608. package/esm/oas/contact/toContactV3.d.ts +0 -6
  1609. package/esm/oas/contact/toContactV3.d.ts.map +0 -1
  1610. package/esm/oas/contact/toContactV3.js +0 -18
  1611. package/esm/oas/discriminator/toDiscriminatorV3.d.ts +0 -12
  1612. package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +0 -1
  1613. package/esm/oas/discriminator/toDiscriminatorV3.js +0 -20
  1614. package/esm/oas/document/toDocumentFieldsV3.d.ts +0 -12
  1615. package/esm/oas/document/toDocumentFieldsV3.d.ts.map +0 -1
  1616. package/esm/oas/document/toDocumentFieldsV3.js +0 -30
  1617. package/esm/oas/example/toExamplesV3.d.ts +0 -69
  1618. package/esm/oas/example/toExamplesV3.d.ts.map +0 -1
  1619. package/esm/oas/example/toExamplesV3.js +0 -89
  1620. package/esm/oas/externalDocs/toExternalDocs.d.ts +0 -12
  1621. package/esm/oas/externalDocs/toExternalDocs.d.ts.map +0 -1
  1622. package/esm/oas/externalDocs/toExternalDocs.js +0 -15
  1623. package/esm/oas/header/toHeadersV3.d.ts +0 -13
  1624. package/esm/oas/header/toHeadersV3.d.ts.map +0 -1
  1625. package/esm/oas/header/toHeadersV3.js +0 -47
  1626. package/esm/oas/info/toInfoV3.d.ts +0 -12
  1627. package/esm/oas/info/toInfoV3.d.ts.map +0 -1
  1628. package/esm/oas/info/toInfoV3.js +0 -23
  1629. package/esm/oas/integer/toInteger.d.ts +0 -21
  1630. package/esm/oas/integer/toInteger.d.ts.map +0 -1
  1631. package/esm/oas/integer/toInteger.js +0 -117
  1632. package/esm/oas/license/toLicenseV3.d.ts +0 -6
  1633. package/esm/oas/license/toLicenseV3.d.ts.map +0 -1
  1634. package/esm/oas/license/toLicenseV3.js +0 -17
  1635. package/esm/oas/mediaType/toMediaTypeItemV3.d.ts +0 -316
  1636. package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
  1637. package/esm/oas/mediaType/toMediaTypeItemV3.js +0 -314
  1638. package/esm/oas/number/toNumber.d.ts +0 -12
  1639. package/esm/oas/number/toNumber.d.ts.map +0 -1
  1640. package/esm/oas/number/toNumber.js +0 -117
  1641. package/esm/oas/object/toAdditionalPropertiesV3.d.ts +0 -13
  1642. package/esm/oas/object/toAdditionalPropertiesV3.d.ts.map +0 -1
  1643. package/esm/oas/object/toObject.d.ts +0 -12
  1644. package/esm/oas/object/toObject.d.ts.map +0 -1
  1645. package/esm/oas/object/toObject.js +0 -93
  1646. package/esm/oas/operation/toOperationsV3.d.ts +0 -26
  1647. package/esm/oas/operation/toOperationsV3.d.ts.map +0 -1
  1648. package/esm/oas/operation/toOperationsV3.js +0 -102
  1649. package/esm/oas/parameter/toParameterV3.d.ts +0 -25
  1650. package/esm/oas/parameter/toParameterV3.d.ts.map +0 -1
  1651. package/esm/oas/parameter/toParameterV3.js +0 -115
  1652. package/esm/oas/pathItem/toPathItemV3.d.ts +0 -12
  1653. package/esm/oas/pathItem/toPathItemV3.d.ts.map +0 -1
  1654. package/esm/oas/pathItem/toPathItemV3.js +0 -18
  1655. package/esm/oas/ref/toRefV31.d.ts +0 -14
  1656. package/esm/oas/ref/toRefV31.d.ts.map +0 -1
  1657. package/esm/oas/ref/toRefV31.js +0 -13
  1658. package/esm/oas/requestBody/toRequestBodiesV3.d.ts +0 -20
  1659. package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +0 -1
  1660. package/esm/oas/requestBody/toRequestBodiesV3.js +0 -44
  1661. package/esm/oas/response/toResponseV3.d.ts +0 -25
  1662. package/esm/oas/response/toResponseV3.d.ts.map +0 -1
  1663. package/esm/oas/response/toResponseV3.js +0 -53
  1664. package/esm/oas/schema/toSchemasV3.d.ts +0 -31
  1665. package/esm/oas/schema/toSchemasV3.d.ts.map +0 -1
  1666. package/esm/oas/schema/toSchemasV3.js +0 -227
  1667. package/esm/oas/securityRequirement/toSecurityRequirement.d.ts +0 -11
  1668. package/esm/oas/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
  1669. package/esm/oas/securityRequirement/toSecurityRequirement.js +0 -9
  1670. package/esm/oas/securitySchemes/toSecuritySchemes.d.ts +0 -13
  1671. package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
  1672. package/esm/oas/securitySchemes/toSecuritySchemes.js +0 -89
  1673. package/esm/oas/server/toServerV3.d.ts +0 -24
  1674. package/esm/oas/server/toServerV3.d.ts.map +0 -1
  1675. package/esm/oas/server/toServerV3.js +0 -30
  1676. package/esm/oas/serverVariable/toServerVariableV3.d.ts +0 -24
  1677. package/esm/oas/serverVariable/toServerVariableV3.d.ts.map +0 -1
  1678. package/esm/oas/serverVariable/toServerVariableV3.js +0 -30
  1679. package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -16
  1680. package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
  1681. package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.js +0 -25
  1682. package/esm/oas/string/toString.d.ts +0 -147
  1683. package/esm/oas/string/toString.d.ts.map +0 -1
  1684. package/esm/oas/string/toString.js +0 -252
  1685. package/esm/oas/tag/toTagsV3.d.ts +0 -18
  1686. package/esm/oas/tag/toTagsV3.d.ts.map +0 -1
  1687. package/esm/oas/tag/toTagsV3.js +0 -24
  1688. package/esm/oas/union/toUnion.d.ts +0 -14
  1689. package/esm/oas/union/toUnion.d.ts.map +0 -1
  1690. package/esm/oas/union/toUnion.js +0 -32
  1691. package/esm/oas/unknown/toUnknown.d.ts +0 -12
  1692. package/esm/oas/unknown/toUnknown.d.ts.map +0 -1
  1693. package/esm/oas/unknown/toUnknown.js +0 -19
  1694. package/esm/types/PrettierConfig.d.ts +0 -101
  1695. package/esm/types/PrettierConfig.d.ts.map +0 -1
  1696. package/esm/types/PrettierConfig.js +0 -99
  1697. package/esm/typescript/FunctionParameter.d.ts +0 -349
  1698. package/esm/typescript/FunctionParameter.d.ts.map +0 -1
  1699. package/esm/typescript/FunctionParameter.js +0 -457
  1700. package/esm/typescript/List.d.ts +0 -362
  1701. package/esm/typescript/List.d.ts.map +0 -1
  1702. package/esm/typescript/List.js +0 -503
  1703. package/esm/typescript/PathParams.d.ts +0 -218
  1704. package/esm/typescript/PathParams.d.ts.map +0 -1
  1705. package/esm/typescript/PathParams.js +0 -239
  1706. package/esm/typescript/ReactRouterPathParams.d.ts +0 -210
  1707. package/esm/typescript/ReactRouterPathParams.d.ts.map +0 -1
  1708. package/esm/typescript/ReactRouterPathParams.js +0 -232
  1709. package/esm/typescript/identifiers.d.ts +0 -162
  1710. package/esm/typescript/identifiers.d.ts.map +0 -1
  1711. package/esm/typescript/identifiers.js +0 -166
  1712. package/esm/typescript/keyValues.d.ts +0 -128
  1713. package/esm/typescript/keyValues.d.ts.map +0 -1
  1714. package/esm/typescript/keyValues.js +0 -135
  1715. package/esm/typescript/toPathParams.d.ts +0 -181
  1716. package/esm/typescript/toPathParams.d.ts.map +0 -1
  1717. package/esm/typescript/toPathParams.js +0 -182
  1718. package/esm/typescript/toPathTemplate.d.ts +0 -116
  1719. package/esm/typescript/toPathTemplate.d.ts.map +0 -1
  1720. package/esm/typescript/toPathTemplate.js +0 -117
  1721. package/esm/typescript/withDescription.d.ts +0 -123
  1722. package/esm/typescript/withDescription.d.ts.map +0 -1
  1723. package/esm/typescript/withDescription.js +0 -122
  1724. package/script/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts +0 -700
  1725. package/script/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
  1726. package/script/deps/jsr.io/@std/fmt/1.0.8/colors.js +0 -986
  1727. package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
  1728. package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -308
  1729. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  1730. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -48
  1731. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  1732. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +0 -8
  1733. package/script/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
  1734. package/script/deps/jsr.io/@std/io/0.225.2/types.js +0 -18
  1735. package/script/deps/jsr.io/@std/io/0.225.2/write_all.d.ts +0 -51
  1736. package/script/deps/jsr.io/@std/io/0.225.2/write_all.d.ts.map +0 -1
  1737. package/script/deps/jsr.io/@std/io/0.225.2/write_all.js +0 -65
  1738. package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
  1739. package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
  1740. package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
  1741. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
  1742. package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
  1743. package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
  1744. package/script/deps/jsr.io/@std/path/1.1.3/join.js +0 -32
  1745. package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
  1746. package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -35
  1747. package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
  1748. package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
  1749. package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
  1750. package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
  1751. package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
  1752. package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
  1753. package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
  1754. package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
  1755. package/script/dsl/ContentBase.d.ts +0 -131
  1756. package/script/dsl/ContentBase.d.ts.map +0 -1
  1757. package/script/dsl/ContentBase.js +0 -141
  1758. package/script/dsl/EntityType.d.ts +0 -89
  1759. package/script/dsl/EntityType.d.ts.map +0 -1
  1760. package/script/dsl/EntityType.js +0 -110
  1761. package/script/dsl/File.d.ts +0 -232
  1762. package/script/dsl/File.d.ts.map +0 -1
  1763. package/script/dsl/File.js +0 -293
  1764. package/script/dsl/Identifier.d.ts +0 -163
  1765. package/script/dsl/Identifier.d.ts.map +0 -1
  1766. package/script/dsl/Identifier.js +0 -204
  1767. package/script/dsl/Import.d.ts +0 -243
  1768. package/script/dsl/Import.d.ts.map +0 -1
  1769. package/script/dsl/Import.js +0 -270
  1770. package/script/dsl/model/ModelBase.d.ts +0 -285
  1771. package/script/dsl/model/ModelBase.d.ts.map +0 -1
  1772. package/script/dsl/model/ModelBase.js +0 -298
  1773. package/script/dsl/model/toModelBase.d.ts +0 -106
  1774. package/script/dsl/model/toModelBase.d.ts.map +0 -1
  1775. package/script/dsl/model/toModelBase.js +0 -145
  1776. package/script/dsl/operation/OperationBase.d.ts +0 -388
  1777. package/script/dsl/operation/OperationBase.d.ts.map +0 -1
  1778. package/script/dsl/operation/OperationBase.js +0 -411
  1779. package/script/dsl/operation/OperationDriver.d.ts +0 -111
  1780. package/script/dsl/operation/OperationDriver.d.ts.map +0 -1
  1781. package/script/dsl/operation/OperationDriver.js +0 -195
  1782. package/script/dsl/operation/toOperationBase.d.ts +0 -94
  1783. package/script/dsl/operation/toOperationBase.d.ts.map +0 -1
  1784. package/script/dsl/operation/toOperationBase.js +0 -139
  1785. package/script/dsl/operation/toOperationEntry.d.ts +0 -63
  1786. package/script/dsl/operation/toOperationEntry.d.ts.map +0 -1
  1787. package/script/dsl/operation/toOperationEntry.js +0 -93
  1788. package/script/dsl/operation/types.d.ts +0 -125
  1789. package/script/dsl/operation/types.d.ts.map +0 -1
  1790. package/script/helpers/protectedKeywords.d.ts +0 -2
  1791. package/script/helpers/protectedKeywords.d.ts.map +0 -1
  1792. package/script/helpers/protectedKeywords.js +0 -72
  1793. package/script/helpers/sanitizePropertyName.d.ts +0 -3
  1794. package/script/helpers/sanitizePropertyName.d.ts.map +0 -1
  1795. package/script/helpers/sanitizePropertyName.js +0 -18
  1796. package/script/helpers/tracer.d.ts +0 -127
  1797. package/script/helpers/tracer.d.ts.map +0 -1
  1798. package/script/helpers/tracer.js +0 -141
  1799. package/script/oas/_helpers/parseEnum.d.ts +0 -14
  1800. package/script/oas/_helpers/parseEnum.d.ts.map +0 -1
  1801. package/script/oas/_helpers/parseEnum.js +0 -27
  1802. package/script/oas/_helpers/parseNullable.d.ts +0 -142
  1803. package/script/oas/_helpers/parseNullable.d.ts.map +0 -1
  1804. package/script/oas/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
  1805. package/script/oas/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
  1806. package/script/oas/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
  1807. package/script/oas/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
  1808. package/script/oas/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
  1809. package/script/oas/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
  1810. package/script/oas/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
  1811. package/script/oas/_merge-all-of/cross-product.d.ts.map +0 -1
  1812. package/script/oas/_merge-all-of/decompose-intersection.d.ts.map +0 -1
  1813. package/script/oas/_merge-all-of/decompose-union.d.ts.map +0 -1
  1814. package/script/oas/_merge-all-of/decompose-union.js +0 -56
  1815. package/script/oas/_merge-all-of/generic-merge.d.ts.map +0 -1
  1816. package/script/oas/_merge-all-of/is-equal.d.ts.map +0 -1
  1817. package/script/oas/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
  1818. package/script/oas/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
  1819. package/script/oas/_merge-all-of/merge-enum-values.d.ts.map +0 -1
  1820. package/script/oas/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
  1821. package/script/oas/_merge-all-of/merge-intersection.d.ts.map +0 -1
  1822. package/script/oas/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
  1823. package/script/oas/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
  1824. package/script/oas/_merge-all-of/merge-properties.d.ts.map +0 -1
  1825. package/script/oas/_merge-all-of/merge-required.d.ts.map +0 -1
  1826. package/script/oas/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
  1827. package/script/oas/_merge-all-of/merge-union.d.ts.map +0 -1
  1828. package/script/oas/_merge-all-of/merge-union.js +0 -58
  1829. package/script/oas/_merge-all-of/merge.d.ts.map +0 -1
  1830. package/script/oas/_merge-all-of/merge.js +0 -159
  1831. package/script/oas/_merge-all-of/nullable-merge.d.ts.map +0 -1
  1832. package/script/oas/_merge-all-of/nullable-merge.js +0 -17
  1833. package/script/oas/_merge-all-of/types.d.ts.map +0 -1
  1834. package/script/oas/array/toArray.d.ts +0 -81
  1835. package/script/oas/array/toArray.d.ts.map +0 -1
  1836. package/script/oas/array/toArray.js +0 -222
  1837. package/script/oas/boolean/toBoolean.d.ts +0 -79
  1838. package/script/oas/boolean/toBoolean.d.ts.map +0 -1
  1839. package/script/oas/boolean/toBoolean.js +0 -217
  1840. package/script/oas/components/toComponentsV3.d.ts +0 -12
  1841. package/script/oas/components/toComponentsV3.d.ts.map +0 -1
  1842. package/script/oas/components/toComponentsV3.js +0 -43
  1843. package/script/oas/contact/toContactV3.d.ts +0 -6
  1844. package/script/oas/contact/toContactV3.d.ts.map +0 -1
  1845. package/script/oas/contact/toContactV3.js +0 -22
  1846. package/script/oas/discriminator/toDiscriminatorV3.d.ts +0 -12
  1847. package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +0 -1
  1848. package/script/oas/discriminator/toDiscriminatorV3.js +0 -24
  1849. package/script/oas/document/toDocumentFieldsV3.d.ts +0 -12
  1850. package/script/oas/document/toDocumentFieldsV3.d.ts.map +0 -1
  1851. package/script/oas/document/toDocumentFieldsV3.js +0 -34
  1852. package/script/oas/example/toExamplesV3.d.ts +0 -69
  1853. package/script/oas/example/toExamplesV3.d.ts.map +0 -1
  1854. package/script/oas/example/toExamplesV3.js +0 -95
  1855. package/script/oas/externalDocs/toExternalDocs.d.ts +0 -12
  1856. package/script/oas/externalDocs/toExternalDocs.d.ts.map +0 -1
  1857. package/script/oas/externalDocs/toExternalDocs.js +0 -52
  1858. package/script/oas/header/toHeadersV3.d.ts +0 -13
  1859. package/script/oas/header/toHeadersV3.d.ts.map +0 -1
  1860. package/script/oas/header/toHeadersV3.js +0 -51
  1861. package/script/oas/info/toInfoV3.d.ts +0 -12
  1862. package/script/oas/info/toInfoV3.d.ts.map +0 -1
  1863. package/script/oas/info/toInfoV3.js +0 -27
  1864. package/script/oas/integer/toInteger.d.ts +0 -21
  1865. package/script/oas/integer/toInteger.d.ts.map +0 -1
  1866. package/script/oas/integer/toInteger.js +0 -155
  1867. package/script/oas/license/toLicenseV3.d.ts +0 -6
  1868. package/script/oas/license/toLicenseV3.d.ts.map +0 -1
  1869. package/script/oas/license/toLicenseV3.js +0 -21
  1870. package/script/oas/mediaType/toMediaTypeItemV3.d.ts +0 -316
  1871. package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
  1872. package/script/oas/mediaType/toMediaTypeItemV3.js +0 -320
  1873. package/script/oas/number/toNumber.d.ts +0 -12
  1874. package/script/oas/number/toNumber.d.ts.map +0 -1
  1875. package/script/oas/number/toNumber.js +0 -154
  1876. package/script/oas/object/toAdditionalPropertiesV3.d.ts +0 -13
  1877. package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +0 -1
  1878. package/script/oas/object/toObject.d.ts +0 -12
  1879. package/script/oas/object/toObject.d.ts.map +0 -1
  1880. package/script/oas/object/toObject.js +0 -97
  1881. package/script/oas/operation/toOperationsV3.d.ts +0 -26
  1882. package/script/oas/operation/toOperationsV3.d.ts.map +0 -1
  1883. package/script/oas/operation/toOperationsV3.js +0 -110
  1884. package/script/oas/parameter/toParameterV3.d.ts +0 -25
  1885. package/script/oas/parameter/toParameterV3.d.ts.map +0 -1
  1886. package/script/oas/parameter/toParameterV3.js +0 -157
  1887. package/script/oas/pathItem/toPathItemV3.d.ts +0 -12
  1888. package/script/oas/pathItem/toPathItemV3.d.ts.map +0 -1
  1889. package/script/oas/pathItem/toPathItemV3.js +0 -22
  1890. package/script/oas/ref/toRefV31.d.ts +0 -14
  1891. package/script/oas/ref/toRefV31.d.ts.map +0 -1
  1892. package/script/oas/ref/toRefV31.js +0 -17
  1893. package/script/oas/requestBody/toRequestBodiesV3.d.ts +0 -20
  1894. package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +0 -1
  1895. package/script/oas/requestBody/toRequestBodiesV3.js +0 -49
  1896. package/script/oas/response/toResponseV3.d.ts +0 -25
  1897. package/script/oas/response/toResponseV3.d.ts.map +0 -1
  1898. package/script/oas/response/toResponseV3.js +0 -62
  1899. package/script/oas/schema/toSchemasV3.d.ts +0 -31
  1900. package/script/oas/schema/toSchemasV3.d.ts.map +0 -1
  1901. package/script/oas/schema/toSchemasV3.js +0 -237
  1902. package/script/oas/securityRequirement/toSecurityRequirement.d.ts +0 -11
  1903. package/script/oas/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
  1904. package/script/oas/securityRequirement/toSecurityRequirement.js +0 -13
  1905. package/script/oas/securitySchemes/toSecuritySchemes.d.ts +0 -13
  1906. package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
  1907. package/script/oas/securitySchemes/toSecuritySchemes.js +0 -126
  1908. package/script/oas/server/toServerV3.d.ts +0 -24
  1909. package/script/oas/server/toServerV3.d.ts.map +0 -1
  1910. package/script/oas/server/toServerV3.js +0 -36
  1911. package/script/oas/serverVariable/toServerVariableV3.d.ts +0 -24
  1912. package/script/oas/serverVariable/toServerVariableV3.d.ts.map +0 -1
  1913. package/script/oas/serverVariable/toServerVariableV3.js +0 -36
  1914. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -16
  1915. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
  1916. package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +0 -30
  1917. package/script/oas/string/toString.d.ts +0 -147
  1918. package/script/oas/string/toString.d.ts.map +0 -1
  1919. package/script/oas/string/toString.js +0 -290
  1920. package/script/oas/tag/toTagsV3.d.ts +0 -18
  1921. package/script/oas/tag/toTagsV3.d.ts.map +0 -1
  1922. package/script/oas/tag/toTagsV3.js +0 -29
  1923. package/script/oas/union/toUnion.d.ts +0 -14
  1924. package/script/oas/union/toUnion.d.ts.map +0 -1
  1925. package/script/oas/union/toUnion.js +0 -36
  1926. package/script/oas/unknown/toUnknown.d.ts +0 -12
  1927. package/script/oas/unknown/toUnknown.d.ts.map +0 -1
  1928. package/script/oas/unknown/toUnknown.js +0 -23
  1929. package/script/types/PrettierConfig.d.ts +0 -101
  1930. package/script/types/PrettierConfig.d.ts.map +0 -1
  1931. package/script/types/PrettierConfig.js +0 -135
  1932. package/script/typescript/FunctionParameter.d.ts +0 -349
  1933. package/script/typescript/FunctionParameter.d.ts.map +0 -1
  1934. package/script/typescript/FunctionParameter.js +0 -461
  1935. package/script/typescript/List.d.ts +0 -362
  1936. package/script/typescript/List.d.ts.map +0 -1
  1937. package/script/typescript/List.js +0 -509
  1938. package/script/typescript/PathParams.d.ts +0 -218
  1939. package/script/typescript/PathParams.d.ts.map +0 -1
  1940. package/script/typescript/PathParams.js +0 -243
  1941. package/script/typescript/ReactRouterPathParams.d.ts +0 -210
  1942. package/script/typescript/ReactRouterPathParams.d.ts.map +0 -1
  1943. package/script/typescript/ReactRouterPathParams.js +0 -236
  1944. package/script/typescript/identifiers.d.ts +0 -162
  1945. package/script/typescript/identifiers.d.ts.map +0 -1
  1946. package/script/typescript/identifiers.js +0 -171
  1947. package/script/typescript/keyValues.d.ts +0 -128
  1948. package/script/typescript/keyValues.d.ts.map +0 -1
  1949. package/script/typescript/keyValues.js +0 -139
  1950. package/script/typescript/toPathParams.d.ts +0 -181
  1951. package/script/typescript/toPathParams.d.ts.map +0 -1
  1952. package/script/typescript/toPathParams.js +0 -186
  1953. package/script/typescript/toPathTemplate.d.ts +0 -116
  1954. package/script/typescript/toPathTemplate.d.ts.map +0 -1
  1955. package/script/typescript/toPathTemplate.js +0 -121
  1956. package/script/typescript/withDescription.d.ts +0 -123
  1957. package/script/typescript/withDescription.d.ts.map +0 -1
  1958. package/script/typescript/withDescription.js +0 -126
  1959. /package/esm/{dsl/operation/types.js → _dnt.polyfills.js} +0 -0
  1960. /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.23}/exists.d.ts +0 -0
  1961. /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
  1962. /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
  1963. /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
  1964. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
  1965. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
  1966. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
  1967. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
  1968. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
  1969. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
  1970. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
  1971. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
  1972. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  1973. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
  1974. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
  1975. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/normalize.d.ts +0 -0
  1976. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
  1977. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
  1978. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
  1979. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
  1980. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
  1981. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
  1982. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
  1983. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
  1984. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
  1985. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
  1986. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
  1987. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
  1988. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
  1989. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
  1990. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
  1991. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
  1992. /package/esm/{oas → parse/v3-0}/_helpers/parseNullable.js +0 -0
  1993. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -0
  1994. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.js +0 -0
  1995. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.d.ts +0 -0
  1996. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.js +0 -0
  1997. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.d.ts +0 -0
  1998. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.js +0 -0
  1999. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.d.ts +0 -0
  2000. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.js +0 -0
  2001. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -0
  2002. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.js +0 -0
  2003. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -0
  2004. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.js +0 -0
  2005. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.d.ts +0 -0
  2006. /package/esm/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.js +0 -0
  2007. /package/esm/{oas → parse/v3-0}/_merge-all-of/cross-product.d.ts +0 -0
  2008. /package/esm/{oas → parse/v3-0}/_merge-all-of/cross-product.js +0 -0
  2009. /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.d.ts +0 -0
  2010. /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.js +0 -0
  2011. /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-union.d.ts +0 -0
  2012. /package/esm/{oas → parse/v3-0}/_merge-all-of/generic-merge.d.ts +0 -0
  2013. /package/esm/{oas → parse/v3-0}/_merge-all-of/generic-merge.js +0 -0
  2014. /package/esm/{oas → parse/v3-0}/_merge-all-of/is-equal.d.ts +0 -0
  2015. /package/esm/{oas → parse/v3-0}/_merge-all-of/is-equal.js +0 -0
  2016. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.d.ts +0 -0
  2017. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.js +0 -0
  2018. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.d.ts +0 -0
  2019. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.js +0 -0
  2020. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.d.ts +0 -0
  2021. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.js +0 -0
  2022. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.d.ts +0 -0
  2023. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.js +0 -0
  2024. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-intersection.d.ts +0 -0
  2025. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-intersection.js +0 -0
  2026. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.d.ts +0 -0
  2027. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.js +0 -0
  2028. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.d.ts +0 -0
  2029. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.js +0 -0
  2030. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-properties.d.ts +0 -0
  2031. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-properties.js +0 -0
  2032. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-required.d.ts +0 -0
  2033. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-required.js +0 -0
  2034. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.d.ts +0 -0
  2035. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.js +0 -0
  2036. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-union.d.ts +0 -0
  2037. /package/esm/{oas → parse/v3-0}/_merge-all-of/merge.d.ts +0 -0
  2038. /package/esm/{oas → parse/v3-0}/_merge-all-of/nullable-merge.d.ts +0 -0
  2039. /package/esm/{oas → parse/v3-0}/_merge-all-of/types.d.ts +0 -0
  2040. /package/esm/{oas → parse/v3-0}/_merge-all-of/types.js +0 -0
  2041. /package/esm/{oas → parse/v3-0}/object/toAdditionalPropertiesV3.js +0 -0
  2042. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -0
  2043. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-at-least-one-type-match.d.ts +0 -0
  2044. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-enum-conflicts.d.ts +0 -0
  2045. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-format-conflicts.d.ts +0 -0
  2046. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -0
  2047. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -0
  2048. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-type-conflicts.d.ts +0 -0
  2049. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/cross-product.d.ts +0 -0
  2050. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/decompose-intersection.d.ts +0 -0
  2051. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/decompose-union.d.ts +0 -0
  2052. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/generic-merge.d.ts +0 -0
  2053. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/is-equal.d.ts +0 -0
  2054. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-array-constraints.d.ts +0 -0
  2055. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-boolean-constraints.d.ts +0 -0
  2056. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-enum-values.d.ts +0 -0
  2057. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-integer-constraints.d.ts +0 -0
  2058. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-intersection.d.ts +0 -0
  2059. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-number-constraints.d.ts +0 -0
  2060. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-object-constraints.d.ts +0 -0
  2061. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-properties.d.ts +0 -0
  2062. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-required.d.ts +0 -0
  2063. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-string-constraints.d.ts +0 -0
  2064. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-union.d.ts +0 -0
  2065. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge.d.ts +0 -0
  2066. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/nullable-merge.d.ts +0 -0
  2067. /package/{script/oas → esm/parse/v3-1}/_merge-all-of/types.d.ts +0 -0
  2068. /package/script/{dsl/operation/types.js → _dnt.polyfills.js} +0 -0
  2069. /package/script/deps/jsr.io/@std/fs/{1.0.20 → 1.0.23}/exists.d.ts +0 -0
  2070. /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
  2071. /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
  2072. /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
  2073. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
  2074. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
  2075. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
  2076. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
  2077. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
  2078. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
  2079. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
  2080. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
  2081. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  2082. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
  2083. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
  2084. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/normalize.d.ts +0 -0
  2085. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
  2086. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
  2087. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
  2088. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
  2089. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
  2090. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
  2091. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
  2092. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
  2093. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
  2094. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
  2095. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
  2096. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
  2097. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
  2098. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
  2099. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
  2100. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
  2101. /package/script/{oas → parse/v3-0}/_helpers/parseNullable.js +0 -0
  2102. /package/script/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.js +0 -0
  2103. /package/script/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.js +0 -0
  2104. /package/script/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.js +0 -0
  2105. /package/script/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.js +0 -0
  2106. /package/script/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.js +0 -0
  2107. /package/script/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.js +0 -0
  2108. /package/script/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.js +0 -0
  2109. /package/script/{oas → parse/v3-0}/_merge-all-of/cross-product.js +0 -0
  2110. /package/script/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.js +0 -0
  2111. /package/script/{oas → parse/v3-0}/_merge-all-of/generic-merge.js +0 -0
  2112. /package/script/{oas → parse/v3-0}/_merge-all-of/is-equal.js +0 -0
  2113. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.js +0 -0
  2114. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.js +0 -0
  2115. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.js +0 -0
  2116. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.js +0 -0
  2117. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-intersection.js +0 -0
  2118. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.js +0 -0
  2119. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.js +0 -0
  2120. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-properties.js +0 -0
  2121. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-required.js +0 -0
  2122. /package/script/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.js +0 -0
  2123. /package/script/{oas → parse/v3-0}/_merge-all-of/types.js +0 -0
  2124. /package/script/{oas → parse/v3-0}/object/toAdditionalPropertiesV3.js +0 -0
@@ -13,17 +13,20 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
13
13
  var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
- var _GenerateContext_instances, _GenerateContext_files, _GenerateContext_previews, _GenerateContext_mappings, _GenerateContext_runOperationGenerator, _GenerateContext_runModelGenerator, _GenerateContext_addPreview, _GenerateContext_addMapping, _GenerateContext_getFile, _GenerateContext_defineAndRegister, _GenerateContext_addFile;
16
+ var _GenerateContext_instances, _GenerateContext_files, _GenerateContext_previews, _GenerateContext_mappings, _GenerateContext_captureChannel, _GenerateContext_supports, _GenerateContext_subjectDefaults, _GenerateContext_runOasOperationGenerator, _GenerateContext_runWebhookGenerator, _GenerateContext_runGqlOperationGenerator, _GenerateContext_runModelGenerator, _GenerateContext_addPreview, _GenerateContext_addMapping;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.toModelSource = exports.toOperationSource = exports.GenerateContext = void 0;
19
- const normalize_js_1 = require("../deps/jsr.io/@std/path/1.1.3/normalize.js");
20
- const Import_js_1 = require("../dsl/Import.js");
21
- const Definition_js_1 = require("../dsl/Definition.js");
22
- const OperationDriver_js_1 = require("../dsl/operation/OperationDriver.js");
18
+ exports.toModelSource = exports.toGqlOperationSource = exports.toWebhookSource = exports.toOasOperationSource = exports.GenerateContext = void 0;
19
+ const normalize_js_1 = require("../deps/jsr.io/@std/path/1.1.4/normalize.js");
20
+ const OasOperationDriver_js_1 = require("../dsl/operation/oas/OasOperationDriver.js");
21
+ const WebhookDriver_js_1 = require("../dsl/webhook/WebhookDriver.js");
22
+ const GqlOperationDriver_js_1 = require("../dsl/operation/gql/GqlOperationDriver.js");
23
23
  const ModelDriver_js_1 = require("../dsl/model/ModelDriver.js");
24
24
  const ContentSettings_js_1 = require("../dsl/ContentSettings.js");
25
+ const Variant_js_1 = require("../types/Variant.js");
26
+ const toVariantList_js_1 = require("../helpers/toVariantList.js");
27
+ const get_js_1 = __importDefault(require("lodash-es/get.js"));
25
28
  const Inserted_js_1 = require("../dsl/Inserted.js");
26
- const File_js_1 = require("../dsl/File.js");
29
+ const CodeFileBase_js_1 = require("../dsl/CodeFileBase.js");
27
30
  const JsonFile_js_1 = require("../dsl/JsonFile.js");
28
31
  const tiny_invariant_1 = __importDefault(require("tiny-invariant"));
29
32
  /**
@@ -50,15 +53,15 @@ const tiny_invariant_1 = __importDefault(require("tiny-invariant"));
50
53
  *
51
54
  * @example Basic usage in a model generator
52
55
  * ```typescript
53
- * import { ModelBase } from '@skmtc/core';
56
+ * import { ModelProjectionBase } from '@skmtc/core';
54
57
  *
55
- * class TypeScriptInterface extends ModelBase {
58
+ * class TypeScriptInterface extends ModelProjectionBase {
56
59
  * generate(): Definition {
57
60
  * const schema = this.context.getSchema(this.refName);
58
61
  *
59
62
  * return new Definition({
60
63
  * context: this.context,
61
- * identifier: Identifier.createType(this.refName),
64
+ * identifier: createType(this.refName),
62
65
  * description: schema.description,
63
66
  * value: {
64
67
  * generatorKey: this.generatorKey,
@@ -69,19 +72,23 @@ const tiny_invariant_1 = __importDefault(require("tiny-invariant"));
69
72
  * }
70
73
  * ```
71
74
  */
75
+ const isGqlInsertOperationArgs = (args) => args.operation.oasType === 'gqlOperation';
76
+ const isGqlToOperationSettingsArgs = (args) => args.operation.oasType === 'gqlOperation';
77
+ /** A non-null object — the subject-scope leaf of an enrichment-defaults umbrella
78
+ * (`{ fields, title, … }`). Narrows `unknown` without an `as` cast. */
79
+ const isEnrichmentLeaf = (value) => typeof value === 'object' && value !== null;
72
80
  class GenerateContext {
73
- /**
74
- * Creates a new GenerateContext instance for the generation phase.
75
- *
76
- * @param args - Constructor arguments including document, settings, and handlers
77
- */
78
- constructor({ oasDocument, settings, logger, captureCurrentResult, toGeneratorConfigMap }) {
81
+ constructor({ document, settings, logger, captureCurrentResult, toGeneratorConfigMap, captureChannel }) {
79
82
  _GenerateContext_instances.add(this);
80
83
  _GenerateContext_files.set(this, void 0);
81
84
  _GenerateContext_previews.set(this, void 0);
82
85
  _GenerateContext_mappings.set(this, void 0);
83
- /** The parsed OpenAPI document being processed */
84
- Object.defineProperty(this, "oasDocument", {
86
+ /**
87
+ * Parsed source document, wrapped in the {@link SkmtcParsedDocument}
88
+ * discriminated union. Canonical representation; both protocol-neutral
89
+ * (model) and protocol-specific (operation) dispatch reads through this.
90
+ */
91
+ Object.defineProperty(this, "document", {
85
92
  enumerable: true,
86
93
  configurable: true,
87
94
  writable: true,
@@ -122,15 +129,32 @@ class GenerateContext {
122
129
  writable: true,
123
130
  value: void 0
124
131
  });
132
+ /**
133
+ * Creates a new GenerateContext instance for the generation phase.
134
+ *
135
+ * @param args - Constructor arguments including document, settings, and handlers
136
+ */
137
+ /** Shared attribution capture channel (see {@link ConstructorArgs}). */
138
+ _GenerateContext_captureChannel.set(this, void 0);
125
139
  this.logger = logger;
126
140
  __classPrivateFieldSet(this, _GenerateContext_files, new Map(), "f");
127
141
  __classPrivateFieldSet(this, _GenerateContext_previews, {}, "f");
128
142
  __classPrivateFieldSet(this, _GenerateContext_mappings, {}, "f");
129
- this.oasDocument = oasDocument;
143
+ this.document = document;
130
144
  this.settings = settings;
131
145
  this.captureCurrentResult = captureCurrentResult;
132
146
  this.toGeneratorConfigMap = toGeneratorConfigMap;
133
147
  this.modelDepth = {};
148
+ __classPrivateFieldSet(this, _GenerateContext_captureChannel, captureChannel, "f");
149
+ }
150
+ /**
151
+ * The active attribution capture sink, or `undefined` outside the
152
+ * capture interval. Every `SnippetBase` instance's `toString` wrapper
153
+ * reads this; `RenderContext` opens/closes the interval by flipping the
154
+ * shared channel's `sink`.
155
+ */
156
+ get captureSink() {
157
+ return __classPrivateFieldGet(this, _GenerateContext_captureChannel, "f")?.sink;
134
158
  }
135
159
  /**
136
160
  * @internal
@@ -139,21 +163,68 @@ class GenerateContext {
139
163
  const generators = Object.values(this.toGeneratorConfigMap());
140
164
  generators.forEach(generatorConfig => {
141
165
  stackTrail.trace(generatorConfig.id, st => {
166
+ // Whole-generator skip (string entry in `skip`). Silent no-op:
167
+ // no per-operation `skipped` results emitted.
142
168
  if (this.settings?.skip?.includes(generatorConfig.id)) {
143
169
  return;
144
170
  }
171
+ // `include` is per-generator, not document-global. A generator
172
+ // with a per-operation include slice runs in allow-list mode
173
+ // (only the listed operations); a generator absent from
174
+ // `include` is unaffected and runs default-on. There is
175
+ // therefore no whole-generator include gate here — the slice
176
+ // extracted below is applied per-operation in the run* arms.
177
+ // (Whole-generator opt-out is `skip`. A bare-string `include`
178
+ // entry carries no per-operation filter and is a no-op.)
145
179
  const skip = this.settings?.skip?.find((skip) => {
146
180
  return typeof skip === 'object' && Boolean(skip[generatorConfig.id]);
147
181
  });
182
+ // Extract the per-generator include slice (if any). Same
183
+ // dispatch shape as skip: object entries get matched by key,
184
+ // string entries don't produce a per-op filter (they mean
185
+ // "everything from this generator is included", which is
186
+ // semantically equivalent to "no per-op filter" once the
187
+ // whole-generator gate above has admitted us).
188
+ const include = this.settings?.include?.find((entry) => {
189
+ return typeof entry === 'object' && Boolean(entry[generatorConfig.id]);
190
+ });
148
191
  switch (generatorConfig.type) {
149
- case 'operation':
150
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runOperationGenerator).call(this, this.oasDocument, generatorConfig, toSkipPaths(skip, generatorConfig.id), st);
192
+ case 'oasOperation':
193
+ if (this.document.type !== 'oas') {
194
+ // Generator targets OAS; current document is GraphQL — skip silently.
195
+ return;
196
+ }
197
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runOasOperationGenerator).call(this, this.document.value, generatorConfig, toIncludePaths(include, generatorConfig.id), toSkipPaths(skip, generatorConfig.id), st);
198
+ break;
199
+ case 'webhook':
200
+ if (this.document.type !== 'oas') {
201
+ // Webhooks are an OAS 3.1 feature; current document is GraphQL —
202
+ // skip silently.
203
+ return;
204
+ }
205
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runWebhookGenerator).call(this, this.document.value, generatorConfig, toIncludePaths(include, generatorConfig.id), toSkipPaths(skip, generatorConfig.id), st);
206
+ break;
207
+ case 'gqlOperation':
208
+ if (this.document.type !== 'gql') {
209
+ // Generator targets GraphQL; current document is OAS — skip silently.
210
+ return;
211
+ }
212
+ // GraphQL operations don't yet have skip/include support
213
+ // at the per-operation level. The whole-generator gate
214
+ // above does apply (so `include: ['my-gql-gen']` works as
215
+ // expected), but per-(rootKind, fieldName) filtering is a
216
+ // follow-up that needs the same dispatch shape added for
217
+ // GqlOperation. Tracked alongside the existing GQL-skip
218
+ // gap.
219
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runGqlOperationGenerator).call(this, this.document.value, generatorConfig, st);
151
220
  break;
152
221
  case 'model':
153
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runModelGenerator).call(this, this.oasDocument, generatorConfig, toSkipModels(skip, generatorConfig.id), st);
222
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runModelGenerator).call(this, this.document, generatorConfig, toIncludeModels(include, generatorConfig.id), toSkipModels(skip, generatorConfig.id), st);
154
223
  break;
155
- default:
156
- throw new Error(`Invalid generator type: '${generatorConfig.type}' on ${generatorConfig.id}`);
224
+ default: {
225
+ const _exhaustive = generatorConfig;
226
+ throw new Error(`Invalid generator type: ${JSON.stringify(_exhaustive)}`);
227
+ }
157
228
  }
158
229
  });
159
230
  });
@@ -164,29 +235,181 @@ class GenerateContext {
164
235
  };
165
236
  }
166
237
  /**
167
- * Create and register a definition with the given `identifier` at `destinationPath`.
238
+ * Evaluate each generator's `isSupported` over the parsed document's subjects
239
+ * and report the subjects each generator supports — capability only, no
240
+ * transform and no render. Operation generators report the operations their
241
+ * `isSupported` accepts; model generators report every model (the generate
242
+ * pipeline applies no model-level `isSupported`). A generator targeting the
243
+ * other protocol reports nothing.
244
+ */
245
+ toSupportedSubjects() {
246
+ const generators = Object.values(this.toGeneratorConfigMap());
247
+ const out = {};
248
+ generators.forEach(generatorConfig => {
249
+ switch (generatorConfig.type) {
250
+ case 'oasOperation': {
251
+ const operations = this.document.type === 'oas'
252
+ ? this.document.value.operations
253
+ .filter(operation => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: Variant_js_1.DEFAULT_VARIANT })))
254
+ .map(operation => ({ path: operation.path, method: operation.method }))
255
+ : [];
256
+ out[generatorConfig.id] = { type: 'oasOperation', operations };
257
+ break;
258
+ }
259
+ case 'webhook': {
260
+ const webhooks = this.document.type === 'oas'
261
+ ? this.document.value.webhooks
262
+ .filter(webhook => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ webhook, context: this, variant: Variant_js_1.DEFAULT_VARIANT })))
263
+ .map(webhook => ({ name: webhook.name, method: webhook.method }))
264
+ : [];
265
+ out[generatorConfig.id] = { type: 'webhook', webhooks };
266
+ break;
267
+ }
268
+ case 'gqlOperation': {
269
+ const operations = this.document.type === 'gql'
270
+ ? this.document.value.operations
271
+ .filter(operation => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: Variant_js_1.DEFAULT_VARIANT })))
272
+ .map(operation => ({
273
+ rootKind: operation.rootKind,
274
+ fieldName: operation.fieldName
275
+ }))
276
+ : [];
277
+ out[generatorConfig.id] = { type: 'gqlOperation', operations };
278
+ break;
279
+ }
280
+ case 'model': {
281
+ const refNames = this.document.type === 'oas'
282
+ ? (this.document.value.components?.toSchemasRefNames() ?? [])
283
+ : this.document.value.registry.toSchemasRefNames();
284
+ out[generatorConfig.id] = { type: 'model', models: [...refNames] };
285
+ break;
286
+ }
287
+ default: {
288
+ const _exhaustive = generatorConfig;
289
+ throw new Error(`Invalid generator type: ${JSON.stringify(_exhaustive)}`);
290
+ }
291
+ }
292
+ });
293
+ return out;
294
+ }
295
+ /**
296
+ * The seed enrichment values each configured generator derives from the
297
+ * document — the *values* counterpart of {@link toSupportedSubjects}. For
298
+ * every generator that advertises `toEnrichmentDefaults`, calls it over the
299
+ * subjects the generator supports and keeps the non-`undefined` subject-scope
300
+ * leaves, keyed by the `client.json#settings.enrichments` routing:
301
+ * `[id][path][method]['main']` for operations, `[id][refName]['main']` for
302
+ * models. Seeding targets the `'main'` variant; a generator that advertises
303
+ * no defaults (or whose every subject returns `undefined`) is omitted.
168
304
  *
169
- * @experimental
305
+ * Like {@link toSupportedSubjects} it neither transforms nor renders, and is
306
+ * defensive: a generator whose hook throws contributes nothing rather than
307
+ * failing the whole pass.
170
308
  */
171
- defineAndRegister({ identifier, value, destinationPath, noExport }) {
172
- // @TODO cache check is duplicatd if call comes from
173
- // createAndRegisterDefinition. Look for a way to share code between
174
- // these two functions
175
- const cachedDefinition = this.findDefinition({
176
- name: identifier.name,
177
- exportPath: destinationPath
309
+ toEnrichmentDefaults() {
310
+ const generators = Object.values(this.toGeneratorConfigMap());
311
+ const out = {};
312
+ generators.forEach(generatorConfig => {
313
+ switch (generatorConfig.type) {
314
+ case 'oasOperation': {
315
+ const toDefaults = generatorConfig.toEnrichmentDefaults;
316
+ if (!toDefaults || this.document.type !== 'oas')
317
+ break;
318
+ const operations = {};
319
+ this.document.value.operations.forEach(operation => {
320
+ if (!__classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: Variant_js_1.DEFAULT_VARIANT }))) {
321
+ return;
322
+ }
323
+ const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ operation, context: this, variant: Variant_js_1.DEFAULT_VARIANT }));
324
+ if (leaf === undefined)
325
+ return;
326
+ const methods = (operations[operation.path] ??= {});
327
+ methods[operation.method] = { [Variant_js_1.DEFAULT_VARIANT]: leaf };
328
+ });
329
+ if (Object.keys(operations).length > 0) {
330
+ out[generatorConfig.id] = operations;
331
+ }
332
+ break;
333
+ }
334
+ case 'webhook': {
335
+ const toDefaults = generatorConfig.toEnrichmentDefaults;
336
+ if (!toDefaults || this.document.type !== 'oas')
337
+ break;
338
+ const webhooks = {};
339
+ this.document.value.webhooks.forEach(webhook => {
340
+ if (!__classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ webhook, context: this, variant: Variant_js_1.DEFAULT_VARIANT }))) {
341
+ return;
342
+ }
343
+ const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ webhook, context: this, variant: Variant_js_1.DEFAULT_VARIANT }));
344
+ if (leaf === undefined)
345
+ return;
346
+ const methods = (webhooks[webhook.name] ??= {});
347
+ methods[webhook.method] = { [Variant_js_1.DEFAULT_VARIANT]: leaf };
348
+ });
349
+ if (Object.keys(webhooks).length > 0) {
350
+ out[generatorConfig.id] = webhooks;
351
+ }
352
+ break;
353
+ }
354
+ case 'model': {
355
+ const toDefaults = generatorConfig.toEnrichmentDefaults;
356
+ if (!toDefaults)
357
+ break;
358
+ // Model entries carry no `isSupported` — the generate pipeline visits
359
+ // every refName and filters inside the callback. Mirror that here: the
360
+ // hook itself returns `undefined` for schemas it doesn't seed.
361
+ const refNames = this.document.type === 'oas'
362
+ ? (this.document.value.components?.toSchemasRefNames() ?? [])
363
+ : this.document.value.registry.toSchemasRefNames();
364
+ const models = {};
365
+ for (const refName of refNames) {
366
+ const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ refName, context: this, variant: Variant_js_1.DEFAULT_VARIANT }));
367
+ if (leaf === undefined)
368
+ continue;
369
+ models[refName] = { [Variant_js_1.DEFAULT_VARIANT]: leaf };
370
+ }
371
+ if (Object.keys(models).length > 0) {
372
+ out[generatorConfig.id] = models;
373
+ }
374
+ break;
375
+ }
376
+ case 'gqlOperation': {
377
+ // No `toEnrichmentDefaults` on the GraphQL projection base — seeding is
378
+ // OAS-operation / model only today, so a GQL generator contributes
379
+ // nothing.
380
+ break;
381
+ }
382
+ default: {
383
+ const _exhaustive = generatorConfig;
384
+ throw new Error(`Invalid generator type: ${JSON.stringify(_exhaustive)}`);
385
+ }
386
+ }
178
387
  });
179
- // @TODO add check to make sure retrieved definition
180
- // used same generator and same schema #SKM-47
181
- if (cachedDefinition) {
182
- return cachedDefinition;
388
+ return out;
389
+ }
390
+ /**
391
+ * Look up an already-registered file by path, or `undefined` if none
392
+ * exists. Neutral primitive: returns the abstract `FileBase` and never
393
+ * constructs anything, so a (future) language-owned `register` can ask
394
+ * "does this file exist yet?" without the engine knowing the language.
395
+ * To create-on-miss, use the internal `#getFile`; to add a
396
+ * language-constructed file, use {@link addFile}.
397
+ */
398
+ getFile(filePath) {
399
+ return __classPrivateFieldGet(this, _GenerateContext_files, "f").get((0, normalize_js_1.normalize)(filePath));
400
+ }
401
+ /**
402
+ * Store a language-constructed file. The engine never constructs a
403
+ * concrete (language) `File`; the language's `register` builds its own
404
+ * `FileBase` subclass and hands it in here. Throws if a file already
405
+ * exists at the (normalized) path.
406
+ */
407
+ addFile(file) {
408
+ const normalizedPath = (0, normalize_js_1.normalize)(file.path);
409
+ if (__classPrivateFieldGet(this, _GenerateContext_files, "f").has(normalizedPath)) {
410
+ throw new Error(`File already exists: ${normalizedPath}`);
183
411
  }
184
- return __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_defineAndRegister).call(this, {
185
- identifier,
186
- value,
187
- destinationPath,
188
- noExport
189
- });
412
+ __classPrivateFieldGet(this, _GenerateContext_files, "f").set(normalizedPath, file);
190
413
  }
191
414
  /**
192
415
  * Registers JSON content for output to a file.
@@ -195,7 +418,12 @@ class GenerateContext {
195
418
  * @param args - Registration arguments with destination path and JSON content
196
419
  */
197
420
  registerJson({ destinationPath, json }) {
198
- const currentFile = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_getFile).call(this, destinationPath);
421
+ const normalizedPath = (0, normalize_js_1.normalize)(destinationPath);
422
+ let currentFile = this.getFile(normalizedPath);
423
+ if (!currentFile) {
424
+ currentFile = new JsonFile_js_1.JsonFile({ path: normalizedPath, content: {} });
425
+ this.addFile(currentFile);
426
+ }
199
427
  (0, tiny_invariant_1.default)(currentFile instanceof JsonFile_js_1.JsonFile, `File at "${destinationPath}" is not a "JsonFile" type`);
200
428
  currentFile.content = json;
201
429
  }
@@ -210,81 +438,99 @@ class GenerateContext {
210
438
  *
211
439
  * @mutates this.files
212
440
  */
213
- register({ imports = {}, definitions, destinationPath, reExports }) {
214
- // TODO deduplicate import names and definition names against each other
215
- const currentFile = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_getFile).call(this, destinationPath);
216
- (0, tiny_invariant_1.default)(currentFile instanceof File_js_1.File, `File at "${destinationPath}" is not a "File" type`);
217
- Object.entries(reExports ?? {}).forEach(([importModule, identifiers]) => {
218
- if (!currentFile.reExports.get(importModule) && identifiers.length) {
219
- currentFile.reExports.set(importModule, {});
220
- }
221
- identifiers.forEach(identifier => {
222
- const entityType = identifier.entityType.type;
223
- const module = currentFile.reExports.get(importModule);
224
- (0, tiny_invariant_1.default)(module, 'Module not found');
225
- if (!module[entityType]) {
226
- module[entityType] = new Set();
227
- }
228
- module[entityType].add(identifier.name);
229
- });
230
- });
231
- Object.entries(imports).forEach(([importModule, importNames]) => {
232
- const module = currentFile.imports.get(importModule);
233
- const importItem = new Import_js_1.Import({ module: importModule, importNames });
234
- if (module) {
235
- importItem.importNames.forEach(n => module.add(`${n}`));
236
- }
237
- else {
238
- currentFile.imports.set(importModule, new Set(importItem.importNames.map(n => `${n}`)));
239
- }
240
- });
441
+ register({ imports = [], reExports = [], definitions, destinationPath }) {
442
+ const normalizedPath = (0, normalize_js_1.normalize)(destinationPath);
443
+ const currentFile = this.getFile(normalizedPath);
444
+ // `register` never creates files it speaks pure data and the engine
445
+ // never names a file class. Callers pre-create the destination file
446
+ // through their language (the lang package's register function, the
447
+ // Drivers' ensureFile); reaching a file-miss here is a bug at the
448
+ // caller.
449
+ (0, tiny_invariant_1.default)(currentFile, `Cannot register into '${normalizedPath}' — the file does not exist. ` +
450
+ `Pre-create it through your lang (its register function does this).`);
451
+ // Definitions merge is language-neutral — `addDefinition` lives on
452
+ // `FileBase`, so this works for any language's file.
241
453
  definitions?.forEach(definition => {
242
- if (!definition) {
243
- return;
244
- }
245
- const { name } = definition.identifier;
246
- if (!currentFile.definitions.has(name)) {
247
- currentFile.definitions.set(name, definition);
454
+ if (definition) {
455
+ currentFile.addDefinition(definition);
248
456
  }
249
457
  });
458
+ // Imports and re-exports are standardised `ImportBase` /
459
+ // `ReExportBase` objects; the neutral merges (keyed by `mergeKey`)
460
+ // live on `CodeFileBase`. `JsonFile` has neither, so the guard skips
461
+ // it.
462
+ if (imports.length > 0 && currentFile instanceof CodeFileBase_js_1.CodeFileBase) {
463
+ currentFile.addImports(imports);
464
+ }
465
+ if (reExports.length > 0 && currentFile instanceof CodeFileBase_js_1.CodeFileBase) {
466
+ currentFile.addReExports(reExports);
467
+ }
250
468
  }
251
469
  /**
252
470
  * Insert operation into the output file with path `destinationPath`.
253
471
  *
254
472
  * Insert will perform the following steps:
255
- * 1. Generate content settings for the supplied operation
256
- * 2. Look up definition in file with path `destinationPath`
257
- * 3. If definition is not found, it will create a new one and register it
258
- * 4. If the definition is defined at a location that is different from
259
- * the current file, it will add an import to the current file from
260
- * that location
261
- * 5. Use the content settings to generate the operation using the
262
- * insertable's driver
473
+ * Insert an operation definition into `destinationPath`.
474
+ *
475
+ * Resolves identifier and export path from the projection, registers the
476
+ * definition (or reuses a cached one), and stitches an import into
477
+ * `destinationPath` if it differs from the projection's `exportPath`.
478
+ *
263
479
  * @mutates this.files
264
480
  */
265
- insertOperation(insertable, operation, { destinationPath, noExport = false } = {}) {
266
- const { settings, definition } = new OperationDriver_js_1.OperationDriver({
481
+ insertOperation(args) {
482
+ // Default to the canonical variant. Callers who explicitly thread
483
+ // a variant (e.g. variants-aware Projections threading
484
+ // `this.settings.variant`) override this default.
485
+ const variant = args.variant ?? Variant_js_1.DEFAULT_VARIANT;
486
+ if (isGqlInsertOperationArgs(args)) {
487
+ const { settings, definition } = new GqlOperationDriver_js_1.GqlOperationDriver({
488
+ context: this,
489
+ projection: args.projection,
490
+ operation: args.operation,
491
+ destinationPath: args.destinationPath,
492
+ noExport: args.noExport ?? false,
493
+ variant
494
+ });
495
+ return new Inserted_js_1.Inserted({ settings, definition });
496
+ }
497
+ const { settings, definition } = new OasOperationDriver_js_1.OasOperationDriver({
498
+ context: this,
499
+ projection: args.projection,
500
+ operation: args.operation,
501
+ destinationPath: args.destinationPath,
502
+ noExport: args.noExport ?? false,
503
+ variant
504
+ });
505
+ return new Inserted_js_1.Inserted({ settings, definition });
506
+ }
507
+ /**
508
+ * Insert a webhook's projection. Sibling of {@link insertOperation} for
509
+ * the OAS 3.1 webhook subject — webhooks are OAS-only, so there is no
510
+ * protocol discrimination.
511
+ */
512
+ insertWebhook(args) {
513
+ const variant = args.variant ?? Variant_js_1.DEFAULT_VARIANT;
514
+ const { settings, definition } = new WebhookDriver_js_1.WebhookDriver({
267
515
  context: this,
268
- insertable,
269
- operation,
270
- destinationPath,
271
- noExport
516
+ projection: args.projection,
517
+ webhook: args.webhook,
518
+ destinationPath: args.destinationPath,
519
+ noExport: args.noExport ?? false,
520
+ variant
272
521
  });
273
522
  return new Inserted_js_1.Inserted({ settings, definition });
274
523
  }
275
524
  /**
276
- * Inserts a normalized model definition into the generation context.
277
- *
278
- * @param insertable - Model insertable configuration with prototype and transform functions
279
- * @param schema - OAS schema, reference, or void type to generate model from
280
- * @param options - Insertion options including generation type and destination
281
- * @returns Inserted model instance with settings and definition
525
+ * Insert a normalized model: dispatch to {@link insertModel} when the schema
526
+ * is a `$ref`, otherwise produce a one-off definition under `fallbackName`.
282
527
  */
283
- insertNormalisedModel(insertable, { schema, fallbackName, destinationPath }, { noExport = false } = {}) {
528
+ insertNormalizedModel(projection, { schema, fallbackName, destinationPath }, { noExport = false, variant } = {}) {
284
529
  if (schema.isRef()) {
285
- const { definition } = this.insertModel(insertable, schema.toRefName(), {
530
+ const { definition } = this.insertModel(projection, schema.toRefName(), {
286
531
  destinationPath,
287
- noExport
532
+ noExport,
533
+ variant
288
534
  });
289
535
  // @TODO Using mapped types would help avoid generics casting
290
536
  return definition;
@@ -298,77 +544,159 @@ class GenerateContext {
298
544
  if (cachedDefinition) {
299
545
  return cachedDefinition;
300
546
  }
301
- const value = insertable.schemaToValueFn({
547
+ const value = projection.schemaToValueFn({
302
548
  context: this,
303
549
  schema,
304
550
  destinationPath,
305
551
  required: true
306
552
  });
307
- const definition = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_defineAndRegister).call(this, {
308
- identifier: insertable.createIdentifier(fallbackName),
553
+ // The inline-schema fallback builds the Definition through the
554
+ // projection's language — the static read off the projection class at
555
+ // the use site (same ephemeral read the Drivers make) — pre-creates
556
+ // the destination file caller-side, and stores via the pure-data
557
+ // `register`.
558
+ const normalizedPath = (0, normalize_js_1.normalize)(destinationPath);
559
+ if (!this.getFile(normalizedPath)) {
560
+ this.addFile(projection.lang.createFile({ path: normalizedPath, settings: this.settings }));
561
+ }
562
+ const definition = projection.lang.toDefinition({
563
+ context: this,
564
+ identifier: projection.createIdentifier(fallbackName),
309
565
  value,
310
- destinationPath,
311
566
  noExport
312
567
  });
568
+ this.register({ definitions: [definition], destinationPath: normalizedPath });
313
569
  // @TODO Using mapped types would help avoid generics casting
314
570
  return definition;
315
571
  }
316
572
  /**
317
- * Insert model into the output file with path `destinationPath`.
573
+ * Insert a model definition into `destinationPath`.
574
+ *
575
+ * Resolves identifier and export path from the projection, registers the
576
+ * definition (or reuses a cached one), and stitches an import into
577
+ * `destinationPath` if it differs from the projection's `exportPath`.
318
578
  *
319
- * Insert will perform the following steps:
320
- * 1. Generate content settings for the supplied model
321
- * 2. Look up definition in file with path `destinationPath`
322
- * 3. If definition is not found, it will create a new one and register it
323
- * 4. If the definition is defined at a location that is different from
324
- * the current file, it will add an import to the current file from
325
- * that location
326
- * 5. Use the content settings to generate the model using the
327
- * insertable's driver
328
579
  * @mutates this.files
329
580
  */
330
- insertModel(insertable, refName, { destinationPath, noExport = false } = {}) {
581
+ insertModel(projection, refName, { destinationPath, noExport = false, variant } = {}) {
582
+ // Default to the canonical variant. Callers who explicitly thread
583
+ // a variant (e.g. variants-aware Projections threading
584
+ // `this.settings.variant`) override this default.
585
+ const resolvedVariant = variant ?? Variant_js_1.DEFAULT_VARIANT;
331
586
  const { settings, definition } = new ModelDriver_js_1.ModelDriver({
332
587
  context: this,
333
- insertable,
588
+ projection,
334
589
  refName,
335
590
  destinationPath,
336
591
  rootRef: refName,
337
- noExport
592
+ noExport,
593
+ variant: resolvedVariant
338
594
  });
339
595
  return new Inserted_js_1.Inserted({ settings, definition });
340
596
  }
341
597
  /**
342
- * Generate and return content settings for operation insertable and
343
- * operation.
344
- *
345
- * Content settings are produced by passing base settings and operation
346
- * through toIdentifier and toExportPath static methods on the
347
- * insertable.
348
- * @param { operation, insertable }
349
- * @returns
598
+ * Build content settings for an operation projection by calling its
599
+ * statics `toIdentifierName` + `toIdentifierType`, `toExportPath`, and
600
+ * `toEnrichments` against the
601
+ * given operation.
602
+ */
603
+ toOperationContentSettings(args) {
604
+ const { variant } = args;
605
+ if (isGqlToOperationSettingsArgs(args)) {
606
+ const enrichments = args.projection.toEnrichments({
607
+ operation: args.operation,
608
+ context: this,
609
+ variant
610
+ });
611
+ return new ContentSettings_js_1.ContentSettings({
612
+ identifier: args.projection.lang.toIdentifier({
613
+ name: args.projection.toIdentifierName({
614
+ operation: args.operation,
615
+ enrichments,
616
+ variant
617
+ }),
618
+ ...args.projection.toIdentifierType(args.operation, this)
619
+ }),
620
+ exportPath: args.projection.toExportPath({
621
+ operation: args.operation,
622
+ enrichments,
623
+ variant
624
+ }),
625
+ enrichments,
626
+ variant
627
+ });
628
+ }
629
+ const enrichments = args.projection.toEnrichments({
630
+ operation: args.operation,
631
+ context: this,
632
+ variant
633
+ });
634
+ return new ContentSettings_js_1.ContentSettings({
635
+ identifier: args.projection.lang.toIdentifier({
636
+ name: args.projection.toIdentifierName({
637
+ operation: args.operation,
638
+ enrichments,
639
+ variant
640
+ }),
641
+ ...args.projection.toIdentifierType(args.operation, this)
642
+ }),
643
+ exportPath: args.projection.toExportPath({
644
+ operation: args.operation,
645
+ enrichments,
646
+ variant
647
+ }),
648
+ enrichments,
649
+ variant
650
+ });
651
+ }
652
+ /**
653
+ * Build content settings for a webhook projection. Sibling of
654
+ * {@link toOperationContentSettings}; webhooks are OAS-only, so there is no
655
+ * protocol discrimination.
350
656
  */
351
- toOperationContentSettings({ operation, insertable }) {
657
+ toWebhookContentSettings(args) {
658
+ const { variant } = args;
659
+ const enrichments = args.projection.toEnrichments({
660
+ webhook: args.webhook,
661
+ context: this,
662
+ variant
663
+ });
352
664
  return new ContentSettings_js_1.ContentSettings({
353
- identifier: insertable.toIdentifier(operation),
354
- exportPath: insertable.toExportPath(operation),
355
- enrichments: insertable.toEnrichments({ operation, context: this })
665
+ identifier: args.projection.lang.toIdentifier({
666
+ name: args.projection.toIdentifierName({
667
+ webhook: args.webhook,
668
+ enrichments,
669
+ variant
670
+ }),
671
+ ...args.projection.toIdentifierType(args.webhook, this)
672
+ }),
673
+ exportPath: args.projection.toExportPath({
674
+ webhook: args.webhook,
675
+ enrichments,
676
+ variant
677
+ }),
678
+ enrichments,
679
+ variant
356
680
  });
357
681
  }
358
682
  /**
359
- * Generate and return content settings for model insertable and refName.
360
- *
361
- * Content settings are produced by passing base settings and refName
362
- * through toIdentifier and toExportPath static methods on the
363
- * insertable.
364
- * @param { refName, insertable }
365
- * @returns Content settings for model
683
+ * Build content settings for a model projection by calling its statics
684
+ * `toIdentifierName` (pure, for the name) + `toIdentifierType`
685
+ * (context-aware, for kind/typeName/exported), `toExportPath`, and
686
+ * `toEnrichments` against the given `refName` and `variant`. The full
687
+ * identifier is assembled through the projection's language
688
+ * (`lang.toIdentifier`).
366
689
  */
367
- toModelContentSettings({ refName, insertable }) {
690
+ toModelContentSettings({ refName, projection, variant }) {
691
+ const enrichments = projection.toEnrichments({ refName, context: this, variant });
368
692
  return new ContentSettings_js_1.ContentSettings({
369
- identifier: insertable.toIdentifier(refName),
370
- exportPath: insertable.toExportPath(refName),
371
- enrichments: insertable.toEnrichments({ refName, context: this })
693
+ identifier: projection.lang.toIdentifier({
694
+ name: projection.toIdentifierName({ refName, enrichments, variant }),
695
+ ...projection.toIdentifierType(refName, this)
696
+ }),
697
+ exportPath: projection.toExportPath({ refName, enrichments, variant }),
698
+ enrichments,
699
+ variant
372
700
  });
373
701
  }
374
702
  /**
@@ -379,10 +707,17 @@ class GenerateContext {
379
707
  */
380
708
  resolveSchemaRefOnce(refName, generatorId) {
381
709
  this.modelDepth[`${generatorId}:${refName}`]++;
382
- const schema = this.oasDocument.components?.schemas?.[refName]?.resolveOnce();
710
+ const schema = this.document.type === 'oas'
711
+ ? this.document.value.components?.schemas?.[refName]?.resolveOnce()
712
+ : this.document.value.registry.schemas[refName];
383
713
  if (!schema) {
384
714
  throw new Error(`Schema not found: ${refName}`);
385
715
  }
716
+ // GqlRegistry stores raw OasSchema | OasRef entries that we need to
717
+ // resolve once for parity with the OAS code path.
718
+ if (this.document.type === 'gql' && 'resolveOnce' in schema) {
719
+ return schema.resolveOnce();
720
+ }
386
721
  return schema;
387
722
  }
388
723
  /**
@@ -393,71 +728,264 @@ class GenerateContext {
393
728
  * @returns Matching definition if found or `undefined` otherwise
394
729
  */
395
730
  findDefinition({ name, exportPath }) {
396
- const file = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_getFile).call(this, exportPath);
397
- (0, tiny_invariant_1.default)(file instanceof File_js_1.File, `File at "${exportPath}" is not a "File" type`);
398
- return file.definitions.get(name);
731
+ // Pure lookup — no file is created on a miss. `definitions` lives on
732
+ // `FileBase`, so this reads any language's file without narrowing.
733
+ return this.getFile(exportPath)?.definitions.get(name);
399
734
  }
400
735
  }
401
736
  exports.GenerateContext = GenerateContext;
402
- _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(), _GenerateContext_mappings = new WeakMap(), _GenerateContext_instances = new WeakSet(), _GenerateContext_runOperationGenerator = function _GenerateContext_runOperationGenerator(oasDocument, generatorConfig, skip, stackTrail) {
403
- oasDocument.operations.reduce((acc, operation) => {
404
- return stackTrail.trace(`${operation.path}:${operation.method}`, st => {
405
- try {
406
- if (typeof generatorConfig?.isSupported === 'function' &&
407
- !generatorConfig.isSupported({ operation, context: this })) {
408
- this.captureCurrentResult('notSupported', st);
409
- return acc;
410
- }
411
- if (skip?.[operation.path]?.includes(operation.method)) {
412
- this.captureCurrentResult('skipped', st);
413
- return acc;
414
- }
415
- const result = generatorConfig.transform({ context: this, operation, acc });
416
- const source = (0, exports.toOperationSource)({ operation, generatorId: generatorConfig.id });
417
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation }));
418
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation }));
419
- this.captureCurrentResult('success', st);
420
- return result;
421
- }
422
- catch (error) {
423
- this.logger.error(error);
424
- this.captureCurrentResult('error', st);
425
- }
737
+ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(), _GenerateContext_mappings = new WeakMap(), _GenerateContext_captureChannel = new WeakMap(), _GenerateContext_instances = new WeakSet(), _GenerateContext_supports = function _GenerateContext_supports(probe) {
738
+ try {
739
+ return probe();
740
+ }
741
+ catch (error) {
742
+ this.logger.error(error);
743
+ return false;
744
+ }
745
+ }, _GenerateContext_subjectDefaults = function _GenerateContext_subjectDefaults(produce) {
746
+ try {
747
+ const umbrella = produce();
748
+ if (typeof umbrella !== 'object' || umbrella === null || !('subject' in umbrella)) {
749
+ return undefined;
750
+ }
751
+ const { subject } = umbrella;
752
+ return isEnrichmentLeaf(subject) ? subject : undefined;
753
+ }
754
+ catch (error) {
755
+ this.logger.error(error);
756
+ return undefined;
757
+ }
758
+ }, _GenerateContext_runOasOperationGenerator = function _GenerateContext_runOasOperationGenerator(oasDocument, generatorConfig, include, skip, stackTrail) {
759
+ oasDocument.operations.forEach(operation => {
760
+ stackTrail.trace(`${operation.path}:${operation.method}`, opTrail => {
761
+ // Resolve the variant list to fan out over. The consumer's
762
+ // enrichments are keyed `[generatorId][path][method][variant]`;
763
+ // the block at `[path][method]` is therefore a record of
764
+ // variant names. Three cases handled in `toVariantList`:
765
+ //
766
+ // - absent → run a single 'main' pass with no enrichment
767
+ // - present, non-object → treat as a single 'main' pass
768
+ // (the per-variant Valibot wrap will reject this shape
769
+ // at config-load time once it lands)
770
+ // - present, object → enumerate keys; 'main' must be among
771
+ // them or we throw (loud beats silent zero-output)
772
+ const opEnrichments = (0, get_js_1.default)(this.settings, ['enrichments', generatorConfig.id, operation.path, operation.method]);
773
+ const variants = (0, toVariantList_js_1.toVariantList)({
774
+ opEnrichments,
775
+ generatorId: generatorConfig.id,
776
+ operationLabel: `${operation.method.toUpperCase()} ${operation.path}`
777
+ });
778
+ variants.forEach(variant => {
779
+ opTrail.trace(`variant: ${variant}`, st => {
780
+ try {
781
+ if (typeof generatorConfig?.isSupported === 'function' &&
782
+ !generatorConfig.isSupported({ operation, context: this, variant })) {
783
+ this.captureCurrentResult('notSupported', st);
784
+ return;
785
+ }
786
+ // Order: isSupported (capability) → include (allow) → skip
787
+ // (deny). Match is now on `(path, method, variant)`. An
788
+ // empty variant array on a method means "every variant of
789
+ // this method"; a populated array names the variants the
790
+ // entry applies to.
791
+ if (include !== undefined &&
792
+ !matchesPathFilter({ paths: include, path: operation.path, method: operation.method, variant })) {
793
+ this.captureCurrentResult('skipped', st);
794
+ return;
795
+ }
796
+ if (matchesPathFilter({ paths: skip, path: operation.path, method: operation.method, variant })) {
797
+ this.captureCurrentResult('skipped', st);
798
+ return;
799
+ }
800
+ generatorConfig.transform({
801
+ context: this,
802
+ operation,
803
+ variant
804
+ });
805
+ const source = (0, exports.toOasOperationSource)({
806
+ operation,
807
+ generatorId: generatorConfig.id,
808
+ variant
809
+ });
810
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation, variant }));
811
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation, variant }));
812
+ this.captureCurrentResult('success', st);
813
+ }
814
+ catch (error) {
815
+ this.logger.error(error);
816
+ this.captureCurrentResult('error', st);
817
+ }
818
+ });
819
+ });
426
820
  });
427
- }, undefined);
428
- }, _GenerateContext_runModelGenerator = function _GenerateContext_runModelGenerator(oasDocument, generatorConfig, skip, stackTrail) {
429
- const refNames = oasDocument.components?.toSchemasRefNames() ?? [];
430
- return refNames.reduce((acc, refName) => {
431
- return stackTrail.trace(refName, st => {
432
- try {
433
- if (skip?.includes(refName)) {
434
- this.captureCurrentResult('skipped', st);
435
- return acc;
436
- }
437
- const result = generatorConfig.transform({ context: this, refName, acc });
438
- const source = (0, exports.toModelSource)({ refName, generatorId: generatorConfig.id });
439
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, refName }));
440
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, refName }));
441
- this.captureCurrentResult('success', st);
442
- return result;
443
- }
444
- catch (error) {
445
- this.logger.error(error);
446
- this.captureCurrentResult('error', st);
447
- }
821
+ });
822
+ }, _GenerateContext_runWebhookGenerator = function _GenerateContext_runWebhookGenerator(oasDocument, generatorConfig, include, skip, stackTrail) {
823
+ oasDocument.webhooks.forEach(webhook => {
824
+ stackTrail.trace(`webhook:${webhook.name}:${webhook.method}`, webhookTrail => {
825
+ // Variant fan-out, keyed `[generatorId][name][method][variant]`
826
+ // the webhook analogue of the operation routing. `toVariantList`
827
+ // handles absent / non-object / object enrichment blocks and
828
+ // enforces the `'main'`-must-be-present rule.
829
+ const webhookEnrichments = (0, get_js_1.default)(this.settings, ['enrichments', generatorConfig.id, webhook.name, webhook.method]);
830
+ const variants = (0, toVariantList_js_1.toVariantList)({
831
+ opEnrichments: webhookEnrichments,
832
+ generatorId: generatorConfig.id,
833
+ operationLabel: `webhook '${webhook.name}' (${webhook.method.toUpperCase()})`
834
+ });
835
+ variants.forEach(variant => {
836
+ webhookTrail.trace(`variant: ${variant}`, st => {
837
+ try {
838
+ if (typeof generatorConfig?.isSupported === 'function' &&
839
+ !generatorConfig.isSupported({ webhook, context: this, variant })) {
840
+ this.captureCurrentResult('notSupported', st);
841
+ return;
842
+ }
843
+ // Order: isSupported (capability) → include (allow) → skip
844
+ // (deny). The skip/include shape is structurally identical to
845
+ // operations (the webhook name occupies the `path` slot), so
846
+ // `matchesPathFilter` is reused with `path: webhook.name`.
847
+ if (include !== undefined &&
848
+ !matchesPathFilter({ paths: include, path: webhook.name, method: webhook.method, variant })) {
849
+ this.captureCurrentResult('skipped', st);
850
+ return;
851
+ }
852
+ if (matchesPathFilter({ paths: skip, path: webhook.name, method: webhook.method, variant })) {
853
+ this.captureCurrentResult('skipped', st);
854
+ return;
855
+ }
856
+ generatorConfig.transform({
857
+ context: this,
858
+ webhook,
859
+ variant
860
+ });
861
+ const source = (0, exports.toWebhookSource)({
862
+ webhook,
863
+ generatorId: generatorConfig.id,
864
+ variant
865
+ });
866
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, webhook, variant }));
867
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, webhook, variant }));
868
+ this.captureCurrentResult('success', st);
869
+ }
870
+ catch (error) {
871
+ this.logger.error(error);
872
+ this.captureCurrentResult('error', st);
873
+ }
874
+ });
875
+ });
448
876
  });
449
- }, undefined);
877
+ });
878
+ }, _GenerateContext_runGqlOperationGenerator = function _GenerateContext_runGqlOperationGenerator(gqlDocument, generatorConfig, stackTrail) {
879
+ gqlDocument.operations.forEach(operation => {
880
+ stackTrail.trace(operation.identifier, opTrail => {
881
+ // GraphQL enrichment routing key is
882
+ // `[generatorId][rootKind][fieldName][variant]`.
883
+ const opEnrichments = (0, get_js_1.default)(this.settings, ['enrichments', generatorConfig.id, operation.rootKind, operation.fieldName]);
884
+ const variants = (0, toVariantList_js_1.toVariantList)({
885
+ opEnrichments,
886
+ generatorId: generatorConfig.id,
887
+ operationLabel: `${operation.rootKind} ${operation.fieldName}`
888
+ });
889
+ variants.forEach(variant => {
890
+ opTrail.trace(`variant: ${variant}`, st => {
891
+ try {
892
+ if (typeof generatorConfig.isSupported === 'function' &&
893
+ !generatorConfig.isSupported({ operation, context: this, variant })) {
894
+ this.captureCurrentResult('notSupported', st);
895
+ return;
896
+ }
897
+ generatorConfig.transform({
898
+ context: this,
899
+ operation,
900
+ variant
901
+ });
902
+ const source = (0, exports.toGqlOperationSource)({
903
+ operation,
904
+ generatorId: generatorConfig.id,
905
+ variant
906
+ });
907
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation, variant }));
908
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation, variant }));
909
+ this.captureCurrentResult('success', st);
910
+ }
911
+ catch (error) {
912
+ this.logger.error(error);
913
+ this.captureCurrentResult('error', st);
914
+ }
915
+ });
916
+ });
917
+ });
918
+ });
919
+ }, _GenerateContext_runModelGenerator = function _GenerateContext_runModelGenerator(document, generatorConfig, include, skip, stackTrail) {
920
+ const refNames = document.type === 'oas'
921
+ ? (document.value.components?.toSchemasRefNames() ?? [])
922
+ : document.value.registry.toSchemasRefNames();
923
+ refNames.forEach(refName => {
924
+ stackTrail.trace(refName, refTrail => {
925
+ // Resolve the variant list to fan out over. The consumer's
926
+ // enrichments are keyed `[generatorId][refName][variant]`; the
927
+ // block at `[refName]` is therefore a record of variant names.
928
+ // Three cases handled in `toVariantList`:
929
+ //
930
+ // - absent → run a single 'main' pass with no enrichment
931
+ // - present, non-object → treat as a single 'main' pass
932
+ // (the per-variant Valibot wrap will reject this shape
933
+ // at config-load time once it lands)
934
+ // - present, object → enumerate keys; 'main' must be among
935
+ // them or we throw (loud beats silent zero-output)
936
+ const modelEnrichments = (0, get_js_1.default)(this.settings, ['enrichments', generatorConfig.id, refName]);
937
+ const variants = (0, toVariantList_js_1.toVariantList)({
938
+ opEnrichments: modelEnrichments,
939
+ generatorId: generatorConfig.id,
940
+ operationLabel: refName
941
+ });
942
+ variants.forEach(variant => {
943
+ refTrail.trace(`variant: ${variant}`, st => {
944
+ try {
945
+ // Order: include (allow) → skip (deny). Match is now on
946
+ // `(refName, variant)`. An empty variant array on a
947
+ // refName means "every variant of this refName"; a
948
+ // populated array names the variants the entry applies
949
+ // to.
950
+ if (include !== undefined &&
951
+ !matchesRefFilter({ refs: include, refName, variant })) {
952
+ this.captureCurrentResult('skipped', st);
953
+ return;
954
+ }
955
+ if (matchesRefFilter({ refs: skip, refName, variant })) {
956
+ this.captureCurrentResult('skipped', st);
957
+ return;
958
+ }
959
+ generatorConfig.transform({
960
+ context: this,
961
+ refName,
962
+ variant
963
+ });
964
+ const source = (0, exports.toModelSource)({
965
+ refName,
966
+ generatorId: generatorConfig.id,
967
+ variant
968
+ });
969
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, refName, variant }));
970
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, refName, variant }));
971
+ this.captureCurrentResult('success', st);
972
+ }
973
+ catch (error) {
974
+ this.logger.error(error);
975
+ this.captureCurrentResult('error', st);
976
+ }
977
+ });
978
+ });
979
+ });
980
+ });
450
981
  }, _GenerateContext_addPreview = function _GenerateContext_addPreview(source, module) {
451
982
  if (!module) {
452
983
  return;
453
984
  }
454
- if (!__classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group]) {
455
- __classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group] = {};
456
- }
457
- if (__classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group][module.name]) {
458
- throw new Error(`Cannot override preview module "${module.name}" in group "${module.group}"`);
985
+ if (__classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.name]) {
986
+ throw new Error(`Cannot override preview module "${module.name}"`);
459
987
  }
460
- __classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group][module.name] = {
988
+ __classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.name] = {
461
989
  module,
462
990
  source
463
991
  };
@@ -465,99 +993,202 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
465
993
  if (!module) {
466
994
  return;
467
995
  }
468
- if (!__classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group]) {
469
- __classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group] = {};
996
+ if (__classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.name]) {
997
+ throw new Error(`Cannot override mapping module "${module.name}"`);
470
998
  }
471
- if (__classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group][module.name]) {
472
- throw new Error(`Cannot override mapping module "${module.name}" in group "${module.group}"`);
473
- }
474
- __classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group][module.name] = {
999
+ __classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.name] = {
475
1000
  module,
476
1001
  source
477
1002
  };
478
- }, _GenerateContext_getFile = function _GenerateContext_getFile(filePath, { throwIfNotFound = false } = {}) {
479
- const normalisedPath = (0, normalize_js_1.normalize)(filePath);
480
- const currentFile = __classPrivateFieldGet(this, _GenerateContext_files, "f").get(normalisedPath);
481
- if (!currentFile) {
482
- if (throwIfNotFound) {
483
- throw new Error(`File not found: '${normalisedPath}'`);
484
- }
485
- else {
486
- return __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addFile).call(this, normalisedPath);
487
- }
1003
+ };
1004
+ /**
1005
+ * Match a `(path, method, variant)` tuple against an operation-shaped
1006
+ * skip or include entry. Shared by both arms because skip and include
1007
+ * have the same matching rules; only the engine's interpretation of
1008
+ * the result differs (skip = deny, include = allow).
1009
+ *
1010
+ * Returns `false` when:
1011
+ * - `paths` is `undefined` (no filter applies)
1012
+ * - the `path` isn't keyed in the entry
1013
+ * - the `method` isn't present in the inner record
1014
+ *
1015
+ * Returns `true` when:
1016
+ * - the method's variant array is empty (matches every variant)
1017
+ * - the method's variant array contains `variant`
1018
+ */
1019
+ const matchesPathFilter = ({ paths, path, method, variant }) => {
1020
+ if (!paths) {
1021
+ return false;
488
1022
  }
489
- return currentFile;
490
- }, _GenerateContext_defineAndRegister = function _GenerateContext_defineAndRegister({ identifier, value, destinationPath, noExport }) {
491
- const definition = new Definition_js_1.Definition({
492
- context: this,
493
- identifier,
494
- value,
495
- noExport
496
- });
497
- this.register({
498
- definitions: [definition],
499
- destinationPath
500
- });
501
- return definition;
502
- }, _GenerateContext_addFile = function _GenerateContext_addFile(normalisedPath) {
503
- if (__classPrivateFieldGet(this, _GenerateContext_files, "f").has(normalisedPath)) {
504
- throw new Error(`File already exists: ${normalisedPath}`);
505
- }
506
- const extension = normalisedPath.split('.').pop();
507
- let newFile;
508
- switch (extension) {
509
- case 'json':
510
- newFile = new JsonFile_js_1.JsonFile({ path: normalisedPath, content: {} });
511
- break;
512
- default:
513
- newFile = new File_js_1.File({ path: normalisedPath, settings: this.settings });
514
- break;
515
- }
516
- __classPrivateFieldGet(this, _GenerateContext_files, "f").set(normalisedPath, newFile);
517
- return newFile;
1023
+ const methodMap = paths[path];
1024
+ if (!methodMap) {
1025
+ return false;
1026
+ }
1027
+ const variants = methodMap[method];
1028
+ if (variants === undefined) {
1029
+ return false;
1030
+ }
1031
+ if (variants.length === 0) {
1032
+ return true;
1033
+ }
1034
+ return variants.includes(variant);
518
1035
  };
519
1036
  /**
520
- * Creates an OperationSource from an operation and generator ID.
1037
+ * Match a `(refName, variant)` tuple against a model-shaped skip or
1038
+ * include entry. Sibling to {@link matchesPathFilter} — both arms
1039
+ * share matching rules; only the engine's interpretation of the
1040
+ * result differs (skip = deny, include = allow).
1041
+ *
1042
+ * Returns `false` when:
1043
+ * - `refs` is `undefined` (no filter applies)
1044
+ * - the `refName` isn't keyed in the entry
1045
+ *
1046
+ * Returns `true` when:
1047
+ * - the refName's variant array is empty (matches every variant)
1048
+ * - the refName's variant array contains `variant`
1049
+ */
1050
+ const matchesRefFilter = ({ refs, refName, variant }) => {
1051
+ if (!refs) {
1052
+ return false;
1053
+ }
1054
+ const variants = refs[refName];
1055
+ if (variants === undefined) {
1056
+ return false;
1057
+ }
1058
+ if (variants.length === 0) {
1059
+ return true;
1060
+ }
1061
+ return variants.includes(variant);
1062
+ };
1063
+ /**
1064
+ * Creates an OasOperationSource from an operation, generator ID, and variant.
521
1065
  *
522
1066
  * Transforms operation and generator information into a source descriptor
523
1067
  * that can be used for tracking operation origins in the generation pipeline.
524
1068
  *
525
- * @param args - Arguments containing operation and generator ID
526
- * @returns OperationSource descriptor for the operation
1069
+ * @param args - Arguments containing operation, generator ID, and variant
1070
+ * @returns OasOperationSource descriptor for the operation
527
1071
  */
528
- const toOperationSource = ({ operation, generatorId }) => ({
529
- type: 'operation',
1072
+ const toOasOperationSource = ({ operation, generatorId, variant }) => ({
1073
+ type: 'oasOperation',
530
1074
  generatorId,
531
1075
  operationPath: operation.path,
532
- operationMethod: operation.method
1076
+ operationMethod: operation.method,
1077
+ variant
1078
+ });
1079
+ exports.toOasOperationSource = toOasOperationSource;
1080
+ /**
1081
+ * Creates a {@link WebhookSource} from a webhook, generator ID, and variant.
1082
+ * Sibling of {@link toOasOperationSource} for the 3.1 webhook subject.
1083
+ */
1084
+ const toWebhookSource = ({ webhook, generatorId, variant }) => ({
1085
+ type: 'webhook',
1086
+ generatorId,
1087
+ webhookName: webhook.name,
1088
+ webhookMethod: webhook.method,
1089
+ variant
533
1090
  });
534
- exports.toOperationSource = toOperationSource;
1091
+ exports.toWebhookSource = toWebhookSource;
535
1092
  /**
536
- * Creates a ModelSource from a reference name and generator ID.
1093
+ * Creates a GraphQL operation source descriptor.
1094
+ *
1095
+ * Sibling to {@link toOasOperationSource} for the GraphQL protocol — encodes
1096
+ * `rootKind` and `fieldName` instead of `path` / `method`.
1097
+ */
1098
+ const toGqlOperationSource = ({ operation, generatorId, variant }) => ({
1099
+ type: 'gqlOperation',
1100
+ generatorId,
1101
+ rootKind: operation.rootKind,
1102
+ fieldName: operation.fieldName,
1103
+ variant
1104
+ });
1105
+ exports.toGqlOperationSource = toGqlOperationSource;
1106
+ /**
1107
+ * Creates a ModelSource from a reference name, generator ID, and variant.
537
1108
  *
538
1109
  * Transforms model reference and generator information into a source descriptor
539
1110
  * that can be used for tracking model origins in the generation pipeline.
540
1111
  *
541
- * @param args - Arguments containing reference name and generator ID
1112
+ * @param args - Arguments containing reference name, generator ID, and variant
542
1113
  * @returns ModelSource descriptor for the model
543
1114
  */
544
- const toModelSource = ({ refName, generatorId }) => ({
1115
+ const toModelSource = ({ refName, generatorId, variant }) => ({
545
1116
  type: 'model',
546
1117
  generatorId,
547
- refName
1118
+ refName,
1119
+ variant
548
1120
  });
549
1121
  exports.toModelSource = toModelSource;
550
1122
  const toSkipPaths = (skip, generatorId) => {
551
1123
  const generatorSkip = skip?.[generatorId];
552
- if (typeof generatorSkip === 'object' && !Array.isArray(generatorSkip)) {
553
- return generatorSkip;
1124
+ // Operation-shaped entries have records-of-records at the inner
1125
+ // slot (`Record<path, Record<method, variant[]>>`); model-shaped
1126
+ // entries have records-of-arrays (`Record<refName, variant[]>`).
1127
+ // Discriminate by inner value shape. An empty record is ambiguous
1128
+ // and admitted by both helpers — each arm will see its own empty
1129
+ // filter (`{}`), which means "match nothing" in both cases.
1130
+ if (typeof generatorSkip === 'object' &&
1131
+ generatorSkip !== null &&
1132
+ !Array.isArray(generatorSkip)) {
1133
+ const values = Object.values(generatorSkip);
1134
+ if (values.length === 0 ||
1135
+ values.every(v => typeof v === 'object' && v !== null && !Array.isArray(v))) {
1136
+ return generatorSkip;
1137
+ }
554
1138
  }
555
1139
  return undefined;
556
1140
  };
557
1141
  const toSkipModels = (skip, generatorId) => {
558
1142
  const generatorSkip = skip?.[generatorId];
559
- if (Array.isArray(generatorSkip)) {
560
- return generatorSkip;
1143
+ // SkipModelRefs is `Record<refName, variant[]>`. The operation arm
1144
+ // entries are `Record<path, Record<method, variant[]>>` — discriminate
1145
+ // by inner value shape (arrays vs nested records). An empty record is
1146
+ // ambiguous and admitted by both helpers — see `toSkipPaths`.
1147
+ if (typeof generatorSkip === 'object' &&
1148
+ generatorSkip !== null &&
1149
+ !Array.isArray(generatorSkip)) {
1150
+ const values = Object.values(generatorSkip);
1151
+ if (values.length === 0 || values.every(v => Array.isArray(v))) {
1152
+ return generatorSkip;
1153
+ }
1154
+ }
1155
+ return undefined;
1156
+ };
1157
+ /**
1158
+ * Extracts the per-operation include slice for a generator, mirroring
1159
+ * {@link toSkipPaths}. Returns `undefined` when the include entry
1160
+ * isn't operation-shaped for this generator (e.g. the user passed a
1161
+ * model-shaped array or no entry at all) — the caller then treats
1162
+ * "no per-op filter active" as the semantics.
1163
+ */
1164
+ const toIncludePaths = (include, generatorId) => {
1165
+ const generatorInclude = include?.[generatorId];
1166
+ // Same model/operation discrimination as `toSkipPaths`.
1167
+ if (typeof generatorInclude === 'object' &&
1168
+ generatorInclude !== null &&
1169
+ !Array.isArray(generatorInclude)) {
1170
+ const values = Object.values(generatorInclude);
1171
+ if (values.length === 0 ||
1172
+ values.every(v => typeof v === 'object' && v !== null && !Array.isArray(v))) {
1173
+ return generatorInclude;
1174
+ }
1175
+ }
1176
+ return undefined;
1177
+ };
1178
+ /**
1179
+ * Extracts the per-model include slice for a generator, mirroring
1180
+ * {@link toSkipModels}. Returns `undefined` when the include entry
1181
+ * isn't model-shaped for this generator.
1182
+ */
1183
+ const toIncludeModels = (include, generatorId) => {
1184
+ const generatorInclude = include?.[generatorId];
1185
+ if (typeof generatorInclude === 'object' &&
1186
+ generatorInclude !== null &&
1187
+ !Array.isArray(generatorInclude)) {
1188
+ const values = Object.values(generatorInclude);
1189
+ if (values.length === 0 || values.every(v => Array.isArray(v))) {
1190
+ return generatorInclude;
1191
+ }
561
1192
  }
562
1193
  return undefined;
563
1194
  };