@skmtc/core 0.0.984 → 0.16.2

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 +146 -0
  341. package/esm/oas/webhook/Webhook.d.ts.map +1 -0
  342. package/esm/oas/webhook/Webhook.js +224 -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 +146 -0
  1059. package/script/oas/webhook/Webhook.d.ts.map +1 -0
  1060. package/script/oas/webhook/Webhook.js +228 -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
@@ -9,15 +9,18 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
9
9
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
- var _GenerateContext_instances, _GenerateContext_files, _GenerateContext_previews, _GenerateContext_mappings, _GenerateContext_runOperationGenerator, _GenerateContext_runModelGenerator, _GenerateContext_addPreview, _GenerateContext_addMapping, _GenerateContext_getFile, _GenerateContext_defineAndRegister, _GenerateContext_addFile;
13
- import { normalize } from '../deps/jsr.io/@std/path/1.1.3/normalize.js';
14
- import { Import } from '../dsl/Import.js';
15
- import { Definition } from '../dsl/Definition.js';
16
- import { OperationDriver } from '../dsl/operation/OperationDriver.js';
12
+ 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;
13
+ import { normalize } from '../deps/jsr.io/@std/path/1.1.4/normalize.js';
14
+ import { OasOperationDriver } from '../dsl/operation/oas/OasOperationDriver.js';
15
+ import { WebhookDriver } from '../dsl/webhook/WebhookDriver.js';
16
+ import { GqlOperationDriver } from '../dsl/operation/gql/GqlOperationDriver.js';
17
17
  import { ModelDriver } from '../dsl/model/ModelDriver.js';
18
18
  import { ContentSettings } from '../dsl/ContentSettings.js';
19
+ import { DEFAULT_VARIANT } from '../types/Variant.js';
20
+ import { toVariantList } from '../helpers/toVariantList.js';
21
+ import get from 'lodash-es/get.js';
19
22
  import { Inserted } from '../dsl/Inserted.js';
20
- import { File } from '../dsl/File.js';
23
+ import { CodeFileBase } from '../dsl/CodeFileBase.js';
21
24
  import { JsonFile } from '../dsl/JsonFile.js';
22
25
  import invariant from 'tiny-invariant';
23
26
  /**
@@ -44,15 +47,15 @@ import invariant from 'tiny-invariant';
44
47
  *
45
48
  * @example Basic usage in a model generator
46
49
  * ```typescript
47
- * import { ModelBase } from '@skmtc/core';
50
+ * import { ModelProjectionBase } from '@skmtc/core';
48
51
  *
49
- * class TypeScriptInterface extends ModelBase {
52
+ * class TypeScriptInterface extends ModelProjectionBase {
50
53
  * generate(): Definition {
51
54
  * const schema = this.context.getSchema(this.refName);
52
55
  *
53
56
  * return new Definition({
54
57
  * context: this.context,
55
- * identifier: Identifier.createType(this.refName),
58
+ * identifier: createType(this.refName),
56
59
  * description: schema.description,
57
60
  * value: {
58
61
  * generatorKey: this.generatorKey,
@@ -63,19 +66,23 @@ import invariant from 'tiny-invariant';
63
66
  * }
64
67
  * ```
65
68
  */
