@mailwoman/corpus 11.0.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2118) hide show
  1. package/README.md +46 -8
  2. package/data/PROVENANCE.md +56 -56
  3. package/data/address-source-register.json +65 -3
  4. package/data/corpus-source-inputs.json +24 -0
  5. package/data/license-decisions.json +45 -0
  6. package/data/source-additions.json +16 -1
  7. package/data/training-configs/v0.9.1-pilot-anchor-on.yaml +1 -1
  8. package/data/training-configs/v0.9.7-unit-v3.yaml +1 -1
  9. package/data/training-configs/v0_5_0-classifier-smoke.yaml +1 -1
  10. package/data/training-configs/v0_6_2-crf-fp32-diagnostic.yaml +1 -1
  11. package/data/training-configs/v0_7_0-calibration-label-smoothing.yaml +5 -5
  12. package/data/training-configs/v0_7_0b-calibration-ls005.yaml +1 -1
  13. package/data/training-configs/v0_8_0-finetune-pretrained.yaml +1 -1
  14. package/data/training-configs/v0_8_0-finetune-scratch.yaml +1 -1
  15. package/data/training-configs/v0_8_1-finetune-pretrained.yaml +1 -1
  16. package/data/training-configs/v0_8_1-finetune-scratch.yaml +1 -1
  17. package/data/training-configs/v1.0.0-affixdiag.yaml +1 -1
  18. package/data/training-configs/v1.0.0-consolidation.yaml +1 -1
  19. package/data/training-configs/v1.0.1-consolidation-runA.yaml +1 -1
  20. package/data/training-configs/v1.0.2-consolidation-runB.yaml +2 -2
  21. package/data/training-configs/v1.0.3-consolidation-runC.yaml +1 -1
  22. package/data/training-configs/v1.0.4-probe0-curriculum.yaml +1 -1
  23. package/data/training-configs/v1.3.0-boundary-consolidation.yaml +1 -1
  24. package/data/training-configs/v1.4.0-charoffset.yaml +1 -1
  25. package/data/training-configs/v1.5.0-fr-order.yaml +1 -1
  26. package/data/training-configs/v1.9.4-fr-bare-street.yaml +2 -2
  27. package/data/training-configs/v1.9.5-surface-aug.yaml +2 -2
  28. package/data/training-configs/v1.9.6-surface-aug-full.yaml +3 -3
  29. package/data/training-configs/v1.9.8-bare-street-bsplice.yaml +3 -3
  30. package/data/training-configs/v1.9.9-bare-street-si.yaml +3 -3
  31. package/data/training-configs/v2.5.0-fragment-assay.yaml +1 -1
  32. package/data/training-configs/v2.6.4-country-softguard.yaml +1 -1
  33. package/data/training-configs/v2.6.5-country-softguard-025.yaml +1 -1
  34. package/data/training-configs/v3.0.0-span-head.yaml +2 -2
  35. package/data/training-configs/v3.0.1-span-head-lr.yaml +2 -2
  36. package/data/training-configs/v3.10.0-span-ship-probe.yaml +1 -1
  37. package/data/training-configs/v3.4.1-norway-full.yaml +1 -1
  38. package/data/training-configs/v3.5.2-numsplice3-probe.yaml +3 -3
  39. package/data/training-configs/v3.5.3-numsplice23-probe.yaml +2 -2
  40. package/data/training-configs/v3.5.4-numsplice3-full.yaml +3 -3
  41. package/data/training-configs/v3.8.4-latam-probe.yaml +1 -1
  42. package/data/training-configs/v4.0.0-base-60k.yaml +1 -1
  43. package/data/training-configs/v4.0.1-base-60k.yaml +1 -1
  44. package/data/training-configs/v4.10.0-trailing-region-lowdose-8k.yaml +2 -2
  45. package/data/training-configs/v4.11.0-house-venue-intl-4k.yaml +5 -5
  46. package/data/training-configs/v4.12.0-house-venue-ewc1e5-4k.yaml +6 -6
  47. package/data/training-configs/v4.14.0-house-venue-1k.yaml +4 -4
  48. package/data/training-configs/v4.2.0-base-anchor-v2-2k.yaml +1 -1
  49. package/data/training-configs/v4.2.0-base-anchor-v2.yaml +2 -2
  50. package/data/training-configs/v4.3.0-suffix-boundary-8k.yaml +1 -1
  51. package/data/training-configs/v4.3.1-suffix-boundary-target-dose-8k.yaml +1 -1
  52. package/data/training-configs/v4.3.2-suffix-boundary-idempotent-feed-8k.yaml +1 -1
  53. package/data/training-configs/v4.5.1-psc-frsurfaces-2k.yaml +1 -1
  54. package/data/training-configs/v4.5.2-psc-frsurfaces-2k.yaml +1 -1
  55. package/data/training-configs/v4.6.0-admin-surfaces-base-60k.yaml +1 -1
  56. package/data/training-configs/v4.6.0-admin-surfaces-smoke-500.yaml +1 -1
  57. package/data/training-configs/v4.7.0-trailing-region-structured-8k.yaml +2 -2
  58. package/data/training-configs/v4.7.0-trailing-region-structured-smoke-500.yaml +2 -2
  59. package/data/training-configs/v4.8.0-trailing-region-placement-8k.yaml +7 -7
  60. package/data/training-configs/v4.8.0-trailing-region-placement-smoke-500.yaml +7 -7
  61. package/data/training-configs/v4.9.0-trailing-region-leftcontext-8k.yaml +3 -3
  62. package/data/training-configs/v5.0.0-base-alltails-60k.yaml +1 -1
  63. package/data/training-configs/v5.2.0-seed-variance-60k.yaml +1 -1
  64. package/data/training-configs/v5.3.0-reviewed-ve-postcode-tail-60k.yaml +2 -2
  65. package/data/training-configs/v5.4.0-target-families-2k.yaml +3 -3
  66. package/data/training-configs/v5.4.0-target-families-60k.yaml +3 -3
  67. package/data/training-configs/v5.5.0-restored-generations-60k.yaml +5 -5
  68. package/data/training-configs/v5.6.0-bare-postcode-60k.yaml +8 -8
  69. package/data/training-configs/v5.7.0-region-code-and-unit-60k.yaml +6 -6
  70. package/data/training-configs/v5.8.0-gazetteer-choreography-off-60k.yaml +8 -8
  71. package/data/training-configs/v5.9.0-locality-shape-60k.yaml +4 -4
  72. package/data/training-configs/v6.0.0-register-surface-60k.yaml +2 -2
  73. package/data/training-configs/v7.0.0-de-holdout-60k.yaml +2 -2
  74. package/data/training-configs/v7.1.0-osm-exposure-60k.yaml +3 -3
  75. package/data/training-configs/v7.10.0-gb-county-60k-s43.yaml +1 -1
  76. package/data/training-configs/v7.10.0-gb-county-60k.yaml +1 -1
  77. package/data/training-configs/v7.2.0-address-systems-60k.yaml +1 -1
  78. package/data/training-configs/v7.4.0-venue-planet-60k.yaml +1 -1
  79. package/data/training-configs/v7.7.0-no-ppd-60k.yaml +2 -2
  80. package/data/training-configs/v7.8.0-rights-clean-60k.yaml +1 -1
  81. package/data/training-configs/v7.9.0-country-gap-60k.yaml +2 -2
  82. package/data/training-configs/v8-cjk-full.yaml +5 -5
  83. package/data/training-configs/v8-cjk-kana.yaml +1 -1
  84. package/data/training-configs/v8-cjk-kr-probe.yaml +1 -1
  85. package/data/training-configs/v8-cjk-kr.yaml +1 -1
  86. package/data/training-configs/v8-cjk-regs.yaml +1 -1
  87. package/data/training-configs/v8-cjk-shi.yaml +1 -1
  88. package/data/training-configs/v8-jp-full-2k.yaml +7 -7
  89. package/data/training-configs/v8-jp-full.yaml +8 -8
  90. package/data/training-configs/v8.0.0-postcode-move-p000-60k.yaml +1 -1
  91. package/data/training-configs/v8.0.0-postcode-move-p005-60k.yaml +1 -1
  92. package/data/training-configs/v8.0.0-postcode-move-p015-60k.yaml +1 -1
  93. package/data/training-configs/v8.1.0-base-60k-s43.yaml +3 -3
  94. package/data/training-configs/v8.1.0-base-60k.yaml +1 -1
  95. package/data/training-configs/v8.2.0-base-60k.yaml +2 -2
  96. package/data/training-configs/v8.3.0-base-c6-60k-no-primer-s42.yaml +1 -1
  97. package/data/training-configs/v8.3.0-base-c6-60k-no-primer-s43.yaml +1 -1
  98. package/data/training-configs/v8.3.0-base-c6-60k-s43.yaml +1 -1
  99. package/data/training-configs/v8.3.0-base-c6-60k.yaml +1 -1
  100. package/data/training-configs/v8.3.0-base-c6-90k-fp32master-s42.yaml +2 -2
  101. package/data/training-configs/v8.3.0-base-c6-90k-fp32master-s43.yaml +2 -2
  102. package/data/training-configs/v8.3.0-base-c6-90k-mixed-s42.yaml +2 -2
  103. package/data/training-configs/v8.3.0-base-c6-90k-mixed-s43.yaml +2 -2
  104. package/data/training-configs/v8.3.0-probe-c4-split-digits-2k.yaml +1 -1
  105. package/data/training-configs/v8.3.0-probe-c5-mixed-digits-2k.yaml +1 -1
  106. package/data/training-configs/v8.3.0-probe-c6-isolated-punctuation-2k.yaml +1 -1
  107. package/data/training-configs/v8.3.0-probe-code-unit-2k.yaml +1 -1
  108. package/data/training-configs/v8.3.0-probe-rust-loader-2k.yaml +3 -3
  109. package/data/training-configs/v8.3.1-base-c6-90k-nppes088-s42.yaml +4 -4
  110. package/data/training-configs/v8.3.1-base-c6-90k-nppes088-s43.yaml +4 -4
  111. package/data/training-configs/v8.3.2-base-c6-90k-v0810-s42-r2.yaml +1 -1
  112. package/data/training-configs/v8.3.2-base-c6-90k-v0810-s42.yaml +1 -1
  113. package/data/training-configs/v8.3.2-base-c6-90k-v0810-s43.yaml +1 -1
  114. package/data/training-configs/v8.4.0-base-c6-90k-v0812-s42-r2.yaml +1 -1
  115. package/data/training-configs/v8.4.0-base-c6-90k-v0812-s42.yaml +1 -1
  116. package/data/training-configs/v8.4.0-base-c6-90k-v0812-s43.yaml +1 -1
  117. package/data/training-configs/v8.6.0-base-c6-90k-v0816-s42.yaml +2 -2
  118. package/data/training-configs/v8.6.1-base-c6-90k-v0817-s42.yaml +3 -3
  119. package/data/training-configs/v8.6.2-base-c6-90k-v0817-wof15-s42.yaml +1 -1
  120. package/data/training-configs/v8.6.3-base-c6-90k-v0818-wof15-s42.yaml +1 -1
  121. package/lib/adapters/cordis/adapter.ts +9 -10
  122. package/lib/adapters/dedup-key.ts +5 -6
  123. package/lib/adapters/errors.ts +3 -4
  124. package/lib/adapters/geonames/adapter.ts +5 -6
  125. package/lib/adapters/geonames/features/adapter.ts +3 -3
  126. package/lib/adapters/geonames/postal/adapter.ts +5 -6
  127. package/lib/adapters/gleif/adapter.ts +87 -67
  128. package/lib/adapters/libpostal-dictionary.ts +3 -4
  129. package/lib/adapters/openaddresses/adapter.ts +9 -7
  130. package/lib/adapters/osm/adapter.ts +11 -9
  131. package/lib/adapters/osm/license.ts +4 -4
  132. package/lib/adapters/overture/adapter.ts +6 -5
  133. package/lib/adapters/overture/paths.ts +25 -0
  134. package/lib/adapters/po-box/adapter.ts +9 -9
  135. package/lib/adapters/present.ts +3 -0
  136. package/lib/adapters/record-id.ts +3 -3
  137. package/lib/adapters/registry.ts +7 -7
  138. package/lib/adapters/sha256-stream.ts +3 -4
  139. package/lib/adapters/source-id.ts +12 -10
  140. package/lib/adapters/street/line.ts +37 -21
  141. package/lib/adapters/street/unit.ts +61 -16
  142. package/lib/adapters/wof/admin/json/adapter.ts +37 -32
  143. package/lib/adapters/wof/admin/json/explore.ts +15 -17
  144. package/lib/adapters/wof/admin/json/region-codes.ts +12 -9
  145. package/lib/adapters/wof/json-rows.ts +6 -6
  146. package/lib/adapters/wof/postalcode-json/adapter.ts +13 -10
  147. package/lib/adapters/wof/record-cache.ts +3 -3
  148. package/lib/adapters/wof/sample.ts +4 -4
  149. package/lib/adapters.ts +45 -30
  150. package/lib/address-records/admission.ts +86 -0
  151. package/lib/address-records/legal-forms.ts +34 -0
  152. package/lib/address-records/openaddresses.ts +202 -0
  153. package/lib/address-records/overture.ts +149 -0
  154. package/lib/au/adapters/gnaf/adapter.ts +10 -10
  155. package/lib/au/adapters/gnaf/assemble.ts +19 -13
  156. package/lib/au/recipes/delivery-guideline.ts +10 -10
  157. package/lib/au/recipes/unit-type-guideline.ts +15 -14
  158. package/lib/az/adapters/opendata/adapter.ts +28 -21
  159. package/lib/be/adapters/brussels/adapter.ts +110 -88
  160. package/lib/be/adapters/vlaanderen/adapter.ts +53 -45
  161. package/lib/be/adapters/wallonie/adapter.ts +118 -90
  162. package/lib/be/tools/fetch/brussels.ts +15 -14
  163. package/lib/be/tools/fetch/wallonie.ts +15 -15
  164. package/lib/bs/adapters/gbpa/adapter.ts +19 -15
  165. package/lib/build/adapters.ts +62 -5
  166. package/lib/build/align/range.ts +3 -3
  167. package/lib/build/align/totals.ts +3 -3
  168. package/lib/build/align.ts +5 -5
  169. package/lib/build/budget.ts +4 -4
  170. package/lib/build/checkpoint.ts +5 -5
  171. package/lib/build/code-hash.ts +10 -7
  172. package/lib/build/component-check.ts +5 -5
  173. package/lib/build/eligibility.ts +3 -3
  174. package/lib/build/heap.ts +3 -3
  175. package/lib/build/holdout-check.ts +4 -4
  176. package/lib/build/inputs.ts +44 -12
  177. package/lib/build/lock.ts +3 -3
  178. package/lib/build/manifest.ts +3 -3
  179. package/lib/build/parallel.ts +14 -9
  180. package/lib/build/prior-output.ts +3 -3
  181. package/lib/build/rows.ts +3 -3
  182. package/lib/build/settings.ts +4 -4
  183. package/lib/build/source-record.ts +5 -14
  184. package/lib/build/types.ts +5 -5
  185. package/lib/build/worker.ts +12 -4
  186. package/lib/build.ts +14 -11
  187. package/lib/cjk/builder.ts +5 -5
  188. package/lib/cjk/foreign-places.ts +9 -7
  189. package/lib/cjk/overlay.ts +3 -3
  190. package/lib/cjk/registry.ts +12 -12
  191. package/lib/cjk/text.ts +4 -4
  192. package/lib/cn/recipes/organizational-units.ts +3 -3
  193. package/lib/cz/adapters/cuzk/adapter.ts +8 -9
  194. package/lib/cz/recipes/pcfirst-preposition.ts +9 -10
  195. package/lib/cz/tools/fetch/cuzk.ts +55 -52
  196. package/lib/de/fragment-board.ts +3 -3
  197. package/lib/de/recipes/locale.ts +15 -13
  198. package/lib/de/recipes/postfach-guideline.ts +5 -6
  199. package/lib/directory.ts +3 -3
  200. package/lib/dk/adapters/inspire/adapter.ts +51 -42
  201. package/lib/dk/tools/fetch/inspire.ts +33 -31
  202. package/lib/ee/adapters/ads/adapter.ts +44 -37
  203. package/lib/ee/tools/fetch/ads.ts +37 -31
  204. package/lib/env.ts +3 -4
  205. package/lib/es/adapters/bizkaia/adapter.ts +70 -58
  206. package/lib/es/adapters/catastro/adapter.ts +63 -49
  207. package/lib/es/adapters/gipuzkoa/adapter.ts +49 -40
  208. package/lib/es/adapters/navarra/adapter.ts +41 -33
  209. package/lib/es/cadastre.ts +15 -14
  210. package/lib/es/tools/fetch/bizkaia.ts +50 -39
  211. package/lib/es/tools/fetch/catastro.ts +52 -48
  212. package/lib/es/tools/fetch/gipuzkoa.ts +30 -26
  213. package/lib/es/tools/fetch/navarra.ts +39 -38
  214. package/lib/fi/adapters/ryhti/adapter.ts +52 -46
  215. package/lib/fi/tools/fetch/ryhti.ts +35 -35
  216. package/lib/fingerprints.ts +4 -4
  217. package/lib/fo/adapters/adressur/adapter.ts +23 -19
  218. package/lib/fr/adapters/annuaire-education/adapter.ts +76 -67
  219. package/lib/fr/adapters/ban/adapter.ts +24 -17
  220. package/lib/fr/adapters/finess/adapter.ts +75 -59
  221. package/lib/fr/adapters/finess/postal-lines.ts +11 -12
  222. package/lib/fr/adapters/finess/voie-type.ts +24 -23
  223. package/lib/fr/address-records/ban.ts +131 -0
  224. package/lib/fr/insee-country.ts +11 -10
  225. package/lib/fr/recipes/admin-split.ts +8 -6
  226. package/lib/fr/recipes/bare-street.ts +3 -4
  227. package/lib/fr/recipes/fragment.ts +7 -7
  228. package/lib/fr/recipes/house-venue-tuples.ts +5 -5
  229. package/lib/fr/recipes/lieudit.ts +23 -19
  230. package/lib/fr/recipes/order.ts +9 -8
  231. package/lib/fr/recipes/unit-line-guideline.ts +14 -11
  232. package/lib/fr/street-decompose.ts +8 -6
  233. package/lib/fr/tools/fetch/annuaire-education.ts +18 -14
  234. package/lib/fr/tools/fetch/ban.ts +17 -15
  235. package/lib/fr/tools/fetch/finess.ts +57 -36
  236. package/lib/gauntlet-inputs.ts +6 -6
  237. package/lib/gb/adapters/os-open/adapter.ts +23 -16
  238. package/lib/gb/constituent-country.ts +9 -8
  239. package/lib/gb/county.ts +14 -13
  240. package/lib/gb/os-open/nearest-link.ts +13 -12
  241. package/lib/gb/os-open/open/names.ts +13 -11
  242. package/lib/gb/os-open/open/roads.ts +98 -13
  243. package/lib/gb/recipes/house-venue-tuples.ts +8 -8
  244. package/lib/gb/recipes/sub-building-guideline.ts +11 -10
  245. package/lib/gb/tools/fetch/os-open.ts +12 -10
  246. package/lib/gu/adapters/bsp/adapter.ts +25 -22
  247. package/lib/im/adapters/land-registry/adapter.ts +23 -19
  248. package/lib/index.ts +2 -5
  249. package/lib/inspire/address.ts +37 -32
  250. package/lib/inspire/archive.ts +13 -12
  251. package/lib/inspire/errors.ts +12 -11
  252. package/lib/inspire/stream.ts +27 -25
  253. package/lib/international/recipes/locale.ts +30 -21
  254. package/lib/it/adapters/anac/adapter.ts +83 -71
  255. package/lib/it/recipes/casella-postale-guideline.ts +13 -12
  256. package/lib/it/recipes/unit-line-guideline.ts +10 -9
  257. package/lib/it/tools/fetch/anac.ts +25 -24
  258. package/lib/jp/adapters/wof-admin/adapter.ts +12 -13
  259. package/lib/jp/corpus/assemble.ts +3 -3
  260. package/lib/jp/corpus/probe.ts +3 -3
  261. package/lib/jp/corpus/rows.ts +3 -3
  262. package/lib/jp/corpus/sources.ts +5 -5
  263. package/lib/jp/kana.ts +3 -3
  264. package/lib/jp/registers.ts +3 -3
  265. package/lib/jp/text.ts +3 -3
  266. package/lib/jp/tools/fetch/houjin.ts +78 -23
  267. package/lib/kr/adapters/juso/label-rows.ts +10 -10
  268. package/lib/kr/adapters/localdata/align.ts +7 -7
  269. package/lib/kr/adapters/localdata/key-index.ts +6 -6
  270. package/lib/kr/adapters/localdata/permit-rows.ts +11 -10
  271. package/lib/kr/corpus/assemble.ts +8 -8
  272. package/lib/kr/corpus/rows.ts +4 -4
  273. package/lib/kr/tools/fetch/juso.ts +82 -33
  274. package/lib/kr/tools/fetch/localdata.ts +61 -43
  275. package/lib/li/adapters/llv/adapter.ts +23 -18
  276. package/lib/lu/adapters/bd-adresses/adapter.ts +46 -46
  277. package/lib/lu/tools/fetch/bd-adresses.ts +33 -30
  278. package/lib/lv/adapters/varis/adapter.ts +94 -73
  279. package/lib/lv/tools/fetch/varis.ts +11 -10
  280. package/lib/nl/adapters/kadaster/adapter.ts +85 -64
  281. package/lib/nl/recipes/postcode.ts +16 -13
  282. package/lib/nl/tools/fetch/kadaster.ts +17 -17
  283. package/lib/no/adapters/matrikkelen/adapter.ts +17 -16
  284. package/lib/no/recipes/fragment.ts +2 -5
  285. package/lib/no/recipes/street/led.ts +8 -8
  286. package/lib/no/recipes/street.ts +7 -7
  287. package/lib/no/tools/fetch/matrikkelen.ts +32 -28
  288. package/lib/nz/recipes/unit-type-guideline.ts +13 -13
  289. package/lib/parquet/corpus-rows.ts +3 -3
  290. package/lib/parquet/duckdb.ts +22 -13
  291. package/lib/parquet/readers.ts +3 -3
  292. package/lib/parquet/record.ts +8 -8
  293. package/lib/parquet/schema.ts +6 -6
  294. package/lib/parquet/shuffle.ts +4 -4
  295. package/lib/parquet/span-sql.ts +3 -3
  296. package/lib/parquet/streams.ts +4 -4
  297. package/lib/parquet/writers.ts +8 -8
  298. package/lib/pl/adapters/emuia/adapter.ts +56 -45
  299. package/lib/pl/tools/fetch/emuia.ts +62 -50
  300. package/lib/post-offices/source.ts +112 -0
  301. package/lib/post-offices/sources.ts +18 -0
  302. package/lib/recipes/address-points.ts +4 -4
  303. package/lib/recipes/anchor-absorption.ts +10 -9
  304. package/lib/recipes/bare/country.ts +3 -0
  305. package/lib/recipes/bare/postcode/eval.ts +7 -7
  306. package/lib/recipes/bare/postcode.ts +13 -13
  307. package/lib/recipes/boundary-stress.ts +6 -6
  308. package/lib/recipes/country-balanced.ts +21 -12
  309. package/lib/recipes/deepseek/batches.ts +7 -7
  310. package/lib/recipes/deepseek/client.ts +3 -3
  311. package/lib/recipes/deepseek/generate.ts +3 -3
  312. package/lib/recipes/deepseek/kryptonite.ts +4 -4
  313. package/lib/recipes/deepseek/prompts.ts +3 -3
  314. package/lib/recipes/deepseek/run.ts +5 -5
  315. package/lib/recipes/deepseek/transliteration.ts +4 -4
  316. package/lib/recipes/fragment-assay/build.ts +3 -3
  317. package/lib/recipes/fragment-assay/rows.ts +3 -3
  318. package/lib/recipes/fragment-assay/sources.ts +7 -7
  319. package/lib/recipes/house/venue/tuples.ts +4 -4
  320. package/lib/recipes/house/venue.ts +9 -9
  321. package/lib/recipes/intersection.ts +22 -19
  322. package/lib/recipes/po/box/cedex/au-nz.ts +2 -3
  323. package/lib/recipes/po/box/cedex/ca.ts +2 -3
  324. package/lib/recipes/po/box/cedex/fr.ts +2 -3
  325. package/lib/recipes/po/box/cedex/phrases.ts +2 -3
  326. package/lib/recipes/po/box/cedex/recipe.ts +4 -5
  327. package/lib/recipes/po/box/cedex/sources.ts +4 -5
  328. package/lib/recipes/po/box/cedex/types.ts +2 -3
  329. package/lib/recipes/po/box/cedex/us.ts +2 -3
  330. package/lib/recipes/po/box/cedex/vocabulary.ts +2 -3
  331. package/lib/recipes/po/box/cedex.ts +3 -4
  332. package/lib/recipes/po/box.ts +4 -5
  333. package/lib/recipes/postal/guideline/leg.ts +5 -5
  334. package/lib/recipes/postal/guideline.ts +11 -10
  335. package/lib/recipes/postal/unit-guideline.ts +16 -14
  336. package/lib/recipes/scaffold.ts +11 -11
  337. package/lib/recipes/secondary.ts +3 -3
  338. package/lib/recipes/sources.ts +9 -9
  339. package/lib/recipes/street/affix.ts +15 -12
  340. package/lib/recipes/street/bare.ts +16 -14
  341. package/lib/recipes/street.ts +6 -6
  342. package/lib/recipes/sub/venue/context.ts +9 -9
  343. package/lib/recipes/sub/venue/render.ts +3 -3
  344. package/lib/recipes/sub/venue/sources.ts +3 -6
  345. package/lib/recipes/sub/venue.ts +5 -6
  346. package/lib/recipes/trailing-region.ts +14 -14
  347. package/lib/recipes/unit.ts +11 -11
  348. package/lib/recipes/venue.ts +24 -21
  349. package/lib/recipes.ts +9 -8
  350. package/lib/registers.ts +7 -4
  351. package/lib/ro/adapters/retea-scolara/adapter.ts +36 -28
  352. package/lib/ro/tools/fetch/retea-scolara.ts +10 -9
  353. package/lib/runner.ts +24 -9
  354. package/lib/sg/recipes/register.ts +7 -7
  355. package/lib/sg/tools/fetch/acra.ts +19 -7
  356. package/lib/si/recipes/bare-village.ts +16 -13
  357. package/lib/sk/adapters/inspire/adapter.ts +78 -56
  358. package/lib/sk/tools/fetch/inspire.ts +37 -33
  359. package/lib/source-register/corpus-inputs.ts +22 -18
  360. package/lib/source-register/effective-manifest.ts +22 -10
  361. package/lib/source-register/register.ts +5 -6
  362. package/lib/source-register/row-license.ts +19 -15
  363. package/lib/source-register/training-manifest.ts +18 -18
  364. package/lib/source-register/types.ts +11 -11
  365. package/lib/source-register.ts +7 -7
  366. package/lib/south-asia/recipes/register.ts +20 -17
  367. package/lib/street-index/reader.ts +3 -3
  368. package/lib/street-index/schema.ts +3 -3
  369. package/lib/street-index/write.ts +3 -3
  370. package/lib/subvenue/harvest.ts +35 -25
  371. package/lib/subvenue/promotions.ts +4 -5
  372. package/lib/subvenue/surfaces.ts +4 -5
  373. package/lib/subvenue/table.ts +5 -6
  374. package/lib/surfaces/locale.ts +13 -12
  375. package/lib/synthesizers/anchor-absorption.ts +6 -6
  376. package/lib/synthesizers/boundary-stress.ts +4 -5
  377. package/lib/synthesizers/house-venue.ts +3 -4
  378. package/lib/synthesizers/no-street.ts +8 -7
  379. package/lib/synthesizers/po-box.ts +5 -5
  380. package/lib/synthesizers/tail.ts +10 -10
  381. package/lib/synthesizers/utils.ts +31 -6
  382. package/lib/test-kit/corpus-recipe.ts +6 -7
  383. package/lib/test-kit.ts +8 -7
  384. package/lib/tools/align-canonical.ts +5 -2
  385. package/lib/tools/audit.ts +9 -9
  386. package/lib/tools/cjk/foreign-places.run.ts +3 -3
  387. package/lib/tools/cjk/overlay.run.ts +3 -3
  388. package/lib/tools/corpus-stats.ts +14 -12
  389. package/lib/tools/de-fragment-board.run.ts +6 -6
  390. package/lib/tools/deepseek.run.ts +3 -3
  391. package/lib/tools/fetch/atom.ts +6 -6
  392. package/lib/tools/fetch/cordis.ts +16 -15
  393. package/lib/tools/fetch/download/manifest.ts +8 -8
  394. package/lib/tools/fetch/download/network.ts +11 -5
  395. package/lib/tools/fetch/download/retry.ts +6 -10
  396. package/lib/tools/fetch/download.ts +3 -3
  397. package/lib/tools/fetch/geonames/dump.ts +26 -18
  398. package/lib/tools/fetch/geonames/postal.ts +13 -13
  399. package/lib/tools/fetch/gleif.ts +22 -20
  400. package/lib/tools/fetch/header.ts +9 -12
  401. package/lib/tools/fetch/inspire-addresses.ts +23 -20
  402. package/lib/tools/fetch/openaddresses.ts +385 -9
  403. package/lib/tools/fetch/ourairports.ts +5 -6
  404. package/lib/tools/fetch/storage.ts +404 -0
  405. package/lib/tools/fetch/vlaanderen-ad.ts +26 -25
  406. package/lib/tools/fetch/wfs-harvest.ts +55 -41
  407. package/lib/tools/fetch/wikidata/session.ts +8 -8
  408. package/lib/tools/fetch/wikidata/subvenue.ts +5 -5
  409. package/lib/tools/fetch/wikidata/vital-places/classify.ts +27 -21
  410. package/lib/tools/fetch/wikidata/vital-places/entities.ts +34 -30
  411. package/lib/tools/fetch/wikidata/vital-places/inventory.ts +6 -7
  412. package/lib/tools/fetch/wikidata/vital-places/progress.ts +3 -4
  413. package/lib/tools/fetch/wikidata/vital-places/qrank.ts +12 -11
  414. package/lib/tools/fetch/wikidata/vital-places/query-entities.ts +20 -12
  415. package/lib/tools/fetch/wikidata/vital-places/render.ts +11 -10
  416. package/lib/tools/fetch/wikidata/vital-places.ts +17 -15
  417. package/lib/tools/fetch/zip-archive.ts +5 -5
  418. package/lib/tools/fetch.ts +7 -4
  419. package/lib/tools/fragment-assay.run.ts +7 -7
  420. package/lib/tools/golden/expand.ts +25 -24
  421. package/lib/tools/golden/promote.ts +7 -7
  422. package/lib/tools/golden/relabel-street/directory.ts +3 -3
  423. package/lib/tools/golden/relabel-street/row.ts +5 -5
  424. package/lib/tools/golden/relabel-street.ts +3 -3
  425. package/lib/tools/house-venue-tuples.run.ts +3 -3
  426. package/lib/tools/ingest-csv.ts +12 -16
  427. package/lib/tools/input-changes.ts +6 -5
  428. package/lib/tools/jp/corpus.run.ts +3 -3
  429. package/lib/tools/jp/probe-corpus.run.ts +3 -3
  430. package/lib/tools/jsonl-to-parquet.ts +12 -8
  431. package/lib/tools/kr-corpus.run.ts +3 -3
  432. package/lib/tools/lint/recipe-output/vocab.ts +19 -14
  433. package/lib/tools/lint/recipe-output.ts +13 -10
  434. package/lib/tools/migrate/overlay-parquet.ts +6 -6
  435. package/lib/tools/migrate/recipe-output.ts +4 -4
  436. package/lib/tools/migrate/source-names.ts +4 -4
  437. package/lib/tools/overlay/deletions.ts +7 -7
  438. package/lib/tools/overlay/distinct-row-ids.ts +3 -3
  439. package/lib/tools/overlay/held-out-spans.ts +5 -5
  440. package/lib/tools/overlay/kryptonite.ts +9 -9
  441. package/lib/tools/overlay/manifest.ts +4 -5
  442. package/lib/tools/overlay/merge-source.ts +3 -3
  443. package/lib/tools/overlay/split/attribute.ts +3 -3
  444. package/lib/tools/overlay/split/overlay.ts +3 -3
  445. package/lib/tools/overlay/translit.ts +20 -20
  446. package/lib/tools/overture-subvenue.ts +8 -8
  447. package/lib/tools/postcode/non-native-order.ts +16 -14
  448. package/lib/tools/postcode/triples.ts +13 -15
  449. package/lib/tools/registry-corpus.run.ts +3 -3
  450. package/lib/tools/secondary.run.ts +3 -3
  451. package/lib/tools/source-register/build.ts +14 -14
  452. package/lib/tools/street-index/build.run.ts +3 -3
  453. package/lib/tools/street-index/build.ts +3 -3
  454. package/lib/tools/sub/venue/head-nouns.ts +3 -4
  455. package/lib/tools/sub/venue/lexicon.ts +4 -5
  456. package/lib/tools/sub/venue/wikidata.ts +10 -9
  457. package/lib/tools/support-index.ts +13 -12
  458. package/lib/tools/tw-corpus.run.ts +3 -3
  459. package/lib/tools/variety-sample.ts +15 -13
  460. package/lib/tools/vital-places.run.ts +12 -9
  461. package/lib/training/config/admission.ts +5 -6
  462. package/lib/training/config/load.ts +22 -17
  463. package/lib/training/config/python-yaml.ts +16 -12
  464. package/lib/training/config/resolved.ts +6 -6
  465. package/lib/training/config/schema.ts +13 -10
  466. package/lib/tw/corpus/assemble.ts +3 -3
  467. package/lib/tw/corpus/rows.ts +5 -5
  468. package/lib/tw/registers.ts +4 -4
  469. package/lib/tw/tools/fetch/gcis.ts +54 -39
  470. package/lib/types.ts +10 -11
  471. package/lib/us/abbrev/region-samples.ts +10 -8
  472. package/lib/us/abbrev/regions.ts +6 -6
  473. package/lib/us/adapters/fcc-bdc/adapter.ts +6 -7
  474. package/lib/us/adapters/state/hi-schools/adapter.ts +14 -13
  475. package/lib/us/adapters/state/hi-schools/workbook.ts +2 -5
  476. package/lib/us/adapters/state/ia-contractors/adapter.ts +5 -6
  477. package/lib/us/adapters/state/ny-notaries/adapter.ts +7 -8
  478. package/lib/us/adapters/state/tx-notaries/adapter.ts +7 -7
  479. package/lib/us/adapters/tiger/adapter.ts +3 -4
  480. package/lib/us/adapters/tiger/street-decompose.ts +7 -8
  481. package/lib/us/adapters/usgov/hrsa-fqhc/adapter.ts +23 -20
  482. package/lib/us/adapters/usgov/imls-pls/adapter.ts +9 -10
  483. package/lib/us/adapters/usgov/irs-bmf/adapter.ts +15 -14
  484. package/lib/us/adapters/usgov/nad/adapter.ts +182 -80
  485. package/lib/us/adapters/usgov/nppes/adapter.ts +3 -4
  486. package/lib/us/adapters/usgov/samhsa-treatment-locator/adapter.ts +21 -18
  487. package/lib/us/adapters/usgov/usgs-post-offices/adapter.ts +162 -0
  488. package/lib/us/address-records/layer/worker.ts +54 -0
  489. package/lib/us/address-records/layer.ts +776 -0
  490. package/lib/us/address-records/nad.ts +125 -0
  491. package/lib/us/fips-state.ts +7 -8
  492. package/lib/us/post-offices/usgs-national-map.ts +89 -0
  493. package/lib/us/recipes/house-venue-tuples.ts +6 -6
  494. package/lib/us/recipes/skeleton-sources.ts +6 -6
  495. package/lib/us/state-country-codes.ts +7 -6
  496. package/lib/us/street-unit.ts +4 -4
  497. package/lib/us/synthesizers/intersection.ts +15 -12
  498. package/lib/us/synthesizers/street.ts +17 -15
  499. package/lib/us/tools/fetch/hrsa.ts +9 -8
  500. package/lib/us/tools/fetch/imls-pls.ts +45 -31
  501. package/lib/us/tools/fetch/nad/parquet.ts +135 -0
  502. package/lib/us/tools/fetch/nad.ts +175 -303
  503. package/lib/us/tools/fetch/nppes.ts +66 -29
  504. package/lib/us/tools/fetch/state/hi-schools.ts +48 -25
  505. package/lib/us/tools/fetch/state/sources.ts +11 -11
  506. package/lib/us/tools/fetch/tiger-full.ts +47 -16
  507. package/lib/us/tools/fetch/usgs-post-offices.ts +362 -0
  508. package/lib/us/tools/nad-skeletons.ts +63 -61
  509. package/lib/utils/align.ts +45 -39
  510. package/lib/utils/cooccurrence-stats.ts +8 -7
  511. package/lib/utils/golden.ts +3 -4
  512. package/lib/utils/license.ts +29 -21
  513. package/lib/utils/retention.ts +11 -8
  514. package/lib/utils/shape-supply.ts +6 -7
  515. package/lib/utils/split.ts +15 -14
  516. package/lib/utils/tokenize.ts +9 -8
  517. package/lib/utils/wof-json.ts +36 -22
  518. package/lib/utils.ts +2 -5
  519. package/lib/uy/adapters/ide/adapter.ts +22 -17
  520. package/lib/ve/recipes/reviewed-postcode-tail.ts +8 -8
  521. package/out/adapters/cordis/adapter.d.ts +2 -126
  522. package/out/adapters/cordis/adapter.d.ts.map +1 -1
  523. package/out/adapters/cordis/adapter.js +8 -10
  524. package/out/adapters/cordis/adapter.js.map +1 -1
  525. package/out/adapters/dedup-key.d.ts +2 -9
  526. package/out/adapters/dedup-key.d.ts.map +1 -1
  527. package/out/adapters/dedup-key.js +4 -9
  528. package/out/adapters/dedup-key.js.map +1 -1
  529. package/out/adapters/errors.d.ts +0 -4
  530. package/out/adapters/errors.d.ts.map +1 -1
  531. package/out/adapters/errors.js +2 -4
  532. package/out/adapters/errors.js.map +1 -1
  533. package/out/adapters/geonames/adapter.d.ts +0 -10
  534. package/out/adapters/geonames/adapter.d.ts.map +1 -1
  535. package/out/adapters/geonames/adapter.js +4 -6
  536. package/out/adapters/geonames/adapter.js.map +1 -1
  537. package/out/adapters/geonames/features/adapter.d.ts +0 -16
  538. package/out/adapters/geonames/features/adapter.d.ts.map +1 -1
  539. package/out/adapters/geonames/features/adapter.js +2 -3
  540. package/out/adapters/geonames/features/adapter.js.map +1 -1
  541. package/out/adapters/geonames/postal/adapter.d.ts +0 -8
  542. package/out/adapters/geonames/postal/adapter.d.ts.map +1 -1
  543. package/out/adapters/geonames/postal/adapter.js +4 -6
  544. package/out/adapters/geonames/postal/adapter.js.map +1 -1
  545. package/out/adapters/gleif/adapter.d.ts +3 -97
  546. package/out/adapters/gleif/adapter.d.ts.map +1 -1
  547. package/out/adapters/gleif/adapter.js +86 -67
  548. package/out/adapters/gleif/adapter.js.map +1 -1
  549. package/out/adapters/libpostal-dictionary.d.ts +0 -7
  550. package/out/adapters/libpostal-dictionary.d.ts.map +1 -1
  551. package/out/adapters/libpostal-dictionary.js +2 -4
  552. package/out/adapters/libpostal-dictionary.js.map +1 -1
  553. package/out/adapters/openaddresses/adapter.d.ts +0 -12
  554. package/out/adapters/openaddresses/adapter.d.ts.map +1 -1
  555. package/out/adapters/openaddresses/adapter.js +8 -7
  556. package/out/adapters/openaddresses/adapter.js.map +1 -1
  557. package/out/adapters/osm/adapter.d.ts +1 -12
  558. package/out/adapters/osm/adapter.d.ts.map +1 -1
  559. package/out/adapters/osm/adapter.js +10 -9
  560. package/out/adapters/osm/adapter.js.map +1 -1
  561. package/out/adapters/osm/license.d.ts +1 -4
  562. package/out/adapters/osm/license.d.ts.map +1 -1
  563. package/out/adapters/osm/license.js +3 -4
  564. package/out/adapters/osm/license.js.map +1 -1
  565. package/out/adapters/overture/adapter.d.ts +0 -8
  566. package/out/adapters/overture/adapter.d.ts.map +1 -1
  567. package/out/adapters/overture/adapter.js +5 -5
  568. package/out/adapters/overture/adapter.js.map +1 -1
  569. package/out/adapters/overture/paths.d.ts +13 -0
  570. package/out/adapters/overture/paths.d.ts.map +1 -0
  571. package/out/adapters/overture/paths.js +21 -0
  572. package/out/adapters/overture/paths.js.map +1 -0
  573. package/out/adapters/po-box/adapter.d.ts +0 -10
  574. package/out/adapters/po-box/adapter.d.ts.map +1 -1
  575. package/out/adapters/po-box/adapter.js +8 -9
  576. package/out/adapters/po-box/adapter.js.map +1 -1
  577. package/out/adapters/present.d.ts.map +1 -1
  578. package/out/adapters/present.js +2 -0
  579. package/out/adapters/present.js.map +1 -1
  580. package/out/adapters/record-id.d.ts +0 -15
  581. package/out/adapters/record-id.d.ts.map +1 -1
  582. package/out/adapters/record-id.js +2 -3
  583. package/out/adapters/record-id.js.map +1 -1
  584. package/out/adapters/registry.d.ts +0 -11
  585. package/out/adapters/registry.d.ts.map +1 -1
  586. package/out/adapters/registry.js +6 -7
  587. package/out/adapters/registry.js.map +1 -1
  588. package/out/adapters/sha256-stream.d.ts +0 -7
  589. package/out/adapters/sha256-stream.d.ts.map +1 -1
  590. package/out/adapters/sha256-stream.js +2 -4
  591. package/out/adapters/sha256-stream.js.map +1 -1
  592. package/out/adapters/source-id.d.ts +9 -10
  593. package/out/adapters/source-id.d.ts.map +1 -1
  594. package/out/adapters/source-id.js +3 -15
  595. package/out/adapters/source-id.js.map +1 -1
  596. package/out/adapters/street/line.d.ts +24 -19
  597. package/out/adapters/street/line.d.ts.map +1 -1
  598. package/out/adapters/street/line.js +35 -21
  599. package/out/adapters/street/line.js.map +1 -1
  600. package/out/adapters/street/unit.d.ts +13 -7
  601. package/out/adapters/street/unit.d.ts.map +1 -1
  602. package/out/adapters/street/unit.js +42 -15
  603. package/out/adapters/street/unit.js.map +1 -1
  604. package/out/adapters/wof/admin/json/adapter.d.ts +0 -40
  605. package/out/adapters/wof/admin/json/adapter.d.ts.map +1 -1
  606. package/out/adapters/wof/admin/json/adapter.js +36 -32
  607. package/out/adapters/wof/admin/json/adapter.js.map +1 -1
  608. package/out/adapters/wof/admin/json/explore.d.ts +5 -18
  609. package/out/adapters/wof/admin/json/explore.d.ts.map +1 -1
  610. package/out/adapters/wof/admin/json/explore.js +12 -15
  611. package/out/adapters/wof/admin/json/explore.js.map +1 -1
  612. package/out/adapters/wof/admin/json/region-codes.d.ts +0 -13
  613. package/out/adapters/wof/admin/json/region-codes.d.ts.map +1 -1
  614. package/out/adapters/wof/admin/json/region-codes.js +11 -9
  615. package/out/adapters/wof/admin/json/region-codes.js.map +1 -1
  616. package/out/adapters/wof/json-rows.d.ts +3 -9
  617. package/out/adapters/wof/json-rows.d.ts.map +1 -1
  618. package/out/adapters/wof/json-rows.js +5 -6
  619. package/out/adapters/wof/json-rows.js.map +1 -1
  620. package/out/adapters/wof/postalcode-json/adapter.d.ts +0 -17
  621. package/out/adapters/wof/postalcode-json/adapter.d.ts.map +1 -1
  622. package/out/adapters/wof/postalcode-json/adapter.js +2 -17
  623. package/out/adapters/wof/postalcode-json/adapter.js.map +1 -1
  624. package/out/adapters/wof/record-cache.d.ts +0 -6
  625. package/out/adapters/wof/record-cache.d.ts.map +1 -1
  626. package/out/adapters/wof/record-cache.js +2 -3
  627. package/out/adapters/wof/record-cache.js.map +1 -1
  628. package/out/adapters/wof/sample.d.ts +1 -4
  629. package/out/adapters/wof/sample.d.ts.map +1 -1
  630. package/out/adapters/wof/sample.js +3 -7
  631. package/out/adapters/wof/sample.js.map +1 -1
  632. package/out/adapters.d.ts +1 -40
  633. package/out/adapters.d.ts.map +1 -1
  634. package/out/adapters.js +39 -30
  635. package/out/adapters.js.map +1 -1
  636. package/out/address-records/admission.d.ts +15 -0
  637. package/out/address-records/admission.d.ts.map +1 -0
  638. package/out/address-records/admission.js +75 -0
  639. package/out/address-records/admission.js.map +1 -0
  640. package/out/address-records/legal-forms.d.ts +9 -0
  641. package/out/address-records/legal-forms.d.ts.map +1 -0
  642. package/out/address-records/legal-forms.js +30 -0
  643. package/out/address-records/legal-forms.js.map +1 -0
  644. package/out/address-records/openaddresses.d.ts +74 -0
  645. package/out/address-records/openaddresses.d.ts.map +1 -0
  646. package/out/address-records/openaddresses.js +130 -0
  647. package/out/address-records/openaddresses.js.map +1 -0
  648. package/out/address-records/overture.d.ts +61 -0
  649. package/out/address-records/overture.d.ts.map +1 -0
  650. package/out/address-records/overture.js +103 -0
  651. package/out/address-records/overture.js.map +1 -0
  652. package/out/au/adapters/gnaf/adapter.d.ts +0 -14
  653. package/out/au/adapters/gnaf/adapter.d.ts.map +1 -1
  654. package/out/au/adapters/gnaf/adapter.js +9 -10
  655. package/out/au/adapters/gnaf/adapter.js.map +1 -1
  656. package/out/au/adapters/gnaf/assemble.d.ts +0 -18
  657. package/out/au/adapters/gnaf/assemble.d.ts.map +1 -1
  658. package/out/au/adapters/gnaf/assemble.js +18 -13
  659. package/out/au/adapters/gnaf/assemble.js.map +1 -1
  660. package/out/au/recipes/delivery-guideline.d.ts +0 -13
  661. package/out/au/recipes/delivery-guideline.d.ts.map +1 -1
  662. package/out/au/recipes/delivery-guideline.js +9 -10
  663. package/out/au/recipes/delivery-guideline.js.map +1 -1
  664. package/out/au/recipes/unit-type-guideline.d.ts +0 -19
  665. package/out/au/recipes/unit-type-guideline.d.ts.map +1 -1
  666. package/out/au/recipes/unit-type-guideline.js +14 -14
  667. package/out/au/recipes/unit-type-guideline.js.map +1 -1
  668. package/out/az/adapters/opendata/adapter.d.ts +1 -35
  669. package/out/az/adapters/opendata/adapter.d.ts.map +1 -1
  670. package/out/az/adapters/opendata/adapter.js +27 -21
  671. package/out/az/adapters/opendata/adapter.js.map +1 -1
  672. package/out/be/adapters/brussels/adapter.d.ts +2 -116
  673. package/out/be/adapters/brussels/adapter.d.ts.map +1 -1
  674. package/out/be/adapters/brussels/adapter.js +107 -86
  675. package/out/be/adapters/brussels/adapter.js.map +1 -1
  676. package/out/be/adapters/vlaanderen/adapter.d.ts +4 -71
  677. package/out/be/adapters/vlaanderen/adapter.d.ts.map +1 -1
  678. package/out/be/adapters/vlaanderen/adapter.js +50 -43
  679. package/out/be/adapters/vlaanderen/adapter.js.map +1 -1
  680. package/out/be/adapters/wallonie/adapter.d.ts +1 -128
  681. package/out/be/adapters/wallonie/adapter.d.ts.map +1 -1
  682. package/out/be/adapters/wallonie/adapter.js +117 -90
  683. package/out/be/adapters/wallonie/adapter.js.map +1 -1
  684. package/out/be/tools/fetch/brussels.d.ts +12 -14
  685. package/out/be/tools/fetch/brussels.d.ts.map +1 -1
  686. package/out/be/tools/fetch/brussels.js +14 -14
  687. package/out/be/tools/fetch/brussels.js.map +1 -1
  688. package/out/be/tools/fetch/wallonie.d.ts +12 -15
  689. package/out/be/tools/fetch/wallonie.d.ts.map +1 -1
  690. package/out/be/tools/fetch/wallonie.js +14 -15
  691. package/out/be/tools/fetch/wallonie.js.map +1 -1
  692. package/out/bs/adapters/gbpa/adapter.d.ts +0 -21
  693. package/out/bs/adapters/gbpa/adapter.d.ts.map +1 -1
  694. package/out/bs/adapters/gbpa/adapter.js +18 -15
  695. package/out/bs/adapters/gbpa/adapter.js.map +1 -1
  696. package/out/build/adapters.d.ts +27 -8
  697. package/out/build/adapters.d.ts.map +1 -1
  698. package/out/build/adapters.js +32 -5
  699. package/out/build/adapters.js.map +1 -1
  700. package/out/build/align/range.d.ts +0 -15
  701. package/out/build/align/range.d.ts.map +1 -1
  702. package/out/build/align/range.js +2 -3
  703. package/out/build/align/range.js.map +1 -1
  704. package/out/build/align/totals.d.ts +0 -3
  705. package/out/build/align/totals.d.ts.map +1 -1
  706. package/out/build/align/totals.js +2 -14
  707. package/out/build/align/totals.js.map +1 -1
  708. package/out/build/align.d.ts +1 -11
  709. package/out/build/align.d.ts.map +1 -1
  710. package/out/build/align.js +3 -4
  711. package/out/build/align.js.map +1 -1
  712. package/out/build/budget.d.ts +1 -16
  713. package/out/build/budget.d.ts.map +1 -1
  714. package/out/build/budget.js +3 -4
  715. package/out/build/budget.js.map +1 -1
  716. package/out/build/checkpoint.d.ts +2 -18
  717. package/out/build/checkpoint.d.ts.map +1 -1
  718. package/out/build/checkpoint.js +4 -5
  719. package/out/build/checkpoint.js.map +1 -1
  720. package/out/build/code-hash.d.ts +1 -25
  721. package/out/build/code-hash.d.ts.map +1 -1
  722. package/out/build/code-hash.js +17 -15
  723. package/out/build/code-hash.js.map +1 -1
  724. package/out/build/component-check.d.ts +1 -12
  725. package/out/build/component-check.d.ts.map +1 -1
  726. package/out/build/component-check.js +4 -5
  727. package/out/build/component-check.js.map +1 -1
  728. package/out/build/eligibility.d.ts +0 -6
  729. package/out/build/eligibility.d.ts.map +1 -1
  730. package/out/build/eligibility.js +2 -3
  731. package/out/build/eligibility.js.map +1 -1
  732. package/out/build/heap.d.ts +0 -6
  733. package/out/build/heap.d.ts.map +1 -1
  734. package/out/build/heap.js +2 -3
  735. package/out/build/heap.js.map +1 -1
  736. package/out/build/holdout-check.d.ts +1 -14
  737. package/out/build/holdout-check.d.ts.map +1 -1
  738. package/out/build/holdout-check.js +3 -4
  739. package/out/build/holdout-check.js.map +1 -1
  740. package/out/build/inputs.d.ts +20 -17
  741. package/out/build/inputs.d.ts.map +1 -1
  742. package/out/build/inputs.js +23 -12
  743. package/out/build/inputs.js.map +1 -1
  744. package/out/build/lock.d.ts +0 -3
  745. package/out/build/lock.d.ts.map +1 -1
  746. package/out/build/lock.js +2 -3
  747. package/out/build/lock.js.map +1 -1
  748. package/out/build/manifest.d.ts +0 -9
  749. package/out/build/manifest.d.ts.map +1 -1
  750. package/out/build/manifest.js +2 -3
  751. package/out/build/manifest.js.map +1 -1
  752. package/out/build/parallel.d.ts +0 -25
  753. package/out/build/parallel.d.ts.map +1 -1
  754. package/out/build/parallel.js +12 -9
  755. package/out/build/parallel.js.map +1 -1
  756. package/out/build/prior-output.d.ts +0 -12
  757. package/out/build/prior-output.d.ts.map +1 -1
  758. package/out/build/prior-output.js +2 -3
  759. package/out/build/prior-output.js.map +1 -1
  760. package/out/build/rows.d.ts +0 -3
  761. package/out/build/rows.d.ts.map +1 -1
  762. package/out/build/rows.js +2 -6
  763. package/out/build/rows.js.map +1 -1
  764. package/out/build/settings.d.ts +1 -10
  765. package/out/build/settings.d.ts.map +1 -1
  766. package/out/build/settings.js +3 -4
  767. package/out/build/settings.js.map +1 -1
  768. package/out/build/source-record.d.ts +2 -20
  769. package/out/build/source-record.d.ts.map +1 -1
  770. package/out/build/source-record.js +2 -3
  771. package/out/build/source-record.js.map +1 -1
  772. package/out/build/types.d.ts +2 -5
  773. package/out/build/types.d.ts.map +1 -1
  774. package/out/build/types.js +2 -10
  775. package/out/build/types.js.map +1 -1
  776. package/out/build/worker.d.ts +7 -15
  777. package/out/build/worker.d.ts.map +1 -1
  778. package/out/build/worker.js +4 -4
  779. package/out/build/worker.js.map +1 -1
  780. package/out/build.d.ts +0 -12
  781. package/out/build.d.ts.map +1 -1
  782. package/out/build.js +7 -6
  783. package/out/build.js.map +1 -1
  784. package/out/cjk/builder.d.ts +2 -13
  785. package/out/cjk/builder.d.ts.map +1 -1
  786. package/out/cjk/builder.js +4 -5
  787. package/out/cjk/builder.js.map +1 -1
  788. package/out/cjk/foreign-places.d.ts +4 -16
  789. package/out/cjk/foreign-places.d.ts.map +1 -1
  790. package/out/cjk/foreign-places.js +8 -7
  791. package/out/cjk/foreign-places.js.map +1 -1
  792. package/out/cjk/overlay.d.ts +0 -17
  793. package/out/cjk/overlay.d.ts.map +1 -1
  794. package/out/cjk/overlay.js +2 -3
  795. package/out/cjk/overlay.js.map +1 -1
  796. package/out/cjk/registry.d.ts +4 -19
  797. package/out/cjk/registry.d.ts.map +1 -1
  798. package/out/cjk/registry.js +9 -10
  799. package/out/cjk/registry.js.map +1 -1
  800. package/out/cjk/text.d.ts +1 -11
  801. package/out/cjk/text.d.ts.map +1 -1
  802. package/out/cjk/text.js +3 -4
  803. package/out/cjk/text.js.map +1 -1
  804. package/out/cn/recipes/organizational-units.d.ts +0 -9
  805. package/out/cn/recipes/organizational-units.d.ts.map +1 -1
  806. package/out/cn/recipes/organizational-units.js +2 -3
  807. package/out/cn/recipes/organizational-units.js.map +1 -1
  808. package/out/cz/adapters/cuzk/adapter.d.ts +1 -29
  809. package/out/cz/adapters/cuzk/adapter.d.ts.map +1 -1
  810. package/out/cz/adapters/cuzk/adapter.js +7 -9
  811. package/out/cz/adapters/cuzk/adapter.js.map +1 -1
  812. package/out/cz/recipes/pcfirst-preposition.d.ts +0 -12
  813. package/out/cz/recipes/pcfirst-preposition.d.ts.map +1 -1
  814. package/out/cz/recipes/pcfirst-preposition.js +8 -10
  815. package/out/cz/recipes/pcfirst-preposition.js.map +1 -1
  816. package/out/cz/tools/fetch/cuzk.d.ts +47 -47
  817. package/out/cz/tools/fetch/cuzk.d.ts.map +1 -1
  818. package/out/cz/tools/fetch/cuzk.js +52 -50
  819. package/out/cz/tools/fetch/cuzk.js.map +1 -1
  820. package/out/de/fragment-board.d.ts +0 -18
  821. package/out/de/fragment-board.d.ts.map +1 -1
  822. package/out/de/fragment-board.js +2 -3
  823. package/out/de/fragment-board.js.map +1 -1
  824. package/out/de/recipes/locale.d.ts +0 -19
  825. package/out/de/recipes/locale.d.ts.map +1 -1
  826. package/out/de/recipes/locale.js +14 -13
  827. package/out/de/recipes/locale.js.map +1 -1
  828. package/out/de/recipes/postfach-guideline.d.ts +0 -11
  829. package/out/de/recipes/postfach-guideline.d.ts.map +1 -1
  830. package/out/de/recipes/postfach-guideline.js +4 -6
  831. package/out/de/recipes/postfach-guideline.js.map +1 -1
  832. package/out/directory.d.ts +0 -11
  833. package/out/directory.d.ts.map +1 -1
  834. package/out/directory.js +2 -3
  835. package/out/directory.js.map +1 -1
  836. package/out/dk/adapters/inspire/adapter.d.ts +3 -50
  837. package/out/dk/adapters/inspire/adapter.d.ts.map +1 -1
  838. package/out/dk/adapters/inspire/adapter.js +50 -42
  839. package/out/dk/adapters/inspire/adapter.js.map +1 -1
  840. package/out/dk/tools/fetch/inspire.d.ts +2 -42
  841. package/out/dk/tools/fetch/inspire.d.ts.map +1 -1
  842. package/out/dk/tools/fetch/inspire.js +32 -31
  843. package/out/dk/tools/fetch/inspire.js.map +1 -1
  844. package/out/ee/adapters/ads/adapter.d.ts +1 -48
  845. package/out/ee/adapters/ads/adapter.d.ts.map +1 -1
  846. package/out/ee/adapters/ads/adapter.js +49 -43
  847. package/out/ee/adapters/ads/adapter.js.map +1 -1
  848. package/out/ee/tools/fetch/ads.d.ts +33 -30
  849. package/out/ee/tools/fetch/ads.d.ts.map +1 -1
  850. package/out/ee/tools/fetch/ads.js +36 -31
  851. package/out/ee/tools/fetch/ads.js.map +1 -1
  852. package/out/env.d.ts +0 -7
  853. package/out/env.d.ts.map +1 -1
  854. package/out/env.js +2 -4
  855. package/out/env.js.map +1 -1
  856. package/out/es/adapters/bizkaia/adapter.d.ts +2 -83
  857. package/out/es/adapters/bizkaia/adapter.d.ts.map +1 -1
  858. package/out/es/adapters/bizkaia/adapter.js +69 -58
  859. package/out/es/adapters/bizkaia/adapter.js.map +1 -1
  860. package/out/es/adapters/catastro/adapter.d.ts +0 -70
  861. package/out/es/adapters/catastro/adapter.d.ts.map +1 -1
  862. package/out/es/adapters/catastro/adapter.js +62 -49
  863. package/out/es/adapters/catastro/adapter.js.map +1 -1
  864. package/out/es/adapters/gipuzkoa/adapter.d.ts +0 -48
  865. package/out/es/adapters/gipuzkoa/adapter.d.ts.map +1 -1
  866. package/out/es/adapters/gipuzkoa/adapter.js +5 -51
  867. package/out/es/adapters/gipuzkoa/adapter.js.map +1 -1
  868. package/out/es/adapters/navarra/adapter.d.ts +41 -36
  869. package/out/es/adapters/navarra/adapter.d.ts.map +1 -1
  870. package/out/es/adapters/navarra/adapter.js +40 -33
  871. package/out/es/adapters/navarra/adapter.js.map +1 -1
  872. package/out/es/cadastre.d.ts +3 -17
  873. package/out/es/cadastre.d.ts.map +1 -1
  874. package/out/es/cadastre.js +14 -14
  875. package/out/es/cadastre.js.map +1 -1
  876. package/out/es/tools/fetch/bizkaia.d.ts +42 -34
  877. package/out/es/tools/fetch/bizkaia.d.ts.map +1 -1
  878. package/out/es/tools/fetch/bizkaia.js +48 -38
  879. package/out/es/tools/fetch/bizkaia.js.map +1 -1
  880. package/out/es/tools/fetch/catastro.d.ts +47 -46
  881. package/out/es/tools/fetch/catastro.d.ts.map +1 -1
  882. package/out/es/tools/fetch/catastro.js +50 -47
  883. package/out/es/tools/fetch/catastro.js.map +1 -1
  884. package/out/es/tools/fetch/gipuzkoa.d.ts +27 -26
  885. package/out/es/tools/fetch/gipuzkoa.d.ts.map +1 -1
  886. package/out/es/tools/fetch/gipuzkoa.js +28 -25
  887. package/out/es/tools/fetch/gipuzkoa.js.map +1 -1
  888. package/out/es/tools/fetch/navarra.d.ts +31 -33
  889. package/out/es/tools/fetch/navarra.d.ts.map +1 -1
  890. package/out/es/tools/fetch/navarra.js +37 -37
  891. package/out/es/tools/fetch/navarra.js.map +1 -1
  892. package/out/fi/adapters/ryhti/adapter.d.ts +0 -57
  893. package/out/fi/adapters/ryhti/adapter.d.ts.map +1 -1
  894. package/out/fi/adapters/ryhti/adapter.js +57 -52
  895. package/out/fi/adapters/ryhti/adapter.js.map +1 -1
  896. package/out/fi/tools/fetch/ryhti.d.ts +29 -32
  897. package/out/fi/tools/fetch/ryhti.d.ts.map +1 -1
  898. package/out/fi/tools/fetch/ryhti.js +33 -34
  899. package/out/fi/tools/fetch/ryhti.js.map +1 -1
  900. package/out/fingerprints.d.ts +1 -23
  901. package/out/fingerprints.d.ts.map +1 -1
  902. package/out/fingerprints.js +3 -4
  903. package/out/fingerprints.js.map +1 -1
  904. package/out/fo/adapters/adressur/adapter.d.ts +0 -26
  905. package/out/fo/adapters/adressur/adapter.d.ts.map +1 -1
  906. package/out/fo/adapters/adressur/adapter.js +22 -19
  907. package/out/fo/adapters/adressur/adapter.js.map +1 -1
  908. package/out/fr/adapters/annuaire-education/adapter.d.ts +4 -91
  909. package/out/fr/adapters/annuaire-education/adapter.d.ts.map +1 -1
  910. package/out/fr/adapters/annuaire-education/adapter.js +75 -67
  911. package/out/fr/adapters/annuaire-education/adapter.js.map +1 -1
  912. package/out/fr/adapters/ban/adapter.d.ts +0 -25
  913. package/out/fr/adapters/ban/adapter.d.ts.map +1 -1
  914. package/out/fr/adapters/ban/adapter.js +23 -17
  915. package/out/fr/adapters/ban/adapter.js.map +1 -1
  916. package/out/fr/adapters/finess/adapter.d.ts +7 -100
  917. package/out/fr/adapters/finess/adapter.d.ts.map +1 -1
  918. package/out/fr/adapters/finess/adapter.js +74 -59
  919. package/out/fr/adapters/finess/adapter.js.map +1 -1
  920. package/out/fr/adapters/finess/postal-lines.d.ts +3 -16
  921. package/out/fr/adapters/finess/postal-lines.d.ts.map +1 -1
  922. package/out/fr/adapters/finess/postal-lines.js +10 -12
  923. package/out/fr/adapters/finess/postal-lines.js.map +1 -1
  924. package/out/fr/adapters/finess/voie-type.d.ts +4 -28
  925. package/out/fr/adapters/finess/voie-type.d.ts.map +1 -1
  926. package/out/fr/adapters/finess/voie-type.js +23 -23
  927. package/out/fr/adapters/finess/voie-type.js.map +1 -1
  928. package/out/fr/address-records/ban.d.ts +44 -0
  929. package/out/fr/address-records/ban.d.ts.map +1 -0
  930. package/out/fr/address-records/ban.js +105 -0
  931. package/out/fr/address-records/ban.js.map +1 -0
  932. package/out/fr/insee-country.d.ts +8 -10
  933. package/out/fr/insee-country.d.ts.map +1 -1
  934. package/out/fr/insee-country.js +10 -10
  935. package/out/fr/insee-country.js.map +1 -1
  936. package/out/fr/recipes/admin-split.d.ts +0 -9
  937. package/out/fr/recipes/admin-split.d.ts.map +1 -1
  938. package/out/fr/recipes/admin-split.js +2 -9
  939. package/out/fr/recipes/admin-split.js.map +1 -1
  940. package/out/fr/recipes/bare-street.d.ts +0 -7
  941. package/out/fr/recipes/bare-street.d.ts.map +1 -1
  942. package/out/fr/recipes/bare-street.js +2 -4
  943. package/out/fr/recipes/bare-street.js.map +1 -1
  944. package/out/fr/recipes/fragment.d.ts +0 -12
  945. package/out/fr/recipes/fragment.d.ts.map +1 -1
  946. package/out/fr/recipes/fragment.js +6 -7
  947. package/out/fr/recipes/fragment.js.map +1 -1
  948. package/out/fr/recipes/house-venue-tuples.d.ts +2 -8
  949. package/out/fr/recipes/house-venue-tuples.d.ts.map +1 -1
  950. package/out/fr/recipes/house-venue-tuples.js +4 -5
  951. package/out/fr/recipes/house-venue-tuples.js.map +1 -1
  952. package/out/fr/recipes/lieudit.d.ts +0 -24
  953. package/out/fr/recipes/lieudit.d.ts.map +1 -1
  954. package/out/fr/recipes/lieudit.js +22 -19
  955. package/out/fr/recipes/lieudit.js.map +1 -1
  956. package/out/fr/recipes/order.d.ts +0 -9
  957. package/out/fr/recipes/order.d.ts.map +1 -1
  958. package/out/fr/recipes/order.js +4 -11
  959. package/out/fr/recipes/order.js.map +1 -1
  960. package/out/fr/recipes/unit-line-guideline.d.ts +0 -15
  961. package/out/fr/recipes/unit-line-guideline.d.ts.map +1 -1
  962. package/out/fr/recipes/unit-line-guideline.js +13 -11
  963. package/out/fr/recipes/unit-line-guideline.js.map +1 -1
  964. package/out/fr/street-decompose.d.ts +0 -16
  965. package/out/fr/street-decompose.d.ts.map +1 -1
  966. package/out/fr/street-decompose.js +7 -6
  967. package/out/fr/street-decompose.js.map +1 -1
  968. package/out/fr/tools/fetch/annuaire-education.d.ts +15 -14
  969. package/out/fr/tools/fetch/annuaire-education.d.ts.map +1 -1
  970. package/out/fr/tools/fetch/annuaire-education.js +17 -14
  971. package/out/fr/tools/fetch/annuaire-education.js.map +1 -1
  972. package/out/fr/tools/fetch/ban.d.ts +0 -21
  973. package/out/fr/tools/fetch/ban.d.ts.map +1 -1
  974. package/out/fr/tools/fetch/ban.js +16 -15
  975. package/out/fr/tools/fetch/ban.js.map +1 -1
  976. package/out/fr/tools/fetch/finess.d.ts +38 -28
  977. package/out/fr/tools/fetch/finess.d.ts.map +1 -1
  978. package/out/fr/tools/fetch/finess.js +42 -34
  979. package/out/fr/tools/fetch/finess.js.map +1 -1
  980. package/out/gauntlet-inputs.d.ts +2 -17
  981. package/out/gauntlet-inputs.d.ts.map +1 -1
  982. package/out/gauntlet-inputs.js +5 -6
  983. package/out/gauntlet-inputs.js.map +1 -1
  984. package/out/gb/adapters/os-open/adapter.d.ts +1 -31
  985. package/out/gb/adapters/os-open/adapter.d.ts.map +1 -1
  986. package/out/gb/adapters/os-open/adapter.js +21 -15
  987. package/out/gb/adapters/os-open/adapter.js.map +1 -1
  988. package/out/gb/constituent-country.d.ts +0 -13
  989. package/out/gb/constituent-country.d.ts.map +1 -1
  990. package/out/gb/constituent-country.js +8 -8
  991. package/out/gb/constituent-country.js.map +1 -1
  992. package/out/gb/county.d.ts +1 -15
  993. package/out/gb/county.d.ts.map +1 -1
  994. package/out/gb/county.js +13 -13
  995. package/out/gb/county.js.map +1 -1
  996. package/out/gb/os-open/nearest-link.d.ts +1 -17
  997. package/out/gb/os-open/nearest-link.d.ts.map +1 -1
  998. package/out/gb/os-open/nearest-link.js +12 -12
  999. package/out/gb/os-open/nearest-link.js.map +1 -1
  1000. package/out/gb/os-open/open/names.d.ts +1 -16
  1001. package/out/gb/os-open/open/names.d.ts.map +1 -1
  1002. package/out/gb/os-open/open/names.js +11 -10
  1003. package/out/gb/os-open/open/names.js.map +1 -1
  1004. package/out/gb/os-open/open/roads.d.ts +29 -18
  1005. package/out/gb/os-open/open/roads.d.ts.map +1 -1
  1006. package/out/gb/os-open/open/roads.js +60 -13
  1007. package/out/gb/os-open/open/roads.js.map +1 -1
  1008. package/out/gb/recipes/house-venue-tuples.d.ts +4 -18
  1009. package/out/gb/recipes/house-venue-tuples.d.ts.map +1 -1
  1010. package/out/gb/recipes/house-venue-tuples.js +7 -8
  1011. package/out/gb/recipes/house-venue-tuples.js.map +1 -1
  1012. package/out/gb/recipes/sub-building-guideline.d.ts +0 -16
  1013. package/out/gb/recipes/sub-building-guideline.d.ts.map +1 -1
  1014. package/out/gb/recipes/sub-building-guideline.js +10 -10
  1015. package/out/gb/recipes/sub-building-guideline.js.map +1 -1
  1016. package/out/gb/tools/fetch/os-open.d.ts +9 -10
  1017. package/out/gb/tools/fetch/os-open.d.ts.map +1 -1
  1018. package/out/gb/tools/fetch/os-open.js +11 -10
  1019. package/out/gb/tools/fetch/os-open.js.map +1 -1
  1020. package/out/gu/adapters/bsp/adapter.d.ts +2 -30
  1021. package/out/gu/adapters/bsp/adapter.d.ts.map +1 -1
  1022. package/out/gu/adapters/bsp/adapter.js +24 -22
  1023. package/out/gu/adapters/bsp/adapter.js.map +1 -1
  1024. package/out/im/adapters/land-registry/adapter.d.ts +1 -26
  1025. package/out/im/adapters/land-registry/adapter.d.ts.map +1 -1
  1026. package/out/im/adapters/land-registry/adapter.js +22 -19
  1027. package/out/im/adapters/land-registry/adapter.js.map +1 -1
  1028. package/out/index.d.ts +0 -5
  1029. package/out/index.d.ts.map +1 -1
  1030. package/out/index.js +2 -5
  1031. package/out/index.js.map +1 -1
  1032. package/out/inspire/address.d.ts +33 -31
  1033. package/out/inspire/address.d.ts.map +1 -1
  1034. package/out/inspire/address.js +6 -39
  1035. package/out/inspire/address.js.map +1 -1
  1036. package/out/inspire/archive.d.ts +2 -17
  1037. package/out/inspire/archive.d.ts.map +1 -1
  1038. package/out/inspire/archive.js +12 -12
  1039. package/out/inspire/archive.js.map +1 -1
  1040. package/out/inspire/errors.d.ts +9 -11
  1041. package/out/inspire/errors.d.ts.map +1 -1
  1042. package/out/inspire/errors.js +11 -11
  1043. package/out/inspire/errors.js.map +1 -1
  1044. package/out/inspire/stream.d.ts +23 -24
  1045. package/out/inspire/stream.d.ts.map +1 -1
  1046. package/out/inspire/stream.js +3 -28
  1047. package/out/inspire/stream.js.map +1 -1
  1048. package/out/international/recipes/locale.d.ts +0 -9
  1049. package/out/international/recipes/locale.d.ts.map +1 -1
  1050. package/out/international/recipes/locale.js +29 -21
  1051. package/out/international/recipes/locale.js.map +1 -1
  1052. package/out/it/adapters/anac/adapter.d.ts +2 -118
  1053. package/out/it/adapters/anac/adapter.d.ts.map +1 -1
  1054. package/out/it/adapters/anac/adapter.js +82 -71
  1055. package/out/it/adapters/anac/adapter.js.map +1 -1
  1056. package/out/it/recipes/casella-postale-guideline.d.ts +0 -17
  1057. package/out/it/recipes/casella-postale-guideline.d.ts.map +1 -1
  1058. package/out/it/recipes/casella-postale-guideline.js +12 -12
  1059. package/out/it/recipes/casella-postale-guideline.js.map +1 -1
  1060. package/out/it/recipes/unit-line-guideline.d.ts +0 -14
  1061. package/out/it/recipes/unit-line-guideline.d.ts.map +1 -1
  1062. package/out/it/recipes/unit-line-guideline.js +9 -9
  1063. package/out/it/recipes/unit-line-guideline.js.map +1 -1
  1064. package/out/it/tools/fetch/anac.d.ts +22 -24
  1065. package/out/it/tools/fetch/anac.d.ts.map +1 -1
  1066. package/out/it/tools/fetch/anac.js +24 -24
  1067. package/out/it/tools/fetch/anac.js.map +1 -1
  1068. package/out/jp/adapters/wof-admin/adapter.d.ts +0 -30
  1069. package/out/jp/adapters/wof-admin/adapter.d.ts.map +1 -1
  1070. package/out/jp/adapters/wof-admin/adapter.js +11 -13
  1071. package/out/jp/adapters/wof-admin/adapter.js.map +1 -1
  1072. package/out/jp/corpus/assemble.d.ts +0 -13
  1073. package/out/jp/corpus/assemble.d.ts.map +1 -1
  1074. package/out/jp/corpus/assemble.js +2 -3
  1075. package/out/jp/corpus/assemble.js.map +1 -1
  1076. package/out/jp/corpus/probe.d.ts +0 -17
  1077. package/out/jp/corpus/probe.d.ts.map +1 -1
  1078. package/out/jp/corpus/probe.js +2 -3
  1079. package/out/jp/corpus/probe.js.map +1 -1
  1080. package/out/jp/corpus/rows.d.ts +0 -3
  1081. package/out/jp/corpus/rows.d.ts.map +1 -1
  1082. package/out/jp/corpus/rows.js +2 -11
  1083. package/out/jp/corpus/rows.js.map +1 -1
  1084. package/out/jp/corpus/sources.d.ts +1 -12
  1085. package/out/jp/corpus/sources.d.ts.map +1 -1
  1086. package/out/jp/corpus/sources.js +4 -5
  1087. package/out/jp/corpus/sources.js.map +1 -1
  1088. package/out/jp/kana.d.ts +0 -13
  1089. package/out/jp/kana.d.ts.map +1 -1
  1090. package/out/jp/kana.js +2 -3
  1091. package/out/jp/kana.js.map +1 -1
  1092. package/out/jp/registers.d.ts +0 -17
  1093. package/out/jp/registers.d.ts.map +1 -1
  1094. package/out/jp/registers.js +2 -3
  1095. package/out/jp/registers.js.map +1 -1
  1096. package/out/jp/text.d.ts +0 -9
  1097. package/out/jp/text.d.ts.map +1 -1
  1098. package/out/jp/text.js +2 -3
  1099. package/out/jp/text.js.map +1 -1
  1100. package/out/jp/tools/fetch/houjin.d.ts +14 -21
  1101. package/out/jp/tools/fetch/houjin.d.ts.map +1 -1
  1102. package/out/jp/tools/fetch/houjin.js +60 -20
  1103. package/out/jp/tools/fetch/houjin.js.map +1 -1
  1104. package/out/kr/adapters/juso/label-rows.d.ts +0 -12
  1105. package/out/kr/adapters/juso/label-rows.d.ts.map +1 -1
  1106. package/out/kr/adapters/juso/label-rows.js +9 -10
  1107. package/out/kr/adapters/juso/label-rows.js.map +1 -1
  1108. package/out/kr/adapters/localdata/align.d.ts +0 -9
  1109. package/out/kr/adapters/localdata/align.d.ts.map +1 -1
  1110. package/out/kr/adapters/localdata/align.js +6 -7
  1111. package/out/kr/adapters/localdata/align.js.map +1 -1
  1112. package/out/kr/adapters/localdata/key-index.d.ts +0 -9
  1113. package/out/kr/adapters/localdata/key-index.d.ts.map +1 -1
  1114. package/out/kr/adapters/localdata/key-index.js +5 -6
  1115. package/out/kr/adapters/localdata/key-index.js.map +1 -1
  1116. package/out/kr/adapters/localdata/permit-rows.d.ts +0 -12
  1117. package/out/kr/adapters/localdata/permit-rows.d.ts.map +1 -1
  1118. package/out/kr/adapters/localdata/permit-rows.js +10 -10
  1119. package/out/kr/adapters/localdata/permit-rows.js.map +1 -1
  1120. package/out/kr/corpus/assemble.d.ts +4 -16
  1121. package/out/kr/corpus/assemble.d.ts.map +1 -1
  1122. package/out/kr/corpus/assemble.js +7 -8
  1123. package/out/kr/corpus/assemble.js.map +1 -1
  1124. package/out/kr/corpus/rows.d.ts +1 -4
  1125. package/out/kr/corpus/rows.d.ts.map +1 -1
  1126. package/out/kr/corpus/rows.js +3 -13
  1127. package/out/kr/corpus/rows.js.map +1 -1
  1128. package/out/kr/tools/fetch/juso.d.ts +13 -28
  1129. package/out/kr/tools/fetch/juso.d.ts.map +1 -1
  1130. package/out/kr/tools/fetch/juso.js +55 -24
  1131. package/out/kr/tools/fetch/juso.js.map +1 -1
  1132. package/out/kr/tools/fetch/localdata.d.ts +9 -26
  1133. package/out/kr/tools/fetch/localdata.d.ts.map +1 -1
  1134. package/out/kr/tools/fetch/localdata.js +56 -39
  1135. package/out/kr/tools/fetch/localdata.js.map +1 -1
  1136. package/out/li/adapters/llv/adapter.d.ts +0 -27
  1137. package/out/li/adapters/llv/adapter.d.ts.map +1 -1
  1138. package/out/li/adapters/llv/adapter.js +22 -18
  1139. package/out/li/adapters/llv/adapter.js.map +1 -1
  1140. package/out/lu/adapters/bd-adresses/adapter.d.ts +0 -79
  1141. package/out/lu/adapters/bd-adresses/adapter.d.ts.map +1 -1
  1142. package/out/lu/adapters/bd-adresses/adapter.js +45 -46
  1143. package/out/lu/adapters/bd-adresses/adapter.js.map +1 -1
  1144. package/out/lu/tools/fetch/bd-adresses.d.ts +30 -30
  1145. package/out/lu/tools/fetch/bd-adresses.d.ts.map +1 -1
  1146. package/out/lu/tools/fetch/bd-adresses.js +32 -30
  1147. package/out/lu/tools/fetch/bd-adresses.js.map +1 -1
  1148. package/out/lv/adapters/varis/adapter.d.ts +4 -114
  1149. package/out/lv/adapters/varis/adapter.d.ts.map +1 -1
  1150. package/out/lv/adapters/varis/adapter.js +6 -114
  1151. package/out/lv/adapters/varis/adapter.js.map +1 -1
  1152. package/out/lv/tools/fetch/varis.d.ts +8 -10
  1153. package/out/lv/tools/fetch/varis.d.ts.map +1 -1
  1154. package/out/lv/tools/fetch/varis.js +10 -10
  1155. package/out/lv/tools/fetch/varis.js.map +1 -1
  1156. package/out/nl/adapters/kadaster/adapter.d.ts +0 -78
  1157. package/out/nl/adapters/kadaster/adapter.d.ts.map +1 -1
  1158. package/out/nl/adapters/kadaster/adapter.js +84 -64
  1159. package/out/nl/adapters/kadaster/adapter.js.map +1 -1
  1160. package/out/nl/recipes/postcode.d.ts +0 -18
  1161. package/out/nl/recipes/postcode.d.ts.map +1 -1
  1162. package/out/nl/recipes/postcode.js +15 -13
  1163. package/out/nl/recipes/postcode.js.map +1 -1
  1164. package/out/nl/tools/fetch/kadaster.d.ts +14 -17
  1165. package/out/nl/tools/fetch/kadaster.d.ts.map +1 -1
  1166. package/out/nl/tools/fetch/kadaster.js +15 -16
  1167. package/out/nl/tools/fetch/kadaster.js.map +1 -1
  1168. package/out/no/adapters/matrikkelen/adapter.d.ts +0 -23
  1169. package/out/no/adapters/matrikkelen/adapter.d.ts.map +1 -1
  1170. package/out/no/adapters/matrikkelen/adapter.js +16 -16
  1171. package/out/no/adapters/matrikkelen/adapter.js.map +1 -1
  1172. package/out/no/recipes/fragment.d.ts +0 -5
  1173. package/out/no/recipes/fragment.d.ts.map +1 -1
  1174. package/out/no/recipes/fragment.js +2 -5
  1175. package/out/no/recipes/fragment.js.map +1 -1
  1176. package/out/no/recipes/street/led.d.ts +0 -15
  1177. package/out/no/recipes/street/led.d.ts.map +1 -1
  1178. package/out/no/recipes/street/led.js +7 -8
  1179. package/out/no/recipes/street/led.js.map +1 -1
  1180. package/out/no/recipes/street.d.ts +0 -10
  1181. package/out/no/recipes/street.d.ts.map +1 -1
  1182. package/out/no/recipes/street.js +6 -7
  1183. package/out/no/recipes/street.js.map +1 -1
  1184. package/out/no/tools/fetch/matrikkelen.d.ts +29 -28
  1185. package/out/no/tools/fetch/matrikkelen.d.ts.map +1 -1
  1186. package/out/no/tools/fetch/matrikkelen.js +31 -28
  1187. package/out/no/tools/fetch/matrikkelen.js.map +1 -1
  1188. package/out/nz/recipes/unit-type-guideline.d.ts +0 -18
  1189. package/out/nz/recipes/unit-type-guideline.d.ts.map +1 -1
  1190. package/out/nz/recipes/unit-type-guideline.js +12 -13
  1191. package/out/nz/recipes/unit-type-guideline.js.map +1 -1
  1192. package/out/parquet/corpus-rows.d.ts +0 -3
  1193. package/out/parquet/corpus-rows.d.ts.map +1 -1
  1194. package/out/parquet/corpus-rows.js +2 -11
  1195. package/out/parquet/corpus-rows.js.map +1 -1
  1196. package/out/parquet/duckdb.d.ts +6 -16
  1197. package/out/parquet/duckdb.d.ts.map +1 -1
  1198. package/out/parquet/duckdb.js +15 -13
  1199. package/out/parquet/duckdb.js.map +1 -1
  1200. package/out/parquet/readers.d.ts +0 -9
  1201. package/out/parquet/readers.d.ts.map +1 -1
  1202. package/out/parquet/readers.js +2 -3
  1203. package/out/parquet/readers.js.map +1 -1
  1204. package/out/parquet/record.d.ts +3 -24
  1205. package/out/parquet/record.d.ts.map +1 -1
  1206. package/out/parquet/record.js +4 -5
  1207. package/out/parquet/record.js.map +1 -1
  1208. package/out/parquet/schema.d.ts +2 -5
  1209. package/out/parquet/schema.d.ts.map +1 -1
  1210. package/out/parquet/schema.js +5 -16
  1211. package/out/parquet/schema.js.map +1 -1
  1212. package/out/parquet/shuffle.d.ts +1 -7
  1213. package/out/parquet/shuffle.d.ts.map +1 -1
  1214. package/out/parquet/shuffle.js +3 -4
  1215. package/out/parquet/shuffle.js.map +1 -1
  1216. package/out/parquet/span-sql.d.ts +0 -3
  1217. package/out/parquet/span-sql.d.ts.map +1 -1
  1218. package/out/parquet/span-sql.js +2 -3
  1219. package/out/parquet/span-sql.js.map +1 -1
  1220. package/out/parquet/streams.d.ts +0 -3
  1221. package/out/parquet/streams.d.ts.map +1 -1
  1222. package/out/parquet/streams.js +3 -10
  1223. package/out/parquet/streams.js.map +1 -1
  1224. package/out/parquet/writers.d.ts +3 -35
  1225. package/out/parquet/writers.d.ts.map +1 -1
  1226. package/out/parquet/writers.js +6 -7
  1227. package/out/parquet/writers.js.map +1 -1
  1228. package/out/pl/adapters/emuia/adapter.d.ts +0 -53
  1229. package/out/pl/adapters/emuia/adapter.d.ts.map +1 -1
  1230. package/out/pl/adapters/emuia/adapter.js +55 -45
  1231. package/out/pl/adapters/emuia/adapter.js.map +1 -1
  1232. package/out/pl/tools/fetch/emuia.d.ts +59 -50
  1233. package/out/pl/tools/fetch/emuia.d.ts.map +1 -1
  1234. package/out/pl/tools/fetch/emuia.js +60 -49
  1235. package/out/pl/tools/fetch/emuia.js.map +1 -1
  1236. package/out/post-offices/source.d.ts +107 -0
  1237. package/out/post-offices/source.d.ts.map +1 -0
  1238. package/out/post-offices/source.js +21 -0
  1239. package/out/post-offices/source.js.map +1 -0
  1240. package/out/post-offices/sources.d.ts +13 -0
  1241. package/out/post-offices/sources.d.ts.map +1 -0
  1242. package/out/post-offices/sources.js +8 -0
  1243. package/out/post-offices/sources.js.map +1 -0
  1244. package/out/recipes/address-points.d.ts +1 -12
  1245. package/out/recipes/address-points.d.ts.map +1 -1
  1246. package/out/recipes/address-points.js +3 -4
  1247. package/out/recipes/address-points.js.map +1 -1
  1248. package/out/recipes/anchor-absorption.d.ts +0 -11
  1249. package/out/recipes/anchor-absorption.d.ts.map +1 -1
  1250. package/out/recipes/anchor-absorption.js +9 -9
  1251. package/out/recipes/anchor-absorption.js.map +1 -1
  1252. package/out/recipes/bare/country.d.ts.map +1 -1
  1253. package/out/recipes/bare/country.js +2 -0
  1254. package/out/recipes/bare/country.js.map +1 -1
  1255. package/out/recipes/bare/postcode/eval.d.ts +0 -10
  1256. package/out/recipes/bare/postcode/eval.d.ts.map +1 -1
  1257. package/out/recipes/bare/postcode/eval.js +6 -7
  1258. package/out/recipes/bare/postcode/eval.js.map +1 -1
  1259. package/out/recipes/bare/postcode.d.ts +3 -12
  1260. package/out/recipes/bare/postcode.d.ts.map +1 -1
  1261. package/out/recipes/bare/postcode.js +12 -13
  1262. package/out/recipes/bare/postcode.js.map +1 -1
  1263. package/out/recipes/boundary-stress.d.ts +0 -11
  1264. package/out/recipes/boundary-stress.d.ts.map +1 -1
  1265. package/out/recipes/boundary-stress.js +5 -6
  1266. package/out/recipes/boundary-stress.js.map +1 -1
  1267. package/out/recipes/country-balanced.d.ts +0 -8
  1268. package/out/recipes/country-balanced.d.ts.map +1 -1
  1269. package/out/recipes/country-balanced.js +17 -15
  1270. package/out/recipes/country-balanced.js.map +1 -1
  1271. package/out/recipes/deepseek/batches.d.ts +3 -14
  1272. package/out/recipes/deepseek/batches.d.ts.map +1 -1
  1273. package/out/recipes/deepseek/batches.js +6 -7
  1274. package/out/recipes/deepseek/batches.js.map +1 -1
  1275. package/out/recipes/deepseek/client.d.ts +0 -3
  1276. package/out/recipes/deepseek/client.d.ts.map +1 -1
  1277. package/out/recipes/deepseek/client.js +2 -3
  1278. package/out/recipes/deepseek/client.js.map +1 -1
  1279. package/out/recipes/deepseek/generate.d.ts +0 -9
  1280. package/out/recipes/deepseek/generate.d.ts.map +1 -1
  1281. package/out/recipes/deepseek/generate.js +2 -3
  1282. package/out/recipes/deepseek/generate.js.map +1 -1
  1283. package/out/recipes/deepseek/kryptonite.d.ts +1 -4
  1284. package/out/recipes/deepseek/kryptonite.d.ts.map +1 -1
  1285. package/out/recipes/deepseek/kryptonite.js +3 -4
  1286. package/out/recipes/deepseek/kryptonite.js.map +1 -1
  1287. package/out/recipes/deepseek/prompts.d.ts +0 -3
  1288. package/out/recipes/deepseek/prompts.d.ts.map +1 -1
  1289. package/out/recipes/deepseek/prompts.js +2 -10
  1290. package/out/recipes/deepseek/prompts.js.map +1 -1
  1291. package/out/recipes/deepseek/run.d.ts +2 -12
  1292. package/out/recipes/deepseek/run.d.ts.map +1 -1
  1293. package/out/recipes/deepseek/run.js +4 -5
  1294. package/out/recipes/deepseek/run.js.map +1 -1
  1295. package/out/recipes/deepseek/transliteration.d.ts +1 -4
  1296. package/out/recipes/deepseek/transliteration.d.ts.map +1 -1
  1297. package/out/recipes/deepseek/transliteration.js +3 -4
  1298. package/out/recipes/deepseek/transliteration.js.map +1 -1
  1299. package/out/recipes/fragment-assay/build.d.ts +0 -11
  1300. package/out/recipes/fragment-assay/build.d.ts.map +1 -1
  1301. package/out/recipes/fragment-assay/build.js +2 -3
  1302. package/out/recipes/fragment-assay/build.js.map +1 -1
  1303. package/out/recipes/fragment-assay/rows.d.ts +0 -10
  1304. package/out/recipes/fragment-assay/rows.d.ts.map +1 -1
  1305. package/out/recipes/fragment-assay/rows.js +2 -3
  1306. package/out/recipes/fragment-assay/rows.js.map +1 -1
  1307. package/out/recipes/fragment-assay/sources.d.ts +4 -16
  1308. package/out/recipes/fragment-assay/sources.d.ts.map +1 -1
  1309. package/out/recipes/fragment-assay/sources.js +6 -7
  1310. package/out/recipes/fragment-assay/sources.js.map +1 -1
  1311. package/out/recipes/house/venue/tuples.d.ts +1 -16
  1312. package/out/recipes/house/venue/tuples.d.ts.map +1 -1
  1313. package/out/recipes/house/venue/tuples.js +3 -4
  1314. package/out/recipes/house/venue/tuples.js.map +1 -1
  1315. package/out/recipes/house/venue.d.ts +0 -11
  1316. package/out/recipes/house/venue.d.ts.map +1 -1
  1317. package/out/recipes/house/venue.js +8 -9
  1318. package/out/recipes/house/venue.js.map +1 -1
  1319. package/out/recipes/intersection.d.ts +0 -34
  1320. package/out/recipes/intersection.d.ts.map +1 -1
  1321. package/out/recipes/intersection.js +2 -34
  1322. package/out/recipes/intersection.js.map +1 -1
  1323. package/out/recipes/po/box/cedex/au-nz.d.ts +0 -3
  1324. package/out/recipes/po/box/cedex/au-nz.d.ts.map +1 -1
  1325. package/out/recipes/po/box/cedex/au-nz.js +2 -3
  1326. package/out/recipes/po/box/cedex/au-nz.js.map +1 -1
  1327. package/out/recipes/po/box/cedex/ca.d.ts +0 -3
  1328. package/out/recipes/po/box/cedex/ca.d.ts.map +1 -1
  1329. package/out/recipes/po/box/cedex/ca.js +2 -3
  1330. package/out/recipes/po/box/cedex/ca.js.map +1 -1
  1331. package/out/recipes/po/box/cedex/fr.d.ts +0 -3
  1332. package/out/recipes/po/box/cedex/fr.d.ts.map +1 -1
  1333. package/out/recipes/po/box/cedex/fr.js +2 -3
  1334. package/out/recipes/po/box/cedex/fr.js.map +1 -1
  1335. package/out/recipes/po/box/cedex/phrases.d.ts +0 -3
  1336. package/out/recipes/po/box/cedex/phrases.d.ts.map +1 -1
  1337. package/out/recipes/po/box/cedex/phrases.js +2 -3
  1338. package/out/recipes/po/box/cedex/phrases.js.map +1 -1
  1339. package/out/recipes/po/box/cedex/recipe.d.ts +0 -3
  1340. package/out/recipes/po/box/cedex/recipe.d.ts.map +1 -1
  1341. package/out/recipes/po/box/cedex/recipe.js +4 -5
  1342. package/out/recipes/po/box/cedex/recipe.js.map +1 -1
  1343. package/out/recipes/po/box/cedex/sources.d.ts +1 -4
  1344. package/out/recipes/po/box/cedex/sources.d.ts.map +1 -1
  1345. package/out/recipes/po/box/cedex/sources.js +4 -5
  1346. package/out/recipes/po/box/cedex/sources.js.map +1 -1
  1347. package/out/recipes/po/box/cedex/types.d.ts +0 -3
  1348. package/out/recipes/po/box/cedex/types.d.ts.map +1 -1
  1349. package/out/recipes/po/box/cedex/types.js +2 -3
  1350. package/out/recipes/po/box/cedex/types.js.map +1 -1
  1351. package/out/recipes/po/box/cedex/us.d.ts +0 -3
  1352. package/out/recipes/po/box/cedex/us.d.ts.map +1 -1
  1353. package/out/recipes/po/box/cedex/us.js +2 -3
  1354. package/out/recipes/po/box/cedex/us.js.map +1 -1
  1355. package/out/recipes/po/box/cedex/vocabulary.d.ts +0 -3
  1356. package/out/recipes/po/box/cedex/vocabulary.d.ts.map +1 -1
  1357. package/out/recipes/po/box/cedex/vocabulary.js +2 -3
  1358. package/out/recipes/po/box/cedex/vocabulary.js.map +1 -1
  1359. package/out/recipes/po/box/cedex.d.ts +0 -4
  1360. package/out/recipes/po/box/cedex.d.ts.map +1 -1
  1361. package/out/recipes/po/box/cedex.js +2 -4
  1362. package/out/recipes/po/box/cedex.js.map +1 -1
  1363. package/out/recipes/po/box.d.ts +0 -9
  1364. package/out/recipes/po/box.d.ts.map +1 -1
  1365. package/out/recipes/po/box.js +3 -5
  1366. package/out/recipes/po/box.js.map +1 -1
  1367. package/out/recipes/postal/guideline/leg.d.ts +0 -8
  1368. package/out/recipes/postal/guideline/leg.d.ts.map +1 -1
  1369. package/out/recipes/postal/guideline/leg.js +4 -5
  1370. package/out/recipes/postal/guideline/leg.js.map +1 -1
  1371. package/out/recipes/postal/guideline.d.ts +1 -14
  1372. package/out/recipes/postal/guideline.d.ts.map +1 -1
  1373. package/out/recipes/postal/guideline.js +10 -10
  1374. package/out/recipes/postal/guideline.js.map +1 -1
  1375. package/out/recipes/postal/unit-guideline.d.ts +0 -19
  1376. package/out/recipes/postal/unit-guideline.d.ts.map +1 -1
  1377. package/out/recipes/postal/unit-guideline.js +15 -14
  1378. package/out/recipes/postal/unit-guideline.js.map +1 -1
  1379. package/out/recipes/scaffold.d.ts +4 -14
  1380. package/out/recipes/scaffold.d.ts.map +1 -1
  1381. package/out/recipes/scaffold.js +7 -8
  1382. package/out/recipes/scaffold.js.map +1 -1
  1383. package/out/recipes/secondary.d.ts +0 -17
  1384. package/out/recipes/secondary.d.ts.map +1 -1
  1385. package/out/recipes/secondary.js +2 -3
  1386. package/out/recipes/secondary.js.map +1 -1
  1387. package/out/recipes/sources.d.ts +5 -8
  1388. package/out/recipes/sources.d.ts.map +1 -1
  1389. package/out/recipes/sources.js +7 -8
  1390. package/out/recipes/sources.js.map +1 -1
  1391. package/out/recipes/street/affix.d.ts +0 -5
  1392. package/out/recipes/street/affix.d.ts.map +1 -1
  1393. package/out/recipes/street/affix.js +15 -12
  1394. package/out/recipes/street/affix.js.map +1 -1
  1395. package/out/recipes/street/bare.d.ts +0 -18
  1396. package/out/recipes/street/bare.d.ts.map +1 -1
  1397. package/out/recipes/street/bare.js +15 -14
  1398. package/out/recipes/street/bare.js.map +1 -1
  1399. package/out/recipes/street.d.ts +0 -8
  1400. package/out/recipes/street.d.ts.map +1 -1
  1401. package/out/recipes/street.js +5 -6
  1402. package/out/recipes/street.js.map +1 -1
  1403. package/out/recipes/sub/venue/context.d.ts +0 -6
  1404. package/out/recipes/sub/venue/context.d.ts.map +1 -1
  1405. package/out/recipes/sub/venue/context.js +8 -9
  1406. package/out/recipes/sub/venue/context.js.map +1 -1
  1407. package/out/recipes/sub/venue/render.d.ts +0 -6
  1408. package/out/recipes/sub/venue/render.d.ts.map +1 -1
  1409. package/out/recipes/sub/venue/render.js +2 -3
  1410. package/out/recipes/sub/venue/render.js.map +1 -1
  1411. package/out/recipes/sub/venue/sources.d.ts +1 -6
  1412. package/out/recipes/sub/venue/sources.d.ts.map +1 -1
  1413. package/out/recipes/sub/venue/sources.js +3 -6
  1414. package/out/recipes/sub/venue/sources.js.map +1 -1
  1415. package/out/recipes/sub/venue.d.ts +0 -8
  1416. package/out/recipes/sub/venue.d.ts.map +1 -1
  1417. package/out/recipes/sub/venue.js +4 -6
  1418. package/out/recipes/sub/venue.js.map +1 -1
  1419. package/out/recipes/trailing-region.d.ts +0 -16
  1420. package/out/recipes/trailing-region.d.ts.map +1 -1
  1421. package/out/recipes/trailing-region.js +13 -14
  1422. package/out/recipes/trailing-region.js.map +1 -1
  1423. package/out/recipes/unit.d.ts +5 -8
  1424. package/out/recipes/unit.d.ts.map +1 -1
  1425. package/out/recipes/unit.js +5 -14
  1426. package/out/recipes/unit.js.map +1 -1
  1427. package/out/recipes/venue.d.ts +1 -25
  1428. package/out/recipes/venue.d.ts.map +1 -1
  1429. package/out/recipes/venue.js +23 -21
  1430. package/out/recipes/venue.js.map +1 -1
  1431. package/out/recipes.d.ts +0 -11
  1432. package/out/recipes.d.ts.map +1 -1
  1433. package/out/recipes.js +8 -8
  1434. package/out/recipes.js.map +1 -1
  1435. package/out/registers.d.ts +4 -4
  1436. package/out/registers.d.ts.map +1 -1
  1437. package/out/registers.js +6 -4
  1438. package/out/registers.js.map +1 -1
  1439. package/out/ro/adapters/retea-scolara/adapter.d.ts +1 -47
  1440. package/out/ro/adapters/retea-scolara/adapter.d.ts.map +1 -1
  1441. package/out/ro/adapters/retea-scolara/adapter.js +35 -28
  1442. package/out/ro/adapters/retea-scolara/adapter.js.map +1 -1
  1443. package/out/ro/tools/fetch/retea-scolara.d.ts +7 -9
  1444. package/out/ro/tools/fetch/retea-scolara.d.ts.map +1 -1
  1445. package/out/ro/tools/fetch/retea-scolara.js +9 -9
  1446. package/out/ro/tools/fetch/retea-scolara.js.map +1 -1
  1447. package/out/runner.d.ts +15 -10
  1448. package/out/runner.d.ts.map +1 -1
  1449. package/out/runner.js +8 -8
  1450. package/out/runner.js.map +1 -1
  1451. package/out/sg/recipes/register.d.ts +2 -9
  1452. package/out/sg/recipes/register.d.ts.map +1 -1
  1453. package/out/sg/recipes/register.js +6 -7
  1454. package/out/sg/recipes/register.js.map +1 -1
  1455. package/out/sg/tools/fetch/acra.d.ts +4 -9
  1456. package/out/sg/tools/fetch/acra.d.ts.map +1 -1
  1457. package/out/sg/tools/fetch/acra.js +14 -7
  1458. package/out/sg/tools/fetch/acra.js.map +1 -1
  1459. package/out/si/recipes/bare-village.d.ts +0 -22
  1460. package/out/si/recipes/bare-village.d.ts.map +1 -1
  1461. package/out/si/recipes/bare-village.js +15 -13
  1462. package/out/si/recipes/bare-village.js.map +1 -1
  1463. package/out/sk/adapters/inspire/adapter.d.ts +0 -73
  1464. package/out/sk/adapters/inspire/adapter.d.ts.map +1 -1
  1465. package/out/sk/adapters/inspire/adapter.js +72 -51
  1466. package/out/sk/adapters/inspire/adapter.js.map +1 -1
  1467. package/out/sk/tools/fetch/inspire.d.ts +35 -34
  1468. package/out/sk/tools/fetch/inspire.d.ts.map +1 -1
  1469. package/out/sk/tools/fetch/inspire.js +36 -33
  1470. package/out/sk/tools/fetch/inspire.js.map +1 -1
  1471. package/out/source-register/corpus-inputs.d.ts +7 -24
  1472. package/out/source-register/corpus-inputs.d.ts.map +1 -1
  1473. package/out/source-register/corpus-inputs.js +17 -14
  1474. package/out/source-register/corpus-inputs.js.map +1 -1
  1475. package/out/source-register/effective-manifest.d.ts +3 -24
  1476. package/out/source-register/effective-manifest.d.ts.map +1 -1
  1477. package/out/source-register/effective-manifest.js +16 -9
  1478. package/out/source-register/effective-manifest.js.map +1 -1
  1479. package/out/source-register/register.d.ts +1 -8
  1480. package/out/source-register/register.d.ts.map +1 -1
  1481. package/out/source-register/register.js +4 -6
  1482. package/out/source-register/register.js.map +1 -1
  1483. package/out/source-register/row-license.d.ts +3 -20
  1484. package/out/source-register/row-license.d.ts.map +1 -1
  1485. package/out/source-register/row-license.js +18 -15
  1486. package/out/source-register/row-license.js.map +1 -1
  1487. package/out/source-register/training-manifest.d.ts +12 -23
  1488. package/out/source-register/training-manifest.d.ts.map +1 -1
  1489. package/out/source-register/training-manifest.js +12 -13
  1490. package/out/source-register/training-manifest.js.map +1 -1
  1491. package/out/source-register/types.d.ts +8 -11
  1492. package/out/source-register/types.d.ts.map +1 -1
  1493. package/out/source-register/types.js +6 -11
  1494. package/out/source-register/types.js.map +1 -1
  1495. package/out/source-register.d.ts +4 -7
  1496. package/out/source-register.d.ts.map +1 -1
  1497. package/out/source-register.js +6 -7
  1498. package/out/source-register.js.map +1 -1
  1499. package/out/south-asia/recipes/register.d.ts +0 -27
  1500. package/out/south-asia/recipes/register.d.ts.map +1 -1
  1501. package/out/south-asia/recipes/register.js +19 -17
  1502. package/out/south-asia/recipes/register.js.map +1 -1
  1503. package/out/street-index/reader.d.ts +0 -3
  1504. package/out/street-index/reader.d.ts.map +1 -1
  1505. package/out/street-index/reader.js +2 -3
  1506. package/out/street-index/reader.js.map +1 -1
  1507. package/out/street-index/schema.d.ts +0 -3
  1508. package/out/street-index/schema.d.ts.map +1 -1
  1509. package/out/street-index/schema.js +2 -3
  1510. package/out/street-index/schema.js.map +1 -1
  1511. package/out/street-index/write.d.ts +0 -6
  1512. package/out/street-index/write.d.ts.map +1 -1
  1513. package/out/street-index/write.js +2 -3
  1514. package/out/street-index/write.js.map +1 -1
  1515. package/out/subvenue/harvest.d.ts +5 -33
  1516. package/out/subvenue/harvest.d.ts.map +1 -1
  1517. package/out/subvenue/harvest.js +30 -21
  1518. package/out/subvenue/harvest.js.map +1 -1
  1519. package/out/subvenue/promotions.d.ts +1 -5
  1520. package/out/subvenue/promotions.d.ts.map +1 -1
  1521. package/out/subvenue/promotions.js +3 -8
  1522. package/out/subvenue/promotions.js.map +1 -1
  1523. package/out/subvenue/surfaces.d.ts +0 -10
  1524. package/out/subvenue/surfaces.d.ts.map +1 -1
  1525. package/out/subvenue/surfaces.js +3 -5
  1526. package/out/subvenue/surfaces.js.map +1 -1
  1527. package/out/subvenue/table.d.ts +2 -6
  1528. package/out/subvenue/table.d.ts.map +1 -1
  1529. package/out/subvenue/table.js +3 -12
  1530. package/out/subvenue/table.js.map +1 -1
  1531. package/out/surfaces/locale.d.ts +1 -16
  1532. package/out/surfaces/locale.d.ts.map +1 -1
  1533. package/out/surfaces/locale.js +12 -12
  1534. package/out/surfaces/locale.js.map +1 -1
  1535. package/out/synthesizers/anchor-absorption.d.ts +3 -6
  1536. package/out/synthesizers/anchor-absorption.d.ts.map +1 -1
  1537. package/out/synthesizers/anchor-absorption.js +2 -7
  1538. package/out/synthesizers/anchor-absorption.js.map +1 -1
  1539. package/out/synthesizers/boundary-stress.d.ts +0 -7
  1540. package/out/synthesizers/boundary-stress.d.ts.map +1 -1
  1541. package/out/synthesizers/boundary-stress.js +3 -5
  1542. package/out/synthesizers/boundary-stress.js.map +1 -1
  1543. package/out/synthesizers/house-venue.d.ts +0 -7
  1544. package/out/synthesizers/house-venue.d.ts.map +1 -1
  1545. package/out/synthesizers/house-venue.js +2 -4
  1546. package/out/synthesizers/house-venue.js.map +1 -1
  1547. package/out/synthesizers/no-street.d.ts +0 -9
  1548. package/out/synthesizers/no-street.d.ts.map +1 -1
  1549. package/out/synthesizers/no-street.js +7 -7
  1550. package/out/synthesizers/no-street.js.map +1 -1
  1551. package/out/synthesizers/po-box.d.ts +0 -7
  1552. package/out/synthesizers/po-box.d.ts.map +1 -1
  1553. package/out/synthesizers/po-box.js +4 -5
  1554. package/out/synthesizers/po-box.js.map +1 -1
  1555. package/out/synthesizers/tail.d.ts +0 -13
  1556. package/out/synthesizers/tail.d.ts.map +1 -1
  1557. package/out/synthesizers/tail.js +9 -10
  1558. package/out/synthesizers/tail.js.map +1 -1
  1559. package/out/synthesizers/utils.d.ts +8 -7
  1560. package/out/synthesizers/utils.d.ts.map +1 -1
  1561. package/out/synthesizers/utils.js +27 -6
  1562. package/out/synthesizers/utils.js.map +1 -1
  1563. package/out/test-kit/corpus-recipe.d.ts +3 -7
  1564. package/out/test-kit/corpus-recipe.d.ts.map +1 -1
  1565. package/out/test-kit/corpus-recipe.js +5 -7
  1566. package/out/test-kit/corpus-recipe.js.map +1 -1
  1567. package/out/test-kit.d.ts +2 -13
  1568. package/out/test-kit.d.ts.map +1 -1
  1569. package/out/test-kit.js +7 -7
  1570. package/out/test-kit.js.map +1 -1
  1571. package/out/tools/align-canonical.d.ts.map +1 -1
  1572. package/out/tools/align-canonical.js +4 -2
  1573. package/out/tools/align-canonical.js.map +1 -1
  1574. package/out/tools/audit.d.ts +0 -16
  1575. package/out/tools/audit.d.ts.map +1 -1
  1576. package/out/tools/audit.js +8 -9
  1577. package/out/tools/audit.js.map +1 -1
  1578. package/out/tools/cjk/foreign-places.run.d.ts +0 -11
  1579. package/out/tools/cjk/foreign-places.run.d.ts.map +1 -1
  1580. package/out/tools/cjk/foreign-places.run.js +2 -3
  1581. package/out/tools/cjk/foreign-places.run.js.map +1 -1
  1582. package/out/tools/cjk/overlay.run.d.ts +0 -16
  1583. package/out/tools/cjk/overlay.run.d.ts.map +1 -1
  1584. package/out/tools/cjk/overlay.run.js +2 -3
  1585. package/out/tools/cjk/overlay.run.js.map +1 -1
  1586. package/out/tools/corpus-stats.d.ts +0 -37
  1587. package/out/tools/corpus-stats.d.ts.map +1 -1
  1588. package/out/tools/corpus-stats.js +13 -12
  1589. package/out/tools/corpus-stats.js.map +1 -1
  1590. package/out/tools/de-fragment-board.run.d.ts +0 -12
  1591. package/out/tools/de-fragment-board.run.d.ts.map +1 -1
  1592. package/out/tools/de-fragment-board.run.js +5 -6
  1593. package/out/tools/de-fragment-board.run.js.map +1 -1
  1594. package/out/tools/deepseek.run.d.ts +0 -15
  1595. package/out/tools/deepseek.run.d.ts.map +1 -1
  1596. package/out/tools/deepseek.run.js +2 -3
  1597. package/out/tools/deepseek.run.js.map +1 -1
  1598. package/out/tools/fetch/atom.d.ts +2 -23
  1599. package/out/tools/fetch/atom.d.ts.map +1 -1
  1600. package/out/tools/fetch/atom.js +4 -5
  1601. package/out/tools/fetch/atom.js.map +1 -1
  1602. package/out/tools/fetch/cordis.d.ts +13 -15
  1603. package/out/tools/fetch/cordis.d.ts.map +1 -1
  1604. package/out/tools/fetch/cordis.js +15 -15
  1605. package/out/tools/fetch/cordis.js.map +1 -1
  1606. package/out/tools/fetch/download/manifest.d.ts +5 -11
  1607. package/out/tools/fetch/download/manifest.d.ts.map +1 -1
  1608. package/out/tools/fetch/download/manifest.js +6 -7
  1609. package/out/tools/fetch/download/manifest.js.map +1 -1
  1610. package/out/tools/fetch/download/network.d.ts +8 -8
  1611. package/out/tools/fetch/download/network.d.ts.map +1 -1
  1612. package/out/tools/fetch/download/network.js +2 -4
  1613. package/out/tools/fetch/download/network.js.map +1 -1
  1614. package/out/tools/fetch/download/retry.d.ts +0 -6
  1615. package/out/tools/fetch/download/retry.d.ts.map +1 -1
  1616. package/out/tools/fetch/download/retry.js +5 -9
  1617. package/out/tools/fetch/download/retry.js.map +1 -1
  1618. package/out/tools/fetch/download.d.ts +0 -3
  1619. package/out/tools/fetch/download.d.ts.map +1 -1
  1620. package/out/tools/fetch/download.js +2 -3
  1621. package/out/tools/fetch/download.js.map +1 -1
  1622. package/out/tools/fetch/geonames/dump.d.ts +2 -21
  1623. package/out/tools/fetch/geonames/dump.d.ts.map +1 -1
  1624. package/out/tools/fetch/geonames/dump.js +23 -16
  1625. package/out/tools/fetch/geonames/dump.js.map +1 -1
  1626. package/out/tools/fetch/geonames/postal.d.ts +2 -15
  1627. package/out/tools/fetch/geonames/postal.d.ts.map +1 -1
  1628. package/out/tools/fetch/geonames/postal.js +12 -13
  1629. package/out/tools/fetch/geonames/postal.js.map +1 -1
  1630. package/out/tools/fetch/gleif.d.ts +19 -20
  1631. package/out/tools/fetch/gleif.d.ts.map +1 -1
  1632. package/out/tools/fetch/gleif.js +21 -20
  1633. package/out/tools/fetch/gleif.js.map +1 -1
  1634. package/out/tools/fetch/header.d.ts +6 -12
  1635. package/out/tools/fetch/header.d.ts.map +1 -1
  1636. package/out/tools/fetch/header.js +4 -16
  1637. package/out/tools/fetch/header.js.map +1 -1
  1638. package/out/tools/fetch/inspire-addresses.d.ts +19 -19
  1639. package/out/tools/fetch/inspire-addresses.d.ts.map +1 -1
  1640. package/out/tools/fetch/inspire-addresses.js +20 -18
  1641. package/out/tools/fetch/inspire-addresses.js.map +1 -1
  1642. package/out/tools/fetch/openaddresses.d.ts +168 -0
  1643. package/out/tools/fetch/openaddresses.d.ts.map +1 -1
  1644. package/out/tools/fetch/openaddresses.js +191 -8
  1645. package/out/tools/fetch/openaddresses.js.map +1 -1
  1646. package/out/tools/fetch/ourairports.d.ts +0 -10
  1647. package/out/tools/fetch/ourairports.d.ts.map +1 -1
  1648. package/out/tools/fetch/ourairports.js +4 -6
  1649. package/out/tools/fetch/ourairports.js.map +1 -1
  1650. package/out/tools/fetch/storage.d.ts +259 -0
  1651. package/out/tools/fetch/storage.d.ts.map +1 -0
  1652. package/out/tools/fetch/storage.js +294 -0
  1653. package/out/tools/fetch/storage.js.map +1 -0
  1654. package/out/tools/fetch/vlaanderen-ad.d.ts +0 -28
  1655. package/out/tools/fetch/vlaanderen-ad.d.ts.map +1 -1
  1656. package/out/tools/fetch/vlaanderen-ad.js +25 -25
  1657. package/out/tools/fetch/vlaanderen-ad.js.map +1 -1
  1658. package/out/tools/fetch/wfs-harvest.d.ts +37 -34
  1659. package/out/tools/fetch/wfs-harvest.d.ts.map +1 -1
  1660. package/out/tools/fetch/wfs-harvest.js +45 -35
  1661. package/out/tools/fetch/wfs-harvest.js.map +1 -1
  1662. package/out/tools/fetch/wikidata/session.d.ts +5 -8
  1663. package/out/tools/fetch/wikidata/session.d.ts.map +1 -1
  1664. package/out/tools/fetch/wikidata/session.js +2 -11
  1665. package/out/tools/fetch/wikidata/session.js.map +1 -1
  1666. package/out/tools/fetch/wikidata/subvenue.d.ts +2 -5
  1667. package/out/tools/fetch/wikidata/subvenue.d.ts.map +1 -1
  1668. package/out/tools/fetch/wikidata/subvenue.js +3 -4
  1669. package/out/tools/fetch/wikidata/subvenue.js.map +1 -1
  1670. package/out/tools/fetch/wikidata/vital-places/classify.d.ts +12 -21
  1671. package/out/tools/fetch/wikidata/vital-places/classify.d.ts.map +1 -1
  1672. package/out/tools/fetch/wikidata/vital-places/classify.js +26 -21
  1673. package/out/tools/fetch/wikidata/vital-places/classify.js.map +1 -1
  1674. package/out/tools/fetch/wikidata/vital-places/entities.d.ts +31 -30
  1675. package/out/tools/fetch/wikidata/vital-places/entities.d.ts.map +1 -1
  1676. package/out/tools/fetch/wikidata/vital-places/entities.js +33 -30
  1677. package/out/tools/fetch/wikidata/vital-places/entities.js.map +1 -1
  1678. package/out/tools/fetch/wikidata/vital-places/inventory.d.ts +1 -9
  1679. package/out/tools/fetch/wikidata/vital-places/inventory.d.ts.map +1 -1
  1680. package/out/tools/fetch/wikidata/vital-places/inventory.js +5 -7
  1681. package/out/tools/fetch/wikidata/vital-places/inventory.js.map +1 -1
  1682. package/out/tools/fetch/wikidata/vital-places/progress.d.ts +0 -4
  1683. package/out/tools/fetch/wikidata/vital-places/progress.d.ts.map +1 -1
  1684. package/out/tools/fetch/wikidata/vital-places/progress.js +2 -7
  1685. package/out/tools/fetch/wikidata/vital-places/progress.js.map +1 -1
  1686. package/out/tools/fetch/wikidata/vital-places/qrank.d.ts +9 -11
  1687. package/out/tools/fetch/wikidata/vital-places/qrank.d.ts.map +1 -1
  1688. package/out/tools/fetch/wikidata/vital-places/qrank.js +2 -16
  1689. package/out/tools/fetch/wikidata/vital-places/qrank.js.map +1 -1
  1690. package/out/tools/fetch/wikidata/vital-places/query-entities.d.ts +1 -14
  1691. package/out/tools/fetch/wikidata/vital-places/query-entities.d.ts.map +1 -1
  1692. package/out/tools/fetch/wikidata/vital-places/query-entities.js +16 -12
  1693. package/out/tools/fetch/wikidata/vital-places/query-entities.js.map +1 -1
  1694. package/out/tools/fetch/wikidata/vital-places/render.d.ts +8 -10
  1695. package/out/tools/fetch/wikidata/vital-places/render.d.ts.map +1 -1
  1696. package/out/tools/fetch/wikidata/vital-places/render.js +2 -14
  1697. package/out/tools/fetch/wikidata/vital-places/render.js.map +1 -1
  1698. package/out/tools/fetch/wikidata/vital-places.d.ts +0 -24
  1699. package/out/tools/fetch/wikidata/vital-places.d.ts.map +1 -1
  1700. package/out/tools/fetch/wikidata/vital-places.js +16 -15
  1701. package/out/tools/fetch/wikidata/vital-places.js.map +1 -1
  1702. package/out/tools/fetch/zip-archive.d.ts +2 -5
  1703. package/out/tools/fetch/zip-archive.d.ts.map +1 -1
  1704. package/out/tools/fetch/zip-archive.js +3 -19
  1705. package/out/tools/fetch/zip-archive.js.map +1 -1
  1706. package/out/tools/fetch.d.ts +4 -4
  1707. package/out/tools/fetch.d.ts.map +1 -1
  1708. package/out/tools/fetch.js +6 -4
  1709. package/out/tools/fetch.js.map +1 -1
  1710. package/out/tools/fragment-assay.run.d.ts +0 -18
  1711. package/out/tools/fragment-assay.run.d.ts.map +1 -1
  1712. package/out/tools/fragment-assay.run.js +6 -7
  1713. package/out/tools/fragment-assay.run.js.map +1 -1
  1714. package/out/tools/golden/expand.d.ts +0 -48
  1715. package/out/tools/golden/expand.d.ts.map +1 -1
  1716. package/out/tools/golden/expand.js +24 -24
  1717. package/out/tools/golden/expand.js.map +1 -1
  1718. package/out/tools/golden/promote.d.ts +0 -32
  1719. package/out/tools/golden/promote.d.ts.map +1 -1
  1720. package/out/tools/golden/promote.js +6 -7
  1721. package/out/tools/golden/promote.js.map +1 -1
  1722. package/out/tools/golden/relabel-street/directory.d.ts +0 -6
  1723. package/out/tools/golden/relabel-street/directory.d.ts.map +1 -1
  1724. package/out/tools/golden/relabel-street/directory.js +2 -3
  1725. package/out/tools/golden/relabel-street/directory.js.map +1 -1
  1726. package/out/tools/golden/relabel-street/row.d.ts +0 -7
  1727. package/out/tools/golden/relabel-street/row.d.ts.map +1 -1
  1728. package/out/tools/golden/relabel-street/row.js +4 -5
  1729. package/out/tools/golden/relabel-street/row.js.map +1 -1
  1730. package/out/tools/golden/relabel-street.d.ts +0 -3
  1731. package/out/tools/golden/relabel-street.d.ts.map +1 -1
  1732. package/out/tools/golden/relabel-street.js +2 -3
  1733. package/out/tools/golden/relabel-street.js.map +1 -1
  1734. package/out/tools/house-venue-tuples.run.d.ts +0 -12
  1735. package/out/tools/house-venue-tuples.run.d.ts.map +1 -1
  1736. package/out/tools/house-venue-tuples.run.js +2 -3
  1737. package/out/tools/house-venue-tuples.run.js.map +1 -1
  1738. package/out/tools/ingest-csv.d.ts +1 -31
  1739. package/out/tools/ingest-csv.d.ts.map +1 -1
  1740. package/out/tools/ingest-csv.js +11 -16
  1741. package/out/tools/ingest-csv.js.map +1 -1
  1742. package/out/tools/input-changes.d.ts +3 -13
  1743. package/out/tools/input-changes.d.ts.map +1 -1
  1744. package/out/tools/input-changes.js +2 -3
  1745. package/out/tools/input-changes.js.map +1 -1
  1746. package/out/tools/jp/corpus.run.d.ts +0 -14
  1747. package/out/tools/jp/corpus.run.d.ts.map +1 -1
  1748. package/out/tools/jp/corpus.run.js +2 -3
  1749. package/out/tools/jp/corpus.run.js.map +1 -1
  1750. package/out/tools/jp/probe-corpus.run.d.ts +0 -12
  1751. package/out/tools/jp/probe-corpus.run.d.ts.map +1 -1
  1752. package/out/tools/jp/probe-corpus.run.js +2 -3
  1753. package/out/tools/jp/probe-corpus.run.js.map +1 -1
  1754. package/out/tools/jsonl-to-parquet.d.ts +0 -15
  1755. package/out/tools/jsonl-to-parquet.d.ts.map +1 -1
  1756. package/out/tools/jsonl-to-parquet.js +11 -8
  1757. package/out/tools/jsonl-to-parquet.js.map +1 -1
  1758. package/out/tools/kr-corpus.run.d.ts +0 -14
  1759. package/out/tools/kr-corpus.run.d.ts.map +1 -1
  1760. package/out/tools/kr-corpus.run.js +2 -3
  1761. package/out/tools/kr-corpus.run.js.map +1 -1
  1762. package/out/tools/lint/recipe-output/vocab.d.ts +0 -17
  1763. package/out/tools/lint/recipe-output/vocab.d.ts.map +1 -1
  1764. package/out/tools/lint/recipe-output/vocab.js +18 -14
  1765. package/out/tools/lint/recipe-output/vocab.js.map +1 -1
  1766. package/out/tools/lint/recipe-output.d.ts +0 -13
  1767. package/out/tools/lint/recipe-output.d.ts.map +1 -1
  1768. package/out/tools/lint/recipe-output.js +12 -10
  1769. package/out/tools/lint/recipe-output.js.map +1 -1
  1770. package/out/tools/migrate/overlay-parquet.d.ts +1 -8
  1771. package/out/tools/migrate/overlay-parquet.d.ts.map +1 -1
  1772. package/out/tools/migrate/overlay-parquet.js +5 -6
  1773. package/out/tools/migrate/overlay-parquet.js.map +1 -1
  1774. package/out/tools/migrate/recipe-output.d.ts +1 -10
  1775. package/out/tools/migrate/recipe-output.d.ts.map +1 -1
  1776. package/out/tools/migrate/recipe-output.js +3 -4
  1777. package/out/tools/migrate/recipe-output.js.map +1 -1
  1778. package/out/tools/migrate/source-names.d.ts +1 -24
  1779. package/out/tools/migrate/source-names.d.ts.map +1 -1
  1780. package/out/tools/migrate/source-names.js +3 -4
  1781. package/out/tools/migrate/source-names.js.map +1 -1
  1782. package/out/tools/overlay/deletions.d.ts +4 -19
  1783. package/out/tools/overlay/deletions.d.ts.map +1 -1
  1784. package/out/tools/overlay/deletions.js +6 -7
  1785. package/out/tools/overlay/deletions.js.map +1 -1
  1786. package/out/tools/overlay/distinct-row-ids.d.ts +0 -3
  1787. package/out/tools/overlay/distinct-row-ids.d.ts.map +1 -1
  1788. package/out/tools/overlay/distinct-row-ids.js +2 -16
  1789. package/out/tools/overlay/distinct-row-ids.js.map +1 -1
  1790. package/out/tools/overlay/held-out-spans.d.ts +2 -21
  1791. package/out/tools/overlay/held-out-spans.d.ts.map +1 -1
  1792. package/out/tools/overlay/held-out-spans.js +2 -3
  1793. package/out/tools/overlay/held-out-spans.js.map +1 -1
  1794. package/out/tools/overlay/kryptonite.d.ts +0 -17
  1795. package/out/tools/overlay/kryptonite.d.ts.map +1 -1
  1796. package/out/tools/overlay/kryptonite.js +8 -9
  1797. package/out/tools/overlay/kryptonite.js.map +1 -1
  1798. package/out/tools/overlay/manifest.d.ts +0 -8
  1799. package/out/tools/overlay/manifest.d.ts.map +1 -1
  1800. package/out/tools/overlay/manifest.js +3 -5
  1801. package/out/tools/overlay/manifest.js.map +1 -1
  1802. package/out/tools/overlay/merge-source.d.ts +0 -10
  1803. package/out/tools/overlay/merge-source.d.ts.map +1 -1
  1804. package/out/tools/overlay/merge-source.js +2 -3
  1805. package/out/tools/overlay/merge-source.js.map +1 -1
  1806. package/out/tools/overlay/split/attribute.d.ts +0 -13
  1807. package/out/tools/overlay/split/attribute.d.ts.map +1 -1
  1808. package/out/tools/overlay/split/attribute.js +2 -3
  1809. package/out/tools/overlay/split/attribute.js.map +1 -1
  1810. package/out/tools/overlay/split/overlay.d.ts +0 -9
  1811. package/out/tools/overlay/split/overlay.d.ts.map +1 -1
  1812. package/out/tools/overlay/split/overlay.js +2 -9
  1813. package/out/tools/overlay/split/overlay.js.map +1 -1
  1814. package/out/tools/overlay/translit.d.ts +1 -30
  1815. package/out/tools/overlay/translit.d.ts.map +1 -1
  1816. package/out/tools/overlay/translit.js +18 -19
  1817. package/out/tools/overlay/translit.js.map +1 -1
  1818. package/out/tools/overture-subvenue.d.ts +0 -11
  1819. package/out/tools/overture-subvenue.d.ts.map +1 -1
  1820. package/out/tools/overture-subvenue.js +7 -8
  1821. package/out/tools/overture-subvenue.js.map +1 -1
  1822. package/out/tools/postcode/non-native-order.d.ts +1 -19
  1823. package/out/tools/postcode/non-native-order.d.ts.map +1 -1
  1824. package/out/tools/postcode/non-native-order.js +15 -14
  1825. package/out/tools/postcode/non-native-order.js.map +1 -1
  1826. package/out/tools/postcode/triples.d.ts +5 -13
  1827. package/out/tools/postcode/triples.d.ts.map +1 -1
  1828. package/out/tools/postcode/triples.js +12 -12
  1829. package/out/tools/postcode/triples.js.map +1 -1
  1830. package/out/tools/registry-corpus.run.d.ts +0 -12
  1831. package/out/tools/registry-corpus.run.d.ts.map +1 -1
  1832. package/out/tools/registry-corpus.run.js +2 -3
  1833. package/out/tools/registry-corpus.run.js.map +1 -1
  1834. package/out/tools/secondary.run.d.ts +0 -12
  1835. package/out/tools/secondary.run.d.ts.map +1 -1
  1836. package/out/tools/secondary.run.js +2 -3
  1837. package/out/tools/secondary.run.js.map +1 -1
  1838. package/out/tools/source-register/build.d.ts +5 -14
  1839. package/out/tools/source-register/build.d.ts.map +1 -1
  1840. package/out/tools/source-register/build.js +9 -10
  1841. package/out/tools/source-register/build.js.map +1 -1
  1842. package/out/tools/street-index/build.d.ts +0 -10
  1843. package/out/tools/street-index/build.d.ts.map +1 -1
  1844. package/out/tools/street-index/build.js +2 -3
  1845. package/out/tools/street-index/build.js.map +1 -1
  1846. package/out/tools/street-index/build.run.d.ts +0 -9
  1847. package/out/tools/street-index/build.run.d.ts.map +1 -1
  1848. package/out/tools/street-index/build.run.js +2 -3
  1849. package/out/tools/street-index/build.run.js.map +1 -1
  1850. package/out/tools/sub/venue/head-nouns.d.ts +0 -10
  1851. package/out/tools/sub/venue/head-nouns.d.ts.map +1 -1
  1852. package/out/tools/sub/venue/head-nouns.js +2 -4
  1853. package/out/tools/sub/venue/head-nouns.js.map +1 -1
  1854. package/out/tools/sub/venue/lexicon.d.ts +1 -8
  1855. package/out/tools/sub/venue/lexicon.d.ts.map +1 -1
  1856. package/out/tools/sub/venue/lexicon.js +2 -4
  1857. package/out/tools/sub/venue/lexicon.js.map +1 -1
  1858. package/out/tools/sub/venue/wikidata.d.ts +0 -16
  1859. package/out/tools/sub/venue/wikidata.d.ts.map +1 -1
  1860. package/out/tools/sub/venue/wikidata.js +9 -9
  1861. package/out/tools/sub/venue/wikidata.js.map +1 -1
  1862. package/out/tools/support-index.d.ts +10 -12
  1863. package/out/tools/support-index.d.ts.map +1 -1
  1864. package/out/tools/support-index.js +11 -11
  1865. package/out/tools/support-index.js.map +1 -1
  1866. package/out/tools/tw-corpus.run.d.ts +0 -12
  1867. package/out/tools/tw-corpus.run.d.ts.map +1 -1
  1868. package/out/tools/tw-corpus.run.js +2 -3
  1869. package/out/tools/tw-corpus.run.js.map +1 -1
  1870. package/out/tools/variety-sample.d.ts +1 -19
  1871. package/out/tools/variety-sample.d.ts.map +1 -1
  1872. package/out/tools/variety-sample.js +13 -12
  1873. package/out/tools/variety-sample.js.map +1 -1
  1874. package/out/tools/vital-places.run.d.ts +0 -13
  1875. package/out/tools/vital-places.run.d.ts.map +1 -1
  1876. package/out/tools/vital-places.run.js +7 -8
  1877. package/out/tools/vital-places.run.js.map +1 -1
  1878. package/out/training/config/admission.d.ts +2 -6
  1879. package/out/training/config/admission.d.ts.map +1 -1
  1880. package/out/training/config/admission.js +4 -6
  1881. package/out/training/config/admission.js.map +1 -1
  1882. package/out/training/config/load.d.ts +19 -17
  1883. package/out/training/config/load.d.ts.map +1 -1
  1884. package/out/training/config/load.js +21 -17
  1885. package/out/training/config/load.js.map +1 -1
  1886. package/out/training/config/python-yaml.d.ts +1 -16
  1887. package/out/training/config/python-yaml.d.ts.map +1 -1
  1888. package/out/training/config/python-yaml.js +15 -12
  1889. package/out/training/config/python-yaml.js.map +1 -1
  1890. package/out/training/config/resolved.d.ts +0 -8
  1891. package/out/training/config/resolved.d.ts.map +1 -1
  1892. package/out/training/config/resolved.js +5 -6
  1893. package/out/training/config/resolved.js.map +1 -1
  1894. package/out/training/config/schema.d.ts +9 -9
  1895. package/out/training/config/schema.d.ts.map +1 -1
  1896. package/out/training/config/schema.js +12 -10
  1897. package/out/training/config/schema.js.map +1 -1
  1898. package/out/tw/corpus/assemble.d.ts +0 -12
  1899. package/out/tw/corpus/assemble.d.ts.map +1 -1
  1900. package/out/tw/corpus/assemble.js +2 -3
  1901. package/out/tw/corpus/assemble.js.map +1 -1
  1902. package/out/tw/corpus/rows.d.ts +1 -13
  1903. package/out/tw/corpus/rows.d.ts.map +1 -1
  1904. package/out/tw/corpus/rows.js +4 -5
  1905. package/out/tw/corpus/rows.js.map +1 -1
  1906. package/out/tw/registers.d.ts +1 -10
  1907. package/out/tw/registers.d.ts.map +1 -1
  1908. package/out/tw/registers.js +3 -4
  1909. package/out/tw/registers.js.map +1 -1
  1910. package/out/tw/tools/fetch/gcis.d.ts +7 -23
  1911. package/out/tw/tools/fetch/gcis.d.ts.map +1 -1
  1912. package/out/tw/tools/fetch/gcis.js +49 -35
  1913. package/out/tw/tools/fetch/gcis.js.map +1 -1
  1914. package/out/types.d.ts +7 -11
  1915. package/out/types.d.ts.map +1 -1
  1916. package/out/types.js +4 -9
  1917. package/out/types.js.map +1 -1
  1918. package/out/us/abbrev/region-samples.d.ts +7 -8
  1919. package/out/us/abbrev/region-samples.d.ts.map +1 -1
  1920. package/out/us/abbrev/region-samples.js +9 -8
  1921. package/out/us/abbrev/region-samples.js.map +1 -1
  1922. package/out/us/abbrev/regions.d.ts +3 -6
  1923. package/out/us/abbrev/regions.d.ts.map +1 -1
  1924. package/out/us/abbrev/regions.js +5 -6
  1925. package/out/us/abbrev/regions.js.map +1 -1
  1926. package/out/us/adapters/fcc-bdc/adapter.d.ts +0 -21
  1927. package/out/us/adapters/fcc-bdc/adapter.d.ts.map +1 -1
  1928. package/out/us/adapters/fcc-bdc/adapter.js +2 -21
  1929. package/out/us/adapters/fcc-bdc/adapter.js.map +1 -1
  1930. package/out/us/adapters/state/hi-schools/adapter.d.ts +0 -29
  1931. package/out/us/adapters/state/hi-schools/adapter.d.ts.map +1 -1
  1932. package/out/us/adapters/state/hi-schools/adapter.js +13 -13
  1933. package/out/us/adapters/state/hi-schools/adapter.js.map +1 -1
  1934. package/out/us/adapters/state/hi-schools/workbook.d.ts +0 -5
  1935. package/out/us/adapters/state/hi-schools/workbook.d.ts.map +1 -1
  1936. package/out/us/adapters/state/hi-schools/workbook.js +2 -5
  1937. package/out/us/adapters/state/hi-schools/workbook.js.map +1 -1
  1938. package/out/us/adapters/state/ia-contractors/adapter.d.ts +0 -23
  1939. package/out/us/adapters/state/ia-contractors/adapter.d.ts.map +1 -1
  1940. package/out/us/adapters/state/ia-contractors/adapter.js +4 -6
  1941. package/out/us/adapters/state/ia-contractors/adapter.js.map +1 -1
  1942. package/out/us/adapters/state/ny-notaries/adapter.d.ts +0 -15
  1943. package/out/us/adapters/state/ny-notaries/adapter.d.ts.map +1 -1
  1944. package/out/us/adapters/state/ny-notaries/adapter.js +6 -8
  1945. package/out/us/adapters/state/ny-notaries/adapter.js.map +1 -1
  1946. package/out/us/adapters/state/tx-notaries/adapter.d.ts +0 -16
  1947. package/out/us/adapters/state/tx-notaries/adapter.d.ts.map +1 -1
  1948. package/out/us/adapters/state/tx-notaries/adapter.js +6 -7
  1949. package/out/us/adapters/state/tx-notaries/adapter.js.map +1 -1
  1950. package/out/us/adapters/tiger/adapter.d.ts +0 -13
  1951. package/out/us/adapters/tiger/adapter.d.ts.map +1 -1
  1952. package/out/us/adapters/tiger/adapter.js +2 -4
  1953. package/out/us/adapters/tiger/adapter.js.map +1 -1
  1954. package/out/us/adapters/tiger/street-decompose.d.ts +0 -10
  1955. package/out/us/adapters/tiger/street-decompose.d.ts.map +1 -1
  1956. package/out/us/adapters/tiger/street-decompose.js +6 -8
  1957. package/out/us/adapters/tiger/street-decompose.js.map +1 -1
  1958. package/out/us/adapters/usgov/hrsa-fqhc/adapter.d.ts +0 -29
  1959. package/out/us/adapters/usgov/hrsa-fqhc/adapter.d.ts.map +1 -1
  1960. package/out/us/adapters/usgov/hrsa-fqhc/adapter.js +22 -20
  1961. package/out/us/adapters/usgov/hrsa-fqhc/adapter.js.map +1 -1
  1962. package/out/us/adapters/usgov/imls-pls/adapter.d.ts +0 -19
  1963. package/out/us/adapters/usgov/imls-pls/adapter.d.ts.map +1 -1
  1964. package/out/us/adapters/usgov/imls-pls/adapter.js +8 -10
  1965. package/out/us/adapters/usgov/imls-pls/adapter.js.map +1 -1
  1966. package/out/us/adapters/usgov/irs-bmf/adapter.d.ts +0 -20
  1967. package/out/us/adapters/usgov/irs-bmf/adapter.d.ts.map +1 -1
  1968. package/out/us/adapters/usgov/irs-bmf/adapter.js +14 -14
  1969. package/out/us/adapters/usgov/irs-bmf/adapter.js.map +1 -1
  1970. package/out/us/adapters/usgov/nad/adapter.d.ts +48 -10
  1971. package/out/us/adapters/usgov/nad/adapter.d.ts.map +1 -1
  1972. package/out/us/adapters/usgov/nad/adapter.js +159 -81
  1973. package/out/us/adapters/usgov/nad/adapter.js.map +1 -1
  1974. package/out/us/adapters/usgov/nppes/adapter.d.ts +0 -7
  1975. package/out/us/adapters/usgov/nppes/adapter.d.ts.map +1 -1
  1976. package/out/us/adapters/usgov/nppes/adapter.js +2 -4
  1977. package/out/us/adapters/usgov/nppes/adapter.js.map +1 -1
  1978. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.d.ts +0 -28
  1979. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.d.ts.map +1 -1
  1980. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js +20 -18
  1981. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js.map +1 -1
  1982. package/out/us/adapters/usgov/usgs-post-offices/adapter.d.ts +66 -0
  1983. package/out/us/adapters/usgov/usgs-post-offices/adapter.d.ts.map +1 -0
  1984. package/out/us/adapters/usgov/usgs-post-offices/adapter.js +110 -0
  1985. package/out/us/adapters/usgov/usgs-post-offices/adapter.js.map +1 -0
  1986. package/out/us/address-records/layer/worker.d.ts +2 -0
  1987. package/out/us/address-records/layer/worker.d.ts.map +1 -0
  1988. package/out/us/address-records/layer/worker.js +35 -0
  1989. package/out/us/address-records/layer/worker.js.map +1 -0
  1990. package/out/us/address-records/layer.d.ts +166 -0
  1991. package/out/us/address-records/layer.d.ts.map +1 -0
  1992. package/out/us/address-records/layer.js +475 -0
  1993. package/out/us/address-records/layer.js.map +1 -0
  1994. package/out/us/address-records/nad.d.ts +30 -0
  1995. package/out/us/address-records/nad.d.ts.map +1 -0
  1996. package/out/us/address-records/nad.js +91 -0
  1997. package/out/us/address-records/nad.js.map +1 -0
  1998. package/out/us/fips-state.d.ts +4 -8
  1999. package/out/us/fips-state.d.ts.map +1 -1
  2000. package/out/us/fips-state.js +2 -14
  2001. package/out/us/fips-state.js.map +1 -1
  2002. package/out/us/post-offices/usgs-national-map.d.ts +14 -0
  2003. package/out/us/post-offices/usgs-national-map.d.ts.map +1 -0
  2004. package/out/us/post-offices/usgs-national-map.js +56 -0
  2005. package/out/us/post-offices/usgs-national-map.js.map +1 -0
  2006. package/out/us/recipes/house-venue-tuples.d.ts +3 -9
  2007. package/out/us/recipes/house-venue-tuples.d.ts.map +1 -1
  2008. package/out/us/recipes/house-venue-tuples.js +5 -6
  2009. package/out/us/recipes/house-venue-tuples.js.map +1 -1
  2010. package/out/us/recipes/skeleton-sources.d.ts +0 -11
  2011. package/out/us/recipes/skeleton-sources.d.ts.map +1 -1
  2012. package/out/us/recipes/skeleton-sources.js +5 -6
  2013. package/out/us/recipes/skeleton-sources.js.map +1 -1
  2014. package/out/us/state-country-codes.d.ts +0 -9
  2015. package/out/us/state-country-codes.d.ts.map +1 -1
  2016. package/out/us/state-country-codes.js +6 -6
  2017. package/out/us/state-country-codes.js.map +1 -1
  2018. package/out/us/street-unit.d.ts +1 -7
  2019. package/out/us/street-unit.d.ts.map +1 -1
  2020. package/out/us/street-unit.js +3 -4
  2021. package/out/us/street-unit.js.map +1 -1
  2022. package/out/us/synthesizers/intersection.d.ts +0 -20
  2023. package/out/us/synthesizers/intersection.d.ts.map +1 -1
  2024. package/out/us/synthesizers/intersection.js +2 -20
  2025. package/out/us/synthesizers/intersection.js.map +1 -1
  2026. package/out/us/synthesizers/street.d.ts +0 -20
  2027. package/out/us/synthesizers/street.d.ts.map +1 -1
  2028. package/out/us/synthesizers/street.js +16 -15
  2029. package/out/us/synthesizers/street.js.map +1 -1
  2030. package/out/us/tools/fetch/hrsa.d.ts +0 -14
  2031. package/out/us/tools/fetch/hrsa.d.ts.map +1 -1
  2032. package/out/us/tools/fetch/hrsa.js +8 -8
  2033. package/out/us/tools/fetch/hrsa.js.map +1 -1
  2034. package/out/us/tools/fetch/imls-pls.d.ts +11 -9
  2035. package/out/us/tools/fetch/imls-pls.d.ts.map +1 -1
  2036. package/out/us/tools/fetch/imls-pls.js +32 -22
  2037. package/out/us/tools/fetch/imls-pls.js.map +1 -1
  2038. package/out/us/tools/fetch/nad/parquet.d.ts +44 -0
  2039. package/out/us/tools/fetch/nad/parquet.d.ts.map +1 -0
  2040. package/out/us/tools/fetch/nad/parquet.js +83 -0
  2041. package/out/us/tools/fetch/nad/parquet.js.map +1 -0
  2042. package/out/us/tools/fetch/nad.d.ts +41 -73
  2043. package/out/us/tools/fetch/nad.d.ts.map +1 -1
  2044. package/out/us/tools/fetch/nad.js +142 -209
  2045. package/out/us/tools/fetch/nad.js.map +1 -1
  2046. package/out/us/tools/fetch/nppes.d.ts +11 -10
  2047. package/out/us/tools/fetch/nppes.d.ts.map +1 -1
  2048. package/out/us/tools/fetch/nppes.js +48 -22
  2049. package/out/us/tools/fetch/nppes.js.map +1 -1
  2050. package/out/us/tools/fetch/state/hi-schools.d.ts +0 -17
  2051. package/out/us/tools/fetch/state/hi-schools.d.ts.map +1 -1
  2052. package/out/us/tools/fetch/state/hi-schools.js +36 -17
  2053. package/out/us/tools/fetch/state/hi-schools.js.map +1 -1
  2054. package/out/us/tools/fetch/state/sources.d.ts +0 -18
  2055. package/out/us/tools/fetch/state/sources.d.ts.map +1 -1
  2056. package/out/us/tools/fetch/state/sources.js +10 -11
  2057. package/out/us/tools/fetch/state/sources.js.map +1 -1
  2058. package/out/us/tools/fetch/tiger-full.d.ts +3 -2
  2059. package/out/us/tools/fetch/tiger-full.d.ts.map +1 -1
  2060. package/out/us/tools/fetch/tiger-full.js +39 -13
  2061. package/out/us/tools/fetch/tiger-full.js.map +1 -1
  2062. package/out/us/tools/fetch/usgs-post-offices.d.ts +99 -0
  2063. package/out/us/tools/fetch/usgs-post-offices.d.ts.map +1 -0
  2064. package/out/us/tools/fetch/usgs-post-offices.js +246 -0
  2065. package/out/us/tools/fetch/usgs-post-offices.js.map +1 -0
  2066. package/out/us/tools/nad-skeletons.d.ts +11 -18
  2067. package/out/us/tools/nad-skeletons.d.ts.map +1 -1
  2068. package/out/us/tools/nad-skeletons.js +45 -55
  2069. package/out/us/tools/nad-skeletons.js.map +1 -1
  2070. package/out/utils/align.d.ts +19 -23
  2071. package/out/utils/align.d.ts.map +1 -1
  2072. package/out/utils/align.js +21 -48
  2073. package/out/utils/align.js.map +1 -1
  2074. package/out/utils/cooccurrence-stats.d.ts +0 -10
  2075. package/out/utils/cooccurrence-stats.d.ts.map +1 -1
  2076. package/out/utils/cooccurrence-stats.js +7 -7
  2077. package/out/utils/cooccurrence-stats.js.map +1 -1
  2078. package/out/utils/golden.d.ts +0 -7
  2079. package/out/utils/golden.d.ts.map +1 -1
  2080. package/out/utils/golden.js +2 -4
  2081. package/out/utils/golden.js.map +1 -1
  2082. package/out/utils/license.d.ts +0 -28
  2083. package/out/utils/license.d.ts.map +1 -1
  2084. package/out/utils/license.js +28 -21
  2085. package/out/utils/license.js.map +1 -1
  2086. package/out/utils/retention.d.ts +0 -13
  2087. package/out/utils/retention.d.ts.map +1 -1
  2088. package/out/utils/retention.js +10 -8
  2089. package/out/utils/retention.js.map +1 -1
  2090. package/out/utils/shape-supply.d.ts +3 -7
  2091. package/out/utils/shape-supply.d.ts.map +1 -1
  2092. package/out/utils/shape-supply.js +5 -7
  2093. package/out/utils/shape-supply.js.map +1 -1
  2094. package/out/utils/split.d.ts +5 -18
  2095. package/out/utils/split.d.ts.map +1 -1
  2096. package/out/utils/split.js +14 -14
  2097. package/out/utils/split.js.map +1 -1
  2098. package/out/utils/tokenize.d.ts +5 -7
  2099. package/out/utils/tokenize.d.ts.map +1 -1
  2100. package/out/utils/tokenize.js +4 -11
  2101. package/out/utils/tokenize.js.map +1 -1
  2102. package/out/utils/wof-json.d.ts +15 -21
  2103. package/out/utils/wof-json.d.ts.map +1 -1
  2104. package/out/utils/wof-json.js +32 -19
  2105. package/out/utils/wof-json.js.map +1 -1
  2106. package/out/utils.d.ts +0 -5
  2107. package/out/utils.d.ts.map +1 -1
  2108. package/out/utils.js +2 -5
  2109. package/out/utils.js.map +1 -1
  2110. package/out/uy/adapters/ide/adapter.d.ts +0 -22
  2111. package/out/uy/adapters/ide/adapter.d.ts.map +1 -1
  2112. package/out/uy/adapters/ide/adapter.js +21 -17
  2113. package/out/uy/adapters/ide/adapter.js.map +1 -1
  2114. package/out/ve/recipes/reviewed-postcode-tail.d.ts +2 -12
  2115. package/out/ve/recipes/reviewed-postcode-tail.d.ts.map +1 -1
  2116. package/out/ve/recipes/reviewed-postcode-tail.js +7 -8
  2117. package/out/ve/recipes/reviewed-postcode-tail.js.map +1 -1
  2118. package/package.json +18 -18
