@malloy-publisher/sdk 0.8.2 → 0.8.4

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 (44) hide show
  1. package/README.md +14 -65
  2. package/dist/{DocumentStorage-BZqn0x5r.es.js → Dashboard-DnqWRijB.es.js} +23691 -23538
  3. package/dist/Dashboard-FD3-Af-_.cjs.js +136 -0
  4. package/dist/{RenderedResult-DKOl0FQ8.es.js → RenderedResult-6UKAHaAj.es.js} +18 -18
  5. package/dist/{RenderedResult-Bu25oAAr.cjs.js → RenderedResult-CetSzFgW.cjs.js} +1 -1
  6. package/dist/ServerProvider-BsjJvkML.cjs.js +1 -0
  7. package/dist/{ServerProvider-CfUFleYe.es.js → ServerProvider-DgRFJ43L.es.js} +983 -957
  8. package/dist/builder/index.cjs.js +50 -50
  9. package/dist/builder/index.es.js +2587 -2511
  10. package/dist/client/api.d.ts +157 -44
  11. package/dist/client/configuration.d.ts +1 -1
  12. package/dist/client/index.cjs.js +1 -1
  13. package/dist/client/index.d.ts +1 -1
  14. package/dist/client/index.es.js +62 -59
  15. package/dist/components/DashboardBuilder/malloyText.d.ts +49 -0
  16. package/dist/components/DashboardBuilder/malloyTree.d.ts +2 -18
  17. package/dist/components/DashboardBuilder/readDocument.d.ts +2 -0
  18. package/dist/components/Notebook/NotebookCell.d.ts +3 -2
  19. package/dist/components/Notebook/cellKind.d.ts +20 -0
  20. package/dist/components/given/filterValue.d.ts +11 -0
  21. package/dist/index.cjs.js +15 -12
  22. package/dist/index.es.js +4528 -4435
  23. package/package.json +1 -1
  24. package/src/components/DashboardBuilder/malloyText.spec.ts +70 -1
  25. package/src/components/DashboardBuilder/malloyText.ts +171 -3
  26. package/src/components/DashboardBuilder/malloyTree.spec.ts +35 -0
  27. package/src/components/DashboardBuilder/malloyTree.ts +28 -4
  28. package/src/components/DashboardBuilder/readDocument.spec.ts +180 -1
  29. package/src/components/DashboardBuilder/readDocument.ts +52 -14
  30. package/src/components/DashboardBuilder/spliceDocument.spec.ts +396 -2
  31. package/src/components/DashboardBuilder/spliceDocument.ts +121 -18
  32. package/src/components/Notebook/Notebook.served.spec.tsx +175 -0
  33. package/src/components/Notebook/Notebook.spec.tsx +33 -2
  34. package/src/components/Notebook/Notebook.tsx +13 -7
  35. package/src/components/Notebook/NotebookCell.tsx +124 -63
  36. package/src/components/Notebook/cellKind.spec.ts +191 -0
  37. package/src/components/Notebook/cellKind.ts +74 -0
  38. package/src/components/Package/Package.notebooks.spec.tsx +90 -0
  39. package/src/components/Package/Package.tsx +18 -4
  40. package/src/components/given/GivenInput.spec.tsx +66 -0
  41. package/src/components/given/GivenInput.tsx +99 -0
  42. package/src/components/given/filterValue.ts +21 -0
  43. package/dist/DocumentStorage-B0_YgSzt.cjs.js +0 -134
  44. package/dist/ServerProvider-CuYLH_Yi.cjs.js +0 -1
@@ -1,302 +1,64 @@
1
1
  import { jsx as F } from "react/jsx-runtime";
2
2
  import { QueryClient as se, QueryClientProvider as le, useQuery as ce } from "@tanstack/react-query";