69
+ const isGqlInsertOperationArgs = (args) => args.operation.oasType === 'gqlOperation';
70
+ const isGqlToOperationSettingsArgs = (args) => args.operation.oasType === 'gqlOperation';
71
+ /** A non-null object — the subject-scope leaf of an enrichment-defaults umbrella
72
+ * (`{ fields, title, … }`). Narrows `unknown` without an `as` cast. */
73
+ const isEnrichmentLeaf = (value) => typeof value === 'object' && value !== null;
66
74
  export class GenerateContext {
67
- /**
68
- * Creates a new GenerateContext instance for the generation phase.
69
- *
70
- * @param args - Constructor arguments including document, settings, and handlers
71
- */
72
- constructor({ oasDocument, settings, logger, captureCurrentResult, toGeneratorConfigMap }) {
75
+ constructor({ document, settings, logger, captureCurrentResult, toGeneratorConfigMap, captureChannel }) {
73
76
  _GenerateContext_instances.add(this);
74
77
  _GenerateContext_files.set(this, void 0);
75
78
  _GenerateContext_previews.set(this, void 0);
76
79
  _GenerateContext_mappings.set(this, void 0);
77
- /** The parsed OpenAPI document being processed */
78
- Object.defineProperty(this, "oasDocument", {
80
+ /**
81
+ * Parsed source document, wrapped in the {@link SkmtcParsedDocument}
82
+ * discriminated union. Canonical representation; both protocol-neutral
83
+ * (model) and protocol-specific (operation) dispatch reads through this.
84
+ */
85
+ Object.defineProperty(this, "document", {
79
86
  enumerable: true,
80
87
  configurable: true,
81
88
  writable: true,
@@ -116,15 +123,32 @@ export class GenerateContext {
116
123
  writable: true,
117
124
  value: void 0
118
125
  });
126
+ /**
127
+ * Creates a new GenerateContext instance for the generation phase.
128
+ *
129
+ * @param args - Constructor arguments including document, settings, and handlers
130
+ */
131
+ /** Shared attribution capture channel (see {@link ConstructorArgs}). */
132
+ _GenerateContext_captureChannel.set(this, void 0);
119
133
  this.logger = logger;
120
134
  __classPrivateFieldSet(this, _GenerateContext_files, new Map(), "f");
121
135
  __classPrivateFieldSet(this, _GenerateContext_previews, {}, "f");
122
136
  __classPrivateFieldSet(this, _GenerateContext_mappings, {}, "f");
123
- this.oasDocument = oasDocument;
137
+ this.document = document;
124
138
  this.settings = settings;
125
139
  this.captureCurrentResult = captureCurrentResult;
126
140
  this.toGeneratorConfigMap = toGeneratorConfigMap;
127
141
  this.modelDepth = {};
142
+ __classPrivateFieldSet(this, _GenerateContext_captureChannel, captureChannel, "f");
143
+ }
144
+ /**
145
+ * The active attribution capture sink, or `undefined` outside the
146
+ * capture interval. Every `SnippetBase` instance's `toString` wrapper
147
+ * reads this; `RenderContext` opens/closes the interval by flipping the
148
+ * shared channel's `sink`.
149
+ */
150
+ get captureSink() {
151
+ return __classPrivateFieldGet(this, _GenerateContext_captureChannel, "f")?.sink;
128
152
  }
129
153
  /**
130
154
  * @internal
@@ -133,21 +157,68 @@ export class GenerateContext {
133
157
  const generators = Object.values(this.toGeneratorConfigMap());
134
158
  generators.forEach(generatorConfig => {
135
159
  stackTrail.trace(generatorConfig.id, st => {
160
+ // Whole-generator skip (string entry in `skip`). Silent no-op:
161
+ // no per-operation `skipped` results emitted.
136
162
  if (this.settings?.skip?.includes(generatorConfig.id)) {
137
163
  return;
138
164
  }
165
+ // `include` is per-generator, not document-global. A generator
166
+ // with a per-operation include slice runs in allow-list mode
167
+ // (only the listed operations); a generator absent from
168
+ // `include` is unaffected and runs default-on. There is
169
+ // therefore no whole-generator include gate here — the slice
170
+ // extracted below is applied per-operation in the run* arms.
171
+ // (Whole-generator opt-out is `skip`. A bare-string `include`
172
+ // entry carries no per-operation filter and is a no-op.)
139
173
  const skip = this.settings?.skip?.find((skip) => {
140
174
  return typeof skip === 'object' && Boolean(skip[generatorConfig.id]);
141
175
  });
176
+ // Extract the per-generator include slice (if any). Same
177
+ // dispatch shape as skip: object entries get matched by key,
178
+ // string entries don't produce a per-op filter (they mean
179
+ // "everything from this generator is included", which is
180
+ // semantically equivalent to "no per-op filter" once the
181
+ // whole-generator gate above has admitted us).
182
+ const include = this.settings?.include?.find((entry) => {
183
+ return typeof entry === 'object' && Boolean(entry[generatorConfig.id]);
184
+ });
142
185
  switch (generatorConfig.type) {
143
- case 'operation':
144
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runOperationGenerator).call(this, this.oasDocument, generatorConfig, toSkipPaths(skip, generatorConfig.id), st);
186
+ case 'oasOperation':
187
+ if (this.document.type !== 'oas') {
188
+ // Generator targets OAS; current document is GraphQL — skip silently.
189
+ return;
190
+ }
191
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runOasOperationGenerator).call(this, this.document.value, generatorConfig, toIncludePaths(include, generatorConfig.id), toSkipPaths(skip, generatorConfig.id), st);
192
+ break;
193
+ case 'webhook':
194
+ if (this.document.type !== 'oas') {
195
+ // Webhooks are an OAS 3.1 feature; current document is GraphQL —
196
+ // skip silently.
197
+ return;
198
+ }
199
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runWebhookGenerator).call(this, this.document.value, generatorConfig, toIncludePaths(include, generatorConfig.id), toSkipPaths(skip, generatorConfig.id), st);
200
+ break;
201
+ case 'gqlOperation':
202
+ if (this.document.type !== 'gql') {
203
+ // Generator targets GraphQL; current document is OAS — skip silently.
204
+ return;
205
+ }
206
+ // GraphQL operations don't yet have skip/include support
207
+ // at the per-operation level. The whole-generator gate
208
+ // above does apply (so `include: ['my-gql-gen']` works as
209
+ // expected), but per-(rootKind, fieldName) filtering is a
210
+ // follow-up that needs the same dispatch shape added for
211
+ // GqlOperation. Tracked alongside the existing GQL-skip
212
+ // gap.
213
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runGqlOperationGenerator).call(this, this.document.value, generatorConfig, st);
145
214
  break;
146
215
  case 'model':
147
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runModelGenerator).call(this, this.oasDocument, generatorConfig, toSkipModels(skip, generatorConfig.id), st);
216
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_runModelGenerator).call(this, this.document, generatorConfig, toIncludeModels(include, generatorConfig.id), toSkipModels(skip, generatorConfig.id), st);
148
217
  break;
149
- default:
150
- throw new Error(`Invalid generator type: '${generatorConfig.type}' on ${generatorConfig.id}`);
218
+ default: {
219
+ const _exhaustive = generatorConfig;
220
+ throw new Error(`Invalid generator type: ${JSON.stringify(_exhaustive)}`);
221
+ }
151
222
  }
152
223
  });
153
224
  });
@@ -158,29 +229,181 @@ export class GenerateContext {
158
229
  };
159
230
  }
160
231
  /**
161
- * Create and register a definition with the given `identifier` at `destinationPath`.
232
+ * Evaluate each generator's `isSupported` over the parsed document's subjects
233
+ * and report the subjects each generator supports — capability only, no
234
+ * transform and no render. Operation generators report the operations their
235
+ * `isSupported` accepts; model generators report every model (the generate
236
+ * pipeline applies no model-level `isSupported`). A generator targeting the
237
+ * other protocol reports nothing.
238
+ */
239
+ toSupportedSubjects() {
240
+ const generators = Object.values(this.toGeneratorConfigMap());
241
+ const out = {};
242
+ generators.forEach(generatorConfig => {
243
+ switch (generatorConfig.type) {
244
+ case 'oasOperation': {
245
+ const operations = this.document.type === 'oas'
246
+ ? this.document.value.operations
247
+ .filter(operation => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: DEFAULT_VARIANT })))
248
+ .map(operation => ({ path: operation.path, method: operation.method }))
249
+ : [];
250
+ out[generatorConfig.id] = { type: 'oasOperation', operations };
251
+ break;
252
+ }
253
+ case 'webhook': {
254
+ const webhooks = this.document.type === 'oas'
255
+ ? this.document.value.webhooks
256
+ .filter(webhook => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ webhook, context: this, variant: DEFAULT_VARIANT })))
257
+ .map(webhook => ({ name: webhook.name, method: webhook.method }))
258
+ : [];
259
+ out[generatorConfig.id] = { type: 'webhook', webhooks };
260
+ break;
261
+ }
262
+ case 'gqlOperation': {
263
+ const operations = this.document.type === 'gql'
264
+ ? this.document.value.operations
265
+ .filter(operation => __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: DEFAULT_VARIANT })))
266
+ .map(operation => ({
267
+ rootKind: operation.rootKind,
268
+ fieldName: operation.fieldName
269
+ }))
270
+ : [];
271
+ out[generatorConfig.id] = { type: 'gqlOperation', operations };
272
+ break;
273
+ }
274
+ case 'model': {
275
+ const refNames = this.document.type === 'oas'
276
+ ? (this.document.value.components?.toSchemasRefNames() ?? [])
277
+ : this.document.value.registry.toSchemasRefNames();
278
+ out[generatorConfig.id] = { type: 'model', models: [...refNames] };
279
+ break;
280
+ }
281
+ default: {
282
+ const _exhaustive = generatorConfig;
283
+ throw new Error(`Invalid generator type: ${JSON.stringify(_exhaustive)}`);
284
+ }
285
+ }
286
+ });
287
+ return out;
288
+ }
289
+ /**
290
+ * The seed enrichment values each configured generator derives from the
291
+ * document — the *values* counterpart of {@link toSupportedSubjects}. For
292
+ * every generator that advertises `toEnrichmentDefaults`, calls it over the
293
+ * subjects the generator supports and keeps the non-`undefined` subject-scope
294
+ * leaves, keyed by the `client.json#settings.enrichments` routing:
295
+ * `[id][path][method]['main']` for operations, `[id][refName]['main']` for
296
+ * models. Seeding targets the `'main'` variant; a generator that advertises
297
+ * no defaults (or whose every subject returns `undefined`) is omitted.
162
298
  *
163
- * @experimental
299
+ * Like {@link toSupportedSubjects} it neither transforms nor renders, and is
300
+ * defensive: a generator whose hook throws contributes nothing rather than
301
+ * failing the whole pass.
164
302
  */