@@ -1,55 +1,65 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
1
3
  /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * `emuia`: Poland's INSPIRE Addresses (AD) theme, published by Główny Urząd Geodezji i Kartografii out
7
- * of the Państwowy Rejestr Granic.
8
- *
9
- * Input is GML, because the service serves four GML flavors and no JSON. Its capabilities document
10
- * advertises no `outputFormat` values at all and a `GetFeature` returns
11
- * `application/gml+xml; version=3.2`. A page is a `wfs:FeatureCollection` of `ms:AD.Address` members,
12
- * and the adapter reads it with `streamMarkupElements` from `@mailwoman/core/html/elements`, which
13
- * yields one member subtree at a time, so neither a page nor a whole extract sits in memory.
14
- *
15
- * The payload is the Polish register's own schema rather than the harmonized INSPIRE model: a member's
16
- * element names are the register's columns and every address value is inline, so there is no
17
- * `ad:ThoroughfareName` to join to and no `xlink:href` to resolve. Read with that same function over
18
- * 500 members across ten windows spread through the service, a member holds 21 children and never a
19
- * twenty-second. The children are `gml:boundedBy`, `ms:msGeometry` and these nineteen columns: `ms:id`,
20
- * `ms:gml_id`, `ms:lokalnyid`, `ms:jednostkaadmnistracyjna`, `ms:miejscowosc`,
21
- * `ms:miejscowosc_lower`, `ms:czescmiejscowosci`, `ms:ulica`, `ms:ulica_pol`, `ms:ulica_skr`,
22
- * `ms:numer`, `ms:kod`, `ms:teryt`, `ms:simc`, `ms:ulic`, `ms:status`, `ms:data_od`, `ms:wazny_od`
23
- * and `ms:adres`. The adapter reads `ulica` as the street, `numer` as the house number, `kod` as the
24
- * postcode and `miejscowosc` as the locality, with `czescmiejscowosci` as the part of the locality
25
- * where the publisher populates it. Every column is written on every member, and three hold a value
26
- * on every one of the 500: `numer`, `kod` and `miejscowosc`. Two are written and populated on none:
27
- * `status` and `czescmiejscowosci`.
28
- *
29
- * A row with no street is the ordinary rural case rather than a defect. Over those 500 members 299
30
- * hold a street and 201 leave `ms:ulica` written and empty, and the publisher's own `ms:adres` writes
31
- * the streetless form as locality and number: `Księżyki 5`, `Jawor 19`. The adapter emits those rows
32
- * with a locality and a number and no street. Poland delivers to that form.
33
- *
34
- * `ms:jednostkaadmnistracyjna` holds the administrative path as a PostgreSQL array literal,
35
- * `{Polska,łódzkie,"Piotrków Trybunalski","Piotrków Trybunalski"}`, whose second element is the
36
- * voivodeship. It is left unread: a Polish postal address does not include the voivodeship, the codex
37
- * layout for `PL` leaves a `region` component unplaced, and parsing a quoted array literal to reach a
38
- * value the layout leaves unplaced would cost a parse and reach no rendered component.
39
- *
40
- * The service states no count of its own. `resultType=hits` answers `numberMatched="1000"`, which is
41
- * MapServer's default feature cap rather than a count — it stays 1000 when asked with `count=2000` and
42
- * when asked at `startIndex=1` — and a feature page answers `numberMatched="unknown"`. The size is a
43
- * property of the service on the day it is asked, so this file states no count. The acquisition
44
- * step reads it by paging, with `countWFSFeaturesByPaging` from `@mailwoman/core/api`.
4
+ * `emuia`: Poland's INSPIRE Addresses (AD) theme, published by Główny Urząd Geodezji
5
+ * i Kartografii out of the Państwowy Rejestr Granic.
6
+ *
7
+ * Input is GML, because the service serves four GML flavors and no JSON.
8
+ * Its capabilities document advertises no `outputFormat` values at all
9
+ * and a `GetFeature` returns `application/gml+xml; version=3.2`.
10
+ *
11
+ * A page is a `wfs:FeatureCollection` of `ms:AD.Address` members, and the adapter reads
12
+ * it with `streamMarkupElements` from `@mailwoman/core/html/elements`, which yields one
13
+ * member subtree at a time, so neither a page nor a whole extract sits in memory.
14
+ *
15
+ * The payload is the Polish register's own schema rather than the harmonized INSPIRE model:
16
+ * a member's element names are the register's columns and every address value is inline,
17
+ * so there's no `ad:ThoroughfareName` to join to and no `xlink:href` to resolve.
18
+ * Read with that same function over 500 members across ten windows spread through the
19
+ * service, a member holds 21 children and never a twenty-second.
20
+ *
21
+ * The children are `gml:boundedBy`, `ms:msGeometry` and these nineteen columns: `ms:id`, `ms:gml_id`,
22
+ * `ms:lokalnyid`, `ms:jednostkaadmnistracyjna`, `ms:miejscowosc`, `ms:miejscowosc_lower`,
23
+ * `ms:czescmiejscowosci`, `ms:ulica`, `ms:ulica_pol`, `ms:ulica_skr`, `ms:numer`, `ms:kod`,
24
+ * `ms:teryt`, `ms:simc`, `ms:ulic`, `ms:status`, `ms:data_od`, `ms:wazny_od` and `ms:adres`.
25
+ * The adapter reads `ulica` as the street, `numer` as the house number,
26
+ * `kod` as the postcode and `miejscowosc` as the locality, with `czescmiejscowosci`
27
+ * as the part of the locality where the publisher populates it.
28
+ *
29
+ * Every column is written on every member, and three hold a value on every one
30
+ * of the 500: `numer`, `kod` and `miejscowosc`.
31
+ * Two are written and populated on none: `status` and `czescmiejscowosci`.
32
+ *
33
+ * A row with no street is the ordinary rural case rather than a defect.
34
+ * Over those 500 members 299 hold a street and 201 leave `ms:ulica` written and empty, and the
35
+ * publisher's own `ms:adres` writes the streetless form as locality and number: `Księżyki 5`, `Jawor 19`.
36
+ *
37
+ * The adapter emits those rows with a locality and a number and no street.
38
+ * Poland delivers to that form.
39
+ *
40
+ * `ms:jednostkaadmnistracyjna` holds the administrative path as a PostgreSQL array
41
+ * literal, `{Polska,łódzkie,"Piotrków Trybunalski","Piotrków Trybunalski"}`,
42
+ * whose second element is the voivodeship.
43
+ * It is left unread: a Polish postal address doesn't include the voivodeship, the codex layout
44
+ * for `PL` leaves a `region` component unplaced, and parsing a quoted array literal to reach
45
+ * a value the layout leaves unplaced would cost a parse and reach no rendered component.
46
+ *
47
+ * The service states no count of its own.
48
+ * `resultType=hits` answers `numberMatched="1000"`, which is MapServer's default feature cap
49
+ * rather than a count — it stays 1000 when asked with `count=2000` and when asked at
50
+ * `startIndex=1` — and a feature page answers `numberMatched="unknown"`.
51
+ *
52
+ * The size is a property of the service on the day it is asked, so this file states no count.
53
+ * The acquisition step reads it by paging, with `countWFSFeaturesByPaging` from `@mailwoman/core/api`.
45
54
  *
