@techspokes/typescript-wsdl-client 1.1.4 → 1.1.8

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 (422) hide show
  1. package/README.md +81 -35
  2. package/dist/app/generateApp.d.ts +0 -1
  3. package/dist/app/generateApp.js +8 -6
  4. package/dist/app/generateCheckedApp.d.ts +38 -0
  5. package/dist/app/generateCheckedApp.js +108 -0
  6. package/dist/checkedPipeline.d.ts +155 -0
  7. package/dist/checkedPipeline.js +448 -0
  8. package/dist/checkedPlanning.d.ts +123 -0
  9. package/dist/checkedPlanning.js +245 -0
  10. package/dist/cli.d.ts +0 -1
  11. package/dist/cli.js +123 -5
  12. package/dist/client/checkedDirectRuntime.d.ts +96 -0
  13. package/dist/client/checkedDirectRuntime.js +43 -0
  14. package/dist/client/directClientRuntime.d.ts +74 -0
  15. package/dist/client/directClientRuntime.js +165 -0
  16. package/dist/client/directClientVersion.d.ts +6 -0
  17. package/dist/client/directClientVersion.js +6 -0
  18. package/dist/client/generateClient.d.ts +0 -1
  19. package/dist/client/generateClient.js +26 -12
  20. package/dist/client/generateDirectClient.d.ts +32 -0
  21. package/dist/client/generateDirectClient.js +268 -0
  22. package/dist/client/generateOperations.d.ts +0 -1
  23. package/dist/client/generateTypes.d.ts +0 -1
  24. package/dist/client/generateUtils.d.ts +0 -1
  25. package/dist/client/generateUtils.js +3 -1
  26. package/dist/compiler/applicationGroups.d.ts +53 -0
  27. package/dist/compiler/applicationGroups.js +403 -0
  28. package/dist/compiler/buildCanonicalGraph.d.ts +6 -0
  29. package/dist/compiler/buildCanonicalGraph.js +381 -0
  30. package/dist/compiler/canonicalGraph.d.ts +197 -0
  31. package/dist/compiler/canonicalGraph.js +37 -0
  32. package/dist/compiler/catalogErrors.d.ts +17 -0
  33. package/dist/compiler/catalogErrors.js +86 -0
  34. package/dist/compiler/catalogProvenance.d.ts +14 -0
  35. package/dist/compiler/catalogProvenance.js +229 -0
  36. package/dist/compiler/checkedAssessment.d.ts +90 -0
  37. package/dist/compiler/checkedAssessment.js +300 -0
  38. package/dist/compiler/checkedComponentSource.d.ts +16 -0
  39. package/dist/compiler/checkedComponentSource.js +31 -0
  40. package/dist/compiler/checkedSourcePreparation.d.ts +72 -0
  41. package/dist/compiler/checkedSourcePreparation.js +202 -0
  42. package/dist/compiler/complexTypeContent.d.ts +58 -0
  43. package/dist/compiler/complexTypeContent.js +558 -0
  44. package/dist/compiler/componentCorrespondence.d.ts +32 -0
  45. package/dist/compiler/componentCorrespondence.js +140 -0
  46. package/dist/compiler/componentRecordProjection.d.ts +109 -0
  47. package/dist/compiler/componentRecordProjection.js +319 -0
  48. package/dist/compiler/componentSoapPreparation.d.ts +20 -0
  49. package/dist/compiler/componentSoapPreparation.js +36 -0
  50. package/dist/compiler/composeCanonicalGraph.d.ts +68 -0
  51. package/dist/compiler/composeCanonicalGraph.js +252 -0
  52. package/dist/compiler/dataOwnership.d.ts +21 -0
  53. package/dist/compiler/dataOwnership.js +167 -0
  54. package/dist/compiler/datatypeValues.d.ts +46 -0
  55. package/dist/compiler/datatypeValues.js +275 -0
  56. package/dist/compiler/directCodec.d.ts +116 -0
  57. package/dist/compiler/directCodec.js +377 -0
  58. package/dist/compiler/directExecutionPolicy.d.ts +9 -0
  59. package/dist/compiler/directExecutionPolicy.js +17 -0
  60. package/dist/compiler/directOperation.d.ts +114 -0
  61. package/dist/compiler/directOperation.js +373 -0
  62. package/dist/compiler/directSoap.d.ts +66 -0
  63. package/dist/compiler/directSoap.js +391 -0
  64. package/dist/compiler/directSoapSource.d.ts +38 -0
  65. package/dist/compiler/directSoapSource.js +233 -0
  66. package/dist/compiler/directSourceCapsule.d.ts +169 -0
  67. package/dist/compiler/directSourceCapsule.js +727 -0
  68. package/dist/compiler/directStructure.d.ts +128 -0
  69. package/dist/compiler/directStructure.js +543 -0
  70. package/dist/compiler/directStructurePlan.d.ts +149 -0
  71. package/dist/compiler/directStructurePlan.js +623 -0
  72. package/dist/compiler/directValues.d.ts +128 -0
  73. package/dist/compiler/directValues.js +1116 -0
  74. package/dist/compiler/finiteRe01Construction.d.ts +69 -0
  75. package/dist/compiler/finiteRe01Construction.js +422 -0
  76. package/dist/compiler/finiteRe01Verification.d.ts +218 -0
  77. package/dist/compiler/finiteRe01Verification.js +1217 -0
  78. package/dist/compiler/generateCatalog.d.ts +0 -1
  79. package/dist/compiler/graphTraversal.d.ts +10 -0
  80. package/dist/compiler/graphTraversal.js +37 -0
  81. package/dist/compiler/hypotheticalScopedIdentity.d.ts +22 -0
  82. package/dist/compiler/hypotheticalScopedIdentity.js +81 -0
  83. package/dist/compiler/occurrenceAnalysis.d.ts +66 -0
  84. package/dist/compiler/occurrenceAnalysis.js +316 -0
  85. package/dist/compiler/originalSourceMembership.d.ts +5 -0
  86. package/dist/compiler/originalSourceMembership.js +31 -0
  87. package/dist/compiler/particleAttribution.d.ts +16 -0
  88. package/dist/compiler/particleAttribution.js +494 -0
  89. package/dist/compiler/particleDeclarationConsistency.d.ts +23 -0
  90. package/dist/compiler/particleDeclarationConsistency.js +206 -0
  91. package/dist/compiler/particleExtension.d.ts +21 -0
  92. package/dist/compiler/particleExtension.js +123 -0
  93. package/dist/compiler/particleLocalAssessment.d.ts +19 -0
  94. package/dist/compiler/particleLocalAssessment.js +92 -0
  95. package/dist/compiler/particleRestriction.d.ts +23 -0
  96. package/dist/compiler/particleRestriction.js +494 -0
  97. package/dist/compiler/particleSemanticView.d.ts +51 -0
  98. package/dist/compiler/particleSemanticView.js +310 -0
  99. package/dist/compiler/particleWildcardRelation.d.ts +87 -0
  100. package/dist/compiler/particleWildcardRelation.js +143 -0
  101. package/dist/compiler/projectionScalar.d.ts +32 -0
  102. package/dist/compiler/projectionScalar.js +184 -0
  103. package/dist/compiler/re01CandidateAssignments.d.ts +95 -0
  104. package/dist/compiler/re01CandidateAssignments.js +341 -0
  105. package/dist/compiler/re01CandidateCorrespondence.d.ts +85 -0
  106. package/dist/compiler/re01CandidateCorrespondence.js +701 -0
  107. package/dist/compiler/re01TypeProperties.d.ts +70 -0
  108. package/dist/compiler/re01TypeProperties.js +120 -0
  109. package/dist/compiler/re01TypePropertyValidation.d.ts +22 -0
  110. package/dist/compiler/re01TypePropertyValidation.js +161 -0
  111. package/dist/compiler/resolveCanonicalGraph.d.ts +41 -0
  112. package/dist/compiler/resolveCanonicalGraph.js +240 -0
  113. package/dist/compiler/scalarSchemaAssessment.d.ts +424 -0
  114. package/dist/compiler/scalarSchemaAssessment.js +5198 -0
  115. package/dist/compiler/schemaAttributeGroupProperties.d.ts +16 -0
  116. package/dist/compiler/schemaAttributeGroupProperties.js +53 -0
  117. package/dist/compiler/schemaAttributeProperties.d.ts +9 -0
  118. package/dist/compiler/schemaAttributeProperties.js +11 -0
  119. package/dist/compiler/schemaAttributeUses.d.ts +110 -0
  120. package/dist/compiler/schemaAttributeUses.js +798 -0
  121. package/dist/compiler/schemaBinaryWordReconstruction.d.ts +9 -0
  122. package/dist/compiler/schemaBinaryWordReconstruction.js +33 -0
  123. package/dist/compiler/schemaBuiltinFacets.d.ts +13 -0
  124. package/dist/compiler/schemaBuiltinFacets.js +51 -0
  125. package/dist/compiler/schemaCalendarImages.d.ts +7 -0
  126. package/dist/compiler/schemaCalendarImages.js +204 -0
  127. package/dist/compiler/schemaCalendarLanguage.d.ts +10 -0
  128. package/dist/compiler/schemaCalendarLanguage.js +227 -0
  129. package/dist/compiler/schemaCompiler.d.ts +0 -1
  130. package/dist/compiler/schemaComponentEquality.d.ts +27 -0
  131. package/dist/compiler/schemaComponentEquality.js +446 -0
  132. package/dist/compiler/schemaConstructionAssessment.d.ts +79 -0
  133. package/dist/compiler/schemaConstructionAssessment.js +745 -0
  134. package/dist/compiler/schemaDatatypeValues.d.ts +3 -0
  135. package/dist/compiler/schemaDatatypeValues.js +2 -0
  136. package/dist/compiler/schemaDecimalLanguage.d.ts +6 -0
  137. package/dist/compiler/schemaDecimalLanguage.js +102 -0
  138. package/dist/compiler/schemaDeclarationPrimitives.d.ts +39 -0
  139. package/dist/compiler/schemaDeclarationPrimitives.js +211 -0
  140. package/dist/compiler/schemaDocumentSyntax.d.ts +54 -0
  141. package/dist/compiler/schemaDocumentSyntax.js +294 -0
  142. package/dist/compiler/schemaDurationLanguage.d.ts +10 -0
  143. package/dist/compiler/schemaDurationLanguage.js +170 -0
  144. package/dist/compiler/schemaElementInstance.d.ts +30 -0
  145. package/dist/compiler/schemaElementInstance.js +45 -0
  146. package/dist/compiler/schemaElementProperties.d.ts +15 -0
  147. package/dist/compiler/schemaElementProperties.js +23 -0
  148. package/dist/compiler/schemaEndpointWordCapacity.d.ts +35 -0
  149. package/dist/compiler/schemaEndpointWordCapacity.js +39 -0
  150. package/dist/compiler/schemaExactCalendar.d.ts +72 -0
  151. package/dist/compiler/schemaExactCalendar.js +264 -0
  152. package/dist/compiler/schemaFacetAnnotation.d.ts +31 -0
  153. package/dist/compiler/schemaFacetAnnotation.js +199 -0
  154. package/dist/compiler/schemaGeneratedScalarShape.d.ts +34 -0
  155. package/dist/compiler/schemaGeneratedScalarShape.js +178 -0
  156. package/dist/compiler/schemaIdentityConstraints.d.ts +72 -0
  157. package/dist/compiler/schemaIdentityConstraints.js +362 -0
  158. package/dist/compiler/schemaIeeeLanguage.d.ts +42 -0
  159. package/dist/compiler/schemaIeeeLanguage.js +759 -0
  160. package/dist/compiler/schemaIntegerImages.d.ts +10 -0
  161. package/dist/compiler/schemaIntegerImages.js +113 -0
  162. package/dist/compiler/schemaLexicalPredicates.d.ts +28 -0
  163. package/dist/compiler/schemaLexicalPredicates.js +63 -0
  164. package/dist/compiler/schemaNotationProperties.d.ts +31 -0
  165. package/dist/compiler/schemaNotationProperties.js +84 -0
  166. package/dist/compiler/schemaNumericImageConditions.d.ts +23 -0
  167. package/dist/compiler/schemaNumericImageConditions.js +66 -0
  168. package/dist/compiler/schemaParticleWildcardProperties.d.ts +19 -0
  169. package/dist/compiler/schemaParticleWildcardProperties.js +43 -0
  170. package/dist/compiler/schemaPattern.d.ts +1061 -0
  171. package/dist/compiler/schemaPattern.js +581 -0
  172. package/dist/compiler/schemaRegularLanguage.d.ts +66 -0
  173. package/dist/compiler/schemaRegularLanguage.js +1166 -0
  174. package/dist/compiler/schemaScalarContext.d.ts +85 -0
  175. package/dist/compiler/schemaScalarContext.js +78 -0
  176. package/dist/compiler/schemaScalarKernel.d.ts +181 -0
  177. package/dist/compiler/schemaScalarKernel.js +391 -0
  178. package/dist/compiler/schemaScalarWitnesses.d.ts +5 -0
  179. package/dist/compiler/schemaScalarWitnesses.js +118 -0
  180. package/dist/compiler/schemaSimpleTypeProperties.d.ts +94 -0
  181. package/dist/compiler/schemaSimpleTypeProperties.js +103 -0
  182. package/dist/compiler/schemaSourceGrammar.d.ts +26 -0
  183. package/dist/compiler/schemaSourceGrammar.js +290 -0
  184. package/dist/compiler/schemaSourceLexical.d.ts +3 -0
  185. package/dist/compiler/schemaSourceLexical.js +12 -0
  186. package/dist/compiler/schemaSourceValues.d.ts +50 -0
  187. package/dist/compiler/schemaSourceValues.js +225 -0
  188. package/dist/compiler/schemaSourceWildcards.d.ts +27 -0
  189. package/dist/compiler/schemaSourceWildcards.js +249 -0
  190. package/dist/compiler/schemaSymbolicSequences.d.ts +15 -0
  191. package/dist/compiler/schemaSymbolicSequences.js +99 -0
  192. package/dist/compiler/schemaSymbolicValueSets.d.ts +31 -0
  193. package/dist/compiler/schemaSymbolicValueSets.js +149 -0
  194. package/dist/compiler/schemaSyntaxAssessment.d.ts +24 -0
  195. package/dist/compiler/schemaSyntaxAssessment.js +361 -0
  196. package/dist/compiler/schemaTemporalAliases.d.ts +5 -0
  197. package/dist/compiler/schemaTemporalAliases.js +195 -0
  198. package/dist/compiler/schemaTokenImages.d.ts +8 -0
  199. package/dist/compiler/schemaTokenImages.js +142 -0
  200. package/dist/compiler/schemaTypeIdentity.d.ts +38 -0
  201. package/dist/compiler/schemaTypeIdentity.js +80 -0
  202. package/dist/compiler/schemaTypeRelations.d.ts +37 -0
  203. package/dist/compiler/schemaTypeRelations.js +576 -0
  204. package/dist/compiler/schemaUri.d.ts +12 -0
  205. package/dist/compiler/schemaUri.js +103 -0
  206. package/dist/compiler/schemaValueContext.d.ts +25 -0
  207. package/dist/compiler/schemaValueContext.js +1 -0
  208. package/dist/compiler/schemaValueImages.d.ts +9 -0
  209. package/dist/compiler/schemaValueImages.js +142 -0
  210. package/dist/compiler/schemaValueSequences.d.ts +14 -0
  211. package/dist/compiler/schemaValueSequences.js +19 -0
  212. package/dist/compiler/semanticBudget.d.ts +67 -0
  213. package/dist/compiler/semanticBudget.js +193 -0
  214. package/dist/compiler/semanticCatalog.d.ts +121 -0
  215. package/dist/compiler/semanticCatalog.js +160 -0
  216. package/dist/compiler/semanticContext.d.ts +183 -0
  217. package/dist/compiler/semanticContext.js +1207 -0
  218. package/dist/compiler/semanticTypeDependencies.d.ts +7 -0
  219. package/dist/compiler/semanticTypeDependencies.js +64 -0
  220. package/dist/compiler/semanticTypeReference.d.ts +23 -0
  221. package/dist/compiler/semanticTypeReference.js +36 -0
  222. package/dist/compiler/shapeResolver.d.ts +1 -1
  223. package/dist/compiler/shapeResolver.js +7 -9
  224. package/dist/compiler/soapHeaders.d.ts +16 -0
  225. package/dist/compiler/soapHeaders.js +42 -0
  226. package/dist/compiler/sourceSchemaBinding.d.ts +25 -0
  227. package/dist/compiler/sourceSchemaBinding.js +39 -0
  228. package/dist/compiler/standardSchemaComponents.d.ts +71 -0
  229. package/dist/compiler/standardSchemaComponents.js +74 -0
  230. package/dist/compiler/standardSchemaConstruction.d.ts +20 -0
  231. package/dist/compiler/standardSchemaConstruction.js +34 -0
  232. package/dist/compiler/structuralCompanions.d.ts +15 -0
  233. package/dist/compiler/structuralCompanions.js +232 -0
  234. package/dist/compiler/validateSemanticGraph.d.ts +4 -0
  235. package/dist/compiler/validateSemanticGraph.js +376 -0
  236. package/dist/compiler/wildcardAlgebra.d.ts +25 -0
  237. package/dist/compiler/wildcardAlgebra.js +155 -0
  238. package/dist/compiler/wsdlPolicyRequirements.d.ts +43 -0
  239. package/dist/compiler/wsdlPolicyRequirements.js +239 -0
  240. package/dist/config.d.ts +0 -1
  241. package/dist/gateway/generateCheckedGateway.d.ts +32 -0
  242. package/dist/gateway/generateCheckedGateway.js +293 -0
  243. package/dist/gateway/generateGateway.d.ts +0 -1
  244. package/dist/gateway/generateGateway.js +2 -2
  245. package/dist/gateway/generators.d.ts +0 -1
  246. package/dist/gateway/helpers.d.ts +0 -1
  247. package/dist/generation/componentShape.d.ts +14 -0
  248. package/dist/generation/componentShape.js +269 -0
  249. package/dist/generation/preamble.d.ts +0 -1
  250. package/dist/generation/sourceLayout.d.ts +13 -0
  251. package/dist/generation/sourceLayout.js +40 -0
  252. package/dist/generation/writeGeneratedSource.d.ts +0 -1
  253. package/dist/index.d.ts +9 -1
  254. package/dist/index.js +3 -0
  255. package/dist/loader/fetch.d.ts +0 -1
  256. package/dist/loader/orderedSyntax.d.ts +84 -0
  257. package/dist/loader/orderedSyntax.js +222 -0
  258. package/dist/loader/resolutionDepth.d.ts +6 -0
  259. package/dist/loader/resolutionDepth.js +65 -0
  260. package/dist/loader/schemaInput.d.ts +80 -0
  261. package/dist/loader/schemaInput.js +249 -0
  262. package/dist/loader/schemaResources.d.ts +60 -0
  263. package/dist/loader/schemaResources.js +333 -0
  264. package/dist/loader/wsdlLoader.d.ts +0 -1
  265. package/dist/openapi/casing.d.ts +0 -1
  266. package/dist/openapi/generateOpenAPI.d.ts +0 -1
  267. package/dist/openapi/generateOpenAPI.js +2 -2
  268. package/dist/openapi/generatePaths.d.ts +0 -1
  269. package/dist/openapi/generateSchemas.d.ts +0 -1
  270. package/dist/openapi/security.d.ts +0 -1
  271. package/dist/pipeline.d.ts +6 -2
  272. package/dist/pipeline.js +13 -0
  273. package/dist/test/generateCheckedTests.d.ts +17 -0
  274. package/dist/test/generateCheckedTests.js +60 -0
  275. package/dist/test/generateTests.d.ts +0 -1
  276. package/dist/test/generateTests.js +2 -2
  277. package/dist/test/generators.d.ts +0 -1
  278. package/dist/test/mockData.d.ts +0 -1
  279. package/dist/test/mockData.js +20 -14
  280. package/dist/util/attributeWildcards.d.ts +0 -1
  281. package/dist/util/builder.d.ts +0 -1
  282. package/dist/util/catalogMeta.d.ts +0 -1
  283. package/dist/util/checkedCliDiagnostics.d.ts +11 -0
  284. package/dist/util/checkedCliDiagnostics.js +22 -0
  285. package/dist/util/cli.d.ts +0 -1
  286. package/dist/util/errors.d.ts +0 -1
  287. package/dist/util/imports.d.ts +0 -1
  288. package/dist/util/runtimeSource.d.ts +0 -1
  289. package/dist/util/runtimeSource.js +3 -5
  290. package/dist/util/securityConfig.d.ts +0 -1
  291. package/dist/util/streamConfig.d.ts +0 -1
  292. package/dist/util/tools.d.ts +0 -1
  293. package/dist/util/xmlWhitespace.d.ts +2 -0
  294. package/dist/util/xmlWhitespace.js +4 -0
  295. package/dist/xsd/primitives.d.ts +0 -1
  296. package/docs/agent-skill.md +2 -0
  297. package/docs/api-reference.md +1 -1
  298. package/docs/checked-gateway.md +210 -0
  299. package/docs/checked-generation.md +161 -0
  300. package/docs/cli-reference.md +43 -1
  301. package/docs/concepts.md +136 -1
  302. package/docs/configuration.md +5 -1
  303. package/docs/corpus.md +33 -0
  304. package/docs/direct-values.md +311 -0
  305. package/docs/examples/checked-forecast.wsdl +19 -0
  306. package/docs/gateway-guide.md +1 -1
  307. package/docs/generated-code.md +10 -5
  308. package/docs/mapping-contract.md +114 -0
  309. package/docs/migration-playbook.md +1 -1
  310. package/docs/output-anatomy.md +1 -1
  311. package/docs/start-here.md +8 -2
  312. package/docs/supported-patterns.md +17 -5
  313. package/docs/testing.md +117 -31
  314. package/llms.txt +7 -7
  315. package/package.json +79 -25
  316. package/src/generation/preambles/direct-client/typescript.preamble +3 -0
  317. package/src/runtime/checkedGatewayHost.tpl.txt +157 -0
  318. package/src/runtime/streamXml.ts +1 -1
  319. package/dist/app/generateApp.d.ts.map +0 -1
  320. package/dist/cli.d.ts.map +0 -1
  321. package/dist/client/generateClient.d.ts.map +0 -1
  322. package/dist/client/generateOperations.d.ts.map +0 -1
  323. package/dist/client/generateTypes.d.ts.map +0 -1
  324. package/dist/client/generateUtils.d.ts.map +0 -1
  325. package/dist/compiler/generateCatalog.d.ts.map +0 -1
  326. package/dist/compiler/schemaCompiler.d.ts.map +0 -1
  327. package/dist/compiler/shapeResolver.d.ts.map +0 -1
  328. package/dist/config.d.ts.map +0 -1
  329. package/dist/gateway/generateGateway.d.ts.map +0 -1
  330. package/dist/gateway/generators.d.ts.map +0 -1
  331. package/dist/gateway/helpers.d.ts.map +0 -1
  332. package/dist/generation/preamble.d.ts.map +0 -1
  333. package/dist/generation/writeGeneratedSource.d.ts.map +0 -1
  334. package/dist/index.d.ts.map +0 -1
  335. package/dist/loader/fetch.d.ts.map +0 -1
  336. package/dist/loader/wsdlLoader.d.ts.map +0 -1
  337. package/dist/openapi/casing.d.ts.map +0 -1
  338. package/dist/openapi/generateOpenAPI.d.ts.map +0 -1
  339. package/dist/openapi/generatePaths.d.ts.map +0 -1
  340. package/dist/openapi/generateSchemas.d.ts.map +0 -1
  341. package/dist/openapi/security.d.ts.map +0 -1
  342. package/dist/pipeline.d.ts.map +0 -1
  343. package/dist/runtime/jsonArray.d.ts +0 -24
  344. package/dist/runtime/jsonArray.d.ts.map +0 -1
  345. package/dist/runtime/jsonArray.js +0 -52
  346. package/dist/runtime/ndjson.d.ts +0 -24
  347. package/dist/runtime/ndjson.d.ts.map +0 -1
  348. package/dist/runtime/ndjson.js +0 -30
  349. package/dist/runtime/streamXml.d.ts +0 -45
  350. package/dist/runtime/streamXml.d.ts.map +0 -1
  351. package/dist/runtime/streamXml.js +0 -212
  352. package/dist/test/generateTests.d.ts.map +0 -1
  353. package/dist/test/generators.d.ts.map +0 -1
  354. package/dist/test/mockData.d.ts.map +0 -1
  355. package/dist/util/attributeWildcards.d.ts.map +0 -1
  356. package/dist/util/builder.d.ts.map +0 -1
  357. package/dist/util/catalogMeta.d.ts.map +0 -1
  358. package/dist/util/cli.d.ts.map +0 -1
  359. package/dist/util/errors.d.ts.map +0 -1
  360. package/dist/util/imports.d.ts.map +0 -1
  361. package/dist/util/runtimeSource.d.ts.map +0 -1
  362. package/dist/util/securityConfig.d.ts.map +0 -1
  363. package/dist/util/streamConfig.d.ts.map +0 -1
  364. package/dist/util/tools.d.ts.map +0 -1
  365. package/dist/xsd/primitives.d.ts.map +0 -1
  366. package/docs/AGENTS.md +0 -47
  367. package/docs/README.md +0 -56
  368. package/docs/architecture.md +0 -149
  369. package/docs/decisions/001-test-generation.md +0 -36
  370. package/docs/decisions/002-streamable-responses.md +0 -330
  371. package/docs/file-naming-and-path-organization.md +0 -213
  372. package/docs/releases/README.md +0 -94
  373. package/docs/releases/v0.20.0.md +0 -22
  374. package/docs/releases/v0.21.0.md +0 -30
  375. package/docs/releases/v0.22.0.md +0 -30
  376. package/docs/releases/v0.23.0.md +0 -31
  377. package/docs/releases/v0.24.0.md +0 -38
  378. package/docs/releases/v0.25.0.md +0 -31
  379. package/docs/releases/v0.25.2.md +0 -32
  380. package/docs/releases/v0.26.0.md +0 -32
  381. package/docs/releases/v0.27.0.md +0 -31
  382. package/docs/releases/v0.28.0.md +0 -32
  383. package/docs/releases/v0.29.0.md +0 -32
  384. package/docs/releases/v0.30.0.md +0 -30
  385. package/docs/releases/v0.30.1.md +0 -31
  386. package/docs/releases/v0.30.2.md +0 -30
  387. package/docs/releases/v0.30.3.md +0 -33
  388. package/docs/releases/v0.31.0.md +0 -33
  389. package/docs/releases/v0.32.0.md +0 -33
  390. package/docs/releases/v0.33.0.md +0 -34
  391. package/docs/releases/v0.34.0.md +0 -30
  392. package/docs/releases/v0.35.0.md +0 -33
  393. package/docs/releases/v0.36.0.md +0 -32
  394. package/docs/releases/v0.37.0.md +0 -33
  395. package/docs/releases/v0.38.0.md +0 -35
  396. package/docs/releases/v0.39.0.md +0 -35
  397. package/docs/releases/v0.40.0.md +0 -45
  398. package/docs/releases/v0.40.1.md +0 -34
  399. package/docs/releases/v1.0.0.md +0 -42
  400. package/docs/releases/v1.0.1.md +0 -38
  401. package/docs/releases/v1.0.2.md +0 -51
  402. package/docs/releases/v1.0.3.md +0 -37
  403. package/docs/releases/v1.0.4.md +0 -45
  404. package/docs/releases/v1.0.5.md +0 -41
  405. package/docs/releases/v1.0.6.md +0 -35
  406. package/docs/releases/v1.0.7.md +0 -36
  407. package/docs/releases/v1.1.0.md +0 -42
  408. package/docs/releases/v1.1.1.md +0 -44
  409. package/docs/releases/v1.1.2.md +0 -42
  410. package/docs/releases/v1.1.3.md +0 -36
  411. package/docs/releases/v1.1.4.md +0 -36
  412. package/docs/roadmap/README.md +0 -107
  413. package/docs/roadmap/v1.0-capability-conformance-framework.md +0 -582
  414. package/docs/roadmap/v1.0-choice-union-mode.md +0 -90
  415. package/docs/roadmap/v1.0-contract-audit.md +0 -75
  416. package/docs/roadmap/v1.0-json-array-streaming.md +0 -101
  417. package/docs/roadmap/v1.0-openapi-fastify-compatibility.md +0 -99
  418. package/docs/roadmap/v1.0-release-candidate-gates.md +0 -92
  419. package/docs/roadmap/v1.0-wsdl-coverage-matrix.md +0 -200
  420. package/docs/roadmap/v1.0-xs-anyattribute-wildcard-bag.md +0 -932
  421. package/src/runtime/jsonArray.ts +0 -55
  422. package/src/runtime/ndjson.ts +0 -32