165
- defineAndRegister({ identifier, value, destinationPath, noExport }) {
166
- // @TODO cache check is duplicatd if call comes from
167
- // createAndRegisterDefinition. Look for a way to share code between
168
- // these two functions
169
- const cachedDefinition = this.findDefinition({
170
- name: identifier.name,
171
- exportPath: destinationPath
303
+ toEnrichmentDefaults() {
304
+ const generators = Object.values(this.toGeneratorConfigMap());
305
+ const out = {};
306
+ generators.forEach(generatorConfig => {
307
+ switch (generatorConfig.type) {
308
+ case 'oasOperation': {
309
+ const toDefaults = generatorConfig.toEnrichmentDefaults;
310
+ if (!toDefaults || this.document.type !== 'oas')
311
+ break;
312
+ const operations = {};
313
+ this.document.value.operations.forEach(operation => {
314
+ if (!__classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ operation, context: this, variant: DEFAULT_VARIANT }))) {
315
+ return;
316
+ }
317
+ const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ operation, context: this, variant: DEFAULT_VARIANT }));
318
+ if (leaf === undefined)
319
+ return;
320
+ const methods = (operations[operation.path] ??= {});
321
+ methods[operation.method] = { [DEFAULT_VARIANT]: leaf };
322
+ });
323
+ if (Object.keys(operations).length > 0) {
324
+ out[generatorConfig.id] = operations;
325
+ }
326
+ break;
327
+ }
328
+ case 'webhook': {
329
+ const toDefaults = generatorConfig.toEnrichmentDefaults;
330
+ if (!toDefaults || this.document.type !== 'oas')
331
+ break;
332
+ const webhooks = {};
333
+ this.document.value.webhooks.forEach(webhook => {
334
+ if (!__classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_supports).call(this, () => generatorConfig.isSupported({ webhook, context: this, variant: DEFAULT_VARIANT }))) {
335
+ return;
336
+ }
337
+ const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ webhook, context: this, variant: DEFAULT_VARIANT }));
338
+ if (leaf === undefined)
339
+ return;
340
+ const methods = (webhooks[webhook.name] ??= {});
341
+ methods[webhook.method] = { [DEFAULT_VARIANT]: leaf };
342
+ });
343
+ if (Object.keys(webhooks).length > 0) {
344
+ out[generatorConfig.id] = webhooks;
345
+ }
346
+ break;
347
+ }
348
+ case 'model': {
349
+ const toDefaults = generatorConfig.toEnrichmentDefaults;
350
+ if (!toDefaults)
351
+ break;
352
+ // Model entries carry no `isSupported` — the generate pipeline visits
353
+ // every refName and filters inside the callback. Mirror that here: the
354
+ // hook itself returns `undefined` for schemas it doesn't seed.
355
+ const refNames = this.document.type === 'oas'
356
+ ? (this.document.value.components?.toSchemasRefNames() ?? [])
357
+ : this.document.value.registry.toSchemasRefNames();
358
+ const models = {};
359
+ for (const refName of refNames) {
360
+ const leaf = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_subjectDefaults).call(this, () => toDefaults({ refName, context: this, variant: DEFAULT_VARIANT }));
361
+ if (leaf === undefined)
362
+ continue;
363
+ models[refName] = { [DEFAULT_VARIANT]: leaf };
364
+ }
365
+ if (Object.keys(models).length > 0) {
366
+ out[generatorConfig.id] = models;
367
+ }
368
+ break;
369
+ }
370
+ case 'gqlOperation': {
371
+ // No `toEnrichmentDefaults` on the GraphQL projection base — seeding is
372
+ // OAS-operation / model only today, so a GQL generator contributes
373
+ // nothing.
374
+ break;
375
+ }
376
+ default: {
377
+ const _exhaustive = generatorConfig;
378
+ throw new Error(`Invalid generator type: ${JSON.stringify(_exhaustive)}`);
379
+ }
380
+ }
172
381
  });
173
- // @TODO add check to make sure retrieved definition
174
- // used same generator and same schema #SKM-47
175
- if (cachedDefinition) {
176
- return cachedDefinition;
382
+ return out;
383
+ }
384
+ /**
385
+ * Look up an already-registered file by path, or `undefined` if none
386
+ * exists. Neutral primitive: returns the abstract `FileBase` and never
387
+ * constructs anything, so a (future) language-owned `register` can ask
388
+ * "does this file exist yet?" without the engine knowing the language.
389
+ * To create-on-miss, use the internal `#getFile`; to add a
390
+ * language-constructed file, use {@link addFile}.
391
+ */
392
+ getFile(filePath) {
393
+ return __classPrivateFieldGet(this, _GenerateContext_files, "f").get(normalize(filePath));
394
+ }
395
+ /**
396
+ * Store a language-constructed file. The engine never constructs a
397
+ * concrete (language) `File`; the language's `register` builds its own
398
+ * `FileBase` subclass and hands it in here. Throws if a file already
399
+ * exists at the (normalized) path.
400
+ */
401
+ addFile(file) {
402
+ const normalizedPath = normalize(file.path);
403
+ if (__classPrivateFieldGet(this, _GenerateContext_files, "f").has(normalizedPath)) {
404
+ throw new Error(`File already exists: ${normalizedPath}`);
177
405
  }
178
- return __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_defineAndRegister).call(this, {
179
- identifier,
180
- value,
181
- destinationPath,
182
- noExport
183
- });
406
+ __classPrivateFieldGet(this, _GenerateContext_files, "f").set(normalizedPath, file);
184
407
  }
185
408
  /**
186
409
  * Registers JSON content for output to a file.
@@ -189,7 +412,12 @@ export class GenerateContext {
189
412
  * @param args - Registration arguments with destination path and JSON content
190
413
  */
191
414
  registerJson({ destinationPath, json }) {
192
- const currentFile = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_getFile).call(this, destinationPath);
415
+ const normalizedPath = normalize(destinationPath);
416
+ let currentFile = this.getFile(normalizedPath);
417
+ if (!currentFile) {
418
+ currentFile = new JsonFile({ path: normalizedPath, content: {} });
419
+ this.addFile(currentFile);
420
+ }
193
421
  invariant(currentFile instanceof JsonFile, `File at "${destinationPath}" is not a "JsonFile" type`);
194
422
  currentFile.content = json;
195
423
  }