46
55
  * GUGiK's dataset record states one condition of use, in `otherConstraints`: `Brak warunków dostępu i
47
- * użytkowania`, no conditions for access and use. The address-source register elected that and names
56
+ * użytkowania`, no conditions for access and use. The address-source register elected that and identifies
48
57
  * no license instrument, so no SPDX identifier exists and the publisher's own words are the label the
49
58
  * adapter stamps on every row. GUGiK credit remains good practice and the statement requires it
50
59
  * nowhere.
51
60
  *
52
- * The adapter honors `opts.limit` and `opts.signal`. `opts.country` is optional and accepts only `PL`.
61
+ * The adapter honors `opts.limit` and `opts.signal`.
62
+ * `opts.country` is optional and accepts only `PL`.
53
63
  */
54
64
  import { formatAddressRow } from "@mailwoman/codex/address/format";
55
65
  import { openReadStream } from "@mailwoman/core/fs/streams";
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.js","sourceRoot":"","sources":["../../../../lib/pl/adapters/emuia/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAsB,MAAM,+BAA+B,CAAA;AAEpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,OAAO,EAAE,WAAW,EAA8D,aAAa,EAAE,MAAM,QAAQ,CAAA;AAE/G;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBA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AAC,QAAQ;wBAAE,SAAQ;oBAEvB,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAA;oBAE7C,6EAA6E;oBAC7E,4CAA4C;oBAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;oBAE/D,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,gBAAgB,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAA;oBAEjG,MAAM;wBACL,GAAG;wBACH,UAAU,EAAE,OAAO;wBACnB,OAAO,EAAE,IAAI;wBACb,MAAM,EAAE,OAAO;wBACf,MAAM,EAAE,gBAAgB;wBACxB,SAAS,EAAE,QAAQ;wBACnB,OAAO,EAAE,qBAAqB;qBAC9B,CAAA;oBAED,OAAO,EAAE,CAAA;gBACV,CAAC;YACF,CAAC;oBAAS,CAAC;gBACV,MAAM,CAAC,OAAO,EAAE,CAAA;YACjB,CAAC;QACF,CAAC;KACD,CAAA;AACF,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,EAAE,CAAA"}
@@ -1,63 +1,72 @@
1
1
  /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