@@ -1,30 +0,0 @@
1
- /**
2
- * NDJSON adapter for record iterables.
3
- *
4
- * Phase 3 of ADR-002. Given an `AsyncIterable<T>` (typically the output of
5
- * `parseRecords`), produce a Node `Readable` that emits one JSON-encoded line
6
- * per record and respects downstream backpressure.
7
- *
8
- * Terminal-error policy (Q3 resolved): the stream aborts on source errors.
9
- * Before-first-byte errors surface as the stream's `error` event before any
10
- * bytes are pushed, so Fastify can translate them into a normal JSON error
11
- * envelope. Errors after the first byte propagate as `error` events too, but
12
- * callers should treat them as a truncated response.
13
- */
14
- import { Readable } from "node:stream";
15
- /**
16
- * Wrap an async iterable of records in a Node `Readable` stream that emits
17
- * NDJSON (one JSON document per line, LF-terminated). Downstream backpressure
18
- * is honored via `Readable.from`'s default behavior: the iterator's `next()`
19
- * is not called until the internal buffer has room.
20
- *
21
- * Source errors are forwarded to the returned stream's `error` event.
22
- */
23
- export function toNdjson(records) {
24
- return Readable.from(encode(records), { objectMode: false, encoding: "utf-8" });
25
- }
26
- async function* encode(records) {
27
- for await (const record of records) {
28
- yield JSON.stringify(record) + "\n";
29
- }
30
- }
@@ -1,45 +0,0 @@
1
- /**
2
- * Catalog-driven parse specification. `recordPath` is an ordered XML element
3
- * path from the SOAP body payload down to the repeated record element. The
4
- * path is matched as a suffix of the open-tag stack, so callers may either
5
- * pre-strip the SOAP envelope or feed the entire response body.
6
- *
7
- * Duplicate local names in `recordPath` are supported and expected (Escapia's
8
- * EVRN content service nests two elements named `EVRN_UnitDescriptiveInfoRS`).
9
- */
10
- export interface RecordParseSpec {
11
- recordPath: string[];
12
- /** TypeScript type name of the record, used to look up propMeta. */
13
- recordTypeName: string;
14
- /** Attribute bag key to stash XML attributes under. Defaults to "$attributes". */
15
- attributesKey?: string;
16
- /**
17
- * Compiled-catalog child-type map: `childType[typeName][propName] = tsType`.
18
- * Used to descend into nested complex types and to detect array-valued
19
- * props (trailing `[]`). Optional — absent means occurrence-based array
20
- * detection only.
21
- */
22
- childType?: Record<string, Record<string, string>>;
23
- /**
24
- * Compiled-catalog prop-meta map: carries min/max/nillable/declaredType.
25
- * When present, `max > 1` or `max === "unbounded"` drives array emission
26
- * even for props that happen to occur just once in a given record.
27
- */
28
- propMeta?: Record<string, Record<string, PropMeta>>;
29
- }
30
- export interface PropMeta {
31
- min?: number;
32
- max?: number | "unbounded";
33
- nillable?: boolean;
34
- declaredType?: string;
35
- }
36
- /**
37
- * Consume an async iterable of XML bytes/strings and yield parsed records.
38
- *
39
- * The returned iterator is single-pass; iteration must complete (or be
40
- * interrupted by the consumer via `break`/`return`) before the upstream
41
- * source is released. Errors from the source or from the SAX parser abort
42
- * the iteration via a rejected `next()`.
43
- */
44
- export declare function parseRecords<T = unknown>(source: AsyncIterable<string | Uint8Array>, spec: RecordParseSpec): AsyncIterable<T>;
45
- //# sourceMappingURL=streamXml.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"streamXml.d.ts","sourceRoot":"","sources":["../../src/runtime/streamXml.ts"],"names":[],"mappings":"AAsBA;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACnD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAuB,YAAY,CAAC,CAAC,GAAG,OAAO,EAC7C,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,UAAU,CAAC,EAC1C,IAAI,EAAE,eAAe,GACpB,aAAa,CAAC,CAAC,CAAC,CAqGlB"}
@@ -1,212 +0,0 @@
1
- /**
2
- * Streaming SOAP-payload to record iterator.
3
- *
4
- * Phase 3 of ADR-002. Driven by saxes (chunk-boundary safe — proven in
5
- * test/research/sax-record-path.test.ts) and the compiled-catalog metadata
6
- * that the buffered client already relies on. The parser accepts an async
7
- * iterable of bytes/strings (typically an upstream SOAP HTTP response) and
8
- * yields fully-materialized record objects as the corresponding end tags
9
- * close. Consumers never see partial records.
10
- *
11
- * Open questions resolved here:
12
- * Q3 (terminal error policy): stream aborts. Errors that happen before the
13
- * first record bubble out as a rejected promise from the first
14
- * iterator.next(). Errors after a record was emitted throw from a
15
- * later iterator.next() — callers are expected to treat that as a
16
- * truncated stream.
17
- * Q4 (saxes placement): runtime dependency of the wsdl-tsc package; the
18
- * generated client imports the emitted copy of this module and
19
- * inherits saxes via its own dependency tree.
20
- */
21
- import { SaxesParser } from "saxes";
22
- /**
23
- * Consume an async iterable of XML bytes/strings and yield parsed records.
24
- *
25
- * The returned iterator is single-pass; iteration must complete (or be
26
- * interrupted by the consumer via `break`/`return`) before the upstream
27
- * source is released. Errors from the source or from the SAX parser abort
28
- * the iteration via a rejected `next()`.
29
- */
30
- export async function* parseRecords(source, spec) {
31
- const parser = new SaxesParser({ xmlns: false, position: false });
32
- const recordPath = spec.recordPath;
33
- if (recordPath.length === 0) {
34
- throw new Error("parseRecords: recordPath must not be empty");
35
- }
36
- const attrsKey = spec.attributesKey ?? "$attributes";
37
- // Global tag stack, maintained across the entire document.
38
- const stack = [];
39
- // Records materialized during the current chunk write, awaiting yield.
40
- const pending = [];
41
- // When a parser.on('error') fires we buffer the error for re-throw on the
42
- // next yield cycle; saxes emits 'error' and continues unless we stop it.
43
- let parseError = null;
44
- const openNodes = [];
45
- parser.on("opentag", (tag) => {
46
- stack.push(tag.name);
47
- if (openNodes.length === 0) {
48
- // Not yet inside a record. Check whether entering the path tail.
49
- if (tailMatches(stack, recordPath)) {
50
- openNodes.push(newNode(tag, spec.recordTypeName, null, attrsKey));
51
- }
52
- return;
53
- }
54
- // Inside a record: descend.
55
- const parent = openNodes[openNodes.length - 1];
56
- parent.hadChildren = true;
57
- const parentType = parent.typeName;
58
- const childTypeRaw = parentType ? spec.childType?.[parentType]?.[tag.name] : undefined;
59
- const childTypeName = childTypeRaw ? stripArraySuffix(childTypeRaw) : null;
60
- openNodes.push(newNode(tag, childTypeName, tag.name, attrsKey));
61
- });
62
- const appendText = (t) => {
63
- if (openNodes.length > 0)
64
- openNodes[openNodes.length - 1].textBuf.push(t);
65
- };
66
- parser.on("text", appendText);
67
- parser.on("cdata", appendText);
68
- parser.on("closetag", (_tag) => {
69
- if (openNodes.length > 0) {
70
- const closing = openNodes.pop();
71
- const value = materialize(closing, attrsKey);
72
- if (openNodes.length === 0) {
73
- // We just closed the record root. Stack tail must match once more.
74
- if (tailMatches(stack, recordPath)) {
75
- pending.push(value);
76
- }
77
- }
78
- else {
79
- assignChild(openNodes[openNodes.length - 1], closing.propName, value, spec);
80
- }
81
- }
82
- stack.pop();
83
- });
84
- parser.on("error", (err) => {
85
- parseError = err;
86
- });
87
- try {
88
- for await (const chunk of source) {
89
- if (parseError)
90
- throw parseError;
91
- const text = typeof chunk === "string" ? chunk : decodeUtf8(chunk);
92
- parser.write(text);
93
- if (parseError)
94
- throw parseError;
95
- while (pending.length > 0) {
96
- yield pending.shift();
97
- }
98
- }
99
- parser.close();
100
- if (parseError)
101
- throw parseError;
102
- while (pending.length > 0) {
103
- yield pending.shift();
104
- }
105
- }
106
- finally {
107
- // Best-effort cleanup: detach handlers so the parser can be GC'd even
108
- // when the consumer aborts iteration early.
109
- parser.off("opentag");
110
- parser.off("closetag");
111
- parser.off("text");
112
- parser.off("cdata");
113
- parser.off("error");
114
- }
115
- }
116
- function newNode(tag, typeName, propName, attrsKey) {
117
- const attrs = tag.attributes;
118
- const obj = {};
119
- let isNil = false;
120
- const attrKeys = Object.keys(attrs);
121
- if (attrKeys.length > 0) {
122
- // Detect xsi:nil and drop it from the attribute bag — it's a wire-level
123
- // concern that should not pollute the user-visible record.
124
- const cleaned = {};
125
- for (const k of attrKeys) {
126
- if ((k === "xsi:nil" || k === "nil") && attrs[k] === "true") {
127
- isNil = true;
128
- continue;
129
- }
130
- cleaned[k] = attrs[k];
131
- }
132
- if (Object.keys(cleaned).length > 0) {
133
- obj[attrsKey] = cleaned;
134
- }
135
- }
136
- return {
137
- obj,
138
- typeName,
139
- propName,
140
- textBuf: [],
141
- hadChildren: false,
142
- isNil,
143
- };
144
- }
145
- function materialize(node, attrsKey) {
146
- if (node.isNil)
147
- return null;
148
- if (!node.hadChildren) {
149
- // Leaf with no child elements: it's simple text. Preserve attributes via
150
- // a `$value` pairing when present, mirroring how the buffered mapper
151
- // surfaces simpleContent-with-attributes types.
152
- const text = node.textBuf.join("");
153
- if (attrsKey in node.obj) {
154
- return { ...node.obj, $value: text };
155
- }
156
- return text;
157
- }
158
- return node.obj;
159
- }
160
- function assignChild(parent, propName, value, spec) {
161
- const parentType = parent.typeName;
162
- const propMetaEntry = parentType ? spec.propMeta?.[parentType]?.[propName] : undefined;
163
- const childTypeHint = parentType ? spec.childType?.[parentType]?.[propName] : undefined;
164
- // Array if: (a) propMeta says max > 1 or "unbounded", or (b) childType hint
165
- // ends in `[]`, or (c) the slot is already occupied (implicit repetition).
166
- const metaSaysArray = propMetaEntry?.max === "unbounded" ||
167
- (typeof propMetaEntry?.max === "number" && propMetaEntry.max > 1);
168
- const hintSaysArray = !!childTypeHint && childTypeHint.endsWith("[]");
169
- const existing = parent.obj[propName];
170
- const slotTaken = existing !== undefined;
171
- if (metaSaysArray || hintSaysArray) {
172
- if (Array.isArray(existing)) {
173
- existing.push(value);
174
- }
175
- else if (slotTaken) {
176
- parent.obj[propName] = [existing, value];
177
- }
178
- else {
179
- parent.obj[propName] = [value];
180
- }
181
- return;
182
- }
183
- if (slotTaken) {
184
- // Schema said scalar but the wire repeated it. Promote to array rather
185
- // than drop data.
186
- if (Array.isArray(existing)) {
187
- existing.push(value);
188
- }
189
- else {
190
- parent.obj[propName] = [existing, value];
191
- }
192
- return;
193
- }
194
- parent.obj[propName] = value;
195
- }
196
- function stripArraySuffix(tsType) {
197
- return tsType.endsWith("[]") ? tsType.slice(0, -2) : tsType;
198
- }
199
- function tailMatches(stack, path) {
200
- if (stack.length < path.length)
201
- return false;
202
- const offset = stack.length - path.length;
203
- for (let i = 0; i < path.length; i++) {
204
- if (stack[offset + i] !== path[i])
205
- return false;
206
- }
207
- return true;
208
- }
209
- const UTF8_DECODER = new TextDecoder("utf-8");
210
- function decodeUtf8(buf) {
211
- return UTF8_DECODER.decode(buf);
212
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"generateTests.d.ts","sourceRoot":"","sources":["../../src/test/generateTests.ts"],"names":[],"mappings":"AAkCA;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAuBD;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiK7E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"generators.d.ts","sourceRoot":"","sources":["../../src/test/generators.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,UAAU,EAAE,qBAAqB,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAA0C,KAAK,eAAe,EAAC,MAAM,eAAe,CAAC;AAG5F,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAsGrF;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAkBzC;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,IAAI,GAAG,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IAAI,EAAE,QAAQ,CAAC;IAAC,oBAAoB,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,CAAA;CAAC,CAKrG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/util/builder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,+BAA+B,CAAC;AAE1E;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,eAAe,CAAC,CAgBhF;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,EAC5C,OAAO,EAAE,MAAM,EAAE,GAChB,IAAI,CAAC,sBAAsB,EAAE,MAAM,GAAG,aAAa,GAAG,iBAAiB,GAAG,SAAS,CAAC,CAqBtF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalogMeta.d.ts","sourceRoot":"","sources":["../../src/util/catalogMeta.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/B,KAAK,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAUnF;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,CAAC,MAAM,EA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B,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,qBAAa,oBAAqB,SAAQ,KAAK;aAK3B,OAAO,EAAE,gBAAgB;IAJ3C,SAAkB,IAAI,0BAA0B;gBAG9C,OAAO,EAAE,MAAM,EACC,OAAO,GAAE,gBAAqB;IAKhD;;OAEG;IACH,aAAa,IAAI,MAAM;CASxB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../src/util/imports.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI1D;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAavF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"runtimeSource.d.ts","sourceRoot":"","sources":["../../src/util/runtimeSource.ts"],"names":[],"mappings":"AAsCA,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAI1D;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAG5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"securityConfig.d.ts","sourceRoot":"","sources":["../../src/util/securityConfig.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,eAAe,CAAC;AAElH,MAAM,MAAM,oBAAoB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ChC,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC5B,CAAC;AAgHF;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAyCrF"}
package/docs/AGENTS.md DELETED
@@ -1,47 +0,0 @@
1
- # Agent Instructions for docs/
2
-
3
- ## Summary
4
-
5
- This directory contains human-maintained reference documentation for `@techspokes/typescript-wsdl-client`. Documents here are not generated; agents may edit them but must preserve cross-references, formatting conventions, and consistency with the root README.
6
-
7
- ## Must-follow rules
8
-
9
- - Maintain cross-references between documents; when a doc mentions a related topic, link to the relevant file.
10
- - Use relative links for all internal references (e.g. `[CLI Reference](cli-reference.md)`, `[root README](../README.md)`).
11
- - Each document must open with an H1 title, a one-line description, and a cross-reference to the root [README.md](../README.md).
12
- - When adding, renaming, or removing a document, update the Documentation table in the root [README.md](../README.md) — that table is the single source of truth for this directory's contents.
13
- - Do not duplicate content from root-level files (README.md, CONTRIBUTING.md, CHANGELOG.md); link to them instead.
14
-
15
- ## Must-read documents
16
-
17
- - [Root README.md](../README.md): authoritative Documentation table and project overview
18
- - [Root AGENTS.md](../AGENTS.md): project-wide agent instructions pointing to `.github/copilot-instructions.md` for full detail
19
-
20
- ## Agent guidelines
21
-
22
- ### Style conventions
23
-
24
- - Use fenced code blocks for CLI examples and inline code for flag names (`` `--flag-name` ``).
25
- - Keep language direct and task-oriented.
26
- - `architecture.md` targets contributors; all other documents target users.
27
-
28
- ### Adding a new document
29
-
30
- 1. Create the file in `docs/` with an H1 title and description.
31
- 2. Add a row to the Documentation table in the root README.md.
32
- 3. Add a bullet to the Contents list in `docs/README.md`.
33
- 4. Cross-reference from related existing documents where appropriate.
34
-
35
- ### Editing existing documents
36
-
37
- - Preserve the H1 + description + cross-reference opening pattern.
38
- - If renaming a file, update the root README.md Documentation table and fix any relative links in other docs.
39
-
40
- ## Context
41
-
42
- The `docs/` directory was introduced in v0.8.x to move detailed reference material out of the root README. `architecture.md` covers the internal pipeline for contributors; the remaining documents serve end users integrating with or deploying generated code.
43
-
44
- ## References
45
-
46
- - [examples/README.md](../examples/README.md): folder README pattern example
47
- - [Root README.md Documentation table](../README.md#documentation): authoritative listing of all docs
package/docs/README.md DELETED
@@ -1,56 +0,0 @@
1
- # Documentation
2
-
3
- Human-maintained reference documents for `@techspokes/typescript-wsdl-client`. The root [README.md](../README.md) Documentation section is the authoritative index with descriptions; the list below is a quick local reference organized by reader intent.
4
-
5
- ## Evaluate
6
-
7
- - [start-here.md](start-here.md): what this is, who it is for, choose your path
8
- - [supported-patterns.md](supported-patterns.md): WSDL/XSD features handled and current limitations
9
- - [output-anatomy.md](output-anatomy.md): what gets generated and how to use it
10
-
11
- ## Adopt
12
-
13
- - [cli-reference.md](cli-reference.md): all 6 commands with flags and examples
14
- - [generated-code.md](generated-code.md): using clients, types, and operations
15
- - [configuration.md](configuration.md): gateway security, upstream SOAP security, tags, operations config files
16
- - [migration-playbook.md](migration-playbook.md): end-to-end SOAP modernization guide
17
-
18
- ## Operate
19
-
20
- - [gateway-guide.md](gateway-guide.md): Fastify integration and error handling
21
- - [testing.md](testing.md): testing patterns and mock client examples
22
- - [production.md](production.md): CI/CD, validation, logging
23
- - [troubleshooting.md](troubleshooting.md): common issues and debugging
24
- - [releases/README.md](releases/README.md): per-version GitHub release notes used by the draft release workflow
25
-
26
- ## Extend
27
-
28
- - [api-reference.md](api-reference.md): programmatic TypeScript API
29
- - [concepts.md](concepts.md): flattening, `$value`, primitives, determinism
30
- - [architecture.md](architecture.md): internal pipeline for contributors
31
- - [file-naming-and-path-organization.md](file-naming-and-path-organization.md): contributor convention for taxonomy paths and fixture retrieval
32
- - [agent-skill.md](agent-skill.md): release ZIP for consumer-project AI agents
33
- - [roadmap/README.md](roadmap/README.md): conformance framework, implementation slices, and release gates for 1.0
34
- - [decisions/002-streamable-responses.md](decisions/002-streamable-responses.md): opt-in streaming design (client `AsyncIterable`, gateway NDJSON or JSON array, `x-wsdl-tsc-stream` OpenAPI extension); shipped in 0.17.0 and extended in 0.28.0
35
- - [migration.md](migration.md): upgrading between package versions
36
-
37
- ## Conventions
38
-
39
- - Each document opens with an H1 title and a one-line description.
40
- - Cross-reference related documents and the root README where relevant.
41
- - Use fenced code blocks for CLI examples; format flags as inline code (`` `--flag-name` ``).
42
- - Use `bash` fences for portable command examples; reserve `powershell` fences for Windows-specific commands.
43
- - Run `npm run docs:validate` to check local links and TypeScript fenced snippets.
44
- - Keep language direct and task-oriented; architecture.md targets contributors, all others target users.
45
-
46
- ## Related
47
-
48
- - [Root README](../README.md): project overview, quick start, and authoritative Documentation section
49
- - [CONTRIBUTING.md](../CONTRIBUTING.md): development setup and workflow
50
- - [CHANGELOG.md](../CHANGELOG.md): version history
51
- - [examples](../examples/README.md): sample WSDL files and generated output
52
-
53
- ## Not Here
54
-
55
- - Generated code samples live in `examples/generated-output/`, not in `docs/`.
56
- - Installation and dev setup belong in the root README and CONTRIBUTING.md respectively.
@@ -1,149 +0,0 @@
1
- # Architecture
2
-
3
- Internal architecture of the wsdl-tsc code generator for contributors.
4
-
5
- See [CONTRIBUTING](../CONTRIBUTING.md) for development setup and [README](../README.md) for user documentation.
6
-
7
- ## Generated Source Policy
8
-
9
- Complete TypeScript writes pass through `src/generation/writeGeneratedSource.ts` after any scaffold ownership guard. Runtime/template loaders remain fragment loaders; provenance and documentation are preserved when the final body receives its preamble.
10
-
11
- `src/generation/preamble.ts` resolves trusted raw resources relative to this package's module location, never the consumer working directory. Logical scopes use nearest-resource fallback: `gateway/routes/typescript.preamble`, then `gateway/typescript.preamble`, then the required root `typescript.preamble`. One resource wins; resources are not concatenated. App and test overrides describe editable scaffolds.
12
-
13
- Successful resource resolutions are cached per resolver and logical scope for the process lifetime. A missing optional resource falls back, but a broken selected resource or missing required root fails generation. The writer preserves shebang placement and body text while normalizing preamble line endings and removing leading BOMs.
14
-
15
- Package validation uses the development TypeScript compiler to reject non-comment content and compiler-control directives. The generator runtime does not load that compiler. Raw `.preamble` files are included in npm packages, and `package:smoke` verifies installed generation outside the checkout during full CI. No custom resource roots or new public options are exposed.
16
-
17
- ## Pipeline Overview
18
-
19
- ```text
20
- WSDL Source Stream Config (optional)
21
- | |
22
- v v
23
- Loader (fetch.ts, wsdlLoader.ts)
24
- Fetches WSDL from URL or file
25
- Returns parsed XML document
26
- |
27
- v
28
- Compiler (schemaCompiler.ts)
29
- Walks XSD types, resolves references
30
- Retains xs:any wildcard particles
31
- Produces CompiledCatalog
32
- |
33
- v
34
- Shape Resolver (shapeResolver.ts, optional)
35
- Loads companion catalogs
36
- Copies reachable record-type graphs
37
- Fails on structural name collisions
38
- |
39
- v
40
- Catalog Emitter (generateCatalog.ts)
41
- Serializes to catalog.json
42
- |
43
- +-------+--------+--------+
44
- | | | |
45
- v v v v
46
- Client OpenAPI Gateway App
47
- Emitter Gen Gen Gen
48
- ```
49
-
50
- ## Module Responsibilities
51
-
52
- ### loader/
53
-
54
- fetch.ts handles HTTP/HTTPS/file fetching. wsdlLoader.ts handles XML parsing and import/include resolution.
55
-
56
- ### compiler/
57
-
58
- schemaCompiler.ts is the core compiler. It walks XSD complex/simple types, resolves inheritance, handles choices, retains xs:any wildcard particles as catalog metadata, and builds the type graph. generateCatalog.ts serializes compiled types to catalog.json. shapeResolver.ts resolves companion catalogs: it loads each referenced `shapeCatalog` once, copies the reachable record-type graph into the current compilation, and enforces structural-equality collision checks. It mutates the compiled catalog in place and is invoked after schemaCompiler.ts whenever a stream config is present.
59
-
60
- ### client/
61
-
62
- generateClient.ts emits the client class with one method per operation. generateTypes.ts emits interfaces, type aliases, and enums. generateUtils.ts emits runtime metadata for attribute maps and occurrence info.
63
-
64
- ### openapi/
65
-
66
- generateOpenAPI.ts orchestrates the complete OpenAPI document. generateSchemas.ts converts compiled types to JSON Schema. generatePaths.ts generates path items from operations. security.ts adapts the shared security configuration model for OpenAPI. casing.ts handles path style transformation.
67
-
68
- ### gateway/
69
-
70
- generateGateway.ts orchestrates all gateway file generation. generators.ts contains template emitters for each file type (plugin, routes, schemas, runtime, _typecheck). helpers.ts resolves client metadata, computes paths, and builds URNs.
71
-
72
- ### app/
73
-
74
- generateApp.ts scaffolds server.ts, config.ts, package.json, tsconfig.json, .env.example, and README.md.
75
-
76
- ### Top-level Modules
77
-
78
- pipeline.ts orchestrates the full pipeline from compile through app generation. config.ts provides default compiler options and option merging. cli.ts defines the Yargs CLI and routes commands. index.ts exports the four public API functions.
79
-
80
- ### util/
81
-
82
- tools.ts provides string helpers (pascal, kebab, QName resolution). cli.ts provides console output helpers and error handling. builder.ts provides shared Yargs option builders. streamConfig.ts parses and validates `--stream-config` input into a normalized `StreamConfig` shape; it is parser-only and never touches the filesystem beyond reading the config file itself. runtimeSource.ts reads template strings for the client stream transport.
83
-
84
- ### runtime/
85
-
86
- Template sources embedded into generated clients and gateways. streamXml.ts implements a SAX-driven `parseRecords(stream, spec)` that tracks the configured `recordPath` positionally (duplicate local names allowed) and yields records as their closing tags arrive. ndjson.ts wraps an async iterable of records in a `Readable` that emits NDJSON lines with honored backpressure. jsonArray.ts wraps the same record iterable as one streamed JSON array document. clientStreamMethods.tpl.txt and operationsStreamHelper.tpl.txt are text templates emitted into the generated `client.ts` and `operations.ts` when stream operations are present; they encode the `callStream()` transport and the `StreamOperationResponse<T>` type.
87
-
88
- ### xsd/
89
-
90
- primitives.ts maps XSD primitive types to TypeScript types.
91
-
92
- ## Central Data Structure
93
-
94
- The CompiledCatalog is the central data structure:
95
-
96
- ```text
97
- CompiledCatalog {
98
- wsdlUri: string
99
- targetNamespace: string
100
- serviceName: string
101
- types: CompiledType[]
102
- operations: Operation[]
103
- options: CompilerOptions
104
- }
105
- ```
106
-
107
- `CompiledType`, type aliases, and operations may include optional `doc` fields populated from WSDL/XSD documentation nodes. The catalog also carries optional `wsdlDocs` arrays for WSDL bindings, messages, parts, services, and ports. Client emitters consume operation and type docs to generate comments in `types.ts`, `operations.ts`, and `client.ts`. OpenAPI emitters consume the same fields for schema/property descriptions and operation summary and description values.
108
-
109
- Data flow through the pipeline:
110
-
111
- 1. schemaCompiler produces CompiledCatalog from WSDL XML
112
- 2. generateCatalog serializes it to JSON
113
- 3. Client generators read types[] for TypeScript emission
114
- 4. OpenAPI generator reads types[] and operations[] for spec generation
115
- 5. Gateway generator reads the OpenAPI spec, then enriches operation metadata from catalog operation docs when available
116
-
117
- ## Extension Points
118
-
119
- ### Adding a New CLI Flag
120
-
121
- 1. Add option to builder in src/util/builder.ts
122
- 2. Wire it in the command handler in src/cli.ts
123
- 3. Pass it through to the relevant generator
124
- 4. Update smoke tests if the flag affects output
125
-
126
- ### Adding a New Generator
127
-
128
- 1. Create src/<name>/generate<Name>.ts
129
- 2. Export the function from src/index.ts
130
- 3. Add CLI command in src/cli.ts
131
- 4. Wire into pipeline in src/pipeline.ts
132
- 5. Add smoke test in package.json
133
-
134
- ### Adding a New XSD Type Mapping
135
-
136
- 1. Add mapping in src/xsd/primitives.ts
137
- 2. Handle in src/compiler/schemaCompiler.ts if needed
138
- 3. Update src/openapi/generateSchemas.ts for JSON Schema output
139
-
140
- ### Adding a Stream-Capable Operation Output
141
-
142
- 1. Add a `stream-config` JSON entry for the operation with `recordType` and `recordPath`
143
- 2. Declare a `shapeCatalog` entry when the record type lives in a companion WSDL
144
- 3. Run the compile command and verify `catalog.operations[].stream` carries normalized metadata
145
- 4. The client, OpenAPI, and gateway emitters consume that metadata automatically; no per-emitter code changes are required
146
-
147
- ## Client Stream Transport
148
-
149
- Phase-0 research (see ADR-002) established that `node-soap` buffers the full response before invoking its operation callback. Stream operations cannot use that transport, so the generated client emits a parallel `callStream()` method that POSTs a hand-built SOAP envelope via global `fetch`, captures HTTP headers before the first record, and pipes the response body through `parseRecords`. Buffered operations continue to use `node-soap` unchanged. The two transports coexist on the same client class.