@@ -204,81 +432,99 @@ export class GenerateContext {
204
432
  *
205
433
  * @mutates this.files
206
434
  */
207
- register({ imports = {}, definitions, destinationPath, reExports }) {
208
- // TODO deduplicate import names and definition names against each other
209
- const currentFile = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_getFile).call(this, destinationPath);
210
- invariant(currentFile instanceof File, `File at "${destinationPath}" is not a "File" type`);
211
- Object.entries(reExports ?? {}).forEach(([importModule, identifiers]) => {
212
- if (!currentFile.reExports.get(importModule) && identifiers.length) {
213
- currentFile.reExports.set(importModule, {});
214
- }
215
- identifiers.forEach(identifier => {
216
- const entityType = identifier.entityType.type;
217
- const module = currentFile.reExports.get(importModule);
218
- invariant(module, 'Module not found');
219
- if (!module[entityType]) {
220
- module[entityType] = new Set();
221
- }
222
- module[entityType].add(identifier.name);
223
- });
224
- });
225
- Object.entries(imports).forEach(([importModule, importNames]) => {
226
- const module = currentFile.imports.get(importModule);
227
- const importItem = new Import({ module: importModule, importNames });
228
- if (module) {
229
- importItem.importNames.forEach(n => module.add(`${n}`));
230
- }
231
- else {
232
- currentFile.imports.set(importModule, new Set(importItem.importNames.map(n => `${n}`)));
233
- }
234
- });
435
+ register({ imports = [], reExports = [], definitions, destinationPath }) {
436
+ const normalizedPath = normalize(destinationPath);
437
+ const currentFile = this.getFile(normalizedPath);
438
+ // `register` never creates files it speaks pure data and the engine
439
+ // never names a file class. Callers pre-create the destination file
440
+ // through their language (the lang package's register function, the
441
+ // Drivers' ensureFile); reaching a file-miss here is a bug at the
442
+ // caller.
443
+ invariant(currentFile, `Cannot register into '${normalizedPath}' — the file does not exist. ` +
444
+ `Pre-create it through your lang (its register function does this).`);
445
+ // Definitions merge is language-neutral — `addDefinition` lives on
446
+ // `FileBase`, so this works for any language's file.
235
447
  definitions?.forEach(definition => {
236
- if (!definition) {
237
- return;
238
- }
239
- const { name } = definition.identifier;
240
- if (!currentFile.definitions.has(name)) {
241
- currentFile.definitions.set(name, definition);
448
+ if (definition) {
449
+ currentFile.addDefinition(definition);
242
450
  }
243
451
  });
452
+ // Imports and re-exports are standardised `ImportBase` /
453
+ // `ReExportBase` objects; the neutral merges (keyed by `mergeKey`)
454
+ // live on `CodeFileBase`. `JsonFile` has neither, so the guard skips
455
+ // it.
456
+ if (imports.length > 0 && currentFile instanceof CodeFileBase) {
457
+ currentFile.addImports(imports);
458
+ }
459
+ if (reExports.length > 0 && currentFile instanceof CodeFileBase) {
460
+ currentFile.addReExports(reExports);
461
+ }
244
462
  }
245
463
  /**
246
464
  * Insert operation into the output file with path `destinationPath`.
247
465
  *
248
466
  * Insert will perform the following steps:
249
- * 1. Generate content settings for the supplied operation
250
- * 2. Look up definition in file with path `destinationPath`
251
- * 3. If definition is not found, it will create a new one and register it
252
- * 4. If the definition is defined at a location that is different from
253
- * the current file, it will add an import to the current file from
254
- * that location
255
- * 5. Use the content settings to generate the operation using the
256
- * insertable's driver
467
+ * Insert an operation definition into `destinationPath`.
468
+ *
469
+ * Resolves identifier and export path from the projection, registers the
470
+ * definition (or reuses a cached one), and stitches an import into
471
+ * `destinationPath` if it differs from the projection's `exportPath`.
472
+ *
257
473
  * @mutates this.files
258
474
  */
259
- insertOperation(insertable, operation, { destinationPath, noExport = false } = {}) {
260
- const { settings, definition } = new OperationDriver({
475
+ insertOperation(args) {
476
+ // Default to the canonical variant. Callers who explicitly thread
477
+ // a variant (e.g. variants-aware Projections threading
478
+ // `this.settings.variant`) override this default.
479
+ const variant = args.variant ?? DEFAULT_VARIANT;
480
+ if (isGqlInsertOperationArgs(args)) {
481
+ const { settings, definition } = new GqlOperationDriver({
482
+ context: this,
483
+ projection: args.projection,
484
+ operation: args.operation,
485
+ destinationPath: args.destinationPath,
486
+ noExport: args.noExport ?? false,
487
+ variant
488
+ });
489
+ return new Inserted({ settings, definition });
490
+ }
491
+ const { settings, definition } = new OasOperationDriver({
492
+ context: this,
493
+ projection: args.projection,
494
+ operation: args.operation,
495
+ destinationPath: args.destinationPath,
496
+ noExport: args.noExport ?? false,
497
+ variant
498
+ });
499
+ return new Inserted({ settings, definition });
500
+ }
501
+ /**
502
+ * Insert a webhook's projection. Sibling of {@link insertOperation} for
503
+ * the OAS 3.1 webhook subject — webhooks are OAS-only, so there is no
504
+ * protocol discrimination.
505
+ */
506
+ insertWebhook(args) {
507
+ const variant = args.variant ?? DEFAULT_VARIANT;
508
+ const { settings, definition } = new WebhookDriver({
261
509
  context: this,
262
- insertable,
263
- operation,
264
- destinationPath,
265
- noExport
510
+ projection: args.projection,
511
+ webhook: args.webhook,
512
+ destinationPath: args.destinationPath,
513
+ noExport: args.noExport ?? false,
514
+ variant
266
515
  });
267
516
  return new Inserted({ settings, definition });
268
517
  }
269
518
  /**
270
- * Inserts a normalized model definition into the generation context.
271
- *
272
- * @param insertable - Model insertable configuration with prototype and transform functions
273
- * @param schema - OAS schema, reference, or void type to generate model from
274
- * @param options - Insertion options including generation type and destination
275
- * @returns Inserted model instance with settings and definition
519
+ * Insert a normalized model: dispatch to {@link insertModel} when the schema
520
+ * is a `$ref`, otherwise produce a one-off definition under `fallbackName`.
276
521
  */
277
- insertNormalisedModel(insertable, { schema, fallbackName, destinationPath }, { noExport = false } = {}) {
522
+ insertNormalizedModel(projection, { schema, fallbackName, destinationPath }, { noExport = false, variant } = {}) {
278
523
  if (schema.isRef()) {
279
- const { definition } = this.insertModel(insertable, schema.toRefName(), {
524
+ const { definition } = this.insertModel(projection, schema.toRefName(), {
280
525
  destinationPath,
281
- noExport
526
+ noExport,
527
+ variant
282
528
  });
283
529
  // @TODO Using mapped types would help avoid generics casting
284
530
  return definition;
@@ -292,77 +538,159 @@ export class GenerateContext {
292
538
  if (cachedDefinition) {
293
539
  return cachedDefinition;
294
540
  }
295
- const value = insertable.schemaToValueFn({
541
+ const value = projection.schemaToValueFn({
296
542
  context: this,
297
543
  schema,
298
544
  destinationPath,
299
545
  required: true
300
546
  });
301
- const definition = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_defineAndRegister).call(this, {
302
- identifier: insertable.createIdentifier(fallbackName),
547
+ // The inline-schema fallback builds the Definition through the
548
+ // projection's language — the static read off the projection class at
549
+ // the use site (same ephemeral read the Drivers make) — pre-creates
550
+ // the destination file caller-side, and stores via the pure-data
551
+ // `register`.
552
+ const normalizedPath = normalize(destinationPath);
553
+ if (!this.getFile(normalizedPath)) {
554
+ this.addFile(projection.lang.createFile({ path: normalizedPath, settings: this.settings }));
555
+ }
556
+ const definition = projection.lang.toDefinition({
557
+ context: this,
558
+ identifier: projection.createIdentifier(fallbackName),
303
559
  value,
304
- destinationPath,
305
560
  noExport
306
561
  });
562
+ this.register({ definitions: [definition], destinationPath: normalizedPath });
307
563
  // @TODO Using mapped types would help avoid generics casting
308
564
  return definition;
309
565
  }
310
566
  /**
311
- * Insert model into the output file with path `destinationPath`.
567
+ * Insert a model definition into `destinationPath`.
568
+ *
569
+ * Resolves identifier and export path from the projection, registers the
570
+ * definition (or reuses a cached one), and stitches an import into
571
+ * `destinationPath` if it differs from the projection's `exportPath`.
312
572
  *
313
- * Insert will perform the following steps:
314
- * 1. Generate content settings for the supplied model
315
- * 2. Look up definition in file with path `destinationPath`
316
- * 3. If definition is not found, it will create a new one and register it
317
- * 4. If the definition is defined at a location that is different from
318
- * the current file, it will add an import to the current file from
319
- * that location
320
- * 5. Use the content settings to generate the model using the
321
- * insertable's driver
322
573
  * @mutates this.files
323
574
  */
324
- insertModel(insertable, refName, { destinationPath, noExport = false } = {}) {
575
+ insertModel(projection, refName, { destinationPath, noExport = false, variant } = {}) {
576
+ // Default to the canonical variant. Callers who explicitly thread
577
+ // a variant (e.g. variants-aware Projections threading
578
+ // `this.settings.variant`) override this default.
579
+ const resolvedVariant = variant ?? DEFAULT_VARIANT;
325
580
  const { settings, definition } = new ModelDriver({
326
581
  context: this,
327
- insertable,
582
+ projection,
328
583
  refName,
329
584
  destinationPath,
330
585
  rootRef: refName,
331
- noExport
586
+ noExport,
587
+ variant: resolvedVariant
332
588
  });
333
589
  return new Inserted({ settings, definition });
334
590
  }
335
591
  /**
336
- * Generate and return content settings for operation insertable and
337
- * operation.
338
- *
339
- * Content settings are produced by passing base settings and operation
340
- * through toIdentifier and toExportPath static methods on the
341
- * insertable.
342
- * @param { operation, insertable }
343
- * @returns
592
+ * Build content settings for an operation projection by calling its
593
+ * statics `toIdentifierName` + `toIdentifierType`, `toExportPath`, and
594
+ * `toEnrichments` against the
595
+ * given operation.
596
+ */
597
+ toOperationContentSettings(args) {
598
+ const { variant } = args;
599
+ if (isGqlToOperationSettingsArgs(args)) {
600
+ const enrichments = args.projection.toEnrichments({
601
+ operation: args.operation,
602
+ context: this,
603
+ variant
604
+ });
605
+ return new ContentSettings({
606
+ identifier: args.projection.lang.toIdentifier({
607
+ name: args.projection.toIdentifierName({
608
+ operation: args.operation,
609
+ enrichments,
610
+ variant
611
+ }),
612
+ ...args.projection.toIdentifierType(args.operation, this)
613
+ }),
614
+ exportPath: args.projection.toExportPath({
615
+ operation: args.operation,
616
+ enrichments,
617
+ variant
618
+ }),
619
+ enrichments,
620
+ variant
621
+ });
622
+ }
623
+ const enrichments = args.projection.toEnrichments({
624
+ operation: args.operation,
625
+ context: this,
626
+ variant
627
+ });
628
+ return new ContentSettings({
629
+ identifier: args.projection.lang.toIdentifier({
630
+ name: args.projection.toIdentifierName({
631
+ operation: args.operation,
632
+ enrichments,
633
+ variant
634
+ }),
635
+ ...args.projection.toIdentifierType(args.operation, this)
636
+ }),
637
+ exportPath: args.projection.toExportPath({
638
+ operation: args.operation,
639
+ enrichments,
640
+ variant
641
+ }),
642
+ enrichments,
643
+ variant
644
+ });
645
+ }
646
+ /**
647
+ * Build content settings for a webhook projection. Sibling of
648
+ * {@link toOperationContentSettings}; webhooks are OAS-only, so there is no
649
+ * protocol discrimination.
344
650
  */
345
- toOperationContentSettings({ operation, insertable }) {
651
+ toWebhookContentSettings(args) {
652
+ const { variant } = args;
653
+ const enrichments = args.projection.toEnrichments({
654
+ webhook: args.webhook,
655
+ context: this,
656
+ variant
657
+ });
346
658
  return new ContentSettings({
347
- identifier: insertable.toIdentifier(operation),
348
- exportPath: insertable.toExportPath(operation),
349
- enrichments: insertable.toEnrichments({ operation, context: this })
659
+ identifier: args.projection.lang.toIdentifier({
660
+ name: args.projection.toIdentifierName({
661
+ webhook: args.webhook,
662
+ enrichments,
663
+ variant
664
+ }),
665
+ ...args.projection.toIdentifierType(args.webhook, this)
666
+ }),
667
+ exportPath: args.projection.toExportPath({
668
+ webhook: args.webhook,
669
+ enrichments,
670
+ variant
671
+ }),
672
+ enrichments,
673
+ variant
350
674
  });
351
675
  }
352
676
  /**
353
- * Generate and return content settings for model insertable and refName.
354
- *
355
- * Content settings are produced by passing base settings and refName
356
- * through toIdentifier and toExportPath static methods on the
357
- * insertable.
358
- * @param { refName, insertable }
359
- * @returns Content settings for model
677
+ * Build content settings for a model projection by calling its statics
678
+ * `toIdentifierName` (pure, for the name) + `toIdentifierType`
679
+ * (context-aware, for kind/typeName/exported), `toExportPath`, and
680
+ * `toEnrichments` against the given `refName` and `variant`. The full
681
+ * identifier is assembled through the projection's language
682
+ * (`lang.toIdentifier`).
360
683
  */
361
- toModelContentSettings({ refName, insertable }) {
684
+ toModelContentSettings({ refName, projection, variant }) {
685
+ const enrichments = projection.toEnrichments({ refName, context: this, variant });
362
686
  return new ContentSettings({
363
- identifier: insertable.toIdentifier(refName),
364
- exportPath: insertable.toExportPath(refName),
365
- enrichments: insertable.toEnrichments({ refName, context: this })
687
+ identifier: projection.lang.toIdentifier({
688
+ name: projection.toIdentifierName({ refName, enrichments, variant }),
689
+ ...projection.toIdentifierType(refName, this)
690
+ }),
691
+ exportPath: projection.toExportPath({ refName, enrichments, variant }),
692
+ enrichments,
693
+ variant
366
694
  });
367
695
  }
368
696
  /**
@@ -373,10 +701,17 @@ export class GenerateContext {
373
701
  */
374
702
  resolveSchemaRefOnce(refName, generatorId) {
375
703
  this.modelDepth[`${generatorId}:${refName}`]++;
376
- const schema = this.oasDocument.components?.schemas?.[refName]?.resolveOnce();
704
+ const schema = this.document.type === 'oas'
705
+ ? this.document.value.components?.schemas?.[refName]?.resolveOnce()
706
+ : this.document.value.registry.schemas[refName];
377
707
  if (!schema) {
378
708
  throw new Error(`Schema not found: ${refName}`);
379
709
  }
710
+ // GqlRegistry stores raw OasSchema | OasRef entries that we need to
711
+ // resolve once for parity with the OAS code path.
712
+ if (this.document.type === 'gql' && 'resolveOnce' in schema) {
713
+ return schema.resolveOnce();
714
+ }
380
715
  return schema;
381
716
  }
382
717
  /**
@@ -387,70 +722,263 @@ export class GenerateContext {
387
722
  * @returns Matching definition if found or `undefined` otherwise
388
723
  */
389
724
  findDefinition({ name, exportPath }) {
390
- const file = __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_getFile).call(this, exportPath);
391
- invariant(file instanceof File, `File at "${exportPath}" is not a "File" type`);
392
- return file.definitions.get(name);
725
+ // Pure lookup — no file is created on a miss. `definitions` lives on
726
+ // `FileBase`, so this reads any language's file without narrowing.
727
+ return this.getFile(exportPath)?.definitions.get(name);
393
728
  }
394
729
  }
395
- _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) {
396
- oasDocument.operations.reduce((acc, operation) => {
397
- return stackTrail.trace(`${operation.path}:${operation.method}`, st => {
398
- try {
399
- if (typeof generatorConfig?.isSupported === 'function' &&
400
- !generatorConfig.isSupported({ operation, context: this })) {
401
- this.captureCurrentResult('notSupported', st);
402
- return acc;
403
- }
404
- if (skip?.[operation.path]?.includes(operation.method)) {
405
- this.captureCurrentResult('skipped', st);
406
- return acc;
407
- }
408
- const result = generatorConfig.transform({ context: this, operation, acc });
409
- const source = toOperationSource({ operation, generatorId: generatorConfig.id });
410
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation }));
411
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation }));
412
- this.captureCurrentResult('success', st);
413
- return result;
414
- }
415
- catch (error) {
416
- this.logger.error(error);
417
- this.captureCurrentResult('error', st);
418
- }
730
+ _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) {
731
+ try {
732
+ return probe();
733
+ }
734
+ catch (error) {
735
+ this.logger.error(error);
736
+ return false;
737
+ }
738
+ }, _GenerateContext_subjectDefaults = function _GenerateContext_subjectDefaults(produce) {
739
+ try {
740
+ const umbrella = produce();
741
+ if (typeof umbrella !== 'object' || umbrella === null || !('subject' in umbrella)) {
742
+ return undefined;
743
+ }
744
+ const { subject } = umbrella;
745
+ return isEnrichmentLeaf(subject) ? subject : undefined;
746
+ }
747
+ catch (error) {
748
+ this.logger.error(error);
749
+ return undefined;
750
+ }
751
+ }, _GenerateContext_runOasOperationGenerator = function _GenerateContext_runOasOperationGenerator(oasDocument, generatorConfig, include, skip, stackTrail) {
752
+ oasDocument.operations.forEach(operation => {
753
+ stackTrail.trace(`${operation.path}:${operation.method}`, opTrail => {
754
+ // Resolve the variant list to fan out over. The consumer's
755
+ // enrichments are keyed `[generatorId][path][method][variant]`;
756
+ // the block at `[path][method]` is therefore a record of
757
+ // variant names. Three cases handled in `toVariantList`:
758
+ //
759
+ // - absent → run a single 'main' pass with no enrichment
760
+ // - present, non-object → treat as a single 'main' pass
761
+ // (the per-variant Valibot wrap will reject this shape
762
+ // at config-load time once it lands)
763
+ // - present, object → enumerate keys; 'main' must be among
764
+ // them or we throw (loud beats silent zero-output)
765
+ const opEnrichments = get(this.settings, ['enrichments', generatorConfig.id, operation.path, operation.method]);
766
+ const variants = toVariantList({
767
+ opEnrichments,
768
+ generatorId: generatorConfig.id,
769
+ operationLabel: `${operation.method.toUpperCase()} ${operation.path}`
770
+ });
771
+ variants.forEach(variant => {
772
+ opTrail.trace(`variant: ${variant}`, st => {
773
+ try {
774
+ if (typeof generatorConfig?.isSupported === 'function' &&
775
+ !generatorConfig.isSupported({ operation, context: this, variant })) {
776
+ this.captureCurrentResult('notSupported', st);
777
+ return;
778
+ }
779
+ // Order: isSupported (capability) → include (allow) → skip
780
+ // (deny). Match is now on `(path, method, variant)`. An
781
+ // empty variant array on a method means "every variant of
782
+ // this method"; a populated array names the variants the
783
+ // entry applies to.
784
+ if (include !== undefined &&
785
+ !matchesPathFilter({ paths: include, path: operation.path, method: operation.method, variant })) {
786
+ this.captureCurrentResult('skipped', st);
787
+ return;
788
+ }
789
+ if (matchesPathFilter({ paths: skip, path: operation.path, method: operation.method, variant })) {
790
+ this.captureCurrentResult('skipped', st);
791
+ return;
792
+ }
793
+ generatorConfig.transform({
794
+ context: this,
795
+ operation,
796
+ variant
797
+ });
798
+ const source = toOasOperationSource({
799
+ operation,
800
+ generatorId: generatorConfig.id,
801
+ variant
802
+ });
803
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation, variant }));
804
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation, variant }));
805
+ this.captureCurrentResult('success', st);
806
+ }
807
+ catch (error) {
808
+ this.logger.error(error);
809
+ this.captureCurrentResult('error', st);
810
+ }
811
+ });
812
+ });
419
813
  });
420
- }, undefined);
421
- }, _GenerateContext_runModelGenerator = function _GenerateContext_runModelGenerator(oasDocument, generatorConfig, skip, stackTrail) {
422
- const refNames = oasDocument.components?.toSchemasRefNames() ?? [];
423
- return refNames.reduce((acc, refName) => {
424
- return stackTrail.trace(refName, st => {
425
- try {
426
- if (skip?.includes(refName)) {
427
- this.captureCurrentResult('skipped', st);
428
- return acc;
429
- }
430
- const result = generatorConfig.transform({ context: this, refName, acc });
431
- const source = toModelSource({ refName, generatorId: generatorConfig.id });
432
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, refName }));
433
- __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, refName }));
434
- this.captureCurrentResult('success', st);
435
- return result;
436
- }
437
- catch (error) {
438
- this.logger.error(error);
439
- this.captureCurrentResult('error', st);
440
- }
814
+ });
815
+ }, _GenerateContext_runWebhookGenerator = function _GenerateContext_runWebhookGenerator(oasDocument, generatorConfig, include, skip, stackTrail) {
816
+ oasDocument.webhooks.forEach(webhook => {
817
+ stackTrail.trace(`webhook:${webhook.name}:${webhook.method}`, webhookTrail => {
818
+ // Variant fan-out, keyed `[generatorId][name][method][variant]`
819
+ // the webhook analogue of the operation routing. `toVariantList`
820
+ // handles absent / non-object / object enrichment blocks and
821
+ // enforces the `'main'`-must-be-present rule.
822
+ const webhookEnrichments = get(this.settings, ['enrichments', generatorConfig.id, webhook.name, webhook.method]);
823
+ const variants = toVariantList({
824
+ opEnrichments: webhookEnrichments,
825
+ generatorId: generatorConfig.id,
826
+ operationLabel: `webhook '${webhook.name}' (${webhook.method.toUpperCase()})`
827
+ });
828
+ variants.forEach(variant => {
829
+ webhookTrail.trace(`variant: ${variant}`, st => {
830
+ try {
831
+ if (typeof generatorConfig?.isSupported === 'function' &&
832
+ !generatorConfig.isSupported({ webhook, context: this, variant })) {
833
+ this.captureCurrentResult('notSupported', st);
834
+ return;
835
+ }
836
+ // Order: isSupported (capability) → include (allow) → skip
837
+ // (deny). The skip/include shape is structurally identical to
838
+ // operations (the webhook name occupies the `path` slot), so
839
+ // `matchesPathFilter` is reused with `path: webhook.name`.
840
+ if (include !== undefined &&
841
+ !matchesPathFilter({ paths: include, path: webhook.name, method: webhook.method, variant })) {
842
+ this.captureCurrentResult('skipped', st);
843
+ return;
844
+ }
845
+ if (matchesPathFilter({ paths: skip, path: webhook.name, method: webhook.method, variant })) {
846
+ this.captureCurrentResult('skipped', st);
847
+ return;
848
+ }
849
+ generatorConfig.transform({
850
+ context: this,
851
+ webhook,
852
+ variant
853
+ });
854
+ const source = toWebhookSource({
855
+ webhook,
856
+ generatorId: generatorConfig.id,
857
+ variant
858
+ });
859
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, webhook, variant }));
860
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, webhook, variant }));
861
+ this.captureCurrentResult('success', st);
862
+ }
863
+ catch (error) {
864
+ this.logger.error(error);
865
+ this.captureCurrentResult('error', st);
866
+ }
867
+ });
868
+ });
441
869
  });
