@malloy-publisher/sdk 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/README.md +22 -9
  2. package/dist/DocumentStorageProvider-CyOJ0hqf.es.js +24443 -0
  3. package/dist/DocumentStorageProvider-DGPQEd_l.cjs.js +134 -0
  4. package/dist/RenderedResult-BnPzJ9Jf.es.js +549 -0
  5. package/dist/RenderedResult-Dp22kZsQ.cjs.js +115 -0
  6. package/dist/{ServerProvider-DSK9rfSY.es.js → ServerProvider-BWOEKg0O.es.js} +1256 -1318
  7. package/dist/ServerProvider-Cc489A3f.cjs.js +1 -0
  8. package/dist/builder/index.cjs.js +105 -0
  9. package/dist/builder/index.d.ts +2 -0
  10. package/dist/builder/index.es.js +9482 -0
  11. package/dist/builder-entry.d.ts +8 -0
  12. package/dist/client/api.d.ts +100 -42
  13. package/dist/client/index.cjs.js +1 -1
  14. package/dist/client/index.es.js +1 -1
  15. package/dist/components/AppDialog.d.ts +30 -0
  16. package/dist/components/BackLink.d.ts +32 -0
  17. package/dist/components/Dashboard/Dashboard.d.ts +19 -14
  18. package/dist/components/Dashboard/DashboardBar.d.ts +21 -0
  19. package/dist/components/Dashboard/DashboardGrid.d.ts +67 -0
  20. package/dist/components/Dashboard/DashboardTile.d.ts +6 -1
  21. package/dist/components/Dashboard/ExploreDialog.d.ts +18 -0
  22. package/dist/components/Dashboard/RowsDialog.d.ts +47 -0
  23. package/dist/components/Dashboard/TileCard.d.ts +44 -0
  24. package/dist/components/Dashboard/index.d.ts +2 -0
  25. package/dist/components/Dashboard/promoteMeasureRow.d.ts +7 -3
  26. package/dist/components/Dashboard/telemetry.d.ts +48 -0
  27. package/dist/components/DashboardBuilder/AddTileDialog.d.ts +35 -0
  28. package/dist/components/DashboardBuilder/BuilderToolbar.d.ts +31 -0
  29. package/dist/components/DashboardBuilder/DashboardBuilder.d.ts +118 -0
  30. package/dist/components/DashboardBuilder/DashboardEditor.d.ts +30 -0
  31. package/dist/components/DashboardBuilder/DiffDialog.d.ts +15 -0
  32. package/dist/components/DashboardBuilder/DrillDialog.d.ts +15 -0
  33. package/dist/components/DashboardBuilder/FilterDialog.d.ts +54 -0
  34. package/dist/components/DashboardBuilder/FilterStrip.d.ts +17 -0
  35. package/dist/components/DashboardBuilder/SettingsPopover.d.ts +20 -0
  36. package/dist/components/DashboardBuilder/TileFrame.d.ts +42 -0
  37. package/dist/components/DashboardBuilder/TileMenu.d.ts +24 -0
  38. package/dist/components/DashboardBuilder/catalog.d.ts +62 -0
  39. package/dist/components/DashboardBuilder/controls.d.ts +157 -0
  40. package/dist/components/DashboardBuilder/diff.d.ts +35 -0
  41. package/dist/components/DashboardBuilder/document.d.ts +218 -0
  42. package/dist/components/DashboardBuilder/layout.d.ts +71 -0
  43. package/dist/components/DashboardBuilder/malloyText.d.ts +45 -0
  44. package/dist/components/DashboardBuilder/newDashboard.d.ts +17 -0
  45. package/dist/components/DashboardBuilder/preview.d.ts +60 -0
  46. package/dist/components/DashboardBuilder/readDocument.d.ts +106 -0
  47. package/dist/components/DashboardBuilder/sortable.d.ts +51 -0
  48. package/dist/components/DashboardBuilder/spliceDocument.d.ts +53 -0
  49. package/dist/components/DashboardBuilder/testing/fixtures.d.ts +10 -0
  50. package/dist/components/DashboardBuilder/useBuilderShortcuts.d.ts +22 -0
  51. package/dist/components/DashboardBuilder/useDashboardEditor.d.ts +63 -0
  52. package/dist/components/DashboardBuilder/useDraft.d.ts +13 -0
  53. package/dist/components/DashboardBuilder/useFilterForm.d.ts +65 -0
  54. package/dist/components/DashboardBuilder/useTileReorder.d.ts +22 -0
  55. package/dist/components/DashboardBuilder/useTileResize.d.ts +29 -0
  56. package/dist/components/DocumentStorage/DocumentStorageProvider.d.ts +7 -0
  57. package/dist/components/DocumentStorage/index.d.ts +1 -1
  58. package/dist/components/FloatingIconButton.d.ts +16 -0
  59. package/dist/components/ItemRow.d.ts +38 -0
  60. package/dist/components/Materializations/MaterializationDetailDialog.d.ts +1 -2
  61. package/dist/components/Materializations/MaterializationRunsList.d.ts +1 -5
  62. package/dist/components/Materializations/Materializations.d.ts +7 -3
  63. package/dist/components/Materializations/ScopeButton.d.ts +18 -0
  64. package/dist/components/Materializations/SectionLabel.d.ts +7 -4
  65. package/dist/components/Materializations/TriggerLabel.d.ts +14 -0
  66. package/dist/components/Materializations/index.d.ts +0 -1
  67. package/dist/components/Package/ContentTypeIcon.d.ts +3 -5
  68. package/dist/components/Package/NewDashboardDialog.d.ts +18 -0
  69. package/dist/components/Package/index.d.ts +0 -1
  70. package/dist/components/PackageSection.d.ts +23 -0
  71. package/dist/components/Prose.d.ts +46 -0
  72. package/dist/components/RenderedResult/ResultPanel.d.ts +30 -0
  73. package/dist/components/RenderedResult/index.d.ts +1 -0
  74. package/dist/components/buttons.d.ts +53 -0
  75. package/dist/components/drill/index.d.ts +1 -1
  76. package/dist/components/drill/resolveDrill.d.ts +22 -0
  77. package/dist/components/drill/useDrill.d.ts +11 -2
  78. package/dist/components/index.d.ts +6 -0
  79. package/dist/components/styles.d.ts +49 -44
  80. package/dist/hooks/index.d.ts +2 -0
  81. package/dist/hooks/useCrudMutation.d.ts +42 -0
  82. package/dist/hooks/useDocumentControls.d.ts +70 -0
  83. package/dist/hooks/useQueryResult.d.ts +40 -0
  84. package/dist/index.cjs.js +22 -273
  85. package/dist/index.d.ts +1 -0
  86. package/dist/index.es.js +16888 -44451
  87. package/dist/telemetry/consoleEvents.d.ts +60 -0
  88. package/dist/utils/malloyLiteral.d.ts +11 -0
  89. package/dist/utils/sha256.d.ts +2 -0
  90. package/package.json +24 -9
  91. package/src/builder-entry.ts +55 -0
  92. package/src/components/AppDialog.tsx +115 -0
  93. package/src/components/BackLink.tsx +83 -0
  94. package/src/components/Connections/AddConnectionDialog.tsx +50 -70
  95. package/src/components/Connections/DeleteConnectionDialog.tsx +23 -50
  96. package/src/components/Connections/EditConnectionDialog.tsx +54 -73
  97. package/src/components/Dashboard/Dashboard.spec.tsx +7 -10
  98. package/src/components/Dashboard/Dashboard.tsx +165 -175
  99. package/src/components/Dashboard/DashboardBar.tsx +88 -0
  100. package/src/components/Dashboard/DashboardGrid.tsx +124 -0
  101. package/src/components/Dashboard/DashboardTile.spec.tsx +30 -6
  102. package/src/components/Dashboard/DashboardTile.tsx +66 -123
  103. package/src/components/Dashboard/ExploreDialog.tsx +84 -0
  104. package/src/components/Dashboard/RowsDialog.spec.ts +42 -0
  105. package/src/components/Dashboard/RowsDialog.tsx +234 -0
  106. package/src/components/Dashboard/TileCard.tsx +120 -0
  107. package/src/components/Dashboard/index.ts +2 -0
  108. package/src/components/Dashboard/promoteMeasureRow.spec.ts +70 -0
  109. package/src/components/Dashboard/promoteMeasureRow.ts +33 -2
  110. package/src/components/Dashboard/telemetry.ts +51 -0
  111. package/src/components/Dashboard/tileGridColumn.spec.ts +1 -1
  112. package/src/components/DashboardBuilder/AddTileDialog.tsx +247 -0
  113. package/src/components/DashboardBuilder/BuilderToolbar.tsx +162 -0
  114. package/src/components/DashboardBuilder/DashboardBuilder.spec.tsx +852 -0
  115. package/src/components/DashboardBuilder/DashboardBuilder.tsx +666 -0
  116. package/src/components/DashboardBuilder/DashboardEditor.package.spec.tsx +163 -0
  117. package/src/components/DashboardBuilder/DashboardEditor.spec.tsx +188 -0
  118. package/src/components/DashboardBuilder/DashboardEditor.tsx +567 -0
  119. package/src/components/DashboardBuilder/DiffDialog.tsx +122 -0
  120. package/src/components/DashboardBuilder/DrillDialog.tsx +269 -0
  121. package/src/components/DashboardBuilder/FilterDialog.tsx +562 -0
  122. package/src/components/DashboardBuilder/FilterStrip.tsx +126 -0
  123. package/src/components/DashboardBuilder/SettingsPopover.tsx +168 -0
  124. package/src/components/DashboardBuilder/TileFrame.tsx +380 -0
  125. package/src/components/DashboardBuilder/TileMenu.tsx +188 -0
  126. package/src/components/DashboardBuilder/catalog.spec.ts +215 -0
  127. package/src/components/DashboardBuilder/catalog.ts +225 -0
  128. package/src/components/DashboardBuilder/controls.spec.ts +243 -0
  129. package/src/components/DashboardBuilder/controls.ts +398 -0
  130. package/src/components/DashboardBuilder/diff.spec.ts +44 -0
  131. package/src/components/DashboardBuilder/diff.ts +93 -0
  132. package/src/components/DashboardBuilder/document.ts +209 -0
  133. package/src/components/DashboardBuilder/keepRowStructure.spec.ts +84 -0
  134. package/src/components/DashboardBuilder/layout.ts +143 -0
  135. package/src/components/DashboardBuilder/malloyText.spec.ts +84 -0
  136. package/src/components/DashboardBuilder/malloyText.ts +151 -0
  137. package/src/components/DashboardBuilder/moveIntoGap.spec.ts +90 -0
  138. package/src/components/DashboardBuilder/newDashboard.spec.ts +40 -0
  139. package/src/components/DashboardBuilder/newDashboard.ts +48 -0
  140. package/src/components/DashboardBuilder/preview.spec.ts +149 -0
  141. package/src/components/DashboardBuilder/preview.ts +172 -0
  142. package/src/components/DashboardBuilder/readDocument.spec.ts +375 -0
  143. package/src/components/DashboardBuilder/readDocument.ts +467 -0
  144. package/src/components/DashboardBuilder/sortable.tsx +151 -0
  145. package/src/components/DashboardBuilder/spliceDocument.spec.ts +1161 -0
  146. package/src/components/DashboardBuilder/spliceDocument.ts +1135 -0
  147. package/src/components/DashboardBuilder/testing/fixtures.ts +48 -0
  148. package/src/components/DashboardBuilder/useBuilderShortcuts.ts +88 -0
  149. package/src/components/DashboardBuilder/useDashboardEditor.spec.ts +311 -0
  150. package/src/components/DashboardBuilder/useDashboardEditor.ts +201 -0
  151. package/src/components/DashboardBuilder/useDraft.ts +43 -0
  152. package/src/components/DashboardBuilder/useFilterForm.spec.tsx +144 -0
  153. package/src/components/DashboardBuilder/useFilterForm.ts +352 -0
  154. package/src/components/DashboardBuilder/useTileReorder.spec.tsx +97 -0
  155. package/src/components/DashboardBuilder/useTileReorder.ts +115 -0
  156. package/src/components/DashboardBuilder/useTileResize.spec.tsx +121 -0
  157. package/src/components/DashboardBuilder/useTileResize.ts +110 -0
  158. package/src/components/DashboardBuilder/withGaps.spec.ts +96 -0
  159. package/src/components/DocumentStorage/DocumentStorageProvider.tsx +12 -0
  160. package/src/components/DocumentStorage/index.ts +1 -0
  161. package/src/components/Environment/About.tsx +16 -62
  162. package/src/components/Environment/AddPackageDialog.tsx +85 -154
  163. package/src/components/Environment/Connections.tsx +125 -205
  164. package/src/components/Environment/DeletePackageDialog.tsx +32 -77
  165. package/src/components/Environment/EditPackageDialog.tsx +46 -58
  166. package/src/components/Environment/Environment.tsx +34 -36
  167. package/src/components/Environment/Packages.tsx +63 -128
  168. package/src/components/FloatingIconButton.tsx +41 -0
  169. package/src/components/Home/AddEnvironmentDialog.tsx +47 -70
  170. package/src/components/Home/DeleteEnvironmentDialog.tsx +32 -77
  171. package/src/components/Home/EditEnvironmentDialog.tsx +47 -61
  172. package/src/components/Home/Home.tsx +101 -214
  173. package/src/components/ItemRow.tsx +165 -0
  174. package/src/components/Materializations/CreateMaterializationDialog.tsx +34 -51
  175. package/src/components/Materializations/DeleteMaterializationDialog.tsx +31 -53
  176. package/src/components/Materializations/MaterializationDetailDialog.tsx +60 -69
  177. package/src/components/Materializations/MaterializationRunsList.tsx +29 -42
  178. package/src/components/Materializations/Materializations.tsx +137 -140
  179. package/src/components/Materializations/ScopeButton.tsx +85 -0
  180. package/src/components/Materializations/SectionLabel.tsx +7 -4
  181. package/src/components/Materializations/SetScheduleDialog.tsx +48 -89
  182. package/src/components/Materializations/TriggerLabel.tsx +36 -0
  183. package/src/components/Materializations/cron.spec.ts +113 -0
  184. package/src/components/Materializations/index.ts +0 -1
  185. package/src/components/Materializations/utils.spec.ts +182 -0
  186. package/src/components/Model/Model.tsx +6 -23
  187. package/src/components/Model/ModelCell.tsx +33 -72
  188. package/src/components/Notebook/Notebook.tsx +25 -88
  189. package/src/components/Notebook/NotebookCell.tsx +35 -183
  190. package/src/components/Package/ContentTypeIcon.spec.ts +22 -37
  191. package/src/components/Package/ContentTypeIcon.tsx +10 -12
  192. package/src/components/Package/NewDashboardDialog.spec.tsx +129 -0
  193. package/src/components/Package/NewDashboardDialog.tsx +265 -0
  194. package/src/components/Package/Package.tsx +179 -238
  195. package/src/components/Package/index.ts +0 -1
  196. package/src/components/PackageSection.tsx +85 -0
  197. package/src/components/Prose.spec.tsx +85 -0
  198. package/src/components/Prose.tsx +179 -0
  199. package/src/components/QueryResult/QueryResult.tsx +15 -43
  200. package/src/components/RenderedResult/RenderedResult.lifecycle.spec.tsx +198 -0
  201. package/src/components/RenderedResult/RenderedResult.tsx +22 -8
  202. package/src/components/RenderedResult/ResultContainer.tsx +4 -12
  203. package/src/components/RenderedResult/ResultPanel.spec.tsx +49 -0
  204. package/src/components/RenderedResult/ResultPanel.tsx +73 -0
  205. package/src/components/RenderedResult/index.ts +1 -0
  206. package/src/components/ResultsDialog.tsx +8 -32
  207. package/src/components/buttons.tsx +114 -0
  208. package/src/components/designSystem.spec.tsx +316 -0
  209. package/src/components/drill/index.ts +1 -0
  210. package/src/components/drill/resolveDrill.ts +22 -1
  211. package/src/components/drill/useDrill.spec.tsx +94 -0
  212. package/src/components/drill/useDrill.tsx +52 -12
  213. package/src/components/given/GivensPanel.tsx +1 -1
  214. package/src/components/given/paramCodec.spec.ts +1 -1
  215. package/src/components/index.ts +16 -0
  216. package/src/components/styles.ts +49 -122
  217. package/src/hooks/index.ts +13 -0
  218. package/src/hooks/useCrudMutation.spec.tsx +119 -0
  219. package/src/hooks/useCrudMutation.tsx +85 -0
  220. package/src/hooks/useDocumentControls.ts +170 -0
  221. package/src/hooks/useQueryResult.ts +82 -0
  222. package/src/index.ts +9 -0
  223. package/src/telemetry/consoleEvents.spec.ts +130 -0
  224. package/src/telemetry/consoleEvents.ts +124 -0
  225. package/src/theme/defaults.ts +34 -23
  226. package/src/theme/resolveTheme.spec.ts +9 -4
  227. package/src/theme/resolveTheme.ts +12 -8
  228. package/src/utils/malloyLiteral.spec.ts +43 -0
  229. package/src/utils/malloyLiteral.ts +76 -0
  230. package/src/utils/sha256.ts +13 -0
  231. package/test/README.md +1 -1
  232. package/test/serverProvider.tsx +5 -2
  233. package/vite.config.ts +5 -0
  234. package/dist/ServerProvider-CGnLjzag.cjs.js +0 -1
  235. package/dist/components/Materializations/CreateEnvMaterializationDialog.d.ts +0 -14
  236. package/dist/components/Materializations/EnvironmentMaterializations.d.ts +0 -7
  237. package/dist/components/Materializations/ScheduleCard.d.ts +0 -20
  238. package/dist/components/Materializations/TriggerChip.d.ts +0 -10
  239. package/dist/components/Package/Models.d.ts +0 -6
  240. package/src/components/Materializations/CreateEnvMaterializationDialog.tsx +0 -179
  241. package/src/components/Materializations/EnvironmentMaterializations.tsx +0 -267
  242. package/src/components/Materializations/ScheduleCard.tsx +0 -231
  243. package/src/components/Materializations/TriggerChip.tsx +0 -44
  244. package/src/components/Package/Models.tsx +0 -71
@@ -1,79 +1,292 @@
1
1
  import { jsx as F } from "react/jsx-runtime";
