@malloy-publisher/sdk 0.0.137 → 0.0.139

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 (586) hide show
  1. package/README.md +122 -1
  2. package/dist/ServerProvider-Bzid56gJ.cjs.js +1 -0
  3. package/dist/{ServerProvider-BGGK1ZQ_.es.js → ServerProvider-D-y63tG0.es.js} +550 -478
  4. package/dist/client/api.d.ts +144 -53
  5. package/dist/client/index.cjs.js +1 -1
  6. package/dist/client/index.es.js +22 -21
  7. package/dist/components/Notebook/Notebook.d.ts +4 -1
  8. package/dist/components/Notebook/NotebookCell.d.ts +2 -2
  9. package/dist/components/Notebook/types.d.ts +21 -0
  10. package/dist/components/filter/DimensionFilter.d.ts +43 -0
  11. package/dist/components/filter/index.d.ts +4 -0
  12. package/dist/components/filter/utils.d.ts +75 -0
  13. package/dist/components/index.d.ts +7 -6
  14. package/dist/components/styles.d.ts +3 -3
  15. package/dist/hooks/index.d.ts +4 -0
  16. package/dist/hooks/useDimensionFilters.d.ts +84 -0
  17. package/dist/hooks/useDimensionFiltersFromSpec.d.ts +52 -0
  18. package/dist/hooks/useDimensionFiltersQuery.d.ts +79 -0
  19. package/dist/hooks/useDimensionalFilterRangeData.d.ts +106 -0
  20. package/dist/index.cjs.js +141 -112
  21. package/dist/index.d.ts +3 -2
  22. package/dist/index.es.js +47903 -39798
  23. package/dist/sdk.css +1 -1
  24. package/package.json +16 -11
  25. package/src/components/Home/Home.tsx +15 -11
  26. package/src/components/Notebook/Notebook.tsx +391 -6
  27. package/src/components/Notebook/NotebookCell.tsx +2 -2
  28. package/src/components/Notebook/types.ts +24 -0
  29. package/src/components/Package/Connections.tsx +3 -6
  30. package/src/components/RenderedResult/RenderedResult.tsx +22 -3
  31. package/src/components/filter/DimensionFilter.tsx +738 -0
  32. package/src/components/filter/index.ts +20 -0
  33. package/src/components/filter/utils.ts +354 -0
  34. package/src/components/highlighter.ts +14 -6
  35. package/src/components/index.ts +7 -6
  36. package/src/hooks/index.ts +31 -0
  37. package/src/hooks/useDimensionFilters.ts +322 -0
  38. package/src/hooks/useDimensionFiltersFromSpec.ts +117 -0
  39. package/src/hooks/useDimensionFiltersQuery.ts +300 -0
  40. package/src/hooks/useDimensionalFilterRangeData.ts +758 -0
  41. package/src/index.ts +3 -2
  42. package/dist/ServerProvider-lXAaPKBb.cjs.js +0 -1
  43. package/dist/abap-BmBUA35e.es.js +0 -6
  44. package/dist/abap-Dwt2rH6y.cjs.js +0 -1
  45. package/dist/actionscript-3-mj8Uhnsc.cjs.js +0 -1
  46. package/dist/actionscript-3-zFUbzQa9.es.js +0 -6
  47. package/dist/ada-CBvPkFpZ.es.js +0 -6
  48. package/dist/ada-DZM58Vqs.cjs.js +0 -1
  49. package/dist/andromeeda-BXc5FOIb.cjs.js +0 -1
  50. package/dist/andromeeda-uXNdzNpk.es.js +0 -4
  51. package/dist/angular-html-B60m4jt-.cjs.js +0 -1
  52. package/dist/angular-html-D3aW1y6T.es.js +0 -32
  53. package/dist/angular-ts-Jud40GrY.es.js +0 -21
  54. package/dist/angular-ts-SIlYrqkG.cjs.js +0 -1
  55. package/dist/apache-CVNlsSDc.es.js +0 -6
  56. package/dist/apache-D7v5fxtZ.cjs.js +0 -1
  57. package/dist/apex-4hrAnw0a.cjs.js +0 -1
  58. package/dist/apex-DFk3KRB1.es.js +0 -6
  59. package/dist/apl-CKSaOFbt.cjs.js +0 -1
  60. package/dist/apl-pE3PRTDr.es.js +0 -16
  61. package/dist/applescript-CYMR_y0g.es.js +0 -6
  62. package/dist/applescript-Cnd3Dxju.cjs.js +0 -1
  63. package/dist/ara-4QmU5e04.es.js +0 -6
  64. package/dist/ara-BQ2aGbFQ.cjs.js +0 -1
  65. package/dist/asciidoc-C6nYvw8K.cjs.js +0 -1
  66. package/dist/asciidoc-v_1bjgUg.es.js +0 -6
  67. package/dist/asm-CQnBVCj-.cjs.js +0 -1
  68. package/dist/asm-RC0Yh-NZ.es.js +0 -6
  69. package/dist/astro-Be6fybGX.es.js +0 -16
  70. package/dist/astro-KhYkz6Xu.cjs.js +0 -1
  71. package/dist/aurora-x-BwoVEUWZ.es.js +0 -4
  72. package/dist/aurora-x-C5IpmIOG.cjs.js +0 -1
  73. package/dist/awk-DUx4h__E.cjs.js +0 -1
  74. package/dist/awk-gPH8MVMW.es.js +0 -6
  75. package/dist/ayu-dark-Cv7nTiif.cjs.js +0 -1
  76. package/dist/ayu-dark-CxPZkpb2.es.js +0 -4
  77. package/dist/ballerina-CXlzbmzl.cjs.js +0 -1
  78. package/dist/ballerina-kvLnRU_e.es.js +0 -6
  79. package/dist/bat-BHYy44sT.es.js +0 -6
  80. package/dist/bat-DlMT9sut.cjs.js +0 -1
  81. package/dist/beancount-CyyiuUzM.cjs.js +0 -1
  82. package/dist/beancount-D-MADTs_.es.js +0 -6
  83. package/dist/berry-B0EjuzrL.cjs.js +0 -1
  84. package/dist/berry-Ci9U0o4h.es.js +0 -6
  85. package/dist/bibtex-CX618D15.es.js +0 -6
  86. package/dist/bibtex-CfoG9xRq.cjs.js +0 -1
  87. package/dist/bicep-D6PH_9IY.cjs.js +0 -1
  88. package/dist/bicep-iuYiPopT.es.js +0 -6
  89. package/dist/blade-C0tMuk8f.cjs.js +0 -1
  90. package/dist/blade-DmXp5Zcz.es.js +0 -18
  91. package/dist/bsl-CfHcite8.cjs.js +0 -1
  92. package/dist/bsl-NPX_d-bb.es.js +0 -8
  93. package/dist/c-C4sXGJZM.cjs.js +0 -1
  94. package/dist/c-DASdrs7p.es.js +0 -6
  95. package/dist/cadence-BDALQi26.es.js +0 -6
  96. package/dist/cadence-Dq2CYzXG.cjs.js +0 -1
  97. package/dist/cairo-17kO8-kb.es.js +0 -8
  98. package/dist/cairo-CcKpJkyf.cjs.js +0 -1
  99. package/dist/catppuccin-frappe-BrTOiad2.es.js +0 -4
  100. package/dist/catppuccin-frappe-DXAedND3.cjs.js +0 -1
  101. package/dist/catppuccin-latte-D-dc_R4m.es.js +0 -4
  102. package/dist/catppuccin-latte-mwGw3-Ej.cjs.js +0 -1
  103. package/dist/catppuccin-macchiato-DN4jOp0G.es.js +0 -4
  104. package/dist/catppuccin-macchiato-cQCk9ADg.cjs.js +0 -1
  105. package/dist/catppuccin-mocha-B8yCE3-3.es.js +0 -4
  106. package/dist/catppuccin-mocha-ClSzDZSl.cjs.js +0 -1
  107. package/dist/clarity-CNgV2Ths.es.js +0 -6
  108. package/dist/clarity-ytMkUD5Q.cjs.js +0 -1
  109. package/dist/clojure-B_Wv414H.cjs.js +0 -1
  110. package/dist/clojure-CsKKFGwv.es.js +0 -6
  111. package/dist/cmake-Dr-A3iJx.es.js +0 -6
  112. package/dist/cmake-TBUaQXYY.cjs.js +0 -1
  113. package/dist/cobol-BzcJm6ie.es.js +0 -10
  114. package/dist/cobol-DXFNH4EH.cjs.js +0 -1
  115. package/dist/codeowners-Bt9yU6NX.es.js +0 -6
  116. package/dist/codeowners-QhPK6lIJ.cjs.js +0 -1
  117. package/dist/codeql-B7Q9tkDJ.cjs.js +0 -1
  118. package/dist/codeql-DBNTqJi1.es.js +0 -6
  119. package/dist/coffee-GRRSkgX1.cjs.js +0 -1
  120. package/dist/coffee-q2iaxUnQ.es.js +0 -8
  121. package/dist/common-lisp-Ced3ctK5.cjs.js +0 -1
  122. package/dist/common-lisp-r7ZEOG7T.es.js +0 -6
  123. package/dist/coq-BTRB4iqi.cjs.js +0 -1
  124. package/dist/coq-CB6Pv_W9.es.js +0 -6
  125. package/dist/cpp-CPOvHZqs.cjs.js +0 -1
  126. package/dist/cpp-CPQtoCcU.es.js +0 -18
  127. package/dist/crystal-BY_Cg265.es.js +0 -18
  128. package/dist/crystal-C6AG-iew.cjs.js +0 -1
  129. package/dist/csharp-CYWRhZ2R.es.js +0 -6
  130. package/dist/csharp-TKds-MhG.cjs.js +0 -1
  131. package/dist/css-B0kbn78J.cjs.js +0 -1
  132. package/dist/css-D1aVdRIU.es.js +0 -6
  133. package/dist/csv-BVJjiaC3.cjs.js +0 -1
  134. package/dist/csv-DvCncUGQ.es.js +0 -6
  135. package/dist/cue-BXMrmvay.es.js +0 -6
  136. package/dist/cue-Cz4J-rnd.cjs.js +0 -1
  137. package/dist/cypher-DTm5zNR1.es.js +0 -6
  138. package/dist/cypher-DuKTiyez.cjs.js +0 -1
  139. package/dist/d-BW9Wd7aK.cjs.js +0 -1
  140. package/dist/d-D6ZXmn3l.es.js +0 -6
  141. package/dist/dark-plus-Cd5emcYO.cjs.js +0 -1
  142. package/dist/dark-plus-pUHDTVV0.es.js +0 -4
  143. package/dist/dart-CWs-er6b.cjs.js +0 -1
  144. package/dist/dart-Dz59Is3F.es.js +0 -6
  145. package/dist/dax-CDxFL2Kb.cjs.js +0 -1
  146. package/dist/dax-DTVGzydb.es.js +0 -6
  147. package/dist/desktop-CFgo0jo7.cjs.js +0 -1
  148. package/dist/desktop-Db9vb-dl.es.js +0 -6
  149. package/dist/diff-BsEkKwI8.cjs.js +0 -1
  150. package/dist/diff-XmNrvgM1.es.js +0 -6
  151. package/dist/docker-DWH2onkn.es.js +0 -6
  152. package/dist/docker-hwiw4W8I.cjs.js +0 -1
  153. package/dist/dotenv-4337wvzu.es.js +0 -6
  154. package/dist/dotenv-CJ5o3G1C.cjs.js +0 -1
  155. package/dist/dracula-BNgwAJ-d.cjs.js +0 -1
  156. package/dist/dracula-BtZx2Kac.es.js +0 -4
  157. package/dist/dracula-soft-BHZ7sHFu.cjs.js +0 -1
  158. package/dist/dracula-soft-BKa-aqBv.es.js +0 -4
  159. package/dist/dream-maker-CvvfrJSx.es.js +0 -6
  160. package/dist/dream-maker-DBharE9Q.cjs.js +0 -1
  161. package/dist/edge-DI6_BHKG.es.js +0 -12
  162. package/dist/edge-i77KJtJz.cjs.js +0 -1
  163. package/dist/elixir-D00NoPSM.cjs.js +0 -1
  164. package/dist/elixir-ic9y5jcd.es.js +0 -8
  165. package/dist/elm-Bhj5Vf-e.cjs.js +0 -1
  166. package/dist/elm-DxnUqUaW.es.js +0 -8
  167. package/dist/emacs-lisp-BAefI874.es.js +0 -6
  168. package/dist/emacs-lisp-CDDyFsvQ.cjs.js +0 -1
  169. package/dist/erb-Cbj2YePa.es.js +0 -10
  170. package/dist/erb-Dybaw01v.cjs.js +0 -1
  171. package/dist/erlang-3VgdrQXV.cjs.js +0 -1
  172. package/dist/erlang-CmIiwF3I.es.js +0 -6
  173. package/dist/everforest-dark-DMCBqXCK.es.js +0 -4
  174. package/dist/everforest-dark-_sBMomR1.cjs.js +0 -1
  175. package/dist/everforest-light-BbXl82Em.es.js +0 -4
  176. package/dist/everforest-light-H0xoYxl0.cjs.js +0 -1
  177. package/dist/fennel-BvcDRFAV.cjs.js +0 -1
  178. package/dist/fennel-DNqkz9pE.es.js +0 -6
  179. package/dist/fish-CnamI0Ar.cjs.js +0 -1
  180. package/dist/fish-DIm72t2T.es.js +0 -6
  181. package/dist/fluent-BapTxJsC.es.js +0 -6
  182. package/dist/fluent-DFpT66K8.cjs.js +0 -1
  183. package/dist/fortran-fixed-form-DECY15PY.es.js +0 -8
  184. package/dist/fortran-fixed-form-u_RcUPMu.cjs.js +0 -1
  185. package/dist/fortran-free-form-CNDsBFUj.es.js +0 -6
  186. package/dist/fortran-free-form-IaGrWIda.cjs.js +0 -1
  187. package/dist/fsharp-B-aK2rr3.cjs.js +0 -1
  188. package/dist/fsharp-D2ZqviWP.es.js +0 -8
  189. package/dist/gdresource-BBAqNWe4.cjs.js +0 -1
  190. package/dist/gdresource-RIsK8sku.es.js +0 -10
  191. package/dist/gdscript-5N_43TPQ.cjs.js +0 -1
  192. package/dist/gdscript-D7aheHm-.es.js +0 -6
  193. package/dist/gdshader-BGJEsM2Z.es.js +0 -6
  194. package/dist/gdshader-Bl85Hrm5.cjs.js +0 -1
  195. package/dist/genie-C9gPjc6J.es.js +0 -6
  196. package/dist/genie-DGsxMAbQ.cjs.js +0 -1
  197. package/dist/gherkin-CVV6nEUH.cjs.js +0 -1
  198. package/dist/gherkin-bka1Exbx.es.js +0 -6
  199. package/dist/git-commit-BRJ1E4Bx.es.js +0 -8
  200. package/dist/git-commit-CwfgI4fD.cjs.js +0 -1
  201. package/dist/git-rebase-C3X7aMpn.es.js +0 -8
  202. package/dist/git-rebase-DUvbIQDw.cjs.js +0 -1
  203. package/dist/github-dark-BKL9xNgN.cjs.js +0 -1
  204. package/dist/github-dark-DenFmJkN.es.js +0 -4
  205. package/dist/github-dark-default-BJPUVz4H.es.js +0 -4
  206. package/dist/github-dark-default-Dsv5MuSi.cjs.js +0 -1
  207. package/dist/github-dark-dimmed-CtB9hz8U.cjs.js +0 -1
  208. package/dist/github-dark-dimmed-DUshB20C.es.js +0 -4
  209. package/dist/github-dark-high-contrast-BqZVM-jF.cjs.js +0 -1
  210. package/dist/github-dark-high-contrast-D3aGCnF8.es.js +0 -4
  211. package/dist/github-light-BFTOhCbz.cjs.js +0 -1
  212. package/dist/github-light-JYsPkUQd.es.js +0 -4
  213. package/dist/github-light-default-BZoWH9dH.cjs.js +0 -1
  214. package/dist/github-light-default-D99KPAby.es.js +0 -4
  215. package/dist/github-light-high-contrast-BbmZE-Mp.es.js +0 -4
  216. package/dist/github-light-high-contrast-Ks3kPGJU.cjs.js +0 -1
  217. package/dist/gleam-B4k9YFGD.es.js +0 -6
  218. package/dist/gleam-nR4mjrhK.cjs.js +0 -1
  219. package/dist/glimmer-js-C4MQf3Na.es.js +0 -14
  220. package/dist/glimmer-js-CNfyUqSb.cjs.js +0 -1
  221. package/dist/glimmer-ts-Bp7_dELi.cjs.js +0 -1
  222. package/dist/glimmer-ts-CoYpqZrZ.es.js +0 -14
  223. package/dist/glsl-BYTq1Tfl.es.js +0 -8
  224. package/dist/glsl-CIu1PL9X.cjs.js +0 -1
  225. package/dist/gnuplot-CurtDYoJ.cjs.js +0 -1
  226. package/dist/gnuplot-DnWoRZt-.es.js +0 -6
  227. package/dist/go-BErP6iv1.es.js +0 -6
  228. package/dist/go-CM9_GlwL.cjs.js +0 -1
  229. package/dist/graphql-BnnSMMC2.cjs.js +0 -1
  230. package/dist/graphql-g3nHRc0M.es.js +0 -14
  231. package/dist/groovy-BaVp9Il5.cjs.js +0 -1
  232. package/dist/groovy-IWs5-NIO.es.js +0 -6
  233. package/dist/hack-BVxH3fsq.cjs.js +0 -1
  234. package/dist/hack-wPAsyujS.es.js +0 -10
  235. package/dist/haml-4TJ757dz.es.js +0 -10
  236. package/dist/haml-vutdexHh.cjs.js +0 -1
  237. package/dist/handlebars-7GDLw__F.es.js +0 -14
  238. package/dist/handlebars-COmZnO8P.cjs.js +0 -1
  239. package/dist/haskell-CtlGos0K.es.js +0 -6
  240. package/dist/haskell-suhyCHEm.cjs.js +0 -1
  241. package/dist/haxe-BIQU1qHi.cjs.js +0 -1
  242. package/dist/haxe-CZZ33vZw.es.js +0 -6
  243. package/dist/hcl-6hOg9WP4.es.js +0 -6
  244. package/dist/hcl-CbQ1yCnz.cjs.js +0 -1
  245. package/dist/hjson-CgwED-oz.es.js +0 -6
  246. package/dist/hjson-Ddklb4QM.cjs.js +0 -1
  247. package/dist/hlsl-3-lv4gi7.es.js +0 -6
  248. package/dist/hlsl-B4NkiBfC.cjs.js +0 -1
  249. package/dist/houston-BDYrDoDW.es.js +0 -4
  250. package/dist/houston-T57H3gQZ.cjs.js +0 -1
  251. package/dist/html-Dc-Bg17s.cjs.js +0 -1
  252. package/dist/html-PSPajZka.es.js +0 -10
  253. package/dist/html-derivative-Brb3b4aI.es.js +0 -8
  254. package/dist/html-derivative-CY9mJeT0.cjs.js +0 -1
  255. package/dist/http-BrKsebcH.cjs.js +0 -1
  256. package/dist/http-CWBcr-Ch.es.js +0 -14
  257. package/dist/hxml-DLduiIv3.es.js +0 -8
  258. package/dist/hxml-DbGPHkY4.cjs.js +0 -1
  259. package/dist/hy-C2xHhR6I.es.js +0 -6
  260. package/dist/hy-DpyTdO3T.cjs.js +0 -1
  261. package/dist/imba-BEYqRZzB.es.js +0 -8
  262. package/dist/imba-CAIkF-GD.cjs.js +0 -1
  263. package/dist/ini-BUcvsX-U.es.js +0 -6
  264. package/dist/ini-CymULaw_.cjs.js +0 -1
  265. package/dist/java-B7odJ7Ap.es.js +0 -6
  266. package/dist/java-Bn1Lvoni.cjs.js +0 -1
  267. package/dist/javascript-Bnnicc83.cjs.js +0 -1
  268. package/dist/javascript-fa8UlHZE.es.js +0 -6
  269. package/dist/jinja-BoeZymy4.cjs.js +0 -1
  270. package/dist/jinja-DKLHYjK0.es.js +0 -11
  271. package/dist/jison-C0DlFEjB.cjs.js +0 -1
  272. package/dist/jison-CzPfUIvM.es.js +0 -8
  273. package/dist/json-71t8ZF9g.es.js +0 -6
  274. package/dist/json-y-J1j5EW.cjs.js +0 -1
  275. package/dist/json5-CzvlWgZ7.cjs.js +0 -1
  276. package/dist/json5-Z7F6rA6a.es.js +0 -6
  277. package/dist/jsonc-BnhWfmQw.cjs.js +0 -1
  278. package/dist/jsonc-Dphhs4m2.es.js +0 -6
  279. package/dist/jsonl-BbGkWPJz.cjs.js +0 -1
  280. package/dist/jsonl-D9jj92Gg.es.js +0 -6
  281. package/dist/jsonnet-Bn--UDZ1.cjs.js +0 -1
  282. package/dist/jsonnet-DEQ7IUoJ.es.js +0 -6
  283. package/dist/jssm-4CSVp8lc.cjs.js +0 -1
  284. package/dist/jssm-j74e88UX.es.js +0 -6
  285. package/dist/jsx-Bkesy5tT.es.js +0 -6
  286. package/dist/jsx-D8YwVp-7.cjs.js +0 -1
  287. package/dist/julia-B_r6juN7.es.js +0 -16
  288. package/dist/julia-DLxGoAlk.cjs.js +0 -1
  289. package/dist/kanagawa-dragon-BJZF7xDr.cjs.js +0 -1
  290. package/dist/kanagawa-dragon-CiKur4Hl.es.js +0 -4
  291. package/dist/kanagawa-lotus-BKu-smKu.es.js +0 -4
  292. package/dist/kanagawa-lotus-BhgzmRV4.cjs.js +0 -1
  293. package/dist/kanagawa-wave-BgJip59C.cjs.js +0 -1
  294. package/dist/kanagawa-wave-CQwozSzG.es.js +0 -4
  295. package/dist/kotlin-DCgZY7Ii.es.js +0 -6
  296. package/dist/kotlin-DDI6myF6.cjs.js +0 -1
  297. package/dist/kusto-Cw029H-v.es.js +0 -6
  298. package/dist/kusto-OZxALJZT.cjs.js +0 -1
  299. package/dist/laserwave--izBLY1I.cjs.js +0 -1
  300. package/dist/laserwave-6a00oqik.es.js +0 -4
  301. package/dist/latex-CXOK56Uv.cjs.js +0 -1
  302. package/dist/latex-GxBxlqbc.es.js +0 -8
  303. package/dist/lean-CYSet4vs.es.js +0 -6
  304. package/dist/lean-D1iY-35j.cjs.js +0 -1
  305. package/dist/less-DIaY7vQJ.cjs.js +0 -1
  306. package/dist/less-DQA4v-Nm.es.js +0 -6
  307. package/dist/light-plus-B5D0le0o.cjs.js +0 -1
  308. package/dist/light-plus-CZuVqSLX.es.js +0 -4
  309. package/dist/liquid-BYouVITI.cjs.js +0 -1
  310. package/dist/liquid-BxBkR-z5.es.js +0 -14
  311. package/dist/log-BIXUeBaj.cjs.js +0 -1
  312. package/dist/log-D2eRfqDn.es.js +0 -6
  313. package/dist/logo-B2d3b27P.cjs.js +0 -1
  314. package/dist/logo-QEAtGWZ9.es.js +0 -6
  315. package/dist/lua-B2_GGnC5.cjs.js +0 -1
  316. package/dist/lua-DeXVjwzF.es.js +0 -8
  317. package/dist/luau-BjYGiqID.es.js +0 -6
  318. package/dist/luau-CvqAeq4F.cjs.js +0 -1
  319. package/dist/make-BjuHP00g.es.js +0 -6
  320. package/dist/make-Oob5Z9Pk.cjs.js +0 -1
  321. package/dist/markdown-B6guhLWd.es.js +0 -6
  322. package/dist/markdown-BGBuj4LZ.cjs.js +0 -1
  323. package/dist/marko-CS7eEGs3.cjs.js +0 -1
  324. package/dist/marko-DwPYPpB3.es.js +0 -14
  325. package/dist/material-theme-D6KBX41T.es.js +0 -4
  326. package/dist/material-theme-Dj0-OyRN.cjs.js +0 -1
  327. package/dist/material-theme-darker-CkRroheE.es.js +0 -4
  328. package/dist/material-theme-darker-Dvfs29ir.cjs.js +0 -1
  329. package/dist/material-theme-lighter-BUBw43Yz.es.js +0 -4
  330. package/dist/material-theme-lighter-EU3ZGl_r.cjs.js +0 -1
  331. package/dist/material-theme-ocean-ClGX14Ja.es.js +0 -4
  332. package/dist/material-theme-ocean-px_3Pwqa.cjs.js +0 -1
  333. package/dist/material-theme-palenight-38jxvsGX.cjs.js +0 -1
  334. package/dist/material-theme-palenight-C1RVm8K1.es.js +0 -4
  335. package/dist/matlab-BpQlIJiw.es.js +0 -6
  336. package/dist/matlab-CbN2rF6P.cjs.js +0 -1
  337. package/dist/mdc-Bkl-bu_Z.cjs.js +0 -1
  338. package/dist/mdc-X4YjkufV.es.js +0 -12
  339. package/dist/mdx-Cl31h8mi.cjs.js +0 -1
  340. package/dist/mdx-DIoECIFU.es.js +0 -6
  341. package/dist/mermaid-BZ7WHNIe.es.js +0 -6
  342. package/dist/mermaid-CSogK_LM.cjs.js +0 -1
  343. package/dist/min-dark-C7ak0t6c.es.js +0 -4
  344. package/dist/min-dark-tt5o_I5e.cjs.js +0 -1
  345. package/dist/min-light-CKFxVcPp.es.js +0 -4
  346. package/dist/min-light-tmTHl_CQ.cjs.js +0 -1
  347. package/dist/mipsasm-BseoYJQp.cjs.js +0 -1
  348. package/dist/mipsasm-DusDYkFc.es.js +0 -6
  349. package/dist/mojo-CY9jaezJ.es.js +0 -6
  350. package/dist/mojo-D8QAG3Ze.cjs.js +0 -1
  351. package/dist/monokai-C1KBYcO0.es.js +0 -4
  352. package/dist/monokai-DMIxv6MM.cjs.js +0 -1
  353. package/dist/move-ChphFumd.es.js +0 -6
  354. package/dist/move-DaBrcjat.cjs.js +0 -1
  355. package/dist/narrat-Dz4d7OmN.es.js +0 -6
  356. package/dist/narrat-oOfAO4q8.cjs.js +0 -1
  357. package/dist/nextflow-BxJSKvPb.cjs.js +0 -1
  358. package/dist/nextflow-DW0Yq9a2.es.js +0 -6
  359. package/dist/nginx-ChI-VqNT.es.js +0 -8
  360. package/dist/nginx-LuyFICzP.cjs.js +0 -1
  361. package/dist/night-owl-BN78kThQ.cjs.js +0 -1
  362. package/dist/night-owl-Bm2rzalh.es.js +0 -4
  363. package/dist/nim-BiJA-5u7.es.js +0 -20
  364. package/dist/nim-DkC83hsN.cjs.js +0 -1
  365. package/dist/nix-Cg5uV_xg.es.js +0 -6
  366. package/dist/nix-DNME0Ea7.cjs.js +0 -1
  367. package/dist/nord-CC5OiUXg.es.js +0 -4
  368. package/dist/nord-Ca5AGUWc.cjs.js +0 -1
  369. package/dist/nushell-BfRnzRWn.es.js +0 -6
  370. package/dist/nushell-DI9Z3l3M.cjs.js +0 -1
  371. package/dist/objective-c-BGg9R27G.es.js +0 -6
  372. package/dist/objective-c-DVx8Rcni.cjs.js +0 -1
  373. package/dist/objective-cpp-CJ3y3V_5.es.js +0 -6
  374. package/dist/objective-cpp-s6XI7Jvk.cjs.js +0 -1
  375. package/dist/ocaml-BZLsfx_o.es.js +0 -6
  376. package/dist/ocaml-kUzDDUf2.cjs.js +0 -1
  377. package/dist/one-dark-pro-D7-kP8fv.es.js +0 -4
  378. package/dist/one-dark-pro-JOzzHStv.cjs.js +0 -1
  379. package/dist/one-light-020-h_lv.cjs.js +0 -1
  380. package/dist/one-light-D9sNaUtq.es.js +0 -4
  381. package/dist/pascal-D509_I72.cjs.js +0 -1
  382. package/dist/pascal-l2bqd7Dz.es.js +0 -6
  383. package/dist/perl-CkXYjL3t.es.js +0 -16
  384. package/dist/perl-DUnCLRB_.cjs.js +0 -1
  385. package/dist/php-D0k1sQr6.cjs.js +0 -1
  386. package/dist/php-q40Yjh5d.es.js +0 -18
  387. package/dist/plastic-CSTz3KZp.es.js +0 -4
  388. package/dist/plastic-r5piqq-S.cjs.js +0 -1
  389. package/dist/plsql-C_qH_YOK.cjs.js +0 -1
  390. package/dist/plsql-oVq_K_wH.es.js +0 -6
  391. package/dist/po-5jaeIyVd.es.js +0 -6
  392. package/dist/po-CBsLQIcu.cjs.js +0 -1
  393. package/dist/poimandres-BLP3NNjc.cjs.js +0 -1
  394. package/dist/poimandres-C-VADXHD.es.js +0 -4
  395. package/dist/polar-De-CDeYv.cjs.js +0 -1
  396. package/dist/polar-wcLp8ci7.es.js +0 -6
  397. package/dist/postcss-BZ3MNRIJ.es.js +0 -6
  398. package/dist/postcss-BtcsgaYj.cjs.js +0 -1
  399. package/dist/powerquery-B0rHn13V.cjs.js +0 -1
  400. package/dist/powerquery-CgRa2XRw.es.js +0 -6
  401. package/dist/powershell-Diwyv8Eh.es.js +0 -6
  402. package/dist/powershell-rCX2OYXT.cjs.js +0 -1
  403. package/dist/prisma-BaaUHYMp.cjs.js +0 -1
  404. package/dist/prisma-COL_v1x4.es.js +0 -6
  405. package/dist/prolog-CuvJOxqT.es.js +0 -6
  406. package/dist/prolog-DrXD2tGS.cjs.js +0 -1
  407. package/dist/proto-BtmQjBQu.cjs.js +0 -1
  408. package/dist/proto-o9HLmF90.es.js +0 -6
  409. package/dist/pug-Br4hpvIv.es.js +0 -12
  410. package/dist/pug-CFQMpTUe.cjs.js +0 -1
  411. package/dist/puppet-cIrXIuy8.cjs.js +0 -1
  412. package/dist/puppet-wpGOnQp5.es.js +0 -6
  413. package/dist/purescript-B_1NgE2N.es.js +0 -6
  414. package/dist/purescript-CX9QPs2N.cjs.js +0 -1
  415. package/dist/python-B9x3euv6.cjs.js +0 -1
  416. package/dist/python-xYxLFJY-.es.js +0 -6
  417. package/dist/qml-CzqrIM5W.cjs.js +0 -1
  418. package/dist/qml-D5gi21kK.es.js +0 -8
  419. package/dist/qmldir-BInDYbpo.es.js +0 -6
  420. package/dist/qmldir-DNF9H2ir.cjs.js +0 -1
  421. package/dist/qss-C744dLby.cjs.js +0 -1
  422. package/dist/qss-D-h4NdUG.es.js +0 -6
  423. package/dist/r-DgOc9oMe.cjs.js +0 -1
  424. package/dist/r-F-9I-ITZ.es.js +0 -6
  425. package/dist/racket-BoD1TBFT.es.js +0 -6
  426. package/dist/racket-Do9_vqnd.cjs.js +0 -1
  427. package/dist/raku-BW8wAUIz.cjs.js +0 -1
  428. package/dist/raku-IaYcw19m.es.js +0 -6
  429. package/dist/razor-Bt_t1YJb.es.js +0 -10
  430. package/dist/razor-COQhlwWF.cjs.js +0 -1
  431. package/dist/red-7y8PH7HH.es.js +0 -4
  432. package/dist/red-BQGOv1D5.cjs.js +0 -1
  433. package/dist/reg-CGWN_v-z.cjs.js +0 -1
  434. package/dist/reg-CMUdAgIP.es.js +0 -6
  435. package/dist/regexp-GiFkbxS-.es.js +0 -6
  436. package/dist/regexp-N7Z4hEeU.cjs.js +0 -1
  437. package/dist/rel-BYqA7mnV.cjs.js +0 -1
  438. package/dist/rel-BaRn3QX7.es.js +0 -6
  439. package/dist/riscv-B9V3SsvW.es.js +0 -6
  440. package/dist/riscv-ayQMUpo9.cjs.js +0 -1
  441. package/dist/rose-pine-DKEdv1Oe.cjs.js +0 -1
  442. package/dist/rose-pine-DhT-HZE9.es.js +0 -4
  443. package/dist/rose-pine-dawn-Bvt6DtVH.cjs.js +0 -1
  444. package/dist/rose-pine-dawn-DiCjL2i4.es.js +0 -4
  445. package/dist/rose-pine-moon-BNmGHlcn.es.js +0 -4
  446. package/dist/rose-pine-moon-cHuJy0Ng.cjs.js +0 -1
  447. package/dist/rst-BmKw97ch.es.js +0 -22
  448. package/dist/rst-Bq-h_T5U.cjs.js +0 -1
  449. package/dist/ruby-Bw5IEIKD.cjs.js +0 -1
  450. package/dist/ruby-cs7BSa_9.es.js +0 -30
  451. package/dist/rust-BnFKGEfa.cjs.js +0 -1
  452. package/dist/rust-Pc7DCsZD.es.js +0 -6
  453. package/dist/sas-BWKaSYkZ.cjs.js +0 -1
  454. package/dist/sas-DgvHx4mL.es.js +0 -8
  455. package/dist/sass-B9gYryDE.cjs.js +0 -1
  456. package/dist/sass-iCyS6eP9.es.js +0 -6
  457. package/dist/scala-C85dOwSU.cjs.js +0 -1
  458. package/dist/scala-Cly-fENF.es.js +0 -6
  459. package/dist/scheme-B_XUaARm.cjs.js +0 -1
  460. package/dist/scheme-Zi24oEYu.es.js +0 -6
  461. package/dist/scss-B_hSZppj.es.js +0 -8
  462. package/dist/scss-CV3c8_Y7.cjs.js +0 -1
  463. package/dist/sdbl-7Y5u0OW0.cjs.js +0 -1
  464. package/dist/sdbl-BBamrXFL.es.js +0 -6
  465. package/dist/shaderlab-CJ8U2E2w.cjs.js +0 -1
  466. package/dist/shaderlab-U9mqcu_f.es.js +0 -8
  467. package/dist/shellscript-3DYM9fut.cjs.js +0 -1
  468. package/dist/shellscript-Dn0-btNd.es.js +0 -6
  469. package/dist/shellsession-CbKmorC3.cjs.js +0 -1
  470. package/dist/shellsession-LvXGClmj.es.js +0 -8
  471. package/dist/slack-dark-akqwQ7ED.cjs.js +0 -1
  472. package/dist/slack-dark-i7wN4OET.es.js +0 -4
  473. package/dist/slack-ochin-BoQQWmTv.cjs.js +0 -1
  474. package/dist/slack-ochin-ndHf0LoP.es.js +0 -4
  475. package/dist/smalltalk-CCvytUuW.cjs.js +0 -1
  476. package/dist/smalltalk-Cns31tKw.es.js +0 -6
  477. package/dist/snazzy-light-BlSJXAu4.es.js +0 -4
  478. package/dist/snazzy-light-D_IwRieF.cjs.js +0 -1
  479. package/dist/solarized-dark-UTmkh7lw.es.js +0 -4
  480. package/dist/solarized-dark-gmm-WbDC.cjs.js +0 -1
  481. package/dist/solarized-light-BheCkDPT.es.js +0 -4
  482. package/dist/solarized-light-DzcxRSZP.cjs.js +0 -1
  483. package/dist/solidity-BG_k8fA_.es.js +0 -6
  484. package/dist/solidity-BcNcjFC4.cjs.js +0 -1
  485. package/dist/soy-B2d9ZydM.cjs.js +0 -1
  486. package/dist/soy-C0yEn39K.es.js +0 -8
  487. package/dist/sparql-CiBxIK0g.cjs.js +0 -1
  488. package/dist/sparql-CuZaxpno.es.js +0 -8
  489. package/dist/splunk-CTqDjQdo.es.js +0 -6
  490. package/dist/splunk-CzITjJj7.cjs.js +0 -1
  491. package/dist/sql-BqWZrLHB.cjs.js +0 -1
  492. package/dist/sql-DCkt643-.es.js +0 -6
  493. package/dist/ssh-config-DHHGll-v.es.js +0 -6
  494. package/dist/ssh-config-DUPeuEdB.cjs.js +0 -1
  495. package/dist/stata-B8m3qL-x.cjs.js +0 -1
  496. package/dist/stata-Dv81f34z.es.js +0 -8
  497. package/dist/stylus-ByHs6N-o.cjs.js +0 -1
  498. package/dist/stylus-n_9f0QQ5.es.js +0 -6
  499. package/dist/svelte-CfLoBBrI.cjs.js +0 -1
  500. package/dist/svelte-SoJd35Jr.es.js +0 -14
  501. package/dist/swift-BAWqNR8A.es.js +0 -6
  502. package/dist/swift-C5DnOriA.cjs.js +0 -1
  503. package/dist/synthwave-84-BBRLOmNT.cjs.js +0 -1
  504. package/dist/synthwave-84-NU3C_KFZ.es.js +0 -4
  505. package/dist/system-verilog-ClPLYLwh.cjs.js +0 -1
  506. package/dist/system-verilog-Cui-g-ut.es.js +0 -6
  507. package/dist/systemd-BASX0DlX.cjs.js +0 -1
  508. package/dist/systemd-CsKYQIQK.es.js +0 -6
  509. package/dist/talonscript-D2dGh8FO.es.js +0 -6
  510. package/dist/talonscript-DkCSnLHD.cjs.js +0 -1
  511. package/dist/tasl-BAQJK7KZ.cjs.js +0 -1
  512. package/dist/tasl-D3W8HMV6.es.js +0 -6
  513. package/dist/tcl-2y0Fuc4S.es.js +0 -6
  514. package/dist/tcl-CwJAYTvh.cjs.js +0 -1
  515. package/dist/templ-BSMv2wKZ.cjs.js +0 -1
  516. package/dist/templ-C7he2afp.es.js +0 -12
  517. package/dist/terraform-BGW6Oerf.es.js +0 -6
  518. package/dist/terraform-s-pzyVvp.cjs.js +0 -1
  519. package/dist/tex-B0y3cEZp.es.js +0 -8
  520. package/dist/tex-DwtFCA08.cjs.js +0 -1
  521. package/dist/tokyo-night-9T7_vGSy.cjs.js +0 -1
  522. package/dist/tokyo-night-LhP3hHhi.es.js +0 -4
  523. package/dist/toml-CQSfOn0e.es.js +0 -6
  524. package/dist/toml-CyMM7IXy.cjs.js +0 -1
  525. package/dist/ts-tags-C5-4VQhf.es.js +0 -41
  526. package/dist/ts-tags-MIr66hKK.cjs.js +0 -1
  527. package/dist/tsv-BtvSkaG0.es.js +0 -6
  528. package/dist/tsv-DqNGnuVj.cjs.js +0 -1
  529. package/dist/tsx-DiGsgWT8.es.js +0 -6
  530. package/dist/tsx-DpBRUnKC.cjs.js +0 -1
  531. package/dist/turtle-BJ2wmjPc.es.js +0 -6
  532. package/dist/turtle-DfO3eAsu.cjs.js +0 -1
  533. package/dist/twig-BzjoX4ZJ.cjs.js +0 -1
  534. package/dist/twig-OmkATFdv.es.js +0 -18
  535. package/dist/typescript-BqvpT6pB.cjs.js +0 -1
  536. package/dist/typescript-buWNZFwO.es.js +0 -6
  537. package/dist/typespec-P-ZVy8yC.cjs.js +0 -1
  538. package/dist/typespec-bLbdsxJL.es.js +0 -6
  539. package/dist/typst-BVh2IsT9.cjs.js +0 -1
  540. package/dist/typst-Y9_SmXTs.es.js +0 -6
  541. package/dist/v-BUlE9136.cjs.js +0 -1
  542. package/dist/v-wa8Orrdd.es.js +0 -6
  543. package/dist/vala-BIymb2K_.cjs.js +0 -1
  544. package/dist/vala-DRdriFr_.es.js +0 -6
  545. package/dist/vb-E2_-jk4M.es.js +0 -6
  546. package/dist/vb-IXOh8mqV.cjs.js +0 -1
  547. package/dist/verilog-B1iBoR5_.es.js +0 -6
  548. package/dist/verilog-BiglCqvO.cjs.js +0 -1
  549. package/dist/vesper-CJsaOsSM.es.js +0 -4
  550. package/dist/vesper-DqLWLxOu.cjs.js +0 -1
  551. package/dist/vhdl-CJUzuS2t.cjs.js +0 -1
  552. package/dist/vhdl-CRVaAhXk.es.js +0 -6
  553. package/dist/viml-B-zWOd7Z.es.js +0 -6
  554. package/dist/viml-B1nKLcgt.cjs.js +0 -1
  555. package/dist/vitesse-black-BoGvW84i.es.js +0 -4
  556. package/dist/vitesse-black-MF-1S1MG.cjs.js +0 -1
  557. package/dist/vitesse-dark-Cym-eLtO.es.js +0 -4
  558. package/dist/vitesse-dark-SIffJYSe.cjs.js +0 -1
  559. package/dist/vitesse-light-CcmG315c.es.js +0 -4
  560. package/dist/vitesse-light-U63SkYGT.cjs.js +0 -1
  561. package/dist/vue-DCwwWMGI.es.js +0 -31
  562. package/dist/vue-DYZqcRaZ.cjs.js +0 -1
  563. package/dist/vue-html-CdPbyrq1.cjs.js +0 -1
  564. package/dist/vue-html-sRE_Ny23.es.js +0 -10
  565. package/dist/vyper-CO9xUkIY.cjs.js +0 -1
  566. package/dist/vyper-DWutKXpa.es.js +0 -6
  567. package/dist/wasm-Bv5f0gKv.es.js +0 -6
  568. package/dist/wasm-CdIThIat.cjs.js +0 -1
  569. package/dist/wenyan-BMYnfus1.es.js +0 -6
  570. package/dist/wenyan-BSJ3fk7e.cjs.js +0 -1
  571. package/dist/wgsl-DnPoPGDU.es.js +0 -6
  572. package/dist/wgsl-d3zZE7ZN.cjs.js +0 -1
  573. package/dist/wikitext-BRCqXN2g.cjs.js +0 -1
  574. package/dist/wikitext-CntM04PE.es.js +0 -6
  575. package/dist/wolfram-C3rR92zj.cjs.js +0 -1
  576. package/dist/wolfram-Ws5qPlX9.es.js +0 -6
  577. package/dist/xml-BRLTD55J.cjs.js +0 -1
  578. package/dist/xml-Ch1q_kJp.es.js +0 -8
  579. package/dist/xsl-DyL8yqXw.es.js +0 -8
  580. package/dist/xsl-ETbYGV_-.cjs.js +0 -1
  581. package/dist/yaml-7DV6pRKj.cjs.js +0 -1
  582. package/dist/yaml-Bbg74JKr.es.js +0 -6
  583. package/dist/zenscript-BWMxwjeH.cjs.js +0 -1
  584. package/dist/zenscript-C0RKE4nU.es.js +0 -6
  585. package/dist/zig-D6SXBGNm.es.js +0 -6
  586. package/dist/zig-yAcNfpgW.cjs.js +0 -1