2
+ * Harvests Poland's INSPIRE Addresses (AD) theme into the GML file that `#pl/adapters/emuia/adapter` reads.
5
3
  *
6
- * Harvests Poland's INSPIRE Addresses (AD) theme into the GML file that
7
- * `#pl/adapters/emuia/adapter` reads.
4
+ * Główny Urząd Geodezji i Kartografii publishes the Państwowy Rejestr Granic
5
+ * through MapServer at {@linkcode PL_EMUIA_WFS}.
6
+ * Its dataset record states one condition of use in `otherConstraints`,
7
+ * `Brak warunków dostępu i użytkowania` — no conditions for access and use —
8
+ * which the address-source register elected.
8
9
  *
9
- * Główny Urząd Geodezji i Kartografii publishes the Państwowy Rejestr Granic through MapServer at
10
- * {@linkcode PL_EMUIA_WFS}. Its dataset record states one condition of use in `otherConstraints`,
11
- * `Brak warunków dostępu i użytkowania` — no conditions for access and use — which the
12
- * address-source register elected. No license instrument is recorded, so the publisher's own words are
13
- * the label, and that statement grants the reproduction a paged harvest performs.
10
+ * No license instrument is recorded, so the publisher's own words are the label,
11
+ * and that statement grants the reproduction a paged harvest performs.
14
12
  *
