@voxgig/sdkgen 4.21.0 → 4.22.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 (672) hide show
  1. package/bin/voxgig-sdkgen +1 -1
  2. package/dist/action/action.js +0 -65
  3. package/dist/action/action.js.map +1 -1
  4. package/dist/action/check.js +0 -88
  5. package/dist/action/check.js.map +1 -1
  6. package/dist/action/dispatch.js +0 -27
  7. package/dist/action/dispatch.js.map +1 -1
  8. package/dist/action/doctor.d.ts +1 -0
  9. package/dist/action/doctor.js +55 -321
  10. package/dist/action/doctor.js.map +1 -1
  11. package/dist/action/edition.js +1 -87
  12. package/dist/action/edition.js.map +1 -1
  13. package/dist/action/feature.js +0 -48
  14. package/dist/action/feature.js.map +1 -1
  15. package/dist/action/kind.js +0 -132
  16. package/dist/action/kind.js.map +1 -1
  17. package/dist/action/package.js +0 -221
  18. package/dist/action/package.js.map +1 -1
  19. package/dist/action/resolve.js +0 -145
  20. package/dist/action/resolve.js.map +1 -1
  21. package/dist/action/target.js +0 -177
  22. package/dist/action/target.js.map +1 -1
  23. package/dist/cmp/AgentGuide.js +0 -7
  24. package/dist/cmp/AgentGuide.js.map +1 -1
  25. package/dist/cmp/AgentGuideContent.js +0 -24
  26. package/dist/cmp/AgentGuideContent.js.map +1 -1
  27. package/dist/cmp/AgentGuideTop.js +0 -7
  28. package/dist/cmp/AgentGuideTop.js.map +1 -1
  29. package/dist/cmp/Changelog.js +0 -14
  30. package/dist/cmp/Changelog.js.map +1 -1
  31. package/dist/cmp/Deploy.js +1 -31
  32. package/dist/cmp/Deploy.js.map +1 -1
  33. package/dist/cmp/Entity.js +0 -4
  34. package/dist/cmp/Entity.js.map +1 -1
  35. package/dist/cmp/ExternalTarget.js +0 -36
  36. package/dist/cmp/ExternalTarget.js.map +1 -1
  37. package/dist/cmp/Feature.js +0 -14
  38. package/dist/cmp/Feature.js.map +1 -1
  39. package/dist/cmp/FeatureDocs.js +0 -25
  40. package/dist/cmp/FeatureDocs.js.map +1 -1
  41. package/dist/cmp/PublishWorkflow.js +0 -60
  42. package/dist/cmp/PublishWorkflow.js.map +1 -1
  43. package/dist/cmp/ReadmeErrors.js +0 -2
  44. package/dist/cmp/ReadmeErrors.js.map +1 -1
  45. package/dist/cmp/ReadmeExplanation.js +0 -5
  46. package/dist/cmp/ReadmeExplanation.js.map +1 -1
  47. package/dist/cmp/ReadmeFeatures.js +0 -10
  48. package/dist/cmp/ReadmeFeatures.js.map +1 -1
  49. package/dist/cmp/ReadmeRefFeatures.js +0 -19
  50. package/dist/cmp/ReadmeRefFeatures.js.map +1 -1
  51. package/dist/cmp/ReadmeStation.js +0 -19
  52. package/dist/cmp/ReadmeStation.js.map +1 -1
  53. package/dist/cmp/ReadmeTop.js +0 -80
  54. package/dist/cmp/ReadmeTop.js.map +1 -1
  55. package/dist/cmp/ReadmeUnions.js +0 -15
  56. package/dist/cmp/ReadmeUnions.js.map +1 -1
  57. package/dist/cmp/Registered.js +0 -30
  58. package/dist/cmp/Registered.js.map +1 -1
  59. package/dist/cmp/Security.js +0 -2
  60. package/dist/cmp/Security.js.map +1 -1
  61. package/dist/cmp/Test.js +2 -1
  62. package/dist/cmp/Test.js.map +1 -1
  63. package/dist/cmp/TestControl.js +0 -25
  64. package/dist/cmp/TestControl.js.map +1 -1
  65. package/dist/helpers/applicability.js +0 -60
  66. package/dist/helpers/applicability.js.map +1 -1
  67. package/dist/helpers/buildIdNames.js +0 -12
  68. package/dist/helpers/buildIdNames.js.map +1 -1
  69. package/dist/helpers/canonSpec.js +0 -114
  70. package/dist/helpers/canonSpec.js.map +1 -1
  71. package/dist/helpers/canonType.js +0 -87
  72. package/dist/helpers/canonType.js.map +1 -1
  73. package/dist/helpers/collectDeps.js +0 -27
  74. package/dist/helpers/collectDeps.js.map +1 -1
  75. package/dist/helpers/definition.js +0 -29
  76. package/dist/helpers/definition.js.map +1 -1
  77. package/dist/helpers/dryrun.js +0 -8
  78. package/dist/helpers/dryrun.js.map +1 -1
  79. package/dist/helpers/featureSource.js +0 -145
  80. package/dist/helpers/featureSource.js.map +1 -1
  81. package/dist/helpers/getMatchEntries.js +0 -4
  82. package/dist/helpers/getMatchEntries.js.map +1 -1
  83. package/dist/helpers/junk.js +9 -85
  84. package/dist/helpers/junk.js.map +1 -1
  85. package/dist/helpers/manifest.js +0 -138
  86. package/dist/helpers/manifest.js.map +1 -1
  87. package/dist/helpers/modelNames.js +0 -78
  88. package/dist/helpers/modelNames.js.map +1 -1
  89. package/dist/helpers/modelcheck.js +0 -106
  90. package/dist/helpers/modelcheck.js.map +1 -1
  91. package/dist/helpers/naming.d.ts +0 -1
  92. package/dist/helpers/naming.js +0 -303
  93. package/dist/helpers/naming.js.map +1 -1
  94. package/dist/helpers/opExample.js +0 -51
  95. package/dist/helpers/opExample.js.map +1 -1
  96. package/dist/helpers/opShape.js +0 -198
  97. package/dist/helpers/opShape.js.map +1 -1
  98. package/dist/helpers/optspec.js +0 -77
  99. package/dist/helpers/optspec.js.map +1 -1
  100. package/dist/helpers/packageMeta.js +1 -200
  101. package/dist/helpers/packageMeta.js.map +1 -1
  102. package/dist/helpers/pointPath.js +0 -55
  103. package/dist/helpers/pointPath.js.map +1 -1
  104. package/dist/helpers/resolved.d.ts +6 -0
  105. package/dist/helpers/resolved.js +49 -0
  106. package/dist/helpers/resolved.js.map +1 -0
  107. package/dist/helpers/semver.js +0 -61
  108. package/dist/helpers/semver.js.map +1 -1
  109. package/dist/helpers/serverVars.js +0 -44
  110. package/dist/helpers/serverVars.js.map +1 -1
  111. package/dist/helpers/shipped.js +0 -14
  112. package/dist/helpers/shipped.js.map +1 -1
  113. package/dist/helpers/station.js +0 -32
  114. package/dist/helpers/station.js.map +1 -1
  115. package/dist/helpers/stdrep.js +0 -26
  116. package/dist/helpers/stdrep.js.map +1 -1
  117. package/dist/helpers/testPolicy.js +0 -4
  118. package/dist/helpers/testPolicy.js.map +1 -1
  119. package/dist/sdkgen.d.ts +2 -1
  120. package/dist/sdkgen.js +13 -242
  121. package/dist/sdkgen.js.map +1 -1
  122. package/dist/testkit.js +6 -266
  123. package/dist/testkit.js.map +1 -1
  124. package/dist/tsconfig.tsbuildinfo +1 -1
  125. package/dist/utility.js +0 -243
  126. package/dist/utility.js.map +1 -1
  127. package/model/sdkgen.aon +12 -489
  128. package/package.json +4 -4
  129. package/project/.sdk/model/feature/audit.aon +0 -7
  130. package/project/.sdk/model/feature/cache.aon +0 -7
  131. package/project/.sdk/model/feature/clienttrack.aon +0 -7
  132. package/project/.sdk/model/feature/cost.aon +0 -13
  133. package/project/.sdk/model/feature/debug.aon +0 -7
  134. package/project/.sdk/model/feature/idempotency.aon +0 -7
  135. package/project/.sdk/model/feature/log.aon +0 -7
  136. package/project/.sdk/model/feature/metrics.aon +0 -7
  137. package/project/.sdk/model/feature/netsim.aon +0 -10
  138. package/project/.sdk/model/feature/paging.aon +0 -7
  139. package/project/.sdk/model/feature/proxy.aon +0 -7
  140. package/project/.sdk/model/feature/ratelimit.aon +0 -7
  141. package/project/.sdk/model/feature/retry.aon +0 -7
  142. package/project/.sdk/model/feature/secrets.aon +0 -482
  143. package/project/.sdk/model/feature/streaming.aon +0 -7
  144. package/project/.sdk/model/feature/telemetry.aon +0 -7
  145. package/project/.sdk/model/feature/test.aon +1 -8
  146. package/project/.sdk/model/feature/timeout.aon +0 -7
  147. package/project/.sdk/model/feature/validate.aon +0 -32
  148. package/project/.sdk/model/target/c.aon +0 -41
  149. package/project/.sdk/model/target/clojure.aon +0 -36
  150. package/project/.sdk/model/target/cpp.aon +0 -42
  151. package/project/.sdk/model/target/csharp.aon +0 -26
  152. package/project/.sdk/model/target/elixir.aon +0 -22
  153. package/project/.sdk/model/target/go-cli.aon +0 -30
  154. package/project/.sdk/model/target/go-mcp.aon +0 -21
  155. package/project/.sdk/model/target/go.aon +0 -9
  156. package/project/.sdk/model/target/java.aon +0 -29
  157. package/project/.sdk/model/target/js.aon +2 -21
  158. package/project/.sdk/model/target/kotlin.aon +0 -31
  159. package/project/.sdk/model/target/lua.aon +0 -32
  160. package/project/.sdk/model/target/ocaml.aon +0 -64
  161. package/project/.sdk/model/target/perl.aon +0 -20
  162. package/project/.sdk/model/target/php.aon +0 -17
  163. package/project/.sdk/model/target/py-data.aon +0 -33
  164. package/project/.sdk/model/target/py.aon +0 -17
  165. package/project/.sdk/model/target/rb.aon +0 -17
  166. package/project/.sdk/model/target/rust.aon +0 -25
  167. package/project/.sdk/model/target/scala.aon +0 -74
  168. package/project/.sdk/model/target/swift.aon +0 -41
  169. package/project/.sdk/model/target/ts.aon +3 -25
  170. package/project/.sdk/model/target/zig.aon +0 -50
  171. package/project/.sdk/src/cmp/c/Config_c.ts +0 -100
  172. package/project/.sdk/src/cmp/c/EntityTypes_c.ts +0 -36
  173. package/project/.sdk/src/cmp/c/Main_c.ts +0 -44
  174. package/project/.sdk/src/cmp/c/Package_c.ts +0 -14
  175. package/project/.sdk/src/cmp/c/PrepareAuth_c.ts +0 -85
  176. package/project/.sdk/src/cmp/c/ReadmeExamplesTest_c.ts +0 -20
  177. package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +2 -5
  178. package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +0 -2
  179. package/project/.sdk/src/cmp/c/Schema_c.ts +0 -19
  180. package/project/.sdk/src/cmp/c/utility_c.ts +0 -47
  181. package/project/.sdk/src/cmp/clojure/Config_clojure.ts +0 -63
  182. package/project/.sdk/src/cmp/clojure/Entity_clojure.ts +0 -1
  183. package/project/.sdk/src/cmp/clojure/Main_clojure.ts +0 -41
  184. package/project/.sdk/src/cmp/clojure/Package_clojure.ts +0 -20
  185. package/project/.sdk/src/cmp/clojure/PrepareAuth_clojure.ts +0 -130
  186. package/project/.sdk/src/cmp/clojure/ReadmeExamplesTest_clojure.ts +0 -16
  187. package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +2 -5
  188. package/project/.sdk/src/cmp/clojure/Schema_clojure.ts +0 -20
  189. package/project/.sdk/src/cmp/clojure/TestDirect_clojure.ts +0 -6
  190. package/project/.sdk/src/cmp/clojure/TestEntity_clojure.ts +0 -10
  191. package/project/.sdk/src/cmp/clojure/Test_clojure.ts +0 -8
  192. package/project/.sdk/src/cmp/clojure/featureextra_clojure.ts +0 -34
  193. package/project/.sdk/src/cmp/clojure/utility_clojure.ts +0 -47
  194. package/project/.sdk/src/cmp/cpp/Config_cpp.ts +0 -109
  195. package/project/.sdk/src/cmp/cpp/EntityTypes_cpp.ts +0 -36
  196. package/project/.sdk/src/cmp/cpp/Main_cpp.ts +0 -47
  197. package/project/.sdk/src/cmp/cpp/Package_cpp.ts +0 -14
  198. package/project/.sdk/src/cmp/cpp/PrepareAuth_cpp.ts +0 -125
  199. package/project/.sdk/src/cmp/cpp/ReadmeExamplesTest_cpp.ts +0 -19
  200. package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +0 -7
  201. package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +2 -5
  202. package/project/.sdk/src/cmp/cpp/Schema_cpp.ts +0 -21
  203. package/project/.sdk/src/cmp/cpp/TestEntity_cpp.ts +0 -3
  204. package/project/.sdk/src/cmp/cpp/Test_cpp.ts +0 -3
  205. package/project/.sdk/src/cmp/cpp/utility_cpp.ts +0 -28
  206. package/project/.sdk/src/cmp/csharp/Config_csharp.ts +0 -79
  207. package/project/.sdk/src/cmp/csharp/EntityOperation_csharp.ts +0 -3
  208. package/project/.sdk/src/cmp/csharp/EntityTypes_csharp.ts +0 -50
  209. package/project/.sdk/src/cmp/csharp/Entity_csharp.ts +0 -1
  210. package/project/.sdk/src/cmp/csharp/Main_csharp.ts +0 -24
  211. package/project/.sdk/src/cmp/csharp/Package_csharp.ts +0 -20
  212. package/project/.sdk/src/cmp/csharp/PrepareAuth_csharp.ts +0 -81
  213. package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +0 -1
  214. package/project/.sdk/src/cmp/csharp/ReadmeExamplesTest_csharp.ts +0 -23
  215. package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +2 -5
  216. package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +0 -2
  217. package/project/.sdk/src/cmp/csharp/Schema_csharp.ts +0 -18
  218. package/project/.sdk/src/cmp/csharp/TestEntity_csharp.ts +0 -4
  219. package/project/.sdk/src/cmp/csharp/utility_csharp.ts +0 -72
  220. package/project/.sdk/src/cmp/elixir/Config_elixir.ts +0 -78
  221. package/project/.sdk/src/cmp/elixir/EntityTypes_elixir.ts +0 -38
  222. package/project/.sdk/src/cmp/elixir/Main_elixir.ts +0 -40
  223. package/project/.sdk/src/cmp/elixir/Package_elixir.ts +0 -13
  224. package/project/.sdk/src/cmp/elixir/PrepareAuth_elixir.ts +0 -123
  225. package/project/.sdk/src/cmp/elixir/ReadmeExamplesTest_elixir.ts +0 -19
  226. package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +2 -5
  227. package/project/.sdk/src/cmp/elixir/Schema_elixir.ts +0 -24
  228. package/project/.sdk/src/cmp/elixir/utility_elixir.ts +0 -34
  229. package/project/.sdk/src/cmp/go/Config_go.ts +0 -41
  230. package/project/.sdk/src/cmp/go/EntityTypes_go.ts +0 -71
  231. package/project/.sdk/src/cmp/go/Entity_go.ts +0 -5
  232. package/project/.sdk/src/cmp/go/Main_go.ts +0 -28
  233. package/project/.sdk/src/cmp/go/Package_go.ts +0 -7
  234. package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +0 -64
  235. package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +0 -5
  236. package/project/.sdk/src/cmp/go/ReadmeExamplesTest_go.ts +0 -30
  237. package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +0 -3
  238. package/project/.sdk/src/cmp/go/ReadmeIntro_go.ts +0 -7
  239. package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +0 -11
  240. package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +0 -21
  241. package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +2 -14
  242. package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +0 -9
  243. package/project/.sdk/src/cmp/go/Schema_go.ts +0 -21
  244. package/project/.sdk/src/cmp/go/TestDirect_go.ts +0 -23
  245. package/project/.sdk/src/cmp/go/TestEntity_go.ts +0 -8
  246. package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +0 -21
  247. package/project/.sdk/src/cmp/go/fragment/Main.fragment.go +0 -12
  248. package/project/.sdk/src/cmp/go/utility_go.ts +0 -70
  249. package/project/.sdk/src/cmp/go-cli/Main_go-cli.ts +0 -49
  250. package/project/.sdk/src/cmp/go-cli/fragment/words.fragment.go +0 -12
  251. package/project/.sdk/src/cmp/go-mcp/Main_go-mcp.ts +0 -36
  252. package/project/.sdk/src/cmp/go-mcp/fragment/main.fragment.go +0 -20
  253. package/project/.sdk/src/cmp/go-mcp/fragment/tools.fragment.go +0 -3
  254. package/project/.sdk/src/cmp/java/Config_java.ts +0 -63
  255. package/project/.sdk/src/cmp/java/EntityTypes_java.ts +0 -50
  256. package/project/.sdk/src/cmp/java/Entity_java.ts +0 -6
  257. package/project/.sdk/src/cmp/java/Main_java.ts +0 -24
  258. package/project/.sdk/src/cmp/java/PrepareAuth_java.ts +0 -55
  259. package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +0 -1
  260. package/project/.sdk/src/cmp/java/ReadmeExamplesTest_java.ts +0 -20
  261. package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +0 -4
  262. package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +2 -5
  263. package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +0 -7
  264. package/project/.sdk/src/cmp/java/Schema_java.ts +0 -19
  265. package/project/.sdk/src/cmp/java/TestDirect_java.ts +0 -7
  266. package/project/.sdk/src/cmp/java/TestEntity_java.ts +0 -4
  267. package/project/.sdk/src/cmp/java/Test_java.ts +0 -6
  268. package/project/.sdk/src/cmp/java/utility_java.ts +0 -33
  269. package/project/.sdk/src/cmp/js/Config_js.ts +0 -46
  270. package/project/.sdk/src/cmp/js/EntityTypes_js.ts +0 -33
  271. package/project/.sdk/src/cmp/js/Main_js.ts +0 -33
  272. package/project/.sdk/src/cmp/js/Package_js.ts +2 -7
  273. package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +0 -57
  274. package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +0 -9
  275. package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +0 -2
  276. package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +0 -15
  277. package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +2 -7
  278. package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +0 -7
  279. package/project/.sdk/src/cmp/js/Schema_js.ts +0 -21
  280. package/project/.sdk/src/cmp/js/TestDirect_js.ts +2 -16
  281. package/project/.sdk/src/cmp/js/TestEntity_js.ts +3 -13
  282. package/project/.sdk/src/cmp/js/TestLive_js.ts +10 -3
  283. package/project/.sdk/src/cmp/js/utility_js.ts +0 -58
  284. package/project/.sdk/src/cmp/kotlin/Config_kotlin.ts +0 -46
  285. package/project/.sdk/src/cmp/kotlin/EntityOperation_kotlin.ts +0 -2
  286. package/project/.sdk/src/cmp/kotlin/EntityTypes_kotlin.ts +0 -53
  287. package/project/.sdk/src/cmp/kotlin/Entity_kotlin.ts +0 -4
  288. package/project/.sdk/src/cmp/kotlin/Main_kotlin.ts +0 -46
  289. package/project/.sdk/src/cmp/kotlin/PrepareAuth_kotlin.ts +0 -113
  290. package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +0 -1
  291. package/project/.sdk/src/cmp/kotlin/ReadmeExamplesTest_kotlin.ts +0 -20
  292. package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +2 -5
  293. package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +0 -5
  294. package/project/.sdk/src/cmp/kotlin/Schema_kotlin.ts +0 -19
  295. package/project/.sdk/src/cmp/kotlin/TestEntity_kotlin.ts +0 -4
  296. package/project/.sdk/src/cmp/kotlin/Test_kotlin.ts +0 -6
  297. package/project/.sdk/src/cmp/kotlin/utility_kotlin.ts +0 -33
  298. package/project/.sdk/src/cmp/lua/Config_lua.ts +0 -56
  299. package/project/.sdk/src/cmp/lua/EntityTypes_lua.ts +0 -30
  300. package/project/.sdk/src/cmp/lua/Entity_lua.ts +0 -7
  301. package/project/.sdk/src/cmp/lua/Main_lua.ts +0 -58
  302. package/project/.sdk/src/cmp/lua/Package_lua.ts +0 -20
  303. package/project/.sdk/src/cmp/lua/PrepareAuth_lua.ts +0 -61
  304. package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +0 -8
  305. package/project/.sdk/src/cmp/lua/ReadmeExamplesTest_lua.ts +0 -24
  306. package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +0 -10
  307. package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +0 -21
  308. package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +2 -12
  309. package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +0 -3
  310. package/project/.sdk/src/cmp/lua/Schema_lua.ts +0 -16
  311. package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +0 -2
  312. package/project/.sdk/src/cmp/lua/utility_lua.ts +0 -30
  313. package/project/.sdk/src/cmp/ocaml/Config_ocaml.ts +0 -98
  314. package/project/.sdk/src/cmp/ocaml/EntityOperation_ocaml.ts +0 -6
  315. package/project/.sdk/src/cmp/ocaml/Main_ocaml.ts +0 -78
  316. package/project/.sdk/src/cmp/ocaml/Package_ocaml.ts +0 -13
  317. package/project/.sdk/src/cmp/ocaml/PrepareAuth_ocaml.ts +0 -145
  318. package/project/.sdk/src/cmp/ocaml/ReadmeExamplesTest_ocaml.ts +0 -17
  319. package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +2 -5
  320. package/project/.sdk/src/cmp/ocaml/Schema_ocaml.ts +0 -23
  321. package/project/.sdk/src/cmp/ocaml/SdkError_ocaml.ts +0 -4
  322. package/project/.sdk/src/cmp/ocaml/TestEntity_ocaml.ts +0 -5
  323. package/project/.sdk/src/cmp/ocaml/utility_ocaml.ts +0 -27
  324. package/project/.sdk/src/cmp/perl/Config_perl.ts +0 -52
  325. package/project/.sdk/src/cmp/perl/Entity_perl.ts +0 -3
  326. package/project/.sdk/src/cmp/perl/Main_perl.ts +0 -33
  327. package/project/.sdk/src/cmp/perl/Package_perl.ts +0 -8
  328. package/project/.sdk/src/cmp/perl/PrepareAuth_perl.ts +0 -84
  329. package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +0 -3
  330. package/project/.sdk/src/cmp/perl/ReadmeExamplesTest_perl.ts +0 -27
  331. package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +2 -5
  332. package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +0 -2
  333. package/project/.sdk/src/cmp/perl/Schema_perl.ts +0 -18
  334. package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +0 -2
  335. package/project/.sdk/src/cmp/perl/utility_perl.ts +0 -26
  336. package/project/.sdk/src/cmp/php/Config_php.ts +0 -76
  337. package/project/.sdk/src/cmp/php/EntityTypes_php.ts +0 -51
  338. package/project/.sdk/src/cmp/php/MainEntity_php.ts +0 -6
  339. package/project/.sdk/src/cmp/php/Main_php.ts +0 -15
  340. package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +0 -73
  341. package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +0 -4
  342. package/project/.sdk/src/cmp/php/ReadmeExamplesTest_php.ts +0 -33
  343. package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +0 -1
  344. package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +0 -19
  345. package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +2 -7
  346. package/project/.sdk/src/cmp/php/Schema_php.ts +0 -15
  347. package/project/.sdk/src/cmp/php/TestEntity_php.ts +0 -9
  348. package/project/.sdk/src/cmp/php/utility_php.ts +0 -22
  349. package/project/.sdk/src/cmp/py/Config_py.ts +0 -53
  350. package/project/.sdk/src/cmp/py/EntityTypes_py.ts +0 -55
  351. package/project/.sdk/src/cmp/py/Entity_py.ts +0 -16
  352. package/project/.sdk/src/cmp/py/Main_py.ts +1 -61
  353. package/project/.sdk/src/cmp/py/Package_py.ts +0 -3
  354. package/project/.sdk/src/cmp/py/PrepareAuth_py.ts +0 -69
  355. package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +0 -13
  356. package/project/.sdk/src/cmp/py/ReadmeExamplesTest_py.ts +0 -31
  357. package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +0 -3
  358. package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +0 -28
  359. package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +2 -16
  360. package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +0 -14
  361. package/project/.sdk/src/cmp/py/Schema_py.ts +0 -19
  362. package/project/.sdk/src/cmp/py/TestDirect_py.ts +0 -2
  363. package/project/.sdk/src/cmp/py/utility_py.ts +0 -22
  364. package/project/.sdk/src/cmp/py-data/Main_py-data.ts +9 -43
  365. package/project/.sdk/src/cmp/rb/Config_rb.ts +0 -56
  366. package/project/.sdk/src/cmp/rb/EntityTypes_rb.ts +0 -58
  367. package/project/.sdk/src/cmp/rb/Entity_rb.ts +0 -3
  368. package/project/.sdk/src/cmp/rb/Main_rb.ts +0 -10
  369. package/project/.sdk/src/cmp/rb/Package_rb.ts +0 -5
  370. package/project/.sdk/src/cmp/rb/PrepareAuth_rb.ts +0 -81
  371. package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +0 -7
  372. package/project/.sdk/src/cmp/rb/ReadmeExamplesTest_rb.ts +0 -32
  373. package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +0 -9
  374. package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +0 -23
  375. package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +2 -10
  376. package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +0 -5
  377. package/project/.sdk/src/cmp/rb/ReadmeTopTest_rb.ts +0 -3
  378. package/project/.sdk/src/cmp/rb/Schema_rb.ts +0 -15
  379. package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +0 -2
  380. package/project/.sdk/src/cmp/rb/utility_rb.ts +0 -22
  381. package/project/.sdk/src/cmp/rust/Config_rust.ts +0 -35
  382. package/project/.sdk/src/cmp/rust/EntityTypes_rust.ts +0 -34
  383. package/project/.sdk/src/cmp/rust/Entity_rust.ts +0 -9
  384. package/project/.sdk/src/cmp/rust/Main_rust.ts +0 -58
  385. package/project/.sdk/src/cmp/rust/Package_rust.ts +0 -30
  386. package/project/.sdk/src/cmp/rust/PrepareAuth_rust.ts +0 -84
  387. package/project/.sdk/src/cmp/rust/ReadmeExamplesTest_rust.ts +0 -16
  388. package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +2 -5
  389. package/project/.sdk/src/cmp/rust/Schema_rust.ts +0 -18
  390. package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +0 -7
  391. package/project/.sdk/src/cmp/rust/TestEntity_rust.ts +0 -9
  392. package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +0 -14
  393. package/project/.sdk/src/cmp/rust/fragment/EntityRemoveOp.fragment.rs +0 -4
  394. package/project/.sdk/src/cmp/rust/fragment/Main.fragment.rs +0 -20
  395. package/project/.sdk/src/cmp/rust/fragment/SdkError.fragment.rs +0 -6
  396. package/project/.sdk/src/cmp/rust/utility_rust.ts +0 -47
  397. package/project/.sdk/src/cmp/scala/Config_scala.ts +0 -31
  398. package/project/.sdk/src/cmp/scala/EntityTypes_scala.ts +0 -51
  399. package/project/.sdk/src/cmp/scala/Main_scala.ts +0 -78
  400. package/project/.sdk/src/cmp/scala/PrepareAuth_scala.ts +0 -102
  401. package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +0 -1
  402. package/project/.sdk/src/cmp/scala/ReadmeExamplesTest_scala.ts +0 -23
  403. package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +2 -5
  404. package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +0 -5
  405. package/project/.sdk/src/cmp/scala/Schema_scala.ts +0 -19
  406. package/project/.sdk/src/cmp/scala/TestEntity_scala.ts +0 -8
  407. package/project/.sdk/src/cmp/scala/Test_scala.ts +0 -3
  408. package/project/.sdk/src/cmp/scala/utility_scala.ts +0 -31
  409. package/project/.sdk/src/cmp/swift/Config_swift.ts +0 -62
  410. package/project/.sdk/src/cmp/swift/EntityOperation_swift.ts +0 -3
  411. package/project/.sdk/src/cmp/swift/EntityTypes_swift.ts +0 -39
  412. package/project/.sdk/src/cmp/swift/Main_swift.ts +0 -42
  413. package/project/.sdk/src/cmp/swift/Package_swift.ts +0 -69
  414. package/project/.sdk/src/cmp/swift/PrepareAuth_swift.ts +0 -134
  415. package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +0 -2
  416. package/project/.sdk/src/cmp/swift/ReadmeExamplesTest_swift.ts +0 -22
  417. package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +2 -5
  418. package/project/.sdk/src/cmp/swift/Schema_swift.ts +0 -18
  419. package/project/.sdk/src/cmp/swift/TestEntity_swift.ts +0 -4
  420. package/project/.sdk/src/cmp/swift/utility_swift.ts +0 -51
  421. package/project/.sdk/src/cmp/ts/Config_ts.ts +0 -46
  422. package/project/.sdk/src/cmp/ts/EntityTypes_ts.ts +0 -34
  423. package/project/.sdk/src/cmp/ts/Entity_ts.ts +0 -6
  424. package/project/.sdk/src/cmp/ts/Main_ts.ts +0 -28
  425. package/project/.sdk/src/cmp/ts/Package_ts.ts +2 -26
  426. package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +0 -55
  427. package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +0 -9
  428. package/project/.sdk/src/cmp/ts/ReadmeExampleTest_ts.ts +0 -6
  429. package/project/.sdk/src/cmp/ts/ReadmeExamplesTest_ts.ts +0 -25
  430. package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +4 -9
  431. package/project/.sdk/src/cmp/ts/ReadmeIntro_ts.ts +0 -7
  432. package/project/.sdk/src/cmp/ts/ReadmeModel_ts.ts +0 -3
  433. package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +0 -43
  434. package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +2 -20
  435. package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +0 -11
  436. package/project/.sdk/src/cmp/ts/ReadmeTopTest_ts.ts +6 -9
  437. package/project/.sdk/src/cmp/ts/Schema_ts.ts +0 -21
  438. package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +2 -53
  439. package/project/.sdk/src/cmp/ts/TestEntity_ts.ts +3 -31
  440. package/project/.sdk/src/cmp/ts/TestLive_ts.ts +10 -4
  441. package/project/.sdk/src/cmp/ts/Test_ts.ts +0 -4
  442. package/project/.sdk/src/cmp/ts/fragment/Config.data.fragment.ts +0 -27
  443. package/project/.sdk/src/cmp/ts/fragment/Config.fragment.ts +0 -7
  444. package/project/.sdk/src/cmp/ts/fragment/Direct.test.fragment.ts +0 -7
  445. package/project/.sdk/src/cmp/ts/fragment/Entity.fragment.ts +0 -1
  446. package/project/.sdk/src/cmp/ts/fragment/Entity.test.fragment.ts +0 -4
  447. package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +0 -20
  448. package/project/.sdk/src/cmp/ts/fragment/EntityCreateOp.fragment.ts +0 -6
  449. package/project/.sdk/src/cmp/ts/fragment/EntityLoadOp.fragment.ts +0 -6
  450. package/project/.sdk/src/cmp/ts/fragment/EntityRemoveOp.fragment.ts +0 -15
  451. package/project/.sdk/src/cmp/ts/fragment/EntityUpdateOp.fragment.ts +0 -6
  452. package/project/.sdk/src/cmp/ts/fragment/Main.fragment.ts +0 -15
  453. package/project/.sdk/src/cmp/ts/fragment/MainStation.fragment.ts +0 -12
  454. package/project/.sdk/src/cmp/ts/fragment/SdkError.fragment.ts +0 -9
  455. package/project/.sdk/src/cmp/ts/utility_ts.ts +0 -59
  456. package/project/.sdk/src/cmp/zig/Config_zig.ts +0 -70
  457. package/project/.sdk/src/cmp/zig/Entity_zig.ts +0 -3
  458. package/project/.sdk/src/cmp/zig/Main_zig.ts +0 -83
  459. package/project/.sdk/src/cmp/zig/Package_zig.ts +0 -22
  460. package/project/.sdk/src/cmp/zig/PrepareAuth_zig.ts +0 -136
  461. package/project/.sdk/src/cmp/zig/ReadmeExamplesTest_zig.ts +0 -18
  462. package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +0 -3
  463. package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +2 -5
  464. package/project/.sdk/src/cmp/zig/Schema_zig.ts +0 -23
  465. package/project/.sdk/src/cmp/zig/TestDirect_zig.ts +0 -11
  466. package/project/.sdk/src/cmp/zig/TestEntity_zig.ts +0 -8
  467. package/project/.sdk/src/cmp/zig/Test_zig.ts +0 -11
  468. package/project/.sdk/src/cmp/zig/utility_zig.ts +0 -47
  469. package/project/.sdk/tm/csharp/feature/FeatureOptions.cs +18 -5
  470. package/project/.sdk/tm/go/core/context.go +0 -9
  471. package/project/.sdk/tm/go/core/types.go +0 -3
  472. package/project/.sdk/tm/go/feature/audit_feature.go +0 -9
  473. package/project/.sdk/tm/go/feature/cache_feature.go +0 -8
  474. package/project/.sdk/tm/go/feature/clienttrack_feature.go +0 -7
  475. package/project/.sdk/tm/go/feature/cost_feature.go +0 -51
  476. package/project/.sdk/tm/go/feature/debug_feature.go +0 -6
  477. package/project/.sdk/tm/go/feature/feature_options.go +108 -21
  478. package/project/.sdk/tm/go/feature/idempotency_feature.go +0 -6
  479. package/project/.sdk/tm/go/feature/metrics_feature.go +0 -6
  480. package/project/.sdk/tm/go/feature/netsim_feature.go +0 -8
  481. package/project/.sdk/tm/go/feature/paging_feature.go +0 -9
  482. package/project/.sdk/tm/go/feature/proxy_feature.go +0 -7
  483. package/project/.sdk/tm/go/feature/ratelimit_feature.go +0 -6
  484. package/project/.sdk/tm/go/feature/rbac_feature.go +0 -10
  485. package/project/.sdk/tm/go/feature/retry_feature.go +0 -6
  486. package/project/.sdk/tm/go/feature/secrets_feature.go +0 -173
  487. package/project/.sdk/tm/go/feature/streaming_feature.go +0 -7
  488. package/project/.sdk/tm/go/feature/telemetry_feature.go +0 -8
  489. package/project/.sdk/tm/go/feature/test_feature.go +0 -23
  490. package/project/.sdk/tm/go/feature/validate_feature.go +0 -66
  491. package/project/.sdk/tm/go/test/custom_utility_test.go +0 -29
  492. package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +0 -100
  493. package/project/.sdk/tm/go/test/feature_corpus_test.go +1 -60
  494. package/project/.sdk/tm/go/test/feature_harness_test.go +0 -10
  495. package/project/.sdk/tm/go/test/feature_test.go +107 -9
  496. package/project/.sdk/tm/go/test/omniresolver_test.go +0 -74
  497. package/project/.sdk/tm/go/test/omnismoke_test.go +0 -4
  498. package/project/.sdk/tm/go/test/pipeline_test.go +0 -10
  499. package/project/.sdk/tm/go/test/primary_utility_test.go +0 -32
  500. package/project/.sdk/tm/go/test/struct_utility_test.go +0 -38
  501. package/project/.sdk/tm/go/test/testsupport_test.go +0 -25
  502. package/project/.sdk/tm/go/utility/feature_add.go +0 -6
  503. package/project/.sdk/tm/go/utility/fetcher.go +0 -6
  504. package/project/.sdk/tm/go/utility/graphql.go +1 -31
  505. package/project/.sdk/tm/go/utility/make_options.go +38 -49
  506. package/project/.sdk/tm/go/utility/make_point.go +0 -11
  507. package/project/.sdk/tm/go/utility/make_spec.go +0 -15
  508. package/project/.sdk/tm/go/utility/register.go +0 -28
  509. package/project/.sdk/tm/go/utility/transform_request.go +0 -20
  510. package/project/.sdk/tm/go/utility/transform_response.go +0 -8
  511. package/project/.sdk/tm/js/src/feature/test/TestFeature.js +12 -4
  512. package/project/.sdk/tm/rust/core/context.rs +0 -5
  513. package/project/.sdk/tm/rust/core/control.rs +0 -1
  514. package/project/.sdk/tm/rust/core/helpers.rs +0 -15
  515. package/project/.sdk/tm/rust/core/operation.rs +0 -1
  516. package/project/.sdk/tm/rust/core/point.rs +0 -3
  517. package/project/.sdk/tm/rust/core/response.rs +0 -2
  518. package/project/.sdk/tm/rust/core/result.rs +0 -1
  519. package/project/.sdk/tm/rust/core/spec.rs +0 -1
  520. package/project/.sdk/tm/rust/core/types.rs +0 -20
  521. package/project/.sdk/tm/rust/core/utility_type.rs +0 -5
  522. package/project/.sdk/tm/rust/feature/audit.rs +0 -9
  523. package/project/.sdk/tm/rust/feature/base.rs +0 -3
  524. package/project/.sdk/tm/rust/feature/cache.rs +0 -9
  525. package/project/.sdk/tm/rust/feature/clienttrack.rs +0 -7
  526. package/project/.sdk/tm/rust/feature/cost.rs +0 -48
  527. package/project/.sdk/tm/rust/feature/debug.rs +0 -7
  528. package/project/.sdk/tm/rust/feature/idempotency.rs +0 -7
  529. package/project/.sdk/tm/rust/feature/log.rs +0 -3
  530. package/project/.sdk/tm/rust/feature/metrics.rs +0 -7
  531. package/project/.sdk/tm/rust/feature/netsim.rs +0 -9
  532. package/project/.sdk/tm/rust/feature/paging.rs +0 -10
  533. package/project/.sdk/tm/rust/feature/proxy.rs +0 -8
  534. package/project/.sdk/tm/rust/feature/ratelimit.rs +0 -6
  535. package/project/.sdk/tm/rust/feature/rbac.rs +0 -10
  536. package/project/.sdk/tm/rust/feature/retry.rs +0 -6
  537. package/project/.sdk/tm/rust/feature/secrets.rs +1 -187
  538. package/project/.sdk/tm/rust/feature/streaming.rs +0 -7
  539. package/project/.sdk/tm/rust/feature/support.rs +0 -6
  540. package/project/.sdk/tm/rust/feature/telemetry.rs +0 -9
  541. package/project/.sdk/tm/rust/feature/test.rs +0 -19
  542. package/project/.sdk/tm/rust/feature/timeout.rs +0 -7
  543. package/project/.sdk/tm/rust/feature/validate.rs +0 -81
  544. package/project/.sdk/tm/rust/tests/common/mod.rs +0 -35
  545. package/project/.sdk/tm/rust/tests/custom_utility_test.rs +0 -2
  546. package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +0 -95
  547. package/project/.sdk/tm/rust/tests/feature_test.rs +0 -16
  548. package/project/.sdk/tm/rust/tests/netsim_test.rs +0 -6
  549. package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +0 -135
  550. package/project/.sdk/tm/rust/tests/omni_smoke_test.rs +0 -15
  551. package/project/.sdk/tm/rust/tests/pipeline_test.rs +0 -6
  552. package/project/.sdk/tm/rust/tests/primary_utility_test.rs +0 -22
  553. package/project/.sdk/tm/rust/tests/struct_utility_test.rs +0 -25
  554. package/project/.sdk/tm/rust/utility/fetcher.rs +0 -5
  555. package/project/.sdk/tm/rust/utility/graphql.rs +1 -30
  556. package/project/.sdk/tm/rust/utility/make_error.rs +0 -2
  557. package/project/.sdk/tm/rust/utility/make_options.rs +0 -46
  558. package/project/.sdk/tm/rust/utility/make_point.rs +0 -12
  559. package/project/.sdk/tm/rust/utility/make_spec.rs +0 -4
  560. package/project/.sdk/tm/rust/utility/voxgigstruct/consts.rs +14 -20
  561. package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +0 -13
  562. package/project/.sdk/tm/rust/utility/voxgigstruct/mini.rs +0 -14
  563. package/project/.sdk/tm/rust/utility/voxgigstruct/mod.rs +0 -2
  564. package/project/.sdk/tm/rust/utility/voxgigstruct/ordered_map.rs +0 -18
  565. package/project/.sdk/tm/rust/utility/voxgigstruct/re.rs +0 -11
  566. package/project/.sdk/tm/rust/utility/voxgigstruct/value.rs +0 -3
  567. package/project/.sdk/tm/ts/src/Context.ts +0 -5
  568. package/project/.sdk/tm/ts/src/feature/audit/AuditFeature.ts +0 -7
  569. package/project/.sdk/tm/ts/src/feature/cache/CacheFeature.ts +0 -8
  570. package/project/.sdk/tm/ts/src/feature/clienttrack/ClienttrackFeature.ts +0 -7
  571. package/project/.sdk/tm/ts/src/feature/cost/CostFeature.ts +0 -52
  572. package/project/.sdk/tm/ts/src/feature/debug/DebugFeature.ts +0 -6
  573. package/project/.sdk/tm/ts/src/feature/metrics/MetricsFeature.ts +0 -6
  574. package/project/.sdk/tm/ts/src/feature/netsim/NetsimFeature.ts +0 -8
  575. package/project/.sdk/tm/ts/src/feature/paging/PagingFeature.ts +0 -13
  576. package/project/.sdk/tm/ts/src/feature/proxy/ProxyFeature.ts +0 -8
  577. package/project/.sdk/tm/ts/src/feature/ratelimit/RatelimitFeature.ts +0 -6
  578. package/project/.sdk/tm/ts/src/feature/rbac/RbacFeature.ts +0 -9
  579. package/project/.sdk/tm/ts/src/feature/retry/RetryFeature.ts +0 -6
  580. package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +0 -136
  581. package/project/.sdk/tm/ts/src/feature/streaming/StreamingFeature.ts +0 -7
  582. package/project/.sdk/tm/ts/src/feature/telemetry/TelemetryFeature.ts +0 -7
  583. package/project/.sdk/tm/ts/src/feature/test/TestFeature.ts +13 -88
  584. package/project/.sdk/tm/ts/src/feature/validate/ValidateFeature.ts +0 -87
  585. package/project/.sdk/tm/ts/src/utility/CleanUtility.ts +0 -12
  586. package/project/.sdk/tm/ts/src/utility/FeatureAddUtility.ts +0 -1
  587. package/project/.sdk/tm/ts/src/utility/GraphqlUtility.ts +2 -30
  588. package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +0 -4
  589. package/project/.sdk/tm/ts/src/utility/MakeOptionsUtility.ts +0 -46
  590. package/project/.sdk/tm/ts/src/utility/MakePointUtility.ts +0 -34
  591. package/project/.sdk/tm/ts/src/utility/MakeRequestUtility.ts +0 -1
  592. package/project/.sdk/tm/ts/src/utility/MakeSpecUtility.ts +0 -5
  593. package/project/.sdk/tm/ts/src/utility/MakeUrlUtility.ts +0 -1
  594. package/project/.sdk/tm/ts/src/utility/ParamUtility.ts +0 -8
  595. package/project/.sdk/tm/ts/src/utility/PrepareBodyUtility.ts +0 -3
  596. package/project/.sdk/tm/ts/src/utility/PrepareParamsUtility.ts +0 -6
  597. package/project/.sdk/tm/ts/src/utility/ResultBasicUtility.ts +0 -1
  598. package/project/.sdk/tm/ts/src/utility/TransformRequestUtility.ts +0 -20
  599. package/project/.sdk/tm/ts/src/utility/TransformResponseUtility.ts +0 -4
  600. package/project/.sdk/tm/ts/test/exists.test.ts +0 -10
  601. package/project/.sdk/tm/ts/test/feature/Corpus.test.ts +0 -56
  602. package/project/.sdk/tm/ts/test/feature/harness.ts +0 -9
  603. package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +0 -106
  604. package/project/.sdk/tm/ts/test/live-contract.ts +0 -2
  605. package/project/.sdk/tm/ts/test/omni.ts +0 -32
  606. package/project/.sdk/tm/ts/test/pipeline.test.ts +45 -28
  607. package/project/.sdk/tm/ts/test/utility/Corpus.test.ts +0 -13
  608. package/project/.sdk/tm/ts/test/utility/PrimaryUtility.test.ts +56 -29
  609. package/project/.sdk/tm/ts/test/utility/StructUtility.test.ts +0 -7
  610. package/project/.sdk/tm/ts/test/utility.ts +0 -55
  611. package/project/sdkgen-package.json +1 -1
  612. package/src/action/action.ts +0 -65
  613. package/src/action/check.ts +0 -88
  614. package/src/action/dispatch.ts +0 -27
  615. package/src/action/doctor.ts +69 -329
  616. package/src/action/edition.ts +1 -87
  617. package/src/action/feature.ts +1 -49
  618. package/src/action/kind.ts +0 -149
  619. package/src/action/package.ts +0 -228
  620. package/src/action/resolve.ts +0 -148
  621. package/src/action/target.ts +0 -177
  622. package/src/cmp/AgentGuide.ts +0 -7
  623. package/src/cmp/AgentGuideContent.ts +0 -24
  624. package/src/cmp/AgentGuideTop.ts +0 -7
  625. package/src/cmp/Changelog.ts +0 -14
  626. package/src/cmp/Deploy.ts +1 -31
  627. package/src/cmp/Entity.ts +0 -4
  628. package/src/cmp/ExternalTarget.ts +0 -36
  629. package/src/cmp/Feature.ts +0 -14
  630. package/src/cmp/FeatureDocs.ts +0 -37
  631. package/src/cmp/PublishWorkflow.ts +0 -60
  632. package/src/cmp/ReadmeErrors.ts +0 -17
  633. package/src/cmp/ReadmeExplanation.ts +2 -11
  634. package/src/cmp/ReadmeFeatures.ts +0 -10
  635. package/src/cmp/ReadmeRefFeatures.ts +0 -19
  636. package/src/cmp/ReadmeStation.ts +0 -19
  637. package/src/cmp/ReadmeTop.ts +0 -80
  638. package/src/cmp/ReadmeUnions.ts +0 -15
  639. package/src/cmp/Registered.ts +0 -30
  640. package/src/cmp/Security.ts +0 -2
  641. package/src/cmp/Test.ts +3 -1
  642. package/src/cmp/TestControl.ts +0 -25
  643. package/src/helpers/applicability.ts +0 -60
  644. package/src/helpers/buildIdNames.ts +0 -12
  645. package/src/helpers/canonSpec.ts +0 -114
  646. package/src/helpers/canonType.ts +0 -87
  647. package/src/helpers/collectDeps.ts +0 -27
  648. package/src/helpers/definition.ts +0 -29
  649. package/src/helpers/dryrun.ts +0 -8
  650. package/src/helpers/featureSource.ts +0 -152
  651. package/src/helpers/getMatchEntries.ts +0 -4
  652. package/src/helpers/junk.ts +13 -89
  653. package/src/helpers/manifest.ts +0 -169
  654. package/src/helpers/modelNames.ts +0 -81
  655. package/src/helpers/modelcheck.ts +0 -106
  656. package/src/helpers/naming.ts +0 -303
  657. package/src/helpers/opExample.ts +0 -56
  658. package/src/helpers/opShape.ts +0 -200
  659. package/src/helpers/optspec.ts +0 -77
  660. package/src/helpers/packageMeta.ts +1 -200
  661. package/src/helpers/pointPath.ts +0 -55
  662. package/src/helpers/resolved.ts +50 -0
  663. package/src/helpers/semver.ts +0 -61
  664. package/src/helpers/serverVars.ts +0 -44
  665. package/src/helpers/shipped.ts +0 -14
  666. package/src/helpers/station.ts +0 -32
  667. package/src/helpers/stdrep.ts +0 -52
  668. package/src/helpers/testPolicy.ts +0 -4
  669. package/src/sdkgen.ts +15 -263
  670. package/src/testkit.ts +6 -312
  671. package/src/types.ts +1 -30
  672. package/src/utility.ts +0 -243