@@ -1,20 +1,9 @@
1
1
  import { jsx as I } from "react/jsx-runtime";
2
- import { QueryClient as q, QueryClientProvider as B } from "@tanstack/react-query";
2
+ import { QueryClient as B, QueryClientProvider as $ } from "@tanstack/react-query";
3
3
  import u from "axios";
4
- import { useContext as F, createContext as $, useMemo as M } from "react";
5
- const E = new q({
6
- defaultOptions: {
7
- queries: {
8
- retry: !1,
9
- throwOnError: !1
10
- },
11
- mutations: {
12
- retry: !1,
13
- throwOnError: !1
14
- }
15
- }
16
- }), m = "http://localhost/api/v0".replace(/\/+$/, "");
17
- class A {
4
+ import { useContext as F, createContext as M, useMemo as E } from "react";
5
+ const m = "http://localhost/api/v0".replace(/\/+$/, "");
6
+ class x {
18
7
  constructor(a, e = m, r = u) {
19
8
  this.basePath = e, this.axios = r, a && (this.configuration = a, this.basePath = a.basePath ?? e);
20
9
  }
@@ -29,29 +18,29 @@ const P = {}, V = "https://example.com", d = function(c, a, e) {
29
18
  if (e == null)
30
19
  throw new L(a, `Required parameter ${a} was null or undefined when calling ${c}.`);
31
20
  };
32
- function N(c, a, e = "") {
33
- a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((r) => N(c, r, e)) : Object.keys(a).forEach(
34
- (r) => N(c, a[r], `${e}${e !== "" ? "." : ""}${r}`)
21
+ function R(c, a, e = "") {
22
+ a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((r) => R(c, r, e)) : Object.keys(a).forEach(
23
+ (r) => R(c, a[r], `${e}${e !== "" ? "." : ""}${r}`)
35
24
  ) : c.has(e) ? c.append(e, a) : c.set(e, a));
36
25
  }
37
- const O = function(c, ...a) {
26
+ const b = function(c, ...a) {
38
27
  const e = new URLSearchParams(c.search);
39
- N(e, a), c.search = e.toString();
28
+ R(e, a), c.search = e.toString();
40
29
  }, j = function(c, a, e) {
41
30
  const r = typeof c != "string";
42
31
  return (r && e && e.isJsonMime ? e.isJsonMime(a.headers["Content-Type"]) : r) ? JSON.stringify(c !== void 0 ? c : {}) : c || "";
43
- }, b = function(c) {
32
+ }, O = function(c) {
44
33
  return c.pathname + c.search + c.hash;
45
34
  }, g = function(c, a, e, r) {
46
- return (t = a, s = e) => {
47
- const o = { ...c.options, url: (t.defaults.baseURL ? "" : r?.basePath ?? s) + c.url };
48
- return t.request(o);
35
+ return (t = a, o = e) => {
36
+ const s = { ...c.options, url: (t.defaults.baseURL ? "" : r?.basePath ?? o) + c.url };
37
+ return t.request(s);
49
38
  };
50
- }, pe = {
39
+ }, de = {
51
40
  Bigquery: "bigquery",
52
41
  Snowflake: "snowflake",
53
42
  Postgres: "postgres"
54
- }, de = {
43
+ }, he = {
55
44
  Postgres: "postgres",
56
45
  Bigquery: "bigquery",
57
46
  Snowflake: "snowflake",
@@ -59,13 +48,16 @@ const O = function(c, ...a) {
59
48
  Mysql: "mysql",
60
49
  Duckdb: "duckdb",
61
50
  Motherduck: "motherduck"
62
- }, he = {
51
+ }, ue = {
63
52
  Ok: "ok",
64
53
  Failed: "failed"
65
- }, ue = {
54
+ }, me = {
66
55
  Embedded: "embedded",
67
56
  Materialized: "materialized"
68
- }, me = {
57
+ }, Pe = {
58
+ Markdown: "markdown",
59
+ Code: "code"
60
+ }, Ve = {
69
61
  Markdown: "markdown",
70
62
  Code: "code"
71
63
  }, H = function(c) {
@@ -80,14 +72,14 @@ const O = function(c, ...a) {
80
72
  */
81
73
  getConnection: async (a, e, r = {}) => {
82
74
  d("getConnection", "projectName", a), d("getConnection", "connectionName", e);
83
- const t = "/projects/{projectName}/connections/{connectionName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(t, V);
84
- let o;
85
- c && (o = c.baseOptions);
86
- const n = { method: "GET", ...o, ...r }, l = {};
87
- O(s, {});
88
- let p = o && o.headers ? o.headers : {};
75
+ const t = "/projects/{projectName}/connections/{connectionName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, V);
76
+ let s;
77
+ c && (s = c.baseOptions);
78
+ const n = { method: "GET", ...s, ...r }, l = {};
79
+ b(o, {});
80
+ let p = s && s.headers ? s.headers : {};
89
81
  return n.headers = { ...l, ...p, ...r.headers }, {
90
- url: b(s),
82
+ url: O(o),
91
83
  options: n
92
84
  };
93
85
  },
@@ -102,16 +94,16 @@ const O = function(c, ...a) {
102
94
  * @deprecated
103
95
  * @throws {RequiredError}
104
96
  */
105
- getQuerydata: async (a, e, r, t, s = {}) => {
97
+ getQuerydata: async (a, e, r, t, o = {}) => {
106
98
  d("getQuerydata", "projectName", a), d("getQuerydata", "connectionName", e);
107
- const o = "/projects/{projectName}/connections/{connectionName}/queryData".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(o, V);
99
+ const s = "/projects/{projectName}/connections/{connectionName}/queryData".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(s, V);
108
100
  let l;
109
101
  c && (l = c.baseOptions);
110
- const i = { method: "GET", ...l, ...s }, p = {}, h = {};
111
- r !== void 0 && (h.sqlStatement = r), t !== void 0 && (h.options = t), O(n, h);
102
+ const i = { method: "GET", ...l, ...o }, p = {}, h = {};
103
+ r !== void 0 && (h.sqlStatement = r), t !== void 0 && (h.options = t), b(n, h);
112
104
  let y = l && l.headers ? l.headers : {};
113
- return i.headers = { ...p, ...y, ...s.headers }, {
114
- url: b(n),
105
+ return i.headers = { ...p, ...y, ...o.headers }, {
106
+ url: O(n),
115
107
  options: i
116
108
  };
117
109
  },
@@ -127,14 +119,14 @@ const O = function(c, ...a) {
127
119
  */
128
120
  getSqlsource: async (a, e, r, t = {}) => {
129
121
  d("getSqlsource", "projectName", a), d("getSqlsource", "connectionName", e);
130
- const s = "/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(s, V);
122
+ const o = "/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
131
123
  let n;
132
124
  c && (n = c.baseOptions);
133
125
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
134
- r !== void 0 && (p.sqlStatement = r), O(o, p);
126
+ r !== void 0 && (p.sqlStatement = r), b(s, p);
135
127
  let h = n && n.headers ? n.headers : {};
136
128
  return l.headers = { ...i, ...h, ...t.headers }, {
137
- url: b(o),
129
+ url: O(s),
138
130
  options: l
139
131
  };
140
132
  },
@@ -148,16 +140,16 @@ const O = function(c, ...a) {
148
140
  * @param {*} [options] Override http request option.
149
141
  * @throws {RequiredError}
150
142
  */
151
- getTable: async (a, e, r, t, s = {}) => {
143
+ getTable: async (a, e, r, t, o = {}) => {
152
144
  d("getTable", "projectName", a), d("getTable", "connectionName", e), d("getTable", "schemaName", r), d("getTable", "tablePath", t);
153
- const o = "/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))).replace("{tablePath}", encodeURIComponent(String(t))), n = new URL(o, V);
145
+ const s = "/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))).replace("{tablePath}", encodeURIComponent(String(t))), n = new URL(s, V);
154
146
  let l;
155
147
  c && (l = c.baseOptions);
156
- const i = { method: "GET", ...l, ...s }, p = {};
157
- O(n, {});
148
+ const i = { method: "GET", ...l, ...o }, p = {};
149
+ b(n, {});
158
150
  let y = l && l.headers ? l.headers : {};
159
- return i.headers = { ...p, ...y, ...s.headers }, {
160
- url: b(n),
151
+ return i.headers = { ...p, ...y, ...o.headers }, {
152
+ url: O(n),
161
153
  options: i
162
154
  };
163
155
  },
@@ -172,16 +164,16 @@ const O = function(c, ...a) {
172
164
  * @deprecated
173
165
  * @throws {RequiredError}
174
166
  */
175
- getTablesource: async (a, e, r, t, s = {}) => {
167
+ getTablesource: async (a, e, r, t, o = {}) => {
176
168
  d("getTablesource", "projectName", a), d("getTablesource", "connectionName", e);
177
- const o = "/projects/{projectName}/connections/{connectionName}/tableSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(o, V);
169
+ const s = "/projects/{projectName}/connections/{connectionName}/tableSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(s, V);
178
170
  let l;
179
171
  c && (l = c.baseOptions);
180
- const i = { method: "GET", ...l, ...s }, p = {}, h = {};
181
- r !== void 0 && (h.tableKey = r), t !== void 0 && (h.tablePath = t), O(n, h);
172
+ const i = { method: "GET", ...l, ...o }, p = {}, h = {};
173
+ r !== void 0 && (h.tableKey = r), t !== void 0 && (h.tablePath = t), b(n, h);
182
174
  let y = l && l.headers ? l.headers : {};
183
- return i.headers = { ...p, ...y, ...s.headers }, {
184
- url: b(n),
175
+ return i.headers = { ...p, ...y, ...o.headers }, {
176
+ url: O(n),
185
177
  options: i
186
178
  };
187
179
  },
@@ -197,14 +189,14 @@ const O = function(c, ...a) {
197
189
  */
198
190
  getTemporarytable: async (a, e, r, t = {}) => {
199
191
  d("getTemporarytable", "projectName", a), d("getTemporarytable", "connectionName", e);
200
- const s = "/projects/{projectName}/connections/{connectionName}/temporaryTable".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(s, V);
192
+ const o = "/projects/{projectName}/connections/{connectionName}/temporaryTable".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
201
193
  let n;
202
194
  c && (n = c.baseOptions);
203
195
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
204
- r !== void 0 && (p.sqlStatement = r), O(o, p);
196
+ r !== void 0 && (p.sqlStatement = r), b(s, p);
205
197
  let h = n && n.headers ? n.headers : {};
206
198
  return l.headers = { ...i, ...h, ...t.headers }, {
207
- url: b(o),
199
+ url: O(s),
208
200
  options: l
209
201
  };
210
202
  },
@@ -218,14 +210,14 @@ const O = function(c, ...a) {
218
210
  listConnections: async (a, e = {}) => {
219
211
  d("listConnections", "projectName", a);
220
212
  const r = "/projects/{projectName}/connections".replace("{projectName}", encodeURIComponent(String(a))), t = new URL(r, V);
221
- let s;
222
- c && (s = c.baseOptions);
223
- const o = { method: "GET", ...s, ...e }, n = {};
224
- O(t, {});
225
- let i = s && s.headers ? s.headers : {};
226
- return o.headers = { ...n, ...i, ...e.headers }, {
227
- url: b(t),
228
- options: o
213
+ let o;
214
+ c && (o = c.baseOptions);
215
+ const s = { method: "GET", ...o, ...e }, n = {};
216
+ b(t, {});
217
+ let i = o && o.headers ? o.headers : {};
218
+ return s.headers = { ...n, ...i, ...e.headers }, {
219
+ url: O(t),
220
+ options: s
229
221
  };
230
222
  },
231
223
  /**
@@ -238,14 +230,14 @@ const O = function(c, ...a) {
238
230
  */
239
231
  listSchemas: async (a, e, r = {}) => {
240
232
  d("listSchemas", "projectName", a), d("listSchemas", "connectionName", e);
241
- const t = "/projects/{projectName}/connections/{connectionName}/schemas".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(t, V);
242
- let o;
243
- c && (o = c.baseOptions);
244
- const n = { method: "GET", ...o, ...r }, l = {};
245
- O(s, {});
246
- let p = o && o.headers ? o.headers : {};
233
+ const t = "/projects/{projectName}/connections/{connectionName}/schemas".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, V);
234
+ let s;
235
+ c && (s = c.baseOptions);
236
+ const n = { method: "GET", ...s, ...r }, l = {};
237
+ b(o, {});
238
+ let p = s && s.headers ? s.headers : {};
247
239
  return n.headers = { ...l, ...p, ...r.headers }, {
248
- url: b(s),
240
+ url: O(o),
249
241
  options: n
250
242
  };
251
243
  },
@@ -260,14 +252,14 @@ const O = function(c, ...a) {
260
252
  */
261
253
  listTables: async (a, e, r, t = {}) => {
262
254
  d("listTables", "projectName", a), d("listTables", "connectionName", e), d("listTables", "schemaName", r);
263
- const s = "/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))), o = new URL(s, V);
255
+ const o = "/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))), s = new URL(o, V);
264
256
  let n;
265
257
  c && (n = c.baseOptions);
266
258
  const l = { method: "GET", ...n, ...t }, i = {};
267
- O(o, {});
259
+ b(s, {});
268
260
  let h = n && n.headers ? n.headers : {};
269
261
  return l.headers = { ...i, ...h, ...t.headers }, {
270
- url: b(o),
262
+ url: O(s),
271
263
  options: l
272
264
  };
273
265
  },
@@ -281,16 +273,16 @@ const O = function(c, ...a) {
281
273
  * @param {*} [options] Override http request option.
282
274
  * @throws {RequiredError}
283
275
  */
284
- postQuerydata: async (a, e, r, t, s = {}) => {
276
+ postQuerydata: async (a, e, r, t, o = {}) => {
285
277
  d("postQuerydata", "projectName", a), d("postQuerydata", "connectionName", e), d("postQuerydata", "postSqlsourceRequest", r);
286
- const o = "/projects/{projectName}/connections/{connectionName}/sqlQuery".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(o, V);
278
+ const s = "/projects/{projectName}/connections/{connectionName}/sqlQuery".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(s, V);
287
279
  let l;
288
280
  c && (l = c.baseOptions);
289
- const i = { method: "POST", ...l, ...s }, p = {}, h = {};
290
- t !== void 0 && (h.options = t), p["Content-Type"] = "application/json", O(n, h);
281
+ const i = { method: "POST", ...l, ...o }, p = {}, h = {};
282
+ t !== void 0 && (h.options = t), p["Content-Type"] = "application/json", b(n, h);
291
283
  let y = l && l.headers ? l.headers : {};
292
- return i.headers = { ...p, ...y, ...s.headers }, i.data = j(r, i, c), {
293
- url: b(n),
284
+ return i.headers = { ...p, ...y, ...o.headers }, i.data = j(r, i, c), {
285
+ url: O(n),
294
286
  options: i
295
287
  };
296
288
  },
@@ -305,14 +297,14 @@ const O = function(c, ...a) {
305
297
  */
306
298
  postSqlsource: async (a, e, r, t = {}) => {
307
299
  d("postSqlsource", "projectName", a), d("postSqlsource", "connectionName", e), d("postSqlsource", "postSqlsourceRequest", r);
308
- const s = "/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(s, V);
300
+ const o = "/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
309
301
  let n;
310
302
  c && (n = c.baseOptions);
311
303
  const l = { method: "POST", ...n, ...t }, i = {}, p = {};
312
- i["Content-Type"] = "application/json", O(o, p);
304
+ i["Content-Type"] = "application/json", b(s, p);
313
305
  let h = n && n.headers ? n.headers : {};
314
306
  return l.headers = { ...i, ...h, ...t.headers }, l.data = j(r, l, c), {
315
- url: b(o),
307
+ url: O(s),
316
308
  options: l
317
309
  };
318
310
  },
@@ -327,14 +319,14 @@ const O = function(c, ...a) {
327
319
  */
328
320
  postTemporarytable: async (a, e, r, t = {}) => {
329
321
  d("postTemporarytable", "projectName", a), d("postTemporarytable", "connectionName", e), d("postTemporarytable", "postSqlsourceRequest", r);
330
- const s = "/projects/{projectName}/connections/{connectionName}/sqlTemporaryTable".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(s, V);
322
+ const o = "/projects/{projectName}/connections/{connectionName}/sqlTemporaryTable".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
331
323
  let n;
332
324
  c && (n = c.baseOptions);
333
325
  const l = { method: "POST", ...n, ...t }, i = {}, p = {};
334
- i["Content-Type"] = "application/json", O(o, p);
326
+ i["Content-Type"] = "application/json", b(s, p);
335
327
  let h = n && n.headers ? n.headers : {};
336
328
  return l.headers = { ...i, ...h, ...t.headers }, l.data = j(r, l, c), {
337
- url: b(o),
329
+ url: O(s),
338
330
  options: l
339
331
  };
340
332
  }
@@ -351,8 +343,8 @@ const O = function(c, ...a) {
351
343
  * @throws {RequiredError}
352
344
  */
353
345
  async getConnection(e, r, t) {
354
- const s = await a.getConnection(e, r, t), o = c?.serverIndex ?? 0, n = P["ConnectionsApi.getConnection"]?.[o]?.url;
355
- return (l, i) => g(s, u, m, c)(l, n || i);
346
+ const o = await a.getConnection(e, r, t), s = c?.serverIndex ?? 0, n = P["ConnectionsApi.getConnection"]?.[s]?.url;
347
+ return (l, i) => g(o, u, m, c)(l, n || i);
356
348
  },
357
349
  /**
358
350
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Executes a SQL statement against the specified database connection and returns the results. The query results include data, metadata, and execution information.
@@ -365,8 +357,8 @@ const O = function(c, ...a) {
365
357
  * @deprecated
366
358
  * @throws {RequiredError}
367
359
  */
368
- async getQuerydata(e, r, t, s, o) {
369
- const n = await a.getQuerydata(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getQuerydata"]?.[l]?.url;
360
+ async getQuerydata(e, r, t, o, s) {
361
+ const n = await a.getQuerydata(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getQuerydata"]?.[l]?.url;
370
362
  return (p, h) => g(n, u, m, c)(p, i || h);
371
363
  },
372
364
  /**
@@ -379,9 +371,9 @@ const O = function(c, ...a) {
379
371
  * @deprecated
380
372
  * @throws {RequiredError}
381
373
  */
382
- async getSqlsource(e, r, t, s) {
383
- const o = await a.getSqlsource(e, r, t, s), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.getSqlsource"]?.[n]?.url;
384
- return (i, p) => g(o, u, m, c)(i, l || p);
374
+ async getSqlsource(e, r, t, o) {
375
+ const s = await a.getSqlsource(e, r, t, o), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.getSqlsource"]?.[n]?.url;
376
+ return (i, p) => g(s, u, m, c)(i, l || p);
385
377
  },
386
378
  /**
387
379
  * Retrieves a table from the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. The tablePath is the full path to the table, including the schema name.
@@ -393,8 +385,8 @@ const O = function(c, ...a) {
393
385
  * @param {*} [options] Override http request option.
394
386
  * @throws {RequiredError}
395
387
  */
396
- async getTable(e, r, t, s, o) {
397
- const n = await a.getTable(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[l]?.url;
388
+ async getTable(e, r, t, o, s) {
389
+ const n = await a.getTable(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[l]?.url;
398
390
  return (p, h) => g(n, u, m, c)(p, i || h);
399
391
  },
400
392
  /**
@@ -408,8 +400,8 @@ const O = function(c, ...a) {
408
400
  * @deprecated
409
401
  * @throws {RequiredError}
410
402
  */
411
- async getTablesource(e, r, t, s, o) {
412
- const n = await a.getTablesource(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getTablesource"]?.[l]?.url;
403
+ async getTablesource(e, r, t, o, s) {
404
+ const n = await a.getTablesource(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getTablesource"]?.[l]?.url;
413
405
  return (p, h) => g(n, u, m, c)(p, i || h);
414
406
  },
415
407
  /**
@@ -422,9 +414,9 @@ const O = function(c, ...a) {
422
414
  * @deprecated
423
415
  * @throws {RequiredError}
424
416
  */
425
- async getTemporarytable(e, r, t, s) {
426
- const o = await a.getTemporarytable(e, r, t, s), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.getTemporarytable"]?.[n]?.url;
427
- return (i, p) => g(o, u, m, c)(i, l || p);
417
+ async getTemporarytable(e, r, t, o) {
418
+ const s = await a.getTemporarytable(e, r, t, o), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.getTemporarytable"]?.[n]?.url;
419
+ return (i, p) => g(s, u, m, c)(i, l || p);
428
420
  },
429
421
  /**
430
422
  * Retrieves a list of all database connections configured for the specified project. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within a project.
@@ -434,8 +426,8 @@ const O = function(c, ...a) {
434
426
  * @throws {RequiredError}
435
427
  */
436
428
  async listConnections(e, r) {
437
- const t = await a.listConnections(e, r), s = c?.serverIndex ?? 0, o = P["ConnectionsApi.listConnections"]?.[s]?.url;
438
- return (n, l) => g(t, u, m, c)(n, o || l);
429
+ const t = await a.listConnections(e, r), o = c?.serverIndex ?? 0, s = P["ConnectionsApi.listConnections"]?.[o]?.url;
430
+ return (n, l) => g(t, u, m, c)(n, s || l);
439
431
  },
440
432
  /**
441
433
  * Retrieves a list of all schemas (databases) available in the specified connection. Each schema includes metadata such as name, description, and whether it\'s the default schema. This endpoint is useful for exploring the database structure and discovering available data sources.
@@ -446,8 +438,8 @@ const O = function(c, ...a) {
446
438
  * @throws {RequiredError}
447
439
  */
448
440
  async listSchemas(e, r, t) {
449
- const s = await a.listSchemas(e, r, t), o = c?.serverIndex ?? 0, n = P["ConnectionsApi.listSchemas"]?.[o]?.url;
450
- return (l, i) => g(s, u, m, c)(l, n || i);
441
+ const o = await a.listSchemas(e, r, t), s = c?.serverIndex ?? 0, n = P["ConnectionsApi.listSchemas"]?.[s]?.url;
442
+ return (l, i) => g(o, u, m, c)(l, n || i);
451
443
  },
452
444
  /**
453
445
  * Retrieves a list of all tables and views available in the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed.
@@ -458,9 +450,9 @@ const O = function(c, ...a) {
458
450
  * @param {*} [options] Override http request option.
459
451
  * @throws {RequiredError}
460
452
  */
461
- async listTables(e, r, t, s) {
462
- const o = await a.listTables(e, r, t, s), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.listTables"]?.[n]?.url;
463
- return (i, p) => g(o, u, m, c)(i, l || p);
453
+ async listTables(e, r, t, o) {
454
+ const s = await a.listTables(e, r, t, o), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.listTables"]?.[n]?.url;
455
+ return (i, p) => g(s, u, m, c)(i, l || p);
464
456
  },
465
457
  /**
466
458
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information.
@@ -472,8 +464,8 @@ const O = function(c, ...a) {
472
464
  * @param {*} [options] Override http request option.
473
465
  * @throws {RequiredError}
474
466
  */
475
- async postQuerydata(e, r, t, s, o) {
476
- const n = await a.postQuerydata(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydata"]?.[l]?.url;
467
+ async postQuerydata(e, r, t, o, s) {
468
+ const n = await a.postQuerydata(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydata"]?.[l]?.url;
477
469
  return (p, h) => g(n, u, m, c)(p, i || h);
478
470
  },
479
471
  /**
@@ -485,9 +477,9 @@ const O = function(c, ...a) {
485
477
  * @param {*} [options] Override http request option.
486
478
  * @throws {RequiredError}
487
479
  */
488
- async postSqlsource(e, r, t, s) {
489
- const o = await a.postSqlsource(e, r, t, s), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.postSqlsource"]?.[n]?.url;
490
- return (i, p) => g(o, u, m, c)(i, l || p);
480
+ async postSqlsource(e, r, t, o) {
481
+ const s = await a.postSqlsource(e, r, t, o), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.postSqlsource"]?.[n]?.url;
482
+ return (i, p) => g(s, u, m, c)(i, l || p);
491
483
  },
492
484
  /**
493
485
  * Creates a temporary table from a SQL statement using the specified database connection. Temporary tables are useful for storing intermediate results during complex queries and data processing workflows.
@@ -498,12 +490,12 @@ const O = function(c, ...a) {
498
490
  * @param {*} [options] Override http request option.
499
491
  * @throws {RequiredError}
500
492
  */
501
- async postTemporarytable(e, r, t, s) {
502
- const o = await a.postTemporarytable(e, r, t, s), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.postTemporarytable"]?.[n]?.url;
503
- return (i, p) => g(o, u, m, c)(i, l || p);
493
+ async postTemporarytable(e, r, t, o) {
494
+ const s = await a.postTemporarytable(e, r, t, o), n = c?.serverIndex ?? 0, l = P["ConnectionsApi.postTemporarytable"]?.[n]?.url;
495
+ return (i, p) => g(s, u, m, c)(i, l || p);
504
496
  }
505
497
  };
506
- }, Pe = function(c, a, e) {
498
+ }, be = function(c, a, e) {
507
499
  const r = S(c);
508
500
  return {
509
501
  /**
@@ -514,8 +506,8 @@ const O = function(c, ...a) {
514
506
  * @param {*} [options] Override http request option.
515
507
  * @throws {RequiredError}
516
508
  */
517
- getConnection(t, s, o) {
518
- return r.getConnection(t, s, o).then((n) => n(e, a));
509
+ getConnection(t, o, s) {
510
+ return r.getConnection(t, o, s).then((n) => n(e, a));
519
511
  },
520
512
  /**
521
513
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Executes a SQL statement against the specified database connection and returns the results. The query results include data, metadata, and execution information.
@@ -528,8 +520,8 @@ const O = function(c, ...a) {
528
520
  * @deprecated
529
521
  * @throws {RequiredError}
530
522
  */
531
- getQuerydata(t, s, o, n, l) {
532
- return r.getQuerydata(t, s, o, n, l).then((i) => i(e, a));
523
+ getQuerydata(t, o, s, n, l) {
524
+ return r.getQuerydata(t, o, s, n, l).then((i) => i(e, a));
533
525
  },
534
526
  /**
535
527
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a Malloy source from a SQL statement using the specified connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
@@ -541,8 +533,8 @@ const O = function(c, ...a) {
541
533
  * @deprecated
542
534
  * @throws {RequiredError}
543
535
  */
544
- getSqlsource(t, s, o, n) {
545
- return r.getSqlsource(t, s, o, n).then((l) => l(e, a));
536
+ getSqlsource(t, o, s, n) {
537
+ return r.getSqlsource(t, o, s, n).then((l) => l(e, a));
546
538
  },
547
539
  /**
548
540
  * Retrieves a table from the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. The tablePath is the full path to the table, including the schema name.
@@ -554,8 +546,8 @@ const O = function(c, ...a) {
554
546
  * @param {*} [options] Override http request option.
555
547
  * @throws {RequiredError}
556
548
  */
557
- getTable(t, s, o, n, l) {
558
- return r.getTable(t, s, o, n, l).then((i) => i(e, a));
549
+ getTable(t, o, s, n, l) {
550
+ return r.getTable(t, o, s, n, l).then((i) => i(e, a));
559
551
  },
560
552
  /**
561
553
  * Retrieves information about a specific table or view from the database connection. This includes table schema, column definitions, and metadata. The table can be specified by either tableKey or tablePath parameters, depending on the database type.
@@ -568,8 +560,8 @@ const O = function(c, ...a) {
568
560
  * @deprecated
569
561
  * @throws {RequiredError}
570
562
  */
571
- getTablesource(t, s, o, n, l) {
572
- return r.getTablesource(t, s, o, n, l).then((i) => i(e, a));
563
+ getTablesource(t, o, s, n, l) {
564
+ return r.getTablesource(t, o, s, n, l).then((i) => i(e, a));
573
565
  },
574
566
  /**
575
567
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a temporary table from a SQL statement using the specified connection. Temporary tables are useful for storing intermediate results during complex queries.
@@ -581,8 +573,8 @@ const O = function(c, ...a) {
581
573
  * @deprecated
582
574
  * @throws {RequiredError}
583
575
  */
584
- getTemporarytable(t, s, o, n) {
585
- return r.getTemporarytable(t, s, o, n).then((l) => l(e, a));
576
+ getTemporarytable(t, o, s, n) {
577
+ return r.getTemporarytable(t, o, s, n).then((l) => l(e, a));
586
578
  },
587
579
  /**
588
580
  * Retrieves a list of all database connections configured for the specified project. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within a project.
@@ -591,8 +583,8 @@ const O = function(c, ...a) {
591
583
  * @param {*} [options] Override http request option.
592
584
  * @throws {RequiredError}
593
585
  */
594
- listConnections(t, s) {
595
- return r.listConnections(t, s).then((o) => o(e, a));
586
+ listConnections(t, o) {
587
+ return r.listConnections(t, o).then((s) => s(e, a));
596
588
  },
597
589
  /**
598
590
  * Retrieves a list of all schemas (databases) available in the specified connection. Each schema includes metadata such as name, description, and whether it\'s the default schema. This endpoint is useful for exploring the database structure and discovering available data sources.
@@ -602,8 +594,8 @@ const O = function(c, ...a) {
602
594
  * @param {*} [options] Override http request option.
603
595
  * @throws {RequiredError}
604
596
  */
605
- listSchemas(t, s, o) {
606
- return r.listSchemas(t, s, o).then((n) => n(e, a));
597
+ listSchemas(t, o, s) {
598
+ return r.listSchemas(t, o, s).then((n) => n(e, a));
607
599
  },
608
600
  /**
609
601
  * Retrieves a list of all tables and views available in the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed.
@@ -614,8 +606,8 @@ const O = function(c, ...a) {
614
606
  * @param {*} [options] Override http request option.
615
607
  * @throws {RequiredError}
616
608
  */
617
- listTables(t, s, o, n) {
618
- return r.listTables(t, s, o, n).then((l) => l(e, a));
609
+ listTables(t, o, s, n) {
610
+ return r.listTables(t, o, s, n).then((l) => l(e, a));
619
611
  },
620
612
  /**
621
613
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information.
@@ -627,8 +619,8 @@ const O = function(c, ...a) {
627
619
  * @param {*} [options] Override http request option.
628
620
  * @throws {RequiredError}
629
621
  */
630
- postQuerydata(t, s, o, n, l) {
631
- return r.postQuerydata(t, s, o, n, l).then((i) => i(e, a));
622
+ postQuerydata(t, o, s, n, l) {
623
+ return r.postQuerydata(t, o, s, n, l).then((i) => i(e, a));
632
624
  },
633
625
  /**
634
626
  * Creates a Malloy source from a SQL statement using the specified database connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
@@ -639,8 +631,8 @@ const O = function(c, ...a) {
639
631
  * @param {*} [options] Override http request option.
640
632
  * @throws {RequiredError}
641
633
  */
642
- postSqlsource(t, s, o, n) {
643
- return r.postSqlsource(t, s, o, n).then((l) => l(e, a));
634
+ postSqlsource(t, o, s, n) {
635
+ return r.postSqlsource(t, o, s, n).then((l) => l(e, a));
644
636
  },
645
637
  /**
646
638
  * Creates a temporary table from a SQL statement using the specified database connection. Temporary tables are useful for storing intermediate results during complex queries and data processing workflows.
@@ -651,12 +643,12 @@ const O = function(c, ...a) {
651
643
  * @param {*} [options] Override http request option.
652
644
  * @throws {RequiredError}
653
645
  */
654
- postTemporarytable(t, s, o, n) {
655
- return r.postTemporarytable(t, s, o, n).then((l) => l(e, a));
646
+ postTemporarytable(t, o, s, n) {
647
+ return r.postTemporarytable(t, o, s, n).then((l) => l(e, a));
656
648
  }
657
649
  };
658
650
  };
659
- class W extends A {
651
+ class W extends x {
660
652
  /**
661
653
  * Retrieves detailed information about a specific database connection within a project. This includes connection configuration, credentials (if accessible), and metadata. Useful for inspecting connection settings and troubleshooting connectivity issues.
662
654
  * @summary Get connection details
@@ -681,8 +673,8 @@ class W extends A {
681
673
  * @throws {RequiredError}
682
674
  * @memberof ConnectionsApi
683
675
  */
684
- getQuerydata(a, e, r, t, s) {
685
- return S(this.configuration).getQuerydata(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
676
+ getQuerydata(a, e, r, t, o) {
677
+ return S(this.configuration).getQuerydata(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
686
678
  }
687
679
  /**
688
680
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a Malloy source from a SQL statement using the specified connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
@@ -696,7 +688,7 @@ class W extends A {
696
688
  * @memberof ConnectionsApi
697
689
  */
698
690
  getSqlsource(a, e, r, t) {
699
- return S(this.configuration).getSqlsource(a, e, r, t).then((s) => s(this.axios, this.basePath));
691
+ return S(this.configuration).getSqlsource(a, e, r, t).then((o) => o(this.axios, this.basePath));
700
692
  }
701
693
  /**
702
694
  * Retrieves a table from the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. The tablePath is the full path to the table, including the schema name.
@@ -709,8 +701,8 @@ class W extends A {
709
701
  * @throws {RequiredError}
710
702
  * @memberof ConnectionsApi
711
703
  */
712
- getTable(a, e, r, t, s) {
713
- return S(this.configuration).getTable(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
704
+ getTable(a, e, r, t, o) {
705
+ return S(this.configuration).getTable(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
714
706
  }
715
707
  /**
716
708
  * Retrieves information about a specific table or view from the database connection. This includes table schema, column definitions, and metadata. The table can be specified by either tableKey or tablePath parameters, depending on the database type.
@@ -724,8 +716,8 @@ class W extends A {
724
716
  * @throws {RequiredError}
725
717
  * @memberof ConnectionsApi
726
718
  */
727
- getTablesource(a, e, r, t, s) {
728
- return S(this.configuration).getTablesource(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
719
+ getTablesource(a, e, r, t, o) {
720
+ return S(this.configuration).getTablesource(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
729
721
  }
730
722
  /**
731
723
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a temporary table from a SQL statement using the specified connection. Temporary tables are useful for storing intermediate results during complex queries.
@@ -739,7 +731,7 @@ class W extends A {
739
731
  * @memberof ConnectionsApi
740
732
  */
741
733
  getTemporarytable(a, e, r, t) {
742
- return S(this.configuration).getTemporarytable(a, e, r, t).then((s) => s(this.axios, this.basePath));
734
+ return S(this.configuration).getTemporarytable(a, e, r, t).then((o) => o(this.axios, this.basePath));
743
735
  }
744
736
  /**
745
737
  * Retrieves a list of all database connections configured for the specified project. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within a project.
@@ -775,7 +767,7 @@ class W extends A {
775
767
  * @memberof ConnectionsApi
776
768
  */
777
769
  listTables(a, e, r, t) {
778
- return S(this.configuration).listTables(a, e, r, t).then((s) => s(this.axios, this.basePath));
770
+ return S(this.configuration).listTables(a, e, r, t).then((o) => o(this.axios, this.basePath));
779
771
  }
780
772
  /**
781
773
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information.
@@ -788,8 +780,8 @@ class W extends A {
788
780
  * @throws {RequiredError}
789
781
  * @memberof ConnectionsApi
790
782
  */
791
- postQuerydata(a, e, r, t, s) {
792
- return S(this.configuration).postQuerydata(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
783
+ postQuerydata(a, e, r, t, o) {
784
+ return S(this.configuration).postQuerydata(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
793
785
  }
794
786
  /**
795
787
  * Creates a Malloy source from a SQL statement using the specified database connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
@@ -802,7 +794,7 @@ class W extends A {
802
794
  * @memberof ConnectionsApi
803
795
  */
804
796
  postSqlsource(a, e, r, t) {
805
- return S(this.configuration).postSqlsource(a, e, r, t).then((s) => s(this.axios, this.basePath));
797
+ return S(this.configuration).postSqlsource(a, e, r, t).then((o) => o(this.axios, this.basePath));
806
798
  }
807
799
  /**
808
800
  * Creates a temporary table from a SQL statement using the specified database connection. Temporary tables are useful for storing intermediate results during complex queries and data processing workflows.
@@ -815,7 +807,7 @@ class W extends A {
815
807
  * @memberof ConnectionsApi
816
808
  */
817
809
  postTemporarytable(a, e, r, t) {
818
- return S(this.configuration).postTemporarytable(a, e, r, t).then((s) => s(this.axios, this.basePath));
810
+ return S(this.configuration).postTemporarytable(a, e, r, t).then((o) => o(this.axios, this.basePath));
819
811
  }
820
812
  }
821
813
  const D = function(c) {
@@ -830,14 +822,14 @@ const D = function(c) {
830
822
  testConnectionConfiguration: async (a, e = {}) => {
831
823
  d("testConnectionConfiguration", "connection", a);
832
824
  const r = "/connections/test", t = new URL(r, V);
833
- let s;
834
- c && (s = c.baseOptions);
835
- const o = { method: "POST", ...s, ...e }, n = {}, l = {};
836
- n["Content-Type"] = "application/json", O(t, l);
837
- let i = s && s.headers ? s.headers : {};
838
- return o.headers = { ...n, ...i, ...e.headers }, o.data = j(a, o, c), {
839
- url: b(t),
840
- options: o
825
+ let o;
826
+ c && (o = c.baseOptions);
827
+ const s = { method: "POST", ...o, ...e }, n = {}, l = {};
828
+ n["Content-Type"] = "application/json", b(t, l);
829
+ let i = o && o.headers ? o.headers : {};
830
+ return s.headers = { ...n, ...i, ...e.headers }, s.data = j(a, s, c), {
831
+ url: O(t),
832
+ options: s
841
833
  };
842
834
  }
843
835
  };
@@ -852,11 +844,11 @@ const D = function(c) {
852
844
  * @throws {RequiredError}
853
845
  */
854
846
  async testConnectionConfiguration(e, r) {
855
- const t = await a.testConnectionConfiguration(e, r), s = c?.serverIndex ?? 0, o = P["ConnectionsTestApi.testConnectionConfiguration"]?.[s]?.url;
856
- return (n, l) => g(t, u, m, c)(n, o || l);
847
+ const t = await a.testConnectionConfiguration(e, r), o = c?.serverIndex ?? 0, s = P["ConnectionsTestApi.testConnectionConfiguration"]?.[o]?.url;
848
+ return (n, l) => g(t, u, m, c)(n, s || l);
857
849
  }
858
850
  };
859
- }, Ve = function(c, a, e) {
851
+ }, Oe = function(c, a, e) {
860
852
  const r = U(c);
861
853
  return {
862
854
  /**
@@ -866,12 +858,12 @@ const D = function(c) {
866
858
  * @param {*} [options] Override http request option.
867
859
  * @throws {RequiredError}
868
860
  */
869
- testConnectionConfiguration(t, s) {
870
- return r.testConnectionConfiguration(t, s).then((o) => o(e, a));
861
+ testConnectionConfiguration(t, o) {
862
+ return r.testConnectionConfiguration(t, o).then((s) => s(e, a));
871
863
  }
872
864
  };
873
865
  };
874
- class Oe extends A {
866
+ class ge extends x {
875
867
  /**
876
868
  * Validates a database connection configuration without adding it to any project. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to a project. Useful for troubleshooting connection issues and validating configurations during setup.
877
869
  * @summary Test database connection configuration
@@ -897,19 +889,19 @@ const f = function(c) {
897
889
  */
898
890
  listDatabases: async (a, e, r, t = {}) => {
899
891
  d("listDatabases", "projectName", a), d("listDatabases", "packageName", e);
900
- const s = "/projects/{projectName}/packages/{packageName}/databases".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(s, V);
892
+ const o = "/projects/{projectName}/packages/{packageName}/databases".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
901
893
  let n;
902
894
  c && (n = c.baseOptions);
903
895
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
904
- r !== void 0 && (p.versionId = r), O(o, p);
896
+ r !== void 0 && (p.versionId = r), b(s, p);
905
897
  let h = n && n.headers ? n.headers : {};
906
898
  return l.headers = { ...i, ...h, ...t.headers }, {
907
- url: b(o),
899
+ url: O(s),
908
900
  options: l
909
901
  };
910
902
  }
911
903
  };
912
- }, T = function(c) {
904
+ }, w = function(c) {
913
905
  const a = f(c);
914
906
  return {
915
907
  /**
@@ -921,13 +913,13 @@ const f = function(c) {
921
913
  * @param {*} [options] Override http request option.
922
914
  * @throws {RequiredError}
923
915
  */
924
- async listDatabases(e, r, t, s) {
925
- const o = await a.listDatabases(e, r, t, s), n = c?.serverIndex ?? 0, l = P["DatabasesApi.listDatabases"]?.[n]?.url;
926
- return (i, p) => g(o, u, m, c)(i, l || p);
916
+ async listDatabases(e, r, t, o) {
917
+ const s = await a.listDatabases(e, r, t, o), n = c?.serverIndex ?? 0, l = P["DatabasesApi.listDatabases"]?.[n]?.url;
918
+ return (i, p) => g(s, u, m, c)(i, l || p);
927
919
  }
928
920
  };
929
- }, be = function(c, a, e) {
930
- const r = T(c);
921
+ }, ye = function(c, a, e) {
922
+ const r = w(c);
931
923
  return {
932
924
  /**
933
925
  * Retrieves a list of all embedded databases within the specified package. These are typically DuckDB databases stored as .parquet files that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -938,12 +930,12 @@ const f = function(c) {
938
930
  * @param {*} [options] Override http request option.
939
931
  * @throws {RequiredError}
940
932
  */
941
- listDatabases(t, s, o, n) {
942
- return r.listDatabases(t, s, o, n).then((l) => l(e, a));
933
+ listDatabases(t, o, s, n) {
934
+ return r.listDatabases(t, o, s, n).then((l) => l(e, a));
943
935
  }
944
936
  };
945
937
  };
946
- class G extends A {
938
+ class G extends x {
947
939
  /**
948
940
  * Retrieves a list of all embedded databases within the specified package. These are typically DuckDB databases stored as .parquet files that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
949
941
  * @summary List embedded databases
@@ -955,7 +947,7 @@ class G extends A {
955
947
  * @memberof DatabasesApi
956
948
  */
957
949
  listDatabases(a, e, r, t) {
958
- return T(this.configuration).listDatabases(a, e, r, t).then((s) => s(this.axios, this.basePath));
950
+ return w(this.configuration).listDatabases(a, e, r, t).then((o) => o(this.axios, this.basePath));
959
951
  }
960
952
  }
961
953
  const z = function(c) {
@@ -970,16 +962,16 @@ const z = function(c) {
970
962
  * @param {*} [options] Override http request option.
971
963
  * @throws {RequiredError}
972
964
  */
973
- executeQueryModel: async (a, e, r, t, s = {}) => {
965
+ executeQueryModel: async (a, e, r, t, o = {}) => {
974
966
  d("executeQueryModel", "projectName", a), d("executeQueryModel", "packageName", e), d("executeQueryModel", "path", r), d("executeQueryModel", "queryRequest", t);
975
- const o = "/projects/{projectName}/packages/{packageName}/models/{path}/query".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(o, V);
967
+ const s = "/projects/{projectName}/packages/{packageName}/models/{path}/query".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(s, V);
976
968
  let l;
977
969
  c && (l = c.baseOptions);
978
- const i = { method: "POST", ...l, ...s }, p = {}, h = {};
979
- p["Content-Type"] = "application/json", O(n, h);
970
+ const i = { method: "POST", ...l, ...o }, p = {}, h = {};
971
+ p["Content-Type"] = "application/json", b(n, h);
980
972
  let y = l && l.headers ? l.headers : {};
981
- return i.headers = { ...p, ...y, ...s.headers }, i.data = j(t, i, c), {
982
- url: b(n),
973
+ return i.headers = { ...p, ...y, ...o.headers }, i.data = j(t, i, c), {
974
+ url: O(n),
983
975
  options: i
984
976
  };
985
977
  },
@@ -993,16 +985,16 @@ const z = function(c) {
993
985
  * @param {*} [options] Override http request option.
994
986
  * @throws {RequiredError}
995
987
  */
996
- getModel: async (a, e, r, t, s = {}) => {
988
+ getModel: async (a, e, r, t, o = {}) => {
997
989
  d("getModel", "projectName", a), d("getModel", "packageName", e), d("getModel", "path", r);
998
- const o = "/projects/{projectName}/packages/{packageName}/models/{path}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(o, V);
990
+ const s = "/projects/{projectName}/packages/{packageName}/models/{path}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(s, V);
999
991
  let l;
1000
992
  c && (l = c.baseOptions);
1001
- const i = { method: "GET", ...l, ...s }, p = {}, h = {};
1002
- t !== void 0 && (h.versionId = t), O(n, h);
993
+ const i = { method: "GET", ...l, ...o }, p = {}, h = {};
994
+ t !== void 0 && (h.versionId = t), b(n, h);
1003
995
  let y = l && l.headers ? l.headers : {};
1004
- return i.headers = { ...p, ...y, ...s.headers }, {
1005
- url: b(n),
996
+ return i.headers = { ...p, ...y, ...o.headers }, {
997
+ url: O(n),
1006
998
  options: i
1007
999
  };
1008
1000
  },
@@ -1017,19 +1009,19 @@ const z = function(c) {
1017
1009
  */
1018
1010
  listModels: async (a, e, r, t = {}) => {
1019
1011
  d("listModels", "projectName", a), d("listModels", "packageName", e);
1020
- const s = "/projects/{projectName}/packages/{packageName}/models".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(s, V);
1012
+ const o = "/projects/{projectName}/packages/{packageName}/models".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
1021
1013
  let n;
1022
1014
  c && (n = c.baseOptions);
1023
1015
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
1024
- r !== void 0 && (p.versionId = r), O(o, p);
1016
+ r !== void 0 && (p.versionId = r), b(s, p);
1025
1017
  let h = n && n.headers ? n.headers : {};
1026
1018
  return l.headers = { ...i, ...h, ...t.headers }, {
1027
- url: b(o),
1019
+ url: O(s),
1028
1020
  options: l
1029
1021
  };
1030
1022
  }
1031
1023
  };
1032
- }, v = function(c) {
1024
+ }, k = function(c) {
1033
1025
  const a = z(c);
1034
1026
  return {
1035
1027
  /**
@@ -1042,8 +1034,8 @@ const z = function(c) {
1042
1034
  * @param {*} [options] Override http request option.
1043
1035
  * @throws {RequiredError}
1044
1036
  */
1045
- async executeQueryModel(e, r, t, s, o) {
1046
- const n = await a.executeQueryModel(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["ModelsApi.executeQueryModel"]?.[l]?.url;
1037
+ async executeQueryModel(e, r, t, o, s) {
1038
+ const n = await a.executeQueryModel(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ModelsApi.executeQueryModel"]?.[l]?.url;
1047
1039
  return (p, h) => g(n, u, m, c)(p, i || h);
1048
1040
  },
1049
1041
  /**
@@ -1056,8 +1048,8 @@ const z = function(c) {
1056
1048
  * @param {*} [options] Override http request option.
1057
1049
  * @throws {RequiredError}
1058
1050
  */
1059
- async getModel(e, r, t, s, o) {
1060
- const n = await a.getModel(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["ModelsApi.getModel"]?.[l]?.url;
1051
+ async getModel(e, r, t, o, s) {
1052
+ const n = await a.getModel(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ModelsApi.getModel"]?.[l]?.url;
1061
1053
  return (p, h) => g(n, u, m, c)(p, i || h);
1062
1054
  },
1063
1055
  /**
@@ -1069,13 +1061,13 @@ const z = function(c) {
1069
1061
  * @param {*} [options] Override http request option.
1070
1062
  * @throws {RequiredError}
1071
1063
  */
1072
- async listModels(e, r, t, s) {
1073
- const o = await a.listModels(e, r, t, s), n = c?.serverIndex ?? 0, l = P["ModelsApi.listModels"]?.[n]?.url;
1074
- return (i, p) => g(o, u, m, c)(i, l || p);
1064
+ async listModels(e, r, t, o) {
1065
+ const s = await a.listModels(e, r, t, o), n = c?.serverIndex ?? 0, l = P["ModelsApi.listModels"]?.[n]?.url;
1066
+ return (i, p) => g(s, u, m, c)(i, l || p);
1075
1067
  }
1076
1068
  };
1077
- }, ge = function(c, a, e) {
1078
- const r = v(c);
1069
+ }, Se = function(c, a, e) {
1070
+ const r = k(c);
1079
1071
  return {
1080
1072
  /**
1081
1073
  * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration.
@@ -1087,8 +1079,8 @@ const z = function(c) {
1087
1079
  * @param {*} [options] Override http request option.
1088
1080
  * @throws {RequiredError}
1089
1081
  */
1090
- executeQueryModel(t, s, o, n, l) {
1091
- return r.executeQueryModel(t, s, o, n, l).then((i) => i(e, a));
1082
+ executeQueryModel(t, o, s, n, l) {
1083
+ return r.executeQueryModel(t, o, s, n, l).then((i) => i(e, a));
1092
1084
  },
1093
1085
  /**
1094
1086
  * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications.
@@ -1100,8 +1092,8 @@ const z = function(c) {
1100
1092
  * @param {*} [options] Override http request option.
1101
1093
  * @throws {RequiredError}
1102
1094
  */
1103
- getModel(t, s, o, n, l) {
1104
- return r.getModel(t, s, o, n, l).then((i) => i(e, a));
1095
+ getModel(t, o, s, n, l) {
1096
+ return r.getModel(t, o, s, n, l).then((i) => i(e, a));
1105
1097
  },
1106
1098
  /**
1107
1099
  * Retrieves a list of all Malloy models within the specified package. Each model entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available models and checking their status.
@@ -1112,12 +1104,12 @@ const z = function(c) {
1112
1104
  * @param {*} [options] Override http request option.
1113
1105
  * @throws {RequiredError}
1114
1106
  */
1115
- listModels(t, s, o, n) {
1116
- return r.listModels(t, s, o, n).then((l) => l(e, a));
1107
+ listModels(t, o, s, n) {
1108
+ return r.listModels(t, o, s, n).then((l) => l(e, a));
1117
1109
  }
1118
1110
  };
1119
1111
  };
1120
- class J extends A {
1112
+ class J extends x {
1121
1113
  /**
1122
1114
  * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration.
1123
1115
  * @summary Execute Malloy query
@@ -1129,8 +1121,8 @@ class J extends A {
1129
1121
  * @throws {RequiredError}
1130
1122
  * @memberof ModelsApi
1131
1123
  */
1132
- executeQueryModel(a, e, r, t, s) {
1133
- return v(this.configuration).executeQueryModel(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
1124
+ executeQueryModel(a, e, r, t, o) {
1125
+ return k(this.configuration).executeQueryModel(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1134
1126
  }
1135
1127
  /**
1136
1128
  * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications.
@@ -1143,8 +1135,8 @@ class J extends A {
1143
1135
  * @throws {RequiredError}
1144
1136
  * @memberof ModelsApi
1145
1137
  */
1146
- getModel(a, e, r, t, s) {
1147
- return v(this.configuration).getModel(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
1138
+ getModel(a, e, r, t, o) {
1139
+ return k(this.configuration).getModel(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1148
1140
  }
1149
1141
  /**
1150
1142
  * Retrieves a list of all Malloy models within the specified package. Each model entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available models and checking their status.
@@ -1157,14 +1149,38 @@ class J extends A {
1157
1149
  * @memberof ModelsApi
1158
1150
  */
1159
1151
  listModels(a, e, r, t) {
1160
- return v(this.configuration).listModels(a, e, r, t).then((s) => s(this.axios, this.basePath));
1152
+ return k(this.configuration).listModels(a, e, r, t).then((o) => o(this.axios, this.basePath));
1161
1153
  }
1162
1154
  }
1163
1155
  const K = function(c) {
1164
1156
  return {
1165
1157
  /**
1166
- * Retrieves a compiled Malloy notebook with its cells, results, and metadata. The notebook is compiled using the specified version of the Malloy compiler. This endpoint provides access to the notebook\'s structure, cells, and execution results for use in applications.
1167
- * @summary Get compiled Malloy notebook
1158
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.
1159
+ * @summary Execute a specific notebook cell
1160
+ * @param {string} projectName Name of the project
1161
+ * @param {string} packageName Name of the package
1162
+ * @param {string} path Path to notebook within the package
1163
+ * @param {number} cellIndex Index of the cell to execute (0-based)
1164
+ * @param {string} [versionId] Version identifier for the package
1165
+ * @param {*} [options] Override http request option.
1166
+ * @throws {RequiredError}
1167
+ */
1168
+ executeNotebookCell: async (a, e, r, t, o, s = {}) => {
1169
+ d("executeNotebookCell", "projectName", a), d("executeNotebookCell", "packageName", e), d("executeNotebookCell", "path", r), d("executeNotebookCell", "cellIndex", t);
1170
+ const n = "/projects/{projectName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))).replace("{cellIndex}", encodeURIComponent(String(t))), l = new URL(n, V);
1171
+ let i;
1172
+ c && (i = c.baseOptions);
1173
+ const p = { method: "GET", ...i, ...s }, h = {}, y = {};
1174
+ o !== void 0 && (y.versionId = o), b(l, y);
1175
+ let q = i && i.headers ? i.headers : {};
1176
+ return p.headers = { ...h, ...q, ...s.headers }, {
1177
+ url: O(l),
1178
+ options: p
1179
+ };
1180
+ },
1181
+ /**
1182
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
1183
+ * @summary Get Malloy notebook cells
1168
1184
  * @param {string} projectName Name of the project
1169
1185
  * @param {string} packageName Name of the package
1170
1186
  * @param {string} path Path to notebook within the package.
@@ -1172,16 +1188,16 @@ const K = function(c) {
1172
1188
  * @param {*} [options] Override http request option.
1173
1189
  * @throws {RequiredError}
1174
1190
  */
1175
- getNotebook: async (a, e, r, t, s = {}) => {
1191
+ getNotebook: async (a, e, r, t, o = {}) => {
1176
1192
  d("getNotebook", "projectName", a), d("getNotebook", "packageName", e), d("getNotebook", "path", r);
1177
- const o = "/projects/{projectName}/packages/{packageName}/notebooks/{path}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(o, V);
1193
+ const s = "/projects/{projectName}/packages/{packageName}/notebooks/{path}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(s, V);
1178
1194
  let l;
1179
1195
  c && (l = c.baseOptions);
1180
- const i = { method: "GET", ...l, ...s }, p = {}, h = {};
1181
- t !== void 0 && (h.versionId = t), O(n, h);
1196
+ const i = { method: "GET", ...l, ...o }, p = {}, h = {};
1197
+ t !== void 0 && (h.versionId = t), b(n, h);
1182
1198
  let y = l && l.headers ? l.headers : {};
1183
- return i.headers = { ...p, ...y, ...s.headers }, {
1184
- url: b(n),
1199
+ return i.headers = { ...p, ...y, ...o.headers }, {
1200
+ url: O(n),
1185
1201
  options: i
1186
1202
  };
1187
1203
  },
@@ -1196,24 +1212,39 @@ const K = function(c) {
1196
1212
  */
1197
1213
  listNotebooks: async (a, e, r, t = {}) => {
1198
1214
  d("listNotebooks", "projectName", a), d("listNotebooks", "packageName", e);
1199
- const s = "/projects/{projectName}/packages/{packageName}/notebooks".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(s, V);
1215
+ const o = "/projects/{projectName}/packages/{packageName}/notebooks".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
1200
1216
  let n;
1201
1217
  c && (n = c.baseOptions);
1202
1218
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
1203
- r !== void 0 && (p.versionId = r), O(o, p);
1219
+ r !== void 0 && (p.versionId = r), b(s, p);
1204
1220
  let h = n && n.headers ? n.headers : {};
1205
1221
  return l.headers = { ...i, ...h, ...t.headers }, {
1206
- url: b(o),
1222
+ url: O(s),
1207
1223
  options: l
1208
1224
  };
1209
1225
  }
1210
1226
  };
1211
- }, R = function(c) {
1227
+ }, N = function(c) {
1212
1228
  const a = K(c);
1213
1229
  return {
1214
1230
  /**
1215
- * Retrieves a compiled Malloy notebook with its cells, results, and metadata. The notebook is compiled using the specified version of the Malloy compiler. This endpoint provides access to the notebook\'s structure, cells, and execution results for use in applications.
1216
- * @summary Get compiled Malloy notebook
1231
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.
1232
+ * @summary Execute a specific notebook cell
1233
+ * @param {string} projectName Name of the project
1234
+ * @param {string} packageName Name of the package
1235
+ * @param {string} path Path to notebook within the package
1236
+ * @param {number} cellIndex Index of the cell to execute (0-based)
1237
+ * @param {string} [versionId] Version identifier for the package
1238
+ * @param {*} [options] Override http request option.
1239
+ * @throws {RequiredError}
1240
+ */
1241
+ async executeNotebookCell(e, r, t, o, s, n) {
1242
+ const l = await a.executeNotebookCell(e, r, t, o, s, n), i = c?.serverIndex ?? 0, p = P["NotebooksApi.executeNotebookCell"]?.[i]?.url;
1243
+ return (h, y) => g(l, u, m, c)(h, p || y);
1244
+ },
1245
+ /**
1246
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
1247
+ * @summary Get Malloy notebook cells
1217
1248
  * @param {string} projectName Name of the project
1218
1249
  * @param {string} packageName Name of the package
1219
1250
  * @param {string} path Path to notebook within the package.
@@ -1221,8 +1252,8 @@ const K = function(c) {
1221
1252
  * @param {*} [options] Override http request option.
1222
1253
  * @throws {RequiredError}
1223
1254
  */
1224
- async getNotebook(e, r, t, s, o) {
1225
- const n = await a.getNotebook(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[l]?.url;
1255
+ async getNotebook(e, r, t, o, s) {
1256
+ const n = await a.getNotebook(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[l]?.url;
1226
1257
  return (p, h) => g(n, u, m, c)(p, i || h);
1227
1258
  },
1228
1259
  /**
@@ -1234,17 +1265,31 @@ const K = function(c) {
1234
1265
  * @param {*} [options] Override http request option.
1235
1266
  * @throws {RequiredError}
1236
1267
  */
1237
- async listNotebooks(e, r, t, s) {
1238
- const o = await a.listNotebooks(e, r, t, s), n = c?.serverIndex ?? 0, l = P["NotebooksApi.listNotebooks"]?.[n]?.url;
1239
- return (i, p) => g(o, u, m, c)(i, l || p);
1268
+ async listNotebooks(e, r, t, o) {
1269
+ const s = await a.listNotebooks(e, r, t, o), n = c?.serverIndex ?? 0, l = P["NotebooksApi.listNotebooks"]?.[n]?.url;
1270
+ return (i, p) => g(s, u, m, c)(i, l || p);
1240
1271
  }
1241
1272
  };
1242
- }, ye = function(c, a, e) {
1243
- const r = R(c);
1273
+ }, je = function(c, a, e) {
1274
+ const r = N(c);
1244
1275
  return {
1245
1276
  /**
1246
- * Retrieves a compiled Malloy notebook with its cells, results, and metadata. The notebook is compiled using the specified version of the Malloy compiler. This endpoint provides access to the notebook\'s structure, cells, and execution results for use in applications.
1247
- * @summary Get compiled Malloy notebook
1277
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.
1278
+ * @summary Execute a specific notebook cell
1279
+ * @param {string} projectName Name of the project
1280
+ * @param {string} packageName Name of the package
1281
+ * @param {string} path Path to notebook within the package
1282
+ * @param {number} cellIndex Index of the cell to execute (0-based)
1283
+ * @param {string} [versionId] Version identifier for the package
1284
+ * @param {*} [options] Override http request option.
1285
+ * @throws {RequiredError}
1286
+ */
1287
+ executeNotebookCell(t, o, s, n, l, i) {
1288
+ return r.executeNotebookCell(t, o, s, n, l, i).then((p) => p(e, a));
1289
+ },
1290
+ /**
1291
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
1292
+ * @summary Get Malloy notebook cells
1248
1293
  * @param {string} projectName Name of the project
1249
1294
  * @param {string} packageName Name of the package
1250
1295
  * @param {string} path Path to notebook within the package.
@@ -1252,8 +1297,8 @@ const K = function(c) {
1252
1297
  * @param {*} [options] Override http request option.
1253
1298
  * @throws {RequiredError}
1254
1299
  */
1255
- getNotebook(t, s, o, n, l) {
1256
- return r.getNotebook(t, s, o, n, l).then((i) => i(e, a));
1300
+ getNotebook(t, o, s, n, l) {
1301
+ return r.getNotebook(t, o, s, n, l).then((i) => i(e, a));
1257
1302
  },
1258
1303
  /**
1259
1304
  * Retrieves a list of all Malloy notebooks within the specified package. Each notebook entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available notebooks and checking their status.
@@ -1264,15 +1309,30 @@ const K = function(c) {
1264
1309
  * @param {*} [options] Override http request option.
1265
1310
  * @throws {RequiredError}
1266
1311
  */
1267
- listNotebooks(t, s, o, n) {
1268
- return r.listNotebooks(t, s, o, n).then((l) => l(e, a));
1312
+ listNotebooks(t, o, s, n) {
1313
+ return r.listNotebooks(t, o, s, n).then((l) => l(e, a));
1269
1314
  }
1270
1315
  };
1271
1316
  };
1272
- class Y extends A {
1317
+ class Y extends x {
1318
+ /**
1319
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.
1320
+ * @summary Execute a specific notebook cell
1321
+ * @param {string} projectName Name of the project
1322
+ * @param {string} packageName Name of the package
1323
+ * @param {string} path Path to notebook within the package
1324
+ * @param {number} cellIndex Index of the cell to execute (0-based)
1325
+ * @param {string} [versionId] Version identifier for the package
1326
+ * @param {*} [options] Override http request option.
1327
+ * @throws {RequiredError}
1328
+ * @memberof NotebooksApi
1329
+ */
1330
+ executeNotebookCell(a, e, r, t, o, s) {
1331
+ return N(this.configuration).executeNotebookCell(a, e, r, t, o, s).then((n) => n(this.axios, this.basePath));
1332
+ }
1273
1333
  /**
1274
- * Retrieves a compiled Malloy notebook with its cells, results, and metadata. The notebook is compiled using the specified version of the Malloy compiler. This endpoint provides access to the notebook\'s structure, cells, and execution results for use in applications.
1275
- * @summary Get compiled Malloy notebook
1334
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
1335
+ * @summary Get Malloy notebook cells
1276
1336
  * @param {string} projectName Name of the project
1277
1337
  * @param {string} packageName Name of the package
1278
1338
  * @param {string} path Path to notebook within the package.
@@ -1281,8 +1341,8 @@ class Y extends A {
1281
1341
  * @throws {RequiredError}
1282
1342
  * @memberof NotebooksApi
1283
1343
  */
1284
- getNotebook(a, e, r, t, s) {
1285
- return R(this.configuration).getNotebook(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
1344
+ getNotebook(a, e, r, t, o) {
1345
+ return N(this.configuration).getNotebook(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1286
1346
  }
1287
1347
  /**
1288
1348
  * Retrieves a list of all Malloy notebooks within the specified package. Each notebook entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available notebooks and checking their status.
@@ -1295,7 +1355,7 @@ class Y extends A {
1295
1355
  * @memberof NotebooksApi
1296
1356
  */
1297
1357
  listNotebooks(a, e, r, t) {
1298
- return R(this.configuration).listNotebooks(a, e, r, t).then((s) => s(this.axios, this.basePath));
1358
+ return N(this.configuration).listNotebooks(a, e, r, t).then((o) => o(this.axios, this.basePath));
1299
1359
  }
1300
1360
  }
1301
1361
  const _ = function(c) {
@@ -1310,14 +1370,14 @@ const _ = function(c) {
1310
1370
  */
1311
1371
  createPackage: async (a, e, r = {}) => {
1312
1372
  d("createPackage", "projectName", a), d("createPackage", "_package", e);
1313
- const t = "/projects/{projectName}/packages".replace("{projectName}", encodeURIComponent(String(a))), s = new URL(t, V);
1314
- let o;
1315
- c && (o = c.baseOptions);
1316
- const n = { method: "POST", ...o, ...r }, l = {}, i = {};
1317
- l["Content-Type"] = "application/json", O(s, i);
1318
- let p = o && o.headers ? o.headers : {};
1373
+ const t = "/projects/{projectName}/packages".replace("{projectName}", encodeURIComponent(String(a))), o = new URL(t, V);
1374
+ let s;
1375
+ c && (s = c.baseOptions);
1376
+ const n = { method: "POST", ...s, ...r }, l = {}, i = {};
1377
+ l["Content-Type"] = "application/json", b(o, i);
1378
+ let p = s && s.headers ? s.headers : {};
1319
1379
  return n.headers = { ...l, ...p, ...r.headers }, n.data = j(e, n, c), {
1320
- url: b(s),
1380
+ url: O(o),
1321
1381
  options: n
1322
1382
  };
1323
1383
  },
@@ -1331,14 +1391,14 @@ const _ = function(c) {
1331
1391
  */
1332
1392
  deletePackage: async (a, e, r = {}) => {
1333
1393
  d("deletePackage", "projectName", a), d("deletePackage", "packageName", e);
1334
- const t = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(t, V);
1335
- let o;
1336
- c && (o = c.baseOptions);
1337
- const n = { method: "DELETE", ...o, ...r }, l = {};
1338
- O(s, {});
1339
- let p = o && o.headers ? o.headers : {};
1394
+ const t = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, V);
1395
+ let s;
1396
+ c && (s = c.baseOptions);
1397
+ const n = { method: "DELETE", ...s, ...r }, l = {};
1398
+ b(o, {});
1399
+ let p = s && s.headers ? s.headers : {};
1340
1400
  return n.headers = { ...l, ...p, ...r.headers }, {
1341
- url: b(s),
1401
+ url: O(o),
1342
1402
  options: n
1343
1403
  };
1344
1404
  },
@@ -1352,16 +1412,16 @@ const _ = function(c) {
1352
1412
  * @param {*} [options] Override http request option.
1353
1413
  * @throws {RequiredError}
1354
1414
  */
1355
- getPackage: async (a, e, r, t, s = {}) => {
1415
+ getPackage: async (a, e, r, t, o = {}) => {
1356
1416
  d("getPackage", "projectName", a), d("getPackage", "packageName", e);
1357
- const o = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), n = new URL(o, V);
1417
+ const s = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), n = new URL(s, V);
1358
1418
  let l;
1359
1419
  c && (l = c.baseOptions);
1360
- const i = { method: "GET", ...l, ...s }, p = {}, h = {};
1361
- r !== void 0 && (h.versionId = r), t !== void 0 && (h.reload = t), O(n, h);
1420
+ const i = { method: "GET", ...l, ...o }, p = {}, h = {};
1421
+ r !== void 0 && (h.versionId = r), t !== void 0 && (h.reload = t), b(n, h);
1362
1422
  let y = l && l.headers ? l.headers : {};
1363
- return i.headers = { ...p, ...y, ...s.headers }, {
1364
- url: b(n),
1423
+ return i.headers = { ...p, ...y, ...o.headers }, {
1424
+ url: O(n),
1365
1425
  options: i
1366
1426
  };
1367
1427
  },
@@ -1375,14 +1435,14 @@ const _ = function(c) {
1375
1435
  listPackages: async (a, e = {}) => {
1376
1436
  d("listPackages", "projectName", a);
1377
1437
  const r = "/projects/{projectName}/packages".replace("{projectName}", encodeURIComponent(String(a))), t = new URL(r, V);
1378
- let s;
1379
- c && (s = c.baseOptions);
1380
- const o = { method: "GET", ...s, ...e }, n = {};
1381
- O(t, {});
1382
- let i = s && s.headers ? s.headers : {};
1383
- return o.headers = { ...n, ...i, ...e.headers }, {
1384
- url: b(t),
1385
- options: o
1438
+ let o;
1439
+ c && (o = c.baseOptions);
1440
+ const s = { method: "GET", ...o, ...e }, n = {};
1441
+ b(t, {});
1442
+ let i = o && o.headers ? o.headers : {};
1443
+ return s.headers = { ...n, ...i, ...e.headers }, {
1444
+ url: O(t),
1445
+ options: s
1386
1446
  };
1387
1447
  },
1388
1448
  /**
@@ -1396,19 +1456,19 @@ const _ = function(c) {
1396
1456
  */
1397
1457
  updatePackage: async (a, e, r, t = {}) => {
1398
1458
  d("updatePackage", "projectName", a), d("updatePackage", "packageName", e), d("updatePackage", "_package", r);
1399
- const s = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(s, V);
1459
+ const o = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
1400
1460
  let n;
1401
1461
  c && (n = c.baseOptions);
1402
1462
  const l = { method: "PATCH", ...n, ...t }, i = {}, p = {};
1403
- i["Content-Type"] = "application/json", O(o, p);
1463
+ i["Content-Type"] = "application/json", b(s, p);
1404
1464
  let h = n && n.headers ? n.headers : {};
1405
1465
  return l.headers = { ...i, ...h, ...t.headers }, l.data = j(r, l, c), {
1406
- url: b(o),
1466
+ url: O(s),
1407
1467
  options: l
1408
1468
  };
1409
1469
  }
1410
1470
  };
1411
- }, x = function(c) {
1471
+ }, C = function(c) {
1412
1472
  const a = _(c);
1413
1473
  return {
1414
1474
  /**
@@ -1420,8 +1480,8 @@ const _ = function(c) {
1420
1480
  * @throws {RequiredError}
1421
1481
  */
1422
1482
  async createPackage(e, r, t) {
1423
- const s = await a.createPackage(e, r, t), o = c?.serverIndex ?? 0, n = P["PackagesApi.createPackage"]?.[o]?.url;
1424
- return (l, i) => g(s, u, m, c)(l, n || i);
1483
+ const o = await a.createPackage(e, r, t), s = c?.serverIndex ?? 0, n = P["PackagesApi.createPackage"]?.[s]?.url;
1484
+ return (l, i) => g(o, u, m, c)(l, n || i);
1425
1485
  },
1426
1486
  /**
1427
1487
  * Permanently deletes a package and all its associated resources including models, notebooks, databases, and metadata. This operation cannot be undone, so use with caution. The package must exist and be accessible for deletion.
@@ -1432,8 +1492,8 @@ const _ = function(c) {
1432
1492
  * @throws {RequiredError}
1433
1493
  */
1434
1494
  async deletePackage(e, r, t) {
1435
- const s = await a.deletePackage(e, r, t), o = c?.serverIndex ?? 0, n = P["PackagesApi.deletePackage"]?.[o]?.url;
1436
- return (l, i) => g(s, u, m, c)(l, n || i);
1495
+ const o = await a.deletePackage(e, r, t), s = c?.serverIndex ?? 0, n = P["PackagesApi.deletePackage"]?.[s]?.url;
1496
+ return (l, i) => g(o, u, m, c)(l, n || i);
1437
1497
  },
1438
1498
  /**
1439
1499
  * Retrieves detailed information about a specific package, including its models, notebooks, databases, and metadata. The reload parameter can be used to refresh the package state from disk before returning the information. The versionId parameter allows access to specific package versions.
@@ -1445,8 +1505,8 @@ const _ = function(c) {
1445
1505
  * @param {*} [options] Override http request option.
1446
1506
  * @throws {RequiredError}
1447
1507
  */
1448
- async getPackage(e, r, t, s, o) {
1449
- const n = await a.getPackage(e, r, t, s, o), l = c?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[l]?.url;
1508
+ async getPackage(e, r, t, o, s) {
1509
+ const n = await a.getPackage(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[l]?.url;
1450
1510
  return (p, h) => g(n, u, m, c)(p, i || h);
1451
1511
  },
1452
1512
  /**
@@ -1457,8 +1517,8 @@ const _ = function(c) {
1457
1517
  * @throws {RequiredError}
1458
1518
  */
1459
1519
  async listPackages(e, r) {
1460
- const t = await a.listPackages(e, r), s = c?.serverIndex ?? 0, o = P["PackagesApi.listPackages"]?.[s]?.url;
1461
- return (n, l) => g(t, u, m, c)(n, o || l);
1520
+ const t = await a.listPackages(e, r), o = c?.serverIndex ?? 0, s = P["PackagesApi.listPackages"]?.[o]?.url;
1521
+ return (n, l) => g(t, u, m, c)(n, s || l);
1462
1522
  },
1463
1523
  /**
1464
1524
  * Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible.
@@ -1469,13 +1529,13 @@ const _ = function(c) {
1469
1529
  * @param {*} [options] Override http request option.
1470
1530
  * @throws {RequiredError}
1471
1531
  */
1472
- async updatePackage(e, r, t, s) {
1473
- const o = await a.updatePackage(e, r, t, s), n = c?.serverIndex ?? 0, l = P["PackagesApi.updatePackage"]?.[n]?.url;
1474
- return (i, p) => g(o, u, m, c)(i, l || p);
1532
+ async updatePackage(e, r, t, o) {
1533
+ const s = await a.updatePackage(e, r, t, o), n = c?.serverIndex ?? 0, l = P["PackagesApi.updatePackage"]?.[n]?.url;
1534
+ return (i, p) => g(s, u, m, c)(i, l || p);
1475
1535
  }
1476
1536
  };
1477
- }, Se = function(c, a, e) {
1478
- const r = x(c);
1537
+ }, xe = function(c, a, e) {
1538
+ const r = C(c);
1479
1539
  return {
1480
1540
  /**
1481
1541
  * Creates a new Malloy package within the specified project. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
@@ -1485,8 +1545,8 @@ const _ = function(c) {
1485
1545
  * @param {*} [options] Override http request option.
1486
1546
  * @throws {RequiredError}
1487
1547
  */
1488
- createPackage(t, s, o) {
1489
- return r.createPackage(t, s, o).then((n) => n(e, a));
1548
+ createPackage(t, o, s) {
1549
+ return r.createPackage(t, o, s).then((n) => n(e, a));
1490
1550
  },
1491
1551
  /**
1492
1552
  * Permanently deletes a package and all its associated resources including models, notebooks, databases, and metadata. This operation cannot be undone, so use with caution. The package must exist and be accessible for deletion.
@@ -1496,8 +1556,8 @@ const _ = function(c) {
1496
1556
  * @param {*} [options] Override http request option.
1497
1557
  * @throws {RequiredError}
1498
1558
  */
1499
- deletePackage(t, s, o) {
1500
- return r.deletePackage(t, s, o).then((n) => n(e, a));
1559
+ deletePackage(t, o, s) {
1560
+ return r.deletePackage(t, o, s).then((n) => n(e, a));
1501
1561
  },
1502
1562
  /**
1503
1563
  * Retrieves detailed information about a specific package, including its models, notebooks, databases, and metadata. The reload parameter can be used to refresh the package state from disk before returning the information. The versionId parameter allows access to specific package versions.
@@ -1509,8 +1569,8 @@ const _ = function(c) {
1509
1569
  * @param {*} [options] Override http request option.
1510
1570
  * @throws {RequiredError}
1511
1571
  */
1512
- getPackage(t, s, o, n, l) {
1513
- return r.getPackage(t, s, o, n, l).then((i) => i(e, a));
1572
+ getPackage(t, o, s, n, l) {
1573
+ return r.getPackage(t, o, s, n, l).then((i) => i(e, a));
1514
1574
  },
1515
1575
  /**
1516
1576
  * Retrieves a list of all Malloy packages within the specified project. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
@@ -1519,8 +1579,8 @@ const _ = function(c) {
1519
1579
  * @param {*} [options] Override http request option.
1520
1580
  * @throws {RequiredError}
1521
1581
  */
1522
- listPackages(t, s) {
1523
- return r.listPackages(t, s).then((o) => o(e, a));
1582
+ listPackages(t, o) {
1583
+ return r.listPackages(t, o).then((s) => s(e, a));
1524
1584
  },
1525
1585
  /**
1526
1586
  * Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible.
@@ -1531,12 +1591,12 @@ const _ = function(c) {
1531
1591
  * @param {*} [options] Override http request option.
1532
1592
  * @throws {RequiredError}
1533
1593
  */
1534
- updatePackage(t, s, o, n) {
1535
- return r.updatePackage(t, s, o, n).then((l) => l(e, a));
1594
+ updatePackage(t, o, s, n) {
1595
+ return r.updatePackage(t, o, s, n).then((l) => l(e, a));
1536
1596
  }
1537
1597
  };
1538
1598
  };
1539
- class X extends A {
1599
+ class X extends x {
1540
1600
  /**
1541
1601
  * Creates a new Malloy package within the specified project. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
1542
1602
  * @summary Create a new package
@@ -1547,7 +1607,7 @@ class X extends A {
1547
1607
  * @memberof PackagesApi
1548
1608
  */
1549
1609
  createPackage(a, e, r) {
1550
- return x(this.configuration).createPackage(a, e, r).then((t) => t(this.axios, this.basePath));
1610
+ return C(this.configuration).createPackage(a, e, r).then((t) => t(this.axios, this.basePath));
1551
1611
  }
1552
1612
  /**
1553
1613
  * Permanently deletes a package and all its associated resources including models, notebooks, databases, and metadata. This operation cannot be undone, so use with caution. The package must exist and be accessible for deletion.
@@ -1559,7 +1619,7 @@ class X extends A {
1559
1619
  * @memberof PackagesApi
1560
1620
  */
1561
1621
  deletePackage(a, e, r) {
1562
- return x(this.configuration).deletePackage(a, e, r).then((t) => t(this.axios, this.basePath));
1622
+ return C(this.configuration).deletePackage(a, e, r).then((t) => t(this.axios, this.basePath));
1563
1623
  }
1564
1624
  /**
1565
1625
  * Retrieves detailed information about a specific package, including its models, notebooks, databases, and metadata. The reload parameter can be used to refresh the package state from disk before returning the information. The versionId parameter allows access to specific package versions.
@@ -1572,8 +1632,8 @@ class X extends A {
1572
1632
  * @throws {RequiredError}
1573
1633
  * @memberof PackagesApi
1574
1634
  */
1575
- getPackage(a, e, r, t, s) {
1576
- return x(this.configuration).getPackage(a, e, r, t, s).then((o) => o(this.axios, this.basePath));
1635
+ getPackage(a, e, r, t, o) {
1636
+ return C(this.configuration).getPackage(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1577
1637
  }
1578
1638
  /**
1579
1639
  * Retrieves a list of all Malloy packages within the specified project. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
@@ -1584,7 +1644,7 @@ class X extends A {
1584
1644
  * @memberof PackagesApi
1585
1645
  */
1586
1646
  listPackages(a, e) {
1587
- return x(this.configuration).listPackages(a, e).then((r) => r(this.axios, this.basePath));
1647
+ return C(this.configuration).listPackages(a, e).then((r) => r(this.axios, this.basePath));
1588
1648
  }
1589
1649
  /**
1590
1650
  * Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible.
@@ -1597,7 +1657,7 @@ class X extends A {
1597
1657
  * @memberof PackagesApi
1598
1658
  */
1599
1659
  updatePackage(a, e, r, t) {
1600
- return x(this.configuration).updatePackage(a, e, r, t).then((s) => s(this.axios, this.basePath));
1660
+ return C(this.configuration).updatePackage(a, e, r, t).then((o) => o(this.axios, this.basePath));
1601
1661
  }
1602
1662
  }
1603
1663
  const Z = function(c) {
@@ -1612,14 +1672,14 @@ const Z = function(c) {
1612
1672
  createProject: async (a, e = {}) => {
1613
1673
  d("createProject", "project", a);
1614
1674
  const r = "/projects", t = new URL(r, V);
1615
- let s;
1616
- c && (s = c.baseOptions);
1617
- const o = { method: "POST", ...s, ...e }, n = {}, l = {};
1618
- n["Content-Type"] = "application/json", O(t, l);
1619
- let i = s && s.headers ? s.headers : {};
1620
- return o.headers = { ...n, ...i, ...e.headers }, o.data = j(a, o, c), {
1621
- url: b(t),
1622
- options: o
1675
+ let o;
1676
+ c && (o = c.baseOptions);
1677
+ const s = { method: "POST", ...o, ...e }, n = {}, l = {};
1678
+ n["Content-Type"] = "application/json", b(t, l);
1679
+ let i = o && o.headers ? o.headers : {};
1680
+ return s.headers = { ...n, ...i, ...e.headers }, s.data = j(a, s, c), {
1681
+ url: O(t),
1682
+ options: s
1623
1683
  };
1624
1684
  },
1625
1685
  /**
@@ -1632,14 +1692,14 @@ const Z = function(c) {
1632
1692
  deleteProject: async (a, e = {}) => {
1633
1693
  d("deleteProject", "projectName", a);
1634
1694
  const r = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), t = new URL(r, V);
1635
- let s;
1636
- c && (s = c.baseOptions);
1637
- const o = { method: "DELETE", ...s, ...e }, n = {};
1638
- O(t, {});
1639
- let i = s && s.headers ? s.headers : {};
1640
- return o.headers = { ...n, ...i, ...e.headers }, {
1641
- url: b(t),
1642
- options: o
1695
+ let o;
1696
+ c && (o = c.baseOptions);
1697
+ const s = { method: "DELETE", ...o, ...e }, n = {};
1698
+ b(t, {});
1699
+ let i = o && o.headers ? o.headers : {};
1700
+ return s.headers = { ...n, ...i, ...e.headers }, {
1701
+ url: O(t),
1702
+ options: s
1643
1703
  };
1644
1704
  },
1645
1705
  /**
@@ -1652,14 +1712,14 @@ const Z = function(c) {
1652
1712
  */
1653
1713
  getProject: async (a, e, r = {}) => {
1654
1714
  d("getProject", "projectName", a);
1655
- const t = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), s = new URL(t, V);
1656
- let o;
1657
- c && (o = c.baseOptions);
1658
- const n = { method: "GET", ...o, ...r }, l = {}, i = {};
1659
- e !== void 0 && (i.reload = e), O(s, i);
1660
- let p = o && o.headers ? o.headers : {};
1715
+ const t = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), o = new URL(t, V);
1716
+ let s;
1717
+ c && (s = c.baseOptions);
1718
+ const n = { method: "GET", ...s, ...r }, l = {}, i = {};
1719
+ e !== void 0 && (i.reload = e), b(o, i);
1720
+ let p = s && s.headers ? s.headers : {};
1661
1721
  return n.headers = { ...l, ...p, ...r.headers }, {
1662
- url: b(s),
1722
+ url: O(o),
1663
1723
  options: n
1664
1724
  };
1665
1725
  },
@@ -1673,12 +1733,12 @@ const Z = function(c) {
1673
1733
  const e = "/projects", r = new URL(e, V);
1674
1734
  let t;
1675
1735
  c && (t = c.baseOptions);
1676
- const s = { method: "GET", ...t, ...a }, o = {};
1677
- O(r, {});
1736
+ const o = { method: "GET", ...t, ...a }, s = {};
1737
+ b(r, {});
1678
1738
  let l = t && t.headers ? t.headers : {};
1679
- return s.headers = { ...o, ...l, ...a.headers }, {
1680
- url: b(r),
1681
- options: s
1739
+ return o.headers = { ...s, ...l, ...a.headers }, {
1740
+ url: O(r),
1741
+ options: o
1682
1742
  };
1683
1743
  },
1684
1744
  /**
@@ -1691,19 +1751,19 @@ const Z = function(c) {
1691
1751
  */
1692
1752
  updateProject: async (a, e, r = {}) => {
1693
1753
  d("updateProject", "projectName", a), d("updateProject", "project", e);
1694
- const t = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), s = new URL(t, V);
1695
- let o;
1696
- c && (o = c.baseOptions);
1697
- const n = { method: "PATCH", ...o, ...r }, l = {}, i = {};
1698
- l["Content-Type"] = "application/json", O(s, i);
1699
- let p = o && o.headers ? o.headers : {};
1754
+ const t = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), o = new URL(t, V);
1755
+ let s;
1756
+ c && (s = c.baseOptions);
1757
+ const n = { method: "PATCH", ...s, ...r }, l = {}, i = {};
1758
+ l["Content-Type"] = "application/json", b(o, i);
1759
+ let p = s && s.headers ? s.headers : {};
1700
1760
  return n.headers = { ...l, ...p, ...r.headers }, n.data = j(e, n, c), {
1701
- url: b(s),
1761
+ url: O(o),
1702
1762
  options: n
1703
1763
  };
1704
1764
  }
1705
1765
  };
1706
- }, C = function(c) {
1766
+ }, A = function(c) {
1707
1767
  const a = Z(c);
1708
1768
  return {
1709
1769
  /**
@@ -1714,8 +1774,8 @@ const Z = function(c) {
1714
1774
  * @throws {RequiredError}
1715
1775
  */
1716
1776
  async createProject(e, r) {
1717
- const t = await a.createProject(e, r), s = c?.serverIndex ?? 0, o = P["ProjectsApi.createProject"]?.[s]?.url;
1718
- return (n, l) => g(t, u, m, c)(n, o || l);
1777
+ const t = await a.createProject(e, r), o = c?.serverIndex ?? 0, s = P["ProjectsApi.createProject"]?.[o]?.url;
1778
+ return (n, l) => g(t, u, m, c)(n, s || l);
1719
1779
  },
1720
1780
  /**
1721
1781
  * Permanently deletes a project and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The project must exist and be accessible for deletion.
@@ -1725,8 +1785,8 @@ const Z = function(c) {
1725
1785
  * @throws {RequiredError}
1726
1786
  */
1727
1787
  async deleteProject(e, r) {
1728
- const t = await a.deleteProject(e, r), s = c?.serverIndex ?? 0, o = P["ProjectsApi.deleteProject"]?.[s]?.url;
1729
- return (n, l) => g(t, u, m, c)(n, o || l);
1788
+ const t = await a.deleteProject(e, r), o = c?.serverIndex ?? 0, s = P["ProjectsApi.deleteProject"]?.[o]?.url;
1789
+ return (n, l) => g(t, u, m, c)(n, s || l);
1730
1790
  },
1731
1791
  /**
1732
1792
  * Retrieves detailed information about a specific project, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the project state from disk before returning the information.
@@ -1737,8 +1797,8 @@ const Z = function(c) {
1737
1797
  * @throws {RequiredError}
1738
1798
  */
1739
1799
  async getProject(e, r, t) {
1740
- const s = await a.getProject(e, r, t), o = c?.serverIndex ?? 0, n = P["ProjectsApi.getProject"]?.[o]?.url;
1741
- return (l, i) => g(s, u, m, c)(l, n || i);
1800
+ const o = await a.getProject(e, r, t), s = c?.serverIndex ?? 0, n = P["ProjectsApi.getProject"]?.[s]?.url;
1801
+ return (l, i) => g(o, u, m, c)(l, n || i);
1742
1802
  },
1743
1803
  /**
1744
1804
  * Retrieves a list of all projects currently hosted on this Malloy Publisher server. Each project contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available projects and their basic information.
@@ -1747,8 +1807,8 @@ const Z = function(c) {
1747
1807
  * @throws {RequiredError}
1748
1808
  */
1749
1809
  async listProjects(e) {
1750
- const r = await a.listProjects(e), t = c?.serverIndex ?? 0, s = P["ProjectsApi.listProjects"]?.[t]?.url;
1751
- return (o, n) => g(r, u, m, c)(o, s || n);
1810
+ const r = await a.listProjects(e), t = c?.serverIndex ?? 0, o = P["ProjectsApi.listProjects"]?.[t]?.url;
1811
+ return (s, n) => g(r, u, m, c)(s, o || n);
1752
1812
  },
1753
1813
  /**
1754
1814
  * Updates the configuration and metadata of an existing project. This allows you to modify project settings, update the README, change the location, or update other project-level properties. The project must exist and be accessible.
@@ -1759,12 +1819,12 @@ const Z = function(c) {
1759
1819
  * @throws {RequiredError}
1760
1820
  */
1761
1821
  async updateProject(e, r, t) {
1762
- const s = await a.updateProject(e, r, t), o = c?.serverIndex ?? 0, n = P["ProjectsApi.updateProject"]?.[o]?.url;
1763
- return (l, i) => g(s, u, m, c)(l, n || i);
1822
+ const o = await a.updateProject(e, r, t), s = c?.serverIndex ?? 0, n = P["ProjectsApi.updateProject"]?.[s]?.url;
1823
+ return (l, i) => g(o, u, m, c)(l, n || i);
1764
1824
  }
1765
1825
  };
1766
- }, je = function(c, a, e) {
1767
- const r = C(c);
1826
+ }, Ce = function(c, a, e) {
1827
+ const r = A(c);
1768
1828
  return {
1769
1829
  /**
1770
1830
  * Creates a new Malloy project with the specified configuration. A project serves as a container for packages, connections, and other resources. The project will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -1773,8 +1833,8 @@ const Z = function(c) {
1773
1833
  * @param {*} [options] Override http request option.
1774
1834
  * @throws {RequiredError}
1775
1835
  */
1776
- createProject(t, s) {
1777
- return r.createProject(t, s).then((o) => o(e, a));
1836
+ createProject(t, o) {
1837
+ return r.createProject(t, o).then((s) => s(e, a));
1778
1838
  },
1779
1839
  /**
1780
1840
  * Permanently deletes a project and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The project must exist and be accessible for deletion.
@@ -1783,8 +1843,8 @@ const Z = function(c) {
1783
1843
  * @param {*} [options] Override http request option.
1784
1844
  * @throws {RequiredError}
1785
1845
  */
1786
- deleteProject(t, s) {
1787
- return r.deleteProject(t, s).then((o) => o(e, a));
1846
+ deleteProject(t, o) {
1847
+ return r.deleteProject(t, o).then((s) => s(e, a));
1788
1848
  },
1789
1849
  /**
1790
1850
  * Retrieves detailed information about a specific project, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the project state from disk before returning the information.
@@ -1794,8 +1854,8 @@ const Z = function(c) {
1794
1854
  * @param {*} [options] Override http request option.
1795
1855
  * @throws {RequiredError}
1796
1856
  */
1797
- getProject(t, s, o) {
1798
- return r.getProject(t, s, o).then((n) => n(e, a));
1857
+ getProject(t, o, s) {
1858
+ return r.getProject(t, o, s).then((n) => n(e, a));
1799
1859
  },
1800
1860
  /**
1801
1861
  * Retrieves a list of all projects currently hosted on this Malloy Publisher server. Each project contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available projects and their basic information.
@@ -1804,7 +1864,7 @@ const Z = function(c) {
1804
1864
  * @throws {RequiredError}
1805
1865
  */
1806
1866
  listProjects(t) {
1807
- return r.listProjects(t).then((s) => s(e, a));
1867
+ return r.listProjects(t).then((o) => o(e, a));
1808
1868
  },
1809
1869
  /**
1810
1870
  * Updates the configuration and metadata of an existing project. This allows you to modify project settings, update the README, change the location, or update other project-level properties. The project must exist and be accessible.
@@ -1814,12 +1874,12 @@ const Z = function(c) {
1814
1874
  * @param {*} [options] Override http request option.
1815
1875
  * @throws {RequiredError}
1816
1876
  */
1817
- updateProject(t, s, o) {
1818
- return r.updateProject(t, s, o).then((n) => n(e, a));
1877
+ updateProject(t, o, s) {
1878
+ return r.updateProject(t, o, s).then((n) => n(e, a));
1819
1879
  }
1820
1880
  };
1821
1881
  };
1822
- class ee extends A {
1882
+ class ee extends x {
1823
1883
  /**
1824
1884
  * Creates a new Malloy project with the specified configuration. A project serves as a container for packages, connections, and other resources. The project will be initialized with the provided metadata and can immediately accept packages and connections.
1825
1885
  * @summary Create a new project
@@ -1829,7 +1889,7 @@ class ee extends A {
1829
1889
  * @memberof ProjectsApi
1830
1890
  */
1831
1891
  createProject(a, e) {
1832
- return C(this.configuration).createProject(a, e).then((r) => r(this.axios, this.basePath));
1892
+ return A(this.configuration).createProject(a, e).then((r) => r(this.axios, this.basePath));
1833
1893
  }
1834
1894
  /**
1835
1895
  * Permanently deletes a project and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The project must exist and be accessible for deletion.
@@ -1840,7 +1900,7 @@ class ee extends A {
1840
1900
  * @memberof ProjectsApi
1841
1901
  */
1842
1902
  deleteProject(a, e) {
1843
- return C(this.configuration).deleteProject(a, e).then((r) => r(this.axios, this.basePath));
1903
+ return A(this.configuration).deleteProject(a, e).then((r) => r(this.axios, this.basePath));
1844
1904
  }
1845
1905
  /**
1846
1906
  * Retrieves detailed information about a specific project, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the project state from disk before returning the information.
@@ -1852,7 +1912,7 @@ class ee extends A {
1852
1912
  * @memberof ProjectsApi
1853
1913
  */
1854
1914
  getProject(a, e, r) {
1855
- return C(this.configuration).getProject(a, e, r).then((t) => t(this.axios, this.basePath));
1915
+ return A(this.configuration).getProject(a, e, r).then((t) => t(this.axios, this.basePath));
1856
1916
  }
1857
1917
  /**
1858
1918
  * Retrieves a list of all projects currently hosted on this Malloy Publisher server. Each project contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available projects and their basic information.
@@ -1862,7 +1922,7 @@ class ee extends A {
1862
1922
  * @memberof ProjectsApi
1863
1923
  */
1864
1924
  listProjects(a) {
1865
- return C(this.configuration).listProjects(a).then((e) => e(this.axios, this.basePath));
1925
+ return A(this.configuration).listProjects(a).then((e) => e(this.axios, this.basePath));
1866
1926
  }
1867
1927
  /**
1868
1928
  * Updates the configuration and metadata of an existing project. This allows you to modify project settings, update the README, change the location, or update other project-level properties. The project must exist and be accessible.
@@ -1874,7 +1934,7 @@ class ee extends A {
1874
1934
  * @memberof ProjectsApi
1875
1935
  */
1876
1936
  updateProject(a, e, r) {
1877
- return C(this.configuration).updateProject(a, e, r).then((t) => t(this.axios, this.basePath));
1937
+ return A(this.configuration).updateProject(a, e, r).then((t) => t(this.axios, this.basePath));
1878
1938
  }
1879
1939
  }
1880
1940
  const te = function(c) {
@@ -1889,16 +1949,16 @@ const te = function(c) {
1889
1949
  const e = "/status", r = new URL(e, V);
1890
1950
  let t;
1891
1951
  c && (t = c.baseOptions);
1892
- const s = { method: "GET", ...t, ...a }, o = {};
1893
- O(r, {});
1952
+ const o = { method: "GET", ...t, ...a }, s = {};
1953
+ b(r, {});
1894
1954
  let l = t && t.headers ? t.headers : {};
1895
- return s.headers = { ...o, ...l, ...a.headers }, {
1896
- url: b(r),
1897
- options: s
1955
+ return o.headers = { ...s, ...l, ...a.headers }, {
1956
+ url: O(r),
1957
+ options: o
1898
1958
  };
1899
1959
  }
1900
1960
  };
1901
- }, w = function(c) {
1961
+ }, T = function(c) {
1902
1962
  const a = te(c);
1903
1963
  return {
1904
1964
  /**
@@ -1908,12 +1968,12 @@ const te = function(c) {
1908
1968
  * @throws {RequiredError}
1909
1969
  */
1910
1970
  async getStatus(e) {
1911
- const r = await a.getStatus(e), t = c?.serverIndex ?? 0, s = P["PublisherApi.getStatus"]?.[t]?.url;
1912
- return (o, n) => g(r, u, m, c)(o, s || n);
1971
+ const r = await a.getStatus(e), t = c?.serverIndex ?? 0, o = P["PublisherApi.getStatus"]?.[t]?.url;
1972
+ return (s, n) => g(r, u, m, c)(s, o || n);
1913
1973
  }
1914
1974
  };
1915
1975
  }, Ae = function(c, a, e) {
1916
- const r = w(c);
1976
+ const r = T(c);
1917
1977
  return {
1918
1978
  /**
1919
1979
  * Returns the current status of the Malloy Publisher server, including initialization state, available projects, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -1922,11 +1982,11 @@ const te = function(c) {
1922
1982
  * @throws {RequiredError}
1923
1983
  */
1924
1984
  getStatus(t) {
1925
- return r.getStatus(t).then((s) => s(e, a));
1985
+ return r.getStatus(t).then((o) => o(e, a));
1926
1986
  }
1927
1987
  };
1928
1988
  };
1929
- class xe extends A {
1989
+ class ke extends x {
1930
1990
  /**
1931
1991
  * Returns the current status of the Malloy Publisher server, including initialization state, available projects, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
1932
1992
  * @summary Get server status and health information
@@ -1935,7 +1995,7 @@ class xe extends A {
1935
1995
  * @memberof PublisherApi
1936
1996
  */
1937
1997
  getStatus(a) {
1938
- return w(this.configuration).getStatus(a).then((e) => e(this.axios, this.basePath));
1998
+ return T(this.configuration).getStatus(a).then((e) => e(this.axios, this.basePath));
1939
1999
  }
1940
2000
  }
1941
2001
  const ae = function(c) {
@@ -1950,12 +2010,12 @@ const ae = function(c) {
1950
2010
  const e = "/watch-mode/status", r = new URL(e, V);
1951
2011
  let t;
1952
2012
  c && (t = c.baseOptions);
1953
- const s = { method: "GET", ...t, ...a }, o = {};
1954
- O(r, {});
2013
+ const o = { method: "GET", ...t, ...a }, s = {};
2014
+ b(r, {});
1955
2015
  let l = t && t.headers ? t.headers : {};
1956
- return s.headers = { ...o, ...l, ...a.headers }, {
1957
- url: b(r),
1958
- options: s
2016
+ return o.headers = { ...s, ...l, ...a.headers }, {
2017
+ url: O(r),
2018
+ options: o
1959
2019
  };
1960
2020
  },
1961
2021
  /**
@@ -1968,14 +2028,14 @@ const ae = function(c) {
1968
2028
  startWatching: async (a, e = {}) => {
1969
2029
  d("startWatching", "startWatchRequest", a);
1970
2030
  const r = "/watch-mode/start", t = new URL(r, V);
1971
- let s;
1972
- c && (s = c.baseOptions);
1973
- const o = { method: "POST", ...s, ...e }, n = {}, l = {};
1974
- n["Content-Type"] = "application/json", O(t, l);
1975
- let i = s && s.headers ? s.headers : {};
1976
- return o.headers = { ...n, ...i, ...e.headers }, o.data = j(a, o, c), {
1977
- url: b(t),
1978
- options: o
2031
+ let o;
2032
+ c && (o = c.baseOptions);
2033
+ const s = { method: "POST", ...o, ...e }, n = {}, l = {};
2034
+ n["Content-Type"] = "application/json", b(t, l);
2035
+ let i = o && o.headers ? o.headers : {};
2036
+ return s.headers = { ...n, ...i, ...e.headers }, s.data = j(a, s, c), {
2037
+ url: O(t),
2038
+ options: s
1979
2039
  };
1980
2040
  },
1981
2041
  /**
@@ -1988,16 +2048,16 @@ const ae = function(c) {
1988
2048
  const e = "/watch-mode/stop", r = new URL(e, V);
1989
2049
  let t;
1990
2050
  c && (t = c.baseOptions);
1991
- const s = { method: "POST", ...t, ...a }, o = {};
1992
- O(r, {});
2051
+ const o = { method: "POST", ...t, ...a }, s = {};
2052
+ b(r, {});
1993
2053
  let l = t && t.headers ? t.headers : {};
1994
- return s.headers = { ...o, ...l, ...a.headers }, {
1995
- url: b(r),
1996
- options: s
2054
+ return o.headers = { ...s, ...l, ...a.headers }, {
2055
+ url: O(r),
2056
+ options: o
1997
2057
  };
1998
2058
  }
1999
2059
  };
2000
- }, k = function(c) {
2060
+ }, v = function(c) {
2001
2061
  const a = ae(c);
2002
2062
  return {
2003
2063
  /**
@@ -2007,8 +2067,8 @@ const ae = function(c) {
2007
2067
  * @throws {RequiredError}
2008
2068
  */
2009
2069
  async getWatchStatus(e) {
2010
- const r = await a.getWatchStatus(e), t = c?.serverIndex ?? 0, s = P["WatchModeApi.getWatchStatus"]?.[t]?.url;
2011
- return (o, n) => g(r, u, m, c)(o, s || n);
2070
+ const r = await a.getWatchStatus(e), t = c?.serverIndex ?? 0, o = P["WatchModeApi.getWatchStatus"]?.[t]?.url;
2071
+ return (s, n) => g(r, u, m, c)(s, o || n);
2012
2072
  },
2013
2073
  /**
2014
2074
  * Initiates file watching for the specified project. This enables real-time monitoring of file changes within the project directory, allowing for automatic reloading and updates during development. Only one project can be watched at a time.
@@ -2018,8 +2078,8 @@ const ae = function(c) {
2018
2078
  * @throws {RequiredError}
2019
2079
  */
2020
2080
  async startWatching(e, r) {
2021
- const t = await a.startWatching(e, r), s = c?.serverIndex ?? 0, o = P["WatchModeApi.startWatching"]?.[s]?.url;
2022
- return (n, l) => g(t, u, m, c)(n, o || l);
2081
+ const t = await a.startWatching(e, r), o = c?.serverIndex ?? 0, s = P["WatchModeApi.startWatching"]?.[o]?.url;
2082
+ return (n, l) => g(t, u, m, c)(n, s || l);
2023
2083
  },
2024
2084
  /**
2025
2085
  * Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different project.
@@ -2028,12 +2088,12 @@ const ae = function(c) {
2028
2088
  * @throws {RequiredError}
2029
2089
  */
2030
2090
  async stopWatching(e) {
2031
- const r = await a.stopWatching(e), t = c?.serverIndex ?? 0, s = P["WatchModeApi.stopWatching"]?.[t]?.url;
2032
- return (o, n) => g(r, u, m, c)(o, s || n);
2091
+ const r = await a.stopWatching(e), t = c?.serverIndex ?? 0, o = P["WatchModeApi.stopWatching"]?.[t]?.url;
2092
+ return (s, n) => g(r, u, m, c)(s, o || n);
2033
2093
  }
2034
2094
  };
2035
- }, Ce = function(c, a, e) {
2036
- const r = k(c);
2095
+ }, Ne = function(c, a, e) {
2096
+ const r = v(c);
2037
2097
  return {
2038
2098
  /**
2039
2099
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which project is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -2042,7 +2102,7 @@ const ae = function(c) {
2042
2102
  * @throws {RequiredError}
2043
2103
  */
2044
2104
  getWatchStatus(t) {
2045
- return r.getWatchStatus(t).then((s) => s(e, a));
2105
+ return r.getWatchStatus(t).then((o) => o(e, a));
2046
2106
  },
2047
2107
  /**
2048
2108
  * Initiates file watching for the specified project. This enables real-time monitoring of file changes within the project directory, allowing for automatic reloading and updates during development. Only one project can be watched at a time.
@@ -2051,8 +2111,8 @@ const ae = function(c) {
2051
2111
  * @param {*} [options] Override http request option.
2052
2112
  * @throws {RequiredError}
2053
2113
  */
2054
- startWatching(t, s) {
2055
- return r.startWatching(t, s).then((o) => o(e, a));
2114
+ startWatching(t, o) {
2115
+ return r.startWatching(t, o).then((s) => s(e, a));
2056
2116
  },
2057
2117
  /**
2058
2118
  * Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different project.
@@ -2061,11 +2121,11 @@ const ae = function(c) {
2061
2121
  * @throws {RequiredError}
2062
2122
  */
2063
2123
  stopWatching(t) {
2064
- return r.stopWatching(t).then((s) => s(e, a));
2124
+ return r.stopWatching(t).then((o) => o(e, a));
2065
2125
  }
2066
2126
  };
2067
2127
  };
2068
- class re extends A {
2128
+ class re extends x {
2069
2129
  /**
2070
2130
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which project is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
2071
2131
  * @summary Get watch mode status
@@ -2074,7 +2134,7 @@ class re extends A {
2074
2134
  * @memberof WatchModeApi
2075
2135
  */
2076
2136
  getWatchStatus(a) {
2077
- return k(this.configuration).getWatchStatus(a).then((e) => e(this.axios, this.basePath));
2137
+ return v(this.configuration).getWatchStatus(a).then((e) => e(this.axios, this.basePath));
2078
2138
  }
2079
2139
  /**
2080
2140
  * Initiates file watching for the specified project. This enables real-time monitoring of file changes within the project directory, allowing for automatic reloading and updates during development. Only one project can be watched at a time.
@@ -2085,7 +2145,7 @@ class re extends A {
2085
2145
  * @memberof WatchModeApi
2086
2146
  */
2087
2147
  startWatching(a, e) {
2088
- return k(this.configuration).startWatching(a, e).then((r) => r(this.axios, this.basePath));
2148
+ return v(this.configuration).startWatching(a, e).then((r) => r(this.axios, this.basePath));
2089
2149
  }
2090
2150
  /**
2091
2151
  * Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different project.
@@ -2095,10 +2155,10 @@ class re extends A {
2095
2155
  * @memberof WatchModeApi
2096
2156
  */
2097
2157
  stopWatching(a) {
2098
- return k(this.configuration).stopWatching(a).then((e) => e(this.axios, this.basePath));
2158
+ return v(this.configuration).stopWatching(a).then((e) => e(this.axios, this.basePath));
2099
2159
  }
2100
2160
  }
2101
- class se {
2161
+ class oe {
2102
2162
  /**
2103
2163
  * parameter for apiKey security
2104
2164
  * @param name security name
@@ -2178,17 +2238,28 @@ class se {
2178
2238
  return a !== null && (e.test(a) || a.toLowerCase() === "application/json-patch+json");
2179
2239
  }
2180
2240
  }
2181
- const Q = $(void 0), oe = (c, a) => {
2241
+ const se = new B({
2242
+ defaultOptions: {
2243
+ queries: {
2244
+ retry: !1,
2245
+ throwOnError: !1
2246
+ },
2247
+ mutations: {
2248
+ retry: !1,
2249
+ throwOnError: !1
2250
+ }
2251
+ }
2252
+ }), Q = M(void 0), ne = (c, a) => {
2182
2253
  const e = `${window.location.protocol}//${window.location.host}/api/v0`, r = u.create({
2183
2254
  baseURL: c || e,
2184
2255
  withCredentials: !0,
2185
2256
  timeout: 6e5
2186
2257
  });
2187
- r.interceptors.request.use(async (s) => {
2188
- const o = await a?.();
2189
- return s.headers.Authorization = o || "", s;
2258
+ r.interceptors.request.use(async (o) => {
2259
+ const s = await a?.();
2260
+ return o.headers.Authorization = s || "", o;
2190
2261
  });
2191
- const t = new se({ basePath: e });
2262
+ const t = new oe({ basePath: e });
2192
2263
  return {
2193
2264
  models: new J(t, e, r),
2194
2265
  projects: new ee(t, e, r),
@@ -2204,66 +2275,67 @@ const Q = $(void 0), oe = (c, a) => {
2204
2275
  baseURL: e,
2205
2276
  mutable: r = !0
2206
2277
  }) => {
2207
- const t = M(
2208
- () => oe(e, a),
2278
+ const t = E(
2279
+ () => ne(e, a),
2209
2280
  [e, a]
2210
- ), s = {
2281
+ ), o = {
2211
2282
  server: e || `${window.location.protocol}//${window.location.host}/api/v0`,
2212
2283
  getAccessToken: a,
2213
2284
  apiClients: t,
2214
2285
  mutable: r
2215
2286
  };
2216
- return /* @__PURE__ */ I(B, { client: E, children: /* @__PURE__ */ I(Q.Provider, { value: s, children: c }) });
2217
- }, ke = () => {
2287
+ return /* @__PURE__ */ I($, { client: se, children: /* @__PURE__ */ I(Q.Provider, { value: o, children: c }) });
2288
+ }, Re = () => {
2218
2289
  const c = F(Q);
2219
2290
  if (c === void 0)
2220
2291
  throw new Error("useServer must be used within a ServerProvider");
2221
2292
  return c;
2222
2293
  };
2223
2294
  export {
2224
- pe as A,
2225
- C as B,
2226
- de as C,
2227
- ue as D,
2228
- je as E,
2229
- ee as F,
2230
- te as G,
2231
- w as H,
2232
- Ae as I,
2233
- xe as J,
2234
- k as K,
2235
- Ce as L,
2295
+ de as A,
2296
+ Z as B,
2297
+ he as C,
2298
+ me as D,
2299
+ A as E,
2300
+ Ce as F,
2301
+ ee as G,
2302
+ te as H,
2303
+ T as I,
2304
+ Ae as J,
2305
+ ke as K,
2306
+ v as L,
2236
2307
  z as M,
2237
- me as N,
2238
- re as O,
2308
+ Pe as N,
2309
+ Ne as O,
2239
2310
  _ as P,
2240
- se as Q,
2311
+ re as Q,
2312
+ oe as R,
2241
2313
  ve as S,
2242
2314
  ae as W,
2243
- he as a,
2244
- H as b,
2245
- S as c,
2246
- Pe as d,
2247
- W as e,
2248
- D as f,
2249
- E as g,
2250
- U as h,
2251
- Ve as i,
2315
+ ue as a,
2316
+ Ve as b,
2317
+ H as c,
2318
+ S as d,
2319
+ be as e,
2320
+ W as f,
2321
+ se as g,
2322
+ D as h,
2323
+ U as i,
2252
2324
  Oe as j,
2253
- f as k,
2254
- T as l,
2255
- be as m,
2256
- G as n,
2257
- v as o,
2258
- ge as p,
2259
- J as q,
2260
- K as r,
2261
- R as s,
2262
- ye as t,
2263
- ke as u,
2264
- Y as v,
2265
- x as w,
2266
- Se as x,
2267
- X as y,
2268
- Z as z
2325
+ ge as k,
2326
+ f as l,
2327
+ w as m,
2328
+ ye as n,
2329
+ G as o,
2330
+ k as p,
2331
+ Se as q,
2332
+ J as r,
2333
+ K as s,
2334
+ N as t,
2335
+ Re as u,
2336
+ je as v,
2337
+ Y as w,
2338
+ C as x,
2339
+ xe as y,
2340
+ X as z
2269
2341
  };