3
- import h from "axios";
4
- import { useMemo as B, createContext as G, useContext as Y, useState as _, useEffect as ie, useCallback as de } from "react";
3
+ import u from "axios";
4
+ import { useMemo as B, useContext as G, createContext as Y, useState as _, useEffect as ie, useCallback as de } from "react";
5
5
  import { styled as x, Card as pe, CardContent as me, CardMedia as he } 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(me)({
31
- display: "flex",
32
- flexDirection: "column",
33
- padding: "0",
34
- flexGrow: 1
35
- }), oa = x(he)({
36
- padding: "0"
37
- }), sa = x("div")(({ theme: c }) => ({
38
- backgroundColor: c.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
- // The chart canvas. One ground for the whole dashboard in both modes —
80
- // canvas, card and the panel between cards are all this value, and the
81
- // borders do the separating. See `tile`.
82
- background: {
83
- light: "#ffffff",
84
- dark: "#0f172a"
85
- },
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 dashboard.
102
- //
103
- // The SAME value as the canvas it holds and the panel it sits on, in
104
- // both modes: a card is separated by its border and its radius, not by
105
- // a wash. A tinted card reads as a recess — something switched off —
106
- // and stacking card, canvas and panel as three values put three greys
107
- // on one tile.
108
- //
109
- // Both modes are built the same way on purpose. They used to differ in
110
- // structure, not just in value — light separated by border, dark by
111
- // elevation — so a change to how a card reads had to be reasoned about
112
- // twice and could land correct in one mode and wrong in the other.
113
- tile: {
114
- light: "#ffffff",
115
- dark: "#0f172a"
116
- },
117
- tileTitle: {
118
- light: "#475569",
119
- dark: "#94a3b8"
120
- },
121
- // Saturated end of the choropleth / heatmap gradient. The renderer
122
- // pairs this with a near-neutral low end. Matches the first series
123
- // colour, so a map and a chart on one page ramp to the same hue.
124
- mapColor: {
125
- light: C.blue,
126
- dark: C.blue
127
- }
128
- },
129
- font: {
130
- family: ge,
131
- size: 12
132
- }
133
- }, Pe = [
134
- "background",
135
- "tableHeader",
136
- "tableHeaderBackground",
137
- "tableBody",
138
- "tile",
139
- "tileTitle",
140
- "mapColor"
141
- ];
142
- function J(c, n) {
143
- const e = W.palette ?? {}, r = W.font ?? {
144
- family: "sans-serif",
145
- size: 12
146
- };
147
- let a = [...e.series ?? []], t = r.family ?? "sans-serif", o = r.size ?? 12;
148
- const s = {
149
- background: { ...e.background ?? {} },
150
- tableHeader: { ...e.tableHeader ?? {} },
151
- tableHeaderBackground: {
152
- ...e.tableHeaderBackground ?? {}
153
- },
154
- tableBody: { ...e.tableBody ?? {} },
155
- tile: { ...e.tile ?? {} },
156
- tileTitle: { ...e.tileTitle ?? {} },
157
- mapColor: { ...e.mapColor ?? {} }
158
- };
159
- for (const p of c)
160
- if (p) {
161
- Array.isArray(p.palette?.series) && (a = [...p.palette.series]);
162
- for (const u of Pe) {
163
- const k = p.palette?.[u];
164
- k && (s[u] = { ...s[u], ...k });
165
- }
166
- typeof p.font?.family == "string" && (t = p.font.family), typeof p.font?.size == "number" && (o = p.font.size);
167
- }
168
- const l = n === "dark", i = (p) => s[p][n] ?? e[p]?.[n], d = i("background");
169
- return {
170
- mode: n,
171
- series: a,
172
- font: { family: t, size: o },
173
- background: d,
174
- tableHeader: i("tableHeader"),
175
- tableHeaderBackground: i("tableHeaderBackground"),
176
- tableBody: i("tableBody"),
177
- tile: i("tile"),
178
- tileTitle: i("tileTitle"),
179
- mapColor: i("mapColor"),
180
- // Table interior follows the operator's chart background so
181
- // tables and chart canvases share a single "viz surface" colour.
182
- tableBackground: d,
183
- // Derived, mode-keyed defaults. Operators don't edit these in
184
- // v1; they're consistent borders / readable foreground text for
185
- // each mode. If a user later asks to customise them, expose them
186
- // on the schema and the editor and replace the literals below.
187
- border: l ? "1px solid #334155" : "1px solid #e2e8f0",
188
- // A card's edge, one stop darker than a table's gridline on the same
189
- // slate ramp. See `cardBorder` on ResolvedTheme for why the two are not
190
- // the same value.
191
- cardBorder: l ? "1px solid #475569" : "1px solid #cbd5e1",
192
- // Slate, not the teal-cast `#daedf3` this was: a pinned table header
193
- // outlined in a hue no longer anywhere else on the page.
194
- pinnedBorder: l ? "1px solid #475569" : "1px solid #cbd5e1",
195
- valueColor: l ? "#f1f5f9" : "#0f172a",
196
- foreground: l ? "#e2e8f0" : "#0f172a",
197
- axisFaint: l ? "#475569" : "#cbd5e1",
198
- // Dashboard panel background (the area BETWEEN tiles). The page's own
199
- // ground in both modes, so the panel, the cards on it and the canvases
200
- // inside them are one surface that borders divide up — see
201
- // `palette.tile`.
202
- //
203
- // Still NOT tied to `palette.background`, which an operator may set to
204
- // a bold accent for the chart canvas. The panel stays the neutral it is
205
- // here so that accent cannot bleed into the surrounding chrome.
206
- dashboardRoot: l ? "#0f172a" : "#ffffff",
207
- // Drill link hover: the palette's anchor blue, so a drill reads as the
208
- // same affordance as every other primary action; dark lightens it for
209
- // contrast on the slate panel.
210
- drillLink: l ? "#60a5fa" : C.blue
211
- };
212
- }
213
- function be(c, n, e) {
214
- const r = n ?? c ?? "light";
215
- return r === "auto" ? e ? "dark" : "light" : r;
216
- }
217
- const K = G(void 0);
218
- function Ve({
219
- layers: c,
220
- mode: n,
221
- userChoice: e,
222
- setMode: r,
223
- allowUserToggle: a = !0,
224
- children: t
225
- }) {
226
- const o = B(() => J(c, n), [c, n]), s = B(
227
- () => ({ theme: o, layers: c, mode: n, userChoice: e, setMode: r, allowUserToggle: a }),
228
- [o, c, n, e, r, a]
229
- );
230
- return /* @__PURE__ */ F(K.Provider, { value: s, children: t });
231
- }
232
- function pa() {
233
- const c = Y(K);
234
- return c || {
235
- theme: J([], "light"),
236
- layers: [],
237
- mode: "light",
238
- userChoice: void 0,
239
- setMode: () => {
240
- },
241
- allowUserToggle: !1
242
- };
243
- }
244
6
  const g = "http://localhost/api/v0".replace(/\/+$/, "");
245
7
  class I {
246
- constructor(n, e = g, r = h) {
8
+ constructor(n, e = g, r = u) {
247
9
  this.basePath = e, this.axios = r, n && (this.configuration = n, this.basePath = n.basePath ?? e);
248
10
  }
249
11
  configuration;
250
12
  }
251
- class ve extends Error {
13
+ class ue extends Error {
252
14
  constructor(n, e) {
253
15
  super(e), this.field = n, this.name = "RequiredError";
254
16
  }
255
17
  }
256
- const P = {}, b = "https://example.com", m = function(c, n, e) {
18
+ const P = {}, b = "https://example.com", m = function(l, n, e) {
257
19
  if (e == null)
258
- throw new ve(n, `Required parameter ${n} was null or undefined when calling ${c}.`);
20
+ throw new ue(n, `Required parameter ${n} was null or undefined when calling ${l}.`);
259
21
  };
260
- function D(c, n, e = "") {
261
- n != null && (typeof n == "object" ? Array.isArray(n) ? n.forEach((r) => D(c, r, e)) : Object.keys(n).forEach(
262
- (r) => D(c, n[r], `${e}${e !== "" ? "." : ""}${r}`)
263
- ) : c.has(e) ? c.append(e, n) : c.set(e, n));
22
+ function D(l, n, e = "") {
23
+ n != null && (typeof n == "object" ? Array.isArray(n) ? n.forEach((r) => D(l, r, e)) : Object.keys(n).forEach(
24
+ (r) => D(l, n[r], `${e}${e !== "" ? "." : ""}${r}`)
25
+ ) : l.has(e) ? l.append(e, n) : l.set(e, n));
264
26
  }
265
- const V = function(c, ...n) {
266
- const e = new URLSearchParams(c.search);
267
- D(e, n), c.search = e.toString();
268
- }, S = function(c, n, e) {
269
- const r = typeof c != "string";
270
- return (r && e && e.isJsonMime ? e.isJsonMime(n.headers["Content-Type"]) : r) ? JSON.stringify(c !== void 0 ? c : {}) : c || "";
271
- }, v = function(c) {
272
- return c.pathname + c.search + c.hash;
273
- }, O = function(c, n, e, r) {
27
+ const V = function(l, ...n) {
28
+ const e = new URLSearchParams(l.search);
29
+ D(e, n), l.search = e.toString();
30
+ }, y = function(l, n, e) {
31
+ const r = typeof l != "string";
32
+ return (r && e && e.isJsonMime ? e.isJsonMime(n.headers["Content-Type"]) : r) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
33
+ }, v = function(l) {
34
+ return l.pathname + l.search + l.hash;
35
+ }, O = function(l, n, e, r) {
274
36
  return (a = n, t = e) => {
275
- const o = { ...c.options, url: (a.defaults.baseURL ? "" : r?.basePath ?? t) + c.url };
37
+ const o = { ...l.options, url: (a.defaults.baseURL ? "" : r?.basePath ?? t) + l.url };
276
38
  return a.request(o);
277
39
  };
278
- }, ma = {
40
+ }, aa = {
279
41
  Bigquery: "bigquery",
280
42
  Snowflake: "snowflake",
281
43
  Postgres: "postgres",
282
44
  Gcs: "gcs",
283
45
  S3: "s3",
284
46
  Azure: "azure"
285
- }, ha = {
47
+ }, ta = {
286
48
  ServicePrincipal: "service_principal",
287
49
  SasToken: "sas_token"
288
- }, ua = {
50
+ }, ra = {
289
51
  Error: "error",
290
52
  Warn: "warn",
291
53
  Debug: "debug"
292
- }, ga = {
54
+ }, na = {
293
55
  Append: "append",
294
56
  File: "file",
295
57
  Package: "package"
296
- }, Pa = {
58
+ }, oa = {
297
59
  Success: "success",
298
60
  Error: "error"
299
- }, ba = {
61
+ }, sa = {
300
62
  Postgres: "postgres",
301
63
  Bigquery: "bigquery",
302
64
  Snowflake: "snowflake",
@@ -307,108 +69,119 @@ const V = function(c, ...n) {
307
69
  Motherduck: "motherduck",
308
70
  Ducklake: "ducklake",
309
71
  Publisher: "publisher"
310
- }, Va = {
72
+ }, la = {
311
73
  Ssh: "ssh"
312
- }, va = {
74
+ }, ca = {
313
75
  Ok: "ok",
314
76
  Failed: "failed"
315
- }, Oa = {
77
+ }, ia = {
316
78
  Viewport: "viewport"
317
- }, Sa = {
79
+ }, da = {
318
80
  Embedded: "embedded",
319
81
  Materialized: "materialized"
320
- }, ya = {
82
+ }, pa = {
321
83
  Equal: "equal",
322
84
  In: "in",
323
85
  Like: "like",
324
86
  GreaterThan: "greater_than",
325
87
  LessThan: "less_than"
326
- }, ka = {
88
+ }, ma = {
327
89
  Live: "live",
328
90
  StaleOk: "stale_ok",
329
91
  Fail: "fail"
330
- }, Ca = {
92
+ }, ha = {
331
93
  Select: "select",
332
94
  Multiselect: "multiselect"
333
- }, Ia = {
95
+ }, ua = {
334
96
  Merge: "merge",
335
97
  RangeReplace: "range_replace"
336
- }, Aa = {
98
+ }, ga = {
337
99
  Debug: "debug",
338
100
  Info: "info",
339
101
  Warn: "warn",
340
102
  Error: "error"
341
- }, xa = {
103
+ }, Pa = {
342
104
  Persist: "persist",
343
105
  Preaggregate: "preaggregate"
344
- }, Ra = {
106
+ }, ba = {
345
107
  Live: "live",
346
108
  StaleOk: "stale_ok",
347
109
  Fail: "fail"
348
- }, Na = {
110
+ }, Va = {
349
111
  Delta: "delta",
350
112
  Full: "full",
351
113
  None: "none"
352
- }, Ta = {
114
+ }, va = {
353
115
  Pending: "PENDING",
354
116
  ManifestRowsReady: "MANIFEST_ROWS_READY",
355
117
  ManifestFileReady: "MANIFEST_FILE_READY",
356
118
  Failed: "FAILED",
357
119
  Cancelled: "CANCELLED"
358
- }, Ua = {
120
+ }, Oa = {
359
121
  Markdown: "markdown",
360
122
  Code: "code"
361
- }, wa = {
123
+ }, Sa = {
124
+ Markdown: "markdown",
125
+ Query: "query",
126
+ Definition: "definition"
127
+ }, ya = {
362
128
  Markdown: "markdown",
363
129
  Code: "code"
364
- }, Ea = {
130
+ }, ka = {
131
+ Markdown: "markdown",
132
+ Query: "query",
133
+ Definition: "definition"
134
+ }, Ca = {
365
135
  Version: "version",
366
136
  Package: "package"
367
- }, Ma = {
137
+ }, Ia = {
368
138
  Declared: "declared",
369
139
  All: "all"
370
- }, fa = {
140
+ }, Aa = {
371
141
  Unbound: "unbound",
372
142
  Bound: "bound",
373
143
  LiveFallback: "live_fallback"
374
- }, Ba = {
144
+ }, xa = {
375
145
  Indexing: "indexing",
376
146
  Ready: "ready",
377
147
  Cooldown: "cooldown",
378
148
  TooManyEntities: "too-many-entities"
379
- }, Fa = {
149
+ }, Ra = {
380
150
  Persist: "persist",
381
151
  Preaggregate: "preaggregate"
382
- }, Qa = {
152
+ }, Na = {
383
153
  Error: "error",
384
154
  Warn: "warn"
385
- }, $a = {
155
+ }, Ta = {
386
156
  Persist: "persist",
387
157
  Preaggregate: "preaggregate"
388
- }, qa = {
158
+ }, Ua = {
389
159
  Disable: "disable",
390
160
  NoVerify: "no-verify",
391
161
  VerifyCa: "verify-ca",
392
162
  VerifyFull: "verify-full"
393
- }, Da = {
163
+ }, wa = {
394
164
  Interactive: "interactive",
395
165
  Materialize: "materialize",
396
166
  Index: "index",
397
167
  Ops: "ops"
398
- }, za = {
168
+ }, Ea = {
399
169
  Query: "query",
400
170
  ServerDefault: "server_default"
401
- }, La = {
171
+ }, Ma = {
402
172
  Storage: "storage",
403
173
  LiveFallback: "live_fallback"
404
- }, ja = {
174
+ }, fa = {
175
+ Malloynb: "malloynb",
176
+ Malloy: "malloy"
177
+ }, Ba = {
405
178
  Snapshot: "SNAPSHOT",
406
179
  Copy: "COPY"
407
- }, Ha = {
180
+ }, Fa = {
408
181
  Storage: "storage",
409
182
  Colocated: "colocated",
410
183
  Preaggregate: "preaggregate"
411
- }, _a = {
184
+ }, Qa = {
412
185
  FreeParameter: "free_parameter",
413
186
  Given: "given",
414
187
  GivenInPersistedQuery: "given_in_persisted_query",
@@ -423,23 +196,23 @@ const V = function(c, ...n) {
423
196
  Authorize: "authorize",
424
197
  NotDuckdbPortable: "not_duckdb_portable",
425
198
  PublicSurfaceUnknown: "public_surface_unknown"
426
- }, Wa = {
199
+ }, $a = {
427
200
  Publish: "publish",
428
201
  OnDemand: "on_demand",
429
202
  Scheduler: "scheduler"
430
- }, Ga = {
203
+ }, qa = {
431
204
  Config: "config",
432
205
  CredentialChain: "credential_chain"
433
- }, Ya = {
206
+ }, Da = {
434
207
  Initializing: "initializing",
435
208
  Serving: "serving",
436
209
  Draining: "draining",
437
210
  Throttled: "throttled"
438
- }, Ja = {
211
+ }, za = {
439
212
  Light: "light",
440
213
  Dark: "dark",
441
214
  Auto: "auto"
442
- }, Oe = function(c) {
215
+ }, ge = function(l) {
443
216
  return {
444
217
  /**
445
218
  * Creates a new database connection in the specified environment.
@@ -454,13 +227,13 @@ const V = function(c, ...n) {
454
227
  m("createConnection", "environmentName", n), m("createConnection", "connectionName", e), m("createConnection", "connection", r);
455
228
  const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
456
229
  let s;
457
- c && (s = c.baseOptions);
458
- const l = { method: "POST", ...s, ...a }, i = {}, d = {};
230
+ l && (s = l.baseOptions);
231
+ const c = { method: "POST", ...s, ...a }, i = {}, d = {};
459
232
  i["Content-Type"] = "application/json", V(o, d);
460
233
  let p = s && s.headers ? s.headers : {};
461
- return l.headers = { ...i, ...p, ...a.headers }, l.data = S(r, l, c), {
234
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
462
235
  url: v(o),
463
- options: l
236
+ options: c
464
237
  };
465
238
  },
466
239
  /**
@@ -475,11 +248,11 @@ const V = function(c, ...n) {
475
248
  m("deleteConnection", "environmentName", n), m("deleteConnection", "connectionName", e);
476
249
  const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), t = new URL(a, b);
477
250
  let o;
478
- c && (o = c.baseOptions);
479
- const s = { method: "DELETE", ...o, ...r }, l = {};
251
+ l && (o = l.baseOptions);
252
+ const s = { method: "DELETE", ...o, ...r }, c = {};
480
253
  V(t, {});
481
254
  let d = o && o.headers ? o.headers : {};
482
- return s.headers = { ...l, ...d, ...r.headers }, {
255
+ return s.headers = { ...c, ...d, ...r.headers }, {
483
256
  url: v(t),
484
257
  options: s
485
258
  };
@@ -496,11 +269,11 @@ const V = function(c, ...n) {
496
269
  m("getConnection", "environmentName", n), m("getConnection", "connectionName", e);
497
270
  const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), t = new URL(a, b);
498
271
  let o;
499
- c && (o = c.baseOptions);
500
- const s = { method: "GET", ...o, ...r }, l = {};
272
+ l && (o = l.baseOptions);
273
+ const s = { method: "GET", ...o, ...r }, c = {};
501
274
  V(t, {});
502
275
  let d = o && o.headers ? o.headers : {};
503
- return s.headers = { ...l, ...d, ...r.headers }, {
276
+ return s.headers = { ...c, ...d, ...r.headers }, {
504
277
  url: v(t),
505
278
  options: s
506
279
  };
@@ -518,12 +291,12 @@ const V = function(c, ...n) {
518
291
  getTable: async (n, e, r, a, t = {}) => {
519
292
  m("getTable", "environmentName", n), m("getTable", "connectionName", e), m("getTable", "schemaName", r), m("getTable", "tablePath", a);
520
293
  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);
521
- let l;
522
- c && (l = c.baseOptions);
523
- const i = { method: "GET", ...l, ...t }, d = {};
294
+ let c;
295
+ l && (c = l.baseOptions);
296
+ const i = { method: "GET", ...c, ...t }, d = {};
524
297
  V(s, {});
525
- let u = l && l.headers ? l.headers : {};
526
- return i.headers = { ...d, ...u, ...t.headers }, {
298
+ let h = c && c.headers ? c.headers : {};
299
+ return i.headers = { ...d, ...h, ...t.headers }, {
527
300
  url: v(s),
528
301
  options: i
529
302
  };
@@ -541,14 +314,14 @@ const V = function(c, ...n) {
541
314
  */
542
315
  getTableInPackage: async (n, e, r, a, t, o = {}) => {
543
316
  m("getTableInPackage", "environmentName", n), m("getTableInPackage", "packageName", e), m("getTableInPackage", "connectionName", r), m("getTableInPackage", "schemaName", a), m("getTableInPackage", "tablePath", t);
544
- 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))), l = new URL(s, b);
317
+ 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);
545
318
  let i;
546
- c && (i = c.baseOptions);
319
+ l && (i = l.baseOptions);
547
320
  const d = { method: "GET", ...i, ...o }, p = {};
548
- V(l, {});
549
- let k = i && i.headers ? i.headers : {};
550
- return d.headers = { ...p, ...k, ...o.headers }, {
551
- url: v(l),
321
+ V(c, {});
322
+ let S = i && i.headers ? i.headers : {};
323
+ return d.headers = { ...p, ...S, ...o.headers }, {
324
+ url: v(c),
552
325
  options: d
553
326
  };
554
327
  },
@@ -563,7 +336,7 @@ const V = function(c, ...n) {
563
336
  m("listConnections", "environmentName", n);
564
337
  const r = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(r, b);
565
338
  let t;
566
- c && (t = c.baseOptions);
339
+ l && (t = l.baseOptions);
567
340
  const o = { method: "GET", ...t, ...e }, s = {};
568
341
  V(a, {});
569
342
  let i = t && t.headers ? t.headers : {};
@@ -584,11 +357,11 @@ const V = function(c, ...n) {
584
357
  m("listSchemas", "environmentName", n), m("listSchemas", "connectionName", e);
585
358
  const a = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), t = new URL(a, b);
586
359
  let o;
587
- c && (o = c.baseOptions);
588
- const s = { method: "GET", ...o, ...r }, l = {};
360
+ l && (o = l.baseOptions);
361
+ const s = { method: "GET", ...o, ...r }, c = {};
589
362
  V(t, {});
590
363
  let d = o && o.headers ? o.headers : {};
591
- return s.headers = { ...l, ...d, ...r.headers }, {
364
+ return s.headers = { ...c, ...d, ...r.headers }, {
592
365
  url: v(t),
593
366
  options: s
594
367
  };
@@ -606,13 +379,13 @@ const V = function(c, ...n) {
606
379
  m("listSchemasInPackage", "environmentName", n), m("listSchemasInPackage", "packageName", e), m("listSchemasInPackage", "connectionName", r);
607
380
  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);
608
381
  let s;
609
- c && (s = c.baseOptions);
610
- const l = { method: "GET", ...s, ...a }, i = {};
382
+ l && (s = l.baseOptions);
383
+ const c = { method: "GET", ...s, ...a }, i = {};
611
384
  V(o, {});
612
385
  let p = s && s.headers ? s.headers : {};
613
- return l.headers = { ...i, ...p, ...a.headers }, {
386
+ return c.headers = { ...i, ...p, ...a.headers }, {
614
387
  url: v(o),
615
- options: l
388
+ options: c
616
389
  };
617
390
  },
618
391
  /**
@@ -628,12 +401,12 @@ const V = function(c, ...n) {
628
401
  listTables: async (n, e, r, a, t = {}) => {
629
402
  m("listTables", "environmentName", n), m("listTables", "connectionName", e), m("listTables", "schemaName", r);
630
403
  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);
631
- let l;
632
- c && (l = c.baseOptions);
633
- const i = { method: "GET", ...l, ...t }, d = {}, p = {};
404
+ let c;
405
+ l && (c = l.baseOptions);
406
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
634
407
  a && (p.tableNames = a), V(s, p);
635
- let u = l && l.headers ? l.headers : {};
636
- return i.headers = { ...d, ...u, ...t.headers }, {
408
+ let h = c && c.headers ? c.headers : {};
409
+ return i.headers = { ...d, ...h, ...t.headers }, {
637
410
  url: v(s),
638
411
  options: i
639
412
  };
@@ -651,14 +424,14 @@ const V = function(c, ...n) {
651
424
  */
652
425
  listTablesInPackage: async (n, e, r, a, t, o = {}) => {
653
426
  m("listTablesInPackage", "environmentName", n), m("listTablesInPackage", "packageName", e), m("listTablesInPackage", "connectionName", r), m("listTablesInPackage", "schemaName", a);
654
- 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))), l = new URL(s, b);
427
+ 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);
655
428
  let i;
656
- c && (i = c.baseOptions);
657
- const d = { method: "GET", ...i, ...o }, p = {}, u = {};
658
- t && (u.tableNames = t), V(l, u);
659
- let k = i && i.headers ? i.headers : {};
660
- return d.headers = { ...p, ...k, ...o.headers }, {
661
- url: v(l),
429
+ l && (i = l.baseOptions);
430
+ const d = { method: "GET", ...i, ...o }, p = {}, h = {};
431
+ t && (h.tableNames = t), V(c, h);
432
+ let S = i && i.headers ? i.headers : {};
433
+ return d.headers = { ...p, ...S, ...o.headers }, {
434
+ url: v(c),
662
435
  options: d
663
436
  };
664
437
  },
@@ -675,13 +448,13 @@ const V = function(c, ...n) {
675
448
  m("postQuerydata", "environmentName", n), m("postQuerydata", "connectionName", e), m("postQuerydata", "postQuerydataRequest", r);
676
449
  const t = "/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
677
450
  let s;
678
- c && (s = c.baseOptions);
679
- const l = { method: "POST", ...s, ...a }, i = {}, d = {};
451
+ l && (s = l.baseOptions);
452
+ const c = { method: "POST", ...s, ...a }, i = {}, d = {};
680
453
  i["Content-Type"] = "application/json", V(o, d);
681
454
  let p = s && s.headers ? s.headers : {};
682
- return l.headers = { ...i, ...p, ...a.headers }, l.data = S(r, l, c), {
455
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
683
456
  url: v(o),
684
- options: l
457
+ options: c
685
458
  };
686
459
  },
687
460
  /**
@@ -697,12 +470,12 @@ const V = function(c, ...n) {
697
470
  postQuerydataInPackage: async (n, e, r, a, t = {}) => {
698
471
  m("postQuerydataInPackage", "environmentName", n), m("postQuerydataInPackage", "packageName", e), m("postQuerydataInPackage", "connectionName", r), m("postQuerydataInPackage", "postQuerydataRequest", a);
699
472
  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);
700
- let l;
701
- c && (l = c.baseOptions);
702
- const i = { method: "POST", ...l, ...t }, d = {}, p = {};
473
+ let c;
474
+ l && (c = l.baseOptions);
475
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
703
476
  d["Content-Type"] = "application/json", V(s, p);
704
- let u = l && l.headers ? l.headers : {};
705
- return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, c), {
477
+ let h = c && c.headers ? c.headers : {};
478
+ return i.headers = { ...d, ...h, ...t.headers }, i.data = y(a, i, l), {
706
479
  url: v(s),
707
480
  options: i
708
481
  };
@@ -720,13 +493,13 @@ const V = function(c, ...n) {
720
493
  m("postSqlsource", "environmentName", n), m("postSqlsource", "connectionName", e), m("postSqlsource", "postSqlsourceRequest", r);
721
494
  const t = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
722
495
  let s;
723
- c && (s = c.baseOptions);
724
- const l = { method: "POST", ...s, ...a }, i = {}, d = {};
496
+ l && (s = l.baseOptions);
497
+ const c = { method: "POST", ...s, ...a }, i = {}, d = {};
725
498
  i["Content-Type"] = "application/json", V(o, d);
726
499
  let p = s && s.headers ? s.headers : {};
727
- return l.headers = { ...i, ...p, ...a.headers }, l.data = S(r, l, c), {
500
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
728
501
  url: v(o),
729
- options: l
502
+ options: c
730
503
  };
731
504
  },
732
505
  /**
@@ -742,12 +515,12 @@ const V = function(c, ...n) {
742
515
  postSqlsourceInPackage: async (n, e, r, a, t = {}) => {
743
516
  m("postSqlsourceInPackage", "environmentName", n), m("postSqlsourceInPackage", "packageName", e), m("postSqlsourceInPackage", "connectionName", r), m("postSqlsourceInPackage", "postSqlsourceRequest", a);
744
517
  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);
745
- let l;
746
- c && (l = c.baseOptions);
747
- const i = { method: "POST", ...l, ...t }, d = {}, p = {};
518
+ let c;
519
+ l && (c = l.baseOptions);
520
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
748
521
  d["Content-Type"] = "application/json", V(s, p);
749
- let u = l && l.headers ? l.headers : {};
750
- return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, c), {
522
+ let h = c && c.headers ? c.headers : {};
523
+ return i.headers = { ...d, ...h, ...t.headers }, i.data = y(a, i, l), {
751
524
  url: v(s),
752
525
  options: i
753
526
  };
@@ -765,13 +538,13 @@ const V = function(c, ...n) {
765
538
  m("postTemporarytable", "environmentName", n), m("postTemporarytable", "connectionName", e), m("postTemporarytable", "postSqlsourceRequest", r);
766
539
  const t = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
767
540
  let s;
768
- c && (s = c.baseOptions);
769
- const l = { method: "POST", ...s, ...a }, i = {}, d = {};
541
+ l && (s = l.baseOptions);
542
+ const c = { method: "POST", ...s, ...a }, i = {}, d = {};
770
543
  i["Content-Type"] = "application/json", V(o, d);
771
544
  let p = s && s.headers ? s.headers : {};
772
- return l.headers = { ...i, ...p, ...a.headers }, l.data = S(r, l, c), {
545
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
773
546
  url: v(o),
774
- options: l
547
+ options: c
775
548
  };
776
549
  },
777
550
  /**
@@ -787,12 +560,12 @@ const V = function(c, ...n) {
787
560
  postTemporarytableInPackage: async (n, e, r, a, t = {}) => {
788
561
  m("postTemporarytableInPackage", "environmentName", n), m("postTemporarytableInPackage", "packageName", e), m("postTemporarytableInPackage", "connectionName", r), m("postTemporarytableInPackage", "postSqlsourceRequest", a);
789
562
  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);
790
- let l;
791
- c && (l = c.baseOptions);
792
- const i = { method: "POST", ...l, ...t }, d = {}, p = {};
563
+ let c;
564
+ l && (c = l.baseOptions);
565
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
793
566
  d["Content-Type"] = "application/json", V(s, p);
794
- let u = l && l.headers ? l.headers : {};
795
- return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, c), {
567
+ let h = c && c.headers ? c.headers : {};
568
+ return i.headers = { ...d, ...h, ...t.headers }, i.data = y(a, i, l), {
796
569
  url: v(s),
797
570
  options: i
798
571
  };
@@ -810,18 +583,18 @@ const V = function(c, ...n) {
810
583
  m("updateConnection", "environmentName", n), m("updateConnection", "connectionName", e), m("updateConnection", "updateConnectionRequest", r);
811
584
  const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, b);
812
585
  let s;
813
- c && (s = c.baseOptions);
814
- const l = { method: "PATCH", ...s, ...a }, i = {}, d = {};
586
+ l && (s = l.baseOptions);
587
+ const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
815
588
  i["Content-Type"] = "application/json", V(o, d);
816
589
  let p = s && s.headers ? s.headers : {};
817
- return l.headers = { ...i, ...p, ...a.headers }, l.data = S(r, l, c), {
590
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
818
591
  url: v(o),
819
- options: l
592
+ options: c
820
593
  };
821
594
  }
822
595
  };
823
- }, y = function(c) {
824
- const n = Oe(c);
596
+ }, k = function(l) {
597
+ const n = ge(l);
825
598
  return {
826
599
  /**
827
600
  * Creates a new database connection in the specified environment.
@@ -833,8 +606,8 @@ const V = function(c, ...n) {
833
606
  * @throws {RequiredError}
834
607
  */
835
608
  async createConnection(e, r, a, t) {
836
- const o = await n.createConnection(e, r, a, t), s = c?.serverIndex ?? 0, l = P["ConnectionsApi.createConnection"]?.[s]?.url;
837
- return (i, d) => O(o, h, g, c)(i, l || d);
609
+ const o = await n.createConnection(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.createConnection"]?.[s]?.url;
610
+ return (i, d) => O(o, u, g, l)(i, c || d);
838
611
  },
839
612
  /**
840
613
  * Permanently deletes a database connection from the environment.
@@ -845,8 +618,8 @@ const V = function(c, ...n) {
845
618
  * @throws {RequiredError}
846
619
  */
847
620
  async deleteConnection(e, r, a) {
848
- const t = await n.deleteConnection(e, r, a), o = c?.serverIndex ?? 0, s = P["ConnectionsApi.deleteConnection"]?.[o]?.url;
849
- return (l, i) => O(t, h, g, c)(l, s || i);
621
+ const t = await n.deleteConnection(e, r, a), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.deleteConnection"]?.[o]?.url;
622
+ return (c, i) => O(t, u, g, l)(c, s || i);
850
623
  },
851
624
  /**
852
625
  * 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.
@@ -857,8 +630,8 @@ const V = function(c, ...n) {
857
630
  * @throws {RequiredError}
858
631
  */
859
632
  async getConnection(e, r, a) {
860
- const t = await n.getConnection(e, r, a), o = c?.serverIndex ?? 0, s = P["ConnectionsApi.getConnection"]?.[o]?.url;
861
- return (l, i) => O(t, h, g, c)(l, s || i);
633
+ const t = await n.getConnection(e, r, a), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.getConnection"]?.[o]?.url;
634
+ return (c, i) => O(t, u, g, l)(c, s || i);
862
635
  },
863
636
  /**
864
637
  * 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.
@@ -871,8 +644,8 @@ const V = function(c, ...n) {
871
644
  * @throws {RequiredError}
872
645
  */
873
646
  async getTable(e, r, a, t, o) {
874
- const s = await n.getTable(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[l]?.url;
875
- return (d, p) => O(s, h, g, c)(d, i || p);
647
+ const s = await n.getTable(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[c]?.url;
648
+ return (d, p) => O(s, u, g, l)(d, i || p);
876
649
  },
877
650
  /**
878
651
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -886,8 +659,8 @@ const V = function(c, ...n) {
886
659
  * @throws {RequiredError}
887
660
  */
888
661
  async getTableInPackage(e, r, a, t, o, s) {
889
- const l = await n.getTableInPackage(e, r, a, t, o, s), i = c?.serverIndex ?? 0, d = P["ConnectionsApi.getTableInPackage"]?.[i]?.url;
890
- return (p, u) => O(l, h, g, c)(p, d || u);
662
+ const c = await n.getTableInPackage(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ConnectionsApi.getTableInPackage"]?.[i]?.url;
663
+ return (p, h) => O(c, u, g, l)(p, d || h);
891
664
  },
892
665
  /**
893
666
  * 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.
@@ -897,8 +670,8 @@ const V = function(c, ...n) {
897
670
  * @throws {RequiredError}
898
671
  */
899
672
  async listConnections(e, r) {
900
- const a = await n.listConnections(e, r), t = c?.serverIndex ?? 0, o = P["ConnectionsApi.listConnections"]?.[t]?.url;
901
- return (s, l) => O(a, h, g, c)(s, o || l);
673
+ const a = await n.listConnections(e, r), t = l?.serverIndex ?? 0, o = P["ConnectionsApi.listConnections"]?.[t]?.url;
674
+ return (s, c) => O(a, u, g, l)(s, o || c);
902
675
  },
903
676
  /**
904
677
  * 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.
@@ -909,8 +682,8 @@ const V = function(c, ...n) {
909
682
  * @throws {RequiredError}
910
683
  */
911
684
  async listSchemas(e, r, a) {
912
- const t = await n.listSchemas(e, r, a), o = c?.serverIndex ?? 0, s = P["ConnectionsApi.listSchemas"]?.[o]?.url;
913
- return (l, i) => O(t, h, g, c)(l, s || i);
685
+ const t = await n.listSchemas(e, r, a), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.listSchemas"]?.[o]?.url;
686
+ return (c, i) => O(t, u, g, l)(c, s || i);
914
687
  },
915
688
  /**
916
689
  * 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).
@@ -922,8 +695,8 @@ const V = function(c, ...n) {
922
695
  * @throws {RequiredError}
923
696
  */
924
697
  async listSchemasInPackage(e, r, a, t) {
925
- const o = await n.listSchemasInPackage(e, r, a, t), s = c?.serverIndex ?? 0, l = P["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
926
- return (i, d) => O(o, h, g, c)(i, l || d);
698
+ const o = await n.listSchemasInPackage(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
699
+ return (i, d) => O(o, u, g, l)(i, c || d);
927
700
  },
928
701
  /**
929
702
  * 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.
@@ -936,8 +709,8 @@ const V = function(c, ...n) {
936
709
  * @throws {RequiredError}
937
710
  */
938
711
  async listTables(e, r, a, t, o) {
939
- const s = await n.listTables(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.listTables"]?.[l]?.url;
940
- return (d, p) => O(s, h, g, c)(d, i || p);
712
+ const s = await n.listTables(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.listTables"]?.[c]?.url;
713
+ return (d, p) => O(s, u, g, l)(d, i || p);
941
714
  },
942
715
  /**
943
716
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -951,8 +724,8 @@ const V = function(c, ...n) {
951
724
  * @throws {RequiredError}
952
725
  */
953
726
  async listTablesInPackage(e, r, a, t, o, s) {
954
- const l = await n.listTablesInPackage(e, r, a, t, o, s), i = c?.serverIndex ?? 0, d = P["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
955
- return (p, u) => O(l, h, g, c)(p, d || u);
727
+ const c = await n.listTablesInPackage(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
728
+ return (p, h) => O(c, u, g, l)(p, d || h);
956
729
  },
957
730
  /**
958
731
  * 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.
@@ -964,8 +737,8 @@ const V = function(c, ...n) {
964
737
  * @throws {RequiredError}
965
738
  */
966
739
  async postQuerydata(e, r, a, t) {
967
- const o = await n.postQuerydata(e, r, a, t), s = c?.serverIndex ?? 0, l = P["ConnectionsApi.postQuerydata"]?.[s]?.url;
968
- return (i, d) => O(o, h, g, c)(i, l || d);
740
+ const o = await n.postQuerydata(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postQuerydata"]?.[s]?.url;
741
+ return (i, d) => O(o, u, g, l)(i, c || d);
969
742
  },
970
743
  /**
971
744
  * 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.
@@ -978,8 +751,8 @@ const V = function(c, ...n) {
978
751
  * @throws {RequiredError}
979
752
  */
980
753
  async postQuerydataInPackage(e, r, a, t, o) {
981
- const s = await n.postQuerydataInPackage(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydataInPackage"]?.[l]?.url;
982
- return (d, p) => O(s, h, g, c)(d, i || p);
754
+ const s = await n.postQuerydataInPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydataInPackage"]?.[c]?.url;
755
+ return (d, p) => O(s, u, g, l)(d, i || p);
983
756
  },
984
757
  /**
985
758
  * 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.
@@ -991,8 +764,8 @@ const V = function(c, ...n) {
991
764
  * @throws {RequiredError}
992
765
  */
993
766
  async postSqlsource(e, r, a, t) {
994
- const o = await n.postSqlsource(e, r, a, t), s = c?.serverIndex ?? 0, l = P["ConnectionsApi.postSqlsource"]?.[s]?.url;
995
- return (i, d) => O(o, h, g, c)(i, l || d);
767
+ const o = await n.postSqlsource(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postSqlsource"]?.[s]?.url;
768
+ return (i, d) => O(o, u, g, l)(i, c || d);
996
769
  },
997
770
  /**
998
771
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -1005,8 +778,8 @@ const V = function(c, ...n) {
1005
778
  * @throws {RequiredError}
1006
779
  */
1007
780
  async postSqlsourceInPackage(e, r, a, t, o) {
1008
- const s = await n.postSqlsourceInPackage(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.postSqlsourceInPackage"]?.[l]?.url;
1009
- return (d, p) => O(s, h, g, c)(d, i || p);
781
+ const s = await n.postSqlsourceInPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;
782
+ return (d, p) => O(s, u, g, l)(d, i || p);
1010
783
  },
1011
784
  /**
1012
785
  * 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.
@@ -1018,8 +791,8 @@ const V = function(c, ...n) {
1018
791
  * @throws {RequiredError}
1019
792
  */
1020
793
  async postTemporarytable(e, r, a, t) {
1021
- const o = await n.postTemporarytable(e, r, a, t), s = c?.serverIndex ?? 0, l = P["ConnectionsApi.postTemporarytable"]?.[s]?.url;
1022
- return (i, d) => O(o, h, g, c)(i, l || d);
794
+ const o = await n.postTemporarytable(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postTemporarytable"]?.[s]?.url;
795
+ return (i, d) => O(o, u, g, l)(i, c || d);
1023
796
  },
1024
797
  /**
1025
798
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1032,8 +805,8 @@ const V = function(c, ...n) {
1032
805
  * @throws {RequiredError}
1033
806
  */
1034
807
  async postTemporarytableInPackage(e, r, a, t, o) {
1035
- const s = await n.postTemporarytableInPackage(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.postTemporarytableInPackage"]?.[l]?.url;
1036
- return (d, p) => O(s, h, g, c)(d, i || p);
808
+ const s = await n.postTemporarytableInPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;
809
+ return (d, p) => O(s, u, g, l)(d, i || p);
1037
810
  },
1038
811
  /**
1039
812
  * Updates the configuration of an existing database connection.
@@ -1045,12 +818,12 @@ const V = function(c, ...n) {
1045
818
  * @throws {RequiredError}
1046
819
  */
1047
820
  async updateConnection(e, r, a, t) {
1048
- const o = await n.updateConnection(e, r, a, t), s = c?.serverIndex ?? 0, l = P["ConnectionsApi.updateConnection"]?.[s]?.url;
1049
- return (i, d) => O(o, h, g, c)(i, l || d);
821
+ const o = await n.updateConnection(e, r, a, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.updateConnection"]?.[s]?.url;
822
+ return (i, d) => O(o, u, g, l)(i, c || d);
1050
823
  }
1051
824
  };
1052
- }, Ka = function(c, n, e) {
1053
- const r = y(c);
825
+ }, La = function(l, n, e) {
826
+ const r = k(l);
1054
827
  return {
1055
828
  /**
1056
829
  * Creates a new database connection in the specified environment.
@@ -1062,7 +835,7 @@ const V = function(c, ...n) {
1062
835
  * @throws {RequiredError}
1063
836
  */
1064
837
  createConnection(a, t, o, s) {
1065
- return r.createConnection(a, t, o, s).then((l) => l(e, n));
838
+ return r.createConnection(a, t, o, s).then((c) => c(e, n));
1066
839
  },
1067
840
  /**
1068
841
  * Permanently deletes a database connection from the environment.
@@ -1096,8 +869,8 @@ const V = function(c, ...n) {
1096
869
  * @param {*} [options] Override http request option.
1097
870
  * @throws {RequiredError}
1098
871
  */
1099
- getTable(a, t, o, s, l) {
1100
- return r.getTable(a, t, o, s, l).then((i) => i(e, n));
872
+ getTable(a, t, o, s, c) {
873
+ return r.getTable(a, t, o, s, c).then((i) => i(e, n));
1101
874
  },
1102
875
  /**
1103
876
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -1110,8 +883,8 @@ const V = function(c, ...n) {
1110
883
  * @param {*} [options] Override http request option.
1111
884
  * @throws {RequiredError}
1112
885
  */
1113
- getTableInPackage(a, t, o, s, l, i) {
1114
- return r.getTableInPackage(a, t, o, s, l, i).then((d) => d(e, n));
886
+ getTableInPackage(a, t, o, s, c, i) {
887
+ return r.getTableInPackage(a, t, o, s, c, i).then((d) => d(e, n));
1115
888
  },
1116
889
  /**
1117
890
  * 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.
@@ -1144,7 +917,7 @@ const V = function(c, ...n) {
1144
917
  * @throws {RequiredError}
1145
918
  */
1146
919
  listSchemasInPackage(a, t, o, s) {
1147
- return r.listSchemasInPackage(a, t, o, s).then((l) => l(e, n));
920
+ return r.listSchemasInPackage(a, t, o, s).then((c) => c(e, n));
1148
921
  },
1149
922
  /**
1150
923
  * 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.
@@ -1156,8 +929,8 @@ const V = function(c, ...n) {
1156
929
  * @param {*} [options] Override http request option.
1157
930
  * @throws {RequiredError}
1158
931
  */
1159
- listTables(a, t, o, s, l) {
1160
- return r.listTables(a, t, o, s, l).then((i) => i(e, n));
932
+ listTables(a, t, o, s, c) {
933
+ return r.listTables(a, t, o, s, c).then((i) => i(e, n));
1161
934
  },
1162
935
  /**
1163
936
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -1170,8 +943,8 @@ const V = function(c, ...n) {
1170
943
  * @param {*} [options] Override http request option.
1171
944
  * @throws {RequiredError}
1172
945
  */
1173
- listTablesInPackage(a, t, o, s, l, i) {
1174
- return r.listTablesInPackage(a, t, o, s, l, i).then((d) => d(e, n));
946
+ listTablesInPackage(a, t, o, s, c, i) {
947
+ return r.listTablesInPackage(a, t, o, s, c, i).then((d) => d(e, n));
1175
948
  },
1176
949
  /**
1177
950
  * 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.
@@ -1183,7 +956,7 @@ const V = function(c, ...n) {
1183
956
  * @throws {RequiredError}
1184
957
  */
1185
958
  postQuerydata(a, t, o, s) {
1186
- return r.postQuerydata(a, t, o, s).then((l) => l(e, n));
959
+ return r.postQuerydata(a, t, o, s).then((c) => c(e, n));
1187
960
  },
1188
961
  /**
1189
962
  * 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.
@@ -1195,8 +968,8 @@ const V = function(c, ...n) {
1195
968
  * @param {*} [options] Override http request option.
1196
969
  * @throws {RequiredError}
1197
970
  */
1198
- postQuerydataInPackage(a, t, o, s, l) {
1199
- return r.postQuerydataInPackage(a, t, o, s, l).then((i) => i(e, n));
971
+ postQuerydataInPackage(a, t, o, s, c) {
972
+ return r.postQuerydataInPackage(a, t, o, s, c).then((i) => i(e, n));
1200
973
  },
1201
974
  /**
1202
975
  * 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.
@@ -1208,7 +981,7 @@ const V = function(c, ...n) {
1208
981
  * @throws {RequiredError}
1209
982
  */
1210
983
  postSqlsource(a, t, o, s) {
1211
- return r.postSqlsource(a, t, o, s).then((l) => l(e, n));
984
+ return r.postSqlsource(a, t, o, s).then((c) => c(e, n));
1212
985
  },
1213
986
  /**
1214
987
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -1220,8 +993,8 @@ const V = function(c, ...n) {
1220
993
  * @param {*} [options] Override http request option.
1221
994
  * @throws {RequiredError}
1222
995
  */
1223
- postSqlsourceInPackage(a, t, o, s, l) {
1224
- return r.postSqlsourceInPackage(a, t, o, s, l).then((i) => i(e, n));
996
+ postSqlsourceInPackage(a, t, o, s, c) {
997
+ return r.postSqlsourceInPackage(a, t, o, s, c).then((i) => i(e, n));
1225
998
  },
1226
999
  /**
1227
1000
  * 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.
@@ -1233,7 +1006,7 @@ const V = function(c, ...n) {
1233
1006
  * @throws {RequiredError}
1234
1007
  */
1235
1008
  postTemporarytable(a, t, o, s) {
1236
- return r.postTemporarytable(a, t, o, s).then((l) => l(e, n));
1009
+ return r.postTemporarytable(a, t, o, s).then((c) => c(e, n));
1237
1010
  },
1238
1011
  /**
1239
1012
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1245,8 +1018,8 @@ const V = function(c, ...n) {
1245
1018
  * @param {*} [options] Override http request option.
1246
1019
  * @throws {RequiredError}
1247
1020
  */
1248
- postTemporarytableInPackage(a, t, o, s, l) {
1249
- return r.postTemporarytableInPackage(a, t, o, s, l).then((i) => i(e, n));
1021
+ postTemporarytableInPackage(a, t, o, s, c) {
1022
+ return r.postTemporarytableInPackage(a, t, o, s, c).then((i) => i(e, n));
1250
1023
  },
1251
1024
  /**
1252
1025
  * Updates the configuration of an existing database connection.
@@ -1258,11 +1031,11 @@ const V = function(c, ...n) {
1258
1031
  * @throws {RequiredError}
1259
1032
  */
1260
1033
  updateConnection(a, t, o, s) {
1261
- return r.updateConnection(a, t, o, s).then((l) => l(e, n));
1034
+ return r.updateConnection(a, t, o, s).then((c) => c(e, n));
1262
1035
  }
1263
1036
  };
1264
1037
  };
1265
- class Se extends I {
1038
+ class Pe extends I {
1266
1039
  /**
1267
1040
  * Creates a new database connection in the specified environment.
1268
1041
  * @summary Create a new database connection
@@ -1274,7 +1047,7 @@ class Se extends I {
1274
1047
  * @memberof ConnectionsApi
1275
1048
  */
1276
1049
  createConnection(n, e, r, a) {
1277
- return y(this.configuration).createConnection(n, e, r, a).then((t) => t(this.axios, this.basePath));
1050
+ return k(this.configuration).createConnection(n, e, r, a).then((t) => t(this.axios, this.basePath));
1278
1051
  }
1279
1052
  /**
1280
1053
  * Permanently deletes a database connection from the environment.
@@ -1286,7 +1059,7 @@ class Se extends I {
1286
1059
  * @memberof ConnectionsApi
1287
1060
  */
1288
1061
  deleteConnection(n, e, r) {
1289
- return y(this.configuration).deleteConnection(n, e, r).then((a) => a(this.axios, this.basePath));
1062
+ return k(this.configuration).deleteConnection(n, e, r).then((a) => a(this.axios, this.basePath));
1290
1063
  }
1291
1064
  /**
1292
1065
  * 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.
@@ -1298,7 +1071,7 @@ class Se extends I {
1298
1071
  * @memberof ConnectionsApi
1299
1072
  */
1300
1073
  getConnection(n, e, r) {
1301
- return y(this.configuration).getConnection(n, e, r).then((a) => a(this.axios, this.basePath));
1074
+ return k(this.configuration).getConnection(n, e, r).then((a) => a(this.axios, this.basePath));
1302
1075
  }
1303
1076
  /**
1304
1077
  * 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.
@@ -1312,7 +1085,7 @@ class Se extends I {
1312
1085
  * @memberof ConnectionsApi
1313
1086
  */
1314
1087
  getTable(n, e, r, a, t) {
1315
- return y(this.configuration).getTable(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1088
+ return k(this.configuration).getTable(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1316
1089
  }
1317
1090
  /**
1318
1091
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -1327,7 +1100,7 @@ class Se extends I {
1327
1100
  * @memberof ConnectionsApi
1328
1101
  */
1329
1102
  getTableInPackage(n, e, r, a, t, o) {
1330
- return y(this.configuration).getTableInPackage(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
1103
+ return k(this.configuration).getTableInPackage(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
1331
1104
  }
1332
1105
  /**
1333
1106
  * 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.
@@ -1338,7 +1111,7 @@ class Se extends I {
1338
1111
  * @memberof ConnectionsApi
1339
1112
  */
1340
1113
  listConnections(n, e) {
1341
- return y(this.configuration).listConnections(n, e).then((r) => r(this.axios, this.basePath));
1114
+ return k(this.configuration).listConnections(n, e).then((r) => r(this.axios, this.basePath));
1342
1115
  }
1343
1116
  /**
1344
1117
  * 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.
@@ -1350,7 +1123,7 @@ class Se extends I {
1350
1123
  * @memberof ConnectionsApi
1351
1124
  */
1352
1125
  listSchemas(n, e, r) {
1353
- return y(this.configuration).listSchemas(n, e, r).then((a) => a(this.axios, this.basePath));
1126
+ return k(this.configuration).listSchemas(n, e, r).then((a) => a(this.axios, this.basePath));
1354
1127
  }
1355
1128
  /**
1356
1129
  * 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).
@@ -1363,7 +1136,7 @@ class Se extends I {
1363
1136
  * @memberof ConnectionsApi
1364
1137
  */
1365
1138
  listSchemasInPackage(n, e, r, a) {
1366
- return y(this.configuration).listSchemasInPackage(n, e, r, a).then((t) => t(this.axios, this.basePath));
1139
+ return k(this.configuration).listSchemasInPackage(n, e, r, a).then((t) => t(this.axios, this.basePath));
1367
1140
  }
1368
1141
  /**
1369
1142
  * 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.
@@ -1377,7 +1150,7 @@ class Se extends I {
1377
1150
  * @memberof ConnectionsApi
1378
1151
  */
1379
1152
  listTables(n, e, r, a, t) {
1380
- return y(this.configuration).listTables(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1153
+ return k(this.configuration).listTables(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1381
1154
  }
1382
1155
  /**
1383
1156
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -1392,7 +1165,7 @@ class Se extends I {
1392
1165
  * @memberof ConnectionsApi
1393
1166
  */
1394
1167
  listTablesInPackage(n, e, r, a, t, o) {
1395
- return y(this.configuration).listTablesInPackage(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
1168
+ return k(this.configuration).listTablesInPackage(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
1396
1169
  }
1397
1170
  /**
1398
1171
  * 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.
@@ -1405,7 +1178,7 @@ class Se extends I {
1405
1178
  * @memberof ConnectionsApi
1406
1179
  */
1407
1180
  postQuerydata(n, e, r, a) {
1408
- return y(this.configuration).postQuerydata(n, e, r, a).then((t) => t(this.axios, this.basePath));
1181
+ return k(this.configuration).postQuerydata(n, e, r, a).then((t) => t(this.axios, this.basePath));
1409
1182
  }
1410
1183
  /**
1411
1184
  * 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.
@@ -1419,7 +1192,7 @@ class Se extends I {
1419
1192
  * @memberof ConnectionsApi
1420
1193
  */
1421
1194
  postQuerydataInPackage(n, e, r, a, t) {
1422
- return y(this.configuration).postQuerydataInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1195
+ return k(this.configuration).postQuerydataInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1423
1196
  }
1424
1197
  /**
1425
1198
  * 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.
@@ -1432,7 +1205,7 @@ class Se extends I {
1432
1205
  * @memberof ConnectionsApi
1433
1206
  */
1434
1207
  postSqlsource(n, e, r, a) {
1435
- return y(this.configuration).postSqlsource(n, e, r, a).then((t) => t(this.axios, this.basePath));
1208
+ return k(this.configuration).postSqlsource(n, e, r, a).then((t) => t(this.axios, this.basePath));
1436
1209
  }
1437
1210
  /**
1438
1211
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -1446,7 +1219,7 @@ class Se extends I {
1446
1219
  * @memberof ConnectionsApi
1447
1220
  */
1448
1221
  postSqlsourceInPackage(n, e, r, a, t) {
1449
- return y(this.configuration).postSqlsourceInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1222
+ return k(this.configuration).postSqlsourceInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1450
1223
  }
1451
1224
  /**
1452
1225
  * 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.
@@ -1459,7 +1232,7 @@ class Se extends I {
1459
1232
  * @memberof ConnectionsApi
1460
1233
  */
1461
1234
  postTemporarytable(n, e, r, a) {
1462
- return y(this.configuration).postTemporarytable(n, e, r, a).then((t) => t(this.axios, this.basePath));
1235
+ return k(this.configuration).postTemporarytable(n, e, r, a).then((t) => t(this.axios, this.basePath));
1463
1236
  }
1464
1237
  /**
1465
1238
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1473,7 +1246,7 @@ class Se extends I {
1473
1246
  * @memberof ConnectionsApi
1474
1247
  */
1475
1248
  postTemporarytableInPackage(n, e, r, a, t) {
1476
- return y(this.configuration).postTemporarytableInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1249
+ return k(this.configuration).postTemporarytableInPackage(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1477
1250
  }
1478
1251
  /**
1479
1252
  * Updates the configuration of an existing database connection.
@@ -1486,10 +1259,10 @@ class Se extends I {
1486
1259
  * @memberof ConnectionsApi
1487
1260
  */
1488
1261
  updateConnection(n, e, r, a) {
1489
- return y(this.configuration).updateConnection(n, e, r, a).then((t) => t(this.axios, this.basePath));
1262
+ return k(this.configuration).updateConnection(n, e, r, a).then((t) => t(this.axios, this.basePath));
1490
1263
  }
1491
1264
  }
1492
- const ye = function(c) {
1265
+ const be = function(l) {
1493
1266
  return {
1494
1267
  /**
1495
1268
  * 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.
@@ -1502,18 +1275,18 @@ const ye = function(c) {
1502
1275
  m("testConnectionConfiguration", "connection", n);
1503
1276
  const r = "/connections/test", a = new URL(r, b);
1504
1277
  let t;
1505
- c && (t = c.baseOptions);
1506
- const o = { method: "POST", ...t, ...e }, s = {}, l = {};
1507
- s["Content-Type"] = "application/json", V(a, l);
1278
+ l && (t = l.baseOptions);
1279
+ const o = { method: "POST", ...t, ...e }, s = {}, c = {};
1280
+ s["Content-Type"] = "application/json", V(a, c);
1508
1281
  let i = t && t.headers ? t.headers : {};
1509
- return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, c), {
1282
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
1510
1283
  url: v(a),
1511
1284
  options: o
1512
1285
  };
1513
1286
  }
1514
1287
  };
1515
- }, X = function(c) {
1516
- const n = ye(c);
1288
+ }, K = function(l) {
1289
+ const n = be(l);
1517
1290
  return {
1518
1291
  /**
1519
1292
  * 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.
@@ -1523,12 +1296,12 @@ const ye = function(c) {
1523
1296
  * @throws {RequiredError}
1524
1297
  */
1525
1298
  async testConnectionConfiguration(e, r) {
1526
- const a = await n.testConnectionConfiguration(e, r), t = c?.serverIndex ?? 0, o = P["ConnectionsTestApi.testConnectionConfiguration"]?.[t]?.url;
1527
- return (s, l) => O(a, h, g, c)(s, o || l);
1299
+ const a = await n.testConnectionConfiguration(e, r), t = l?.serverIndex ?? 0, o = P["ConnectionsTestApi.testConnectionConfiguration"]?.[t]?.url;
1300
+ return (s, c) => O(a, u, g, l)(s, o || c);
1528
1301
  }
1529
1302
  };
1530
- }, Xa = function(c, n, e) {
1531
- const r = X(c);
1303
+ }, ja = function(l, n, e) {
1304
+ const r = K(l);
1532
1305
  return {
1533
1306
  /**
1534
1307
  * 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.
@@ -1542,7 +1315,7 @@ const ye = function(c) {
1542
1315
  }
1543
1316
  };
1544
1317
  };
1545
- class Za extends I {
1318
+ class Ha extends I {
1546
1319
  /**
1547
1320
  * 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.
1548
1321
  * @summary Test database connection configuration
@@ -1552,10 +1325,10 @@ class Za extends I {
1552
1325
  * @memberof ConnectionsTestApi
1553
1326
  */
1554
1327
  testConnectionConfiguration(n, e) {
1555
- return X(this.configuration).testConnectionConfiguration(n, e).then((r) => r(this.axios, this.basePath));
1328
+ return K(this.configuration).testConnectionConfiguration(n, e).then((r) => r(this.axios, this.basePath));
1556
1329
  }
1557
1330
  }
1558
- const ke = function(c) {
1331
+ const Ve = function(l) {
1559
1332
  return {
1560
1333
  /**
1561
1334
  * 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.
@@ -1570,12 +1343,12 @@ const ke = function(c) {
1570
1343
  getDashboard: async (n, e, r, a, t = {}) => {
1571
1344
  m("getDashboard", "environmentName", n), m("getDashboard", "packageName", e), m("getDashboard", "dashboardName", r);
1572
1345
  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);
1573
- let l;
1574
- c && (l = c.baseOptions);
1575
- const i = { method: "GET", ...l, ...t }, d = {}, p = {};
1346
+ let c;
1347
+ l && (c = l.baseOptions);
1348
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
1576
1349
  a !== void 0 && (p.versionId = a), V(s, p);
1577
- let u = l && l.headers ? l.headers : {};
1578
- return i.headers = { ...d, ...u, ...t.headers }, {
1350
+ let h = c && c.headers ? c.headers : {};
1351
+ return i.headers = { ...d, ...h, ...t.headers }, {
1579
1352
  url: v(s),
1580
1353
  options: i
1581
1354
  };
@@ -1593,18 +1366,18 @@ const ke = function(c) {
1593
1366
  m("listDashboards", "environmentName", n), m("listDashboards", "packageName", e);
1594
1367
  const t = "/environments/{environmentName}/packages/{packageName}/dashboards".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
1595
1368
  let s;
1596
- c && (s = c.baseOptions);
1597
- const l = { method: "GET", ...s, ...a }, i = {}, d = {};
1369
+ l && (s = l.baseOptions);
1370
+ const c = { method: "GET", ...s, ...a }, i = {}, d = {};
1598
1371
  r !== void 0 && (d.versionId = r), V(o, d);
1599
1372
  let p = s && s.headers ? s.headers : {};
1600
- return l.headers = { ...i, ...p, ...a.headers }, {
1373
+ return c.headers = { ...i, ...p, ...a.headers }, {
1601
1374
  url: v(o),
1602
- options: l
1375
+ options: c
1603
1376
  };
1604
1377
  }
1605
1378
  };
1606
- }, z = function(c) {
1607
- const n = ke(c);
1379
+ }, z = function(l) {
1380
+ const n = Ve(l);
1608
1381
  return {
1609
1382
  /**
1610
1383
  * 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.
@@ -1617,8 +1390,8 @@ const ke = function(c) {
1617
1390
  * @throws {RequiredError}
1618
1391
  */
1619
1392
  async getDashboard(e, r, a, t, o) {
1620
- const s = await n.getDashboard(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["DashboardsApi.getDashboard"]?.[l]?.url;
1621
- return (d, p) => O(s, h, g, c)(d, i || p);
1393
+ const s = await n.getDashboard(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["DashboardsApi.getDashboard"]?.[c]?.url;
1394
+ return (d, p) => O(s, u, g, l)(d, i || p);
1622
1395
  },
1623
1396
  /**
1624
1397
  * 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. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
@@ -1630,12 +1403,12 @@ const ke = function(c) {
1630
1403
  * @throws {RequiredError}
1631
1404
  */
1632
1405
  async listDashboards(e, r, a, t) {
1633
- const o = await n.listDashboards(e, r, a, t), s = c?.serverIndex ?? 0, l = P["DashboardsApi.listDashboards"]?.[s]?.url;
1634
- return (i, d) => O(o, h, g, c)(i, l || d);
1406
+ const o = await n.listDashboards(e, r, a, t), s = l?.serverIndex ?? 0, c = P["DashboardsApi.listDashboards"]?.[s]?.url;
1407
+ return (i, d) => O(o, u, g, l)(i, c || d);
1635
1408
  }
1636
1409
  };
1637
- }, et = function(c, n, e) {
1638
- const r = z(c);
1410
+ }, _a = function(l, n, e) {
1411
+ const r = z(l);
1639
1412
  return {
1640
1413
  /**
1641
1414
  * 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.
@@ -1647,8 +1420,8 @@ const ke = function(c) {
1647
1420
  * @param {*} [options] Override http request option.
1648
1421
  * @throws {RequiredError}
1649
1422
  */
1650
- getDashboard(a, t, o, s, l) {
1651
- return r.getDashboard(a, t, o, s, l).then((i) => i(e, n));
1423
+ getDashboard(a, t, o, s, c) {
1424
+ return r.getDashboard(a, t, o, s, c).then((i) => i(e, n));
1652
1425
  },
1653
1426
  /**
1654
1427
  * 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. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
@@ -1660,11 +1433,11 @@ const ke = function(c) {
1660
1433
  * @throws {RequiredError}
1661
1434
  */
1662
1435
  listDashboards(a, t, o, s) {
1663
- return r.listDashboards(a, t, o, s).then((l) => l(e, n));
1436
+ return r.listDashboards(a, t, o, s).then((c) => c(e, n));
1664
1437
  }
1665
1438
  };
1666
1439
  };
1667
- class Ce extends I {
1440
+ class ve extends I {
1668
1441
  /**
1669
1442
  * 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.
1670
1443
  * @summary Get a dashboard manifest
@@ -1693,7 +1466,7 @@ class Ce extends I {
1693
1466
  return z(this.configuration).listDashboards(n, e, r, a).then((t) => t(this.axios, this.basePath));
1694
1467
  }
1695
1468
  }
1696
- const Ie = function(c) {
1469
+ const Oe = function(l) {
1697
1470
  return {
1698
1471
  /**
1699
1472
  * 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.
@@ -1707,18 +1480,18 @@ const Ie = function(c) {
1707
1480
  m("listDataApps", "environmentName", n), m("listDataApps", "packageName", e);
1708
1481
  const a = "/environments/{environmentName}/packages/{packageName}/data-apps".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), t = new URL(a, b);
1709
1482
  let o;
1710
- c && (o = c.baseOptions);
1711
- const s = { method: "GET", ...o, ...r }, l = {};
1483
+ l && (o = l.baseOptions);
1484
+ const s = { method: "GET", ...o, ...r }, c = {};
1712
1485
  V(t, {});
1713
1486
  let d = o && o.headers ? o.headers : {};
1714
- return s.headers = { ...l, ...d, ...r.headers }, {
1487
+ return s.headers = { ...c, ...d, ...r.headers }, {
1715
1488
  url: v(t),
1716
1489
  options: s
1717
1490
  };
1718
1491
  }
1719
1492
  };
1720
- }, Z = function(c) {
1721
- const n = Ie(c);
1493
+ }, J = function(l) {
1494
+ const n = Oe(l);
1722
1495
  return {
1723
1496
  /**
1724
1497
  * 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.
@@ -1729,12 +1502,12 @@ const Ie = function(c) {
1729
1502
  * @throws {RequiredError}
1730
1503
  */
1731
1504
  async listDataApps(e, r, a) {
1732
- const t = await n.listDataApps(e, r, a), o = c?.serverIndex ?? 0, s = P["DataAppsApi.listDataApps"]?.[o]?.url;
1733
- return (l, i) => O(t, h, g, c)(l, s || i);
1505
+ const t = await n.listDataApps(e, r, a), o = l?.serverIndex ?? 0, s = P["DataAppsApi.listDataApps"]?.[o]?.url;
1506
+ return (c, i) => O(t, u, g, l)(c, s || i);
1734
1507
  }
1735
1508
  };
1736
- }, at = function(c, n, e) {
1737
- const r = Z(c);
1509
+ }, Wa = function(l, n, e) {
1510
+ const r = J(l);
1738
1511
  return {
1739
1512
  /**
1740
1513
  * 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.
@@ -1749,7 +1522,7 @@ const Ie = function(c) {
1749
1522
  }
1750
1523
  };
1751
1524
  };
1752
- class Ae extends I {
1525
+ class Se extends I {
1753
1526
  /**
1754
1527
  * 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.
1755
1528
  * @summary List package data apps
@@ -1760,10 +1533,10 @@ class Ae extends I {
1760
1533
  * @memberof DataAppsApi
1761
1534
  */
1762
1535
  listDataApps(n, e, r) {
1763
- return Z(this.configuration).listDataApps(n, e, r).then((a) => a(this.axios, this.basePath));
1536
+ return J(this.configuration).listDataApps(n, e, r).then((a) => a(this.axios, this.basePath));
1764
1537
  }
1765
1538
  }
1766
- const xe = function(c) {
1539
+ const ye = function(l) {
1767
1540
  return {
1768
1541
  /**
1769
1542
  * 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.
@@ -1778,18 +1551,18 @@ const xe = function(c) {
1778
1551
  m("listDatabases", "environmentName", n), m("listDatabases", "packageName", e);
1779
1552
  const t = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
1780
1553
  let s;
1781
- c && (s = c.baseOptions);
1782
- const l = { method: "GET", ...s, ...a }, i = {}, d = {};
1554
+ l && (s = l.baseOptions);
1555
+ const c = { method: "GET", ...s, ...a }, i = {}, d = {};
1783
1556
  r !== void 0 && (d.versionId = r), V(o, d);
1784
1557
  let p = s && s.headers ? s.headers : {};
1785
- return l.headers = { ...i, ...p, ...a.headers }, {
1558
+ return c.headers = { ...i, ...p, ...a.headers }, {
1786
1559
  url: v(o),
1787
- options: l
1560
+ options: c
1788
1561
  };
1789
1562
  }
1790
1563
  };
1791
- }, ee = function(c) {
1792
- const n = xe(c);
1564
+ }, X = function(l) {
1565
+ const n = ye(l);
1793
1566
  return {
1794
1567
  /**
1795
1568
  * 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.
@@ -1801,12 +1574,12 @@ const xe = function(c) {
1801
1574
  * @throws {RequiredError}
1802
1575
  */
1803
1576
  async listDatabases(e, r, a, t) {
1804
- const o = await n.listDatabases(e, r, a, t), s = c?.serverIndex ?? 0, l = P["DatabasesApi.listDatabases"]?.[s]?.url;
1805
- return (i, d) => O(o, h, g, c)(i, l || d);
1577
+ const o = await n.listDatabases(e, r, a, t), s = l?.serverIndex ?? 0, c = P["DatabasesApi.listDatabases"]?.[s]?.url;
1578
+ return (i, d) => O(o, u, g, l)(i, c || d);
1806
1579
  }
1807
1580
  };
1808
- }, tt = function(c, n, e) {
1809
- const r = ee(c);
1581
+ }, Ga = function(l, n, e) {
1582
+ const r = X(l);
1810
1583
  return {
1811
1584
  /**
1812
1585
  * 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.
@@ -1818,11 +1591,11 @@ const xe = function(c) {
1818
1591
  * @throws {RequiredError}
1819
1592
  */
1820
1593
  listDatabases(a, t, o, s) {
1821
- return r.listDatabases(a, t, o, s).then((l) => l(e, n));
1594
+ return r.listDatabases(a, t, o, s).then((c) => c(e, n));
1822
1595
  }
1823
1596
  };
1824
1597
  };
1825
- class Re extends I {
1598
+ class ke extends I {
1826
1599
  /**
1827
1600
  * 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.
1828
1601
  * @summary List embedded databases
@@ -1834,10 +1607,10 @@ class Re extends I {
1834
1607
  * @memberof DatabasesApi
1835
1608
  */
1836
1609
  listDatabases(n, e, r, a) {
1837
- return ee(this.configuration).listDatabases(n, e, r, a).then((t) => t(this.axios, this.basePath));
1610
+ return X(this.configuration).listDatabases(n, e, r, a).then((t) => t(this.axios, this.basePath));
1838
1611
  }
1839
1612
  }
1840
- const Ne = function(c) {
1613
+ const Ce = function(l) {
1841
1614
  return {
1842
1615
  /**
1843
1616
  * 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.
@@ -1850,11 +1623,11 @@ const Ne = function(c) {
1850
1623
  m("createEnvironment", "environment", n);
1851
1624
  const r = "/environments", a = new URL(r, b);
1852
1625
  let t;
1853
- c && (t = c.baseOptions);
1854
- const o = { method: "POST", ...t, ...e }, s = {}, l = {};
1855
- s["Content-Type"] = "application/json", V(a, l);
1626
+ l && (t = l.baseOptions);
1627
+ const o = { method: "POST", ...t, ...e }, s = {}, c = {};
1628
+ s["Content-Type"] = "application/json", V(a, c);
1856
1629
  let i = t && t.headers ? t.headers : {};
1857
- return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, c), {
1630
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
1858
1631
  url: v(a),
1859
1632
  options: o
1860
1633
  };
@@ -1870,7 +1643,7 @@ const Ne = function(c) {
1870
1643
  m("deleteEnvironment", "environmentName", n);
1871
1644
  const r = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(r, b);
1872
1645
  let t;
1873
- c && (t = c.baseOptions);
1646
+ l && (t = l.baseOptions);
1874
1647
  const o = { method: "DELETE", ...t, ...e }, s = {};
1875
1648
  V(a, {});
1876
1649
  let i = t && t.headers ? t.headers : {};
@@ -1891,11 +1664,11 @@ const Ne = function(c) {
1891
1664
  m("getEnvironment", "environmentName", n);
1892
1665
  const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), t = new URL(a, b);
1893
1666
  let o;
1894
- c && (o = c.baseOptions);
1895
- const s = { method: "GET", ...o, ...r }, l = {}, i = {};
1667
+ l && (o = l.baseOptions);
1668
+ const s = { method: "GET", ...o, ...r }, c = {}, i = {};
1896
1669
  e !== void 0 && (i.reload = e), V(t, i);
1897
1670
  let d = o && o.headers ? o.headers : {};
1898
- return s.headers = { ...l, ...d, ...r.headers }, {
1671
+ return s.headers = { ...c, ...d, ...r.headers }, {
1899
1672
  url: v(t),
1900
1673
  options: s
1901
1674
  };
@@ -1909,11 +1682,11 @@ const Ne = function(c) {
1909
1682
  listEnvironments: async (n = {}) => {
1910
1683
  const e = "/environments", r = new URL(e, b);
1911
1684
  let a;
1912
- c && (a = c.baseOptions);
1685
+ l && (a = l.baseOptions);
1913
1686
  const t = { method: "GET", ...a, ...n }, o = {};
1914
1687
  V(r, {});
1915
- let l = a && a.headers ? a.headers : {};
1916
- return t.headers = { ...o, ...l, ...n.headers }, {
1688
+ let c = a && a.headers ? a.headers : {};
1689
+ return t.headers = { ...o, ...c, ...n.headers }, {
1917
1690
  url: v(r),
1918
1691
  options: t
1919
1692
  };
@@ -1930,18 +1703,18 @@ const Ne = function(c) {
1930
1703
  m("updateEnvironment", "environmentName", n), m("updateEnvironment", "environment", e);
1931
1704
  const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), t = new URL(a, b);
1932
1705
  let o;
1933
- c && (o = c.baseOptions);
1934
- const s = { method: "PATCH", ...o, ...r }, l = {}, i = {};
1935
- l["Content-Type"] = "application/json", V(t, i);
1706
+ l && (o = l.baseOptions);
1707
+ const s = { method: "PATCH", ...o, ...r }, c = {}, i = {};
1708
+ c["Content-Type"] = "application/json", V(t, i);
1936
1709
  let d = o && o.headers ? o.headers : {};
1937
- return s.headers = { ...l, ...d, ...r.headers }, s.data = S(e, s, c), {
1710
+ return s.headers = { ...c, ...d, ...r.headers }, s.data = y(e, s, l), {
1938
1711
  url: v(t),
1939
1712
  options: s
1940
1713
  };
1941
1714
  }
1942
1715
  };
1943
- }, N = function(c) {
1944
- const n = Ne(c);
1716
+ }, N = function(l) {
1717
+ const n = Ce(l);
1945
1718
  return {
1946
1719
  /**
1947
1720
  * 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.
@@ -1951,8 +1724,8 @@ const Ne = function(c) {
1951
1724
  * @throws {RequiredError}
1952
1725
  */
1953
1726
  async createEnvironment(e, r) {
1954
- const a = await n.createEnvironment(e, r), t = c?.serverIndex ?? 0, o = P["EnvironmentsApi.createEnvironment"]?.[t]?.url;
1955
- return (s, l) => O(a, h, g, c)(s, o || l);
1727
+ const a = await n.createEnvironment(e, r), t = l?.serverIndex ?? 0, o = P["EnvironmentsApi.createEnvironment"]?.[t]?.url;
1728
+ return (s, c) => O(a, u, g, l)(s, o || c);
1956
1729
  },
1957
1730
  /**
1958
1731
  * 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.
@@ -1962,8 +1735,8 @@ const Ne = function(c) {
1962
1735
  * @throws {RequiredError}
1963
1736
  */
1964
1737
  async deleteEnvironment(e, r) {
1965
- const a = await n.deleteEnvironment(e, r), t = c?.serverIndex ?? 0, o = P["EnvironmentsApi.deleteEnvironment"]?.[t]?.url;
1966
- return (s, l) => O(a, h, g, c)(s, o || l);
1738
+ const a = await n.deleteEnvironment(e, r), t = l?.serverIndex ?? 0, o = P["EnvironmentsApi.deleteEnvironment"]?.[t]?.url;
1739
+ return (s, c) => O(a, u, g, l)(s, o || c);
1967
1740
  },
1968
1741
  /**
1969
1742
  * 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.
@@ -1974,8 +1747,8 @@ const Ne = function(c) {
1974
1747
  * @throws {RequiredError}
1975
1748
  */
1976
1749
  async getEnvironment(e, r, a) {
1977
- const t = await n.getEnvironment(e, r, a), o = c?.serverIndex ?? 0, s = P["EnvironmentsApi.getEnvironment"]?.[o]?.url;
1978
- return (l, i) => O(t, h, g, c)(l, s || i);
1750
+ const t = await n.getEnvironment(e, r, a), o = l?.serverIndex ?? 0, s = P["EnvironmentsApi.getEnvironment"]?.[o]?.url;
1751
+ return (c, i) => O(t, u, g, l)(c, s || i);
1979
1752
  },
1980
1753
  /**
1981
1754
  * 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`.
@@ -1984,8 +1757,8 @@ const Ne = function(c) {
1984
1757
  * @throws {RequiredError}
1985
1758
  */
1986
1759
  async listEnvironments(e) {
1987
- const r = await n.listEnvironments(e), a = c?.serverIndex ?? 0, t = P["EnvironmentsApi.listEnvironments"]?.[a]?.url;
1988
- return (o, s) => O(r, h, g, c)(o, t || s);
1760
+ const r = await n.listEnvironments(e), a = l?.serverIndex ?? 0, t = P["EnvironmentsApi.listEnvironments"]?.[a]?.url;
1761
+ return (o, s) => O(r, u, g, l)(o, t || s);
1989
1762
  },
1990
1763
  /**
1991
1764
  * 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.
@@ -1996,12 +1769,12 @@ const Ne = function(c) {
1996
1769
  * @throws {RequiredError}
1997
1770
  */
1998
1771
  async updateEnvironment(e, r, a) {
1999
- const t = await n.updateEnvironment(e, r, a), o = c?.serverIndex ?? 0, s = P["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
2000
- return (l, i) => O(t, h, g, c)(l, s || i);
1772
+ const t = await n.updateEnvironment(e, r, a), o = l?.serverIndex ?? 0, s = P["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
1773
+ return (c, i) => O(t, u, g, l)(c, s || i);
2001
1774
  }
2002
1775
  };
2003
- }, rt = function(c, n, e) {
2004
- const r = N(c);
1776
+ }, Ya = function(l, n, e) {
1777
+ const r = N(l);
2005
1778
  return {
2006
1779
  /**
2007
1780
  * 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.
@@ -2056,7 +1829,7 @@ const Ne = function(c) {
2056
1829
  }
2057
1830
  };
2058
1831
  };
2059
- class Te extends I {
1832
+ class Ie extends I {
2060
1833
  /**
2061
1834
  * 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.
2062
1835
  * @summary Create a new environment
@@ -2114,7 +1887,7 @@ class Te extends I {
2114
1887
  return N(this.configuration).updateEnvironment(n, e, r).then((a) => a(this.axios, this.basePath));
2115
1888
  }
2116
1889
  }
2117
- const Ue = function(c) {
1890
+ const Ae = function(l) {
2118
1891
  return {
2119
1892
  /**
2120
1893
  * 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.
@@ -2129,13 +1902,13 @@ const Ue = function(c) {
2129
1902
  m("createMaterialization", "environmentName", n), m("createMaterialization", "packageName", e);
2130
1903
  const t = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
2131
1904
  let s;
2132
- c && (s = c.baseOptions);
2133
- const l = { method: "POST", ...s, ...a }, i = {}, d = {};
1905
+ l && (s = l.baseOptions);
1906
+ const c = { method: "POST", ...s, ...a }, i = {}, d = {};
2134
1907
  i["Content-Type"] = "application/json", V(o, d);
2135
1908
  let p = s && s.headers ? s.headers : {};
2136
- return l.headers = { ...i, ...p, ...a.headers }, l.data = S(r, l, c), {
1909
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
2137
1910
  url: v(o),
2138
- options: l
1911
+ options: c
2139
1912
  };
2140
1913
  },
2141
1914
  /**
@@ -2151,12 +1924,12 @@ const Ue = function(c) {
2151
1924
  deleteMaterialization: async (n, e, r, a, t = {}) => {
2152
1925
  m("deleteMaterialization", "environmentName", n), m("deleteMaterialization", "packageName", e), m("deleteMaterialization", "materializationId", r);
2153
1926
  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);
2154
- let l;
2155
- c && (l = c.baseOptions);
2156
- const i = { method: "DELETE", ...l, ...t }, d = {}, p = {};
1927
+ let c;
1928
+ l && (c = l.baseOptions);
1929
+ const i = { method: "DELETE", ...c, ...t }, d = {}, p = {};
2157
1930
  a !== void 0 && (p.dropTables = a), V(s, p);
2158
- let u = l && l.headers ? l.headers : {};
2159
- return i.headers = { ...d, ...u, ...t.headers }, {
1931
+ let h = c && c.headers ? c.headers : {};
1932
+ return i.headers = { ...d, ...h, ...t.headers }, {
2160
1933
  url: v(s),
2161
1934
  options: i
2162
1935
  };
@@ -2174,13 +1947,13 @@ const Ue = function(c) {
2174
1947
  m("getMaterialization", "environmentName", n), m("getMaterialization", "packageName", e), m("getMaterialization", "materializationId", r);
2175
1948
  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);
2176
1949
  let s;
2177
- c && (s = c.baseOptions);
2178
- const l = { method: "GET", ...s, ...a }, i = {};
1950
+ l && (s = l.baseOptions);
1951
+ const c = { method: "GET", ...s, ...a }, i = {};
2179
1952
  V(o, {});
2180
1953
  let p = s && s.headers ? s.headers : {};
2181
- return l.headers = { ...i, ...p, ...a.headers }, {
1954
+ return c.headers = { ...i, ...p, ...a.headers }, {
2182
1955
  url: v(o),
2183
- options: l
1956
+ options: c
2184
1957
  };
2185
1958
  },
2186
1959
  /**
@@ -2196,12 +1969,12 @@ const Ue = function(c) {
2196
1969
  listMaterializations: async (n, e, r, a, t = {}) => {
2197
1970
  m("listMaterializations", "environmentName", n), m("listMaterializations", "packageName", e);
2198
1971
  const o = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, b);
2199
- let l;
2200
- c && (l = c.baseOptions);
2201
- const i = { method: "GET", ...l, ...t }, d = {}, p = {};
1972
+ let c;
1973
+ l && (c = l.baseOptions);
1974
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
2202
1975
  r !== void 0 && (p.limit = r), a !== void 0 && (p.offset = a), V(s, p);
2203
- let u = l && l.headers ? l.headers : {};
2204
- return i.headers = { ...d, ...u, ...t.headers }, {
1976
+ let h = c && c.headers ? c.headers : {};
1977
+ return i.headers = { ...d, ...h, ...t.headers }, {
2205
1978
  url: v(s),
2206
1979
  options: i
2207
1980
  };
@@ -2219,19 +1992,19 @@ const Ue = function(c) {
2219
1992
  materializationAction: async (n, e, r, a, t = {}) => {
2220
1993
  m("materializationAction", "environmentName", n), m("materializationAction", "packageName", e), m("materializationAction", "materializationId", r), m("materializationAction", "action", a);
2221
1994
  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);
2222
- let l;
2223
- c && (l = c.baseOptions);
2224
- const i = { method: "POST", ...l, ...t }, d = {}, p = {};
1995
+ let c;
1996
+ l && (c = l.baseOptions);
1997
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
2225
1998
  a !== void 0 && (p.action = a), V(s, p);
2226
- let u = l && l.headers ? l.headers : {};
2227
- return i.headers = { ...d, ...u, ...t.headers }, {
1999
+ let h = c && c.headers ? c.headers : {};
2000
+ return i.headers = { ...d, ...h, ...t.headers }, {
2228
2001
  url: v(s),
2229
2002
  options: i
2230
2003
  };
2231
2004
  }
2232
2005
  };
2233
- }, T = function(c) {
2234
- const n = Ue(c);
2006
+ }, T = function(l) {
2007
+ const n = Ae(l);
2235
2008
  return {
2236
2009
  /**
2237
2010
  * 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.
@@ -2243,8 +2016,8 @@ const Ue = function(c) {
2243
2016
  * @throws {RequiredError}
2244
2017
  */
2245
2018
  async createMaterialization(e, r, a, t) {
2246
- const o = await n.createMaterialization(e, r, a, t), s = c?.serverIndex ?? 0, l = P["MaterializationsApi.createMaterialization"]?.[s]?.url;
2247
- return (i, d) => O(o, h, g, c)(i, l || d);
2019
+ const o = await n.createMaterialization(e, r, a, t), s = l?.serverIndex ?? 0, c = P["MaterializationsApi.createMaterialization"]?.[s]?.url;
2020
+ return (i, d) => O(o, u, g, l)(i, c || d);
2248
2021
  },
2249
2022
  /**
2250
2023
  * 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.
@@ -2257,8 +2030,8 @@ const Ue = function(c) {
2257
2030
  * @throws {RequiredError}
2258
2031
  */
2259
2032
  async deleteMaterialization(e, r, a, t, o) {
2260
- const s = await n.deleteMaterialization(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["MaterializationsApi.deleteMaterialization"]?.[l]?.url;
2261
- return (d, p) => O(s, h, g, c)(d, i || p);
2033
+ const s = await n.deleteMaterialization(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.deleteMaterialization"]?.[c]?.url;
2034
+ return (d, p) => O(s, u, g, l)(d, i || p);
2262
2035
  },
2263
2036
  /**
2264
2037
  *
@@ -2270,8 +2043,8 @@ const Ue = function(c) {
2270
2043
  * @throws {RequiredError}
2271
2044
  */
2272
2045
  async getMaterialization(e, r, a, t) {
2273
- const o = await n.getMaterialization(e, r, a, t), s = c?.serverIndex ?? 0, l = P["MaterializationsApi.getMaterialization"]?.[s]?.url;
2274
- return (i, d) => O(o, h, g, c)(i, l || d);
2046
+ const o = await n.getMaterialization(e, r, a, t), s = l?.serverIndex ?? 0, c = P["MaterializationsApi.getMaterialization"]?.[s]?.url;
2047
+ return (i, d) => O(o, u, g, l)(i, c || d);
2275
2048
  },
2276
2049
  /**
2277
2050
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2284,8 +2057,8 @@ const Ue = function(c) {
2284
2057
  * @throws {RequiredError}
2285
2058
  */
2286
2059
  async listMaterializations(e, r, a, t, o) {
2287
- const s = await n.listMaterializations(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["MaterializationsApi.listMaterializations"]?.[l]?.url;
2288
- return (d, p) => O(s, h, g, c)(d, i || p);
2060
+ const s = await n.listMaterializations(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.listMaterializations"]?.[c]?.url;
2061
+ return (d, p) => O(s, u, g, l)(d, i || p);
2289
2062
  },
2290
2063
  /**
2291
2064
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200.
@@ -2298,12 +2071,12 @@ const Ue = function(c) {
2298
2071
  * @throws {RequiredError}
2299
2072
  */
2300
2073
  async materializationAction(e, r, a, t, o) {
2301
- const s = await n.materializationAction(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["MaterializationsApi.materializationAction"]?.[l]?.url;
2302
- return (d, p) => O(s, h, g, c)(d, i || p);
2074
+ const s = await n.materializationAction(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.materializationAction"]?.[c]?.url;
2075
+ return (d, p) => O(s, u, g, l)(d, i || p);
2303
2076
  }
2304
2077
  };
2305
- }, nt = function(c, n, e) {
2306
- const r = T(c);
2078
+ }, Ka = function(l, n, e) {
2079
+ const r = T(l);
2307
2080
  return {
2308
2081
  /**
2309
2082
  * 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.
@@ -2315,7 +2088,7 @@ const Ue = function(c) {
2315
2088
  * @throws {RequiredError}
2316
2089
  */
2317
2090
  createMaterialization(a, t, o, s) {
2318
- return r.createMaterialization(a, t, o, s).then((l) => l(e, n));
2091
+ return r.createMaterialization(a, t, o, s).then((c) => c(e, n));
2319
2092
  },
2320
2093
  /**
2321
2094
  * 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.
@@ -2327,8 +2100,8 @@ const Ue = function(c) {
2327
2100
  * @param {*} [options] Override http request option.
2328
2101
  * @throws {RequiredError}
2329
2102
  */
2330
- deleteMaterialization(a, t, o, s, l) {
2331
- return r.deleteMaterialization(a, t, o, s, l).then((i) => i(e, n));
2103
+ deleteMaterialization(a, t, o, s, c) {
2104
+ return r.deleteMaterialization(a, t, o, s, c).then((i) => i(e, n));
2332
2105
  },
2333
2106
  /**
2334
2107
  *
@@ -2340,7 +2113,7 @@ const Ue = function(c) {
2340
2113
  * @throws {RequiredError}
2341
2114
  */
2342
2115
  getMaterialization(a, t, o, s) {
2343
- return r.getMaterialization(a, t, o, s).then((l) => l(e, n));
2116
+ return r.getMaterialization(a, t, o, s).then((c) => c(e, n));
2344
2117
  },
2345
2118
  /**
2346
2119
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2352,8 +2125,8 @@ const Ue = function(c) {
2352
2125
  * @param {*} [options] Override http request option.
2353
2126
  * @throws {RequiredError}
2354
2127
  */
2355
- listMaterializations(a, t, o, s, l) {
2356
- return r.listMaterializations(a, t, o, s, l).then((i) => i(e, n));
2128
+ listMaterializations(a, t, o, s, c) {
2129
+ return r.listMaterializations(a, t, o, s, c).then((i) => i(e, n));
2357
2130
  },
2358
2131
  /**
2359
2132
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200.
@@ -2365,12 +2138,12 @@ const Ue = function(c) {
2365
2138
  * @param {*} [options] Override http request option.
2366
2139
  * @throws {RequiredError}
2367
2140
  */
2368
- materializationAction(a, t, o, s, l) {
2369
- return r.materializationAction(a, t, o, s, l).then((i) => i(e, n));
2141
+ materializationAction(a, t, o, s, c) {
2142
+ return r.materializationAction(a, t, o, s, c).then((i) => i(e, n));
2370
2143
  }
2371
2144
  };
2372
2145
  };
2373
- class we extends I {
2146
+ class xe extends I {
2374
2147
  /**
2375
2148
  * 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.
2376
2149
  * @summary Create a materialization
@@ -2440,9 +2213,9 @@ class we extends I {
2440
2213
  return T(this.configuration).materializationAction(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2441
2214
  }
2442
2215
  }
2443
- const ot = {
2216
+ const Ja = {
2444
2217
  Stop: "stop"
2445
- }, Ee = function(c) {
2218
+ }, Re = function(l) {
2446
2219
  return {
2447
2220
  /**
2448
2221
  * 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.
@@ -2457,12 +2230,12 @@ const ot = {
2457
2230
  compileModelSource: async (n, e, r, a, t = {}) => {
2458
2231
  m("compileModelSource", "environmentName", n), m("compileModelSource", "packageName", e), m("compileModelSource", "path", r), m("compileModelSource", "compileRequest", a);
2459
2232
  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);
2460
- let l;
2461
- c && (l = c.baseOptions);
2462
- const i = { method: "POST", ...l, ...t }, d = {}, p = {};
2233
+ let c;
2234
+ l && (c = l.baseOptions);
2235
+ const i = { method: "POST", ...c, ...t }, d = {}, p = {};
2463
2236
  d["Content-Type"] = "application/json", V(s, p);
2464
- let u = l && l.headers ? l.headers : {};
2465
- return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, c), {
2237
+ let h = c && c.headers ? c.headers : {};
2238
+ return i.headers = { ...d, ...h, ...t.headers }, i.data = y(a, i, l), {
2466
2239
  url: v(s),
2467
2240
  options: i
2468
2241
  };
@@ -2474,65 +2247,68 @@ const ot = {
2474
2247
  * @param {string} packageName Name of the package
2475
2248
  * @param {string} path Path to the model within the package
2476
2249
  * @param {QueryRequest} queryRequest
2250
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2477
2251
  * @param {*} [options] Override http request option.
2478
2252
  * @throws {RequiredError}
2479
2253
  */
2480
- executeQueryModel: async (n, e, r, a, t = {}) => {
2254
+ executeQueryModel: async (n, e, r, a, t, o = {}) => {
2481
2255
  m("executeQueryModel", "environmentName", n), m("executeQueryModel", "packageName", e), m("executeQueryModel", "path", r), m("executeQueryModel", "queryRequest", a);
2482
- 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);
2483
- let l;
2484
- c && (l = c.baseOptions);
2485
- const i = { method: "POST", ...l, ...t }, d = {}, p = {};
2486
- d["Content-Type"] = "application/json", V(s, p);
2487
- let u = l && l.headers ? l.headers : {};
2488
- return i.headers = { ...d, ...u, ...t.headers }, i.data = S(a, i, c), {
2489
- url: v(s),
2490
- options: i
2256
+ const s = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), c = new URL(s, b);
2257
+ let i;
2258
+ l && (i = l.baseOptions);
2259
+ const d = { method: "POST", ...i, ...o }, p = {}, h = {};
2260
+ t !== void 0 && (h.includeHiddenFilesAndSources = t), p["Content-Type"] = "application/json", V(c, h);
2261
+ let S = i && i.headers ? i.headers : {};
2262
+ return d.headers = { ...p, ...S, ...o.headers }, d.data = y(a, d, l), {
2263
+ url: v(c),
2264
+ options: d
2491
2265
  };
2492
2266
  },
2493
2267
  /**
2494
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets. Dashboard files are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; a dashboard\'s text is always returned.
2268
+ * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2495
2269
  * @summary Get compiled Malloy model
2496
2270
  * @param {string} environmentName Name of the environment
2497
2271
  * @param {string} packageName Name of the package
2498
2272
  * @param {string} path Path to the model within the package
2499
2273
  * @param {string} [versionId] Version identifier for the package
2274
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2500
2275
  * @param {*} [options] Override http request option.
2501
2276
  * @throws {RequiredError}
2502
2277
  */
2503
- getModel: async (n, e, r, a, t = {}) => {
2278
+ getModel: async (n, e, r, a, t, o = {}) => {
2504
2279
  m("getModel", "environmentName", n), m("getModel", "packageName", e), m("getModel", "path", r);
2505
- 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);
2506
- let l;
2507
- c && (l = c.baseOptions);
2508
- const i = { method: "GET", ...l, ...t }, d = {}, p = {};
2509
- a !== void 0 && (p.versionId = a), V(s, p);
2510
- let u = l && l.headers ? l.headers : {};
2511
- return i.headers = { ...d, ...u, ...t.headers }, {
2512
- url: v(s),
2513
- options: i
2280
+ 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);
2281
+ let i;
2282
+ l && (i = l.baseOptions);
2283
+ const d = { method: "GET", ...i, ...o }, p = {}, h = {};
2284
+ a !== void 0 && (h.versionId = a), t !== void 0 && (h.includeHiddenFilesAndSources = t), V(c, h);
2285
+ let S = i && i.headers ? i.headers : {};
2286
+ return d.headers = { ...p, ...S, ...o.headers }, {
2287
+ url: v(c),
2288
+ options: d
2514
2289
  };
2515
2290
  },
2516
2291
  /**
2517
- * 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.
2292
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the file is on the package\'s surface, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed and `onSurface` marks the ones on the surface. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2518
2293
  * @summary List package models
2519
2294
  * @param {string} environmentName Name of the environment
2520
2295
  * @param {string} packageName Name of the package
2521
2296
  * @param {string} [versionId] Version identifier for the package
2297
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2522
2298
  * @param {*} [options] Override http request option.
2523
2299
  * @throws {RequiredError}
2524
2300
  */
2525
- listModels: async (n, e, r, a = {}) => {
2301
+ listModels: async (n, e, r, a, t = {}) => {
2526
2302
  m("listModels", "environmentName", n), m("listModels", "packageName", e);
2527
- const t = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
2528
- let s;
2529
- c && (s = c.baseOptions);
2530
- const l = { method: "GET", ...s, ...a }, i = {}, d = {};
2531
- r !== void 0 && (d.versionId = r), V(o, d);
2532
- let p = s && s.headers ? s.headers : {};
2533
- return l.headers = { ...i, ...p, ...a.headers }, {
2534
- url: v(o),
2535
- options: l
2303
+ const o = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, b);
2304
+ let c;
2305
+ l && (c = l.baseOptions);
2306
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
2307
+ r !== void 0 && (p.versionId = r), a !== void 0 && (p.includeHiddenFilesAndSources = a), V(s, p);
2308
+ let h = c && c.headers ? c.headers : {};
2309
+ return i.headers = { ...d, ...h, ...t.headers }, {
2310
+ url: v(s),
2311
+ options: i
2536
2312
  };
2537
2313
  },
2538
2314
  /**
@@ -2548,20 +2324,20 @@ const ot = {
2548
2324
  */
2549
2325
  updateModelSource: async (n, e, r, a, t, o = {}) => {
2550
2326
  m("updateModelSource", "environmentName", n), m("updateModelSource", "packageName", e), m("updateModelSource", "path", r), m("updateModelSource", "modelSourceWriteRequest", a);
2551
- const s = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), l = new URL(s, b);
2327
+ 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);
2552
2328
  let i;
2553
- c && (i = c.baseOptions);
2554
- const d = { method: "PUT", ...i, ...o }, p = {}, u = {};
2555
- t !== void 0 && (u.versionId = t), p["Content-Type"] = "application/json", V(l, u);
2556
- let k = i && i.headers ? i.headers : {};
2557
- return d.headers = { ...p, ...k, ...o.headers }, d.data = S(a, d, c), {
2558
- url: v(l),
2329
+ l && (i = l.baseOptions);
2330
+ const d = { method: "PUT", ...i, ...o }, p = {}, h = {};
2331
+ t !== void 0 && (h.versionId = t), p["Content-Type"] = "application/json", V(c, h);
2332
+ let S = i && i.headers ? i.headers : {};
2333
+ return d.headers = { ...p, ...S, ...o.headers }, d.data = y(a, d, l), {
2334
+ url: v(c),
2559
2335
  options: d
2560
2336
  };
2561
2337
  }
2562
2338
  };
2563
- }, U = function(c) {
2564
- const n = Ee(c);
2339
+ }, U = function(l) {
2340
+ const n = Re(l);
2565
2341
  return {
2566
2342
  /**
2567
2343
  * 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.
@@ -2574,8 +2350,8 @@ const ot = {
2574
2350
  * @throws {RequiredError}
2575
2351
  */
2576
2352
  async compileModelSource(e, r, a, t, o) {
2577
- const s = await n.compileModelSource(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ModelsApi.compileModelSource"]?.[l]?.url;
2578
- return (d, p) => O(s, h, g, c)(d, i || p);
2353
+ const s = await n.compileModelSource(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.compileModelSource"]?.[c]?.url;
2354
+ return (d, p) => O(s, u, g, l)(d, i || p);
2579
2355
  },
2580
2356
  /**
2581
2357
  * 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets.
@@ -2584,39 +2360,42 @@ const ot = {
2584
2360
  * @param {string} packageName Name of the package
2585
2361
  * @param {string} path Path to the model within the package
2586
2362
  * @param {QueryRequest} queryRequest
2363
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2587
2364
  * @param {*} [options] Override http request option.
2588
2365
  * @throws {RequiredError}
2589
2366
  */
2590
- async executeQueryModel(e, r, a, t, o) {
2591
- const s = await n.executeQueryModel(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ModelsApi.executeQueryModel"]?.[l]?.url;
2592
- return (d, p) => O(s, h, g, c)(d, i || p);
2367
+ async executeQueryModel(e, r, a, t, o, s) {
2368
+ const c = await n.executeQueryModel(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ModelsApi.executeQueryModel"]?.[i]?.url;
2369
+ return (p, h) => O(c, u, g, l)(p, d || h);
2593
2370
  },
2594
2371
  /**
2595
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets. Dashboard files are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; a dashboard\'s text is always returned.
2372
+ * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2596
2373
  * @summary Get compiled Malloy model
2597
2374
  * @param {string} environmentName Name of the environment
2598
2375
  * @param {string} packageName Name of the package
2599
2376
  * @param {string} path Path to the model within the package
2600
2377
  * @param {string} [versionId] Version identifier for the package
2378
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2601
2379
  * @param {*} [options] Override http request option.
2602
2380
  * @throws {RequiredError}
2603
2381
  */
2604
- async getModel(e, r, a, t, o) {
2605
- const s = await n.getModel(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["ModelsApi.getModel"]?.[l]?.url;
2606
- return (d, p) => O(s, h, g, c)(d, i || p);
2382
+ async getModel(e, r, a, t, o, s) {
2383
+ const c = await n.getModel(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ModelsApi.getModel"]?.[i]?.url;
2384
+ return (p, h) => O(c, u, g, l)(p, d || h);
2607
2385
  },
2608
2386
  /**
2609
- * 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.
2387
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the file is on the package\'s surface, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed and `onSurface` marks the ones on the surface. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2610
2388
  * @summary List package models
2611
2389
  * @param {string} environmentName Name of the environment
2612
2390
  * @param {string} packageName Name of the package
2613
2391
  * @param {string} [versionId] Version identifier for the package
2392
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2614
2393
  * @param {*} [options] Override http request option.
2615
2394
  * @throws {RequiredError}
2616
2395
  */
2617
- async listModels(e, r, a, t) {
2618
- const o = await n.listModels(e, r, a, t), s = c?.serverIndex ?? 0, l = P["ModelsApi.listModels"]?.[s]?.url;
2619
- return (i, d) => O(o, h, g, c)(i, l || d);
2396
+ async listModels(e, r, a, t, o) {
2397
+ const s = await n.listModels(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.listModels"]?.[c]?.url;
2398
+ return (d, p) => O(s, u, g, l)(d, i || p);
2620
2399
  },
2621
2400
  /**
2622
2401
  * 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.
@@ -2630,12 +2409,12 @@ const ot = {
2630
2409
  * @throws {RequiredError}
2631
2410
  */
2632
2411
  async updateModelSource(e, r, a, t, o, s) {
2633
- const l = await n.updateModelSource(e, r, a, t, o, s), i = c?.serverIndex ?? 0, d = P["ModelsApi.updateModelSource"]?.[i]?.url;
2634
- return (p, u) => O(l, h, g, c)(p, d || u);
2412
+ const c = await n.updateModelSource(e, r, a, t, o, s), i = l?.serverIndex ?? 0, d = P["ModelsApi.updateModelSource"]?.[i]?.url;
2413
+ return (p, h) => O(c, u, g, l)(p, d || h);
2635
2414
  }
2636
2415
  };
2637
- }, st = function(c, n, e) {
2638
- const r = U(c);
2416
+ }, Xa = function(l, n, e) {
2417
+ const r = U(l);
2639
2418
  return {
2640
2419
  /**
2641
2420
  * 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.
@@ -2647,8 +2426,8 @@ const ot = {
2647
2426
  * @param {*} [options] Override http request option.
2648
2427
  * @throws {RequiredError}
2649
2428
  */
2650
- compileModelSource(a, t, o, s, l) {
2651
- return r.compileModelSource(a, t, o, s, l).then((i) => i(e, n));
2429
+ compileModelSource(a, t, o, s, c) {
2430
+ return r.compileModelSource(a, t, o, s, c).then((i) => i(e, n));
2652
2431
  },
2653
2432
  /**
2654
2433
  * 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. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets.
@@ -2657,36 +2436,39 @@ const ot = {
2657
2436
  * @param {string} packageName Name of the package
2658
2437
  * @param {string} path Path to the model within the package
2659
2438
  * @param {QueryRequest} queryRequest
2439
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2660
2440
  * @param {*} [options] Override http request option.
2661
2441
  * @throws {RequiredError}
2662
2442
  */
2663
- executeQueryModel(a, t, o, s, l) {
2664
- return r.executeQueryModel(a, t, o, s, l).then((i) => i(e, n));
2443
+ executeQueryModel(a, t, o, s, c, i) {
2444
+ return r.executeQueryModel(a, t, o, s, c, i).then((d) => d(e, n));
2665
2445
  },
2666
2446
  /**
2667
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets. Dashboard files are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; a dashboard\'s text is always returned.
2447
+ * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2668
2448
  * @summary Get compiled Malloy model
2669
2449
  * @param {string} environmentName Name of the environment
2670
2450
  * @param {string} packageName Name of the package
2671
2451
  * @param {string} path Path to the model within the package
2672
2452
  * @param {string} [versionId] Version identifier for the package
2453
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2673
2454
  * @param {*} [options] Override http request option.
2674
2455
  * @throws {RequiredError}
2675
2456
  */
2676
- getModel(a, t, o, s, l) {
2677
- return r.getModel(a, t, o, s, l).then((i) => i(e, n));
2457
+ getModel(a, t, o, s, c, i) {
2458
+ return r.getModel(a, t, o, s, c, i).then((d) => d(e, n));
2678
2459
  },
2679
2460
  /**
2680
- * 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.
2461
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the file is on the package\'s surface, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed and `onSurface` marks the ones on the surface. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2681
2462
  * @summary List package models
2682
2463
  * @param {string} environmentName Name of the environment
2683
2464
  * @param {string} packageName Name of the package
2684
2465
  * @param {string} [versionId] Version identifier for the package
2466
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2685
2467
  * @param {*} [options] Override http request option.
2686
2468
  * @throws {RequiredError}
2687
2469
  */
2688
- listModels(a, t, o, s) {
2689
- return r.listModels(a, t, o, s).then((l) => l(e, n));
2470
+ listModels(a, t, o, s, c) {
2471
+ return r.listModels(a, t, o, s, c).then((i) => i(e, n));
2690
2472
  },
2691
2473
  /**
2692
2474
  * 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.
@@ -2699,12 +2481,12 @@ const ot = {
2699
2481
  * @param {*} [options] Override http request option.
2700
2482
  * @throws {RequiredError}
2701
2483
  */
2702
- updateModelSource(a, t, o, s, l, i) {
2703
- return r.updateModelSource(a, t, o, s, l, i).then((d) => d(e, n));
2484
+ updateModelSource(a, t, o, s, c, i) {
2485
+ return r.updateModelSource(a, t, o, s, c, i).then((d) => d(e, n));
2704
2486
  }
2705
2487
  };
2706
2488
  };
2707
- class Me extends I {
2489
+ class Ne extends I {
2708
2490
  /**
2709
2491
  * 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.
2710
2492
  * @summary Compile Malloy source code
@@ -2726,39 +2508,42 @@ class Me extends I {
2726
2508
  * @param {string} packageName Name of the package
2727
2509
  * @param {string} path Path to the model within the package
2728
2510
  * @param {QueryRequest} queryRequest
2511
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2729
2512
  * @param {*} [options] Override http request option.
2730
2513
  * @throws {RequiredError}
2731
2514
  * @memberof ModelsApi
2732
2515
  */
2733
- executeQueryModel(n, e, r, a, t) {
2734
- return U(this.configuration).executeQueryModel(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2516
+ executeQueryModel(n, e, r, a, t, o) {
2517
+ return U(this.configuration).executeQueryModel(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
2735
2518
  }
2736
2519
  /**
2737
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets. Dashboard files are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; a dashboard\'s text is always returned.
2520
+ * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2738
2521
  * @summary Get compiled Malloy model
2739
2522
  * @param {string} environmentName Name of the environment
2740
2523
  * @param {string} packageName Name of the package
2741
2524
  * @param {string} path Path to the model within the package
2742
2525
  * @param {string} [versionId] Version identifier for the package
2526
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2743
2527
  * @param {*} [options] Override http request option.
2744
2528
  * @throws {RequiredError}
2745
2529
  * @memberof ModelsApi
2746
2530
  */
2747
- getModel(n, e, r, a, t) {
2748
- return U(this.configuration).getModel(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2531
+ getModel(n, e, r, a, t, o) {
2532
+ return U(this.configuration).getModel(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
2749
2533
  }
2750
2534
  /**
2751
- * 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.
2535
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the file is on the package\'s surface, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed and `onSurface` marks the ones on the surface. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2752
2536
  * @summary List package models
2753
2537
  * @param {string} environmentName Name of the environment
2754
2538
  * @param {string} packageName Name of the package
2755
2539
  * @param {string} [versionId] Version identifier for the package
2540
+ * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it. The notebook-cell route, the dashboards route, the MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2756
2541
  * @param {*} [options] Override http request option.
2757
2542
  * @throws {RequiredError}
2758
2543
  * @memberof ModelsApi
2759
2544
  */
2760
- listModels(n, e, r, a) {
2761
- return U(this.configuration).listModels(n, e, r, a).then((t) => t(this.axios, this.basePath));
2545
+ listModels(n, e, r, a, t) {
2546
+ return U(this.configuration).listModels(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2762
2547
  }
2763
2548
  /**
2764
2549
  * 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.
@@ -2776,10 +2561,10 @@ class Me extends I {
2776
2561
  return U(this.configuration).updateModelSource(n, e, r, a, t, o).then((s) => s(this.axios, this.basePath));
2777
2562
  }
2778
2563
  }
2779
- const fe = function(c) {
2564
+ const Te = function(l) {
2780
2565
  return {
2781
2566
  /**
2782
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2567
+ * 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. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2783
2568
  * @summary Execute a specific notebook cell
2784
2569
  * @param {string} environmentName Name of the environment
2785
2570
  * @param {string} packageName Name of the package
@@ -2792,21 +2577,21 @@ const fe = function(c) {
2792
2577
  * @param {*} [options] Override http request option.
2793
2578
  * @throws {RequiredError}
2794
2579
  */
2795
- executeNotebookCell: async (n, e, r, a, t, o, s, l, i = {}) => {
2580
+ executeNotebookCell: async (n, e, r, a, t, o, s, c, i = {}) => {
2796
2581
  m("executeNotebookCell", "environmentName", n), m("executeNotebookCell", "packageName", e), m("executeNotebookCell", "path", r), m("executeNotebookCell", "cellIndex", a);
2797
2582
  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);
2798
- let u;
2799
- c && (u = c.baseOptions);
2800
- const k = { method: "GET", ...u, ...i }, E = {}, A = {};
2801
- t !== void 0 && (A.versionId = t), o !== void 0 && (A.filter_params = o), s !== void 0 && (A.bypass_filters = s), l !== void 0 && (A.givens = l), V(p, A);
2802
- let $ = u && u.headers ? u.headers : {};
2803
- return k.headers = { ...E, ...$, ...i.headers }, {
2583
+ let h;
2584
+ l && (h = l.baseOptions);
2585
+ const S = { method: "GET", ...h, ...i }, E = {}, A = {};
2586
+ 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);
2587
+ let $ = h && h.headers ? h.headers : {};
2588
+ return S.headers = { ...E, ...$, ...i.headers }, {
2804
2589
  url: v(p),
2805
- options: k
2590
+ options: S
2806
2591
  };
2807
2592
  },
2808
2593
  /**
2809
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. On a package with a surface, the response shows only the sources the notebook may read.
2594
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2810
2595
  * @summary Get Malloy notebook cells
2811
2596
  * @param {string} environmentName Name of the environment
2812
2597
  * @param {string} packageName Name of the package
@@ -2818,18 +2603,18 @@ const fe = function(c) {
2818
2603
  getNotebook: async (n, e, r, a, t = {}) => {
2819
2604
  m("getNotebook", "environmentName", n), m("getNotebook", "packageName", e), m("getNotebook", "path", r);
2820
2605
  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);
2821
- let l;
2822
- c && (l = c.baseOptions);
2823
- const i = { method: "GET", ...l, ...t }, d = {}, p = {};
2606
+ let c;
2607
+ l && (c = l.baseOptions);
2608
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
2824
2609
  a !== void 0 && (p.versionId = a), V(s, p);
2825
- let u = l && l.headers ? l.headers : {};
2826
- return i.headers = { ...d, ...u, ...t.headers }, {
2610
+ let h = c && c.headers ? c.headers : {};
2611
+ return i.headers = { ...d, ...h, ...t.headers }, {
2827
2612
  url: v(s),
2828
2613
  options: i
2829
2614
  };
2830
2615
  },
2831
2616
  /**
2832
- * 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.
2617
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2833
2618
  * @summary List package notebooks
2834
2619
  * @param {string} environmentName Name of the environment
2835
2620
  * @param {string} packageName Name of the package
@@ -2841,21 +2626,21 @@ const fe = function(c) {
2841
2626
  m("listNotebooks", "environmentName", n), m("listNotebooks", "packageName", e);
2842
2627
  const t = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
2843
2628
  let s;
2844
- c && (s = c.baseOptions);
2845
- const l = { method: "GET", ...s, ...a }, i = {}, d = {};
2629
+ l && (s = l.baseOptions);
2630
+ const c = { method: "GET", ...s, ...a }, i = {}, d = {};
2846
2631
  r !== void 0 && (d.versionId = r), V(o, d);
2847
2632
  let p = s && s.headers ? s.headers : {};
2848
- return l.headers = { ...i, ...p, ...a.headers }, {
2633
+ return c.headers = { ...i, ...p, ...a.headers }, {
2849
2634
  url: v(o),
2850
- options: l
2635
+ options: c
2851
2636
  };
2852
2637
  }
2853
2638
  };
2854
- }, Q = function(c) {
2855
- const n = fe(c);
2639
+ }, Q = function(l) {
2640
+ const n = Te(l);
2856
2641
  return {
2857
2642
  /**
2858
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2643
+ * 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. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2859
2644
  * @summary Execute a specific notebook cell
2860
2645
  * @param {string} environmentName Name of the environment
2861
2646
  * @param {string} packageName Name of the package
@@ -2868,12 +2653,12 @@ const fe = function(c) {
2868
2653
  * @param {*} [options] Override http request option.
2869
2654
  * @throws {RequiredError}
2870
2655
  */
2871
- async executeNotebookCell(e, r, a, t, o, s, l, i, d) {
2872
- const p = await n.executeNotebookCell(e, r, a, t, o, s, l, i, d), u = c?.serverIndex ?? 0, k = P["NotebooksApi.executeNotebookCell"]?.[u]?.url;
2873
- return (E, A) => O(p, h, g, c)(E, k || A);
2656
+ async executeNotebookCell(e, r, a, t, o, s, c, i, d) {
2657
+ const p = await n.executeNotebookCell(e, r, a, t, o, s, c, i, d), h = l?.serverIndex ?? 0, S = P["NotebooksApi.executeNotebookCell"]?.[h]?.url;
2658
+ return (E, A) => O(p, u, g, l)(E, S || A);
2874
2659
  },
2875
2660
  /**
2876
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. On a package with a surface, the response shows only the sources the notebook may read.
2661
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2877
2662
  * @summary Get Malloy notebook cells
2878
2663
  * @param {string} environmentName Name of the environment
2879
2664
  * @param {string} packageName Name of the package
@@ -2883,11 +2668,11 @@ const fe = function(c) {
2883
2668
  * @throws {RequiredError}
2884
2669
  */
2885
2670
  async getNotebook(e, r, a, t, o) {
2886
- const s = await n.getNotebook(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[l]?.url;
2887
- return (d, p) => O(s, h, g, c)(d, i || p);
2671
+ const s = await n.getNotebook(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[c]?.url;
2672
+ return (d, p) => O(s, u, g, l)(d, i || p);
2888
2673
  },
2889
2674
  /**
2890
- * 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.
2675
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2891
2676
  * @summary List package notebooks
2892
2677
  * @param {string} environmentName Name of the environment
2893
2678
  * @param {string} packageName Name of the package
@@ -2896,15 +2681,15 @@ const fe = function(c) {
2896
2681
  * @throws {RequiredError}
2897
2682
  */
2898
2683
  async listNotebooks(e, r, a, t) {
2899
- const o = await n.listNotebooks(e, r, a, t), s = c?.serverIndex ?? 0, l = P["NotebooksApi.listNotebooks"]?.[s]?.url;
2900
- return (i, d) => O(o, h, g, c)(i, l || d);
2684
+ const o = await n.listNotebooks(e, r, a, t), s = l?.serverIndex ?? 0, c = P["NotebooksApi.listNotebooks"]?.[s]?.url;
2685
+ return (i, d) => O(o, u, g, l)(i, c || d);
2901
2686
  }
2902
2687
  };
2903
- }, lt = function(c, n, e) {
2904
- const r = Q(c);
2688
+ }, Za = function(l, n, e) {
2689
+ const r = Q(l);
2905
2690
  return {
2906
2691
  /**
2907
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2692
+ * 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. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2908
2693
  * @summary Execute a specific notebook cell
2909
2694
  * @param {string} environmentName Name of the environment
2910
2695
  * @param {string} packageName Name of the package
@@ -2917,11 +2702,11 @@ const fe = function(c) {
2917
2702
  * @param {*} [options] Override http request option.
2918
2703
  * @throws {RequiredError}
2919
2704
  */
2920
- executeNotebookCell(a, t, o, s, l, i, d, p, u) {
2921
- return r.executeNotebookCell(a, t, o, s, l, i, d, p, u).then((k) => k(e, n));
2705
+ executeNotebookCell(a, t, o, s, c, i, d, p, h) {
2706
+ return r.executeNotebookCell(a, t, o, s, c, i, d, p, h).then((S) => S(e, n));
2922
2707
  },
2923
2708
  /**
2924
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. On a package with a surface, the response shows only the sources the notebook may read.
2709
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2925
2710
  * @summary Get Malloy notebook cells
2926
2711
  * @param {string} environmentName Name of the environment
2927
2712
  * @param {string} packageName Name of the package
@@ -2930,11 +2715,11 @@ const fe = function(c) {
2930
2715
  * @param {*} [options] Override http request option.
2931
2716
  * @throws {RequiredError}
2932
2717
  */
2933
- getNotebook(a, t, o, s, l) {
2934
- return r.getNotebook(a, t, o, s, l).then((i) => i(e, n));
2718
+ getNotebook(a, t, o, s, c) {
2719
+ return r.getNotebook(a, t, o, s, c).then((i) => i(e, n));
2935
2720
  },
2936
2721
  /**
2937
- * 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.
2722
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2938
2723
  * @summary List package notebooks
2939
2724
  * @param {string} environmentName Name of the environment
2940
2725
  * @param {string} packageName Name of the package
@@ -2943,13 +2728,13 @@ const fe = function(c) {
2943
2728
  * @throws {RequiredError}
2944
2729
  */
2945
2730
  listNotebooks(a, t, o, s) {
2946
- return r.listNotebooks(a, t, o, s).then((l) => l(e, n));
2731
+ return r.listNotebooks(a, t, o, s).then((c) => c(e, n));
2947
2732
  }
2948
2733
  };
2949
2734
  };
2950
- class Be extends I {
2735
+ class Ue extends I {
2951
2736
  /**
2952
- * 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. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2737
+ * 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. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2953
2738
  * @summary Execute a specific notebook cell
2954
2739
  * @param {string} environmentName Name of the environment
2955
2740
  * @param {string} packageName Name of the package
@@ -2963,11 +2748,11 @@ class Be extends I {
2963
2748
  * @throws {RequiredError}
2964
2749
  * @memberof NotebooksApi
2965
2750
  */
2966
- executeNotebookCell(n, e, r, a, t, o, s, l, i) {
2967
- return Q(this.configuration).executeNotebookCell(n, e, r, a, t, o, s, l, i).then((d) => d(this.axios, this.basePath));
2751
+ executeNotebookCell(n, e, r, a, t, o, s, c, i) {
2752
+ return Q(this.configuration).executeNotebookCell(n, e, r, a, t, o, s, c, i).then((d) => d(this.axios, this.basePath));
2968
2753
  }
2969
2754
  /**
2970
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. On a package with a surface, the response shows only the sources the notebook may read.
2755
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2971
2756
  * @summary Get Malloy notebook cells
2972
2757
  * @param {string} environmentName Name of the environment
2973
2758
  * @param {string} packageName Name of the package
@@ -2981,7 +2766,7 @@ class Be extends I {
2981
2766
  return Q(this.configuration).getNotebook(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2982
2767
  }
2983
2768
  /**
2984
- * 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.
2769
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2985
2770
  * @summary List package notebooks
2986
2771
  * @param {string} environmentName Name of the environment
2987
2772
  * @param {string} packageName Name of the package
@@ -2994,10 +2779,10 @@ class Be extends I {
2994
2779
  return Q(this.configuration).listNotebooks(n, e, r, a).then((t) => t(this.axios, this.basePath));
2995
2780
  }
2996
2781
  }
2997
- const ct = {
2782
+ const et = {
2998
2783
  True: "true",
2999
2784
  False: "false"
3000
- }, Fe = function(c) {
2785
+ }, we = function(l) {
3001
2786
  return {
3002
2787
  /**
3003
2788
  * 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.
@@ -3011,11 +2796,11 @@ const ct = {
3011
2796
  m("createPackage", "environmentName", n), m("createPackage", "_package", e);
3012
2797
  const a = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), t = new URL(a, b);
3013
2798
  let o;
3014
- c && (o = c.baseOptions);
3015
- const s = { method: "POST", ...o, ...r }, l = {}, i = {};
3016
- l["Content-Type"] = "application/json", V(t, i);
2799
+ l && (o = l.baseOptions);
2800
+ const s = { method: "POST", ...o, ...r }, c = {}, i = {};
2801
+ c["Content-Type"] = "application/json", V(t, i);
3017
2802
  let d = o && o.headers ? o.headers : {};
3018
- return s.headers = { ...l, ...d, ...r.headers }, s.data = S(e, s, c), {
2803
+ return s.headers = { ...c, ...d, ...r.headers }, s.data = y(e, s, l), {
3019
2804
  url: v(t),
3020
2805
  options: s
3021
2806
  };
@@ -3032,11 +2817,11 @@ const ct = {
3032
2817
  m("deletePackage", "environmentName", n), m("deletePackage", "packageName", e);
3033
2818
  const a = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), t = new URL(a, b);
3034
2819
  let o;
3035
- c && (o = c.baseOptions);
3036
- const s = { method: "DELETE", ...o, ...r }, l = {};
2820
+ l && (o = l.baseOptions);
2821
+ const s = { method: "DELETE", ...o, ...r }, c = {};
3037
2822
  V(t, {});
3038
2823
  let d = o && o.headers ? o.headers : {};
3039
- return s.headers = { ...l, ...d, ...r.headers }, {
2824
+ return s.headers = { ...c, ...d, ...r.headers }, {
3040
2825
  url: v(t),
3041
2826
  options: s
3042
2827
  };
@@ -3054,12 +2839,12 @@ const ct = {
3054
2839
  getPackage: async (n, e, r, a, t = {}) => {
3055
2840
  m("getPackage", "environmentName", n), m("getPackage", "packageName", e);
3056
2841
  const o = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, b);
3057
- let l;
3058
- c && (l = c.baseOptions);
3059
- const i = { method: "GET", ...l, ...t }, d = {}, p = {};
2842
+ let c;
2843
+ l && (c = l.baseOptions);
2844
+ const i = { method: "GET", ...c, ...t }, d = {}, p = {};
3060
2845
  r !== void 0 && (p.versionId = r), a !== void 0 && (p.reload = a), V(s, p);
3061
- let u = l && l.headers ? l.headers : {};
3062
- return i.headers = { ...d, ...u, ...t.headers }, {
2846
+ let h = c && c.headers ? c.headers : {};
2847
+ return i.headers = { ...d, ...h, ...t.headers }, {
3063
2848
  url: v(s),
3064
2849
  options: i
3065
2850
  };
@@ -3075,7 +2860,7 @@ const ct = {
3075
2860
  m("listPackages", "environmentName", n);
3076
2861
  const r = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(r, b);
3077
2862
  let t;
3078
- c && (t = c.baseOptions);
2863
+ l && (t = l.baseOptions);
3079
2864
  const o = { method: "GET", ...t, ...e }, s = {};
3080
2865
  V(a, {});
3081
2866
  let i = t && t.headers ? t.headers : {};
@@ -3097,18 +2882,18 @@ const ct = {
3097
2882
  m("updatePackage", "environmentName", n), m("updatePackage", "packageName", e), m("updatePackage", "_package", r);
3098
2883
  const t = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, b);
3099
2884
  let s;
3100
- c && (s = c.baseOptions);
3101
- const l = { method: "PATCH", ...s, ...a }, i = {}, d = {};
2885
+ l && (s = l.baseOptions);
2886
+ const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
3102
2887
  i["Content-Type"] = "application/json", V(o, d);
3103
2888
  let p = s && s.headers ? s.headers : {};
3104
- return l.headers = { ...i, ...p, ...a.headers }, l.data = S(r, l, c), {
2889
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
3105
2890
  url: v(o),
3106
- options: l
2891
+ options: c
3107
2892
  };
3108
2893
  }
3109
2894
  };
3110
- }, w = function(c) {
3111
- const n = Fe(c);
2895
+ }, w = function(l) {
2896
+ const n = we(l);
3112
2897
  return {
3113
2898
  /**
3114
2899
  * 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.
@@ -3119,8 +2904,8 @@ const ct = {
3119
2904
  * @throws {RequiredError}
3120
2905
  */
3121
2906
  async createPackage(e, r, a) {
3122
- const t = await n.createPackage(e, r, a), o = c?.serverIndex ?? 0, s = P["PackagesApi.createPackage"]?.[o]?.url;
3123
- return (l, i) => O(t, h, g, c)(l, s || i);
2907
+ const t = await n.createPackage(e, r, a), o = l?.serverIndex ?? 0, s = P["PackagesApi.createPackage"]?.[o]?.url;
2908
+ return (c, i) => O(t, u, g, l)(c, s || i);
3124
2909
  },
3125
2910
  /**
3126
2911
  * 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.
@@ -3131,8 +2916,8 @@ const ct = {
3131
2916
  * @throws {RequiredError}
3132
2917
  */
3133
2918
  async deletePackage(e, r, a) {
3134
- const t = await n.deletePackage(e, r, a), o = c?.serverIndex ?? 0, s = P["PackagesApi.deletePackage"]?.[o]?.url;
3135
- return (l, i) => O(t, h, g, c)(l, s || i);
2919
+ const t = await n.deletePackage(e, r, a), o = l?.serverIndex ?? 0, s = P["PackagesApi.deletePackage"]?.[o]?.url;
2920
+ return (c, i) => O(t, u, g, l)(c, s || i);
3136
2921
  },
3137
2922
  /**
3138
2923
  * 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.
@@ -3145,8 +2930,8 @@ const ct = {
3145
2930
  * @throws {RequiredError}
3146
2931
  */
3147
2932
  async getPackage(e, r, a, t, o) {
3148
- const s = await n.getPackage(e, r, a, t, o), l = c?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[l]?.url;
3149
- return (d, p) => O(s, h, g, c)(d, i || p);
2933
+ const s = await n.getPackage(e, r, a, t, o), c = l?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[c]?.url;
2934
+ return (d, p) => O(s, u, g, l)(d, i || p);
3150
2935
  },
3151
2936
  /**
3152
2937
  * 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`.
@@ -3156,8 +2941,8 @@ const ct = {
3156
2941
  * @throws {RequiredError}
3157
2942
  */
3158
2943
  async listPackages(e, r) {
3159
- const a = await n.listPackages(e, r), t = c?.serverIndex ?? 0, o = P["PackagesApi.listPackages"]?.[t]?.url;
3160
- return (s, l) => O(a, h, g, c)(s, o || l);
2944
+ const a = await n.listPackages(e, r), t = l?.serverIndex ?? 0, o = P["PackagesApi.listPackages"]?.[t]?.url;
2945
+ return (s, c) => O(a, u, g, l)(s, o || c);
3161
2946
  },
3162
2947
  /**
3163
2948
  * 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.
@@ -3169,12 +2954,12 @@ const ct = {
3169
2954
  * @throws {RequiredError}
3170
2955
  */
3171
2956
  async updatePackage(e, r, a, t) {
3172
- const o = await n.updatePackage(e, r, a, t), s = c?.serverIndex ?? 0, l = P["PackagesApi.updatePackage"]?.[s]?.url;
3173
- return (i, d) => O(o, h, g, c)(i, l || d);
2957
+ const o = await n.updatePackage(e, r, a, t), s = l?.serverIndex ?? 0, c = P["PackagesApi.updatePackage"]?.[s]?.url;
2958
+ return (i, d) => O(o, u, g, l)(i, c || d);
3174
2959
  }
3175
2960
  };
3176
- }, it = function(c, n, e) {
3177
- const r = w(c);
2961
+ }, at = function(l, n, e) {
2962
+ const r = w(l);
3178
2963
  return {
3179
2964
  /**
3180
2965
  * 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.
@@ -3208,8 +2993,8 @@ const ct = {
3208
2993
  * @param {*} [options] Override http request option.
3209
2994
  * @throws {RequiredError}
3210
2995
  */
3211
- getPackage(a, t, o, s, l) {
3212
- return r.getPackage(a, t, o, s, l).then((i) => i(e, n));
2996
+ getPackage(a, t, o, s, c) {
2997
+ return r.getPackage(a, t, o, s, c).then((i) => i(e, n));
3213
2998
  },
3214
2999
  /**
3215
3000
  * 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`.
@@ -3231,11 +3016,11 @@ const ct = {
3231
3016
  * @throws {RequiredError}
3232
3017
  */
3233
3018
  updatePackage(a, t, o, s) {
3234
- return r.updatePackage(a, t, o, s).then((l) => l(e, n));
3019
+ return r.updatePackage(a, t, o, s).then((c) => c(e, n));
3235
3020
  }
3236
3021
  };
3237
3022
  };
3238
- class Qe extends I {
3023
+ class Ee extends I {
3239
3024
  /**
3240
3025
  * 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.
3241
3026
  * @summary Create a new package
@@ -3299,7 +3084,7 @@ class Qe extends I {
3299
3084
  return w(this.configuration).updatePackage(n, e, r, a).then((t) => t(this.axios, this.basePath));
3300
3085
  }
3301
3086
  }
3302
- const $e = function(c) {
3087
+ const Me = function(l) {
3303
3088
  return {
3304
3089
  /**
3305
3090
  * 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.
@@ -3310,11 +3095,11 @@ const $e = function(c) {
3310
3095
  deleteTheme: async (n = {}) => {
3311
3096
  const e = "/theme", r = new URL(e, b);
3312
3097
  let a;
3313
- c && (a = c.baseOptions);
3098
+ l && (a = l.baseOptions);
3314
3099
  const t = { method: "DELETE", ...a, ...n }, o = {};
3315
3100
  V(r, {});
3316
- let l = a && a.headers ? a.headers : {};
3317
- return t.headers = { ...o, ...l, ...n.headers }, {
3101
+ let c = a && a.headers ? a.headers : {};
3102
+ return t.headers = { ...o, ...c, ...n.headers }, {
3318
3103
  url: v(r),
3319
3104
  options: t
3320
3105
  };
@@ -3328,11 +3113,11 @@ const $e = function(c) {
3328
3113
  getStatus: async (n = {}) => {
3329
3114
  const e = "/status", r = new URL(e, b);
3330
3115
  let a;
3331
- c && (a = c.baseOptions);
3116
+ l && (a = l.baseOptions);
3332
3117
  const t = { method: "GET", ...a, ...n }, o = {};
3333
3118
  V(r, {});
3334
- let l = a && a.headers ? a.headers : {};
3335
- return t.headers = { ...o, ...l, ...n.headers }, {
3119
+ let c = a && a.headers ? a.headers : {};
3120
+ return t.headers = { ...o, ...c, ...n.headers }, {
3336
3121
  url: v(r),
3337
3122
  options: t
3338
3123
  };
@@ -3346,11 +3131,11 @@ const $e = function(c) {
3346
3131
  getTheme: async (n = {}) => {
3347
3132
  const e = "/theme", r = new URL(e, b);
3348
3133
  let a;
3349
- c && (a = c.baseOptions);
3134
+ l && (a = l.baseOptions);
3350
3135
  const t = { method: "GET", ...a, ...n }, o = {};
3351
3136
  V(r, {});
3352
- let l = a && a.headers ? a.headers : {};
3353
- return t.headers = { ...o, ...l, ...n.headers }, {
3137
+ let c = a && a.headers ? a.headers : {};
3138
+ return t.headers = { ...o, ...c, ...n.headers }, {
3354
3139
  url: v(r),
3355
3140
  options: t
3356
3141
  };
@@ -3366,18 +3151,18 @@ const $e = function(c) {
3366
3151
  m("updateTheme", "theme", n);
3367
3152
  const r = "/theme", a = new URL(r, b);
3368
3153
  let t;
3369
- c && (t = c.baseOptions);
3370
- const o = { method: "PUT", ...t, ...e }, s = {}, l = {};
3371
- s["Content-Type"] = "application/json", V(a, l);
3154
+ l && (t = l.baseOptions);
3155
+ const o = { method: "PUT", ...t, ...e }, s = {}, c = {};
3156
+ s["Content-Type"] = "application/json", V(a, c);
3372
3157
  let i = t && t.headers ? t.headers : {};
3373
- return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, c), {
3158
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
3374
3159
  url: v(a),
3375
3160
  options: o
3376
3161
  };
3377
3162
  }
3378
3163
  };
3379
- }, M = function(c) {
3380
- const n = $e(c);
3164
+ }, M = function(l) {
3165
+ const n = Me(l);
3381
3166
  return {
3382
3167
  /**
3383
3168
  * 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.
@@ -3386,8 +3171,8 @@ const $e = function(c) {
3386
3171
  * @throws {RequiredError}
3387
3172
  */
3388
3173
  async deleteTheme(e) {
3389
- const r = await n.deleteTheme(e), a = c?.serverIndex ?? 0, t = P["PublisherApi.deleteTheme"]?.[a]?.url;
3390
- return (o, s) => O(r, h, g, c)(o, t || s);
3174
+ const r = await n.deleteTheme(e), a = l?.serverIndex ?? 0, t = P["PublisherApi.deleteTheme"]?.[a]?.url;
3175
+ return (o, s) => O(r, u, g, l)(o, t || s);
3391
3176
  },
3392
3177
  /**
3393
3178
  * 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.
@@ -3396,8 +3181,8 @@ const $e = function(c) {
3396
3181
  * @throws {RequiredError}
3397
3182
  */
3398
3183
  async getStatus(e) {
3399
- const r = await n.getStatus(e), a = c?.serverIndex ?? 0, t = P["PublisherApi.getStatus"]?.[a]?.url;
3400
- return (o, s) => O(r, h, g, c)(o, t || s);
3184
+ const r = await n.getStatus(e), a = l?.serverIndex ?? 0, t = P["PublisherApi.getStatus"]?.[a]?.url;
3185
+ return (o, s) => O(r, u, g, l)(o, t || s);
3401
3186
  },
3402
3187
  /**
3403
3188
  * 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.
@@ -3406,8 +3191,8 @@ const $e = function(c) {
3406
3191
  * @throws {RequiredError}
3407
3192
  */
3408
3193
  async getTheme(e) {
3409
- const r = await n.getTheme(e), a = c?.serverIndex ?? 0, t = P["PublisherApi.getTheme"]?.[a]?.url;
3410
- return (o, s) => O(r, h, g, c)(o, t || s);
3194
+ const r = await n.getTheme(e), a = l?.serverIndex ?? 0, t = P["PublisherApi.getTheme"]?.[a]?.url;
3195
+ return (o, s) => O(r, u, g, l)(o, t || s);
3411
3196
  },
3412
3197
  /**
3413
3198
  * Persists the supplied theme as the new instance theme. Returns the saved theme. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3417,12 +3202,12 @@ const $e = function(c) {
3417
3202
  * @throws {RequiredError}
3418
3203
  */
3419
3204
  async updateTheme(e, r) {
3420
- const a = await n.updateTheme(e, r), t = c?.serverIndex ?? 0, o = P["PublisherApi.updateTheme"]?.[t]?.url;
3421
- return (s, l) => O(a, h, g, c)(s, o || l);
3205
+ const a = await n.updateTheme(e, r), t = l?.serverIndex ?? 0, o = P["PublisherApi.updateTheme"]?.[t]?.url;
3206
+ return (s, c) => O(a, u, g, l)(s, o || c);
3422
3207
  }
3423
3208
  };
3424
- }, dt = function(c, n, e) {
3425
- const r = M(c);
3209
+ }, tt = function(l, n, e) {
3210
+ const r = M(l);
3426
3211
  return {
3427
3212
  /**
3428
3213
  * 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.
@@ -3463,7 +3248,7 @@ const $e = function(c) {
3463
3248
  }
3464
3249
  };
3465
3250
  };
3466
- class qe extends I {
3251
+ class fe extends I {
3467
3252
  /**
3468
3253
  * 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.
3469
3254
  * @summary Reset the instance theme to the boot seed or default
@@ -3506,7 +3291,7 @@ class qe extends I {
3506
3291
  return M(this.configuration).updateTheme(n, e).then((r) => r(this.axios, this.basePath));
3507
3292
  }
3508
3293
  }
3509
- const De = function(c) {
3294
+ const Be = function(l) {
3510
3295
  return {
3511
3296
  /**
3512
3297
  * 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.
@@ -3517,11 +3302,11 @@ const De = function(c) {
3517
3302
  getWatchStatus: async (n = {}) => {
3518
3303
  const e = "/watch-mode/status", r = new URL(e, b);
3519
3304
  let a;
3520
- c && (a = c.baseOptions);
3305
+ l && (a = l.baseOptions);
3521
3306
  const t = { method: "GET", ...a, ...n }, o = {};
3522
3307
  V(r, {});
3523
- let l = a && a.headers ? a.headers : {};
3524
- return t.headers = { ...o, ...l, ...n.headers }, {
3308
+ let c = a && a.headers ? a.headers : {};
3309
+ return t.headers = { ...o, ...c, ...n.headers }, {
3525
3310
  url: v(r),
3526
3311
  options: t
3527
3312
  };
@@ -3537,11 +3322,11 @@ const De = function(c) {
3537
3322
  m("startWatching", "startWatchRequest", n);
3538
3323
  const r = "/watch-mode/start", a = new URL(r, b);
3539
3324
  let t;
3540
- c && (t = c.baseOptions);
3541
- const o = { method: "POST", ...t, ...e }, s = {}, l = {};
3542
- s["Content-Type"] = "application/json", V(a, l);
3325
+ l && (t = l.baseOptions);
3326
+ const o = { method: "POST", ...t, ...e }, s = {}, c = {};
3327
+ s["Content-Type"] = "application/json", V(a, c);
3543
3328
  let i = t && t.headers ? t.headers : {};
3544
- return o.headers = { ...s, ...i, ...e.headers }, o.data = S(n, o, c), {
3329
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
3545
3330
  url: v(a),
3546
3331
  options: o
3547
3332
  };
@@ -3555,11 +3340,11 @@ const De = function(c) {
3555
3340
  stopWatching: async (n = {}) => {
3556
3341
  const e = "/watch-mode/stop", r = new URL(e, b);
3557
3342
  let a;
3558
- c && (a = c.baseOptions);
3343
+ l && (a = l.baseOptions);
3559
3344
  const t = { method: "POST", ...a, ...n }, o = {};
3560
3345
  V(r, {});
3561
- let l = a && a.headers ? a.headers : {};
3562
- return t.headers = { ...o, ...l, ...n.headers }, {
3346
+ let c = a && a.headers ? a.headers : {};
3347
+ return t.headers = { ...o, ...c, ...n.headers }, {
3563
3348
  url: v(r),
3564
3349
  options: t
3565
3350
  };
@@ -3576,18 +3361,18 @@ const De = function(c) {
3576
3361
  m("streamPackageEvents", "environmentName", n), m("streamPackageEvents", "packageName", e);
3577
3362
  const a = "/environments/{environmentName}/packages/{packageName}/events".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), t = new URL(a, b);
3578
3363
  let o;
3579
- c && (o = c.baseOptions);
3580
- const s = { method: "GET", ...o, ...r }, l = {};
3364
+ l && (o = l.baseOptions);
3365
+ const s = { method: "GET", ...o, ...r }, c = {};
3581
3366
  V(t, {});
3582
3367
  let d = o && o.headers ? o.headers : {};
3583
- return s.headers = { ...l, ...d, ...r.headers }, {
3368
+ return s.headers = { ...c, ...d, ...r.headers }, {
3584
3369
  url: v(t),
3585
3370
  options: s
3586
3371
  };
3587
3372
  }
3588
3373
  };
3589
- }, f = function(c) {
3590
- const n = De(c);
3374
+ }, f = function(l) {
3375
+ const n = Be(l);
3591
3376
  return {
3592
3377
  /**
3593
3378
  * 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.
@@ -3596,8 +3381,8 @@ const De = function(c) {
3596
3381
  * @throws {RequiredError}
3597
3382
  */
3598
3383
  async getWatchStatus(e) {
3599
- const r = await n.getWatchStatus(e), a = c?.serverIndex ?? 0, t = P["WatchModeApi.getWatchStatus"]?.[a]?.url;
3600
- return (o, s) => O(r, h, g, c)(o, t || s);
3384
+ const r = await n.getWatchStatus(e), a = l?.serverIndex ?? 0, t = P["WatchModeApi.getWatchStatus"]?.[a]?.url;
3385
+ return (o, s) => O(r, u, g, l)(o, t || s);
3601
3386
  },
3602
3387
  /**
3603
3388
  * 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.
@@ -3607,8 +3392,8 @@ const De = function(c) {
3607
3392
  * @throws {RequiredError}
3608
3393
  */
3609
3394
  async startWatching(e, r) {
3610
- const a = await n.startWatching(e, r), t = c?.serverIndex ?? 0, o = P["WatchModeApi.startWatching"]?.[t]?.url;
3611
- return (s, l) => O(a, h, g, c)(s, o || l);
3395
+ const a = await n.startWatching(e, r), t = l?.serverIndex ?? 0, o = P["WatchModeApi.startWatching"]?.[t]?.url;
3396
+ return (s, c) => O(a, u, g, l)(s, o || c);
3612
3397
  },
3613
3398
  /**
3614
3399
  * 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.
@@ -3617,8 +3402,8 @@ const De = function(c) {
3617
3402
  * @throws {RequiredError}
3618
3403
  */
3619
3404
  async stopWatching(e) {
3620
- const r = await n.stopWatching(e), a = c?.serverIndex ?? 0, t = P["WatchModeApi.stopWatching"]?.[a]?.url;
3621
- return (o, s) => O(r, h, g, c)(o, t || s);
3405
+ const r = await n.stopWatching(e), a = l?.serverIndex ?? 0, t = P["WatchModeApi.stopWatching"]?.[a]?.url;
3406
+ return (o, s) => O(r, u, g, l)(o, t || s);
3622
3407
  },
3623
3408
  /**
3624
3409
  * 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.
@@ -3629,12 +3414,12 @@ const De = function(c) {
3629
3414
  * @throws {RequiredError}
3630
3415
  */
3631
3416
  async streamPackageEvents(e, r, a) {
3632
- const t = await n.streamPackageEvents(e, r, a), o = c?.serverIndex ?? 0, s = P["WatchModeApi.streamPackageEvents"]?.[o]?.url;
3633
- return (l, i) => O(t, h, g, c)(l, s || i);
3417
+ const t = await n.streamPackageEvents(e, r, a), o = l?.serverIndex ?? 0, s = P["WatchModeApi.streamPackageEvents"]?.[o]?.url;
3418
+ return (c, i) => O(t, u, g, l)(c, s || i);
3634
3419
  }
3635
3420
  };
3636
- }, pt = function(c, n, e) {
3637
- const r = f(c);
3421
+ }, rt = function(l, n, e) {
3422
+ const r = f(l);
3638
3423
  return {
3639
3424
  /**
3640
3425
  * 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.
@@ -3677,7 +3462,7 @@ const De = function(c) {
3677
3462
  }
3678
3463
  };
3679
3464
  };
3680
- class ze extends I {
3465
+ class Fe extends I {
3681
3466
  /**
3682
3467
  * 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.
3683
3468
  * @summary Get watch mode status
@@ -3722,7 +3507,7 @@ class ze extends I {
3722
3507
  return f(this.configuration).streamPackageEvents(n, e, r).then((a) => a(this.axios, this.basePath));
3723
3508
  }
3724
3509
  }
3725
- class Le {
3510
+ class Qe {
3726
3511
  /**
3727
3512
  * parameter for apiKey security
3728
3513
  * @param name security name
@@ -3802,6 +3587,244 @@ class Le {
3802
3587
  return n !== null && (e.test(n) || n.toLowerCase() === "application/json-patch+json");
3803
3588
  }
3804
3589
  }
3590
+ const C = {
3591
+ blue: "#2563eb",
3592
+ indigo: "#4f46e5",
3593
+ violet: "#7c3aed",
3594
+ pink: "#be185d",
3595
+ red: "#dc2626",
3596
+ orange: "#c2410c",
3597
+ amber: "#b45309",
3598
+ lime: "#4d7c0f",
3599
+ emerald: "#059669",
3600
+ teal: "#0f766e",
3601
+ cyan: "#0e7490",
3602
+ slate: "#475569"
3603
+ }, nt = {
3604
+ environment: C.emerald,
3605
+ package: C.teal,
3606
+ connection: C.orange
3607
+ }, ot = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', st = x(pe)({
3608
+ display: "flex",
3609
+ flexDirection: "column",
3610
+ height: "100%",
3611
+ boxShadow: "none",
3612
+ border: "none",
3613
+ backgroundColor: "transparent"
3614
+ }), lt = x(me)({
3615
+ display: "flex",
3616
+ flexDirection: "column",
3617
+ padding: "0",
3618
+ flexGrow: 1
3619
+ }), ct = x(he)({
3620
+ padding: "0"
3621
+ }), it = x("div")(({ theme: l }) => ({
3622
+ backgroundColor: l.palette.background.default,
3623
+ padding: "0 8px 0px 8px",
3624
+ borderRadius: "12px",
3625
+ boxShadow: "none",
3626
+ border: "none",
3627
+ maxWidth: "1200px",
3628
+ margin: "0 auto"
3629
+ })), dt = x("div")({
3630
+ marginBottom: "48px",
3631
+ padding: "0",
3632
+ backgroundColor: "transparent",
3633
+ border: "none",
3634
+ boxShadow: "none"
3635
+ }), pt = x("div")({
3636
+ backgroundColor: "transparent",
3637
+ paddingTop: "12px",
3638
+ paddingBottom: "2px",
3639
+ borderRadius: "8px",
3640
+ border: "none",
3641
+ boxShadow: "none",
3642
+ marginBottom: "0"
3643
+ }), mt = x("div")({
3644
+ height: "100%"
3645
+ }), ht = x("div")({
3646
+ height: "75vh",
3647
+ width: "100%",
3648
+ overflowY: "auto"
3649
+ }), $e = [
3650
+ C.blue,
3651
+ C.orange,
3652
+ C.emerald,
3653
+ C.pink,
3654
+ C.violet,
3655
+ C.amber,
3656
+ C.cyan,
3657
+ C.lime
3658
+ ], qe = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", W = {
3659
+ defaultMode: "light",
3660
+ allowUserToggle: !0,
3661
+ palette: {
3662
+ series: $e,
3663
+ // The chart canvas. One ground for the whole dashboard in both modes —
3664
+ // canvas, card and the panel between cards are all this value, and the
3665
+ // borders do the separating. See `tile`.
3666
+ background: {
3667
+ light: "#ffffff",
3668
+ dark: "#0f172a"
3669
+ },
3670
+ tableHeader: {
3671
+ light: "#475569",
3672
+ dark: "#cbd5e1"
3673
+ },
3674
+ // Background of the table header row, independent of the
3675
+ // tile (dashboard tile container) so the operator can theme
3676
+ // the header band on its own.
3677
+ tableHeaderBackground: {
3678
+ light: "#f8fafc",
3679
+ dark: "#1e293b"
3680
+ },
3681
+ tableBody: {
3682
+ light: "#475569",
3683
+ dark: "#e2e8f0"
3684
+ },
3685
+ // The padded container that wraps each chart / table in a dashboard.
3686
+ //
3687
+ // The SAME value as the canvas it holds and the panel it sits on, in
3688
+ // both modes: a card is separated by its border and its radius, not by
3689
+ // a wash. A tinted card reads as a recess — something switched off —
3690
+ // and stacking card, canvas and panel as three values put three greys
3691
+ // on one tile.
3692
+ //
3693
+ // Both modes are built the same way on purpose. They used to differ in
3694
+ // structure, not just in value — light separated by border, dark by
3695
+ // elevation — so a change to how a card reads had to be reasoned about
3696
+ // twice and could land correct in one mode and wrong in the other.
3697
+ tile: {
3698
+ light: "#ffffff",
3699
+ dark: "#0f172a"
3700
+ },
3701
+ tileTitle: {
3702
+ light: "#475569",
3703
+ dark: "#94a3b8"
3704
+ },
3705
+ // Saturated end of the choropleth / heatmap gradient. The renderer
3706
+ // pairs this with a near-neutral low end. Matches the first series
3707
+ // colour, so a map and a chart on one page ramp to the same hue.
3708
+ mapColor: {
3709
+ light: C.blue,
3710
+ dark: C.blue
3711
+ }
3712
+ },
3713
+ font: {
3714
+ family: qe,
3715
+ size: 12
3716
+ }
3717
+ }, De = [
3718
+ "background",
3719
+ "tableHeader",
3720
+ "tableHeaderBackground",
3721
+ "tableBody",
3722
+ "tile",
3723
+ "tileTitle",
3724
+ "mapColor"
3725
+ ];
3726
+ function Z(l, n) {
3727
+ const e = W.palette ?? {}, r = W.font ?? {
3728
+ family: "sans-serif",
3729
+ size: 12
3730
+ };
3731
+ let a = [...e.series ?? []], t = r.family ?? "sans-serif", o = r.size ?? 12;
3732
+ const s = {
3733
+ background: { ...e.background ?? {} },
3734
+ tableHeader: { ...e.tableHeader ?? {} },
3735
+ tableHeaderBackground: {
3736
+ ...e.tableHeaderBackground ?? {}
3737
+ },
3738
+ tableBody: { ...e.tableBody ?? {} },
3739
+ tile: { ...e.tile ?? {} },
3740
+ tileTitle: { ...e.tileTitle ?? {} },
3741
+ mapColor: { ...e.mapColor ?? {} }
3742
+ };
3743
+ for (const p of l)
3744
+ if (p) {
3745
+ Array.isArray(p.palette?.series) && (a = [...p.palette.series]);
3746
+ for (const h of De) {
3747
+ const S = p.palette?.[h];
3748
+ S && (s[h] = { ...s[h], ...S });
3749
+ }
3750
+ typeof p.font?.family == "string" && (t = p.font.family), typeof p.font?.size == "number" && (o = p.font.size);
3751
+ }
3752
+ const c = n === "dark", i = (p) => s[p][n] ?? e[p]?.[n], d = i("background");
3753
+ return {
3754
+ mode: n,
3755
+ series: a,
3756
+ font: { family: t, size: o },
3757
+ background: d,
3758
+ tableHeader: i("tableHeader"),
3759
+ tableHeaderBackground: i("tableHeaderBackground"),
3760
+ tableBody: i("tableBody"),
3761
+ tile: i("tile"),
3762
+ tileTitle: i("tileTitle"),
3763
+ mapColor: i("mapColor"),
3764
+ // Table interior follows the operator's chart background so
3765
+ // tables and chart canvases share a single "viz surface" colour.
3766
+ tableBackground: d,
3767
+ // Derived, mode-keyed defaults. Operators don't edit these in
3768
+ // v1; they're consistent borders / readable foreground text for
3769
+ // each mode. If a user later asks to customise them, expose them
3770
+ // on the schema and the editor and replace the literals below.
3771
+ border: c ? "1px solid #334155" : "1px solid #e2e8f0",
3772
+ // A card's edge, one stop darker than a table's gridline on the same
3773
+ // slate ramp. See `cardBorder` on ResolvedTheme for why the two are not
3774
+ // the same value.
3775
+ cardBorder: c ? "1px solid #475569" : "1px solid #cbd5e1",
3776
+ // Slate, not the teal-cast `#daedf3` this was: a pinned table header
3777
+ // outlined in a hue no longer anywhere else on the page.
3778
+ pinnedBorder: c ? "1px solid #475569" : "1px solid #cbd5e1",
3779
+ valueColor: c ? "#f1f5f9" : "#0f172a",
3780
+ foreground: c ? "#e2e8f0" : "#0f172a",
3781
+ axisFaint: c ? "#475569" : "#cbd5e1",
3782
+ // Dashboard panel background (the area BETWEEN tiles). The page's own
3783
+ // ground in both modes, so the panel, the cards on it and the canvases
3784
+ // inside them are one surface that borders divide up — see
3785
+ // `palette.tile`.
3786
+ //
3787
+ // Still NOT tied to `palette.background`, which an operator may set to
3788
+ // a bold accent for the chart canvas. The panel stays the neutral it is
3789
+ // here so that accent cannot bleed into the surrounding chrome.
3790
+ dashboardRoot: c ? "#0f172a" : "#ffffff",
3791
+ // Drill link hover: the palette's anchor blue, so a drill reads as the
3792
+ // same affordance as every other primary action; dark lightens it for
3793
+ // contrast on the slate panel.
3794
+ drillLink: c ? "#60a5fa" : C.blue
3795
+ };
3796
+ }
3797
+ function ze(l, n, e) {
3798
+ const r = n ?? l ?? "light";
3799
+ return r === "auto" ? e ? "dark" : "light" : r;
3800
+ }
3801
+ const ee = Y(void 0);
3802
+ function Le({
3803
+ layers: l,
3804
+ mode: n,
3805
+ userChoice: e,
3806
+ setMode: r,
3807
+ allowUserToggle: a = !0,
3808
+ children: t
3809
+ }) {
3810
+ const o = B(() => Z(l, n), [l, n]), s = B(
3811
+ () => ({ theme: o, layers: l, mode: n, userChoice: e, setMode: r, allowUserToggle: a }),
3812
+ [o, l, n, e, r, a]
3813
+ );
3814
+ return /* @__PURE__ */ F(ee.Provider, { value: s, children: t });
3815
+ }
3816
+ function ut() {
3817
+ const l = G(ee);
3818
+ return l || {
3819
+ theme: Z([], "light"),
3820
+ layers: [],
3821
+ mode: "light",
3822
+ userChoice: void 0,
3823
+ setMode: () => {
3824
+ },
3825
+ allowUserToggle: !1
3826
+ };
3827
+ }
3805
3828
  const je = new se({
3806
3829
  defaultOptions: {
3807
3830
  queries: {
@@ -3813,7 +3836,7 @@ const je = new se({
3813
3836
  throwOnError: !1
3814
3837
  }
3815
3838
  }
3816
- }), mt = {
3839
+ }), gt = {
3817
3840
  staleTime: 300 * 1e3,
3818
3841
  refetchOnWindowFocus: !1,
3819
3842
  refetchOnReconnect: !1
@@ -3821,25 +3844,25 @@ const je = new se({
3821
3844
  function He() {
3822
3845
  if (!(typeof window > "u"))
3823
3846
  try {
3824
- const c = window.localStorage.getItem(L);
3825
- if (c === "light" || c === "dark" || c === "auto") return c;
3847
+ const l = window.localStorage.getItem(L);
3848
+ if (l === "light" || l === "dark" || l === "auto") return l;
3826
3849
  } catch {
3827
3850
  }
3828
3851
  }
3829
- function _e(c) {
3852
+ function _e(l) {
3830
3853
  if (!(typeof window > "u"))
3831
3854
  try {
3832
- c === void 0 ? window.localStorage.removeItem(L) : window.localStorage.setItem(L, c);
3855
+ l === void 0 ? window.localStorage.removeItem(L) : window.localStorage.setItem(L, l);
3833
3856
  } catch {
3834
3857
  }
3835
3858
  }
3836
3859
  function We() {
3837
3860
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches;
3838
3861
  }
3839
- h.defaults.baseURL || (h.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3840
- const ae = G(void 0), Ge = (c, n) => {
3841
- const e = `${window.location.protocol}//${window.location.host}/api/v0`, r = h.create({
3842
- baseURL: c || e,
3862
+ u.defaults.baseURL || (u.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3863
+ const ae = Y(void 0), Ge = (l, n) => {
3864
+ const e = `${window.location.protocol}//${window.location.host}/api/v0`, r = u.create({
3865
+ baseURL: l || e,
3843
3866
  withCredentials: !0,
3844
3867
  timeout: 6e5
3845
3868
  });
@@ -3847,26 +3870,26 @@ const ae = G(void 0), Ge = (c, n) => {
3847
3870
  const o = await n?.();
3848
3871
  return t.headers.Authorization = o || "", t;
3849
3872
  });
3850
- const a = new Le({ basePath: e });
3873
+ const a = new Qe({ basePath: e });
3851
3874
  return {
3852
- models: new Me(a, e, r),
3853
- publisher: new qe(a, e, r),
3854
- environments: new Te(a, e, r),
3855
- packages: new Qe(a, e, r),
3856
- dashboards: new Ce(a, e, r),
3857
- dataApps: new Ae(a, e, r),
3858
- notebooks: new Be(a, e, r),
3859
- connections: new Se(a, e, r),
3860
- databases: new Re(a, e, r),
3861
- materializations: new we(
3875
+ models: new Ne(a, e, r),
3876
+ publisher: new fe(a, e, r),
3877
+ environments: new Ie(a, e, r),
3878
+ packages: new Ee(a, e, r),
3879
+ dashboards: new ve(a, e, r),
3880
+ dataApps: new Se(a, e, r),
3881
+ notebooks: new Ue(a, e, r),
3882
+ connections: new Pe(a, e, r),
3883
+ databases: new ke(a, e, r),
3884
+ materializations: new xe(
3862
3885
  a,
3863
3886
  e,
3864
3887
  r
3865
3888
  ),
3866
- watchMode: new ze(a, e, r)
3889
+ watchMode: new Fe(a, e, r)
3867
3890
  };
3868
- }, ht = (c) => /* @__PURE__ */ F(le, { client: je, children: /* @__PURE__ */ F(Ye, { ...c }) }), Ye = ({
3869
- children: c,
3891
+ }, Pt = (l) => /* @__PURE__ */ F(le, { client: je, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
3892
+ children: l,
3870
3893
  getAccessToken: n,
3871
3894
  baseURL: e,
3872
3895
  mutable: r,
@@ -3880,13 +3903,13 @@ const ae = G(void 0), Ge = (c, n) => {
3880
3903
  queryFn: async () => (await t.publisher.getStatus()).data
3881
3904
  });
3882
3905
  s.error && console.error("Failed to fetch publisher status:", s.error);
3883
- const l = s.data?.frozenConfig, i = s.data?.theme, d = s.isLoading;
3906
+ const c = s.data?.frozenConfig, i = s.data?.theme, d = s.isLoading;
3884
3907
  let p;
3885
- s.isLoading || s.error ? p = r : l ? p = !1 : p = r ?? !0;
3886
- const u = B(
3908
+ s.isLoading || s.error ? p = r : c ? p = !1 : p = r ?? !0;
3909
+ const h = B(
3887
3910
  () => [i, a],
3888
3911
  [i, a]
3889
- ), [k, E] = _(
3912
+ ), [S, E] = _(
3890
3913
  He
3891
3914
  ), [A, $] = _(We);
3892
3915
  ie(() => {
@@ -3896,8 +3919,8 @@ const ae = G(void 0), Ge = (c, n) => {
3896
3919
  }, []);
3897
3920
  const te = de((R) => {
3898
3921
  E(R), _e(R);
3899
- }, []), j = i?.allowUserToggle ?? !0, q = j ? k : void 0, re = B(
3900
- () => be(
3922
+ }, []), j = i?.allowUserToggle ?? !0, q = j ? S : void 0, re = B(
3923
+ () => ze(
3901
3924
  i?.defaultMode,
3902
3925
  q,
3903
3926
  A
@@ -3912,132 +3935,135 @@ const ae = G(void 0), Ge = (c, n) => {
3912
3935
  instanceTheme: i
3913
3936
  };
3914
3937
  return /* @__PURE__ */ F(ae.Provider, { value: ne, children: /* @__PURE__ */ F(
3915
- Ve,
3938
+ Le,
3916
3939
  {
3917
- layers: u,
3940
+ layers: h,
3918
3941
  mode: re,
3919
3942
  userChoice: q,
3920
3943
  setMode: te,
3921
3944
  allowUserToggle: j,
3922
- children: c
3945
+ children: l
3923
3946
  }
3924
3947
  ) });
3925
- }, ut = () => {
3926
- const c = Y(ae);
3927
- if (c === void 0)
3948
+ }, bt = () => {
3949
+ const l = G(ae);
3950
+ if (l === void 0)
3928
3951
  throw new Error("useServer must be used within a ServerProvider");
3929
- return c;
3952
+ return l;
3930
3953
  };
3931
3954
  export {
3932
- Ce as $,
3933
- ma as A,
3934
- Wa as B,
3935
- ua as C,
3936
- Oa as D,
3937
- Ga as E,
3938
- ya as F,
3939
- Ca as G,
3955
+ U as $,
3956
+ aa as A,
3957
+ Ga as B,
3958
+ ra as C,
3959
+ ve as D,
3960
+ X as E,
3961
+ Ie as F,
3962
+ Ce as G,
3940
3963
  Ya as H,
3941
- Oe as I,
3942
- y as J,
3943
- Ka as K,
3944
- Ia as L,
3945
- xa as M,
3946
- Ua as N,
3947
- Se as O,
3948
- Ea as P,
3949
- Da as Q,
3950
- ja as R,
3951
- ht as S,
3952
- Ja as T,
3953
- ye as U,
3954
- X as V,
3955
- Xa as W,
3956
- Za as X,
3957
- ke as Y,
3958
- z as Z,
3959
- et as _,
3960
- ha as a,
3961
- Ie as a0,
3962
- Z as a1,
3963
- at as a2,
3964
- Ae as a3,
3965
- xe as a4,
3966
- ee as a5,
3967
- tt as a6,
3968
- Re as a7,
3969
- Ne as a8,
3970
- N as a9,
3971
- pt as aA,
3972
- ze as aB,
3973
- Le as aC,
3974
- Pe as aD,
3975
- pa as aE,
3976
- J as aF,
3977
- ta as aG,
3978
- aa as aH,
3979
- ca as aI,
3980
- sa as aJ,
3981
- la as aK,
3982
- C as aL,
3983
- W as aM,
3984
- be as aN,
3985
- Ve as aO,
3986
- mt as aP,
3987
- oa as aQ,
3988
- ia as aR,
3989
- da as aS,
3990
- ra as aT,
3991
- na as aU,
3992
- rt as aa,
3993
- Te as ab,
3994
- Ue as ac,
3995
- T as ad,
3996
- nt as ae,
3964
+ N as I,
3965
+ et as J,
3966
+ pa as K,
3967
+ ma as L,
3968
+ ha as M,
3969
+ ua as N,
3970
+ ga as O,
3971
+ ba as P,
3972
+ Pa as Q,
3973
+ Va as R,
3974
+ Ja as S,
3975
+ va as T,
3976
+ xe as U,
3977
+ Ae as V,
3978
+ Ka as W,
3979
+ T as X,
3980
+ Ne as Y,
3981
+ Re as Z,
3982
+ Xa as _,
3983
+ ta as a,
3984
+ Sa as a0,
3985
+ ka as a1,
3986
+ ya as a2,
3987
+ Oa as a3,
3988
+ Ue as a4,
3989
+ Te as a5,
3990
+ Za as a6,
3991
+ Q as a7,
3992
+ xa as a8,
3993
+ Aa as a9,
3994
+ Fe as aA,
3995
+ Be as aB,
3996
+ rt as aC,
3997
+ f as aD,
3998
+ je as aE,
3999
+ bt as aF,
4000
+ De as aG,
4001
+ ut as aH,
4002
+ Z as aI,
4003
+ ot as aJ,
4004
+ nt as aK,
4005
+ pt as aL,
4006
+ it as aM,
4007
+ dt as aN,
4008
+ C as aO,
4009
+ W as aP,
4010
+ Le as aQ,
4011
+ ze as aR,
4012
+ gt as aS,
4013
+ ct as aT,
4014
+ mt as aU,
4015
+ ht as aV,
4016
+ st as aW,
4017
+ lt as aX,
4018
+ Ia as aa,
4019
+ Ca as ab,
4020
+ Ra as ac,
4021
+ Na as ad,
4022
+ Ee as ae,
3997
4023
  we as af,
3998
- ot as ag,
3999
- Ee as ah,
4000
- U as ai,
4001
- st as aj,
4002
- Me as ak,
4003
- fe as al,
4004
- Q as am,
4005
- lt as an,
4006
- Be as ao,
4007
- ct as ap,
4008
- Fe as aq,
4009
- w as ar,
4010
- it as as,
4011
- Qe as at,
4012
- $e as au,
4013
- M as av,
4014
- dt as aw,
4015
- qe as ax,
4016
- De as ay,
4017
- f as az,
4018
- ga as b,
4019
- Pa as c,
4020
- ba as d,
4021
- Va as e,
4022
- va as f,
4023
- je as g,
4024
- Sa as h,
4025
- ka as i,
4026
- Aa as j,
4027
- Ra as k,
4028
- Na as l,
4029
- Ta as m,
4030
- wa as n,
4031
- Ma as o,
4032
- fa as p,
4033
- Ba as q,
4034
- Fa as r,
4035
- Qa as s,
4036
- $a as t,
4037
- ut as u,
4038
- qa as v,
4039
- za as w,
4040
- La as x,
4041
- Ha as y,
4042
- _a as z
4024
+ at as ag,
4025
+ w as ah,
4026
+ Ta as ai,
4027
+ Ua as aj,
4028
+ fe as ak,
4029
+ Me as al,
4030
+ tt as am,
4031
+ M as an,
4032
+ wa as ao,
4033
+ Ea as ap,
4034
+ Ma as aq,
4035
+ fa as ar,
4036
+ Ba as as,
4037
+ Qa as at,
4038
+ Fa as au,
4039
+ $a as av,
4040
+ qa as aw,
4041
+ Pt as ax,
4042
+ Da as ay,
4043
+ za as az,
4044
+ na as b,
4045
+ oa as c,
4046
+ Qe as d,
4047
+ la as e,
4048
+ ca as f,
4049
+ sa as g,
4050
+ Pe as h,
4051
+ ge as i,
4052
+ La as j,
4053
+ k,
4054
+ Ha as l,
4055
+ be as m,
4056
+ ja as n,
4057
+ K as o,
4058
+ Ve as p,
4059
+ _a as q,
4060
+ z as r,
4061
+ ia as s,
4062
+ Se as t,
4063
+ Oe as u,
4064
+ Wa as v,
4065
+ J as w,
4066
+ da as x,
4067
+ ke as y,
4068
+ ye as z
4043
4069
  };