15
13
  * `#tools/fetch/wfs-harvest` owns the page read, the appending, the manifest and the resumption.
16
- * What is particular to Poland is five measurements, taken on 2026-10-02:
14
+ * What's particular to Poland is five measurements, taken on 2026-10-02:
17
15
  *
18
- * 1. `ms:AD.Address` is the only feature type the service publishes, and the payload is the Polish
19
- * register's own schema with every address value inline, so the harvest takes that one type and
20
- * resolves no reference.
16
+ * 1. `ms:AD.Address` is the only feature type the service publishes, and the
17
+ * payload is the Polish register's own schema with every address value inline,
18
+ * so the harvest takes that one type and resolves no reference.
21
19
  * 2. The service serves GML and no JSON. Its `GetFeature` `outputFormat` parameter advertises four
22
20
  * values — `application/gml+xml; version=3.2`, `text/xml; subtype=gml/3.2.1`, `text/xml;
23
21
  * subtype=gml/3.1.1` and `text/xml; subtype=gml/2.1.2` — and answers with
24
22
  * `text/xml; subtype="gml/3.2.1"`.
25
- * 3. A page holds at most 1,000 features whatever `count` asks for. `count=5000` answers
26
- * `numberReturned="1000"`, and the capabilities document states `CountDefault` as 1000. The page
27
- * size is therefore the service's cap rather than a choice, and a full harvest is one request per
28
- * thousand features.
29
- * 4. The service states no count of its own. `resultType=hits` answers `numberMatched="1000"` both
30
- * bare and at `startIndex=1`, which is that same cap, and a feature page answers
31
- * `numberMatched="unknown"`. `readCheckedWFSFeatureCount` proves a reported count against a page
32
- * of the type, and a count equal to the page cap passes that check because no page can exceed the
33
- * cap — a 10-feature probe agrees with 1000. `statedFeatureCount` refuses a count equal to the
34
- * advertised `CountDefault` for that reason, so this service is harvested with no count and the
35
- * harvest ends on the first page that returns no features. The size is read from the service when
36
- * a caller asks for it, by `countWFSFeaturesByPaging`, and no count is written into this file.
37
- * 5. The service honors a sort. `ImplementsSorting` is `TRUE`, `sortBy=ms:id` answers HTTP 200 and
38
- * `sortBy=ms:id D` returns the register's last rows first. That proves the parameter is applied.
39
- * `PagingIsTransactionSafe` is `FALSE`, which is the service stating that a paged sequence may
40
- * shift under edits made while it is being read. The sort bounds that shift to the rows whose
41
- * `ms:id` changed rather than leaving the whole sequence unordered.
23
+ * 3. A page holds at most 1,000 features whatever `count` asks for.
24
+ * `count=5000` answers `numberReturned="1000"`, and the capabilities document
25
+ * states `CountDefault` as 1000.
26
+ * The page size is therefore the service's cap rather than a choice,
27
+ * and a full harvest is one request per thousand features.
28
+ * 4. The service states no count of its own.
29
+ * `resultType=hits` answers `numberMatched="1000"` both bare and at `startIndex=1`,
30
+ * which is that same cap, and a feature page answers `numberMatched="unknown"`.
31
+ * `readCheckedWFSFeatureCount` proves a reported count against a page of the type,
32
+ * and a count equal to the page cap passes that check because no page can exceed
33
+ * the cap — a 10-feature probe agrees with 1000.
34
+ * `statedFeatureCount` refuses a count equal to the advertised `CountDefault`
35
+ * for that reason, so this service is harvested with no count and the harvest
36
+ * ends on the first page that returns no features.
37
+ * The size is read from the service when a caller asks for it, by `countWFSFeaturesByPaging`,
38
+ * and no count is written into this file.
39
+ * 5. The service honors a sort.
40
+ * `ImplementsSorting` is `TRUE`, `sortBy=ms:id` answers HTTP 200
41
+ * and `sortBy=ms:id D` returns the register's last rows first.
42
+ * That proves the parameter is applied.
43
+ * `PagingIsTransactionSafe` is `FALSE`, which is the service stating that a paged
44
+ * sequence may shift under edits made while it is being read.
45
+ * The sort bounds that shift to the rows whose `ms:id` changed rather than
46
+ * leaving the whole sequence unordered.
42
47
  *