442
- }, undefined);
870
+ });
871
+ }, _GenerateContext_runGqlOperationGenerator = function _GenerateContext_runGqlOperationGenerator(gqlDocument, generatorConfig, stackTrail) {
872
+ gqlDocument.operations.forEach(operation => {
873
+ stackTrail.trace(operation.identifier, opTrail => {
874
+ // GraphQL enrichment routing key is
875
+ // `[generatorId][rootKind][fieldName][variant]`.
876
+ const opEnrichments = get(this.settings, ['enrichments', generatorConfig.id, operation.rootKind, operation.fieldName]);
877
+ const variants = toVariantList({
878
+ opEnrichments,
879
+ generatorId: generatorConfig.id,
880
+ operationLabel: `${operation.rootKind} ${operation.fieldName}`
881
+ });
882
+ variants.forEach(variant => {
883
+ opTrail.trace(`variant: ${variant}`, st => {
884
+ try {
885
+ if (typeof generatorConfig.isSupported === 'function' &&
886
+ !generatorConfig.isSupported({ operation, context: this, variant })) {
887
+ this.captureCurrentResult('notSupported', st);
888
+ return;
889
+ }
890
+ generatorConfig.transform({
891
+ context: this,
892
+ operation,
893
+ variant
894
+ });
895
+ const source = toGqlOperationSource({
896
+ operation,
897
+ generatorId: generatorConfig.id,
898
+ variant
899
+ });
900
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, operation, variant }));
901
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, operation, variant }));
902
+ this.captureCurrentResult('success', st);
903
+ }
904
+ catch (error) {
905
+ this.logger.error(error);
906
+ this.captureCurrentResult('error', st);
907
+ }
908
+ });
909
+ });
910
+ });
911
+ });
912
+ }, _GenerateContext_runModelGenerator = function _GenerateContext_runModelGenerator(document, generatorConfig, include, skip, stackTrail) {
913
+ const refNames = document.type === 'oas'
914
+ ? (document.value.components?.toSchemasRefNames() ?? [])
915
+ : document.value.registry.toSchemasRefNames();
916
+ refNames.forEach(refName => {
917
+ stackTrail.trace(refName, refTrail => {
918
+ // Resolve the variant list to fan out over. The consumer's
919
+ // enrichments are keyed `[generatorId][refName][variant]`; the
920
+ // block at `[refName]` is therefore a record of variant names.
921
+ // Three cases handled in `toVariantList`:
922
+ //
923
+ // - absent → run a single 'main' pass with no enrichment
924
+ // - present, non-object → treat as a single 'main' pass
925
+ // (the per-variant Valibot wrap will reject this shape
926
+ // at config-load time once it lands)
927
+ // - present, object → enumerate keys; 'main' must be among
928
+ // them or we throw (loud beats silent zero-output)
929
+ const modelEnrichments = get(this.settings, ['enrichments', generatorConfig.id, refName]);
930
+ const variants = toVariantList({
931
+ opEnrichments: modelEnrichments,
932
+ generatorId: generatorConfig.id,
933
+ operationLabel: refName
934
+ });
935
+ variants.forEach(variant => {
936
+ refTrail.trace(`variant: ${variant}`, st => {
937
+ try {
938
+ // Order: include (allow) → skip (deny). Match is now on
939
+ // `(refName, variant)`. An empty variant array on a
940
+ // refName means "every variant of this refName"; a
941
+ // populated array names the variants the entry applies
942
+ // to.
943
+ if (include !== undefined &&
944
+ !matchesRefFilter({ refs: include, refName, variant })) {
945
+ this.captureCurrentResult('skipped', st);
946
+ return;
947
+ }
948
+ if (matchesRefFilter({ refs: skip, refName, variant })) {
949
+ this.captureCurrentResult('skipped', st);
950
+ return;
951
+ }
952
+ generatorConfig.transform({
953
+ context: this,
954
+ refName,
955
+ variant
956
+ });
957
+ const source = toModelSource({
958
+ refName,
959
+ generatorId: generatorConfig.id,
960
+ variant
961
+ });
962
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addPreview).call(this, source, generatorConfig.toPreviewModule?.({ context: this, refName, variant }));
963
+ __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addMapping).call(this, source, generatorConfig.toMappingModule?.({ context: this, refName, variant }));
964
+ this.captureCurrentResult('success', st);
965
+ }
966
+ catch (error) {
967
+ this.logger.error(error);
968
+ this.captureCurrentResult('error', st);
969
+ }
970
+ });
971
+ });
972
+ });
973
+ });
443
974
  }, _GenerateContext_addPreview = function _GenerateContext_addPreview(source, module) {
444
975
  if (!module) {
445
976
  return;
446
977
  }
447
- if (!__classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group]) {
448
- __classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group] = {};
449
- }
450
- if (__classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group][module.name]) {
451
- throw new Error(`Cannot override preview module "${module.name}" in group "${module.group}"`);
978
+ if (__classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.name]) {
979
+ throw new Error(`Cannot override preview module "${module.name}"`);
452
980
  }