@@ -1,22 +1,4 @@
1
1
  "use strict";
2
- // Reserved-word sanitiser for generated doc-example variable names.
3
- //
4
- // A doc example binds a variable named after the lowercased entity name
5
- // (e.g. `const delete = await client.Delete().load()`). When that name is a
6
- // reserved word in the target language the snippet does not compile
7
- // (TS1109/TS1389 for `delete`). `safeVarName` appends `_` to any reserved
8
- // name so the example still reads clearly and compiles.
9
- //
10
- // Only languages whose build/vet actually rejects the name are listed. JS and
11
- // TS share the ECMAScript reserved set (plus the strict-mode / contextual
12
- // words a `const` binding trips on). Go lists its 25 keywords — a var named
13
- // `type`/`func`/`range` fails `go build`; Go builtins like `delete`/`len` are
14
- // NOT keywords and are legal identifiers, so they are intentionally omitted.
15
- // rb/py/lua list the keywords that are illegal as a local-variable binding
16
- // (e.g. a `Self` entity -> `self = client.Self` is a Ruby SyntaxError, an
17
- // `End` entity -> `end = ...` a Lua one). PHP variables are `$`-prefixed so a
18
- // lowercased entity name never collides (only `$this` is special, and no
19
- // entity is named `this`), so PHP is not treated.
20
2
  Object.defineProperty(exports, "__esModule", { value: true });