43
- * A measurement by paging rests on monotone presence: that an index holding a feature implies every
44
- * smaller index holds one. A WFS offers no such guarantee, and a bisection over a service where it
45
- * fails reports the first gap rather than the extent. The figure is therefore reported with the date
46
- * it was taken, never stored as a constant: the register recorded 8,625,921 on 2026-10-01, and on
47
- * 2026-10-02 `startIndex=8626950` returned one feature while `startIndex=8626951` returned none, so
48
- * the service then held 8,626,951. Such growth is ordinary
49
- * business for a municipal address register.
48
+ * A measurement by paging rests on monotone presence: that an index holding a
49
+ * feature implies every smaller index holds one.
50
+ * A WFS offers no such guarantee, and a bisection over a service where it fails
51
+ * reports the first gap rather than the extent.
50
52
  *
51
- * At 1,000 features per page and 1,607,180 bytes per page, a full harvest at that size is 8,627
52
- * requests and about 13.9 GB.
53
+ * The figure is therefore reported with the date it was taken, never stored as a constant:
54
+ * the register recorded 8,625,921 on 2026-10-01, and on 2026-10-02 `startIndex=8626950` returned
55
+ * one feature while `startIndex=8626951` returned none, so the service then held 8,626,951.
56
+ * Such growth is ordinary business for a municipal address register.
53
57
  *