453
- __classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.group][module.name] = {
981
+ __classPrivateFieldGet(this, _GenerateContext_previews, "f")[module.name] = {
454
982
  module,
455
983
  source
456
984
  };
@@ -458,97 +986,198 @@ _GenerateContext_files = new WeakMap(), _GenerateContext_previews = new WeakMap(
458
986
  if (!module) {
459
987
  return;
460
988
  }
461
- if (!__classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group]) {
462
- __classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group] = {};
989
+ if (__classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.name]) {
990
+ throw new Error(`Cannot override mapping module "${module.name}"`);
463
991
  }
464
- if (__classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group][module.name]) {
465
- throw new Error(`Cannot override mapping module "${module.name}" in group "${module.group}"`);
466
- }
467
- __classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.group][module.name] = {
992
+ __classPrivateFieldGet(this, _GenerateContext_mappings, "f")[module.name] = {
468
993
  module,
469
994
  source
470
995
  };
471
- }, _GenerateContext_getFile = function _GenerateContext_getFile(filePath, { throwIfNotFound = false } = {}) {
472
- const normalisedPath = normalize(filePath);
473
- const currentFile = __classPrivateFieldGet(this, _GenerateContext_files, "f").get(normalisedPath);
474
- if (!currentFile) {
475
- if (throwIfNotFound) {
476
- throw new Error(`File not found: '${normalisedPath}'`);
477
- }
478
- else {
479
- return __classPrivateFieldGet(this, _GenerateContext_instances, "m", _GenerateContext_addFile).call(this, normalisedPath);
480
- }
996
+ };
997
+ /**
998
+ * Match a `(path, method, variant)` tuple against an operation-shaped
999
+ * skip or include entry. Shared by both arms because skip and include
1000
+ * have the same matching rules; only the engine's interpretation of
1001
+ * the result differs (skip = deny, include = allow).
1002
+ *
1003
+ * Returns `false` when:
1004
+ * - `paths` is `undefined` (no filter applies)
1005
+ * - the `path` isn't keyed in the entry
1006
+ * - the `method` isn't present in the inner record
1007
+ *
1008
+ * Returns `true` when:
1009
+ * - the method's variant array is empty (matches every variant)
1010
+ * - the method's variant array contains `variant`
1011
+ */
1012
+ const matchesPathFilter = ({ paths, path, method, variant }) => {
1013
+ if (!paths) {
1014
+ return false;
481
1015
  }
482
- return currentFile;
483
- }, _GenerateContext_defineAndRegister = function _GenerateContext_defineAndRegister({ identifier, value, destinationPath, noExport }) {
484
- const definition = new Definition({
485
- context: this,
486
- identifier,
487
- value,
488
- noExport
489
- });
490
- this.register({
491
- definitions: [definition],
492
- destinationPath
493
- });
494
- return definition;
495
- }, _GenerateContext_addFile = function _GenerateContext_addFile(normalisedPath) {
496
- if (__classPrivateFieldGet(this, _GenerateContext_files, "f").has(normalisedPath)) {
497
- throw new Error(`File already exists: ${normalisedPath}`);
498
- }
499
- const extension = normalisedPath.split('.').pop();
500
- let newFile;
501
- switch (extension) {
502
- case 'json':
503
- newFile = new JsonFile({ path: normalisedPath, content: {} });
504
- break;
505
- default:
506
- newFile = new File({ path: normalisedPath, settings: this.settings });
507
- break;
508
- }
509
- __classPrivateFieldGet(this, _GenerateContext_files, "f").set(normalisedPath, newFile);
510
- return newFile;
1016
+ const methodMap = paths[path];
1017
+ if (!methodMap) {
1018
+ return false;
1019
+ }
1020
+ const variants = methodMap[method];
1021
+ if (variants === undefined) {
1022
+ return false;
1023
+ }
1024
+ if (variants.length === 0) {
1025
+ return true;
1026
+ }
1027
+ return variants.includes(variant);
511
1028
  };
512
1029
  /**
513
- * Creates an OperationSource from an operation and generator ID.
1030
+ * Match a `(refName, variant)` tuple against a model-shaped skip or
1031
+ * include entry. Sibling to {@link matchesPathFilter} — both arms
1032
+ * share matching rules; only the engine's interpretation of the
1033
+ * result differs (skip = deny, include = allow).
1034
+ *
1035
+ * Returns `false` when:
1036
+ * - `refs` is `undefined` (no filter applies)
1037
+ * - the `refName` isn't keyed in the entry
1038
+ *
1039
+ * Returns `true` when:
1040
+ * - the refName's variant array is empty (matches every variant)
1041
+ * - the refName's variant array contains `variant`
1042
+ */
1043
+ const matchesRefFilter = ({ refs, refName, variant }) => {
1044
+ if (!refs) {
1045
+ return false;
1046
+ }
1047
+ const variants = refs[refName];
1048
+ if (variants === undefined) {
1049
+ return false;
1050
+ }
1051
+ if (variants.length === 0) {
1052
+ return true;
1053
+ }
1054
+ return variants.includes(variant);
1055
+ };
1056
+ /**
1057
+ * Creates an OasOperationSource from an operation, generator ID, and variant.
514
1058
  *
515
1059
  * Transforms operation and generator information into a source descriptor
516
1060
  * that can be used for tracking operation origins in the generation pipeline.
517
1061
  *
518
- * @param args - Arguments containing operation and generator ID
519
- * @returns OperationSource descriptor for the operation
1062
+ * @param args - Arguments containing operation, generator ID, and variant
1063
+ * @returns OasOperationSource descriptor for the operation
520
1064
  */
521
- export const toOperationSource = ({ operation, generatorId }) => ({
522
- type: 'operation',
1065
+ export const toOasOperationSource = ({ operation, generatorId, variant }) => ({
1066
+ type: 'oasOperation',
523
1067
  generatorId,
524
1068
  operationPath: operation.path,
525
- operationMethod: operation.method
1069
+ operationMethod: operation.method,
1070
+ variant
1071
+ });
1072
+ /**
1073
+ * Creates a {@link WebhookSource} from a webhook, generator ID, and variant.
1074
+ * Sibling of {@link toOasOperationSource} for the 3.1 webhook subject.
1075
+ */
1076
+ export const toWebhookSource = ({ webhook, generatorId, variant }) => ({
1077
+ type: 'webhook',
1078
+ generatorId,
1079
+ webhookName: webhook.name,
1080
+ webhookMethod: webhook.method,
1081
+ variant
526
1082
  });
527
1083
  /**
528
- * Creates a ModelSource from a reference name and generator ID.
1084
+ * Creates a GraphQL operation source descriptor.
1085
+ *
1086
+ * Sibling to {@link toOasOperationSource} for the GraphQL protocol — encodes
1087
+ * `rootKind` and `fieldName` instead of `path` / `method`.
1088
+ */
1089
+ export const toGqlOperationSource = ({ operation, generatorId, variant }) => ({
1090
+ type: 'gqlOperation',
1091
+ generatorId,
1092
+ rootKind: operation.rootKind,
1093
+ fieldName: operation.fieldName,
1094
+ variant
1095
+ });
1096
+ /**
1097
+ * Creates a ModelSource from a reference name, generator ID, and variant.
529
1098
  *
530
1099
  * Transforms model reference and generator information into a source descriptor
531
1100
  * that can be used for tracking model origins in the generation pipeline.
532
1101
  *
533
- * @param args - Arguments containing reference name and generator ID
1102
+ * @param args - Arguments containing reference name, generator ID, and variant
534
1103
  * @returns ModelSource descriptor for the model
535
1104
  */
536
- export const toModelSource = ({ refName, generatorId }) => ({
1105
+ export const toModelSource = ({ refName, generatorId, variant }) => ({
537
1106
  type: 'model',
538
1107
  generatorId,
539
- refName
1108
+ refName,
1109
+ variant
540
1110
  });
541
1111
  const toSkipPaths = (skip, generatorId) => {
542
1112
  const generatorSkip = skip?.[generatorId];
543
- if (typeof generatorSkip === 'object' && !Array.isArray(generatorSkip)) {
544
- return generatorSkip;
1113
+ // Operation-shaped entries have records-of-records at the inner
1114
+ // slot (`Record<path, Record<method, variant[]>>`); model-shaped
1115
+ // entries have records-of-arrays (`Record<refName, variant[]>`).
1116
+ // Discriminate by inner value shape. An empty record is ambiguous
1117
+ // and admitted by both helpers — each arm will see its own empty
1118
+ // filter (`{}`), which means "match nothing" in both cases.
1119
+ if (typeof generatorSkip === 'object' &&
1120
+ generatorSkip !== null &&
1121
+ !Array.isArray(generatorSkip)) {
1122
+ const values = Object.values(generatorSkip);
1123
+ if (values.length === 0 ||
1124
+ values.every(v => typeof v === 'object' && v !== null && !Array.isArray(v))) {
1125
+ return generatorSkip;
1126
+ }
545
1127
  }
546
1128
  return undefined;
547
1129
  };
548
1130
  const toSkipModels = (skip, generatorId) => {
549
1131
  const generatorSkip = skip?.[generatorId];
550
- if (Array.isArray(generatorSkip)) {
551
- return generatorSkip;
1132
+ // SkipModelRefs is `Record<refName, variant[]>`. The operation arm
1133
+ // entries are `Record<path, Record<method, variant[]>>` — discriminate
1134
+ // by inner value shape (arrays vs nested records). An empty record is
1135
+ // ambiguous and admitted by both helpers — see `toSkipPaths`.
1136
+ if (typeof generatorSkip === 'object' &&
1137
+ generatorSkip !== null &&
1138
+ !Array.isArray(generatorSkip)) {
1139
+ const values = Object.values(generatorSkip);
1140
+ if (values.length === 0 || values.every(v => Array.isArray(v))) {
1141
+ return generatorSkip;
1142
+ }
1143
+ }
1144
+ return undefined;
1145
+ };
1146
+ /**
1147
+ * Extracts the per-operation include slice for a generator, mirroring
1148
+ * {@link toSkipPaths}. Returns `undefined` when the include entry
1149
+ * isn't operation-shaped for this generator (e.g. the user passed a
1150
+ * model-shaped array or no entry at all) — the caller then treats
1151
+ * "no per-op filter active" as the semantics.
1152
+ */
1153
+ const toIncludePaths = (include, generatorId) => {
1154
+ const generatorInclude = include?.[generatorId];
1155
+ // Same model/operation discrimination as `toSkipPaths`.
1156
+ if (typeof generatorInclude === 'object' &&
1157
+ generatorInclude !== null &&
1158
+ !Array.isArray(generatorInclude)) {
1159
+ const values = Object.values(generatorInclude);
1160
+ if (values.length === 0 ||
1161
+ values.every(v => typeof v === 'object' && v !== null && !Array.isArray(v))) {
1162
+ return generatorInclude;
1163
+ }
1164
+ }
1165
+ return undefined;
1166
+ };
1167
+ /**
1168
+ * Extracts the per-model include slice for a generator, mirroring
1169
+ * {@link toSkipModels}. Returns `undefined` when the include entry
1170
+ * isn't model-shaped for this generator.
1171
+ */
1172
+ const toIncludeModels = (include, generatorId) => {
1173
+ const generatorInclude = include?.[generatorId];
1174
+ if (typeof generatorInclude === 'object' &&
1175
+ generatorInclude !== null &&
1176
+ !Array.isArray(generatorInclude)) {
1177
+ const values = Object.values(generatorInclude);
1178
+ if (values.length === 0 || values.every(v => Array.isArray(v))) {
1179
+ return generatorInclude;
1180
+ }
552
1181
  }
553
1182
  return undefined;
554
1183
  };