21
3
  exports.isReservedName = isReservedName;
22
4
  exports.safeVarName = safeVarName;
@@ -44,7 +26,6 @@ const JS_RESERVED = new Set([
44
26
  'finally', 'for', 'function', 'if', 'import', 'in', 'instanceof', 'new',
45
27
  'null', 'return', 'super', 'switch', 'this', 'throw', 'true', 'try',
46
28
  'typeof', 'var', 'void', 'while', 'with', 'yield',
47
- // strict-mode / contextual words that are invalid as a `const`/`let` binding
48
29
  'await', 'implements', 'interface', 'let', 'package', 'private',
49
30
  'protected', 'public', 'static',
50
31
  ]);
@@ -54,7 +35,6 @@ const GO_RESERVED = new Set([
54
35
  'map', 'package', 'range', 'return', 'select', 'struct', 'switch', 'type',
55
36
  'var',
56
37
  ]);
57
- // Ruby keywords — illegal as a local-variable name (e.g. `self`, `end`).
58
38
  const RB_RESERVED = new Set([
59
39
  'alias', 'and', 'begin', 'break', 'case', 'class', 'def', 'defined?',
60
40
  'do', 'else', 'elsif', 'end', 'ensure', 'false', 'for', 'if', 'in',
@@ -62,7 +42,6 @@ const RB_RESERVED = new Set([
62
42
  'self', 'super', 'then', 'true', 'undef', 'unless', 'until', 'when',
63
43
  'while', 'yield', '__FILE__', '__LINE__', '__ENCODING__', 'BEGIN', 'END',
64
44
  ]);
65
- // Python keywords — illegal as a variable name.
66
45
  const PY_RESERVED = new Set([
67
46
  'False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break',
68
47
  'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally',
@@ -83,88 +62,31 @@ const RESERVED = {
83
62
  py: PY_RESERVED,
84
63
  lua: LUA_RESERVED,
85
64
  };
86
- // Ruby CORE CONSTANTS — a different hazard from the keyword sets above.
87
- //
88
- // The keyword sets guard local-variable BINDINGS. This set guards generated
89
- // top-level CONSTANTS. Ruby constants share one namespace with the core
90
- // classes, and reassigning one is not an error — it silently replaces it:
91
- //
92
- // File = Struct.new(:name) # ::File is now a Struct
93
- // File.join('a', 'b') # NoMethodError — every later caller breaks
94
- //
95
- // The typed model emits `<Name> = Struct.new(...)` per entity, so an API with
96
- // a `/files` collection (entity `File`) used to clobber Ruby's File class and
97
- // take the whole SDK down with it — the generated test runner calls
98
- // `File.join` to locate `.env.local`, so `rb` failed at require time.
99
- //
100
- // Only names Ruby itself defines at top level are listed: reassigning any of
101
- // them breaks working code somewhere. Names that merely LOOK builtin but are
102
- // not core constants (e.g. `Response`, `Record`) are safe and stay untouched,
103
- // which keeps the rename off every SDK that does not actually collide.
104
65
  const RB_CORE_CONSTANTS = new Set([
105
- // classes an entity name plausibly lands on
106
66
  'Array', 'Binding', 'Class', 'Comparable', 'Complex', 'Data', 'Dir',
107
67
  'Encoding', 'Enumerator', 'Exception', 'Fiber', 'File', 'Float', 'Hash',
108
68
  'IO', 'Integer', 'Method', 'Module', 'Mutex', 'Numeric', 'Object', 'Proc',
109
69
  'Queue', 'Random', 'Range', 'Rational', 'Regexp', 'Set', 'Signal', 'String',
110
70
  'Struct', 'Symbol', 'Thread', 'Time', 'UnboundMethod',
111
- // modules / singletons
112
71
  'Enumerable', 'GC', 'Kernel', 'Marshal', 'Math', 'ObjectSpace', 'Process',
113
72
  'Warning',
114
- // the rest of the exception hierarchy an API might name an entity after
115
73
  'ArgumentError', 'IndexError', 'IOError', 'KeyError', 'NameError',
116
74
  'NotImplementedError', 'RangeError', 'RuntimeError', 'StandardError',
117
75
  'StopIteration', 'SystemExit', 'TypeError', 'ZeroDivisionError',
118
- // literal singletons
119
76
  'FalseClass', 'NilClass', 'TrueClass',
120
77
  ]);
121
- // Is `Name` a constant Ruby already defines at top level?
122
78
  function isRbCoreConstant(Name) {
123
79
  return RB_CORE_CONSTANTS.has(Name);
124
80
  }
125
- // RUBY SDK-OWNED CONSTANTS — the OTHER half of "already taken".
126
- //
127
- // `RB_CORE_CONSTANTS` guards names the LANGUAGE owns. This guards names the
128
- // GENERATED SCAFFOLDING claims for itself, which is a distinct hazard and the
129
- // one that stayed open: an entity named `Runner` produced `class Runner` in
130
- // `<Sdk>_types.rb`, and the generated harness then does
131
- //
132
- // Runner = ProjectNameTestRunner # tm/rb/test/runner.rb
133
- //
134
- // so inside the test process the entity TYPE silently *is* the test runner.
135
- // Ruby warns (`already initialized constant Runner`) and carries on, which is
136
- // why it survived: nothing in the suite exercises the type, so `rb` passed.
137
- // Reported on gitlab-sdk, which has a `Runner` entity (issue #64).
138
- //
139
- // EVERYTHING SHARES ONE NAMESPACE HERE, unlike swift. Swift's Tests module is
140
- // separate from the SDK module, so `SWIFT_SDK_TYPES` can exclude test-only
141
- // declarations. Ruby has no such split — the types file and the test files are
142
- // all required into one process when the suite runs, which is exactly the
143
- // reported symptom — so test-declared names belong in this set.
144
- //
145
- // PREFIXED DECLARATIONS ARE DELIBERATELY ABSENT. `ProjectNameUtility` and
146
- // friends substitute to `<Sdk>Utility`, and a generated entity type is the
147
- // bare entity name, so those cannot collide. Only the UNPREFIXED declarations
148
- // are reachable.
149
- //
150
- // `rb-sdk-constants.test.ts` re-derives this list from the templates AND the
151
- // components and fails on drift — the same discipline as
152
- // `swift-sdk-types.test.ts`, and for the same reason: the first cut of that
153
- // list was collected by hand and missed three names, one of them declared by
154
- // a component rather than a template.
155
81
  const RB_SDK_CONSTANTS = new Set([
156
- // module-level aliases the test harness defines for convenience
157
82
  'Helpers', 'Runner', 'Vs',
158
- // vendored struct library and its test scaffolding
159
83
  'StructRunner', 'StructTestClient', 'StructUtilityTest', 'VoxgigStruct',
160
84
  'STRUCT_TEST_JSON_FILE',
161
- // vendored omni runner and its smoke test (vendor-tag rollout)
162
85
  'VoxgigOmni', 'OmniSmokeTest',
163
86
  // vendored sekreto and its plugin host — the `secrets` feature's library,
164
87
  // shipped only when that feature is selected, but declared at the top
165
88
  // level when it is
166
89
  'VoxgigSekreto', 'VoxgigPlugin',
167
- // the generated/templated test classes
168
90
  'ExistsTest', 'FeatureCorpusTest', 'FeatureTest', 'NetsimTest',
169
91
  'PipelineTest', 'PrimaryUtilityTest', 'ReadmeExamplesTest',
170
92
  'SecretsFeatureTest',
@@ -174,62 +96,16 @@ const RB_SDK_CONSTANTS = new Set([
174
96
  function isRbSdkConstant(Name) {
175
97
  return RB_SDK_CONSTANTS.has(Name);
176
98
  }
177
- // A top-level-safe Ruby constant name for a generated type: the name
178
- // unchanged, unless it is ALREADY TAKEN — by Ruby core, or by the SDK's own
179
- // scaffolding — in which case `Type` is appended (`File` -> `FileType`,
180
- // `Runner` -> `RunnerType`). Applied ONLY to the bare entity data type: the
181
- // per-op type names always carry a suffix (`FileCreateData`,
182
- // `FileLoadMatch`), which nothing in either set matches.
183
- //
184
- // The entity ACCESSOR keeps its original name (`client.File(...)`): methods
185
- // and constants live in separate namespaces in Ruby, so the accessor never
186
- // collided and the public surface is unchanged.
187
99
  function rbSafeTypeName(Name) {
188
100
  return isRbCoreConstant(Name) || isRbSdkConstant(Name) ? Name + 'Type' : Name;
189
101
  }
190
- // Swift SDK-OWNED TYPE NAMES — a third hazard, distinct from both sets above.
191
- //
192
- // The keyword sets guard local bindings; the Ruby set guards clobbering the
193
- // LANGUAGE's core. This set guards clobbering OUR OWN runtime, because Swift
194
- // has no namespacing WITHIN a module: every type the swift templates declare
195
- // and every generated entity type land in the same module. Two declarations
196
- // of one name is a hard error, not a silent override:
197
- //
198
- // // core/Response.swift (template)
199
- // public final class Response { ... } // transport wrapper
200
- // // entity/<Prefix>Types.swift (generated from a spec schema named Response)
201
- // public struct Response { ... }
202
- // -> error: invalid redeclaration of 'Response'
203
- // -> error: 'Response' is ambiguous for type lookup (every core file)
204
- //
205
- // Found 2026-08-07: the Hook0 spec has a `Response` schema, which took the
206
- // whole swift target down. `Response` is merely the first collision to be
207
- // hit — every name below is equally exposed.
208
- //
209
- // Sourced by scanning BOTH `tm/swift/Sources/*/` (templates) and
210
- // `src/cmp/swift/*.ts` (components) for top-level type declarations —
211
- // regardless of access level. `internal` is Swift's default and is still
212
- // module-wide, and `open class BaseFeature` is not `public` either, so an
213
- // access-level filter under-collects and silently reopens the bug.
214
- //
215
- // Nested types (a `typealias Element` inside a struct) and the separate Tests
216
- // module (`ReadmeExamplesTest`) do NOT share this namespace and are excluded.
217
- //
218
- // `swift-sdk-types.test.ts` re-derives this list from the templates and fails
219
- // on drift, so adding a public type to a swift template cannot silently
220
- // reopen the bug.
221
102
  const SWIFT_SDK_TYPES = new Set([
222
- // core runtime
223
103
  'Context', 'Control', 'Entity', 'Operation', 'Point', 'Response', 'Result',
224
104
  'SdkConfig', 'SdkSchema', 'Spec', 'Utility',
225
- // struct library
226
105
  'Injection', 'Injector', 'JSON', 'JSONParseError', 'Modify',
227
106
  'OrderedDictionary', 'Sentinel', 'Value', 'VList', 'VMap', 'WalkApply',
228
- // function/callback aliases
229
107
  'FetcherFunc', 'Formatter', 'NativeCall0', 'NativeRef', 'SystemFetch',
230
- // transport plumbing
231
108
  'ManualRedirectDelegate',
232
- // features
233
109
  'AuditFeature', 'BaseFeature', 'CacheFeature', 'ClienttrackFeature',
234
110
  'CostBucket', 'CostBudget', 'CostFeature', 'CostPending', 'CostRecord',
235
111
  'CostTotal', 'DebugFeature', 'IdempotencyFeature', 'LogFeature',
@@ -238,53 +114,13 @@ const SWIFT_SDK_TYPES = new Set([
238
114
  'SecretsFeature', 'StreamingFeature', 'TelemetryFeature', 'TestFeature',
239
115
  'TimeoutFeature', 'ValidateFeature',
240
116
  ]);
241
- // Does `Name` collide with a type the swift SDK runtime already declares?
242
117
  function isSwiftSdkType(Name) {
243
118
  return SWIFT_SDK_TYPES.has(Name);
244
119
  }
245
- // A module-safe Swift type name for a generated type: unchanged, unless the
246
- // swift runtime already declares it, in which case `Type` is appended
247
- // (`Response` -> `ResponseType`). Mirrors rbSafeTypeName deliberately — same
248
- // suffix, same "only rename on an actual collision" rule, so SDKs that do not
249
- // collide are byte-identical to before.
250
- //
251
- // Applied ONLY to the bare entity data type. Per-op type names already carry
252
- // their own suffix (`ResponseCreateData`, `ResponseLoadMatch`) and the entity
253
- // CLASS is separately suffixed (`ResponseEntity`), so neither ever collided.
254
120
  function swiftSafeTypeName(Name) {
255
121
  return isSwiftSdkType(Name) ? Name + 'Type' : Name;
256
122
  }
257
- // PHP RESERVED WORDS THAT CANNOT BE A CLASS NAME — a fifth hazard, and the
258
- // only one of the five where the check must be CASE-INSENSITIVE.
259
- //
260
- // PHP's grammar refuses a reserved word where a class name is expected, so a
261
- // spec with a `Namespace` entity emitted a file that does not parse at all:
262
- //
263
- // /** Namespace entity data model. */
264
- // class Namespace
265
- // {
266
- // }
267
- // -> PHP Parse error: syntax error, unexpected token "namespace",
268
- // expecting identifier
269
- //
270
- // Found on gitlab-sdk (issue #64), and LATENT in the worst way: `types/` is on
271
- // the composer classmap but nothing references the file, so PHP never loads it
272
- // and the php lane passed for as long as the target has existed. It would
273
- // fatal the moment anything required it, and the documented type is unusable
274
- // either way.
275
- //
276
- // CASE-INSENSITIVITY IS THE WHOLE TRICK. Class and function names in PHP are
277
- // case-insensitive, so `Namespace`, `NAMESPACE` and `namespace` are one
278
- // identifier — and the generated name is PascalCase while the reserved word is
279
- // lowercase. A case-sensitive `Set.has('Namespace')` against a lowercase list
280
- // therefore matches NOTHING and reopens the bug silently. Entries are stored
281
- // folded, and the lookup folds too.
282
- //
283
- // Taken from the PHP manual's reserved-words tables wholesale rather than
284
- // grown one collision at a time: the list is fixed by the language, and
285
- // picking from it by hand is how the second `Namespace` gets shipped.
286
123
  const PHP_RESERVED_TYPES = new Set([
287
- // keywords
288
124
  'abstract', 'and', 'array', 'as', 'break', 'callable', 'case', 'catch',
289
125
  'class', 'clone', 'const', 'continue', 'declare', 'default', 'do', 'echo',
290
126
  'else', 'elseif', 'empty', 'enddeclare', 'endfor', 'endforeach', 'endif',
@@ -295,90 +131,36 @@ const PHP_RESERVED_TYPES = new Set([
295
131
  'private', 'protected', 'public', 'readonly', 'require', 'require_once',
296
132
  'return', 'static', 'switch', 'throw', 'trait', 'try', 'unset', 'use',
297
133
  'var', 'while', 'xor', 'yield',
298
- // compile-time constants
299
134
  '__class__', '__dir__', '__file__', '__function__', '__line__',
300
135
  '__method__', '__namespace__', '__trait__',
301
136
  // reserved as type names / cannot be declared as a class
302
137
  'bool', 'false', 'float', 'int', 'iterable', 'mixed', 'never', 'null',
303
138
  'numeric', 'object', 'parent', 'resource', 'self', 'string', 'true', 'void',
304
139
  ]);
305
- // Does `Name` collide with a word PHP reserves, ignoring case as PHP does?
306
140
  function isPhpReservedType(Name) {
307
141
  return PHP_RESERVED_TYPES.has(String(Name).toLowerCase());
308
142
  }
309
- // CLASSES THE GENERATED PHP SDK ITSELF DECLARES — the second half of "already
310
- // taken", exactly as RB_SDK_CONSTANTS is for ruby. `PHP_RESERVED_TYPES` covers
311
- // what the LANGUAGE owns; this covers what OUR OWN scaffolding claims, which a
312
- // keyword list can never catch.
313
- //
314
- // The generated PHP SDK uses NO NAMESPACES, and composer classmaps both the
315
- // runtime (`types/`) and the tests (`autoload-dev`: `test/`). An entity named
316
- // `feature_test` emits `class FeatureTest` in `<Sdk>Types.php` while
317
- // `tm/php/test/FeatureTest.php` declares one too: composer maps one name to
318
- // two files, and loading both fatals on redeclaration. Ruby's equivalent only
319
- // warns; PHP does not.
320
- //
321
- // Only UNPREFIXED, UNNAMESPACED declarations are listed. `ProjectNameUtility`
322
- // substitutes to `<Sdk>Utility`, which no bare entity type can equal, and
323
- // `utility/struct/Struct.php` and `test/StructRunner.php` declare inside a
324
- // namespace — neither is reachable from the global name an entity type takes.
325
- //
326
- // `php-sdk-classes.test.ts` re-derives this from the templates AND the
327
- // components and fails on drift, the same discipline as the rb and swift
328
- // guards, and for the same reason: a hand-collected list rots.
329
- //
330
- // Folded, and matched folded: PHP class names are case-insensitive, so
331
- // `FeatureTest` and `featuretest` are one identifier.
332
143
  const PHP_SDK_CLASSES = new Set([
333
- // the generated/templated test classes
334
144
  'existstest', 'featurecorpustest', 'featuretest', 'netsimtest',
335
145
  'omnismoketest', 'pipelinetest', 'primaryutilitytest',
336
146
  'readmeexamplestest', 'structutilitytest',
337
- // helper classes those suites declare beside them
338
147
  'ftclient', 'ftclock', 'ftctrl', 'ftentity', 'ftharness', 'ftrecorder',
339
148
  'plclient', 'plentity', 'plentityitem',
340
149
  ]);
341
- // Does `Name` collide with a class the generated PHP SDK already declares?
342
150
  function isPhpSdkClass(Name) {
343
151
  return PHP_SDK_CLASSES.has(String(Name).toLowerCase());
344
152
  }
345
- // A declarable PHP class name for a generated type: unchanged, unless the name
346
- // is ALREADY TAKEN — by PHP itself, or by the SDK's own scaffolding — in which
347
- // case `Type` is appended (`Namespace` -> `NamespaceType`). Mirrors
348
- // rbSafeTypeName and swiftSafeTypeName deliberately — same suffix, same "only
349
- // rename on an actual collision" rule, so every SDK that does not collide is
350
- // byte-identical to before.
351
- //
352
- // Applied ONLY to the bare entity data class. Per-op type names already carry
353
- // their own suffix (`NamespaceLoadData`, `NamespaceCreateData`), which neither
354
- // set matches, and the entity ACCESSOR is a method rather than a class — PHP
355
- // resolves those separately — so the public surface is unchanged.
356
153
  function phpSafeTypeName(Name) {
357
154
  return isPhpReservedType(Name) || isPhpSdkClass(Name) ? Name + 'Type' : Name;
358
155
  }
359
- // TypeScript GLOBAL TYPE NAMES — a fourth hazard, same shape as the Ruby and
360
- // Swift ones above but for TS/JS builtins, which are in scope everywhere
361
- // with no import. An entity named `Record` emitted `export interface Record
362
- // {...}` and canonToType's own generic-object mapping (`Record<string,
363
- // any>`) then resolved to that flat interface INSIDE THE SAME FILE instead
364
- // of the builtin: `error TS2315: Type 'Record' is not generic` — on a
365
- // field of the `Record` entity itself.
366
- //
367
- // Utility types (`Record`, `Partial`, ...) and common global constructors
368
- // (`Array`, `Map`, `Promise`, ...) that a REST entity name plausibly lands
369
- // on. Mirrors RB_CORE_CONSTANTS / SWIFT_SDK_TYPES: only real builtins are
370
- // listed, so a non-colliding SDK stays byte-identical to before.
371
156
  const TS_RESERVED_TYPES = new Set([
372
- // utility types
373
157
  'Record', 'Partial', 'Required', 'Readonly', 'Pick', 'Omit', 'Exclude',
374
158
  'Extract', 'NonNullable', 'Parameters', 'ReturnType', 'InstanceType',
375
159
  'Awaited', 'ConstructorParameters',
376
- // global constructors / builtins
377
160
  'Array', 'Object', 'Map', 'Set', 'WeakMap', 'WeakSet', 'Date', 'Error',
378
161
  'Function', 'Promise', 'RegExp', 'String', 'Number', 'Boolean', 'Symbol',
379
162
  'ArrayBuffer', 'Proxy', 'Reflect', 'JSON', 'Math',
380
163
  ]);
381
- // Does `Name` collide with a TS/JS global type?
382
164
  function isTsReservedType(Name) {
383
165
  return TS_RESERVED_TYPES.has(Name);
384
166
  }
@@ -389,7 +171,6 @@ function isTsReservedType(Name) {
389
171
  function tsSafeTypeName(Name) {
390
172
  return isTsReservedType(Name) ? Name + 'Type' : Name;
391
173
  }
392
- // Is `name` a reserved word (an illegal identifier) in the target language?
393
174
  function isReservedName(name, lang) {
394
175
  const set = RESERVED[lang];
395
176
  return !!set && set.has(name);
@@ -399,21 +180,6 @@ function isReservedName(name, lang) {
399
180
  function safeVarName(name, lang) {
400
181
  return isReservedName(name, lang) ? name + '_' : name;
401
182
  }
402
- // Members the generated PHP SDK class already declares (see the php target's
403
- // fragment/Main.fragment.php). An entity accessor or backing field reusing one
404
- // is a FATAL redeclare — PHP will not parse the file, so the SDK yields zero
405
- // working tests rather than a degraded one.
406
- //
407
- // PHP method names are CASE-INSENSITIVE at declaration time, hence the
408
- // lowercased comparison: an entity `graph_ql` derives the accessor `GraphQl()`,
409
- // the same declaration as the SDK's own `graphql()`.
410
- //
411
- // This lives here, not in the php component, because the ACCESSOR NAME has to
412
- // agree across the SDK class and every doc/example component that calls it.
413
- // It did not: MainEntity_php emitted `Test_()` for an entity named `test`
414
- // while eight readme components emitted `Test()`, so the generated examples
415
- // called the static test-mode constructor and died with
416
- // "Call to undefined method <Name>SDK::load()".
417
183
  const PHP_SDK_METHODS = new Set([
418
184
  'construct', '__construct', 'direct', 'get_root_ctx', 'get_utility',
419
185
  'graphql', 'op_allowed', 'op_denied', 'options_map', 'prepare',
@@ -425,7 +191,6 @@ const PHP_SDK_METHODS = new Set([
425
191
  // silently aliases the SDK's own field, so `client:Utility()` hands back the
426
192
  // internal utility object and every entity method on it is nil.
427
193
  const SDK_FIELDS = new Set(['rootctx', 'utility', 'client', 'entctx']);
428
- /** The PHP accessor method for an entity: `$client-><Name>()`. */
429
194
  function phpEntityAccessor(Name) {
430
195
  return PHP_SDK_METHODS.has(String(Name).toLowerCase()) ? Name + '_' : Name;
431
196
  }
@@ -437,17 +202,6 @@ function phpEntityAccessor(Name) {
437
202
  function entityCacheField(name) {
438
203
  return SDK_FIELDS.has(String(name).toLowerCase()) ? name + '_' : name;
439
204
  }
440
- // Symbols a doc example CALLS, which a same-named example variable would
441
- // shadow. The variable is syntactically fine; the example then fails at
442
- // RUNTIME, which is far harder to read than a compile error:
443
- //
444
- // const consoles = await client.Console().list()
445
- // for (const console of consoles) { console.log(console) }
446
- // -> "console.log is not a function" (nexarda, an API with a Console entity)
447
- //
448
- // Only languages where a plain variable can capture the symbol are listed.
449
- // php is absent on purpose: its variables carry a `$` sigil, so `$echo` can
450
- // never shadow `echo`.
451
205
  const EXAMPLE_GLOBALS = {
452
206
  ts: ['console', 'process', 'globalThis'],
453
207
  js: ['console', 'process', 'globalThis'],
@@ -456,14 +210,6 @@ const EXAMPLE_GLOBALS = {
456
210
  lua: ['print'],
457
211
  go: ['fmt'],
458
212
  };
459
- // A variable name for a doc EXAMPLE entity. Doc examples bind the SDK instance
460
- // to `client` (e.g. `const client = ...SDK.test()`), so an entity whose
461
- // lowercased name is also `client` — an API with a `Client` entity — would
462
- // shadow it: `const client = client.Client()...` is self-referential (TS2448/
463
- // TS7022) and breaks the readme_examples type-check. Append `_` to keep the
464
- // example variable distinct from the SDK instance. The same applies to any
465
- // symbol the example itself calls (EXAMPLE_GLOBALS). Also applies the normal
466
- // language-reserved-word guard.
467
213
  function exampleVarName(name, lang) {
468
214
  const v = safeVarName(name, lang);
469
215
  if ('client' === v)
@@ -472,33 +218,6 @@ function exampleVarName(name, lang) {
472
218
  return v + '_';
473
219
  return v;
474
220
  }
475
- // LEADING DIGITS — the one hazard on this page that is not about a word being
476
- // taken. Every other guard here asks "is this name already claimed?"; this one
477
- // asks whether the name is an identifier at all. No target language permits
478
- // one that starts with a digit, and ordinary resources produce one:
479
- //
480
- // /3ds-sessions -> entity `3ds_session` -> Name `3dsSession`
481
- // /2fa-tokens -> entity `2fa_token` -> Name `2faToken`
482
- //
483
- // `Name` feeds the class name, the SDK accessor and every generated type
484
- // name, so the SDK does not compile at all — it is not a degraded SDK, it is
485
- // no SDK (issue #124).
486
- //
487
- // The prefix takes the case of the name it guards — lower for `3ds_session`,
488
- // upper for `3DSecure` — so the result stays in whatever casing convention
489
- // the caller works in. Applied to the STEM before PascalCasing, which is why
490
- // `Name` comes out `N3dsSession` and not `n3dsSession`.
491
- //
492
- // This is deliberately the SAME rule, spelled the same way, as apidef's
493
- // `prefixLeadingDigit`. A model that came through apidef is already guarded,
494
- // so this is a no-op on it; a hand-authored `.sdk/model` entity gets the
495
- // identical name apidef would have given it. Idempotent by construction.
496
- //
497
- // The rule is applied ONCE, to the model's own entity name, by
498
- // `guardModelNames` — never to a derived form. Guarding `Name` alone does not
499
- // survive: a consumer's scaffolded `Root.ts` runs its own
500
- // `names(entity, entity.name)` per target, which re-derives `Name` from the
501
- // unguarded name and silently undoes the correction.
502
221
  function prefixLeadingDigit(s) {
503
222
  if (null == s || '' === s)
504
223
  return s;
@@ -509,15 +228,7 @@ function prefixLeadingDigit(s) {
509
228
  const upper = null != letter && letter[0] >= 'A' && letter[0] <= 'Z';
510
229
  return (upper ? 'N' : 'n') + s;
511
230
  }
512
- // A valid ECMAScript identifier — the only shape `obj.name` can express.
513
231
  const JS_IDENT = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
514
- // A safe JS/TS property-access expression for a SPEC-DERIVED key: dot
515
- // notation when the key is a valid identifier, bracket notation otherwise.
516
- // OpenAPI path/query parameter names are not constrained to identifiers —
517
- // e.g. Evervault's `/payments/3ds-sessions/{3ds_session_id}` yields
518
- // `3ds_session_id`, and `params.3ds_session_id` is a syntax error (TS1434).
519
- // The other language targets already quote these keys (`params["..."]`);
520
- // this keeps ts/js in parity.
521
232
  function jsProp(obj, name) {
522
233
  return JS_IDENT.test(name) ? `${obj}.${name}` : `${obj}[${JSON.stringify(name)}]`;
523
234
  }
@@ -528,20 +239,6 @@ function jsKey(name) {
528
239
  return JS_IDENT.test(name) ? name : `'${name}'`;
529
240
  }
530
241
  const LUA_IDENT = /^[A-Za-z_][A-Za-z0-9_]*$/;
531
- // A safe Lua TABLE-CONSTRUCTOR key for a spec-derived field name: bare when the
532
- // name is a valid identifier that is not a keyword, bracketed and quoted
533
- // otherwise.
534
- //
535
- // Unlike `jsKey`, this MUST consult the keyword list. A reserved word is a legal
536
- // JS object key (`{ end: 1 }` is fine) but not a legal Lua one — `{ end = 1 }`
537
- // is a syntax error, because `end` closes a block. The trap is that a keyword
538
- // also matches the identifier pattern, so a shape-only test passes it through
539
- // looking correct.
540
- //
541
- // Real case: aareguru's /v2018 range query takes a parameter named `end`, so
542
- // every generated lua doc example emitted `{ ..., end = "end", ... }` and the
543
- // readme-examples test could not compile the block. 13 of the 626 freepublicapis
544
- // specs name a parameter with a lua reserved word.
545
242
  function luaKey(name) {
546
243
  return LUA_IDENT.test(name) && !isReservedName(name, 'lua')
547
244
  ? name
@@ -1 +1 @@
1
- {"version":3,"file":"naming.js","sourceRoot":"","sources":["../../src/helpers/naming.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,EAAE;AACF,wEAAwE;AACxE,4EAA4E;AAC5E,oEAAoE;AACpE,0EAA0E;AAC1E,wDAAwD;AACxD,EAAE;AACF,8EAA8E;AAC9E,0EAA0E;AAC1E,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,2EAA2E;AAC3E,0EAA0E;AAC1E,8EAA8E;AAC9E,yEAAyE;AACzE,kDAAkD;;QAokBhD,cAAc;QACd,WAAW;QACX,cAAc;QACd,iBAAiB;QACjB,gBAAgB;QAChB,gBAAgB;QAChB,eAAe;QACf,cAAc;QACd,cAAc;QACd,iBAAiB;QACjB,iBAAiB;QACjB,aAAa;QACb,eAAe;QACf,gBAAgB;QAChB,cAAc;QACd,MAAM;QACN,SAAS;QACT,KAAK;QACL,MAAM;QACN,kBAAkB;AArlBpB,MAAM,WAAW,GAAG,IAAI,GAAG,CAAS;IAClC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU;IAClE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO;IACvE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK;IACvE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK;IACnE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EA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IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,GAAG,CAAA;AACjD,CAAC;AAGD,MAAM,SAAS,GAAG,0BAA0B,CAAA;AAG5C,SAAS,MAAM,CAAC,IAAY;IAC1B,OAAO,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC;QACzD,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,KAAK,IAAI,IAAI,CAAA;AACnB,CAAC;AAGD,8EAA8E;AAC9E,SAAS,SAAS,CAAC,GAAW,EAAE,IAAY;IAC1C,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAA;AACtF,CAAC"}
@@ -1,21 +1,4 @@
1
1
  "use strict";
2
- // Renders a single, type-correct entity-op CALL for the neutral doc
3
- // components (ReadmeErrors, ReadmeExplanation) that illustrate a convention
4
- // (throw-on-error, stateful entities) with one representative operation.
5
- //
6
- // Two model traps this centralises:
7
- // 1. OP-AWARENESS — the illustrated op must be one the entity actually
8
- // exposes. A create-only entity has no `load` method, so these components
9
- // pick the entity's PRIMARY op (entityPrimaryOp) rather than hardcoding
10
- // `load`, and this module renders whatever op that is.
11
- // 2. TYPE-CORRECT MATCH ID — an entity can carry its id ONLY in the
12
- // load-match params (no `id` data field). The example id literal is
13
- // therefore derived from the OP's param type (opRequestShape), not the
14
- // entity fields, so a numeric match id renders `1` and not `"example_id"`
15
- // (which would be a TS2322 against a `number` match).
16
- //
17
- // Output is the invocation EXPRESSION and its result binding; the surrounding
18
- // prose / try-catch scaffolding stays in each component's per-language table.
19
2
  Object.defineProperty(exports, "__esModule", { value: true });
20
3
  exports.primaryOpCall = primaryOpCall;
21
4
  exports.idLiteral = idLiteral;
@@ -57,8 +40,6 @@ function litFor(lang, type) {
57
40
  }
58
41
  return '"example"';
59
42
  }
60
- // The example id literal for an op's match key, typed from the op's declared
61
- // param (falling back to the entity field) so a numeric id is never quoted.
62
43
  function idLiteral(ent, op, idF) {
63
44
  if (null == idF)
64
45
  return '"example_id"';
@@ -66,17 +47,8 @@ function idLiteral(ent, op, idF) {
66
47
  const k = (0, canonType_1.canonKey)(item && item.type);
67
48
  return ('INTEGER' === k || 'NUMBER' === k) ? '1' : '"example_id"';
68
49
  }
69
- // Render a match object `{ idF: idLit }` (or empty when the entity has no id
70
- // key) in the target language's object syntax.
71
- // Spec-derived field names are NOT constrained to be identifiers — e.g.
72
- // Evervault's `/payments/3ds-sessions/{3ds_session_id}` yields the match key
73
- // `3ds_session_id`. py/php/rb/go quote every literal key already, but ts/js
74
- // (`{ key: v }`) and lua (`{ key = v }`) write them bare, and a leading digit
75
- // or a `-` makes that a syntax error (TS1351 / Lua "'}' expected"). Quote
76
- // exactly those, leaving ordinary keys in the idiomatic bare form.
77
50
  const JS_IDENT = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
78
51
  const LUA_IDENT = /^[A-Za-z_][A-Za-z0-9_]*$/;
79
- // A `key<sep>value` literal pair in the target language's object syntax.
80
52
  function litPair(lang, name, value) {
81
53
  switch (lang) {
82
54
  case 'py': return `"${name}": ${value}`;
@@ -89,12 +61,6 @@ function litPair(lang, name, value) {
89
61
  `${name}: ${value}` : `'${name}': ${value}`;
90
62
  }
91
63
  }
92
- // The match argument for a load/remove — ALL required match params, not just
93
- // the primary id. A composite-match entity (e.g. Umbrella's FlatPermission,
94
- // `/public/database/{id}/permission/{msisdn}`) has two required path params
95
- // (database_id + id); emitting only `{ id }` fails the typed <Name>LoadMatch.
96
- // The idF field takes the specific id literal; other required fields take a
97
- // type-correct example value (mirrors dataArg).
98
64
  function matchArg(lang, ent, op, idF, idLit) {
99
65
  const items = (0, opShape_1.opRequestShape)(ent, op).items.filter((it) => !it.optional);
100
66
  if (0 === items.length)
@@ -107,24 +73,10 @@ function matchArg(lang, ent, op, idF, idLit) {
107
73
  default: return `{ ${pairs.join(', ')} }`;
108
74
  }
109
75
  }
110
- // The entity's required writable fields for a create/update body, rendered as
111
- // `key: value` pairs (capped) in the target language's object syntax. Ensures
112
- // the body satisfies a typed CreateData/UpdateData (required fields present).
113
76
  function dataArg(lang, ent, op, idF) {
114
- // The id is normally server-assigned on create, so it is dropped from the
115
- // example body. But it is only safe to drop when the request shape says it is
116
- // OPTIONAL: an op whose id comes from a PATH PARAMETER requires it, and a
117
- // typed CreateData then rejects a body without it.
118
- //
119
- // Conecto's `/integrations/{slug}/actions/{action}/run/` is the case — the
120
- // guide renames the `action` param to `id`, so ActionCreateData is
121
- // `{id, slug, ok}` and the generated snippet emitted only `{slug, ok}`,
122
- // failing to compile with "Property 'id' is missing".
123
77
  const items = (0, opShape_1.opRequestShape)(ent, op).items
124
78
  .filter((it) => (it.name !== idF && it.name !== 'id') || !it.optional);
125
79
  const required = items.filter((it) => !it.optional);
126
- // ALL required fields must appear (a typed CreateData rejects a partial); cap
127
- // only the optional fallback used when the op declares no required field.
128
80
  const chosen = required.length ? required : items.slice(0, 3);
129
81
  const pairs = chosen.map((it) => litPair(lang, it.name, litFor(lang, it.type)));
130
82
  switch (lang) {
@@ -143,7 +95,6 @@ function primaryOpCall(lang, eName, eLower, op, idF, ent) {
143
95
  const isList = 'list' === op;
144
96
  const isData = 'create' === op || 'update' === op;
145
97
  const idLit = idLiteral(ent, op, idF);
146
- // Factory + method spelling per language.
147
98
  const method = 'go' === lang ? cap(op) : op;
148
99
  let factory;
149
100
  let sep;
@@ -170,7 +121,6 @@ function primaryOpCall(lang, eName, eLower, op, idF, ent) {
170
121
  factory = `client.${eName}()`;
171
122
  sep = '.';
172
123
  }
173
- // Argument string per op + language.
174
124
  let arg;
175
125
  if (isList) {
176
126
  arg = 'go' === lang ? 'nil' : '';
@@ -184,7 +134,6 @@ function primaryOpCall(lang, eName, eLower, op, idF, ent) {
184
134
  else {
185
135
  arg = 'go' === lang ? 'nil' : '';
186
136
  }
187
- // Go passes a trailing ctrl arg on every entity method.
188
137
  if ('go' === lang) {
189
138
  arg = arg + ', nil';
190
139
  }