2
- import { QueryClient as ce, QueryClientProvider as ie, useQuery as de } from "@tanstack/react-query";
3
- import h from "axios";
4
- import { useMemo as f, createContext as G, useContext as Y, useState as _, useEffect as pe, useCallback as me } from "react";
5
- import { styled as y, Card as J, CardContent as K, CardMedia as he } from "@mui/material";
6
- const ue = new ce({
7
- defaultOptions: {
8
- queries: {
9
- retry: !1,
10
- throwOnError: !1
2
+ import { QueryClient as se, QueryClientProvider as le, useQuery as ce } from "@tanstack/react-query";
3
+ import m from "axios";
4
+ import { useMemo as B, createContext as G, useContext as Y, useState as _, useEffect as ie, useCallback as de } from "react";
5
+ import { styled as x, Card as pe, CardContent as he, CardMedia as me } from "@mui/material";
6
+ const C = {
7
+ blue: "#2563eb",
8
+ indigo: "#4f46e5",
9
+ violet: "#7c3aed",
10
+ pink: "#be185d",
11
+ red: "#dc2626",
12
+ orange: "#c2410c",
13
+ amber: "#b45309",
14
+ lime: "#4d7c0f",
15
+ emerald: "#059669",
16
+ teal: "#0f766e",
17
+ cyan: "#0e7490",
18
+ slate: "#475569"
19
+ }, aa = {
20
+ environment: C.emerald,
21
+ package: C.teal,
22
+ connection: C.orange
23
+ }, ta = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', ra = x(pe)({
24
+ display: "flex",
25
+ flexDirection: "column",
26
+ height: "100%",
27
+ boxShadow: "none",
28
+ border: "none",
29
+ backgroundColor: "transparent"
30
+ }), na = x(he)({
31
+ display: "flex",
32
+ flexDirection: "column",
33
+ padding: "0",
34
+ flexGrow: 1
35
+ }), oa = x(me)({
36
+ padding: "0"
37
+ }), sa = x("div")(({ theme: l }) => ({
38
+ backgroundColor: l.palette.background.default,
39
+ padding: "0 8px 0px 8px",
40
+ borderRadius: "12px",
41
+ boxShadow: "none",
42
+ border: "none",
43
+ maxWidth: "1200px",
44
+ margin: "0 auto"
45
+ })), la = x("div")({
46
+ marginBottom: "48px",
47
+ padding: "0",
48
+ backgroundColor: "transparent",
49
+ border: "none",
50
+ boxShadow: "none"
51
+ }), ca = x("div")({
52
+ backgroundColor: "transparent",
53
+ paddingTop: "12px",
54
+ paddingBottom: "2px",
55
+ borderRadius: "8px",
56
+ border: "none",
57
+ boxShadow: "none",
58
+ marginBottom: "0"
59
+ }), ia = x("div")({
60
+ height: "100%"
61
+ }), da = x("div")({
62
+ height: "75vh",
63
+ width: "100%",
64
+ overflowY: "auto"
65
+ }), ue = [
66
+ C.blue,
67
+ C.orange,
68
+ C.emerald,
69
+ C.pink,
70
+ C.violet,
71
+ C.amber,
72
+ C.cyan,
73
+ C.lime
74
+ ], ge = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", W = {
75
+ defaultMode: "light",
76
+ allowUserToggle: !0,
77
+ palette: {
78
+ series: ue,
79
+ background: {
80
+ light: "#ffffff",
81
+ // Slate to match the Publisher app's sidebar surface so
82
+ // rendered charts sit on the same elevation as the chrome
83
+ // around them.
84
+ dark: "#1e293b"
11
85
  },
12
- mutations: {
13
- retry: !1,
14
- throwOnError: !1
86
+ tableHeader: {
87
+ light: "#475569",
88
+ dark: "#cbd5e1"
89
+ },
90
+ // Background of the table header row, independent of the
91
+ // tile (dashboard tile container) so the operator can theme
92
+ // the header band on its own.
93
+ tableHeaderBackground: {
94
+ light: "#f8fafc",
95
+ dark: "#1e293b"
96
+ },
97
+ tableBody: {
98
+ light: "#475569",
99
+ dark: "#e2e8f0"
100
+ },
101
+ // The padded container that wraps each chart / table in a
102
+ // dashboard. Light mode: a faint recess off white; dark mode:
103
+ // page-outer slate.
104
+ //
105
+ // Neutral slate, not a tint. This was `#f5fafc`, a cyan-cast
106
+ // near-white left from the logo palette, and it was the most visible
107
+ // survivor of it: every dashboard on the server painted a pale blue
108
+ // panel behind its tiles, under charts that were no longer blue-green.
109
+ tile: {
110
+ light: "#f8fafc",
111
+ dark: "#0f172a"
112
+ },
113
+ tileTitle: {
114
+ light: "#475569",
115
+ dark: "#94a3b8"
116
+ },
117
+ // Saturated end of the choropleth / heatmap gradient. The renderer
118
+ // pairs this with a near-neutral low end. Matches the first series
119
+ // colour, so a map and a chart on one page ramp to the same hue.
120
+ mapColor: {
121
+ light: C.blue,
122
+ dark: C.blue
15
123
  }
124
+ },
125
+ font: {
126
+ family: ge,
127
+ size: 12
16
128
  }
17
- }), aa = {
18
- staleTime: 300 * 1e3,
19
- refetchOnWindowFocus: !1,
20
- refetchOnReconnect: !1
21
- }, u = "http://localhost/api/v0".replace(/\/+$/, "");
129
+ }, Pe = [
130
+ "background",
131
+ "tableHeader",
132
+ "tableHeaderBackground",
133
+ "tableBody",
134
+ "tile",
135
+ "tileTitle",
136
+ "mapColor"
137
+ ];
138
+ function J(l, n) {
139
+ const e = W.palette ?? {}, r = W.font ?? {
140
+ family: "sans-serif",
141
+ size: 12
142
+ };
143
+ let a = [...e.series ?? []], t = r.family ?? "sans-serif", o = r.size ?? 12;
144
+ const s = {
145
+ background: { ...e.background ?? {} },
146
+ tableHeader: { ...e.tableHeader ?? {} },
147
+ tableHeaderBackground: {
148
+ ...e.tableHeaderBackground ?? {}
149
+ },
150
+ tableBody: { ...e.tableBody ?? {} },
151
+ tile: { ...e.tile ?? {} },
152
+ tileTitle: { ...e.tileTitle ?? {} },
153
+ mapColor: { ...e.mapColor ?? {} }
154
+ };
155
+ for (const p of l)
156
+ if (p) {
157
+ Array.isArray(p.palette?.series) && (a = [...p.palette.series]);
158
+ for (const u of Pe) {
159
+ const k = p.palette?.[u];
160
+ k && (s[u] = { ...s[u], ...k });
161
+ }
162
+ typeof p.font?.family == "string" && (t = p.font.family), typeof p.font?.size == "number" && (o = p.font.size);
163
+ }
164
+ const c = n === "dark", i = (p) => s[p][n] ?? e[p]?.[n], d = i("background");
165
+ return {
166
+ mode: n,
167
+ series: a,
168
+ font: { family: t, size: o },
169
+ background: d,
170
+ tableHeader: i("tableHeader"),
171
+ tableHeaderBackground: i("tableHeaderBackground"),
172
+ tableBody: i("tableBody"),
173
+ tile: i("tile"),
174
+ tileTitle: i("tileTitle"),
175
+ mapColor: i("mapColor"),
176
+ // Table interior follows the operator's chart background so
177
+ // tables and chart canvases share a single "viz surface" colour.
178
+ tableBackground: d,
179
+ // Derived, mode-keyed defaults. Operators don't edit these in
180
+ // v1; they're consistent borders / readable foreground text for
181
+ // each mode. If a user later asks to customise them, expose them
182
+ // on the schema and the editor and replace the literals below.
183
+ border: c ? "1px solid #334155" : "1px solid #e2e8f0",
184
+ // Slate, not the teal-cast `#daedf3` this was: a pinned table header
185
+ // outlined in a hue no longer anywhere else on the page.
186
+ pinnedBorder: c ? "1px solid #475569" : "1px solid #cbd5e1",
187
+ valueColor: c ? "#f1f5f9" : "#0f172a",
188
+ foreground: c ? "#e2e8f0" : "#0f172a",
189
+ axisFaint: c ? "#475569" : "#cbd5e1",
190
+ // Dashboard panel background (area BETWEEN tiles). Light keeps
191
+ // white so the page stays visually unchanged. Dark uses slate so
192
+ // the panel doesn't read as a bright box against the dark page
193
+ // chrome. Intentionally NOT tied to `palette.background`: the
194
+ // panel stays neutral so a bold accent on the chart canvas
195
+ // doesn't bleed into the surrounding chrome.
196
+ dashboardRoot: c ? "#1e293b" : "#ffffff",
197
+ // Drill link hover: the palette's anchor blue, so a drill reads as the
198
+ // same affordance as every other primary action; dark lightens it for
199
+ // contrast on the slate panel.
200
+ drillLink: c ? "#60a5fa" : C.blue
201
+ };
202
+ }
203
+ function be(l, n, e) {
204
+ const r = n ?? l ?? "light";
205
+ return r === "auto" ? e ? "dark" : "light" : r;
206
+ }
207
+ const K = G(void 0);
208
+ function Ve({
209
+ layers: l,
210
+ mode: n,
211
+ userChoice: e,
212
+ setMode: r,
213
+ allowUserToggle: a = !0,
214
+ children: t
215
+ }) {
216
+ const o = B(() => J(l, n), [l, n]), s = B(
217
+ () => ({ theme: o, layers: l, mode: n, userChoice: e, setMode: r, allowUserToggle: a }),
218
+ [o, l, n, e, r, a]
219
+ );
220
+ return /* @__PURE__ */ F(K.Provider, { value: s, children: t });
221
+ }
222
+ function pa() {
223
+ const l = Y(K);
224
+ return l || {
225
+ theme: J([], "light"),
226
+ layers: [],
227
+ mode: "light",
228
+ userChoice: void 0,
229
+ setMode: () => {
230
+ },
231
+ allowUserToggle: !1
232
+ };
233
+ }
234
+ const g = "http://localhost/api/v0".replace(/\/+$/, "");
22
235
  class I {
23
- constructor(n, e = u, t = h) {
24
- this.basePath = e, this.axios = t, n && (this.configuration = n, this.basePath = n.basePath ?? e);
236
+ constructor(n, e = g, r = m) {
237
+ this.basePath = e, this.axios = r, n && (this.configuration = n, this.basePath = n.basePath ?? e);
25
238
  }
26
239
  configuration;
27
240
  }
28
- class ge extends Error {
241
+ class ve extends Error {
29
242
  constructor(n, e) {
30
243
  super(e), this.field = n, this.name = "RequiredError";
31
244
  }
32
245
  }
33
- const g = {}, b = "https://example.com", m = function(l, n, e) {
246
+ const P = {}, b = "https://example.com", h = function(l, n, e) {
34
247
  if (e == null)
35
- throw new ge(n, `Required parameter ${n} was null or undefined when calling ${l}.`);
248
+ throw new ve(n, `Required parameter ${n} was null or undefined when calling ${l}.`);
36
249
  };
37
- function q(l, n, e = "") {
38
- n != null && (typeof n == "object" ? Array.isArray(n) ? n.forEach((t) => q(l, t, e)) : Object.keys(n).forEach(
39
- (t) => q(l, n[t], `${e}${e !== "" ? "." : ""}${t}`)
250
+ function z(l, n, e = "") {
251
+ n != null && (typeof n == "object" ? Array.isArray(n) ? n.forEach((r) => z(l, r, e)) : Object.keys(n).forEach(
252
+ (r) => z(l, n[r], `${e}${e !== "" ? "." : ""}${r}`)
40
253
  ) : l.has(e) ? l.append(e, n) : l.set(e, n));
41
254
  }
42
- const P = function(l, ...n) {
255
+ const V = function(l, ...n) {
43
256
  const e = new URLSearchParams(l.search);
44
- q(e, n), l.search = e.toString();
45
- }, k = function(l, n, e) {
46
- const t = typeof l != "string";
47
- return (t && e && e.isJsonMime ? e.isJsonMime(n.headers["Content-Type"]) : t) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
257
+ z(e, n), l.search = e.toString();
258
+ }, S = function(l, n, e) {
259
+ const r = typeof l != "string";
260
+ return (r && e && e.isJsonMime ? e.isJsonMime(n.headers["Content-Type"]) : r) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
48
261
  }, v = function(l) {
49
262
  return l.pathname + l.search + l.hash;
50
- }, V = function(l, n, e, t) {
51
- return (a = n, r = e) => {
52
- const o = { ...l.options, url: (a.defaults.baseURL ? "" : t?.basePath ?? r) + l.url };
263
+ }, O = function(l, n, e, r) {
264
+ return (a = n, t = e) => {
265
+ const o = { ...l.options, url: (a.defaults.baseURL ? "" : r?.basePath ?? t) + l.url };
53
266
  return a.request(o);
54
267
  };
55
- }, ta = {
268
+ }, ha = {
56
269
  Bigquery: "bigquery",
57
270
  Snowflake: "snowflake",
58
271
  Postgres: "postgres",
59
272
  Gcs: "gcs",
60
273
  S3: "s3",
61
274
  Azure: "azure"
62
- }, ra = {
275
+ }, ma = {
63
276
  ServicePrincipal: "service_principal",
64
277
  SasToken: "sas_token"
65
- }, na = {
278
+ }, ua = {
66
279
  Error: "error",
67
280
  Warn: "warn",
68
281
  Debug: "debug"
69
- }, oa = {
282
+ }, ga = {
70
283
  Append: "append",
71
284
  File: "file",
72
285
  Package: "package"
73
- }, sa = {
286
+ }, Pa = {
74
287
  Success: "success",
75
288
  Error: "error"
76
- }, la = {
289
+ }, ba = {
77
290
  Postgres: "postgres",
78
291
  Bigquery: "bigquery",
79
292
  Snowflake: "snowflake",
@@ -84,131 +297,131 @@ const P = function(l, ...n) {
84
297
  Motherduck: "motherduck",
85
298
  Ducklake: "ducklake",
86
299
  Publisher: "publisher"
87
- }, ca = {
300
+ }, Va = {
88
301
  Ssh: "ssh"
89
- }, ia = {
302
+ }, va = {
90
303
  Ok: "ok",
91
304
  Failed: "failed"
92
- }, da = {
305
+ }, Oa = {
93
306
  Viewport: "viewport"
94
- }, pa = {
307
+ }, Sa = {
95
308
  Embedded: "embedded",
96
309
  Materialized: "materialized"
97
- }, ma = {
310
+ }, ya = {
98
311
  Equal: "equal",
99
312
  In: "in",
100
313
  Like: "like",
101
314
  GreaterThan: "greater_than",
102
315
  LessThan: "less_than"
103
- }, ha = {
316
+ }, ka = {
104
317
  Live: "live",
105
318
  StaleOk: "stale_ok",
106
319
  Fail: "fail"
107
- }, ua = {
320
+ }, Ca = {
108
321
  Select: "select",
109
322
  Multiselect: "multiselect"
110
- }, ga = {
323
+ }, Ia = {
111
324
  Merge: "merge",
112
325
  RangeReplace: "range_replace"
113
- }, ba = {
326
+ }, Aa = {
114
327
  Debug: "debug",
115
328
  Info: "info",
116
329
  Warn: "warn",
117
330
  Error: "error"
118
- }, Pa = {
331
+ }, xa = {
119
332
  Persist: "persist",
120
333
  Preaggregate: "preaggregate"
121
- }, va = {
334
+ }, Ra = {
122
335
  Live: "live",
123
336
  StaleOk: "stale_ok",
124
337
  Fail: "fail"
125
- }, Va = {
338
+ }, Na = {
126
339
  Delta: "delta",
127
340
  Full: "full",
128
341
  None: "none"
129
- }, Oa = {
342
+ }, Ta = {
130
343
  Pending: "PENDING",
131
344
  ManifestRowsReady: "MANIFEST_ROWS_READY",
132
345
  ManifestFileReady: "MANIFEST_FILE_READY",
133
346
  Failed: "FAILED",
134
347
  Cancelled: "CANCELLED"
135
- }, Sa = {
348
+ }, Ua = {
136
349
  Markdown: "markdown",
137
350
  Code: "code"
138
- }, ka = {
351
+ }, wa = {
139
352
  Markdown: "markdown",
140
353
  Code: "code"
141
- }, ya = {
354
+ }, Ea = {
142
355
  Version: "version",
143
356
  Package: "package"
144
- }, Ca = {
357
+ }, Ma = {
145
358
  Declared: "declared",
146
359
  All: "all"
147
- }, Ia = {
360
+ }, fa = {
148
361
  Unbound: "unbound",
149
362
  Bound: "bound",
150
363
  LiveFallback: "live_fallback"
151
- }, xa = {
364
+ }, Ba = {
152
365
  Indexing: "indexing",
153
366
  Ready: "ready",
154
367
  Cooldown: "cooldown",
155
368
  TooManyEntities: "too-many-entities"
156
- }, Aa = {
369
+ }, Fa = {
157
370
  Persist: "persist",
158
371
  Preaggregate: "preaggregate"
159
- }, Ra = {
372
+ }, Qa = {
160
373
  Error: "error",
161
374
  Warn: "warn"
162
- }, Na = {
375
+ }, $a = {
163
376
  Persist: "persist",
164
377
  Preaggregate: "preaggregate"
165
- }, Ta = {
378
+ }, qa = {
166
379
  Disable: "disable",
167
380
  NoVerify: "no-verify",
168
381
  VerifyCa: "verify-ca",
169
382
  VerifyFull: "verify-full"
170
- }, Ua = {
383
+ }, za = {
171
384
  Interactive: "interactive",
172
385
  Materialize: "materialize",
173
386
  Index: "index",
174
387
  Ops: "ops"
175
- }, Ea = {
388
+ }, Da = {
176
389
  Query: "query",
177
390
  ServerDefault: "server_default"
178
- }, wa = {
391
+ }, La = {
179
392
  Storage: "storage",
180
393
  LiveFallback: "live_fallback"
181
- }, Ma = {
394
+ }, ja = {
182
395
  Snapshot: "SNAPSHOT",
183
396
  Copy: "COPY"
184
- }, fa = {
397
+ }, Ha = {
185
398
  Storage: "storage",
186
399
  Colocated: "colocated",
187
400
  Preaggregate: "preaggregate"
188
- }, Ba = {
401
+ }, _a = {
189
402
  FreeParameter: "free_parameter",
190
403
  Given: "given",
191
404
  Authorize: "authorize",
192
405
  Partition: "partition",
193
406
  NotDuckdbPortable: "not_duckdb_portable",
194
407
  PublicSurfaceUnknown: "public_surface_unknown"
195
- }, Fa = {
408
+ }, Wa = {
196
409
  Publish: "publish",
197
410
  OnDemand: "on_demand",
198
411
  Scheduler: "scheduler"
199
- }, Qa = {
412
+ }, Ga = {
200
413
  Config: "config",
201
414
  CredentialChain: "credential_chain"
202
- }, $a = {
415
+ }, Ya = {
203
416
  Initializing: "initializing",
204
417
  Serving: "serving",
205
418
  Draining: "draining",
206
419
  Throttled: "throttled"
207
- }, za = {
420
+ }, Ja = {
208
421
  Light: "light",
209
422
  Dark: "dark",
210
423
  Auto: "auto"
211
- }, be = function(l) {
424
+ }, Oe = function(l) {
212
425
  return {
213
426
  /**
214
427
  * Creates a new database connection in the specified environment.
@@ -219,15 +432,15 @@ const P = function(l, ...n) {
219
432
  * @param {*} [options] Override http request option.
220
433
  * @throws {RequiredError}
221
434
  */
222
- createConnection: async (n, e, t, a = {}) => {
223
- m("createConnection", "environmentName", n), m("createConnection", "connectionName", e), m("createConnection", "connection", t);
224
- const r = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, b);
435
+ createConnection: async (n, e, r, a = {}) => {
436
+ h("createConnection", "environmentName", n), h("createConnection", "connectionName", e), h("createConnection", "connection", r);
437
+ const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
225
438
  let s;
226
439
  l && (s = l.baseOptions);
227
440
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
228
- i["Content-Type"] = "application/json", P(o, d);
441
+ i["Content-Type"] = "application/json", V(o, d);
229
442
  let p = s && s.headers ? s.headers : {};
230
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
443
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = S(r, c, l), {
231
444
  url: v(o),
232
445
  options: c
233
446
  };
@@ -240,16 +453,16 @@ const P = function(l, ...n) {
240
453
  * @param {*} [options] Override http request option.
241
454
  * @throws {RequiredError}
242
455
  */
243
- deleteConnection: async (n, e, t = {}) => {
244
- m("deleteConnection", "environmentName", n), m("deleteConnection", "connectionName", e);
245
- const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, b);
456
+ deleteConnection: async (n, e, r = {}) => {
457
+ h("deleteConnection", "environmentName", n), h("deleteConnection", "connectionName", e);
458
+ const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), t = new URL(a, b);
246
459
  let o;
247
460
  l && (o = l.baseOptions);
248
- const s = { method: "DELETE", ...o, ...t }, c = {};
249
- P(r, {});
461
+ const s = { method: "DELETE", ...o, ...r }, c = {};
462
+ V(t, {});
250
463
  let d = o && o.headers ? o.headers : {};
251
- return s.headers = { ...c, ...d, ...t.headers }, {
252
- url: v(r),
464
+ return s.headers = { ...c, ...d, ...r.headers }, {
465
+ url: v(t),
253
466
  options: s
254
467
  };
255
468
  },
@@ -261,16 +474,16 @@ const P = function(l, ...n) {
261
474
  * @param {*} [options] Override http request option.
262
475
  * @throws {RequiredError}
263
476
  */
264
- getConnection: async (n, e, t = {}) => {
265
- m("getConnection", "environmentName", n), m("getConnection", "connectionName", e);
266
- const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, b);
477
+ getConnection: async (n, e, r = {}) => {
478
+ h("getConnection", "environmentName", n), h("getConnection", "connectionName", e);
479
+ const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), t = new URL(a, b);
267
480
  let o;
268
481
  l && (o = l.baseOptions);
269
- const s = { method: "GET", ...o, ...t }, c = {};
270
- P(r, {});
482
+ const s = { method: "GET", ...o, ...r }, c = {};
483
+ V(t, {});
271
484
  let d = o && o.headers ? o.headers : {};
272
- return s.headers = { ...c, ...d, ...t.headers }, {
273
- url: v(r),
485
+ return s.headers = { ...c, ...d, ...r.headers }, {
486
+ url: v(t),
274
487
  options: s
275
488
  };
276
489
  },
@@ -284,15 +497,15 @@ const P = function(l, ...n) {
284
497
  * @param {*} [options] Override http request option.
285
498
  * @throws {RequiredError}
286
499
  */
287
- getTable: async (n, e, t, a, r = {}) => {
288
- m("getTable", "environmentName", n), m("getTable", "connectionName", e), m("getTable", "schemaName", t), m("getTable", "tablePath", a);
289
- const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))).replace("{tablePath}", encodeURIComponent(String(a))), s = new URL(o, b);
500
+ getTable: async (n, e, r, a, t = {}) => {
501
+ h("getTable", "environmentName", n), h("getTable", "connectionName", e), h("getTable", "schemaName", r), h("getTable", "tablePath", a);
502
+ const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))).replace("{tablePath}", encodeURIComponent(String(a))), s = new URL(o, b);
290
503
  let c;
291
504
  l && (c = l.baseOptions);
292
- const i = { method: "GET", ...c, ...r }, d = {};
293
- P(s, {});
294
- let O = c && c.headers ? c.headers : {};
295
- return i.headers = { ...d, ...O, ...r.headers }, {
505
+ const i = { method: "GET", ...c, ...t }, d = {};
506
+ V(s, {});
507
+ let u = c && c.headers ? c.headers : {};
508
+ return i.headers = { ...d, ...u, ...t.headers }, {
296
509
  url: v(s),
297
510
  options: i
298
511
  };
@@ -308,15 +521,15 @@ const P = function(l, ...n) {
308
521
  * @param {*} [options] Override http request option.
309
522
  * @throws {RequiredError}
310
523
  */
311
- getTableInPackage: async (n, e, t, a, r, o = {}) => {
312
- m("getTableInPackage", "environmentName", n), m("getTableInPackage", "packageName", e), m("getTableInPackage", "connectionName", t), m("getTableInPackage", "schemaName", a), m("getTableInPackage", "tablePath", r);
313
- const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))).replace("{schemaName}", encodeURIComponent(String(a))).replace("{tablePath}", encodeURIComponent(String(r))), c = new URL(s, b);
524
+ getTableInPackage: async (n, e, r, a, t, o = {}) => {
525
+ h("getTableInPackage", "environmentName", n), h("getTableInPackage", "packageName", e), h("getTableInPackage", "connectionName", r), h("getTableInPackage", "schemaName", a), h("getTableInPackage", "tablePath", t);
526
+ const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(r))).replace("{schemaName}", encodeURIComponent(String(a))).replace("{tablePath}", encodeURIComponent(String(t))), c = new URL(s, b);
314
527
  let i;
315
528
  l && (i = l.baseOptions);
316
529
  const d = { method: "GET", ...i, ...o }, p = {};
317
- P(c, {});
318
- let C = i && i.headers ? i.headers : {};
319
- return d.headers = { ...p, ...C, ...o.headers }, {
530
+ V(c, {});
531
+ let k = i && i.headers ? i.headers : {};
532
+ return d.headers = { ...p, ...k, ...o.headers }, {
320
533
  url: v(c),
321
534
  options: d
322
535
  };
@@ -329,13 +542,13 @@ const P = function(l, ...n) {
329
542
  * @throws {RequiredError}
330
543
  */
331
544
  listConnections: async (n, e = {}) => {
332
- m("listConnections", "environmentName", n);
333
- const t = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, b);
334
- let r;
335
- l && (r = l.baseOptions);
336
- const o = { method: "GET", ...r, ...e }, s = {};
337
- P(a, {});
338
- let i = r && r.headers ? r.headers : {};
545
+ h("listConnections", "environmentName", n);
546
+ const r = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(r, b);
547
+ let t;
548
+ l && (t = l.baseOptions);
549
+ const o = { method: "GET", ...t, ...e }, s = {};
550
+ V(a, {});
551
+ let i = t && t.headers ? t.headers : {};
339
552
  return o.headers = { ...s, ...i, ...e.headers }, {
340
553
  url: v(a),
341
554
  options: o
@@ -349,16 +562,16 @@ const P = function(l, ...n) {
349
562
  * @param {*} [options] Override http request option.
350
563
  * @throws {RequiredError}
351
564
  */
352
- listSchemas: async (n, e, t = {}) => {
353
- m("listSchemas", "environmentName", n), m("listSchemas", "connectionName", e);
354
- const a = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, b);
565
+ listSchemas: async (n, e, r = {}) => {
566
+ h("listSchemas", "environmentName", n), h("listSchemas", "connectionName", e);
567
+ const a = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), t = new URL(a, b);
355
568
  let o;
356
569
  l && (o = l.baseOptions);
357
- const s = { method: "GET", ...o, ...t }, c = {};
358
- P(r, {});
570
+ const s = { method: "GET", ...o, ...r }, c = {};
571
+ V(t, {});
359
572
  let d = o && o.headers ? o.headers : {};
360
- return s.headers = { ...c, ...d, ...t.headers }, {
361
- url: v(r),
573
+ return s.headers = { ...c, ...d, ...r.headers }, {
574
+ url: v(t),
362
575
  options: s
363
576
  };
364
577
  },
@@ -371,13 +584,13 @@ const P = function(l, ...n) {
371
584
  * @param {*} [options] Override http request option.
372
585
  * @throws {RequiredError}
373
586
  */
374
- listSchemasInPackage: async (n, e, t, a = {}) => {
375
- m("listSchemasInPackage", "environmentName", n), m("listSchemasInPackage", "packageName", e), m("listSchemasInPackage", "connectionName", t);
376
- const r = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), o = new URL(r, b);
587
+ listSchemasInPackage: async (n, e, r, a = {}) => {
588
+ h("listSchemasInPackage", "environmentName", n), h("listSchemasInPackage", "packageName", e), h("listSchemasInPackage", "connectionName", r);
589
+ const t = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(r))), o = new URL(t, b);
377
590
  let s;
378
591
  l && (s = l.baseOptions);
379
592
  const c = { method: "GET", ...s, ...a }, i = {};
380
- P(o, {});
593
+ V(o, {});
381
594
  let p = s && s.headers ? s.headers : {};
382
595
  return c.headers = { ...i, ...p, ...a.headers }, {
383
596
  url: v(o),
@@ -394,15 +607,15 @@ const P = function(l, ...n) {
394
607
  * @param {*} [options] Override http request option.
395
608
  * @throws {RequiredError}
396
609
  */
397
- listTables: async (n, e, t, a, r = {}) => {
398
- m("listTables", "environmentName", n), m("listTables", "connectionName", e), m("listTables", "schemaName", t);
399
- const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))), s = new URL(o, b);
610
+ listTables: async (n, e, r, a, t = {}) => {
611
+ h("listTables", "environmentName", n), h("listTables", "connectionName", e), h("listTables", "schemaName", r);
612
+ const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))), s = new URL(o, b);
400
613
  let c;
401
614
  l && (c = l.baseOptions);
402
- const i = { method: "GET", ...c, ...r }, d = {}, p = {};
403
- a && (p.tableNames = a), P(s, p);
404
- let O = c && c.headers ? c.headers : {};
405
- return i.headers = { ...d, ...O, ...r.headers }, {
615
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
616
+ a && (p.tableNames = a), V(s, p);
617
+ let u = c && c.headers ? c.headers : {};
618
+ return i.headers = { ...d, ...u, ...t.headers }, {
406
619
  url: v(s),
407
620
  options: i
408
621
  };
@@ -418,15 +631,15 @@ const P = function(l, ...n) {
418
631
  * @param {*} [options] Override http request option.
419
632
  * @throws {RequiredError}
420
633
  */
421
- listTablesInPackage: async (n, e, t, a, r, o = {}) => {
422
- m("listTablesInPackage", "environmentName", n), m("listTablesInPackage", "packageName", e), m("listTablesInPackage", "connectionName", t), m("listTablesInPackage", "schemaName", a);
423
- const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))).replace("{schemaName}", encodeURIComponent(String(a))), c = new URL(s, b);
634
+ listTablesInPackage: async (n, e, r, a, t, o = {}) => {
635
+ h("listTablesInPackage", "environmentName", n), h("listTablesInPackage", "packageName", e), h("listTablesInPackage", "connectionName", r), h("listTablesInPackage", "schemaName", a);
636
+ const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(r))).replace("{schemaName}", encodeURIComponent(String(a))), c = new URL(s, b);
424
637
  let i;
425
638
  l && (i = l.baseOptions);
426
- const d = { method: "GET", ...i, ...o }, p = {}, O = {};
427
- r && (O.tableNames = r), P(c, O);
428
- let C = i && i.headers ? i.headers : {};
429
- return d.headers = { ...p, ...C, ...o.headers }, {
639
+ const d = { method: "GET", ...i, ...o }, p = {}, u = {};
640
+ t && (u.tableNames = t), V(c, u);
641
+ let k = i && i.headers ? i.headers : {};
642
+ return d.headers = { ...p, ...k, ...o.headers }, {
430
643
  url: v(c),
431
644
  options: d
432
645
  };
@@ -440,15 +653,15 @@ const P = function(l, ...n) {
440
653
  * @param {*} [options] Override http request option.
441
654
  * @throws {RequiredError}
442
655
  */
443
- postQuerydata: async (n, e, t, a = {}) => {
444
- m("postQuerydata", "environmentName", n), m("postQuerydata", "connectionName", e), m("postQuerydata", "postQuerydataRequest", t);
445
- const r = "/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, b);
656
+ postQuerydata: async (n, e, r, a = {}) => {
657
+ h("postQuerydata", "environmentName", n), h("postQuerydata", "connectionName", e), h("postQuerydata", "postQuerydataRequest", r);
658
+ const t = "/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
446
659
  let s;
447
660
  l && (s = l.baseOptions);
448
661
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
449
- i["Content-Type"] = "application/json", P(o, d);
662
+ i["Content-Type"] = "application/json", V(o, d);
450
663
  let p = s && s.headers ? s.headers : {};
451
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
664
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = S(r, c, l), {
452
665
  url: v(o),
453
666
  options: c
454
667
  };
@@ -463,15 +676,15 @@ const P = function(l, ...n) {
463
676
  * @param {*} [options] Override http request option.
464
677
  * @throws {RequiredError}
465
678
  */
466
- postQuerydataInPackage: async (n, e, t, a, r = {}) => {
467
- m("postQuerydataInPackage", "environmentName", n), m("postQuerydataInPackage", "packageName", e), m("postQuerydataInPackage", "connectionName", t), m("postQuerydataInPackage", "postQuerydataRequest", a);
468
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, b);
679
+ postQuerydataInPackage: async (n, e, r, a, t = {}) => {
680
+ h("postQuerydataInPackage", "environmentName", n), h("postQuerydataInPackage", "packageName", e), h("postQuerydataInPackage", "connectionName", r), h("postQuerydataInPackage", "postQuerydataRequest", a);
681
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(r))), s = new URL(o, b);
469
682
  let c;
470
683
  l && (c = l.baseOptions);
471
- const i = { method: "POST", ...c, ...r }, d = {}, p = {};
472
- d["Content-Type"] = "application/json", P(s, p);
473
- let O = c && c.headers ? c.headers : {};
474
- return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
684
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
685
+ d["Content-Type"] = "application/json", V(s, p);
686
+ let u = c && c.headers ? c.headers : {};
687
+ return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, l), {
475
688
  url: v(s),
476
689
  options: i
477
690
  };
@@ -485,15 +698,15 @@ const P = function(l, ...n) {
485
698
  * @param {*} [options] Override http request option.
486
699
  * @throws {RequiredError}
487
700
  */
488
- postSqlsource: async (n, e, t, a = {}) => {
489
- m("postSqlsource", "environmentName", n), m("postSqlsource", "connectionName", e), m("postSqlsource", "postSqlsourceRequest", t);
490
- const r = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, b);
701
+ postSqlsource: async (n, e, r, a = {}) => {
702
+ h("postSqlsource", "environmentName", n), h("postSqlsource", "connectionName", e), h("postSqlsource", "postSqlsourceRequest", r);
703
+ const t = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
491
704
  let s;
492
705
  l && (s = l.baseOptions);
493
706
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
494
- i["Content-Type"] = "application/json", P(o, d);
707
+ i["Content-Type"] = "application/json", V(o, d);
495
708
  let p = s && s.headers ? s.headers : {};
496
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
709
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = S(r, c, l), {
497
710
  url: v(o),
498
711
  options: c
499
712
  };
@@ -508,15 +721,15 @@ const P = function(l, ...n) {
508
721
  * @param {*} [options] Override http request option.
509
722
  * @throws {RequiredError}
510
723
  */
511
- postSqlsourceInPackage: async (n, e, t, a, r = {}) => {
512
- m("postSqlsourceInPackage", "environmentName", n), m("postSqlsourceInPackage", "packageName", e), m("postSqlsourceInPackage", "connectionName", t), m("postSqlsourceInPackage", "postSqlsourceRequest", a);
513
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, b);
724
+ postSqlsourceInPackage: async (n, e, r, a, t = {}) => {
725
+ h("postSqlsourceInPackage", "environmentName", n), h("postSqlsourceInPackage", "packageName", e), h("postSqlsourceInPackage", "connectionName", r), h("postSqlsourceInPackage", "postSqlsourceRequest", a);
726
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(r))), s = new URL(o, b);
514
727
  let c;
515
728
  l && (c = l.baseOptions);
516
- const i = { method: "POST", ...c, ...r }, d = {}, p = {};
517
- d["Content-Type"] = "application/json", P(s, p);
518
- let O = c && c.headers ? c.headers : {};
519
- return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
729
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
730
+ d["Content-Type"] = "application/json", V(s, p);
731
+ let u = c && c.headers ? c.headers : {};
732
+ return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, l), {
520
733
  url: v(s),
521
734
  options: i
522
735
  };
@@ -530,15 +743,15 @@ const P = function(l, ...n) {
530
743
  * @param {*} [options] Override http request option.
531
744
  * @throws {RequiredError}
532
745
  */
533
- postTemporarytable: async (n, e, t, a = {}) => {
534
- m("postTemporarytable", "environmentName", n), m("postTemporarytable", "connectionName", e), m("postTemporarytable", "postSqlsourceRequest", t);
535
- const r = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, b);
746
+ postTemporarytable: async (n, e, r, a = {}) => {
747
+ h("postTemporarytable", "environmentName", n), h("postTemporarytable", "connectionName", e), h("postTemporarytable", "postSqlsourceRequest", r);
748
+ const t = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
536
749
  let s;
537
750
  l && (s = l.baseOptions);
538
751
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
539
- i["Content-Type"] = "application/json", P(o, d);
752
+ i["Content-Type"] = "application/json", V(o, d);
540
753
  let p = s && s.headers ? s.headers : {};
541
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
754
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = S(r, c, l), {
542
755
  url: v(o),
543
756
  options: c
544
757
  };
@@ -553,15 +766,15 @@ const P = function(l, ...n) {
553
766
  * @param {*} [options] Override http request option.
554
767
  * @throws {RequiredError}
555
768
  */
556
- postTemporarytableInPackage: async (n, e, t, a, r = {}) => {
557
- m("postTemporarytableInPackage", "environmentName", n), m("postTemporarytableInPackage", "packageName", e), m("postTemporarytableInPackage", "connectionName", t), m("postTemporarytableInPackage", "postSqlsourceRequest", a);
558
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, b);
769
+ postTemporarytableInPackage: async (n, e, r, a, t = {}) => {
770
+ h("postTemporarytableInPackage", "environmentName", n), h("postTemporarytableInPackage", "packageName", e), h("postTemporarytableInPackage", "connectionName", r), h("postTemporarytableInPackage", "postSqlsourceRequest", a);
771
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(r))), s = new URL(o, b);
559
772
  let c;
560
773
  l && (c = l.baseOptions);
561
- const i = { method: "POST", ...c, ...r }, d = {}, p = {};
562
- d["Content-Type"] = "application/json", P(s, p);
563
- let O = c && c.headers ? c.headers : {};
564
- return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
774
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
775
+ d["Content-Type"] = "application/json", V(s, p);
776
+ let u = c && c.headers ? c.headers : {};
777
+ return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, l), {
565
778
  url: v(s),
566
779
  options: i
567
780
  };
@@ -575,22 +788,22 @@ const P = function(l, ...n) {
575
788
  * @param {*} [options] Override http request option.
576
789
  * @throws {RequiredError}
577
790
  */
578
- updateConnection: async (n, e, t, a = {}) => {
579
- m("updateConnection", "environmentName", n), m("updateConnection", "connectionName", e), m("updateConnection", "updateConnectionRequest", t);
580
- const r = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, b);
791
+ updateConnection: async (n, e, r, a = {}) => {
792
+ h("updateConnection", "environmentName", n), h("updateConnection", "connectionName", e), h("updateConnection", "updateConnectionRequest", r);
793
+ const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
581
794
  let s;
582
795
  l && (s = l.baseOptions);
583
796
  const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
584
- i["Content-Type"] = "application/json", P(o, d);
797
+ i["Content-Type"] = "application/json", V(o, d);
585
798
  let p = s && s.headers ? s.headers : {};
586
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
799
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = S(r, c, l), {
587
800
  url: v(o),
588
801
  options: c
589
802
  };
590
803
  }
591
804
  };
592
- }, S = function(l) {
593
- const n = be(l);
805
+ }, y = function(l) {
806
+ const n = Oe(l);
594
807
  return {
595
808
  /**
596
809
  * Creates a new database connection in the specified environment.
@@ -601,9 +814,9 @@ const P = function(l, ...n) {
601
814
  * @param {*} [options] Override http request option.
602
815
  * @throws {RequiredError}
603
816
  */
604
- async createConnection(e, t, a, r) {
605
- const o = await n.createConnection(e, t, a, r), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.createConnection"]?.[s]?.url;
606
- return (i, d) => V(o, h, u, l)(i, c || d);
817
+ async createConnection(e, r, a, t) {
818
+ const o = await n.createConnection(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.createConnection"]?.[s]?.url;
819
+ return (i, d) => O(o, m, g, l)(i, c || d);
607
820
  },
608
821
  /**
609
822
  * Permanently deletes a database connection from the environment.
@@ -613,9 +826,9 @@ const P = function(l, ...n) {
613
826
  * @param {*} [options] Override http request option.
614
827
  * @throws {RequiredError}
615
828
  */
616
- async deleteConnection(e, t, a) {
617
- const r = await n.deleteConnection(e, t, a), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.deleteConnection"]?.[o]?.url;
618
- return (c, i) => V(r, h, u, l)(c, s || i);
829
+ async deleteConnection(e, r, a) {
830
+ const t = await n.deleteConnection(e, r, a), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.deleteConnection"]?.[o]?.url;
831
+ return (c, i) => O(t, m, g, l)(c, s || i);
619
832
  },
620
833
  /**
621
834
  * Retrieves detailed information about a specific database connection within an environment. This includes connection configuration, credentials (if accessible), and metadata. Useful for inspecting connection settings and troubleshooting connectivity issues.
@@ -625,9 +838,9 @@ const P = function(l, ...n) {
625
838
  * @param {*} [options] Override http request option.
626
839
  * @throws {RequiredError}
627
840
  */
628
- async getConnection(e, t, a) {
629
- const r = await n.getConnection(e, t, a), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.getConnection"]?.[o]?.url;
630
- return (c, i) => V(r, h, u, l)(c, s || i);
841
+ async getConnection(e, r, a) {
842
+ const t = await n.getConnection(e, r, a), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.getConnection"]?.[o]?.url;
843
+ return (c, i) => O(t, m, g, l)(c, s || i);
631
844
  },
632
845
  /**
633
846
  * 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.
@@ -639,9 +852,9 @@ const P = function(l, ...n) {
639
852
  * @param {*} [options] Override http request option.
640
853
  * @throws {RequiredError}
641
854
  */
642
- async getTable(e, t, a, r, o) {
643
- const s = await n.getTable(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.getTable"]?.[c]?.url;
644
- return (d, p) => V(s, h, u, l)(d, i || p);
855
+ async getTable(e, r, a, t, o) {
856
+ const s = await n.getTable(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[c]?.url;
857
+ return (d, p) => O(s, m, g, l)(d, i || p);
645
858
  },
646
859
  /**
647
860
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -654,9 +867,9 @@ const P = function(l, ...n) {
654
867
  * @param {*} [options] Override http request option.
655
868
  * @throws {RequiredError}
656
869
  */
657
- async getTableInPackage(e, t, a, r, o, s) {
658
- const c = await n.getTableInPackage(e, t, a, r, o, s), i = l?.serverIndex ?? 0, d = g["ConnectionsApi.getTableInPackage"]?.[i]?.url;
659
- return (p, O) => V(c, h, u, l)(p, d || O);
870
+ async getTableInPackage(e, r, a, t, o, s) {
871
+ const c = await n.getTableInPackage(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ConnectionsApi.getTableInPackage"]?.[i]?.url;
872
+ return (p, u) => O(c, m, g, l)(p, d || u);
660
873
  },
661
874
  /**
662
875
  * Retrieves a list of all database connections configured for the specified environment. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within an environment.
@@ -665,9 +878,9 @@ const P = function(l, ...n) {
665
878
  * @param {*} [options] Override http request option.
666
879
  * @throws {RequiredError}
667
880
  */
668
- async listConnections(e, t) {
669
- const a = await n.listConnections(e, t), r = l?.serverIndex ?? 0, o = g["ConnectionsApi.listConnections"]?.[r]?.url;
670
- return (s, c) => V(a, h, u, l)(s, o || c);
881
+ async listConnections(e, r) {
882
+ const a = await n.listConnections(e, r), t = l?.serverIndex ?? 0, o = P["ConnectionsApi.listConnections"]?.[t]?.url;
883
+ return (s, c) => O(a, m, g, l)(s, o || c);
671
884
  },
672
885
  /**
673
886
  * 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.
@@ -677,9 +890,9 @@ const P = function(l, ...n) {
677
890
  * @param {*} [options] Override http request option.
678
891
  * @throws {RequiredError}
679
892
  */
680
- async listSchemas(e, t, a) {
681
- const r = await n.listSchemas(e, t, a), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.listSchemas"]?.[o]?.url;
682
- return (c, i) => V(r, h, u, l)(c, s || i);
893
+ async listSchemas(e, r, a) {
894
+ const t = await n.listSchemas(e, r, a), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.listSchemas"]?.[o]?.url;
895
+ return (c, i) => O(t, m, g, l)(c, s || i);
683
896
  },
684
897
  /**
685
898
  * Retrieves a list of all schemas (databases) available in the specified connection, resolved in the context of the named package. Required for `connectionName=\"duckdb\"`, which is per-package; works for any other connection name as well (resolution falls through to the environment).
@@ -690,9 +903,9 @@ const P = function(l, ...n) {
690
903
  * @param {*} [options] Override http request option.
691
904
  * @throws {RequiredError}
692
905
  */
693
- async listSchemasInPackage(e, t, a, r) {
694
- const o = await n.listSchemasInPackage(e, t, a, r), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
695
- return (i, d) => V(o, h, u, l)(i, c || d);
906
+ async listSchemasInPackage(e, r, a, t) {
907
+ const o = await n.listSchemasInPackage(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
908
+ return (i, d) => O(o, m, g, l)(i, c || d);
696
909
  },
697
910
  /**
698
911
  * 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.
@@ -704,9 +917,9 @@ const P = function(l, ...n) {
704
917
  * @param {*} [options] Override http request option.
705
918
  * @throws {RequiredError}
706
919
  */
707
- async listTables(e, t, a, r, o) {
708
- const s = await n.listTables(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.listTables"]?.[c]?.url;
709
- return (d, p) => V(s, h, u, l)(d, i || p);
920
+ async listTables(e, r, a, t, o) {
921
+ const s = await n.listTables(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.listTables"]?.[c]?.url;
922
+ return (d, p) => O(s, m, g, l)(d, i || p);
710
923
  },
711
924
  /**
712
925
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -719,9 +932,9 @@ const P = function(l, ...n) {
719
932
  * @param {*} [options] Override http request option.
720
933
  * @throws {RequiredError}
721
934
  */
722
- async listTablesInPackage(e, t, a, r, o, s) {
723
- const c = await n.listTablesInPackage(e, t, a, r, o, s), i = l?.serverIndex ?? 0, d = g["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
724
- return (p, O) => V(c, h, u, l)(p, d || O);
935
+ async listTablesInPackage(e, r, a, t, o, s) {
936
+ const c = await n.listTablesInPackage(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
937
+ return (p, u) => O(c, m, g, l)(p, d || u);
725
938
  },
726
939
  /**
727
940
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
@@ -732,9 +945,9 @@ const P = function(l, ...n) {
732
945
  * @param {*} [options] Override http request option.
733
946
  * @throws {RequiredError}
734
947
  */
735
- async postQuerydata(e, t, a, r) {
736
- const o = await n.postQuerydata(e, t, a, r), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.postQuerydata"]?.[s]?.url;
737
- return (i, d) => V(o, h, u, l)(i, c || d);
948
+ async postQuerydata(e, r, a, t) {
949
+ const o = await n.postQuerydata(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postQuerydata"]?.[s]?.url;
950
+ return (i, d) => O(o, m, g, l)(i, c || d);
738
951
  },
739
952
  /**
740
953
  * Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
@@ -746,9 +959,9 @@ const P = function(l, ...n) {
746
959
  * @param {*} [options] Override http request option.
747
960
  * @throws {RequiredError}
748
961
  */
749
- async postQuerydataInPackage(e, t, a, r, o) {
750
- const s = await n.postQuerydataInPackage(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postQuerydataInPackage"]?.[c]?.url;
751
- return (d, p) => V(s, h, u, l)(d, i || p);
962
+ async postQuerydataInPackage(e, r, a, t, o) {
963
+ const s = await n.postQuerydataInPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydataInPackage"]?.[c]?.url;
964
+ return (d, p) => O(s, m, g, l)(d, i || p);
752
965
  },
753
966
  /**
754
967
  * 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.
@@ -759,9 +972,9 @@ const P = function(l, ...n) {
759
972
  * @param {*} [options] Override http request option.
760
973
  * @throws {RequiredError}
761
974
  */
762
- async postSqlsource(e, t, a, r) {
763
- const o = await n.postSqlsource(e, t, a, r), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.postSqlsource"]?.[s]?.url;
764
- return (i, d) => V(o, h, u, l)(i, c || d);
975
+ async postSqlsource(e, r, a, t) {
976
+ const o = await n.postSqlsource(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postSqlsource"]?.[s]?.url;
977
+ return (i, d) => O(o, m, g, l)(i, c || d);
765
978
  },
766
979
  /**
767
980
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -773,9 +986,9 @@ const P = function(l, ...n) {
773
986
  * @param {*} [options] Override http request option.
774
987
  * @throws {RequiredError}
775
988
  */
776
- async postSqlsourceInPackage(e, t, a, r, o) {
777
- const s = await n.postSqlsourceInPackage(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;
778
- return (d, p) => V(s, h, u, l)(d, i || p);
989
+ async postSqlsourceInPackage(e, r, a, t, o) {
990
+ const s = await n.postSqlsourceInPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;
991
+ return (d, p) => O(s, m, g, l)(d, i || p);
779
992
  },
780
993
  /**
781
994
  * 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.
@@ -786,9 +999,9 @@ const P = function(l, ...n) {
786
999
  * @param {*} [options] Override http request option.
787
1000
  * @throws {RequiredError}
788
1001
  */
789
- async postTemporarytable(e, t, a, r) {
790
- const o = await n.postTemporarytable(e, t, a, r), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.postTemporarytable"]?.[s]?.url;
791
- return (i, d) => V(o, h, u, l)(i, c || d);
1002
+ async postTemporarytable(e, r, a, t) {
1003
+ const o = await n.postTemporarytable(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postTemporarytable"]?.[s]?.url;
1004
+ return (i, d) => O(o, m, g, l)(i, c || d);
792
1005
  },
793
1006
  /**
794
1007
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -800,9 +1013,9 @@ const P = function(l, ...n) {
800
1013
  * @param {*} [options] Override http request option.
801
1014
  * @throws {RequiredError}
802
1015
  */
803
- async postTemporarytableInPackage(e, t, a, r, o) {
804
- const s = await n.postTemporarytableInPackage(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;
805
- return (d, p) => V(s, h, u, l)(d, i || p);
1016
+ async postTemporarytableInPackage(e, r, a, t, o) {
1017
+ const s = await n.postTemporarytableInPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;
1018
+ return (d, p) => O(s, m, g, l)(d, i || p);
806
1019
  },
807
1020
  /**
808
1021
  * Updates the configuration of an existing database connection.
@@ -813,13 +1026,13 @@ const P = function(l, ...n) {
813
1026
  * @param {*} [options] Override http request option.
814
1027
  * @throws {RequiredError}
815
1028
  */
816
- async updateConnection(e, t, a, r) {
817
- const o = await n.updateConnection(e, t, a, r), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.updateConnection"]?.[s]?.url;
818
- return (i, d) => V(o, h, u, l)(i, c || d);
1029
+ async updateConnection(e, r, a, t) {
1030
+ const o = await n.updateConnection(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.updateConnection"]?.[s]?.url;
1031
+ return (i, d) => O(o, m, g, l)(i, c || d);
819
1032
  }
820
1033
  };
821
- }, qa = function(l, n, e) {
822
- const t = S(l);
1034
+ }, Ka = function(l, n, e) {
1035
+ const r = y(l);
823
1036
  return {
824
1037
  /**
825
1038
  * Creates a new database connection in the specified environment.
@@ -830,8 +1043,8 @@ const P = function(l, ...n) {
830
1043
  * @param {*} [options] Override http request option.
831
1044
  * @throws {RequiredError}
832
1045
  */
833
- createConnection(a, r, o, s) {
834
- return t.createConnection(a, r, o, s).then((c) => c(e, n));
1046
+ createConnection(a, t, o, s) {
1047
+ return r.createConnection(a, t, o, s).then((c) => c(e, n));
835
1048
  },
836
1049
  /**
837
1050
  * Permanently deletes a database connection from the environment.
@@ -841,8 +1054,8 @@ const P = function(l, ...n) {
841
1054
  * @param {*} [options] Override http request option.
842
1055
  * @throws {RequiredError}
843
1056
  */
844
- deleteConnection(a, r, o) {
845
- return t.deleteConnection(a, r, o).then((s) => s(e, n));
1057
+ deleteConnection(a, t, o) {
1058
+ return r.deleteConnection(a, t, o).then((s) => s(e, n));
846
1059
  },
847
1060
  /**
848
1061
  * Retrieves detailed information about a specific database connection within an environment. This includes connection configuration, credentials (if accessible), and metadata. Useful for inspecting connection settings and troubleshooting connectivity issues.
@@ -852,8 +1065,8 @@ const P = function(l, ...n) {
852
1065
  * @param {*} [options] Override http request option.
853
1066
  * @throws {RequiredError}
854
1067
  */
855
- getConnection(a, r, o) {
856
- return t.getConnection(a, r, o).then((s) => s(e, n));
1068
+ getConnection(a, t, o) {
1069
+ return r.getConnection(a, t, o).then((s) => s(e, n));
857
1070
  },
858
1071
  /**
859
1072
  * 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.
@@ -865,8 +1078,8 @@ const P = function(l, ...n) {
865
1078
  * @param {*} [options] Override http request option.
866
1079
  * @throws {RequiredError}
867
1080
  */
868
- getTable(a, r, o, s, c) {
869
- return t.getTable(a, r, o, s, c).then((i) => i(e, n));
1081
+ getTable(a, t, o, s, c) {
1082
+ return r.getTable(a, t, o, s, c).then((i) => i(e, n));
870
1083
  },
871
1084
  /**
872
1085
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -879,8 +1092,8 @@ const P = function(l, ...n) {
879
1092
  * @param {*} [options] Override http request option.
880
1093
  * @throws {RequiredError}
881
1094
  */
882
- getTableInPackage(a, r, o, s, c, i) {
883
- return t.getTableInPackage(a, r, o, s, c, i).then((d) => d(e, n));
1095
+ getTableInPackage(a, t, o, s, c, i) {
1096
+ return r.getTableInPackage(a, t, o, s, c, i).then((d) => d(e, n));
884
1097
  },
885
1098
  /**
886
1099
  * Retrieves a list of all database connections configured for the specified environment. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within an environment.
@@ -889,8 +1102,8 @@ const P = function(l, ...n) {
889
1102
  * @param {*} [options] Override http request option.
890
1103
  * @throws {RequiredError}
891
1104
  */
892
- listConnections(a, r) {
893
- return t.listConnections(a, r).then((o) => o(e, n));
1105
+ listConnections(a, t) {
1106
+ return r.listConnections(a, t).then((o) => o(e, n));
894
1107
  },
895
1108
  /**
896
1109
  * 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.
@@ -900,8 +1113,8 @@ const P = function(l, ...n) {
900
1113
  * @param {*} [options] Override http request option.
901
1114
  * @throws {RequiredError}
902
1115
  */
903
- listSchemas(a, r, o) {
904
- return t.listSchemas(a, r, o).then((s) => s(e, n));
1116
+ listSchemas(a, t, o) {
1117
+ return r.listSchemas(a, t, o).then((s) => s(e, n));
905
1118
  },
906
1119
  /**
907
1120
  * Retrieves a list of all schemas (databases) available in the specified connection, resolved in the context of the named package. Required for `connectionName=\"duckdb\"`, which is per-package; works for any other connection name as well (resolution falls through to the environment).
@@ -912,8 +1125,8 @@ const P = function(l, ...n) {
912
1125
  * @param {*} [options] Override http request option.
913
1126
  * @throws {RequiredError}
914
1127
  */
915
- listSchemasInPackage(a, r, o, s) {
916
- return t.listSchemasInPackage(a, r, o, s).then((c) => c(e, n));
1128
+ listSchemasInPackage(a, t, o, s) {
1129
+ return r.listSchemasInPackage(a, t, o, s).then((c) => c(e, n));
917
1130
  },
918
1131
  /**
919
1132
  * 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.
@@ -925,8 +1138,8 @@ const P = function(l, ...n) {
925
1138
  * @param {*} [options] Override http request option.
926
1139
  * @throws {RequiredError}
927
1140
  */
928
- listTables(a, r, o, s, c) {
929
- return t.listTables(a, r, o, s, c).then((i) => i(e, n));
1141
+ listTables(a, t, o, s, c) {
1142
+ return r.listTables(a, t, o, s, c).then((i) => i(e, n));
930
1143
  },
931
1144
  /**
932
1145
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -939,8 +1152,8 @@ const P = function(l, ...n) {
939
1152
  * @param {*} [options] Override http request option.
940
1153
  * @throws {RequiredError}
941
1154
  */
942
- listTablesInPackage(a, r, o, s, c, i) {
943
- return t.listTablesInPackage(a, r, o, s, c, i).then((d) => d(e, n));
1155
+ listTablesInPackage(a, t, o, s, c, i) {
1156
+ return r.listTablesInPackage(a, t, o, s, c, i).then((d) => d(e, n));
944
1157
  },
945
1158
  /**
946
1159
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
@@ -951,8 +1164,8 @@ const P = function(l, ...n) {
951
1164
  * @param {*} [options] Override http request option.
952
1165
  * @throws {RequiredError}
953
1166
  */
954
- postQuerydata(a, r, o, s) {
955
- return t.postQuerydata(a, r, o, s).then((c) => c(e, n));
1167
+ postQuerydata(a, t, o, s) {
1168
+ return r.postQuerydata(a, t, o, s).then((c) => c(e, n));
956
1169
  },
957
1170
  /**
958
1171
  * Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
@@ -964,8 +1177,8 @@ const P = function(l, ...n) {
964
1177
  * @param {*} [options] Override http request option.
965
1178
  * @throws {RequiredError}
966
1179
  */
967
- postQuerydataInPackage(a, r, o, s, c) {
968
- return t.postQuerydataInPackage(a, r, o, s, c).then((i) => i(e, n));
1180
+ postQuerydataInPackage(a, t, o, s, c) {
1181
+ return r.postQuerydataInPackage(a, t, o, s, c).then((i) => i(e, n));
969
1182
  },
970
1183
  /**
971
1184
  * 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.
@@ -976,8 +1189,8 @@ const P = function(l, ...n) {
976
1189
  * @param {*} [options] Override http request option.
977
1190
  * @throws {RequiredError}
978
1191
  */
979
- postSqlsource(a, r, o, s) {
980
- return t.postSqlsource(a, r, o, s).then((c) => c(e, n));
1192
+ postSqlsource(a, t, o, s) {
1193
+ return r.postSqlsource(a, t, o, s).then((c) => c(e, n));
981
1194
  },
982
1195
  /**
983
1196
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -989,8 +1202,8 @@ const P = function(l, ...n) {
989
1202
  * @param {*} [options] Override http request option.
990
1203
  * @throws {RequiredError}
991
1204
  */
992
- postSqlsourceInPackage(a, r, o, s, c) {
993
- return t.postSqlsourceInPackage(a, r, o, s, c).then((i) => i(e, n));
1205
+ postSqlsourceInPackage(a, t, o, s, c) {
1206
+ return r.postSqlsourceInPackage(a, t, o, s, c).then((i) => i(e, n));
994
1207
  },
995
1208
  /**
996
1209
  * 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.
@@ -1001,8 +1214,8 @@ const P = function(l, ...n) {
1001
1214
  * @param {*} [options] Override http request option.
1002
1215
  * @throws {RequiredError}
1003
1216
  */
1004
- postTemporarytable(a, r, o, s) {
1005
- return t.postTemporarytable(a, r, o, s).then((c) => c(e, n));
1217
+ postTemporarytable(a, t, o, s) {
1218
+ return r.postTemporarytable(a, t, o, s).then((c) => c(e, n));
1006
1219
  },
1007
1220
  /**
1008
1221
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1014,8 +1227,8 @@ const P = function(l, ...n) {
1014
1227
  * @param {*} [options] Override http request option.
1015
1228
  * @throws {RequiredError}
1016
1229
  */
1017
- postTemporarytableInPackage(a, r, o, s, c) {
1018
- return t.postTemporarytableInPackage(a, r, o, s, c).then((i) => i(e, n));
1230
+ postTemporarytableInPackage(a, t, o, s, c) {
1231
+ return r.postTemporarytableInPackage(a, t, o, s, c).then((i) => i(e, n));
1019
1232
  },
1020
1233
  /**
1021
1234
  * Updates the configuration of an existing database connection.
@@ -1026,12 +1239,12 @@ const P = function(l, ...n) {
1026
1239
  * @param {*} [options] Override http request option.
1027
1240
  * @throws {RequiredError}
1028
1241
  */
1029
- updateConnection(a, r, o, s) {
1030
- return t.updateConnection(a, r, o, s).then((c) => c(e, n));
1242
+ updateConnection(a, t, o, s) {
1243
+ return r.updateConnection(a, t, o, s).then((c) => c(e, n));
1031
1244
  }
1032
1245
  };
1033
1246
  };
1034
- class Pe extends I {
1247
+ class Se extends I {
1035
1248
  /**
1036
1249
  * Creates a new database connection in the specified environment.
1037
1250
  * @summary Create a new database connection
@@ -1042,8 +1255,8 @@ class Pe extends I {
1042
1255
  * @throws {RequiredError}
1043
1256
  * @memberof ConnectionsApi
1044
1257
  */
1045
- createConnection(n, e, t, a) {
1046
- return S(this.configuration).createConnection(n, e, t, a).then((r) => r(this.axios, this.basePath));
1258
+ createConnection(n, e, r, a) {
1259
+ return y(this.configuration).createConnection(n, e, r, a).then((t) => t(this.axios, this.basePath));
1047
1260
  }
1048
1261
  /**
1049
1262
  * Permanently deletes a database connection from the environment.
@@ -1054,8 +1267,8 @@ class Pe extends I {
1054
1267
  * @throws {RequiredError}
1055
1268
  * @memberof ConnectionsApi
1056
1269
  */
1057
- deleteConnection(n, e, t) {
1058
- return S(this.configuration).deleteConnection(n, e, t).then((a) => a(this.axios, this.basePath));
1270
+ deleteConnection(n, e, r) {
1271
+ return y(this.configuration).deleteConnection(n, e, r).then((a) => a(this.axios, this.basePath));
1059
1272
  }
1060
1273
  /**
1061
1274
  * Retrieves detailed information about a specific database connection within an environment. This includes connection configuration, credentials (if accessible), and metadata. Useful for inspecting connection settings and troubleshooting connectivity issues.
@@ -1066,8 +1279,8 @@ class Pe extends I {
1066
1279
  * @throws {RequiredError}
1067
1280
  * @memberof ConnectionsApi
1068
1281
  */
1069
- getConnection(n, e, t) {
1070
- return S(this.configuration).getConnection(n, e, t).then((a) => a(this.axios, this.basePath));
1282
+ getConnection(n, e, r) {
1283
+ return y(this.configuration).getConnection(n, e, r).then((a) => a(this.axios, this.basePath));
1071
1284
  }
1072
1285
  /**
1073
1286
  * 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.
@@ -1080,8 +1293,8 @@ class Pe extends I {
1080
1293
  * @throws {RequiredError}
1081
1294
  * @memberof ConnectionsApi
1082
1295
  */
1083
- getTable(n, e, t, a, r) {
1084
- return S(this.configuration).getTable(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
1296
+ getTable(n, e, r, a, t) {
1297
+ return y(this.configuration).getTable(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1085
1298
  }
1086
1299
  /**
1087
1300
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -1095,8 +1308,8 @@ class Pe extends I {
1095
1308
  * @throws {RequiredError}
1096
1309
  * @memberof ConnectionsApi
1097
1310
  */
1098
- getTableInPackage(n, e, t, a, r, o) {
1099
- return S(this.configuration).getTableInPackage(n, e, t, a, r, o).then((s) => s(this.axios, this.basePath));
1311
+ getTableInPackage(n, e, r, a, t, o) {
1312
+ return y(this.configuration).getTableInPackage(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
1100
1313
  }
1101
1314
  /**
1102
1315
  * Retrieves a list of all database connections configured for the specified environment. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within an environment.
@@ -1107,7 +1320,7 @@ class Pe extends I {
1107
1320
  * @memberof ConnectionsApi
1108
1321
  */
1109
1322
  listConnections(n, e) {
1110
- return S(this.configuration).listConnections(n, e).then((t) => t(this.axios, this.basePath));
1323
+ return y(this.configuration).listConnections(n, e).then((r) => r(this.axios, this.basePath));
1111
1324
  }
1112
1325
  /**
1113
1326
  * 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.
@@ -1118,8 +1331,8 @@ class Pe extends I {
1118
1331
  * @throws {RequiredError}
1119
1332
  * @memberof ConnectionsApi
1120
1333
  */
1121
- listSchemas(n, e, t) {
1122
- return S(this.configuration).listSchemas(n, e, t).then((a) => a(this.axios, this.basePath));
1334
+ listSchemas(n, e, r) {
1335
+ return y(this.configuration).listSchemas(n, e, r).then((a) => a(this.axios, this.basePath));
1123
1336
  }
1124
1337
  /**
1125
1338
  * Retrieves a list of all schemas (databases) available in the specified connection, resolved in the context of the named package. Required for `connectionName=\"duckdb\"`, which is per-package; works for any other connection name as well (resolution falls through to the environment).
@@ -1131,8 +1344,8 @@ class Pe extends I {
1131
1344
  * @throws {RequiredError}
1132
1345
  * @memberof ConnectionsApi
1133
1346
  */
1134
- listSchemasInPackage(n, e, t, a) {
1135
- return S(this.configuration).listSchemasInPackage(n, e, t, a).then((r) => r(this.axios, this.basePath));
1347
+ listSchemasInPackage(n, e, r, a) {
1348
+ return y(this.configuration).listSchemasInPackage(n, e, r, a).then((t) => t(this.axios, this.basePath));
1136
1349
  }
1137
1350
  /**
1138
1351
  * 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.
@@ -1145,8 +1358,8 @@ class Pe extends I {
1145
1358
  * @throws {RequiredError}
1146
1359
  * @memberof ConnectionsApi
1147
1360
  */
1148
- listTables(n, e, t, a, r) {
1149
- return S(this.configuration).listTables(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
1361
+ listTables(n, e, r, a, t) {
1362
+ return y(this.configuration).listTables(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1150
1363
  }
1151
1364
  /**
1152
1365
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -1160,8 +1373,8 @@ class Pe extends I {
1160
1373
  * @throws {RequiredError}
1161
1374
  * @memberof ConnectionsApi
1162
1375
  */
1163
- listTablesInPackage(n, e, t, a, r, o) {
1164
- return S(this.configuration).listTablesInPackage(n, e, t, a, r, o).then((s) => s(this.axios, this.basePath));
1376
+ listTablesInPackage(n, e, r, a, t, o) {
1377
+ return y(this.configuration).listTablesInPackage(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
1165
1378
  }
1166
1379
  /**
1167
1380
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
@@ -1173,8 +1386,8 @@ class Pe extends I {
1173
1386
  * @throws {RequiredError}
1174
1387
  * @memberof ConnectionsApi
1175
1388
  */
1176
- postQuerydata(n, e, t, a) {
1177
- return S(this.configuration).postQuerydata(n, e, t, a).then((r) => r(this.axios, this.basePath));
1389
+ postQuerydata(n, e, r, a) {
1390
+ return y(this.configuration).postQuerydata(n, e, r, a).then((t) => t(this.axios, this.basePath));
1178
1391
  }
1179
1392
  /**
1180
1393
  * Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
@@ -1187,8 +1400,8 @@ class Pe extends I {
1187
1400
  * @throws {RequiredError}
1188
1401
  * @memberof ConnectionsApi
1189
1402
  */
1190
- postQuerydataInPackage(n, e, t, a, r) {
1191
- return S(this.configuration).postQuerydataInPackage(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
1403
+ postQuerydataInPackage(n, e, r, a, t) {
1404
+ return y(this.configuration).postQuerydataInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1192
1405
  }
1193
1406
  /**
1194
1407
  * 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.
@@ -1200,8 +1413,8 @@ class Pe extends I {
1200
1413
  * @throws {RequiredError}
1201
1414
  * @memberof ConnectionsApi
1202
1415
  */
1203
- postSqlsource(n, e, t, a) {
1204
- return S(this.configuration).postSqlsource(n, e, t, a).then((r) => r(this.axios, this.basePath));
1416
+ postSqlsource(n, e, r, a) {
1417
+ return y(this.configuration).postSqlsource(n, e, r, a).then((t) => t(this.axios, this.basePath));
1205
1418
  }
1206
1419
  /**
1207
1420
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -1214,8 +1427,8 @@ class Pe extends I {
1214
1427
  * @throws {RequiredError}
1215
1428
  * @memberof ConnectionsApi
1216
1429
  */
1217
- postSqlsourceInPackage(n, e, t, a, r) {
1218
- return S(this.configuration).postSqlsourceInPackage(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
1430
+ postSqlsourceInPackage(n, e, r, a, t) {
1431
+ return y(this.configuration).postSqlsourceInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1219
1432
  }
1220
1433
  /**
1221
1434
  * 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.
@@ -1227,8 +1440,8 @@ class Pe extends I {
1227
1440
  * @throws {RequiredError}
1228
1441
  * @memberof ConnectionsApi
1229
1442
  */
1230
- postTemporarytable(n, e, t, a) {
1231
- return S(this.configuration).postTemporarytable(n, e, t, a).then((r) => r(this.axios, this.basePath));
1443
+ postTemporarytable(n, e, r, a) {
1444
+ return y(this.configuration).postTemporarytable(n, e, r, a).then((t) => t(this.axios, this.basePath));
1232
1445
  }
1233
1446
  /**
1234
1447
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1241,8 +1454,8 @@ class Pe extends I {
1241
1454
  * @throws {RequiredError}
1242
1455
  * @memberof ConnectionsApi
1243
1456
  */
1244
- postTemporarytableInPackage(n, e, t, a, r) {
1245
- return S(this.configuration).postTemporarytableInPackage(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
1457
+ postTemporarytableInPackage(n, e, r, a, t) {
1458
+ return y(this.configuration).postTemporarytableInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1246
1459
  }
1247
1460
  /**
1248
1461
  * Updates the configuration of an existing database connection.
@@ -1254,11 +1467,11 @@ class Pe extends I {
1254
1467
  * @throws {RequiredError}
1255
1468
  * @memberof ConnectionsApi
1256
1469
  */
1257
- updateConnection(n, e, t, a) {
1258
- return S(this.configuration).updateConnection(n, e, t, a).then((r) => r(this.axios, this.basePath));
1470
+ updateConnection(n, e, r, a) {
1471
+ return y(this.configuration).updateConnection(n, e, r, a).then((t) => t(this.axios, this.basePath));
1259
1472
  }
1260
1473
  }
1261
- const ve = function(l) {
1474
+ const ye = function(l) {
1262
1475
  return {
1263
1476
  /**
1264
1477
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -1268,21 +1481,21 @@ const ve = function(l) {
1268
1481
  * @throws {RequiredError}
1269
1482
  */
1270
1483
  testConnectionConfiguration: async (n, e = {}) => {
1271
- m("testConnectionConfiguration", "connection", n);
1272
- const t = "/connections/test", a = new URL(t, b);
1273
- let r;
1274
- l && (r = l.baseOptions);
1275
- const o = { method: "POST", ...r, ...e }, s = {}, c = {};
1276
- s["Content-Type"] = "application/json", P(a, c);
1277
- let i = r && r.headers ? r.headers : {};
1278
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
1484
+ h("testConnectionConfiguration", "connection", n);
1485
+ const r = "/connections/test", a = new URL(r, b);
1486
+ let t;
1487
+ l && (t = l.baseOptions);
1488
+ const o = { method: "POST", ...t, ...e }, s = {}, c = {};
1489
+ s["Content-Type"] = "application/json", V(a, c);
1490
+ let i = t && t.headers ? t.headers : {};
1491
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, l), {
1279
1492
  url: v(a),
1280
1493
  options: o
1281
1494
  };
1282
1495
  }
1283
1496
  };
1284
1497
  }, X = function(l) {
1285
- const n = ve(l);
1498
+ const n = ye(l);
1286
1499
  return {
1287
1500
  /**
1288
1501
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -1291,13 +1504,13 @@ const ve = function(l) {
1291
1504
  * @param {*} [options] Override http request option.
1292
1505
  * @throws {RequiredError}
1293
1506
  */
1294
- async testConnectionConfiguration(e, t) {
1295
- const a = await n.testConnectionConfiguration(e, t), r = l?.serverIndex ?? 0, o = g["ConnectionsTestApi.testConnectionConfiguration"]?.[r]?.url;
1296
- return (s, c) => V(a, h, u, l)(s, o || c);
1507
+ async testConnectionConfiguration(e, r) {
1508
+ const a = await n.testConnectionConfiguration(e, r), t = l?.serverIndex ?? 0, o = P["ConnectionsTestApi.testConnectionConfiguration"]?.[t]?.url;
1509
+ return (s, c) => O(a, m, g, l)(s, o || c);
1297
1510
  }
1298
1511
  };
1299
- }, Da = function(l, n, e) {
1300
- const t = X(l);
1512
+ }, Xa = function(l, n, e) {
1513
+ const r = X(l);
1301
1514
  return {
1302
1515
  /**
1303
1516
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -1306,12 +1519,12 @@ const ve = function(l) {
1306
1519
  * @param {*} [options] Override http request option.
1307
1520
  * @throws {RequiredError}
1308
1521
  */
1309
- testConnectionConfiguration(a, r) {
1310
- return t.testConnectionConfiguration(a, r).then((o) => o(e, n));
1522
+ testConnectionConfiguration(a, t) {
1523
+ return r.testConnectionConfiguration(a, t).then((o) => o(e, n));
1311
1524
  }
1312
1525
  };
1313
1526
  };
1314
- class La extends I {
1527
+ class Za extends I {
1315
1528
  /**
1316
1529
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
1317
1530
  * @summary Test database connection configuration
@@ -1321,10 +1534,10 @@ class La extends I {
1321
1534
  * @memberof ConnectionsTestApi
1322
1535
  */
1323
1536
  testConnectionConfiguration(n, e) {
1324
- return X(this.configuration).testConnectionConfiguration(n, e).then((t) => t(this.axios, this.basePath));
1537
+ return X(this.configuration).testConnectionConfiguration(n, e).then((r) => r(this.axios, this.basePath));
1325
1538
  }
1326
1539
  }
1327
- const Ve = function(l) {
1540
+ const ke = function(l) {
1328
1541
  return {
1329
1542
  /**
1330
1543
  * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
@@ -1336,15 +1549,15 @@ const Ve = function(l) {
1336
1549
  * @param {*} [options] Override http request option.
1337
1550
  * @throws {RequiredError}
1338
1551
  */
1339
- getDashboard: async (n, e, t, a, r = {}) => {
1340
- m("getDashboard", "environmentName", n), m("getDashboard", "packageName", e), m("getDashboard", "dashboardName", t);
1341
- const o = "/environments/{environmentName}/packages/{packageName}/dashboards/{dashboardName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{dashboardName}", encodeURIComponent(String(t))), s = new URL(o, b);
1552
+ getDashboard: async (n, e, r, a, t = {}) => {
1553
+ h("getDashboard", "environmentName", n), h("getDashboard", "packageName", e), h("getDashboard", "dashboardName", r);
1554
+ const o = "/environments/{environmentName}/packages/{packageName}/dashboards/{dashboardName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{dashboardName}", encodeURIComponent(String(r))), s = new URL(o, b);
1342
1555
  let c;
1343
1556
  l && (c = l.baseOptions);
1344
- const i = { method: "GET", ...c, ...r }, d = {}, p = {};
1345
- a !== void 0 && (p.versionId = a), P(s, p);
1346
- let O = c && c.headers ? c.headers : {};
1347
- return i.headers = { ...d, ...O, ...r.headers }, {
1557
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
1558
+ a !== void 0 && (p.versionId = a), V(s, p);
1559
+ let u = c && c.headers ? c.headers : {};
1560
+ return i.headers = { ...d, ...u, ...t.headers }, {
1348
1561
  url: v(s),
1349
1562
  options: i
1350
1563
  };
@@ -1358,13 +1571,13 @@ const Ve = function(l) {
1358
1571
  * @param {*} [options] Override http request option.
1359
1572
  * @throws {RequiredError}
1360
1573
  */
1361
- listDashboards: async (n, e, t, a = {}) => {
1362
- m("listDashboards", "environmentName", n), m("listDashboards", "packageName", e);
1363
- const r = "/environments/{environmentName}/packages/{packageName}/dashboards".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, b);
1574
+ listDashboards: async (n, e, r, a = {}) => {
1575
+ h("listDashboards", "environmentName", n), h("listDashboards", "packageName", e);
1576
+ const t = "/environments/{environmentName}/packages/{packageName}/dashboards".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
1364
1577
  let s;
1365
1578
  l && (s = l.baseOptions);
1366
1579
  const c = { method: "GET", ...s, ...a }, i = {}, d = {};
1367
- t !== void 0 && (d.versionId = t), P(o, d);
1580
+ r !== void 0 && (d.versionId = r), V(o, d);
1368
1581
  let p = s && s.headers ? s.headers : {};
1369
1582
  return c.headers = { ...i, ...p, ...a.headers }, {
1370
1583
  url: v(o),
@@ -1373,7 +1586,7 @@ const Ve = function(l) {
1373
1586
  }
1374
1587
  };
1375
1588
  }, D = function(l) {
1376
- const n = Ve(l);
1589
+ const n = ke(l);
1377
1590
  return {
1378
1591
  /**
1379
1592
  * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
@@ -1385,9 +1598,9 @@ const Ve = function(l) {
1385
1598
  * @param {*} [options] Override http request option.
1386
1599
  * @throws {RequiredError}
1387
1600
  */
1388
- async getDashboard(e, t, a, r, o) {
1389
- const s = await n.getDashboard(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["DashboardsApi.getDashboard"]?.[c]?.url;
1390
- return (d, p) => V(s, h, u, l)(d, i || p);
1601
+ async getDashboard(e, r, a, t, o) {
1602
+ const s = await n.getDashboard(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["DashboardsApi.getDashboard"]?.[c]?.url;
1603
+ return (d, p) => O(s, m, g, l)(d, i || p);
1391
1604
  },
1392
1605
  /**
1393
1606
  * Lists the dashboards in the specified package — every `.malloy` file in the package\'s `dashboards/` directory that carries an `# artifact` (or model-level `## artifact`) annotation. A file in that directory with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. When the package curates its query surface (`queryableSources: \"declared\"`), a dashboard whose entry file is not in `explores` is omitted, because its query and given names would not be runnable; the omission is reported in the package\'s `warnings` as of the last load. A metadata `PATCH` that TIGHTENS curation takes effect on this listing immediately; one that relaxes it takes effect on the next package reload, because the withheld dashboards were never built into the cached set. Either way the matching warning is computed at load, so after a `PATCH` it appears only once the package reloads. Where the boundary is active at all, which needs `explores` declared AND `queryableSources` left at `\"declared\"`, being listed does not by itself guarantee the dashboard runs: the queryable sources are the union of every listed file\'s `export {}` closure, so a dashboard whose tiles read a source that only an UNLISTED file exports is still served while those queries are refused. The fix is to list that file too, or to re-export the source from one already listed. It is served rather than withheld because withholding on a guess would hide dashboards that do work. Under `\"all\"` nothing is refused, so the situation does not arise.
@@ -1398,13 +1611,13 @@ const Ve = function(l) {
1398
1611
  * @param {*} [options] Override http request option.
1399
1612
  * @throws {RequiredError}
1400
1613
  */
1401
- async listDashboards(e, t, a, r) {
1402
- const o = await n.listDashboards(e, t, a, r), s = l?.serverIndex ?? 0, c = g["DashboardsApi.listDashboards"]?.[s]?.url;
1403
- return (i, d) => V(o, h, u, l)(i, c || d);
1614
+ async listDashboards(e, r, a, t) {
1615
+ const o = await n.listDashboards(e, r, a, t), s = l?.serverIndex ?? 0, c = P["DashboardsApi.listDashboards"]?.[s]?.url;
1616
+ return (i, d) => O(o, m, g, l)(i, c || d);
1404
1617
  }
1405
1618
  };
1406
- }, ja = function(l, n, e) {
1407
- const t = D(l);
1619
+ }, et = function(l, n, e) {
1620
+ const r = D(l);
1408
1621
  return {
1409
1622
  /**
1410
1623
  * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
@@ -1416,8 +1629,8 @@ const Ve = function(l) {
1416
1629
  * @param {*} [options] Override http request option.
1417
1630
  * @throws {RequiredError}
1418
1631
  */
1419
- getDashboard(a, r, o, s, c) {
1420
- return t.getDashboard(a, r, o, s, c).then((i) => i(e, n));
1632
+ getDashboard(a, t, o, s, c) {
1633
+ return r.getDashboard(a, t, o, s, c).then((i) => i(e, n));
1421
1634
  },
1422
1635
  /**
1423
1636
  * Lists the dashboards in the specified package — every `.malloy` file in the package\'s `dashboards/` directory that carries an `# artifact` (or model-level `## artifact`) annotation. A file in that directory with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. When the package curates its query surface (`queryableSources: \"declared\"`), a dashboard whose entry file is not in `explores` is omitted, because its query and given names would not be runnable; the omission is reported in the package\'s `warnings` as of the last load. A metadata `PATCH` that TIGHTENS curation takes effect on this listing immediately; one that relaxes it takes effect on the next package reload, because the withheld dashboards were never built into the cached set. Either way the matching warning is computed at load, so after a `PATCH` it appears only once the package reloads. Where the boundary is active at all, which needs `explores` declared AND `queryableSources` left at `\"declared\"`, being listed does not by itself guarantee the dashboard runs: the queryable sources are the union of every listed file\'s `export {}` closure, so a dashboard whose tiles read a source that only an UNLISTED file exports is still served while those queries are refused. The fix is to list that file too, or to re-export the source from one already listed. It is served rather than withheld because withholding on a guess would hide dashboards that do work. Under `\"all\"` nothing is refused, so the situation does not arise.
@@ -1428,12 +1641,12 @@ const Ve = function(l) {
1428
1641
  * @param {*} [options] Override http request option.
1429
1642
  * @throws {RequiredError}
1430
1643
  */
1431
- listDashboards(a, r, o, s) {
1432
- return t.listDashboards(a, r, o, s).then((c) => c(e, n));
1644
+ listDashboards(a, t, o, s) {
1645
+ return r.listDashboards(a, t, o, s).then((c) => c(e, n));
1433
1646
  }
1434
1647
  };
1435
1648
  };
1436
- class Oe extends I {
1649
+ class Ce extends I {
1437
1650
  /**
1438
1651
  * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1439
1652
  * @summary Get a dashboard manifest
@@ -1445,8 +1658,8 @@ class Oe extends I {
1445
1658
  * @throws {RequiredError}
1446
1659
  * @memberof DashboardsApi
1447
1660
  */
1448
- getDashboard(n, e, t, a, r) {
1449
- return D(this.configuration).getDashboard(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
1661
+ getDashboard(n, e, r, a, t) {
1662
+ return D(this.configuration).getDashboard(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1450
1663
  }
1451
1664
  /**
1452
1665
  * Lists the dashboards in the specified package — every `.malloy` file in the package\'s `dashboards/` directory that carries an `# artifact` (or model-level `## artifact`) annotation. A file in that directory with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. When the package curates its query surface (`queryableSources: \"declared\"`), a dashboard whose entry file is not in `explores` is omitted, because its query and given names would not be runnable; the omission is reported in the package\'s `warnings` as of the last load. A metadata `PATCH` that TIGHTENS curation takes effect on this listing immediately; one that relaxes it takes effect on the next package reload, because the withheld dashboards were never built into the cached set. Either way the matching warning is computed at load, so after a `PATCH` it appears only once the package reloads. Where the boundary is active at all, which needs `explores` declared AND `queryableSources` left at `\"declared\"`, being listed does not by itself guarantee the dashboard runs: the queryable sources are the union of every listed file\'s `export {}` closure, so a dashboard whose tiles read a source that only an UNLISTED file exports is still served while those queries are refused. The fix is to list that file too, or to re-export the source from one already listed. It is served rather than withheld because withholding on a guess would hide dashboards that do work. Under `\"all\"` nothing is refused, so the situation does not arise.
@@ -1458,11 +1671,11 @@ class Oe extends I {
1458
1671
  * @throws {RequiredError}
1459
1672
  * @memberof DashboardsApi
1460
1673
  */
1461
- listDashboards(n, e, t, a) {
1462
- return D(this.configuration).listDashboards(n, e, t, a).then((r) => r(this.axios, this.basePath));
1674
+ listDashboards(n, e, r, a) {
1675
+ return D(this.configuration).listDashboards(n, e, r, a).then((t) => t(this.axios, this.basePath));
1463
1676
  }
1464
1677
  }
1465
- const Se = function(l) {
1678
+ const Ie = function(l) {
1466
1679
  return {
1467
1680
  /**
1468
1681
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -1472,22 +1685,22 @@ const Se = function(l) {
1472
1685
  * @param {*} [options] Override http request option.
1473
1686
  * @throws {RequiredError}
1474
1687
  */
1475
- listDataApps: async (n, e, t = {}) => {
1476
- m("listDataApps", "environmentName", n), m("listDataApps", "packageName", e);
1477
- const a = "/environments/{environmentName}/packages/{packageName}/data-apps".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, b);
1688
+ listDataApps: async (n, e, r = {}) => {
1689
+ h("listDataApps", "environmentName", n), h("listDataApps", "packageName", e);
1690
+ const a = "/environments/{environmentName}/packages/{packageName}/data-apps".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), t = new URL(a, b);
1478
1691
  let o;
1479
1692
  l && (o = l.baseOptions);
1480
- const s = { method: "GET", ...o, ...t }, c = {};
1481
- P(r, {});
1693
+ const s = { method: "GET", ...o, ...r }, c = {};
1694
+ V(t, {});
1482
1695
  let d = o && o.headers ? o.headers : {};
1483
- return s.headers = { ...c, ...d, ...t.headers }, {
1484
- url: v(r),
1696
+ return s.headers = { ...c, ...d, ...r.headers }, {
1697
+ url: v(t),
1485
1698
  options: s
1486
1699
  };
1487
1700
  }
1488
1701
  };
1489
1702
  }, Z = function(l) {
1490
- const n = Se(l);
1703
+ const n = Ie(l);
1491
1704
  return {
1492
1705
  /**
1493
1706
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -1497,13 +1710,13 @@ const Se = function(l) {
1497
1710
  * @param {*} [options] Override http request option.
1498
1711
  * @throws {RequiredError}
1499
1712
  */
1500
- async listDataApps(e, t, a) {
1501
- const r = await n.listDataApps(e, t, a), o = l?.serverIndex ?? 0, s = g["DataAppsApi.listDataApps"]?.[o]?.url;
1502
- return (c, i) => V(r, h, u, l)(c, s || i);
1713
+ async listDataApps(e, r, a) {
1714
+ const t = await n.listDataApps(e, r, a), o = l?.serverIndex ?? 0, s = P["DataAppsApi.listDataApps"]?.[o]?.url;
1715
+ return (c, i) => O(t, m, g, l)(c, s || i);
1503
1716
  }
1504
1717
  };
1505
- }, Ha = function(l, n, e) {
1506
- const t = Z(l);
1718
+ }, at = function(l, n, e) {
1719
+ const r = Z(l);
1507
1720
  return {
1508
1721
  /**
1509
1722
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -1513,12 +1726,12 @@ const Se = function(l) {
1513
1726
  * @param {*} [options] Override http request option.
1514
1727
  * @throws {RequiredError}
1515
1728
  */
1516
- listDataApps(a, r, o) {
1517
- return t.listDataApps(a, r, o).then((s) => s(e, n));
1729
+ listDataApps(a, t, o) {
1730
+ return r.listDataApps(a, t, o).then((s) => s(e, n));
1518
1731
  }
1519
1732
  };
1520
1733
  };
1521
- class ke extends I {
1734
+ class Ae extends I {
1522
1735
  /**
1523
1736
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
1524
1737
  * @summary List package data apps
@@ -1528,11 +1741,11 @@ class ke extends I {
1528
1741
  * @throws {RequiredError}
1529
1742
  * @memberof DataAppsApi
1530
1743
  */
1531
- listDataApps(n, e, t) {
1532
- return Z(this.configuration).listDataApps(n, e, t).then((a) => a(this.axios, this.basePath));
1744
+ listDataApps(n, e, r) {
1745
+ return Z(this.configuration).listDataApps(n, e, r).then((a) => a(this.axios, this.basePath));
1533
1746
  }
1534
1747
  }
1535
- const ye = function(l) {
1748
+ const xe = function(l) {
1536
1749
  return {
1537
1750
  /**
1538
1751
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1543,13 +1756,13 @@ const ye = function(l) {
1543
1756
  * @param {*} [options] Override http request option.
1544
1757
  * @throws {RequiredError}
1545
1758
  */
1546
- listDatabases: async (n, e, t, a = {}) => {
1547
- m("listDatabases", "environmentName", n), m("listDatabases", "packageName", e);
1548
- const r = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, b);
1759
+ listDatabases: async (n, e, r, a = {}) => {
1760
+ h("listDatabases", "environmentName", n), h("listDatabases", "packageName", e);
1761
+ const t = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
1549
1762
  let s;
1550
1763
  l && (s = l.baseOptions);
1551
1764
  const c = { method: "GET", ...s, ...a }, i = {}, d = {};
1552
- t !== void 0 && (d.versionId = t), P(o, d);
1765
+ r !== void 0 && (d.versionId = r), V(o, d);
1553
1766
  let p = s && s.headers ? s.headers : {};
1554
1767
  return c.headers = { ...i, ...p, ...a.headers }, {
1555
1768
  url: v(o),
@@ -1558,7 +1771,7 @@ const ye = function(l) {
1558
1771
  }
1559
1772
  };
1560
1773
  }, ee = function(l) {
1561
- const n = ye(l);
1774
+ const n = xe(l);
1562
1775
  return {
1563
1776
  /**
1564
1777
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1569,13 +1782,13 @@ const ye = function(l) {
1569
1782
  * @param {*} [options] Override http request option.
1570
1783
  * @throws {RequiredError}
1571
1784
  */
1572
- async listDatabases(e, t, a, r) {
1573
- const o = await n.listDatabases(e, t, a, r), s = l?.serverIndex ?? 0, c = g["DatabasesApi.listDatabases"]?.[s]?.url;
1574
- return (i, d) => V(o, h, u, l)(i, c || d);
1785
+ async listDatabases(e, r, a, t) {
1786
+ const o = await n.listDatabases(e, r, a, t), s = l?.serverIndex ?? 0, c = P["DatabasesApi.listDatabases"]?.[s]?.url;
1787
+ return (i, d) => O(o, m, g, l)(i, c || d);
1575
1788
  }
1576
1789
  };
1577
- }, _a = function(l, n, e) {
1578
- const t = ee(l);
1790
+ }, tt = function(l, n, e) {
1791
+ const r = ee(l);
1579
1792
  return {
1580
1793
  /**
1581
1794
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1586,12 +1799,12 @@ const ye = function(l) {
1586
1799
  * @param {*} [options] Override http request option.
1587
1800
  * @throws {RequiredError}
1588
1801
  */
1589
- listDatabases(a, r, o, s) {
1590
- return t.listDatabases(a, r, o, s).then((c) => c(e, n));
1802
+ listDatabases(a, t, o, s) {
1803
+ return r.listDatabases(a, t, o, s).then((c) => c(e, n));
1591
1804
  }
1592
1805
  };
1593
1806
  };
1594
- class Ce extends I {
1807
+ class Re extends I {
1595
1808
  /**
1596
1809
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
1597
1810
  * @summary List embedded databases
@@ -1602,11 +1815,11 @@ class Ce extends I {
1602
1815
  * @throws {RequiredError}
1603
1816
  * @memberof DatabasesApi
1604
1817
  */
1605
- listDatabases(n, e, t, a) {
1606
- return ee(this.configuration).listDatabases(n, e, t, a).then((r) => r(this.axios, this.basePath));
1818
+ listDatabases(n, e, r, a) {
1819
+ return ee(this.configuration).listDatabases(n, e, r, a).then((t) => t(this.axios, this.basePath));
1607
1820
  }
1608
1821
  }
1609
- const Ie = function(l) {
1822
+ const Ne = function(l) {
1610
1823
  return {
1611
1824
  /**
1612
1825
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -1616,14 +1829,14 @@ const Ie = function(l) {
1616
1829
  * @throws {RequiredError}
1617
1830
  */
1618
1831
  createEnvironment: async (n, e = {}) => {
1619
- m("createEnvironment", "environment", n);
1620
- const t = "/environments", a = new URL(t, b);
1621
- let r;
1622
- l && (r = l.baseOptions);
1623
- const o = { method: "POST", ...r, ...e }, s = {}, c = {};
1624
- s["Content-Type"] = "application/json", P(a, c);
1625
- let i = r && r.headers ? r.headers : {};
1626
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
1832
+ h("createEnvironment", "environment", n);
1833
+ const r = "/environments", a = new URL(r, b);
1834
+ let t;
1835
+ l && (t = l.baseOptions);
1836
+ const o = { method: "POST", ...t, ...e }, s = {}, c = {};
1837
+ s["Content-Type"] = "application/json", V(a, c);
1838
+ let i = t && t.headers ? t.headers : {};
1839
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, l), {
1627
1840
  url: v(a),
1628
1841
  options: o
1629
1842
  };
@@ -1636,13 +1849,13 @@ const Ie = function(l) {
1636
1849
  * @throws {RequiredError}
1637
1850
  */
1638
1851
  deleteEnvironment: async (n, e = {}) => {
1639
- m("deleteEnvironment", "environmentName", n);
1640
- const t = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, b);
1641
- let r;
1642
- l && (r = l.baseOptions);
1643
- const o = { method: "DELETE", ...r, ...e }, s = {};
1644
- P(a, {});
1645
- let i = r && r.headers ? r.headers : {};
1852
+ h("deleteEnvironment", "environmentName", n);
1853
+ const r = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(r, b);
1854
+ let t;
1855
+ l && (t = l.baseOptions);
1856
+ const o = { method: "DELETE", ...t, ...e }, s = {};
1857
+ V(a, {});
1858
+ let i = t && t.headers ? t.headers : {};
1646
1859
  return o.headers = { ...s, ...i, ...e.headers }, {
1647
1860
  url: v(a),
1648
1861
  options: o
@@ -1656,16 +1869,16 @@ const Ie = function(l) {
1656
1869
  * @param {*} [options] Override http request option.
1657
1870
  * @throws {RequiredError}
1658
1871
  */
1659
- getEnvironment: async (n, e, t = {}) => {
1660
- m("getEnvironment", "environmentName", n);
1661
- const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, b);
1872
+ getEnvironment: async (n, e, r = {}) => {
1873
+ h("getEnvironment", "environmentName", n);
1874
+ const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), t = new URL(a, b);
1662
1875
  let o;
1663
1876
  l && (o = l.baseOptions);
1664
- const s = { method: "GET", ...o, ...t }, c = {}, i = {};
1665
- e !== void 0 && (i.reload = e), P(r, i);
1877
+ const s = { method: "GET", ...o, ...r }, c = {}, i = {};
1878
+ e !== void 0 && (i.reload = e), V(t, i);
1666
1879
  let d = o && o.headers ? o.headers : {};
1667
- return s.headers = { ...c, ...d, ...t.headers }, {
1668
- url: v(r),
1880
+ return s.headers = { ...c, ...d, ...r.headers }, {
1881
+ url: v(t),
1669
1882
  options: s
1670
1883
  };
1671
1884
  },
@@ -1676,15 +1889,15 @@ const Ie = function(l) {
1676
1889
  * @throws {RequiredError}
1677
1890
  */
1678
1891
  listEnvironments: async (n = {}) => {
1679
- const e = "/environments", t = new URL(e, b);
1892
+ const e = "/environments", r = new URL(e, b);
1680
1893
  let a;
1681
1894
  l && (a = l.baseOptions);
1682
- const r = { method: "GET", ...a, ...n }, o = {};
1683
- P(t, {});
1895
+ const t = { method: "GET", ...a, ...n }, o = {};
1896
+ V(r, {});
1684
1897
  let c = a && a.headers ? a.headers : {};
1685
- return r.headers = { ...o, ...c, ...n.headers }, {
1686
- url: v(t),
1687
- options: r
1898
+ return t.headers = { ...o, ...c, ...n.headers }, {
1899
+ url: v(r),
1900
+ options: t
1688
1901
  };
1689
1902
  },
1690
1903
  /**
@@ -1695,22 +1908,22 @@ const Ie = function(l) {
1695
1908
  * @param {*} [options] Override http request option.
1696
1909
  * @throws {RequiredError}
1697
1910
  */
1698
- updateEnvironment: async (n, e, t = {}) => {
1699
- m("updateEnvironment", "environmentName", n), m("updateEnvironment", "environment", e);
1700
- const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, b);
1911
+ updateEnvironment: async (n, e, r = {}) => {
1912
+ h("updateEnvironment", "environmentName", n), h("updateEnvironment", "environment", e);
1913
+ const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), t = new URL(a, b);
1701
1914
  let o;
1702
1915
  l && (o = l.baseOptions);
1703
- const s = { method: "PATCH", ...o, ...t }, c = {}, i = {};
1704
- c["Content-Type"] = "application/json", P(r, i);
1916
+ const s = { method: "PATCH", ...o, ...r }, c = {}, i = {};
1917
+ c["Content-Type"] = "application/json", V(t, i);
1705
1918
  let d = o && o.headers ? o.headers : {};
1706
- return s.headers = { ...c, ...d, ...t.headers }, s.data = k(e, s, l), {
1707
- url: v(r),
1919
+ return s.headers = { ...c, ...d, ...r.headers }, s.data = S(e, s, l), {
1920
+ url: v(t),
1708
1921
  options: s
1709
1922
  };
1710
1923
  }
1711
1924
  };
1712
1925
  }, N = function(l) {
1713
- const n = Ie(l);
1926
+ const n = Ne(l);
1714
1927
  return {
1715
1928
  /**
1716
1929
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -1719,9 +1932,9 @@ const Ie = function(l) {
1719
1932
  * @param {*} [options] Override http request option.
1720
1933
  * @throws {RequiredError}
1721
1934
  */
1722
- async createEnvironment(e, t) {
1723
- const a = await n.createEnvironment(e, t), r = l?.serverIndex ?? 0, o = g["EnvironmentsApi.createEnvironment"]?.[r]?.url;
1724
- return (s, c) => V(a, h, u, l)(s, o || c);
1935
+ async createEnvironment(e, r) {
1936
+ const a = await n.createEnvironment(e, r), t = l?.serverIndex ?? 0, o = P["EnvironmentsApi.createEnvironment"]?.[t]?.url;
1937
+ return (s, c) => O(a, m, g, l)(s, o || c);
1725
1938
  },
1726
1939
  /**
1727
1940
  * Permanently deletes an environment and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The environment must exist and be accessible for deletion.
@@ -1730,9 +1943,9 @@ const Ie = function(l) {
1730
1943
  * @param {*} [options] Override http request option.
1731
1944
  * @throws {RequiredError}
1732
1945
  */
1733
- async deleteEnvironment(e, t) {
1734
- const a = await n.deleteEnvironment(e, t), r = l?.serverIndex ?? 0, o = g["EnvironmentsApi.deleteEnvironment"]?.[r]?.url;
1735
- return (s, c) => V(a, h, u, l)(s, o || c);
1946
+ async deleteEnvironment(e, r) {
1947
+ const a = await n.deleteEnvironment(e, r), t = l?.serverIndex ?? 0, o = P["EnvironmentsApi.deleteEnvironment"]?.[t]?.url;
1948
+ return (s, c) => O(a, m, g, l)(s, o || c);
1736
1949
  },
1737
1950
  /**
1738
1951
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
@@ -1742,9 +1955,9 @@ const Ie = function(l) {
1742
1955
  * @param {*} [options] Override http request option.
1743
1956
  * @throws {RequiredError}
1744
1957
  */
1745
- async getEnvironment(e, t, a) {
1746
- const r = await n.getEnvironment(e, t, a), o = l?.serverIndex ?? 0, s = g["EnvironmentsApi.getEnvironment"]?.[o]?.url;
1747
- return (c, i) => V(r, h, u, l)(c, s || i);
1958
+ async getEnvironment(e, r, a) {
1959
+ const t = await n.getEnvironment(e, r, a), o = l?.serverIndex ?? 0, s = P["EnvironmentsApi.getEnvironment"]?.[o]?.url;
1960
+ return (c, i) => O(t, m, g, l)(c, s || i);
1748
1961
  },
1749
1962
  /**
1750
1963
  * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
@@ -1753,8 +1966,8 @@ const Ie = function(l) {
1753
1966
  * @throws {RequiredError}
1754
1967
  */
1755
1968
  async listEnvironments(e) {
1756
- const t = await n.listEnvironments(e), a = l?.serverIndex ?? 0, r = g["EnvironmentsApi.listEnvironments"]?.[a]?.url;
1757
- return (o, s) => V(t, h, u, l)(o, r || s);
1969
+ const r = await n.listEnvironments(e), a = l?.serverIndex ?? 0, t = P["EnvironmentsApi.listEnvironments"]?.[a]?.url;
1970
+ return (o, s) => O(r, m, g, l)(o, t || s);
1758
1971
  },
1759
1972
  /**
1760
1973
  * Updates the configuration and metadata of an existing environment. This allows you to modify environment settings, update the README, change the location, or update other environment-level properties. The environment must exist and be accessible.
@@ -1764,13 +1977,13 @@ const Ie = function(l) {
1764
1977
  * @param {*} [options] Override http request option.
1765
1978
  * @throws {RequiredError}
1766
1979
  */
1767
- async updateEnvironment(e, t, a) {
1768
- const r = await n.updateEnvironment(e, t, a), o = l?.serverIndex ?? 0, s = g["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
1769
- return (c, i) => V(r, h, u, l)(c, s || i);
1980
+ async updateEnvironment(e, r, a) {
1981
+ const t = await n.updateEnvironment(e, r, a), o = l?.serverIndex ?? 0, s = P["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
1982
+ return (c, i) => O(t, m, g, l)(c, s || i);
1770
1983
  }
1771
1984
  };
1772
- }, Wa = function(l, n, e) {
1773
- const t = N(l);
1985
+ }, rt = function(l, n, e) {
1986
+ const r = N(l);
1774
1987
  return {
1775
1988
  /**
1776
1989
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -1779,8 +1992,8 @@ const Ie = function(l) {
1779
1992
  * @param {*} [options] Override http request option.
1780
1993
  * @throws {RequiredError}
1781
1994
  */
1782
- createEnvironment(a, r) {
1783
- return t.createEnvironment(a, r).then((o) => o(e, n));
1995
+ createEnvironment(a, t) {
1996
+ return r.createEnvironment(a, t).then((o) => o(e, n));
1784
1997
  },
1785
1998
  /**
1786
1999
  * Permanently deletes an environment and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The environment must exist and be accessible for deletion.
@@ -1789,8 +2002,8 @@ const Ie = function(l) {
1789
2002
  * @param {*} [options] Override http request option.
1790
2003
  * @throws {RequiredError}
1791
2004
  */
1792
- deleteEnvironment(a, r) {
1793
- return t.deleteEnvironment(a, r).then((o) => o(e, n));
2005
+ deleteEnvironment(a, t) {
2006
+ return r.deleteEnvironment(a, t).then((o) => o(e, n));
1794
2007
  },
1795
2008
  /**
1796
2009
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
@@ -1800,8 +2013,8 @@ const Ie = function(l) {
1800
2013
  * @param {*} [options] Override http request option.
1801
2014
  * @throws {RequiredError}
1802
2015
  */
1803
- getEnvironment(a, r, o) {
1804
- return t.getEnvironment(a, r, o).then((s) => s(e, n));
2016
+ getEnvironment(a, t, o) {
2017
+ return r.getEnvironment(a, t, o).then((s) => s(e, n));
1805
2018
  },
1806
2019
  /**
1807
2020
  * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
@@ -1810,7 +2023,7 @@ const Ie = function(l) {
1810
2023
  * @throws {RequiredError}
1811
2024
  */
1812
2025
  listEnvironments(a) {
1813
- return t.listEnvironments(a).then((r) => r(e, n));
2026
+ return r.listEnvironments(a).then((t) => t(e, n));
1814
2027
  },
1815
2028
  /**
1816
2029
  * Updates the configuration and metadata of an existing environment. This allows you to modify environment settings, update the README, change the location, or update other environment-level properties. The environment must exist and be accessible.
@@ -1820,12 +2033,12 @@ const Ie = function(l) {
1820
2033
  * @param {*} [options] Override http request option.
1821
2034
  * @throws {RequiredError}
1822
2035
  */
1823
- updateEnvironment(a, r, o) {
1824
- return t.updateEnvironment(a, r, o).then((s) => s(e, n));
2036
+ updateEnvironment(a, t, o) {
2037
+ return r.updateEnvironment(a, t, o).then((s) => s(e, n));
1825
2038
  }
1826
2039
  };
1827
2040
  };
1828
- class xe extends I {
2041
+ class Te extends I {
1829
2042
  /**
1830
2043
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
1831
2044
  * @summary Create a new environment
@@ -1835,7 +2048,7 @@ class xe extends I {
1835
2048
  * @memberof EnvironmentsApi
1836
2049
  */
1837
2050
  createEnvironment(n, e) {
1838
- return N(this.configuration).createEnvironment(n, e).then((t) => t(this.axios, this.basePath));
2051
+ return N(this.configuration).createEnvironment(n, e).then((r) => r(this.axios, this.basePath));
1839
2052
  }
1840
2053
  /**
1841
2054
  * Permanently deletes an environment and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The environment must exist and be accessible for deletion.
@@ -1846,7 +2059,7 @@ class xe extends I {
1846
2059
  * @memberof EnvironmentsApi
1847
2060
  */
1848
2061
  deleteEnvironment(n, e) {
1849
- return N(this.configuration).deleteEnvironment(n, e).then((t) => t(this.axios, this.basePath));
2062
+ return N(this.configuration).deleteEnvironment(n, e).then((r) => r(this.axios, this.basePath));
1850
2063
  }
1851
2064
  /**
1852
2065
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
@@ -1857,8 +2070,8 @@ class xe extends I {
1857
2070
  * @throws {RequiredError}
1858
2071
  * @memberof EnvironmentsApi
1859
2072
  */
1860
- getEnvironment(n, e, t) {
1861
- return N(this.configuration).getEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
2073
+ getEnvironment(n, e, r) {
2074
+ return N(this.configuration).getEnvironment(n, e, r).then((a) => a(this.axios, this.basePath));
1862
2075
  }
1863
2076
  /**
1864
2077
  * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
@@ -1879,11 +2092,11 @@ class xe extends I {
1879
2092
  * @throws {RequiredError}
1880
2093
  * @memberof EnvironmentsApi
1881
2094
  */
1882
- updateEnvironment(n, e, t) {
1883
- return N(this.configuration).updateEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
2095
+ updateEnvironment(n, e, r) {
2096
+ return N(this.configuration).updateEnvironment(n, e, r).then((a) => a(this.axios, this.basePath));
1884
2097
  }
1885
2098
  }
1886
- const Ae = function(l) {
2099
+ const Ue = function(l) {
1887
2100
  return {
1888
2101
  /**
1889
2102
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -1894,15 +2107,15 @@ const Ae = function(l) {
1894
2107
  * @param {*} [options] Override http request option.
1895
2108
  * @throws {RequiredError}
1896
2109
  */
1897
- createMaterialization: async (n, e, t, a = {}) => {
1898
- m("createMaterialization", "environmentName", n), m("createMaterialization", "packageName", e);
1899
- const r = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, b);
2110
+ createMaterialization: async (n, e, r, a = {}) => {
2111
+ h("createMaterialization", "environmentName", n), h("createMaterialization", "packageName", e);
2112
+ const t = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
1900
2113
  let s;
1901
2114
  l && (s = l.baseOptions);
1902
2115
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
1903
- i["Content-Type"] = "application/json", P(o, d);
2116
+ i["Content-Type"] = "application/json", V(o, d);
1904
2117
  let p = s && s.headers ? s.headers : {};
1905
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
2118
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = S(r, c, l), {
1906
2119
  url: v(o),
1907
2120
  options: c
1908
2121
  };
@@ -1917,15 +2130,15 @@ const Ae = function(l) {
1917
2130
  * @param {*} [options] Override http request option.
1918
2131
  * @throws {RequiredError}
1919
2132
  */
1920
- deleteMaterialization: async (n, e, t, a, r = {}) => {
1921
- m("deleteMaterialization", "environmentName", n), m("deleteMaterialization", "packageName", e), m("deleteMaterialization", "materializationId", t);
1922
- const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), s = new URL(o, b);
2133
+ deleteMaterialization: async (n, e, r, a, t = {}) => {
2134
+ h("deleteMaterialization", "environmentName", n), h("deleteMaterialization", "packageName", e), h("deleteMaterialization", "materializationId", r);
2135
+ const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(r))), s = new URL(o, b);
1923
2136
  let c;
1924
2137
  l && (c = l.baseOptions);
1925
- const i = { method: "DELETE", ...c, ...r }, d = {}, p = {};
1926
- a !== void 0 && (p.dropTables = a), P(s, p);
1927
- let O = c && c.headers ? c.headers : {};
1928
- return i.headers = { ...d, ...O, ...r.headers }, {
2138
+ const i = { method: "DELETE", ...c, ...t }, d = {}, p = {};
2139
+ a !== void 0 && (p.dropTables = a), V(s, p);
2140
+ let u = c && c.headers ? c.headers : {};
2141
+ return i.headers = { ...d, ...u, ...t.headers }, {
1929
2142
  url: v(s),
1930
2143
  options: i
1931
2144
  };
@@ -1939,35 +2152,13 @@ const Ae = function(l) {
1939
2152
  * @param {*} [options] Override http request option.
1940
2153
  * @throws {RequiredError}
1941
2154
  */
1942
- getMaterialization: async (n, e, t, a = {}) => {
1943
- m("getMaterialization", "environmentName", n), m("getMaterialization", "packageName", e), m("getMaterialization", "materializationId", t);
1944
- const r = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), o = new URL(r, b);
2155
+ getMaterialization: async (n, e, r, a = {}) => {
2156
+ h("getMaterialization", "environmentName", n), h("getMaterialization", "packageName", e), h("getMaterialization", "materializationId", r);
2157
+ const t = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(r))), o = new URL(t, b);
1945
2158
  let s;
1946
2159
  l && (s = l.baseOptions);
1947
2160
  const c = { method: "GET", ...s, ...a }, i = {};
1948
- P(o, {});
1949
- let p = s && s.headers ? s.headers : {};
1950
- return c.headers = { ...i, ...p, ...a.headers }, {
1951
- url: v(o),
1952
- options: c
1953
- };
1954
- },
1955
- /**
1956
- * Returns every materialization across all packages in the environment, ordered by most recent first. Each item carries its `packageName`, so an environment-scoped view can group or label by package. This is the collection-level sibling of the per-package `/packages/{packageName}/materializations` list; the literal `materializations` segment is matched ahead of `{packageName}`, so `materializations` cannot be used as a package name.
1957
- * @summary List all materializations in an environment
1958
- * @param {string} environmentName Name of the environment
1959
- * @param {number} [limit] Maximum number of materializations to return
1960
- * @param {number} [offset] Number of materializations to skip
1961
- * @param {*} [options] Override http request option.
1962
- * @throws {RequiredError}
1963
- */
1964
- listEnvironmentMaterializations: async (n, e, t, a = {}) => {
1965
- m("listEnvironmentMaterializations", "environmentName", n);
1966
- const r = "/environments/{environmentName}/packages/materializations".replace("{environmentName}", encodeURIComponent(String(n))), o = new URL(r, b);
1967
- let s;
1968
- l && (s = l.baseOptions);
1969
- const c = { method: "GET", ...s, ...a }, i = {}, d = {};
1970
- e !== void 0 && (d.limit = e), t !== void 0 && (d.offset = t), P(o, d);
2161
+ V(o, {});
1971
2162
  let p = s && s.headers ? s.headers : {};
1972
2163
  return c.headers = { ...i, ...p, ...a.headers }, {
1973
2164
  url: v(o),
@@ -1984,15 +2175,15 @@ const Ae = function(l) {
1984
2175
  * @param {*} [options] Override http request option.
1985
2176
  * @throws {RequiredError}
1986
2177
  */
1987
- listMaterializations: async (n, e, t, a, r = {}) => {
1988
- m("listMaterializations", "environmentName", n), m("listMaterializations", "packageName", e);
2178
+ listMaterializations: async (n, e, r, a, t = {}) => {
2179
+ h("listMaterializations", "environmentName", n), h("listMaterializations", "packageName", e);
1989
2180
  const o = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, b);
1990
2181
  let c;
1991
2182
  l && (c = l.baseOptions);
1992
- const i = { method: "GET", ...c, ...r }, d = {}, p = {};
1993
- t !== void 0 && (p.limit = t), a !== void 0 && (p.offset = a), P(s, p);
1994
- let O = c && c.headers ? c.headers : {};
1995
- return i.headers = { ...d, ...O, ...r.headers }, {
2183
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
2184
+ r !== void 0 && (p.limit = r), a !== void 0 && (p.offset = a), V(s, p);
2185
+ let u = c && c.headers ? c.headers : {};
2186
+ return i.headers = { ...d, ...u, ...t.headers }, {
1996
2187
  url: v(s),
1997
2188
  options: i
1998
2189
  };
@@ -2007,22 +2198,22 @@ const Ae = function(l) {
2007
2198
  * @param {*} [options] Override http request option.
2008
2199
  * @throws {RequiredError}
2009
2200
  */
2010
- materializationAction: async (n, e, t, a, r = {}) => {
2011
- m("materializationAction", "environmentName", n), m("materializationAction", "packageName", e), m("materializationAction", "materializationId", t), m("materializationAction", "action", a);
2012
- const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), s = new URL(o, b);
2201
+ materializationAction: async (n, e, r, a, t = {}) => {
2202
+ h("materializationAction", "environmentName", n), h("materializationAction", "packageName", e), h("materializationAction", "materializationId", r), h("materializationAction", "action", a);
2203
+ const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(r))), s = new URL(o, b);
2013
2204
  let c;
2014
2205
  l && (c = l.baseOptions);
2015
- const i = { method: "POST", ...c, ...r }, d = {}, p = {};
2016
- a !== void 0 && (p.action = a), P(s, p);
2017
- let O = c && c.headers ? c.headers : {};
2018
- return i.headers = { ...d, ...O, ...r.headers }, {
2206
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
2207
+ a !== void 0 && (p.action = a), V(s, p);
2208
+ let u = c && c.headers ? c.headers : {};
2209
+ return i.headers = { ...d, ...u, ...t.headers }, {
2019
2210
  url: v(s),
2020
2211
  options: i
2021
2212
  };
2022
2213
  }
2023
2214
  };
2024
- }, A = function(l) {
2025
- const n = Ae(l);
2215
+ }, T = function(l) {
2216
+ const n = Ue(l);
2026
2217
  return {
2027
2218
  /**
2028
2219
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -2033,9 +2224,9 @@ const Ae = function(l) {
2033
2224
  * @param {*} [options] Override http request option.
2034
2225
  * @throws {RequiredError}
2035
2226
  */
2036
- async createMaterialization(e, t, a, r) {
2037
- const o = await n.createMaterialization(e, t, a, r), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.createMaterialization"]?.[s]?.url;
2038
- return (i, d) => V(o, h, u, l)(i, c || d);
2227
+ async createMaterialization(e, r, a, t) {
2228
+ const o = await n.createMaterialization(e, r, a, t), s = l?.serverIndex ?? 0, c = P["MaterializationsApi.createMaterialization"]?.[s]?.url;
2229
+ return (i, d) => O(o, m, g, l)(i, c || d);
2039
2230
  },
2040
2231
  /**
2041
2232
  * Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. By default this removes the publisher\'s record only; the caller owns table GC. Set dropTables=true to also drop the physical tables this run produced (from the materialization\'s manifest) as a best-effort cleanup.
@@ -2047,9 +2238,9 @@ const Ae = function(l) {
2047
2238
  * @param {*} [options] Override http request option.
2048
2239
  * @throws {RequiredError}
2049
2240
  */
2050
- async deleteMaterialization(e, t, a, r, o) {
2051
- const s = await n.deleteMaterialization(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["MaterializationsApi.deleteMaterialization"]?.[c]?.url;
2052
- return (d, p) => V(s, h, u, l)(d, i || p);
2241
+ async deleteMaterialization(e, r, a, t, o) {
2242
+ const s = await n.deleteMaterialization(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.deleteMaterialization"]?.[c]?.url;
2243
+ return (d, p) => O(s, m, g, l)(d, i || p);
2053
2244
  },
2054
2245
  /**
2055
2246
  *
@@ -2060,26 +2251,13 @@ const Ae = function(l) {
2060
2251
  * @param {*} [options] Override http request option.
2061
2252
  * @throws {RequiredError}
2062
2253
  */
2063
- async getMaterialization(e, t, a, r) {
2064
- const o = await n.getMaterialization(e, t, a, r), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.getMaterialization"]?.[s]?.url;
2065
- return (i, d) => V(o, h, u, l)(i, c || d);
2254
+ async getMaterialization(e, r, a, t) {
2255
+ const o = await n.getMaterialization(e, r, a, t), s = l?.serverIndex ?? 0, c = P["MaterializationsApi.getMaterialization"]?.[s]?.url;
2256
+ return (i, d) => O(o, m, g, l)(i, c || d);
2066
2257
  },
2067
2258
  /**
2068
- * Returns every materialization across all packages in the environment, ordered by most recent first. Each item carries its `packageName`, so an environment-scoped view can group or label by package. This is the collection-level sibling of the per-package `/packages/{packageName}/materializations` list; the literal `materializations` segment is matched ahead of `{packageName}`, so `materializations` cannot be used as a package name.
2069
- * @summary List all materializations in an environment
2070
- * @param {string} environmentName Name of the environment
2071
- * @param {number} [limit] Maximum number of materializations to return
2072
- * @param {number} [offset] Number of materializations to skip
2073
- * @param {*} [options] Override http request option.
2074
- * @throws {RequiredError}
2075
- */
2076
- async listEnvironmentMaterializations(e, t, a, r) {
2077
- const o = await n.listEnvironmentMaterializations(e, t, a, r), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.listEnvironmentMaterializations"]?.[s]?.url;
2078
- return (i, d) => V(o, h, u, l)(i, c || d);
2079
- },
2080
- /**
2081
- * Returns the materialization history for the package, ordered by most recent first.
2082
- * @summary List materializations for a package
2259
+ * Returns the materialization history for the package, ordered by most recent first.
2260
+ * @summary List materializations for a package
2083
2261
  * @param {string} environmentName Name of the environment
2084
2262
  * @param {string} packageName Name of the package
2085
2263
  * @param {number} [limit] Maximum number of materializations to return
@@ -2087,9 +2265,9 @@ const Ae = function(l) {
2087
2265
  * @param {*} [options] Override http request option.
2088
2266
  * @throws {RequiredError}
2089
2267
  */
2090
- async listMaterializations(e, t, a, r, o) {
2091
- const s = await n.listMaterializations(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["MaterializationsApi.listMaterializations"]?.[c]?.url;
2092
- return (d, p) => V(s, h, u, l)(d, i || p);
2268
+ async listMaterializations(e, r, a, t, o) {
2269
+ const s = await n.listMaterializations(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.listMaterializations"]?.[c]?.url;
2270
+ return (d, p) => O(s, m, g, l)(d, i || p);
2093
2271
  },
2094
2272
  /**
2095
2273
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200.
@@ -2101,13 +2279,13 @@ const Ae = function(l) {
2101
2279
  * @param {*} [options] Override http request option.
2102
2280
  * @throws {RequiredError}
2103
2281
  */
2104
- async materializationAction(e, t, a, r, o) {
2105
- const s = await n.materializationAction(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["MaterializationsApi.materializationAction"]?.[c]?.url;
2106
- return (d, p) => V(s, h, u, l)(d, i || p);
2282
+ async materializationAction(e, r, a, t, o) {
2283
+ const s = await n.materializationAction(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.materializationAction"]?.[c]?.url;
2284
+ return (d, p) => O(s, m, g, l)(d, i || p);
2107
2285
  }
2108
2286
  };
2109
- }, Ga = function(l, n, e) {
2110
- const t = A(l);
2287
+ }, nt = function(l, n, e) {
2288
+ const r = T(l);
2111
2289
  return {
2112
2290
  /**
2113
2291
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -2118,8 +2296,8 @@ const Ae = function(l) {
2118
2296
  * @param {*} [options] Override http request option.
2119
2297
  * @throws {RequiredError}
2120
2298
  */
2121
- createMaterialization(a, r, o, s) {
2122
- return t.createMaterialization(a, r, o, s).then((c) => c(e, n));
2299
+ createMaterialization(a, t, o, s) {
2300
+ return r.createMaterialization(a, t, o, s).then((c) => c(e, n));
2123
2301
  },
2124
2302
  /**
2125
2303
  * Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. By default this removes the publisher\'s record only; the caller owns table GC. Set dropTables=true to also drop the physical tables this run produced (from the materialization\'s manifest) as a best-effort cleanup.
@@ -2131,8 +2309,8 @@ const Ae = function(l) {
2131
2309
  * @param {*} [options] Override http request option.
2132
2310
  * @throws {RequiredError}
2133
2311
  */
2134
- deleteMaterialization(a, r, o, s, c) {
2135
- return t.deleteMaterialization(a, r, o, s, c).then((i) => i(e, n));
2312
+ deleteMaterialization(a, t, o, s, c) {
2313
+ return r.deleteMaterialization(a, t, o, s, c).then((i) => i(e, n));
2136
2314
  },
2137
2315
  /**
2138
2316
  *
@@ -2143,20 +2321,8 @@ const Ae = function(l) {
2143
2321
  * @param {*} [options] Override http request option.
2144
2322
  * @throws {RequiredError}
2145
2323
  */
2146
- getMaterialization(a, r, o, s) {
2147
- return t.getMaterialization(a, r, o, s).then((c) => c(e, n));
2148
- },
2149
- /**
2150
- * Returns every materialization across all packages in the environment, ordered by most recent first. Each item carries its `packageName`, so an environment-scoped view can group or label by package. This is the collection-level sibling of the per-package `/packages/{packageName}/materializations` list; the literal `materializations` segment is matched ahead of `{packageName}`, so `materializations` cannot be used as a package name.
2151
- * @summary List all materializations in an environment
2152
- * @param {string} environmentName Name of the environment
2153
- * @param {number} [limit] Maximum number of materializations to return
2154
- * @param {number} [offset] Number of materializations to skip
2155
- * @param {*} [options] Override http request option.
2156
- * @throws {RequiredError}
2157
- */
2158
- listEnvironmentMaterializations(a, r, o, s) {
2159
- return t.listEnvironmentMaterializations(a, r, o, s).then((c) => c(e, n));
2324
+ getMaterialization(a, t, o, s) {
2325
+ return r.getMaterialization(a, t, o, s).then((c) => c(e, n));
2160
2326
  },
2161
2327
  /**
2162
2328
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2168,8 +2334,8 @@ const Ae = function(l) {
2168
2334
  * @param {*} [options] Override http request option.
2169
2335
  * @throws {RequiredError}
2170
2336
  */
2171
- listMaterializations(a, r, o, s, c) {
2172
- return t.listMaterializations(a, r, o, s, c).then((i) => i(e, n));
2337
+ listMaterializations(a, t, o, s, c) {
2338
+ return r.listMaterializations(a, t, o, s, c).then((i) => i(e, n));
2173
2339
  },
2174
2340
  /**
2175
2341
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200.
@@ -2181,12 +2347,12 @@ const Ae = function(l) {
2181
2347
  * @param {*} [options] Override http request option.
2182
2348
  * @throws {RequiredError}
2183
2349
  */
2184
- materializationAction(a, r, o, s, c) {
2185
- return t.materializationAction(a, r, o, s, c).then((i) => i(e, n));
2350
+ materializationAction(a, t, o, s, c) {
2351
+ return r.materializationAction(a, t, o, s, c).then((i) => i(e, n));
2186
2352
  }
2187
2353
  };
2188
2354
  };
2189
- class Re extends I {
2355
+ class we extends I {
2190
2356
  /**
2191
2357
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
2192
2358
  * @summary Create a materialization
@@ -2197,8 +2363,8 @@ class Re extends I {
2197
2363
  * @throws {RequiredError}
2198
2364
  * @memberof MaterializationsApi
2199
2365
  */
2200
- createMaterialization(n, e, t, a) {
2201
- return A(this.configuration).createMaterialization(n, e, t, a).then((r) => r(this.axios, this.basePath));
2366
+ createMaterialization(n, e, r, a) {
2367
+ return T(this.configuration).createMaterialization(n, e, r, a).then((t) => t(this.axios, this.basePath));
2202
2368
  }
2203
2369
  /**
2204
2370
  * Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. By default this removes the publisher\'s record only; the caller owns table GC. Set dropTables=true to also drop the physical tables this run produced (from the materialization\'s manifest) as a best-effort cleanup.
@@ -2211,8 +2377,8 @@ class Re extends I {
2211
2377
  * @throws {RequiredError}
2212
2378
  * @memberof MaterializationsApi
2213
2379
  */
2214
- deleteMaterialization(n, e, t, a, r) {
2215
- return A(this.configuration).deleteMaterialization(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2380
+ deleteMaterialization(n, e, r, a, t) {
2381
+ return T(this.configuration).deleteMaterialization(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2216
2382
  }
2217
2383
  /**
2218
2384
  *
@@ -2224,21 +2390,8 @@ class Re extends I {
2224
2390
  * @throws {RequiredError}
2225
2391
  * @memberof MaterializationsApi
2226
2392
  */
2227
- getMaterialization(n, e, t, a) {
2228
- return A(this.configuration).getMaterialization(n, e, t, a).then((r) => r(this.axios, this.basePath));
2229
- }
2230
- /**
2231
- * Returns every materialization across all packages in the environment, ordered by most recent first. Each item carries its `packageName`, so an environment-scoped view can group or label by package. This is the collection-level sibling of the per-package `/packages/{packageName}/materializations` list; the literal `materializations` segment is matched ahead of `{packageName}`, so `materializations` cannot be used as a package name.
2232
- * @summary List all materializations in an environment
2233
- * @param {string} environmentName Name of the environment
2234
- * @param {number} [limit] Maximum number of materializations to return
2235
- * @param {number} [offset] Number of materializations to skip
2236
- * @param {*} [options] Override http request option.
2237
- * @throws {RequiredError}
2238
- * @memberof MaterializationsApi
2239
- */
2240
- listEnvironmentMaterializations(n, e, t, a) {
2241
- return A(this.configuration).listEnvironmentMaterializations(n, e, t, a).then((r) => r(this.axios, this.basePath));
2393
+ getMaterialization(n, e, r, a) {
2394
+ return T(this.configuration).getMaterialization(n, e, r, a).then((t) => t(this.axios, this.basePath));
2242
2395
  }
2243
2396
  /**
2244
2397
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2251,8 +2404,8 @@ class Re extends I {
2251
2404
  * @throws {RequiredError}
2252
2405
  * @memberof MaterializationsApi
2253
2406
  */
2254
- listMaterializations(n, e, t, a, r) {
2255
- return A(this.configuration).listMaterializations(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2407
+ listMaterializations(n, e, r, a, t) {
2408
+ return T(this.configuration).listMaterializations(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2256
2409
  }
2257
2410
  /**
2258
2411
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200.
@@ -2265,13 +2418,13 @@ class Re extends I {
2265
2418
  * @throws {RequiredError}
2266
2419
  * @memberof MaterializationsApi
2267
2420
  */
2268
- materializationAction(n, e, t, a, r) {
2269
- return A(this.configuration).materializationAction(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2421
+ materializationAction(n, e, r, a, t) {
2422
+ return T(this.configuration).materializationAction(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2270
2423
  }
2271
2424
  }
2272
- const Ya = {
2425
+ const ot = {
2273
2426
  Stop: "stop"
2274
- }, Ne = function(l) {
2427
+ }, Ee = function(l) {
2275
2428
  return {
2276
2429
  /**
2277
2430
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
@@ -2283,15 +2436,15 @@ const Ya = {
2283
2436
  * @param {*} [options] Override http request option.
2284
2437
  * @throws {RequiredError}
2285
2438
  */
2286
- compileModelSource: async (n, e, t, a, r = {}) => {
2287
- m("compileModelSource", "environmentName", n), m("compileModelSource", "packageName", e), m("compileModelSource", "path", t), m("compileModelSource", "compileRequest", a);
2288
- const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, b);
2439
+ compileModelSource: async (n, e, r, a, t = {}) => {
2440
+ h("compileModelSource", "environmentName", n), h("compileModelSource", "packageName", e), h("compileModelSource", "path", r), h("compileModelSource", "compileRequest", a);
2441
+ const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), s = new URL(o, b);
2289
2442
  let c;
2290
2443
  l && (c = l.baseOptions);
2291
- const i = { method: "POST", ...c, ...r }, d = {}, p = {};
2292
- d["Content-Type"] = "application/json", P(s, p);
2293
- let O = c && c.headers ? c.headers : {};
2294
- return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
2444
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
2445
+ d["Content-Type"] = "application/json", V(s, p);
2446
+ let u = c && c.headers ? c.headers : {};
2447
+ return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, l), {
2295
2448
  url: v(s),
2296
2449
  options: i
2297
2450
  };
@@ -2306,15 +2459,15 @@ const Ya = {
2306
2459
  * @param {*} [options] Override http request option.
2307
2460
  * @throws {RequiredError}
2308
2461
  */
2309
- executeQueryModel: async (n, e, t, a, r = {}) => {
2310
- m("executeQueryModel", "environmentName", n), m("executeQueryModel", "packageName", e), m("executeQueryModel", "path", t), m("executeQueryModel", "queryRequest", a);
2311
- const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, b);
2462
+ executeQueryModel: async (n, e, r, a, t = {}) => {
2463
+ h("executeQueryModel", "environmentName", n), h("executeQueryModel", "packageName", e), h("executeQueryModel", "path", r), h("executeQueryModel", "queryRequest", a);
2464
+ const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), s = new URL(o, b);
2312
2465
  let c;
2313
2466
  l && (c = l.baseOptions);
2314
- const i = { method: "POST", ...c, ...r }, d = {}, p = {};
2315
- d["Content-Type"] = "application/json", P(s, p);
2316
- let O = c && c.headers ? c.headers : {};
2317
- return i.headers = { ...d, ...O, ...r.headers }, i.data = k(a, i, l), {
2467
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
2468
+ d["Content-Type"] = "application/json", V(s, p);
2469
+ let u = c && c.headers ? c.headers : {};
2470
+ return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, l), {
2318
2471
  url: v(s),
2319
2472
  options: i
2320
2473
  };
@@ -2329,15 +2482,15 @@ const Ya = {
2329
2482
  * @param {*} [options] Override http request option.
2330
2483
  * @throws {RequiredError}
2331
2484
  */
2332
- getModel: async (n, e, t, a, r = {}) => {
2333
- m("getModel", "environmentName", n), m("getModel", "packageName", e), m("getModel", "path", t);
2334
- const o = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, b);
2485
+ getModel: async (n, e, r, a, t = {}) => {
2486
+ h("getModel", "environmentName", n), h("getModel", "packageName", e), h("getModel", "path", r);
2487
+ const o = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), s = new URL(o, b);
2335
2488
  let c;
2336
2489
  l && (c = l.baseOptions);
2337
- const i = { method: "GET", ...c, ...r }, d = {}, p = {};
2338
- a !== void 0 && (p.versionId = a), P(s, p);
2339
- let O = c && c.headers ? c.headers : {};
2340
- return i.headers = { ...d, ...O, ...r.headers }, {
2490
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
2491
+ a !== void 0 && (p.versionId = a), V(s, p);
2492
+ let u = c && c.headers ? c.headers : {};
2493
+ return i.headers = { ...d, ...u, ...t.headers }, {
2341
2494
  url: v(s),
2342
2495
  options: i
2343
2496
  };
@@ -2351,22 +2504,46 @@ const Ya = {
2351
2504
  * @param {*} [options] Override http request option.
2352
2505
  * @throws {RequiredError}
2353
2506
  */
2354
- listModels: async (n, e, t, a = {}) => {
2355
- m("listModels", "environmentName", n), m("listModels", "packageName", e);
2356
- const r = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, b);
2507
+ listModels: async (n, e, r, a = {}) => {
2508
+ h("listModels", "environmentName", n), h("listModels", "packageName", e);
2509
+ const t = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
2357
2510
  let s;
2358
2511
  l && (s = l.baseOptions);
2359
2512
  const c = { method: "GET", ...s, ...a }, i = {}, d = {};
2360
- t !== void 0 && (d.versionId = t), P(o, d);
2513
+ r !== void 0 && (d.versionId = r), V(o, d);
2361
2514
  let p = s && s.headers ? s.headers : {};
2362
2515
  return c.headers = { ...i, ...p, ...a.headers }, {
2363
2516
  url: v(o),
2364
2517
  options: c
2365
2518
  };
2519
+ },
2520
+ /**
2521
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2522
+ * @summary Write a dashboard file into the package
2523
+ * @param {string} environmentName Name of the environment
2524
+ * @param {string} packageName Name of the package
2525
+ * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2526
+ * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2527
+ * @param {string} [versionId] Version identifier for the package
2528
+ * @param {*} [options] Override http request option.
2529
+ * @throws {RequiredError}
2530
+ */
2531
+ updateModelSource: async (n, e, r, a, t, o = {}) => {
2532
+ h("updateModelSource", "environmentName", n), h("updateModelSource", "packageName", e), h("updateModelSource", "path", r), h("updateModelSource", "modelSourceWriteRequest", a);
2533
+ const s = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), c = new URL(s, b);
2534
+ let i;
2535
+ l && (i = l.baseOptions);
2536
+ const d = { method: "PUT", ...i, ...o }, p = {}, u = {};
2537
+ t !== void 0 && (u.versionId = t), p["Content-Type"] = "application/json", V(c, u);
2538
+ let k = i && i.headers ? i.headers : {};
2539
+ return d.headers = { ...p, ...k, ...o.headers }, d.data = S(a, d, l), {
2540
+ url: v(c),
2541
+ options: d
2542
+ };
2366
2543
  }
2367
2544
  };
2368
- }, E = function(l) {
2369
- const n = Ne(l);
2545
+ }, U = function(l) {
2546
+ const n = Ee(l);
2370
2547
  return {
2371
2548
  /**
2372
2549
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
@@ -2378,9 +2555,9 @@ const Ya = {
2378
2555
  * @param {*} [options] Override http request option.
2379
2556
  * @throws {RequiredError}
2380
2557
  */
2381
- async compileModelSource(e, t, a, r, o) {
2382
- const s = await n.compileModelSource(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.compileModelSource"]?.[c]?.url;
2383
- return (d, p) => V(s, h, u, l)(d, i || p);
2558
+ async compileModelSource(e, r, a, t, o) {
2559
+ const s = await n.compileModelSource(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.compileModelSource"]?.[c]?.url;
2560
+ return (d, p) => O(s, m, g, l)(d, i || p);
2384
2561
  },
2385
2562
  /**
2386
2563
  * 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.
@@ -2392,9 +2569,9 @@ const Ya = {
2392
2569
  * @param {*} [options] Override http request option.
2393
2570
  * @throws {RequiredError}
2394
2571
  */
2395
- async executeQueryModel(e, t, a, r, o) {
2396
- const s = await n.executeQueryModel(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.executeQueryModel"]?.[c]?.url;
2397
- return (d, p) => V(s, h, u, l)(d, i || p);
2572
+ async executeQueryModel(e, r, a, t, o) {
2573
+ const s = await n.executeQueryModel(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.executeQueryModel"]?.[c]?.url;
2574
+ return (d, p) => O(s, m, g, l)(d, i || p);
2398
2575
  },
2399
2576
  /**
2400
2577
  * 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.
@@ -2406,9 +2583,9 @@ const Ya = {
2406
2583
  * @param {*} [options] Override http request option.
2407
2584
  * @throws {RequiredError}
2408
2585
  */
2409
- async getModel(e, t, a, r, o) {
2410
- const s = await n.getModel(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.getModel"]?.[c]?.url;
2411
- return (d, p) => V(s, h, u, l)(d, i || p);
2586
+ async getModel(e, r, a, t, o) {
2587
+ const s = await n.getModel(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.getModel"]?.[c]?.url;
2588
+ return (d, p) => O(s, m, g, l)(d, i || p);
2412
2589
  },
2413
2590
  /**
2414
2591
  * 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.
@@ -2419,13 +2596,28 @@ const Ya = {
2419
2596
  * @param {*} [options] Override http request option.
2420
2597
  * @throws {RequiredError}
2421
2598
  */
2422
- async listModels(e, t, a, r) {
2423
- const o = await n.listModels(e, t, a, r), s = l?.serverIndex ?? 0, c = g["ModelsApi.listModels"]?.[s]?.url;
2424
- return (i, d) => V(o, h, u, l)(i, c || d);
2599
+ async listModels(e, r, a, t) {
2600
+ const o = await n.listModels(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ModelsApi.listModels"]?.[s]?.url;
2601
+ return (i, d) => O(o, m, g, l)(i, c || d);
2602
+ },
2603
+ /**
2604
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2605
+ * @summary Write a dashboard file into the package
2606
+ * @param {string} environmentName Name of the environment
2607
+ * @param {string} packageName Name of the package
2608
+ * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2609
+ * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2610
+ * @param {string} [versionId] Version identifier for the package
2611
+ * @param {*} [options] Override http request option.
2612
+ * @throws {RequiredError}
2613
+ */
2614
+ async updateModelSource(e, r, a, t, o, s) {
2615
+ const c = await n.updateModelSource(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ModelsApi.updateModelSource"]?.[i]?.url;
2616
+ return (p, u) => O(c, m, g, l)(p, d || u);
2425
2617
  }
2426
2618
  };
2427
- }, Ja = function(l, n, e) {
2428
- const t = E(l);
2619
+ }, st = function(l, n, e) {
2620
+ const r = U(l);
2429
2621
  return {
2430
2622
  /**
2431
2623
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
@@ -2437,8 +2629,8 @@ const Ya = {
2437
2629
  * @param {*} [options] Override http request option.
2438
2630
  * @throws {RequiredError}
2439
2631
  */
2440
- compileModelSource(a, r, o, s, c) {
2441
- return t.compileModelSource(a, r, o, s, c).then((i) => i(e, n));
2632
+ compileModelSource(a, t, o, s, c) {
2633
+ return r.compileModelSource(a, t, o, s, c).then((i) => i(e, n));
2442
2634
  },
2443
2635
  /**
2444
2636
  * 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.
@@ -2450,8 +2642,8 @@ const Ya = {
2450
2642
  * @param {*} [options] Override http request option.
2451
2643
  * @throws {RequiredError}
2452
2644
  */
2453
- executeQueryModel(a, r, o, s, c) {
2454
- return t.executeQueryModel(a, r, o, s, c).then((i) => i(e, n));
2645
+ executeQueryModel(a, t, o, s, c) {
2646
+ return r.executeQueryModel(a, t, o, s, c).then((i) => i(e, n));
2455
2647
  },
2456
2648
  /**
2457
2649
  * 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.
@@ -2463,8 +2655,8 @@ const Ya = {
2463
2655
  * @param {*} [options] Override http request option.
2464
2656
  * @throws {RequiredError}
2465
2657
  */
2466
- getModel(a, r, o, s, c) {
2467
- return t.getModel(a, r, o, s, c).then((i) => i(e, n));
2658
+ getModel(a, t, o, s, c) {
2659
+ return r.getModel(a, t, o, s, c).then((i) => i(e, n));
2468
2660
  },
2469
2661
  /**
2470
2662
  * 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.
@@ -2475,12 +2667,26 @@ const Ya = {
2475
2667
  * @param {*} [options] Override http request option.
2476
2668
  * @throws {RequiredError}
2477
2669
  */
2478
- listModels(a, r, o, s) {
2479
- return t.listModels(a, r, o, s).then((c) => c(e, n));
2670
+ listModels(a, t, o, s) {
2671
+ return r.listModels(a, t, o, s).then((c) => c(e, n));
2672
+ },
2673
+ /**
2674
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2675
+ * @summary Write a dashboard file into the package
2676
+ * @param {string} environmentName Name of the environment
2677
+ * @param {string} packageName Name of the package
2678
+ * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2679
+ * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2680
+ * @param {string} [versionId] Version identifier for the package
2681
+ * @param {*} [options] Override http request option.
2682
+ * @throws {RequiredError}
2683
+ */
2684
+ updateModelSource(a, t, o, s, c, i) {
2685
+ return r.updateModelSource(a, t, o, s, c, i).then((d) => d(e, n));
2480
2686
  }
2481
2687
  };
2482
2688
  };
2483
- class Te extends I {
2689
+ class Me extends I {
2484
2690
  /**
2485
2691
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2486
2692
  * @summary Compile Malloy source code
@@ -2492,8 +2698,8 @@ class Te extends I {
2492
2698
  * @throws {RequiredError}
2493
2699
  * @memberof ModelsApi
2494
2700
  */
2495
- compileModelSource(n, e, t, a, r) {
2496
- return E(this.configuration).compileModelSource(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2701
+ compileModelSource(n, e, r, a, t) {
2702
+ return U(this.configuration).compileModelSource(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2497
2703
  }
2498
2704
  /**
2499
2705
  * 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.
@@ -2506,8 +2712,8 @@ class Te extends I {
2506
2712
  * @throws {RequiredError}
2507
2713
  * @memberof ModelsApi
2508
2714
  */
2509
- executeQueryModel(n, e, t, a, r) {
2510
- return E(this.configuration).executeQueryModel(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2715
+ executeQueryModel(n, e, r, a, t) {
2716
+ return U(this.configuration).executeQueryModel(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2511
2717
  }
2512
2718
  /**
2513
2719
  * 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.
@@ -2520,8 +2726,8 @@ class Te extends I {
2520
2726
  * @throws {RequiredError}
2521
2727
  * @memberof ModelsApi
2522
2728
  */
2523
- getModel(n, e, t, a, r) {
2524
- return E(this.configuration).getModel(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2729
+ getModel(n, e, r, a, t) {
2730
+ return U(this.configuration).getModel(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2525
2731
  }
2526
2732
  /**
2527
2733
  * 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.
@@ -2533,11 +2739,26 @@ class Te extends I {
2533
2739
  * @throws {RequiredError}
2534
2740
  * @memberof ModelsApi
2535
2741
  */
2536
- listModels(n, e, t, a) {
2537
- return E(this.configuration).listModels(n, e, t, a).then((r) => r(this.axios, this.basePath));
2742
+ listModels(n, e, r, a) {
2743
+ return U(this.configuration).listModels(n, e, r, a).then((t) => t(this.axios, this.basePath));
2744
+ }
2745
+ /**
2746
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2747
+ * @summary Write a dashboard file into the package
2748
+ * @param {string} environmentName Name of the environment
2749
+ * @param {string} packageName Name of the package
2750
+ * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2751
+ * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2752
+ * @param {string} [versionId] Version identifier for the package
2753
+ * @param {*} [options] Override http request option.
2754
+ * @throws {RequiredError}
2755
+ * @memberof ModelsApi
2756
+ */
2757
+ updateModelSource(n, e, r, a, t, o) {
2758
+ return U(this.configuration).updateModelSource(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
2538
2759
  }
2539
2760
  }
2540
- const Ue = function(l) {
2761
+ const fe = function(l) {
2541
2762
  return {
2542
2763
  /**
2543
2764
  * 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.
@@ -2553,17 +2774,17 @@ const Ue = function(l) {
2553
2774
  * @param {*} [options] Override http request option.
2554
2775
  * @throws {RequiredError}
2555
2776
  */
2556
- executeNotebookCell: async (n, e, t, a, r, o, s, c, i = {}) => {
2557
- m("executeNotebookCell", "environmentName", n), m("executeNotebookCell", "packageName", e), m("executeNotebookCell", "path", t), m("executeNotebookCell", "cellIndex", a);
2558
- const d = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))).replace("{cellIndex}", encodeURIComponent(String(a))), p = new URL(d, b);
2559
- let O;
2560
- l && (O = l.baseOptions);
2561
- const C = { method: "GET", ...O, ...i }, U = {}, x = {};
2562
- r !== void 0 && (x.versionId = r), o !== void 0 && (x.filter_params = o), s !== void 0 && (x.bypass_filters = s), c !== void 0 && (x.givens = c), P(p, x);
2563
- let $ = O && O.headers ? O.headers : {};
2564
- return C.headers = { ...U, ...$, ...i.headers }, {
2777
+ executeNotebookCell: async (n, e, r, a, t, o, s, c, i = {}) => {
2778
+ h("executeNotebookCell", "environmentName", n), h("executeNotebookCell", "packageName", e), h("executeNotebookCell", "path", r), h("executeNotebookCell", "cellIndex", a);
2779
+ const d = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))).replace("{cellIndex}", encodeURIComponent(String(a))), p = new URL(d, b);
2780
+ let u;
2781
+ l && (u = l.baseOptions);
2782
+ const k = { method: "GET", ...u, ...i }, E = {}, A = {};
2783
+ t !== void 0 && (A.versionId = t), o !== void 0 && (A.filter_params = o), s !== void 0 && (A.bypass_filters = s), c !== void 0 && (A.givens = c), V(p, A);
2784
+ let $ = u && u.headers ? u.headers : {};
2785
+ return k.headers = { ...E, ...$, ...i.headers }, {
2565
2786
  url: v(p),
2566
- options: C
2787
+ options: k
2567
2788
  };
2568
2789
  },
2569
2790
  /**
@@ -2576,15 +2797,15 @@ const Ue = function(l) {
2576
2797
  * @param {*} [options] Override http request option.
2577
2798
  * @throws {RequiredError}
2578
2799
  */
2579
- getNotebook: async (n, e, t, a, r = {}) => {
2580
- m("getNotebook", "environmentName", n), m("getNotebook", "packageName", e), m("getNotebook", "path", t);
2581
- const o = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, b);
2800
+ getNotebook: async (n, e, r, a, t = {}) => {
2801
+ h("getNotebook", "environmentName", n), h("getNotebook", "packageName", e), h("getNotebook", "path", r);
2802
+ const o = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), s = new URL(o, b);
2582
2803
  let c;
2583
2804
  l && (c = l.baseOptions);
2584
- const i = { method: "GET", ...c, ...r }, d = {}, p = {};
2585
- a !== void 0 && (p.versionId = a), P(s, p);
2586
- let O = c && c.headers ? c.headers : {};
2587
- return i.headers = { ...d, ...O, ...r.headers }, {
2805
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
2806
+ a !== void 0 && (p.versionId = a), V(s, p);
2807
+ let u = c && c.headers ? c.headers : {};
2808
+ return i.headers = { ...d, ...u, ...t.headers }, {
2588
2809
  url: v(s),
2589
2810
  options: i
2590
2811
  };
@@ -2598,13 +2819,13 @@ const Ue = function(l) {
2598
2819
  * @param {*} [options] Override http request option.
2599
2820
  * @throws {RequiredError}
2600
2821
  */
2601
- listNotebooks: async (n, e, t, a = {}) => {
2602
- m("listNotebooks", "environmentName", n), m("listNotebooks", "packageName", e);
2603
- const r = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, b);
2822
+ listNotebooks: async (n, e, r, a = {}) => {
2823
+ h("listNotebooks", "environmentName", n), h("listNotebooks", "packageName", e);
2824
+ const t = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
2604
2825
  let s;
2605
2826
  l && (s = l.baseOptions);
2606
2827
  const c = { method: "GET", ...s, ...a }, i = {}, d = {};
2607
- t !== void 0 && (d.versionId = t), P(o, d);
2828
+ r !== void 0 && (d.versionId = r), V(o, d);
2608
2829
  let p = s && s.headers ? s.headers : {};
2609
2830
  return c.headers = { ...i, ...p, ...a.headers }, {
2610
2831
  url: v(o),
@@ -2613,7 +2834,7 @@ const Ue = function(l) {
2613
2834
  }
2614
2835
  };
2615
2836
  }, Q = function(l) {
2616
- const n = Ue(l);
2837
+ const n = fe(l);
2617
2838
  return {
2618
2839
  /**
2619
2840
  * 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.
@@ -2629,9 +2850,9 @@ const Ue = function(l) {
2629
2850
  * @param {*} [options] Override http request option.
2630
2851
  * @throws {RequiredError}
2631
2852
  */
2632
- async executeNotebookCell(e, t, a, r, o, s, c, i, d) {
2633
- const p = await n.executeNotebookCell(e, t, a, r, o, s, c, i, d), O = l?.serverIndex ?? 0, C = g["NotebooksApi.executeNotebookCell"]?.[O]?.url;
2634
- return (U, x) => V(p, h, u, l)(U, C || x);
2853
+ async executeNotebookCell(e, r, a, t, o, s, c, i, d) {
2854
+ const p = await n.executeNotebookCell(e, r, a, t, o, s, c, i, d), u = l?.serverIndex ?? 0, k = P["NotebooksApi.executeNotebookCell"]?.[u]?.url;
2855
+ return (E, A) => O(p, m, g, l)(E, k || A);
2635
2856
  },
2636
2857
  /**
2637
2858
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2643,9 +2864,9 @@ const Ue = function(l) {
2643
2864
  * @param {*} [options] Override http request option.
2644
2865
  * @throws {RequiredError}
2645
2866
  */
2646
- async getNotebook(e, t, a, r, o) {
2647
- const s = await n.getNotebook(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["NotebooksApi.getNotebook"]?.[c]?.url;
2648
- return (d, p) => V(s, h, u, l)(d, i || p);
2867
+ async getNotebook(e, r, a, t, o) {
2868
+ const s = await n.getNotebook(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[c]?.url;
2869
+ return (d, p) => O(s, m, g, l)(d, i || p);
2649
2870
  },
2650
2871
  /**
2651
2872
  * 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.
@@ -2656,13 +2877,13 @@ const Ue = function(l) {
2656
2877
  * @param {*} [options] Override http request option.
2657
2878
  * @throws {RequiredError}
2658
2879
  */
2659
- async listNotebooks(e, t, a, r) {
2660
- const o = await n.listNotebooks(e, t, a, r), s = l?.serverIndex ?? 0, c = g["NotebooksApi.listNotebooks"]?.[s]?.url;
2661
- return (i, d) => V(o, h, u, l)(i, c || d);
2880
+ async listNotebooks(e, r, a, t) {
2881
+ const o = await n.listNotebooks(e, r, a, t), s = l?.serverIndex ?? 0, c = P["NotebooksApi.listNotebooks"]?.[s]?.url;
2882
+ return (i, d) => O(o, m, g, l)(i, c || d);
2662
2883
  }
2663
2884
  };
2664
- }, Ka = function(l, n, e) {
2665
- const t = Q(l);
2885
+ }, lt = function(l, n, e) {
2886
+ const r = Q(l);
2666
2887
  return {
2667
2888
  /**
2668
2889
  * 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.
@@ -2678,8 +2899,8 @@ const Ue = function(l) {
2678
2899
  * @param {*} [options] Override http request option.
2679
2900
  * @throws {RequiredError}
2680
2901
  */
2681
- executeNotebookCell(a, r, o, s, c, i, d, p, O) {
2682
- return t.executeNotebookCell(a, r, o, s, c, i, d, p, O).then((C) => C(e, n));
2902
+ executeNotebookCell(a, t, o, s, c, i, d, p, u) {
2903
+ return r.executeNotebookCell(a, t, o, s, c, i, d, p, u).then((k) => k(e, n));
2683
2904
  },
2684
2905
  /**
2685
2906
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2691,8 +2912,8 @@ const Ue = function(l) {
2691
2912
  * @param {*} [options] Override http request option.
2692
2913
  * @throws {RequiredError}
2693
2914
  */
2694
- getNotebook(a, r, o, s, c) {
2695
- return t.getNotebook(a, r, o, s, c).then((i) => i(e, n));
2915
+ getNotebook(a, t, o, s, c) {
2916
+ return r.getNotebook(a, t, o, s, c).then((i) => i(e, n));
2696
2917
  },
2697
2918
  /**
2698
2919
  * 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.
@@ -2703,12 +2924,12 @@ const Ue = function(l) {
2703
2924
  * @param {*} [options] Override http request option.
2704
2925
  * @throws {RequiredError}
2705
2926
  */
2706
- listNotebooks(a, r, o, s) {
2707
- return t.listNotebooks(a, r, o, s).then((c) => c(e, n));
2927
+ listNotebooks(a, t, o, s) {
2928
+ return r.listNotebooks(a, t, o, s).then((c) => c(e, n));
2708
2929
  }
2709
2930
  };
2710
2931
  };
2711
- class Ee extends I {
2932
+ class Be extends I {
2712
2933
  /**
2713
2934
  * 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.
2714
2935
  * @summary Execute a specific notebook cell
@@ -2724,8 +2945,8 @@ class Ee extends I {
2724
2945
  * @throws {RequiredError}
2725
2946
  * @memberof NotebooksApi
2726
2947
  */
2727
- executeNotebookCell(n, e, t, a, r, o, s, c, i) {
2728
- return Q(this.configuration).executeNotebookCell(n, e, t, a, r, o, s, c, i).then((d) => d(this.axios, this.basePath));
2948
+ executeNotebookCell(n, e, r, a, t, o, s, c, i) {
2949
+ return Q(this.configuration).executeNotebookCell(n, e, r, a, t, o, s, c, i).then((d) => d(this.axios, this.basePath));
2729
2950
  }
2730
2951
  /**
2731
2952
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2738,8 +2959,8 @@ class Ee extends I {
2738
2959
  * @throws {RequiredError}
2739
2960
  * @memberof NotebooksApi
2740
2961
  */
2741
- getNotebook(n, e, t, a, r) {
2742
- return Q(this.configuration).getNotebook(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2962
+ getNotebook(n, e, r, a, t) {
2963
+ return Q(this.configuration).getNotebook(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2743
2964
  }
2744
2965
  /**
2745
2966
  * 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.
@@ -2751,14 +2972,14 @@ class Ee extends I {
2751
2972
  * @throws {RequiredError}
2752
2973
  * @memberof NotebooksApi
2753
2974
  */
2754
- listNotebooks(n, e, t, a) {
2755
- return Q(this.configuration).listNotebooks(n, e, t, a).then((r) => r(this.axios, this.basePath));
2975
+ listNotebooks(n, e, r, a) {
2976
+ return Q(this.configuration).listNotebooks(n, e, r, a).then((t) => t(this.axios, this.basePath));
2756
2977
  }
2757
2978
  }
2758
- const Xa = {
2979
+ const ct = {
2759
2980
  True: "true",
2760
2981
  False: "false"
2761
- }, we = function(l) {
2982
+ }, Fe = function(l) {
2762
2983
  return {
2763
2984
  /**
2764
2985
  * Creates a new Malloy package within the specified environment. 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.
@@ -2768,16 +2989,16 @@ const Xa = {
2768
2989
  * @param {*} [options] Override http request option.
2769
2990
  * @throws {RequiredError}
2770
2991
  */
2771
- createPackage: async (n, e, t = {}) => {
2772
- m("createPackage", "environmentName", n), m("createPackage", "_package", e);
2773
- const a = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, b);
2992
+ createPackage: async (n, e, r = {}) => {
2993
+ h("createPackage", "environmentName", n), h("createPackage", "_package", e);
2994
+ const a = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), t = new URL(a, b);
2774
2995
  let o;
2775
2996
  l && (o = l.baseOptions);
2776
- const s = { method: "POST", ...o, ...t }, c = {}, i = {};
2777
- c["Content-Type"] = "application/json", P(r, i);
2997
+ const s = { method: "POST", ...o, ...r }, c = {}, i = {};
2998
+ c["Content-Type"] = "application/json", V(t, i);
2778
2999
  let d = o && o.headers ? o.headers : {};
2779
- return s.headers = { ...c, ...d, ...t.headers }, s.data = k(e, s, l), {
2780
- url: v(r),
3000
+ return s.headers = { ...c, ...d, ...r.headers }, s.data = S(e, s, l), {
3001
+ url: v(t),
2781
3002
  options: s
2782
3003
  };
2783
3004
  },
@@ -2789,16 +3010,16 @@ const Xa = {
2789
3010
  * @param {*} [options] Override http request option.
2790
3011
  * @throws {RequiredError}
2791
3012
  */
2792
- deletePackage: async (n, e, t = {}) => {
2793
- m("deletePackage", "environmentName", n), m("deletePackage", "packageName", e);
2794
- const a = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, b);
3013
+ deletePackage: async (n, e, r = {}) => {
3014
+ h("deletePackage", "environmentName", n), h("deletePackage", "packageName", e);
3015
+ const a = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), t = new URL(a, b);
2795
3016
  let o;
2796
3017
  l && (o = l.baseOptions);
2797
- const s = { method: "DELETE", ...o, ...t }, c = {};
2798
- P(r, {});
3018
+ const s = { method: "DELETE", ...o, ...r }, c = {};
3019
+ V(t, {});
2799
3020
  let d = o && o.headers ? o.headers : {};
2800
- return s.headers = { ...c, ...d, ...t.headers }, {
2801
- url: v(r),
3021
+ return s.headers = { ...c, ...d, ...r.headers }, {
3022
+ url: v(t),
2802
3023
  options: s
2803
3024
  };
2804
3025
  },
@@ -2812,15 +3033,15 @@ const Xa = {
2812
3033
  * @param {*} [options] Override http request option.
2813
3034
  * @throws {RequiredError}
2814
3035
  */
2815
- getPackage: async (n, e, t, a, r = {}) => {
2816
- m("getPackage", "environmentName", n), m("getPackage", "packageName", e);
3036
+ getPackage: async (n, e, r, a, t = {}) => {
3037
+ h("getPackage", "environmentName", n), h("getPackage", "packageName", e);
2817
3038
  const o = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, b);
2818
3039
  let c;
2819
3040
  l && (c = l.baseOptions);
2820
- const i = { method: "GET", ...c, ...r }, d = {}, p = {};
2821
- t !== void 0 && (p.versionId = t), a !== void 0 && (p.reload = a), P(s, p);
2822
- let O = c && c.headers ? c.headers : {};
2823
- return i.headers = { ...d, ...O, ...r.headers }, {
3041
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
3042
+ r !== void 0 && (p.versionId = r), a !== void 0 && (p.reload = a), V(s, p);
3043
+ let u = c && c.headers ? c.headers : {};
3044
+ return i.headers = { ...d, ...u, ...t.headers }, {
2824
3045
  url: v(s),
2825
3046
  options: i
2826
3047
  };
@@ -2833,13 +3054,13 @@ const Xa = {
2833
3054
  * @throws {RequiredError}
2834
3055
  */
2835
3056
  listPackages: async (n, e = {}) => {
2836
- m("listPackages", "environmentName", n);
2837
- const t = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, b);
2838
- let r;
2839
- l && (r = l.baseOptions);
2840
- const o = { method: "GET", ...r, ...e }, s = {};
2841
- P(a, {});
2842
- let i = r && r.headers ? r.headers : {};
3057
+ h("listPackages", "environmentName", n);
3058
+ const r = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(r, b);
3059
+ let t;
3060
+ l && (t = l.baseOptions);
3061
+ const o = { method: "GET", ...t, ...e }, s = {};
3062
+ V(a, {});
3063
+ let i = t && t.headers ? t.headers : {};
2843
3064
  return o.headers = { ...s, ...i, ...e.headers }, {
2844
3065
  url: v(a),
2845
3066
  options: o
@@ -2854,22 +3075,22 @@ const Xa = {
2854
3075
  * @param {*} [options] Override http request option.
2855
3076
  * @throws {RequiredError}
2856
3077
  */
2857
- updatePackage: async (n, e, t, a = {}) => {
2858
- m("updatePackage", "environmentName", n), m("updatePackage", "packageName", e), m("updatePackage", "_package", t);
2859
- const r = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, b);
3078
+ updatePackage: async (n, e, r, a = {}) => {
3079
+ h("updatePackage", "environmentName", n), h("updatePackage", "packageName", e), h("updatePackage", "_package", r);
3080
+ const t = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
2860
3081
  let s;
2861
3082
  l && (s = l.baseOptions);
2862
3083
  const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
2863
- i["Content-Type"] = "application/json", P(o, d);
3084
+ i["Content-Type"] = "application/json", V(o, d);
2864
3085
  let p = s && s.headers ? s.headers : {};
2865
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(t, c, l), {
3086
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = S(r, c, l), {
2866
3087
  url: v(o),
2867
3088
  options: c
2868
3089
  };
2869
3090
  }
2870
3091
  };
2871
- }, T = function(l) {
2872
- const n = we(l);
3092
+ }, w = function(l) {
3093
+ const n = Fe(l);
2873
3094
  return {
2874
3095
  /**
2875
3096
  * Creates a new Malloy package within the specified environment. 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.
@@ -2879,9 +3100,9 @@ const Xa = {
2879
3100
  * @param {*} [options] Override http request option.
2880
3101
  * @throws {RequiredError}
2881
3102
  */
2882
- async createPackage(e, t, a) {
2883
- const r = await n.createPackage(e, t, a), o = l?.serverIndex ?? 0, s = g["PackagesApi.createPackage"]?.[o]?.url;
2884
- return (c, i) => V(r, h, u, l)(c, s || i);
3103
+ async createPackage(e, r, a) {
3104
+ const t = await n.createPackage(e, r, a), o = l?.serverIndex ?? 0, s = P["PackagesApi.createPackage"]?.[o]?.url;
3105
+ return (c, i) => O(t, m, g, l)(c, s || i);
2885
3106
  },
2886
3107
  /**
2887
3108
  * 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.
@@ -2891,9 +3112,9 @@ const Xa = {
2891
3112
  * @param {*} [options] Override http request option.
2892
3113
  * @throws {RequiredError}
2893
3114
  */
2894
- async deletePackage(e, t, a) {
2895
- const r = await n.deletePackage(e, t, a), o = l?.serverIndex ?? 0, s = g["PackagesApi.deletePackage"]?.[o]?.url;
2896
- return (c, i) => V(r, h, u, l)(c, s || i);
3115
+ async deletePackage(e, r, a) {
3116
+ const t = await n.deletePackage(e, r, a), o = l?.serverIndex ?? 0, s = P["PackagesApi.deletePackage"]?.[o]?.url;
3117
+ return (c, i) => O(t, m, g, l)(c, s || i);
2897
3118
  },
2898
3119
  /**
2899
3120
  * 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.
@@ -2905,9 +3126,9 @@ const Xa = {
2905
3126
  * @param {*} [options] Override http request option.
2906
3127
  * @throws {RequiredError}
2907
3128
  */
2908
- async getPackage(e, t, a, r, o) {
2909
- const s = await n.getPackage(e, t, a, r, o), c = l?.serverIndex ?? 0, i = g["PackagesApi.getPackage"]?.[c]?.url;
2910
- return (d, p) => V(s, h, u, l)(d, i || p);
3129
+ async getPackage(e, r, a, t, o) {
3130
+ const s = await n.getPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[c]?.url;
3131
+ return (d, p) => O(s, m, g, l)(d, i || p);
2911
3132
  },
2912
3133
  /**
2913
3134
  * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
@@ -2916,9 +3137,9 @@ const Xa = {
2916
3137
  * @param {*} [options] Override http request option.
2917
3138
  * @throws {RequiredError}
2918
3139
  */
2919
- async listPackages(e, t) {
2920
- const a = await n.listPackages(e, t), r = l?.serverIndex ?? 0, o = g["PackagesApi.listPackages"]?.[r]?.url;
2921
- return (s, c) => V(a, h, u, l)(s, o || c);
3140
+ async listPackages(e, r) {
3141
+ const a = await n.listPackages(e, r), t = l?.serverIndex ?? 0, o = P["PackagesApi.listPackages"]?.[t]?.url;
3142
+ return (s, c) => O(a, m, g, l)(s, o || c);
2922
3143
  },
2923
3144
  /**
2924
3145
  * 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
@@ -2929,13 +3150,13 @@ const Xa = {
2929
3150
  * @param {*} [options] Override http request option.
2930
3151
  * @throws {RequiredError}
2931
3152
  */
2932
- async updatePackage(e, t, a, r) {
2933
- const o = await n.updatePackage(e, t, a, r), s = l?.serverIndex ?? 0, c = g["PackagesApi.updatePackage"]?.[s]?.url;
2934
- return (i, d) => V(o, h, u, l)(i, c || d);
3153
+ async updatePackage(e, r, a, t) {
3154
+ const o = await n.updatePackage(e, r, a, t), s = l?.serverIndex ?? 0, c = P["PackagesApi.updatePackage"]?.[s]?.url;
3155
+ return (i, d) => O(o, m, g, l)(i, c || d);
2935
3156
  }
2936
3157
  };
2937
- }, Za = function(l, n, e) {
2938
- const t = T(l);
3158
+ }, it = function(l, n, e) {
3159
+ const r = w(l);
2939
3160
  return {
2940
3161
  /**
2941
3162
  * Creates a new Malloy package within the specified environment. 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.
@@ -2945,8 +3166,8 @@ const Xa = {
2945
3166
  * @param {*} [options] Override http request option.
2946
3167
  * @throws {RequiredError}
2947
3168
  */
2948
- createPackage(a, r, o) {
2949
- return t.createPackage(a, r, o).then((s) => s(e, n));
3169
+ createPackage(a, t, o) {
3170
+ return r.createPackage(a, t, o).then((s) => s(e, n));
2950
3171
  },
2951
3172
  /**
2952
3173
  * 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.
@@ -2956,8 +3177,8 @@ const Xa = {
2956
3177
  * @param {*} [options] Override http request option.
2957
3178
  * @throws {RequiredError}
2958
3179
  */
2959
- deletePackage(a, r, o) {
2960
- return t.deletePackage(a, r, o).then((s) => s(e, n));
3180
+ deletePackage(a, t, o) {
3181
+ return r.deletePackage(a, t, o).then((s) => s(e, n));
2961
3182
  },
2962
3183
  /**
2963
3184
  * 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.
@@ -2969,8 +3190,8 @@ const Xa = {
2969
3190
  * @param {*} [options] Override http request option.
2970
3191
  * @throws {RequiredError}
2971
3192
  */
2972
- getPackage(a, r, o, s, c) {
2973
- return t.getPackage(a, r, o, s, c).then((i) => i(e, n));
3193
+ getPackage(a, t, o, s, c) {
3194
+ return r.getPackage(a, t, o, s, c).then((i) => i(e, n));
2974
3195
  },
2975
3196
  /**
2976
3197
  * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
@@ -2979,8 +3200,8 @@ const Xa = {
2979
3200
  * @param {*} [options] Override http request option.
2980
3201
  * @throws {RequiredError}
2981
3202
  */
2982
- listPackages(a, r) {
2983
- return t.listPackages(a, r).then((o) => o(e, n));
3203
+ listPackages(a, t) {
3204
+ return r.listPackages(a, t).then((o) => o(e, n));
2984
3205
  },
2985
3206
  /**
2986
3207
  * 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
@@ -2991,12 +3212,12 @@ const Xa = {
2991
3212
  * @param {*} [options] Override http request option.
2992
3213
  * @throws {RequiredError}
2993
3214
  */
2994
- updatePackage(a, r, o, s) {
2995
- return t.updatePackage(a, r, o, s).then((c) => c(e, n));
3215
+ updatePackage(a, t, o, s) {
3216
+ return r.updatePackage(a, t, o, s).then((c) => c(e, n));
2996
3217
  }
2997
3218
  };
2998
3219
  };
2999
- class Me extends I {
3220
+ class Qe extends I {
3000
3221
  /**
3001
3222
  * Creates a new Malloy package within the specified environment. 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.
3002
3223
  * @summary Create a new package
@@ -3006,8 +3227,8 @@ class Me extends I {
3006
3227
  * @throws {RequiredError}
3007
3228
  * @memberof PackagesApi
3008
3229
  */
3009
- createPackage(n, e, t) {
3010
- return T(this.configuration).createPackage(n, e, t).then((a) => a(this.axios, this.basePath));
3230
+ createPackage(n, e, r) {
3231
+ return w(this.configuration).createPackage(n, e, r).then((a) => a(this.axios, this.basePath));
3011
3232
  }
3012
3233
  /**
3013
3234
  * 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.
@@ -3018,8 +3239,8 @@ class Me extends I {
3018
3239
  * @throws {RequiredError}
3019
3240
  * @memberof PackagesApi
3020
3241
  */
3021
- deletePackage(n, e, t) {
3022
- return T(this.configuration).deletePackage(n, e, t).then((a) => a(this.axios, this.basePath));
3242
+ deletePackage(n, e, r) {
3243
+ return w(this.configuration).deletePackage(n, e, r).then((a) => a(this.axios, this.basePath));
3023
3244
  }
3024
3245
  /**
3025
3246
  * 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.
@@ -3032,8 +3253,8 @@ class Me extends I {
3032
3253
  * @throws {RequiredError}
3033
3254
  * @memberof PackagesApi
3034
3255
  */
3035
- getPackage(n, e, t, a, r) {
3036
- return T(this.configuration).getPackage(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
3256
+ getPackage(n, e, r, a, t) {
3257
+ return w(this.configuration).getPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
3037
3258
  }
3038
3259
  /**
3039
3260
  * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
@@ -3044,7 +3265,7 @@ class Me extends I {
3044
3265
  * @memberof PackagesApi
3045
3266
  */
3046
3267
  listPackages(n, e) {
3047
- return T(this.configuration).listPackages(n, e).then((t) => t(this.axios, this.basePath));
3268
+ return w(this.configuration).listPackages(n, e).then((r) => r(this.axios, this.basePath));
3048
3269
  }
3049
3270
  /**
3050
3271
  * 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
@@ -3056,11 +3277,11 @@ class Me extends I {
3056
3277
  * @throws {RequiredError}
3057
3278
  * @memberof PackagesApi
3058
3279
  */
3059
- updatePackage(n, e, t, a) {
3060
- return T(this.configuration).updatePackage(n, e, t, a).then((r) => r(this.axios, this.basePath));
3280
+ updatePackage(n, e, r, a) {
3281
+ return w(this.configuration).updatePackage(n, e, r, a).then((t) => t(this.axios, this.basePath));
3061
3282
  }
3062
3283
  }
3063
- const fe = function(l) {
3284
+ const $e = function(l) {
3064
3285
  return {
3065
3286
  /**
3066
3287
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3069,15 +3290,15 @@ const fe = function(l) {
3069
3290
  * @throws {RequiredError}
3070
3291
  */
3071
3292
  deleteTheme: async (n = {}) => {
3072
- const e = "/theme", t = new URL(e, b);
3293
+ const e = "/theme", r = new URL(e, b);
3073
3294
  let a;
3074
3295
  l && (a = l.baseOptions);
3075
- const r = { method: "DELETE", ...a, ...n }, o = {};
3076
- P(t, {});
3296
+ const t = { method: "DELETE", ...a, ...n }, o = {};
3297
+ V(r, {});
3077
3298
  let c = a && a.headers ? a.headers : {};
3078
- return r.headers = { ...o, ...c, ...n.headers }, {
3079
- url: v(t),
3080
- options: r
3299
+ return t.headers = { ...o, ...c, ...n.headers }, {
3300
+ url: v(r),
3301
+ options: t
3081
3302
  };
3082
3303
  },
3083
3304
  /**
@@ -3087,15 +3308,15 @@ const fe = function(l) {
3087
3308
  * @throws {RequiredError}
3088
3309
  */
3089
3310
  getStatus: async (n = {}) => {
3090
- const e = "/status", t = new URL(e, b);
3311
+ const e = "/status", r = new URL(e, b);
3091
3312
  let a;
3092
3313
  l && (a = l.baseOptions);
3093
- const r = { method: "GET", ...a, ...n }, o = {};
3094
- P(t, {});
3314
+ const t = { method: "GET", ...a, ...n }, o = {};
3315
+ V(r, {});
3095
3316
  let c = a && a.headers ? a.headers : {};
3096
- return r.headers = { ...o, ...c, ...n.headers }, {
3097
- url: v(t),
3098
- options: r
3317
+ return t.headers = { ...o, ...c, ...n.headers }, {
3318
+ url: v(r),
3319
+ options: t
3099
3320
  };
3100
3321
  },
3101
3322
  /**
@@ -3105,15 +3326,15 @@ const fe = function(l) {
3105
3326
  * @throws {RequiredError}
3106
3327
  */
3107
3328
  getTheme: async (n = {}) => {
3108
- const e = "/theme", t = new URL(e, b);
3329
+ const e = "/theme", r = new URL(e, b);
3109
3330
  let a;
3110
3331
  l && (a = l.baseOptions);
3111
- const r = { method: "GET", ...a, ...n }, o = {};
3112
- P(t, {});
3332
+ const t = { method: "GET", ...a, ...n }, o = {};
3333
+ V(r, {});
3113
3334
  let c = a && a.headers ? a.headers : {};
3114
- return r.headers = { ...o, ...c, ...n.headers }, {
3115
- url: v(t),
3116
- options: r
3335
+ return t.headers = { ...o, ...c, ...n.headers }, {
3336
+ url: v(r),
3337
+ options: t
3117
3338
  };
3118
3339
  },
3119
3340
  /**
@@ -3124,21 +3345,21 @@ const fe = function(l) {
3124
3345
  * @throws {RequiredError}
3125
3346
  */
3126
3347
  updateTheme: async (n, e = {}) => {
3127
- m("updateTheme", "theme", n);
3128
- const t = "/theme", a = new URL(t, b);
3129
- let r;
3130
- l && (r = l.baseOptions);
3131
- const o = { method: "PUT", ...r, ...e }, s = {}, c = {};
3132
- s["Content-Type"] = "application/json", P(a, c);
3133
- let i = r && r.headers ? r.headers : {};
3134
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
3348
+ h("updateTheme", "theme", n);
3349
+ const r = "/theme", a = new URL(r, b);
3350
+ let t;
3351
+ l && (t = l.baseOptions);
3352
+ const o = { method: "PUT", ...t, ...e }, s = {}, c = {};
3353
+ s["Content-Type"] = "application/json", V(a, c);
3354
+ let i = t && t.headers ? t.headers : {};
3355
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, l), {
3135
3356
  url: v(a),
3136
3357
  options: o
3137
3358
  };
3138
3359
  }
3139
3360
  };
3140
- }, w = function(l) {
3141
- const n = fe(l);
3361
+ }, M = function(l) {
3362
+ const n = $e(l);
3142
3363
  return {
3143
3364
  /**
3144
3365
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3147,8 +3368,8 @@ const fe = function(l) {
3147
3368
  * @throws {RequiredError}
3148
3369
  */
3149
3370
  async deleteTheme(e) {
3150
- const t = await n.deleteTheme(e), a = l?.serverIndex ?? 0, r = g["PublisherApi.deleteTheme"]?.[a]?.url;
3151
- return (o, s) => V(t, h, u, l)(o, r || s);
3371
+ const r = await n.deleteTheme(e), a = l?.serverIndex ?? 0, t = P["PublisherApi.deleteTheme"]?.[a]?.url;
3372
+ return (o, s) => O(r, m, g, l)(o, t || s);
3152
3373
  },
3153
3374
  /**
3154
3375
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -3157,8 +3378,8 @@ const fe = function(l) {
3157
3378
  * @throws {RequiredError}
3158
3379
  */
3159
3380
  async getStatus(e) {
3160
- const t = await n.getStatus(e), a = l?.serverIndex ?? 0, r = g["PublisherApi.getStatus"]?.[a]?.url;
3161
- return (o, s) => V(t, h, u, l)(o, r || s);
3381
+ const r = await n.getStatus(e), a = l?.serverIndex ?? 0, t = P["PublisherApi.getStatus"]?.[a]?.url;
3382
+ return (o, s) => O(r, m, g, l)(o, t || s);
3162
3383
  },
3163
3384
  /**
3164
3385
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3167,8 +3388,8 @@ const fe = function(l) {
3167
3388
  * @throws {RequiredError}
3168
3389
  */
3169
3390
  async getTheme(e) {
3170
- const t = await n.getTheme(e), a = l?.serverIndex ?? 0, r = g["PublisherApi.getTheme"]?.[a]?.url;
3171
- return (o, s) => V(t, h, u, l)(o, r || s);
3391
+ const r = await n.getTheme(e), a = l?.serverIndex ?? 0, t = P["PublisherApi.getTheme"]?.[a]?.url;
3392
+ return (o, s) => O(r, m, g, l)(o, t || s);
3172
3393
  },
3173
3394
  /**
3174
3395
  * Persists the supplied theme as the new instance theme. Returns the saved theme. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3177,13 +3398,13 @@ const fe = function(l) {
3177
3398
  * @param {*} [options] Override http request option.
3178
3399
  * @throws {RequiredError}
3179
3400
  */
3180
- async updateTheme(e, t) {
3181
- const a = await n.updateTheme(e, t), r = l?.serverIndex ?? 0, o = g["PublisherApi.updateTheme"]?.[r]?.url;
3182
- return (s, c) => V(a, h, u, l)(s, o || c);
3401
+ async updateTheme(e, r) {
3402
+ const a = await n.updateTheme(e, r), t = l?.serverIndex ?? 0, o = P["PublisherApi.updateTheme"]?.[t]?.url;
3403
+ return (s, c) => O(a, m, g, l)(s, o || c);
3183
3404
  }
3184
3405
  };
3185
- }, et = function(l, n, e) {
3186
- const t = w(l);
3406
+ }, dt = function(l, n, e) {
3407
+ const r = M(l);
3187
3408
  return {
3188
3409
  /**
3189
3410
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3192,7 +3413,7 @@ const fe = function(l) {
3192
3413
  * @throws {RequiredError}
3193
3414
  */
3194
3415
  deleteTheme(a) {
3195
- return t.deleteTheme(a).then((r) => r(e, n));
3416
+ return r.deleteTheme(a).then((t) => t(e, n));
3196
3417
  },
3197
3418
  /**
3198
3419
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -3201,7 +3422,7 @@ const fe = function(l) {
3201
3422
  * @throws {RequiredError}
3202
3423
  */
3203
3424
  getStatus(a) {
3204
- return t.getStatus(a).then((r) => r(e, n));
3425
+ return r.getStatus(a).then((t) => t(e, n));
3205
3426
  },
3206
3427
  /**
3207
3428
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3210,7 +3431,7 @@ const fe = function(l) {
3210
3431
  * @throws {RequiredError}
3211
3432
  */
3212
3433
  getTheme(a) {
3213
- return t.getTheme(a).then((r) => r(e, n));
3434
+ return r.getTheme(a).then((t) => t(e, n));
3214
3435
  },
3215
3436
  /**
3216
3437
  * Persists the supplied theme as the new instance theme. Returns the saved theme. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3219,12 +3440,12 @@ const fe = function(l) {
3219
3440
  * @param {*} [options] Override http request option.
3220
3441
  * @throws {RequiredError}
3221
3442
  */
3222
- updateTheme(a, r) {
3223
- return t.updateTheme(a, r).then((o) => o(e, n));
3443
+ updateTheme(a, t) {
3444
+ return r.updateTheme(a, t).then((o) => o(e, n));
3224
3445
  }
3225
3446
  };
3226
3447
  };
3227
- class Be extends I {
3448
+ class qe extends I {
3228
3449
  /**
3229
3450
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
3230
3451
  * @summary Reset the instance theme to the boot seed or default
@@ -3233,7 +3454,7 @@ class Be extends I {
3233
3454
  * @memberof PublisherApi
3234
3455
  */
3235
3456
  deleteTheme(n) {
3236
- return w(this.configuration).deleteTheme(n).then((e) => e(this.axios, this.basePath));
3457
+ return M(this.configuration).deleteTheme(n).then((e) => e(this.axios, this.basePath));
3237
3458
  }
3238
3459
  /**
3239
3460
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -3243,7 +3464,7 @@ class Be extends I {
3243
3464
  * @memberof PublisherApi
3244
3465
  */
3245
3466
  getStatus(n) {
3246
- return w(this.configuration).getStatus(n).then((e) => e(this.axios, this.basePath));
3467
+ return M(this.configuration).getStatus(n).then((e) => e(this.axios, this.basePath));
3247
3468
  }
3248
3469
  /**
3249
3470
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3253,7 +3474,7 @@ class Be extends I {
3253
3474
  * @memberof PublisherApi
3254
3475
  */
3255
3476
  getTheme(n) {
3256
- return w(this.configuration).getTheme(n).then((e) => e(this.axios, this.basePath));
3477
+ return M(this.configuration).getTheme(n).then((e) => e(this.axios, this.basePath));
3257
3478
  }
3258
3479
  /**
3259
3480
  * Persists the supplied theme as the new instance theme. Returns the saved theme. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3264,10 +3485,10 @@ class Be extends I {
3264
3485
  * @memberof PublisherApi
3265
3486
  */
3266
3487
  updateTheme(n, e) {
3267
- return w(this.configuration).updateTheme(n, e).then((t) => t(this.axios, this.basePath));
3488
+ return M(this.configuration).updateTheme(n, e).then((r) => r(this.axios, this.basePath));
3268
3489
  }
3269
3490
  }
3270
- const Fe = function(l) {
3491
+ const ze = function(l) {
3271
3492
  return {
3272
3493
  /**
3273
3494
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -3276,15 +3497,15 @@ const Fe = function(l) {
3276
3497
  * @throws {RequiredError}
3277
3498
  */
3278
3499
  getWatchStatus: async (n = {}) => {
3279
- const e = "/watch-mode/status", t = new URL(e, b);
3500
+ const e = "/watch-mode/status", r = new URL(e, b);
3280
3501
  let a;
3281
3502
  l && (a = l.baseOptions);
3282
- const r = { method: "GET", ...a, ...n }, o = {};
3283
- P(t, {});
3503
+ const t = { method: "GET", ...a, ...n }, o = {};
3504
+ V(r, {});
3284
3505
  let c = a && a.headers ? a.headers : {};
3285
- return r.headers = { ...o, ...c, ...n.headers }, {
3286
- url: v(t),
3287
- options: r
3506
+ return t.headers = { ...o, ...c, ...n.headers }, {
3507
+ url: v(r),
3508
+ options: t
3288
3509
  };
3289
3510
  },
3290
3511
  /**
@@ -3295,14 +3516,14 @@ const Fe = function(l) {
3295
3516
  * @throws {RequiredError}
3296
3517
  */
3297
3518
  startWatching: async (n, e = {}) => {
3298
- m("startWatching", "startWatchRequest", n);
3299
- const t = "/watch-mode/start", a = new URL(t, b);
3300
- let r;
3301
- l && (r = l.baseOptions);
3302
- const o = { method: "POST", ...r, ...e }, s = {}, c = {};
3303
- s["Content-Type"] = "application/json", P(a, c);
3304
- let i = r && r.headers ? r.headers : {};
3305
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
3519
+ h("startWatching", "startWatchRequest", n);
3520
+ const r = "/watch-mode/start", a = new URL(r, b);
3521
+ let t;
3522
+ l && (t = l.baseOptions);
3523
+ const o = { method: "POST", ...t, ...e }, s = {}, c = {};
3524
+ s["Content-Type"] = "application/json", V(a, c);
3525
+ let i = t && t.headers ? t.headers : {};
3526
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, l), {
3306
3527
  url: v(a),
3307
3528
  options: o
3308
3529
  };
@@ -3314,15 +3535,15 @@ const Fe = function(l) {
3314
3535
  * @throws {RequiredError}
3315
3536
  */
3316
3537
  stopWatching: async (n = {}) => {
3317
- const e = "/watch-mode/stop", t = new URL(e, b);
3538
+ const e = "/watch-mode/stop", r = new URL(e, b);
3318
3539
  let a;
3319
3540
  l && (a = l.baseOptions);
3320
- const r = { method: "POST", ...a, ...n }, o = {};
3321
- P(t, {});
3541
+ const t = { method: "POST", ...a, ...n }, o = {};
3542
+ V(r, {});
3322
3543
  let c = a && a.headers ? a.headers : {};
3323
- return r.headers = { ...o, ...c, ...n.headers }, {
3324
- url: v(t),
3325
- options: r
3544
+ return t.headers = { ...o, ...c, ...n.headers }, {
3545
+ url: v(r),
3546
+ options: t
3326
3547
  };
3327
3548
  },
3328
3549
  /**
@@ -3333,22 +3554,22 @@ const Fe = function(l) {
3333
3554
  * @param {*} [options] Override http request option.
3334
3555
  * @throws {RequiredError}
3335
3556
  */
3336
- streamPackageEvents: async (n, e, t = {}) => {
3337
- m("streamPackageEvents", "environmentName", n), m("streamPackageEvents", "packageName", e);
3338
- const a = "/environments/{environmentName}/packages/{packageName}/events".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, b);
3557
+ streamPackageEvents: async (n, e, r = {}) => {
3558
+ h("streamPackageEvents", "environmentName", n), h("streamPackageEvents", "packageName", e);
3559
+ const a = "/environments/{environmentName}/packages/{packageName}/events".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), t = new URL(a, b);
3339
3560
  let o;
3340
3561
  l && (o = l.baseOptions);
3341
- const s = { method: "GET", ...o, ...t }, c = {};
3342
- P(r, {});
3562
+ const s = { method: "GET", ...o, ...r }, c = {};
3563
+ V(t, {});
3343
3564
  let d = o && o.headers ? o.headers : {};
3344
- return s.headers = { ...c, ...d, ...t.headers }, {
3345
- url: v(r),
3565
+ return s.headers = { ...c, ...d, ...r.headers }, {
3566
+ url: v(t),
3346
3567
  options: s
3347
3568
  };
3348
3569
  }
3349
3570
  };
3350
- }, M = function(l) {
3351
- const n = Fe(l);
3571
+ }, f = function(l) {
3572
+ const n = ze(l);
3352
3573
  return {
3353
3574
  /**
3354
3575
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -3357,8 +3578,8 @@ const Fe = function(l) {
3357
3578
  * @throws {RequiredError}
3358
3579
  */
3359
3580
  async getWatchStatus(e) {
3360
- const t = await n.getWatchStatus(e), a = l?.serverIndex ?? 0, r = g["WatchModeApi.getWatchStatus"]?.[a]?.url;
3361
- return (o, s) => V(t, h, u, l)(o, r || s);
3581
+ const r = await n.getWatchStatus(e), a = l?.serverIndex ?? 0, t = P["WatchModeApi.getWatchStatus"]?.[a]?.url;
3582
+ return (o, s) => O(r, m, g, l)(o, t || s);
3362
3583
  },
3363
3584
  /**
3364
3585
  * Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
@@ -3367,9 +3588,9 @@ const Fe = function(l) {
3367
3588
  * @param {*} [options] Override http request option.
3368
3589
  * @throws {RequiredError}
3369
3590
  */
3370
- async startWatching(e, t) {
3371
- const a = await n.startWatching(e, t), r = l?.serverIndex ?? 0, o = g["WatchModeApi.startWatching"]?.[r]?.url;
3372
- return (s, c) => V(a, h, u, l)(s, o || c);
3591
+ async startWatching(e, r) {
3592
+ const a = await n.startWatching(e, r), t = l?.serverIndex ?? 0, o = P["WatchModeApi.startWatching"]?.[t]?.url;
3593
+ return (s, c) => O(a, m, g, l)(s, o || c);
3373
3594
  },
3374
3595
  /**
3375
3596
  * 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 environment.
@@ -3378,8 +3599,8 @@ const Fe = function(l) {
3378
3599
  * @throws {RequiredError}
3379
3600
  */
3380
3601
  async stopWatching(e) {
3381
- const t = await n.stopWatching(e), a = l?.serverIndex ?? 0, r = g["WatchModeApi.stopWatching"]?.[a]?.url;
3382
- return (o, s) => V(t, h, u, l)(o, r || s);
3602
+ const r = await n.stopWatching(e), a = l?.serverIndex ?? 0, t = P["WatchModeApi.stopWatching"]?.[a]?.url;
3603
+ return (o, s) => O(r, m, g, l)(o, t || s);
3383
3604
  },
3384
3605
  /**
3385
3606
  * Opens a Server-Sent Events (SSE) stream of file-change events for the package, used by in-package HTML data apps (via the publisher.js runtime) to live-reload when their sources are edited. This is a long-lived `text/event-stream` connection, not a JSON endpoint, and is therefore not surfaced through the generated API clients — consume it with an `EventSource`. The stream emits: - `event: hello` (`data: connected`) once on connect. - `event: mode` (`data: enabled|disabled`) reporting whether watch mode is currently active for the environment. When `disabled`, no `changed` events will follow until watch mode is started. - `event: changed` (`data: changed`) each time a watched file in the package changes. - periodic `: heartbeat` comments to keep idle proxies from closing the connection.
@@ -3389,13 +3610,13 @@ const Fe = function(l) {
3389
3610
  * @param {*} [options] Override http request option.
3390
3611
  * @throws {RequiredError}
3391
3612
  */
3392
- async streamPackageEvents(e, t, a) {
3393
- const r = await n.streamPackageEvents(e, t, a), o = l?.serverIndex ?? 0, s = g["WatchModeApi.streamPackageEvents"]?.[o]?.url;
3394
- return (c, i) => V(r, h, u, l)(c, s || i);
3613
+ async streamPackageEvents(e, r, a) {
3614
+ const t = await n.streamPackageEvents(e, r, a), o = l?.serverIndex ?? 0, s = P["WatchModeApi.streamPackageEvents"]?.[o]?.url;
3615
+ return (c, i) => O(t, m, g, l)(c, s || i);
3395
3616
  }
3396
3617
  };
3397
- }, at = function(l, n, e) {
3398
- const t = M(l);
3618
+ }, pt = function(l, n, e) {
3619
+ const r = f(l);
3399
3620
  return {
3400
3621
  /**
3401
3622
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -3404,7 +3625,7 @@ const Fe = function(l) {
3404
3625
  * @throws {RequiredError}
3405
3626
  */
3406
3627
  getWatchStatus(a) {
3407
- return t.getWatchStatus(a).then((r) => r(e, n));
3628
+ return r.getWatchStatus(a).then((t) => t(e, n));
3408
3629
  },
3409
3630
  /**
3410
3631
  * Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
@@ -3413,8 +3634,8 @@ const Fe = function(l) {
3413
3634
  * @param {*} [options] Override http request option.
3414
3635
  * @throws {RequiredError}
3415
3636
  */
3416
- startWatching(a, r) {
3417
- return t.startWatching(a, r).then((o) => o(e, n));
3637
+ startWatching(a, t) {
3638
+ return r.startWatching(a, t).then((o) => o(e, n));
3418
3639
  },
3419
3640
  /**
3420
3641
  * 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 environment.
@@ -3423,7 +3644,7 @@ const Fe = function(l) {
3423
3644
  * @throws {RequiredError}
3424
3645
  */
3425
3646
  stopWatching(a) {
3426
- return t.stopWatching(a).then((r) => r(e, n));
3647
+ return r.stopWatching(a).then((t) => t(e, n));
3427
3648
  },
3428
3649
  /**
3429
3650
  * Opens a Server-Sent Events (SSE) stream of file-change events for the package, used by in-package HTML data apps (via the publisher.js runtime) to live-reload when their sources are edited. This is a long-lived `text/event-stream` connection, not a JSON endpoint, and is therefore not surfaced through the generated API clients — consume it with an `EventSource`. The stream emits: - `event: hello` (`data: connected`) once on connect. - `event: mode` (`data: enabled|disabled`) reporting whether watch mode is currently active for the environment. When `disabled`, no `changed` events will follow until watch mode is started. - `event: changed` (`data: changed`) each time a watched file in the package changes. - periodic `: heartbeat` comments to keep idle proxies from closing the connection.
@@ -3433,12 +3654,12 @@ const Fe = function(l) {
3433
3654
  * @param {*} [options] Override http request option.
3434
3655
  * @throws {RequiredError}
3435
3656
  */
3436
- streamPackageEvents(a, r, o) {
3437
- return t.streamPackageEvents(a, r, o).then((s) => s(e, n));
3657
+ streamPackageEvents(a, t, o) {
3658
+ return r.streamPackageEvents(a, t, o).then((s) => s(e, n));
3438
3659
  }
3439
3660
  };
3440
3661
  };
3441
- class Qe extends I {
3662
+ class De extends I {
3442
3663
  /**
3443
3664
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
3444
3665
  * @summary Get watch mode status
@@ -3447,7 +3668,7 @@ class Qe extends I {
3447
3668
  * @memberof WatchModeApi
3448
3669
  */
3449
3670
  getWatchStatus(n) {
3450
- return M(this.configuration).getWatchStatus(n).then((e) => e(this.axios, this.basePath));
3671
+ return f(this.configuration).getWatchStatus(n).then((e) => e(this.axios, this.basePath));
3451
3672
  }
3452
3673
  /**
3453
3674
  * Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
@@ -3458,7 +3679,7 @@ class Qe extends I {
3458
3679
  * @memberof WatchModeApi
3459
3680
  */
3460
3681
  startWatching(n, e) {
3461
- return M(this.configuration).startWatching(n, e).then((t) => t(this.axios, this.basePath));
3682
+ return f(this.configuration).startWatching(n, e).then((r) => r(this.axios, this.basePath));
3462
3683
  }
3463
3684
  /**
3464
3685
  * 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 environment.
@@ -3468,7 +3689,7 @@ class Qe extends I {
3468
3689
  * @memberof WatchModeApi
3469
3690
  */
3470
3691
  stopWatching(n) {
3471
- return M(this.configuration).stopWatching(n).then((e) => e(this.axios, this.basePath));
3692
+ return f(this.configuration).stopWatching(n).then((e) => e(this.axios, this.basePath));
3472
3693
  }
3473
3694
  /**
3474
3695
  * Opens a Server-Sent Events (SSE) stream of file-change events for the package, used by in-package HTML data apps (via the publisher.js runtime) to live-reload when their sources are edited. This is a long-lived `text/event-stream` connection, not a JSON endpoint, and is therefore not surfaced through the generated API clients — consume it with an `EventSource`. The stream emits: - `event: hello` (`data: connected`) once on connect. - `event: mode` (`data: enabled|disabled`) reporting whether watch mode is currently active for the environment. When `disabled`, no `changed` events will follow until watch mode is started. - `event: changed` (`data: changed`) each time a watched file in the package changes. - periodic `: heartbeat` comments to keep idle proxies from closing the connection.
@@ -3479,11 +3700,11 @@ class Qe extends I {
3479
3700
  * @throws {RequiredError}
3480
3701
  * @memberof WatchModeApi
3481
3702
  */
3482
- streamPackageEvents(n, e, t) {
3483
- return M(this.configuration).streamPackageEvents(n, e, t).then((a) => a(this.axios, this.basePath));
3703
+ streamPackageEvents(n, e, r) {
3704
+ return f(this.configuration).streamPackageEvents(n, e, r).then((a) => a(this.axios, this.basePath));
3484
3705
  }
3485
3706
  }
3486
- class $e {
3707
+ class Le {
3487
3708
  /**
3488
3709
  * parameter for apiKey security
3489
3710
  * @param name security name
@@ -3563,301 +3784,22 @@ class $e {
3563
3784
  return n !== null && (e.test(n) || n.toLowerCase() === "application/json-patch+json");
3564
3785
  }
3565
3786
  }
3566
- const B = {
3567
- teal: "#14b3cb",
3568
- // light wing of the M
3569
- orange: "#e47404",
3570
- // right wing of the M
3571
- darkBlue: "#1474a4"
3572
- // deep shadow of the M
3573
- }, tt = {
3574
- violet: "#7c4dcc",
3575
- magenta: "#c2478f",
3576
- moss: "#5c8f3f"
3577
- }, rt = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', nt = y(J)({
3578
- display: "flex",
3579
- flexDirection: "column",
3580
- height: "100%",
3581
- boxShadow: "none",
3582
- border: "none",
3583
- backgroundColor: "transparent"
3584
- }), ot = y(K)({
3585
- display: "flex",
3586
- flexDirection: "column",
3587
- padding: "0",
3588
- flexGrow: 1
3589
- }), st = y(he)({
3590
- padding: "0"
3591
- }), lt = y("div")(({ theme: l }) => ({
3592
- backgroundColor: l.palette.background.default,
3593
- padding: "0 8px 0px 8px",
3594
- borderRadius: "12px",
3595
- boxShadow: "none",
3596
- border: "none",
3597
- maxWidth: "1200px",
3598
- margin: "0 auto"
3599
- }));
3600
- y("div")(({ theme: l }) => ({
3601
- marginBottom: "40px",
3602
- paddingBottom: "24px",
3603
- borderBottom: `1px solid ${l.palette.divider}`
3604
- }));
3605
- const ct = y("div")({
3606
- marginBottom: "48px",
3607
- padding: "0",
3608
- backgroundColor: "transparent",
3609
- border: "none",
3610
- boxShadow: "none"
3611
- }), it = y("div")({
3612
- marginBottom: "0",
3613
- padding: "0",
3614
- backgroundColor: "transparent",
3615
- border: "none",
3616
- boxShadow: "none"
3617
- }), dt = y("div")({
3618
- backgroundColor: "transparent",
3619
- paddingTop: "12px",
3620
- paddingBottom: "2px",
3621
- borderRadius: "8px",
3622
- border: "none",
3623
- boxShadow: "none",
3624
- marginBottom: "0"
3625
- });
3626
- y("div")(({ theme: l }) => ({
3627
- backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
3628
- padding: "16px",
3629
- borderRadius: "8px",
3630
- border: `1px solid ${l.palette.divider}`,
3631
- fontFamily: "'Monaco', 'Menlo', 'Ubuntu Mono', monospace",
3632
- fontSize: "13px",
3633
- lineHeight: "1.5",
3634
- overflowX: "auto",
3635
- color: l.palette.text.primary
3636
- }));
3637
- y("div")(({ theme: l }) => ({
3638
- backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
3639
- padding: "12px 16px",
3640
- borderRadius: "8px",
3641
- border: `1px solid ${l.palette.divider}`,
3642
- marginBottom: "16px",
3643
- display: "flex",
3644
- justifyContent: "space-between",
3645
- alignItems: "center"
3646
- }));
3647
- const pt = y("div")({
3648
- height: "100%"
3649
- });
3650
- y("div")({
3651
- height: "30px",
3652
- backgroundColor: "rgba(225, 240, 255, 1)",
3653
- display: "flex",
3654
- padding: "4px",
3655
- alignItems: "center"
3656
- });
3657
- const mt = y("div")({
3658
- height: "75vh",
3659
- width: "100%",
3660
- overflowY: "auto"
3661
- });
3662
- y("div")({
3663
- position: "relative",
3664
- height: "100%",
3665
- flex: "0 0 auto"
3666
- });
3667
- const ht = y(J)(({ theme: l }) => ({
3668
- backgroundColor: l.palette.background.paper,
3669
- padding: "24px",
3670
- borderRadius: "8px",
3671
- border: `1px solid ${l.palette.divider}`,
3672
- boxShadow: "0 1px 3px rgba(0, 0, 0, 0.04)",
3673
- height: "100%",
3674
- transition: "box-shadow 0.2s ease-in-out",
3675
- "&:hover": {
3676
- boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
3677
- }
3678
- })), ut = y(K)({
3679
- padding: "0",
3680
- "&:last-child": {
3681
- paddingBottom: "0"
3682
- }
3683
- }), gt = y("div")(({ theme: l }) => ({
3684
- fontSize: "0.875rem",
3685
- fontWeight: 500,
3686
- color: l.palette.text.secondary,
3687
- marginBottom: "16px",
3688
- paddingBottom: "8px",
3689
- borderBottom: `1px solid ${l.palette.divider}`
3690
- }));
3691
- y("div")({
3692
- padding: "32px",
3693
- maxWidth: "1400px",
3694
- margin: "0 auto",
3695
- minHeight: "100vh"
3696
- });
3697
- const ze = [
3698
- B.teal,
3699
- B.orange,
3700
- B.darkBlue,
3701
- "#66cedc",
3702
- "#ec72b8",
3703
- "#f9c85b",
3704
- "#aacd85",
3705
- "#b87ced"
3706
- ], qe = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", W = {
3707
- defaultMode: "light",
3708
- allowUserToggle: !0,
3709
- palette: {
3710
- series: ze,
3711
- background: {
3712
- light: "#ffffff",
3713
- // Slate to match the Publisher app's sidebar surface so
3714
- // rendered charts sit on the same elevation as the chrome
3715
- // around them.
3716
- dark: "#1e293b"
3717
- },
3718
- tableHeader: {
3719
- light: "#5d626b",
3720
- dark: "#cbd5e1"
3721
- },
3722
- // Background of the table header row, independent of the
3723
- // tile (dashboard tile container) so the operator can theme
3724
- // the header band on its own.
3725
- tableHeaderBackground: {
3726
- light: "#f5fafc",
3727
- dark: "#1e293b"
3728
- },
3729
- tableBody: {
3730
- light: "#727883",
3731
- dark: "#e2e8f0"
3732
- },
3733
- // The padded container that wraps each chart / table in a
3734
- // dashboard. Light mode: a faint tint so tiles read as recessed
3735
- // cards on the page; dark mode: page-outer slate.
3736
- tile: {
3737
- light: "#f5fafc",
3738
- dark: "#0f172a"
3739
- },
3740
- tileTitle: {
3741
- light: "#5d626b",
3742
- dark: "#94a3b8"
3787
+ const je = new se({
3788
+ defaultOptions: {
3789
+ queries: {
3790
+ retry: !1,
3791
+ throwOnError: !1
3743
3792
  },
3744
- // Saturated end of the choropleth / heatmap gradient. The
3745
- // renderer pairs this with a near-neutral low end. Defaults
3746
- // match the first series colour (teal) so unbranded installs
3747
- // get a brand-coherent gradient instead of the renderer's
3748
- // hardcoded blue ramp.
3749
- mapColor: {
3750
- light: B.teal,
3751
- dark: B.teal
3793
+ mutations: {
3794
+ retry: !1,
3795
+ throwOnError: !1
3752
3796
  }
3753
- },
3754
- font: {
3755
- family: qe,
3756
- size: 12
3757
3797
  }
3758
- }, De = [
3759
- "background",
3760
- "tableHeader",
3761
- "tableHeaderBackground",
3762
- "tableBody",
3763
- "tile",
3764
- "tileTitle",
3765
- "mapColor"
3766
- ];
3767
- function ae(l, n) {
3768
- const e = W.palette ?? {}, t = W.font ?? {
3769
- family: "sans-serif",
3770
- size: 12
3771
- };
3772
- let a = [...e.series ?? []], r = t.family ?? "sans-serif", o = t.size ?? 12;
3773
- const s = {
3774
- background: { ...e.background ?? {} },
3775
- tableHeader: { ...e.tableHeader ?? {} },
3776
- tableHeaderBackground: {
3777
- ...e.tableHeaderBackground ?? {}
3778
- },
3779
- tableBody: { ...e.tableBody ?? {} },
3780
- tile: { ...e.tile ?? {} },
3781
- tileTitle: { ...e.tileTitle ?? {} },
3782
- mapColor: { ...e.mapColor ?? {} }
3783
- };
3784
- for (const p of l)
3785
- if (p) {
3786
- Array.isArray(p.palette?.series) && (a = [...p.palette.series]);
3787
- for (const O of De) {
3788
- const C = p.palette?.[O];
3789
- C && (s[O] = { ...s[O], ...C });
3790
- }
3791
- typeof p.font?.family == "string" && (r = p.font.family), typeof p.font?.size == "number" && (o = p.font.size);
3792
- }
3793
- const c = n === "dark", i = (p) => s[p][n] ?? e[p]?.[n], d = i("background");
3794
- return {
3795
- mode: n,
3796
- series: a,
3797
- font: { family: r, size: o },
3798
- background: d,
3799
- tableHeader: i("tableHeader"),
3800
- tableHeaderBackground: i("tableHeaderBackground"),
3801
- tableBody: i("tableBody"),
3802
- tile: i("tile"),
3803
- tileTitle: i("tileTitle"),
3804
- mapColor: i("mapColor"),
3805
- // Table interior follows the operator's chart background so
3806
- // tables and chart canvases share a single "viz surface" colour.
3807
- tableBackground: d,
3808
- // Derived, mode-keyed defaults. Operators don't edit these in
3809
- // v1; they're consistent borders / readable foreground text for
3810
- // each mode. If a user later asks to customise them, expose them
3811
- // on the schema and the editor and replace the literals below.
3812
- border: c ? "1px solid #334155" : "1px solid #e5e7eb",
3813
- pinnedBorder: c ? "1px solid #475569" : "1px solid #daedf3",
3814
- valueColor: c ? "#f1f5f9" : "#1f2937",
3815
- foreground: c ? "#e2e8f0" : "#1f2937",
3816
- axisFaint: c ? "#475569" : "#d1d5db",
3817
- // Dashboard panel background (area BETWEEN tiles). Light keeps
3818
- // white so the page stays visually unchanged. Dark uses slate so
3819
- // the panel doesn't read as a bright box against the dark page
3820
- // chrome. Intentionally NOT tied to `palette.background`: the
3821
- // panel stays neutral so a bold accent on the chart canvas
3822
- // doesn't bleed into the surrounding chrome.
3823
- dashboardRoot: c ? "#1e293b" : "#ffffff",
3824
- // Drill link hover. Light is Malloyyo's own blue, so the same drill reads
3825
- // the same in both; dark lightens it for contrast on the slate panel.
3826
- drillLink: c ? "#60a5fa" : "#2563eb"
3827
- };
3828
- }
3829
- function Le(l, n, e) {
3830
- const t = n ?? l ?? "light";
3831
- return t === "auto" ? e ? "dark" : "light" : t;
3832
- }
3833
- const te = G(void 0);
3834
- function je({
3835
- layers: l,
3836
- mode: n,
3837
- userChoice: e,
3838
- setMode: t,
3839
- allowUserToggle: a = !0,
3840
- children: r
3841
- }) {
3842
- const o = f(() => ae(l, n), [l, n]), s = f(
3843
- () => ({ theme: o, layers: l, mode: n, userChoice: e, setMode: t, allowUserToggle: a }),
3844
- [o, l, n, e, t, a]
3845
- );
3846
- return /* @__PURE__ */ F(te.Provider, { value: s, children: r });
3847
- }
3848
- function bt() {
3849
- const l = Y(te);
3850
- return l || {
3851
- theme: ae([], "light"),
3852
- layers: [],
3853
- mode: "light",
3854
- userChoice: void 0,
3855
- setMode: () => {
3856
- },
3857
- allowUserToggle: !1
3858
- };
3859
- }
3860
- const L = "publisher:themeMode";
3798
+ }), ht = {
3799
+ staleTime: 300 * 1e3,
3800
+ refetchOnWindowFocus: !1,
3801
+ refetchOnReconnect: !1
3802
+ }, L = "publisher:themeMode";
3861
3803
  function He() {
3862
3804
  if (!(typeof window > "u"))
3863
3805
  try {
@@ -3876,212 +3818,208 @@ function _e(l) {
3876
3818
  function We() {
3877
3819
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches;
3878
3820
  }
3879
- h.defaults.baseURL || (h.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3880
- const re = G(void 0), Ge = (l, n) => {
3881
- const e = `${window.location.protocol}//${window.location.host}/api/v0`, t = h.create({
3821
+ m.defaults.baseURL || (m.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3822
+ const ae = G(void 0), Ge = (l, n) => {
3823
+ const e = `${window.location.protocol}//${window.location.host}/api/v0`, r = m.create({
3882
3824
  baseURL: l || e,
3883
3825
  withCredentials: !0,
3884
3826
  timeout: 6e5
3885
3827
  });
3886
- t.interceptors.request.use(async (r) => {
3828
+ r.interceptors.request.use(async (t) => {
3887
3829
  const o = await n?.();
3888
- return r.headers.Authorization = o || "", r;
3830
+ return t.headers.Authorization = o || "", t;
3889
3831
  });
3890
- const a = new $e({ basePath: e });
3832
+ const a = new Le({ basePath: e });
3891
3833
  return {
3892
- models: new Te(a, e, t),
3893
- publisher: new Be(a, e, t),
3894
- environments: new xe(a, e, t),
3895
- packages: new Me(a, e, t),
3896
- dashboards: new Oe(a, e, t),
3897
- dataApps: new ke(a, e, t),
3898
- notebooks: new Ee(a, e, t),
3899
- connections: new Pe(a, e, t),
3900
- databases: new Ce(a, e, t),
3901
- materializations: new Re(
3834
+ models: new Me(a, e, r),
3835
+ publisher: new qe(a, e, r),
3836
+ environments: new Te(a, e, r),
3837
+ packages: new Qe(a, e, r),
3838
+ dashboards: new Ce(a, e, r),
3839
+ dataApps: new Ae(a, e, r),
3840
+ notebooks: new Be(a, e, r),
3841
+ connections: new Se(a, e, r),
3842
+ databases: new Re(a, e, r),
3843
+ materializations: new we(
3902
3844
  a,
3903
3845
  e,
3904
- t
3846
+ r
3905
3847
  ),
3906
- watchMode: new Qe(a, e, t)
3848
+ watchMode: new De(a, e, r)
3907
3849
  };
3908
- }, Pt = (l) => /* @__PURE__ */ F(ie, { client: ue, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
3850
+ }, mt = (l) => /* @__PURE__ */ F(le, { client: je, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
3909
3851
  children: l,
3910
3852
  getAccessToken: n,
3911
3853
  baseURL: e,
3912
- mutable: t,
3854
+ mutable: r,
3913
3855
  theme: a
3914
3856
  }) => {
3915
- const r = f(
3857
+ const t = B(
3916
3858
  () => Ge(e, n),
3917
3859
  [e, n]
3918
- ), o = e || `${window.location.protocol}//${window.location.host}/api/v0`, s = de({
3860
+ ), o = e || `${window.location.protocol}//${window.location.host}/api/v0`, s = ce({
3919
3861
  queryKey: ["status"],
3920
- queryFn: async () => (await r.publisher.getStatus()).data
3862
+ queryFn: async () => (await t.publisher.getStatus()).data
3921
3863
  });
3922
3864
  s.error && console.error("Failed to fetch publisher status:", s.error);
3923
3865
  const c = s.data?.frozenConfig, i = s.data?.theme, d = s.isLoading;
3924
3866
  let p;
3925
- s.isLoading || s.error ? p = t : c ? p = !1 : p = t ?? !0;
3926
- const O = f(
3867
+ s.isLoading || s.error ? p = r : c ? p = !1 : p = r ?? !0;
3868
+ const u = B(
3927
3869
  () => [i, a],
3928
3870
  [i, a]
3929
- ), [C, U] = _(
3871
+ ), [k, E] = _(
3930
3872
  He
3931
- ), [x, $] = _(We);
3932
- pe(() => {
3873
+ ), [A, $] = _(We);
3874
+ ie(() => {
3933
3875
  if (typeof window > "u" || !window.matchMedia) return;
3934
- const R = window.matchMedia("(prefers-color-scheme: dark)"), H = (le) => $(le.matches);
3876
+ const R = window.matchMedia("(prefers-color-scheme: dark)"), H = (oe) => $(oe.matches);
3935
3877
  return R.addEventListener("change", H), () => R.removeEventListener("change", H);
3936
3878
  }, []);
3937
- const ne = me((R) => {
3938
- U(R), _e(R);
3939
- }, []), j = i?.allowUserToggle ?? !0, z = j ? C : void 0, oe = f(
3940
- () => Le(
3879
+ const te = de((R) => {
3880
+ E(R), _e(R);
3881
+ }, []), j = i?.allowUserToggle ?? !0, q = j ? k : void 0, re = B(
3882
+ () => be(
3941
3883
  i?.defaultMode,
3942
- z,
3943
- x
3884
+ q,
3885
+ A
3944
3886
  ),
3945
- [i?.defaultMode, z, x]
3946
- ), se = {
3887
+ [i?.defaultMode, q, A]
3888
+ ), ne = {
3947
3889
  server: o,
3948
3890
  getAccessToken: n,
3949
- apiClients: r,
3891
+ apiClients: t,
3950
3892
  mutable: p,
3951
3893
  isLoadingStatus: d,
3952
3894
  instanceTheme: i
3953
3895
  };
3954
- return /* @__PURE__ */ F(re.Provider, { value: se, children: /* @__PURE__ */ F(
3955
- je,
3896
+ return /* @__PURE__ */ F(ae.Provider, { value: ne, children: /* @__PURE__ */ F(
3897
+ Ve,
3956
3898
  {
3957
- layers: O,
3958
- mode: oe,
3959
- userChoice: z,
3960
- setMode: ne,
3899
+ layers: u,
3900
+ mode: re,
3901
+ userChoice: q,
3902
+ setMode: te,
3961
3903
  allowUserToggle: j,
3962
3904
  children: l
3963
3905
  }
3964
3906
  ) });
3965
- }, vt = () => {
3966
- const l = Y(re);
3907
+ }, ut = () => {
3908
+ const l = Y(ae);
3967
3909
  if (l === void 0)
3968
3910
  throw new Error("useServer must be used within a ServerProvider");
3969
3911
  return l;
3970
3912
  };
3971
3913
  export {
3972
- Oe as $,
3973
- ta as A,
3974
- Fa as B,
3975
- na as C,
3976
- da as D,
3977
- Qa as E,
3978
- ma as F,
3979
- ua as G,
3980
- $a as H,
3981
- be as I,
3982
- S as J,
3983
- qa as K,
3984
- ga as L,
3985
- Pa as M,
3986
- Sa as N,
3987
- Pe as O,
3988
- ya as P,
3989
- Ua as Q,
3990
- Ma as R,
3991
- Pt as S,
3992
- za as T,
3993
- ve as U,
3914
+ Ce as $,
3915
+ ha as A,
3916
+ Wa as B,
3917
+ ua as C,
3918
+ Oa as D,
3919
+ Ga as E,
3920
+ ya as F,
3921
+ Ca as G,
3922
+ Ya as H,
3923
+ Oe as I,
3924
+ y as J,
3925
+ Ka as K,
3926
+ Ia as L,
3927
+ xa as M,
3928
+ Ua as N,
3929
+ Se as O,
3930
+ Ea as P,
3931
+ za as Q,
3932
+ ja as R,
3933
+ mt as S,
3934
+ Ja as T,
3935
+ ye as U,
3994
3936
  X as V,
3995
- Da as W,
3996
- La as X,
3997
- Ve as Y,
3937
+ Xa as W,
3938
+ Za as X,
3939
+ ke as Y,
3998
3940
  D as Z,
3999
- ja as _,
4000
- ra as a,
4001
- Se as a0,
3941
+ et as _,
3942
+ ma as a,
3943
+ Ie as a0,
4002
3944
  Z as a1,
4003
- Ha as a2,
4004
- ke as a3,
4005
- ye as a4,
3945
+ at as a2,
3946
+ Ae as a3,
3947
+ xe as a4,
4006
3948
  ee as a5,
4007
- _a as a6,
4008
- Ce as a7,
4009
- Ie as a8,
3949
+ tt as a6,
3950
+ Re as a7,
3951
+ Ne as a8,
4010
3952
  N as a9,
4011
- at as aA,
4012
- Qe as aB,
4013
- $e as aC,
4014
- bt as aD,
4015
- aa as aE,
4016
- rt as aF,
4017
- ht as aG,
4018
- ut as aH,
4019
- gt as aI,
4020
- B as aJ,
4021
- it as aK,
4022
- dt as aL,
4023
- st as aM,
4024
- pt as aN,
4025
- mt as aO,
4026
- nt as aP,
4027
- ot as aQ,
4028
- lt as aR,
4029
- ct as aS,
4030
- tt as aT,
4031
- De as aU,
4032
- ae as aV,
4033
- W as aW,
4034
- Le as aX,
4035
- je as aY,
4036
- Wa as aa,
4037
- xe as ab,
4038
- Ae as ac,
4039
- A as ad,
4040
- Ga as ae,
4041
- Re as af,
4042
- Ya as ag,
4043
- Ne as ah,
4044
- E as ai,
4045
- Ja as aj,
4046
- Te as ak,
4047
- Ue as al,
3953
+ pt as aA,
3954
+ De as aB,
3955
+ Le as aC,
3956
+ Pe as aD,
3957
+ pa as aE,
3958
+ J as aF,
3959
+ ta as aG,
3960
+ aa as aH,
3961
+ ca as aI,
3962
+ sa as aJ,
3963
+ la as aK,
3964
+ C as aL,
3965
+ W as aM,
3966
+ be as aN,
3967
+ Ve as aO,
3968
+ ht as aP,
3969
+ oa as aQ,
3970
+ ia as aR,
3971
+ da as aS,
3972
+ ra as aT,
3973
+ na as aU,
3974
+ rt as aa,
3975
+ Te as ab,
3976
+ Ue as ac,
3977
+ T as ad,
3978
+ nt as ae,
3979
+ we as af,
3980
+ ot as ag,
3981
+ Ee as ah,
3982
+ U as ai,
3983
+ st as aj,
3984
+ Me as ak,
3985
+ fe as al,
4048
3986
  Q as am,
4049
- Ka as an,
4050
- Ee as ao,
4051
- Xa as ap,
4052
- we as aq,
4053
- T as ar,
4054
- Za as as,
4055
- Me as at,
4056
- fe as au,
4057
- w as av,
4058
- et as aw,
4059
- Be as ax,
4060
- Fe as ay,
4061
- M as az,
4062
- oa as b,
4063
- sa as c,
4064
- la as d,
4065
- ca as e,
4066
- ia as f,
4067
- ue as g,
4068
- pa as h,
4069
- ha as i,
4070
- ba as j,
4071
- va as k,
4072
- Va as l,
4073
- Oa as m,
4074
- ka as n,
4075
- Ca as o,
4076
- Ia as p,
4077
- xa as q,
4078
- Aa as r,
4079
- Ra as s,
4080
- Na as t,
4081
- vt as u,
4082
- Ta as v,
4083
- Ea as w,
4084
- wa as x,
4085
- fa as y,
4086
- Ba as z
3987
+ lt as an,
3988
+ Be as ao,
3989
+ ct as ap,
3990
+ Fe as aq,
3991
+ w as ar,
3992
+ it as as,
3993
+ Qe as at,
3994
+ $e as au,
3995
+ M as av,
3996
+ dt as aw,
3997
+ qe as ax,
3998
+ ze as ay,
3999
+ f as az,
4000
+ ga as b,
4001
+ Pa as c,
4002
+ ba as d,
4003
+ Va as e,
4004
+ va as f,
4005
+ je as g,
4006
+ Sa as h,
4007
+ ka as i,
4008
+ Aa as j,
4009
+ Ra as k,
4010
+ Na as l,
4011
+ Ta as m,
4012
+ wa as n,
4013
+ Ma as o,
4014
+ fa as p,
4015
+ Ba as q,
4016
+ Fa as r,
4017
+ Qa as s,
4018
+ $a as t,
4019
+ ut as u,
4020
+ qa as v,
4021
+ Da as w,
4022
+ La as x,
4023
+ Ha as y,
4024
+ _a as z
4087
4025
  };