54
- * The harvest assembles one GML document rather than one file per page, because the adapter opens
55
- * `opts.inputPath` as a single markup stream. The first page's root tag opens the file with its
56
- * namespace declarations kept and its per-page `numberReturned`, `numberMatched` and `timeStamp`
57
- * dropped, since those describe one page and the manifest records them per page. The closing tag is
58
- * written when the harvest reaches the end of the type, so a partial harvest is an unclosed document
59
- * — which the adapter's scanner still reads member by member, and which a resumed run appends to
60
- * after truncating back to the last page boundary.
58
+ * At 1,000 features per page and 1,607,180 bytes per page, a full harvest at
59
+ * that size is 8,627 requests and about 13.9 GB.
60
+ *
61
+ * The harvest assembles one GML document rather than one file per page, because the
62
+ * adapter opens `opts.inputPath` as a single markup stream.
63
+ * The first page's root tag opens the file with its namespace declarations kept
64
+ * and its per-page `numberReturned`, `numberMatched` and `timeStamp` dropped,
65
+ * since those describe one page and the manifest records them per page.
66
+ *
67
+ * The closing tag is written when the harvest reaches the end of the type, so a partial
68
+ * harvest is an unclosed document — which the adapter's scanner still reads member by member,
69
+ * and which a resumed run appends to after truncating back to the last page boundary.
61
70
  */
62
71
  import { type APIClient } from "@mailwoman/core/api";
63
72
  import type { PathBuilderLike } from "path-ts";
@@ -112,7 +121,7 @@ export interface HarvestEMUiAOptions {
112
121
  *
113
122
  * Off by default.
114
123
  * The measurement costs about 2·log2(n) requests — 51 for a register of this size — and the
115
- * harvest does not need it: paging to the first empty page reads the type whole either way.
124
+ * harvest doesn't need it: paging to the first empty page reads the type whole either way.
116
125
  *
117
126
  * It supplies a denominator for the progress lines and a figure for the manifest,
118
127
  * and it rests on the monotone-presence assumption this module's header states.
@@ -140,8 +149,8 @@ export declare function readEMUiAFeatureCount(client: Pick<APIClient, "fetch">,
140
149
  * from this file's constants, so a service that stops publishing either raises here
141
150
  * instead of producing a harvest of something else.
142
151
  *
143
- * @throws When the service publishes no Addresses type, does not advertise the GML
144
- * format the adapter reads, or does not advertise result paging.
152
+ * @throws When the service publishes no Addresses type, doesn't advertise the GML
153
+ * format the adapter reads, or doesn't advertise result paging.
145
154
  */
146
155
  export declare function readEMUiACapabilities(client: Pick<APIClient, "fetch">): Promise<WFSCapabilities>;
147
156
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"emuia.d.ts","sourceRoot":"","sources":["../../../../lib/pl/tools/fetch/emuia.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,OAAO,EAAwD,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC1G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAC3E,OAAO,EAAuB,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAC1F,OAAO,EAON,KAAK,qBAAqB,EAE1B,KAAK,kBAAkB,EACvB,MAAM,0BAA0B,CAAA;AAEjC;;GAEG;AACH,eAAO,MAAM,YAAY,gEAAgE,CAAA;AAEzF;;GAEG;AACH,eAAO,MAAM,kBAAkB,kBAAkB,CAAA;AAEjD;;;GAGG;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OASG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B;AAED;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CAC1C,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,EAChC,OAAO,EAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACzD,OAAO,CAAC,qBAAqB,CAAC,CA8BhC;AAED;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAsBtG;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CACnC,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,EAChC,OAAO,EAAE,mBAAmB,GAC1B,OAAO,CAAC,kBAAkB,CAAC,CAsD7B;AAED,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GACjD,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,QAAQ,CAAC,GAAG;IAChF;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;CACjC,CAAA;AAEF;;;;;GAKG;AACH,wBAAsB,YAAY,CACjC,OAAO,EAAE,mBAAmB,EAC5B,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAC7B,OAAO,CAAC,YAAY,CAAC,CA2BvB"}
@@ -1,63 +1,74 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
1
3
  /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
4
+ * Harvests Poland's INSPIRE Addresses (AD) theme into the GML file that `#pl/adapters/emuia/adapter` reads.
5
5
  *
6
- * Harvests Poland's INSPIRE Addresses (AD) theme into the GML file that
7
- * `#pl/adapters/emuia/adapter` reads.
6
+ * Główny Urząd Geodezji i Kartografii publishes the Państwowy Rejestr Granic
7
+ * through MapServer at {@linkcode PL_EMUIA_WFS}.
8
+ * Its dataset record states one condition of use in `otherConstraints`,
9
+ * `Brak warunków dostępu i użytkowania` — no conditions for access and use —
10
+ * which the address-source register elected.
8
11
  *
9
- * Główny Urząd Geodezji i Kartografii publishes the Państwowy Rejestr Granic through MapServer at
10
- * {@linkcode PL_EMUIA_WFS}. Its dataset record states one condition of use in `otherConstraints`,
11
- * `Brak warunków dostępu i użytkowania` — no conditions for access and use — which the
12
- * address-source register elected. No license instrument is recorded, so the publisher's own words are
13
- * the label, and that statement grants the reproduction a paged harvest performs.
12
+ * No license instrument is recorded, so the publisher's own words are the label,
13
+ * and that statement grants the reproduction a paged harvest performs.
14
14
  *
15
15
  * `#tools/fetch/wfs-harvest` owns the page read, the appending, the manifest and the resumption.
16
- * What is particular to Poland is five measurements, taken on 2026-10-02:
16
+ * What's particular to Poland is five measurements, taken on 2026-10-02:
17
17
  *
18
- * 1. `ms:AD.Address` is the only feature type the service publishes, and the payload is the Polish
19
- * register's own schema with every address value inline, so the harvest takes that one type and
20
- * resolves no reference.
18
+ * 1. `ms:AD.Address` is the only feature type the service publishes, and the
19
+ * payload is the Polish register's own schema with every address value inline,
20
+ * so the harvest takes that one type and resolves no reference.
21
21
  * 2. The service serves GML and no JSON. Its `GetFeature` `outputFormat` parameter advertises four
22
22
  * values — `application/gml+xml; version=3.2`, `text/xml; subtype=gml/3.2.1`, `text/xml;
23
23
  * subtype=gml/3.1.1` and `text/xml; subtype=gml/2.1.2` — and answers with
24
24
  * `text/xml; subtype="gml/3.2.1"`.
25
- * 3. A page holds at most 1,000 features whatever `count` asks for. `count=5000` answers
26
- * `numberReturned="1000"`, and the capabilities document states `CountDefault` as 1000. The page
27
- * size is therefore the service's cap rather than a choice, and a full harvest is one request per
28
- * thousand features.
29
- * 4. The service states no count of its own. `resultType=hits` answers `numberMatched="1000"` both
30
- * bare and at `startIndex=1`, which is that same cap, and a feature page answers
31
- * `numberMatched="unknown"`. `readCheckedWFSFeatureCount` proves a reported count against a page
32
- * of the type, and a count equal to the page cap passes that check because no page can exceed the
33
- * cap — a 10-feature probe agrees with 1000. `statedFeatureCount` refuses a count equal to the
34
- * advertised `CountDefault` for that reason, so this service is harvested with no count and the
35
- * harvest ends on the first page that returns no features. The size is read from the service when
36
- * a caller asks for it, by `countWFSFeaturesByPaging`, and no count is written into this file.
37
- * 5. The service honors a sort. `ImplementsSorting` is `TRUE`, `sortBy=ms:id` answers HTTP 200 and
38
- * `sortBy=ms:id D` returns the register's last rows first. That proves the parameter is applied.
39
- * `PagingIsTransactionSafe` is `FALSE`, which is the service stating that a paged sequence may
40
- * shift under edits made while it is being read. The sort bounds that shift to the rows whose
41
- * `ms:id` changed rather than leaving the whole sequence unordered.
25
+ * 3. A page holds at most 1,000 features whatever `count` asks for.
26
+ * `count=5000` answers `numberReturned="1000"`, and the capabilities document
27
+ * states `CountDefault` as 1000.
28
+ * The page size is therefore the service's cap rather than a choice,
29
+ * and a full harvest is one request per thousand features.
30
+ * 4. The service states no count of its own.
31
+ * `resultType=hits` answers `numberMatched="1000"` both bare and at `startIndex=1`,
32
+ * which is that same cap, and a feature page answers `numberMatched="unknown"`.
33
+ * `readCheckedWFSFeatureCount` proves a reported count against a page of the type,
34
+ * and a count equal to the page cap passes that check because no page can exceed
35
+ * the cap — a 10-feature probe agrees with 1000.
36
+ * `statedFeatureCount` refuses a count equal to the advertised `CountDefault`
37
+ * for that reason, so this service is harvested with no count and the harvest
38
+ * ends on the first page that returns no features.
39
+ * The size is read from the service when a caller asks for it, by `countWFSFeaturesByPaging`,
40
+ * and no count is written into this file.
41
+ * 5. The service honors a sort.
42
+ * `ImplementsSorting` is `TRUE`, `sortBy=ms:id` answers HTTP 200
43
+ * and `sortBy=ms:id D` returns the register's last rows first.
44
+ * That proves the parameter is applied.
45
+ * `PagingIsTransactionSafe` is `FALSE`, which is the service stating that a paged
46
+ * sequence may shift under edits made while it is being read.
47
+ * The sort bounds that shift to the rows whose `ms:id` changed rather than
48
+ * leaving the whole sequence unordered.
42
49
  *
43
- * A measurement by paging rests on monotone presence: that an index holding a feature implies every
44
- * smaller index holds one. A WFS offers no such guarantee, and a bisection over a service where it
45
- * fails reports the first gap rather than the extent. The figure is therefore reported with the date
46
- * it was taken, never stored as a constant: the register recorded 8,625,921 on 2026-10-01, and on
47
- * 2026-10-02 `startIndex=8626950` returned one feature while `startIndex=8626951` returned none, so
48
- * the service then held 8,626,951. Such growth is ordinary
49
- * business for a municipal address register.
50
+ * A measurement by paging rests on monotone presence: that an index holding a
51
+ * feature implies every smaller index holds one.
52
+ * A WFS offers no such guarantee, and a bisection over a service where it fails
53
+ * reports the first gap rather than the extent.
50
54
  *
51
- * At 1,000 features per page and 1,607,180 bytes per page, a full harvest at that size is 8,627
52
- * requests and about 13.9 GB.
55
+ * The figure is therefore reported with the date it was taken, never stored as a constant:
56
+ * the register recorded 8,625,921 on 2026-10-01, and on 2026-10-02 `startIndex=8626950` returned
57
+ * one feature while `startIndex=8626951` returned none, so the service then held 8,626,951.
58
+ * Such growth is ordinary business for a municipal address register.
53
59
  *
54
- * The harvest assembles one GML document rather than one file per page, because the adapter opens
55
- * `opts.inputPath` as a single markup stream. The first page's root tag opens the file with its
56
- * namespace declarations kept and its per-page `numberReturned`, `numberMatched` and `timeStamp`
57
- * dropped, since those describe one page and the manifest records them per page. The closing tag is
58
- * written when the harvest reaches the end of the type, so a partial harvest is an unclosed document
59
- * — which the adapter's scanner still reads member by member, and which a resumed run appends to
60
- * after truncating back to the last page boundary.
60
+ * At 1,000 features per page and 1,607,180 bytes per page, a full harvest at
61
+ * that size is 8,627 requests and about 13.9 GB.
62
+ *
63
+ * The harvest assembles one GML document rather than one file per page, because the
64
+ * adapter opens `opts.inputPath` as a single markup stream.
65
+ * The first page's root tag opens the file with its namespace declarations kept
66
+ * and its per-page `numberReturned`, `numberMatched` and `timeStamp` dropped,
67
+ * since those describe one page and the manifest records them per page.
68
+ *
69
+ * The closing tag is written when the harvest reaches the end of the type, so a partial
70
+ * harvest is an unclosed document — which the adapter's scanner still reads member by member,
71
+ * and which a resumed run appends to after truncating back to the last page boundary.
61
72
  */
62
73
  import { countWFSFeaturesByPaging, readCheckedWFSFeatureCount } from "@mailwoman/core/api";
63
74
  import { readWFSCapabilities } from "#tools/fetch/inspire-addresses";
@@ -157,8 +168,8 @@ export async function readEMUiAFeatureCount(client, options) {
157
168
  * from this file's constants, so a service that stops publishing either raises here
158
169
  * instead of producing a harvest of something else.
159
170
  *
160
- * @throws When the service publishes no Addresses type, does not advertise the GML
161
- * format the adapter reads, or does not advertise result paging.
171
+ * @throws When the service publishes no Addresses type, doesn't advertise the GML
172
+ * format the adapter reads, or doesn't advertise result paging.
162
173
  */
163
174
  export async function readEMUiACapabilities(client) {
164
175
  const capabilities = await readWFSCapabilities(client, { wfsURL: PL_EMUIA_WFS, context: CONTEXT });
@@ -1 +1 @@
1
- {"version":3,"file":"emuia.js","sourceRoot":"","sources":["../../../../lib/pl/tools/fetch/emuia.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,OAAO,EAAE,wBAAwB,EAAE,0BAA0B,EAAkB,MAAM,qBAAqB,CAAA;AAI1G,OAAO,EAAE,mBAAmB,EAAwB,MAAM,gCAAgC,CAAA;AAC1F,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,kBAAkB,GAIlB,MAAM,0BAA0B,CAAA;AAEjC;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,6DAA6D,CAAA;AAEzF;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E,gBAAgB,EAAE,QAAQ,EAAE;QACpE,WAAW,EAAE,UAAU;QACvB,oBAAoB,EAAE,uBAAuB;QAC7C,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,CACzB,cAAc,CAAC,MAAM,EAAE;YACtB,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC;YAChC,QAAQ;YACR,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,YAAY,EAAE,OAAO,CAAC,YAAY;YAClC,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,MAAM;SACN,CAAC;KACH,EACD,MAAM,CACN,CAAA;AACF,CAAC"}
@@ -0,0 +1,107 @@
1
+ /**
2
+ * The contract a country's official post-office list satisfies to join the post-office layer.
3
+ *
4
+ * `mailwoman gazetteer build post-offices` folds every source in `POST_OFFICE_SOURCES`
5
+ * (`#post-offices/sources`) into one `post-offices.db`.
6
+ * A source's identity, terms and reader live in its entry, under its country's
7
+ * directory (`lib/<cc>/post-offices/`).
8
+ *
9
+ * The layer builder reads only the fields below and never branches on a country.
10
+ */
11
+ import type { ComponentTag } from "@mailwoman/codex/component";
12
+ import type { PathBuilder } from "path-ts";
13
+ /**
14
+ * Who compiled a post-office list.
15
+ *
16
+ * A postal operator's own facility list is the operator's record of where it serves the public.
17
+ * A mapping agency's compilation is another body's observation of those facilities.
18
+ *
19
+ * The layer records the class beside each source so a reader can prefer the operator's record.
20
+ */
21
+ export declare const PostOfficeProvenance: {
22
+ /**
23
+ * The postal operator's own list of its facilities.
24
+ */
25
+ readonly PostalOperator: "postal-operator";
26
+ /**
27
+ * A government mapping agency's compilation, such as the USGS National Map's structures layer.
28
+ */
29
+ readonly MappingAgency: "mapping-agency";
30
+ };
31
+ export type PostOfficeProvenance = (typeof PostOfficeProvenance)[keyof typeof PostOfficeProvenance];
32
+ /**
33
+ * One post office as a source reads it.
34
+ */
35
+ export interface PostOfficeRecord {
36
+ /**
37
+ * The publisher's own identifier for the facility, unique within the source.
38
+ */
39
+ id: string;
40
+ name: string | null;
41
+ /**
42
+ * `null` when the publisher records no point for the facility.
43
+ * The layer counts such a record and leaves it out.
44
+ */
45
+ point: {
46
+ latitude: number;
47
+ longitude: number;
48
+ } | null;
49
+ /**
50
+ * The facility's address as the components the parser labels (`house_number`, `street`,
51
+ * `unit`, `locality`, `region`, `postcode`), split by the country's own reader.
52
+ * `null` when the publisher records no street address.
53
+ *
54
+ * The post-office evaluation suite renders these with the country's address format
55
+ * and expects the parser to return each one.
56
+ */
57
+ address: Readonly<Partial<Record<ComponentTag, string>>> | null;
58
+ }
59
+ /**
60
+ * What one read of a source's fetched input yields.
61
+ */
62
+ export interface PostOfficeSourceRead {
63
+ /**
64
+ * The vintage of the input read, such as the date its fetch recorded.
65
+ */
66
+ vintage: string;
67
+ records: AsyncIterable<PostOfficeRecord>;
68
+ }
69
+ /**
70
+ * One country's official post-office list.
71
+ */
72
+ export interface PostOfficeSource {
73
+ /**
74
+ * The stable source id, stored on every row the source contributes (`<id>:<record id>`).
75
+ */
76
+ id: string;
77
+ /**
78
+ * The ISO 3166-1 alpha-2 code stamped on every row.
79
+ */
80
+ country: string;
81
+ publisher: string;
82
+ /**
83
+ * The credit the layer's manifest states for this source.
84
+ */
85
+ attribution: string;
86
+ /**
87
+ * The SPDX identifier, or a `LicenseRef-` this repository defines, that the rows arrive under.
88
+ */
89
+ license: string;
90
+ /**
91
+ * The `sourceID` of the source's row in `data/address-source-register.json`.
92
+ */
93
+ registerSource: string;
94
+ provenance: PostOfficeProvenance;
95
+ /**
96
+ * The command that fetches the input `read` takes.
97
+ */
98
+ fetchCommand: string;
99
+ /**
100
+ * Reads the fetched input under `sourcesRoot`, the root `mailwoman corpus fetch`
101
+ * writes current sources to.
102
+ *
103
+ * @throws When the input or the record of its fetch is missing.
104
+ */
105
+ read(sourcesRoot: PathBuilder): Promise<PostOfficeSourceRead>;
106
+ }
107
+ //# sourceMappingURL=source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../lib/post-offices/source.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB;IAChC;;OAEG;aACH,cAAc,EAAE,iBAAiB;IACjC;;OAEG;aACH,aAAa,EAAE,gBAAgB;CACtB,CAAA;AAEV,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAA;AAEnG;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB;;;OAGG;IACH,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IACrD;;;;;;;OAOG;IACH,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;CAC/D;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAA;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,oBAAoB,CAAA;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAA;CAC7D"}
@@ -0,0 +1,21 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+ /**
4
+ * Who compiled a post-office list.
5
+ *
6
+ * A postal operator's own facility list is the operator's record of where it serves the public.
7
+ * A mapping agency's compilation is another body's observation of those facilities.
8
+ *
9
+ * The layer records the class beside each source so a reader can prefer the operator's record.
10
+ */
11
+ export const PostOfficeProvenance = {
12
+ /**
13
+ * The postal operator's own list of its facilities.
14
+ */
15
+ PostalOperator: "postal-operator",
16
+ /**
17
+ * A government mapping agency's compilation, such as the USGS National Map's structures layer.
18
+ */
19
+ MappingAgency: "mapping-agency",
20
+ };
21
+ //# sourceMappingURL=source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.js","sourceRoot":"","sources":["../../lib/post-offices/source.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,kEAAkE;AAgBlE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC;;OAEG;IACH,cAAc,EAAE,iBAAiB;IACjC;;OAEG;IACH,aAAa,EAAE,gBAAgB;CACtB,CAAA"}