@malloy-publisher/sdk 0.0.198-dev → 0.0.198-dev2

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 (45) hide show
  1. package/dist/{ServerProvider-DDScRRDc.es.js → ServerProvider-BuM1usxf.es.js} +181 -177
  2. package/dist/{ServerProvider-IhQ4aYBm.cjs.js → ServerProvider-C_Mnvmgc.cjs.js} +1 -1
  3. package/dist/client/api.d.ts +61 -4
  4. package/dist/client/index.cjs.js +1 -1
  5. package/dist/client/index.es.js +1 -1
  6. package/dist/components/Package/ContentTypeIcon.d.ts +16 -0
  7. package/dist/components/Package/index.d.ts +0 -1
  8. package/dist/components/styles.d.ts +16 -0
  9. package/dist/{core-w79IMXAG.es.js → core-DfcpQGVP.es.js} +1 -1
  10. package/dist/{core-7-3Jcsb0.cjs.js → core-yDgxkpo0.cjs.js} +1 -1
  11. package/dist/index-CMA8U4-B.cjs.js +228 -0
  12. package/dist/{index-CN0_kZSF.es.js → index-Y4ooZDYA.es.js} +17654 -20603
  13. package/dist/index.cjs.js +1 -1
  14. package/dist/index.es.js +33 -34
  15. package/package.json +5 -5
  16. package/src/components/Environment/AddPackageDialog.tsx +116 -79
  17. package/src/components/Environment/DeletePackageDialog.tsx +3 -2
  18. package/src/components/Environment/Environment.tsx +44 -23
  19. package/src/components/Environment/Packages.tsx +164 -156
  20. package/src/components/Home/DeleteEnvironmentDialog.tsx +3 -2
  21. package/src/components/Home/Home.tsx +272 -389
  22. package/src/components/Model/Model.tsx +2 -2
  23. package/src/components/Model/ModelCell.tsx +1 -1
  24. package/src/components/Model/ModelExplorerDialog.tsx +1 -1
  25. package/src/components/Model/SourcesExplorer.tsx +4 -4
  26. package/src/components/Notebook/Notebook.tsx +4 -9
  27. package/src/components/Notebook/NotebookCell.tsx +10 -7
  28. package/src/components/Package/ContentTypeIcon.tsx +79 -0
  29. package/src/components/Package/Package.tsx +387 -55
  30. package/src/components/Package/index.ts +0 -1
  31. package/src/components/QueryResult/QueryResult.tsx +1 -1
  32. package/src/components/RenderedResult/RenderedResult.tsx +9 -8
  33. package/src/components/ResultsDialog.tsx +1 -1
  34. package/src/components/styles.ts +28 -15
  35. package/dist/components/Package/Config.d.ts +0 -5
  36. package/dist/components/Package/Databases.d.ts +0 -5
  37. package/dist/components/Package/FileTreeView.d.ts +0 -9
  38. package/dist/components/Package/Models.d.ts +0 -6
  39. package/dist/components/Package/Notebooks.d.ts +0 -6
  40. package/dist/index-Xo_ADux9.cjs.js +0 -233
  41. package/src/components/Package/Config.tsx +0 -97
  42. package/src/components/Package/Databases.tsx +0 -228
  43. package/src/components/Package/FileTreeView.tsx +0 -241
  44. package/src/components/Package/Models.tsx +0 -68
  45. package/src/components/Package/Notebooks.tsx +0 -77
@@ -1,10 +1,10 @@
1
1
  import { jsx as q } from "react/jsx-runtime";
2
2
  import { QueryClient as L, QueryClientProvider as H } from "@tanstack/react-query";
3
- import h from "axios";
3
+ import u from "axios";
4
4
  import { useContext as f, createContext as D, useMemo as W, useState as $, useEffect as G } from "react";
5
5
  const g = "http://localhost/api/v0".replace(/\/+$/, "");
6
6
  class k {
7
- constructor(r, a = g, n = h) {
7
+ constructor(r, a = g, n = u) {
8
8
  this.basePath = a, this.axios = n, r && (this.configuration = r, this.basePath = r.basePath ?? a);
9
9
  }
10
10
  configuration;
@@ -26,7 +26,7 @@ function E(l, r, a = "") {
26
26
  const v = function(l, ...r) {
27
27
  const a = new URLSearchParams(l.search);
28
28
  E(a, r), l.search = a.toString();
29
- }, I = function(l, r, a) {
29
+ }, y = function(l, r, a) {
30
30
  const n = typeof l != "string";
31
31
  return (n && a && a.isJsonMime ? a.isJsonMime(r.headers["Content-Type"]) : n) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
32
32
  }, O = function(l) {
@@ -115,7 +115,7 @@ const v = function(l, ...r) {
115
115
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
116
116
  i["Content-Type"] = "application/json", v(o, p);
117
117
  let m = s && s.headers ? s.headers : {};
118
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
118
+ return c.headers = { ...i, ...m, ...e.headers }, c.data = y(n, c, l), {
119
119
  url: O(o),
120
120
  options: c
121
121
  };
@@ -180,8 +180,8 @@ const v = function(l, ...r) {
180
180
  l && (c = l.baseOptions);
181
181
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
182
182
  n !== void 0 && (m.sqlStatement = n), e !== void 0 && (m.options = e), v(s, m);
183
- let u = c && c.headers ? c.headers : {};
184
- return i.headers = { ...p, ...u, ...t.headers }, {
183
+ let h = c && c.headers ? c.headers : {};
184
+ return i.headers = { ...p, ...h, ...t.headers }, {
185
185
  url: O(s),
186
186
  options: i
187
187
  };
@@ -203,10 +203,10 @@ const v = function(l, ...r) {
203
203
  const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/queryData".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), c = new URL(s, V);
204
204
  let i;
205
205
  l && (i = l.baseOptions);
206
- const p = { method: "GET", ...i, ...o }, m = {}, u = {};
207
- e !== void 0 && (u.sqlStatement = e), t !== void 0 && (u.options = t), v(c, u);
208
- let y = i && i.headers ? i.headers : {};
209
- return p.headers = { ...m, ...y, ...o.headers }, {
206
+ const p = { method: "GET", ...i, ...o }, m = {}, h = {};
207
+ e !== void 0 && (h.sqlStatement = e), t !== void 0 && (h.options = t), v(c, h);
208
+ let I = i && i.headers ? i.headers : {};
209
+ return p.headers = { ...m, ...I, ...o.headers }, {
210
210
  url: O(c),
211
211
  options: p
212
212
  };
@@ -252,8 +252,8 @@ const v = function(l, ...r) {
252
252
  l && (c = l.baseOptions);
253
253
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
254
254
  e !== void 0 && (m.sqlStatement = e), v(s, m);
255
- let u = c && c.headers ? c.headers : {};
256
- return i.headers = { ...p, ...u, ...t.headers }, {
255
+ let h = c && c.headers ? c.headers : {};
256
+ return i.headers = { ...p, ...h, ...t.headers }, {
257
257
  url: O(s),
258
258
  options: i
259
259
  };
@@ -275,8 +275,8 @@ const v = function(l, ...r) {
275
275
  l && (c = l.baseOptions);
276
276
  const i = { method: "GET", ...c, ...t }, p = {};
277
277
  v(s, {});
278
- let u = c && c.headers ? c.headers : {};
279
- return i.headers = { ...p, ...u, ...t.headers }, {
278
+ let h = c && c.headers ? c.headers : {};
279
+ return i.headers = { ...p, ...h, ...t.headers }, {
280
280
  url: O(s),
281
281
  options: i
282
282
  };
@@ -299,8 +299,8 @@ const v = function(l, ...r) {
299
299
  l && (i = l.baseOptions);
300
300
  const p = { method: "GET", ...i, ...o }, m = {};
301
301
  v(c, {});
302
- let y = i && i.headers ? i.headers : {};
303
- return p.headers = { ...m, ...y, ...o.headers }, {
302
+ let I = i && i.headers ? i.headers : {};
303
+ return p.headers = { ...m, ...I, ...o.headers }, {
304
304
  url: O(c),
305
305
  options: p
306
306
  };
@@ -346,8 +346,8 @@ const v = function(l, ...r) {
346
346
  l && (c = l.baseOptions);
347
347
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
348
348
  e !== void 0 && (m.sqlStatement = e), v(s, m);
349
- let u = c && c.headers ? c.headers : {};
350
- return i.headers = { ...p, ...u, ...t.headers }, {
349
+ let h = c && c.headers ? c.headers : {};
350
+ return i.headers = { ...p, ...h, ...t.headers }, {
351
351
  url: O(s),
352
352
  options: i
353
353
  };
@@ -432,8 +432,8 @@ const v = function(l, ...r) {
432
432
  l && (c = l.baseOptions);
433
433
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
434
434
  e && (m.tableNames = e), v(s, m);
435
- let u = c && c.headers ? c.headers : {};
436
- return i.headers = { ...p, ...u, ...t.headers }, {
435
+ let h = c && c.headers ? c.headers : {};
436
+ return i.headers = { ...p, ...h, ...t.headers }, {
437
437
  url: O(s),
438
438
  options: i
439
439
  };
@@ -454,10 +454,10 @@ const v = function(l, ...r) {
454
454
  const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))).replace("{schemaName}", encodeURIComponent(String(e))), c = new URL(s, V);
455
455
  let i;
456
456
  l && (i = l.baseOptions);
457
- const p = { method: "GET", ...i, ...o }, m = {}, u = {};
458
- t && (u.tableNames = t), v(c, u);
459
- let y = i && i.headers ? i.headers : {};
460
- return p.headers = { ...m, ...y, ...o.headers }, {
457
+ const p = { method: "GET", ...i, ...o }, m = {}, h = {};
458
+ t && (h.tableNames = t), v(c, h);
459
+ let I = i && i.headers ? i.headers : {};
460
+ return p.headers = { ...m, ...I, ...o.headers }, {
461
461
  url: O(c),
462
462
  options: p
463
463
  };
@@ -479,8 +479,8 @@ const v = function(l, ...r) {
479
479
  l && (c = l.baseOptions);
480
480
  const i = { method: "POST", ...c, ...t }, p = {}, m = {};
481
481
  e !== void 0 && (m.options = e), p["Content-Type"] = "application/json", v(s, m);
482
- let u = c && c.headers ? c.headers : {};
483
- return i.headers = { ...p, ...u, ...t.headers }, i.data = I(n, i, l), {
482
+ let h = c && c.headers ? c.headers : {};
483
+ return i.headers = { ...p, ...h, ...t.headers }, i.data = y(n, i, l), {
484
484
  url: O(s),
485
485
  options: i
486
486
  };
@@ -501,10 +501,10 @@ const v = function(l, ...r) {
501
501
  const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), c = new URL(s, V);
502
502
  let i;
503
503
  l && (i = l.baseOptions);
504
- const p = { method: "POST", ...i, ...o }, m = {}, u = {};
505
- t !== void 0 && (u.options = t), m["Content-Type"] = "application/json", v(c, u);
506
- let y = i && i.headers ? i.headers : {};
507
- return p.headers = { ...m, ...y, ...o.headers }, p.data = I(e, p, l), {
504
+ const p = { method: "POST", ...i, ...o }, m = {}, h = {};
505
+ t !== void 0 && (h.options = t), m["Content-Type"] = "application/json", v(c, h);
506
+ let I = i && i.headers ? i.headers : {};
507
+ return p.headers = { ...m, ...I, ...o.headers }, p.data = y(e, p, l), {
508
508
  url: O(c),
509
509
  options: p
510
510
  };
@@ -526,7 +526,7 @@ const v = function(l, ...r) {
526
526
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
527
527
  i["Content-Type"] = "application/json", v(o, p);
528
528
  let m = s && s.headers ? s.headers : {};
529
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
529
+ return c.headers = { ...i, ...m, ...e.headers }, c.data = y(n, c, l), {
530
530
  url: O(o),
531
531
  options: c
532
532
  };
@@ -548,8 +548,8 @@ const v = function(l, ...r) {
548
548
  l && (c = l.baseOptions);
549
549
  const i = { method: "POST", ...c, ...t }, p = {}, m = {};
550
550
  p["Content-Type"] = "application/json", v(s, m);
551
- let u = c && c.headers ? c.headers : {};
552
- return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
551
+ let h = c && c.headers ? c.headers : {};
552
+ return i.headers = { ...p, ...h, ...t.headers }, i.data = y(e, i, l), {
553
553
  url: O(s),
554
554
  options: i
555
555
  };
@@ -571,7 +571,7 @@ const v = function(l, ...r) {
571
571
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
572
572
  i["Content-Type"] = "application/json", v(o, p);
573
573
  let m = s && s.headers ? s.headers : {};
574
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
574
+ return c.headers = { ...i, ...m, ...e.headers }, c.data = y(n, c, l), {
575
575
  url: O(o),
576
576
  options: c
577
577
  };
@@ -593,8 +593,8 @@ const v = function(l, ...r) {
593
593
  l && (c = l.baseOptions);
594
594
  const i = { method: "POST", ...c, ...t }, p = {}, m = {};
595
595
  p["Content-Type"] = "application/json", v(s, m);
596
- let u = c && c.headers ? c.headers : {};
597
- return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
596
+ let h = c && c.headers ? c.headers : {};
597
+ return i.headers = { ...p, ...h, ...t.headers }, i.data = y(e, i, l), {
598
598
  url: O(s),
599
599
  options: i
600
600
  };
@@ -616,7 +616,7 @@ const v = function(l, ...r) {
616
616
  const c = { method: "PATCH", ...s, ...e }, i = {}, p = {};
617
617
  i["Content-Type"] = "application/json", v(o, p);
618
618
  let m = s && s.headers ? s.headers : {};
619
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
619
+ return c.headers = { ...i, ...m, ...e.headers }, c.data = y(n, c, l), {
620
620
  url: O(o),
621
621
  options: c
622
622
  };
@@ -636,7 +636,7 @@ const v = function(l, ...r) {
636
636
  */
637
637
  async createConnection(a, n, e, t) {
638
638
  const o = await r.createConnection(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.createConnection"]?.[s]?.url;
639
- return (i, p) => b(o, h, g, l)(i, c || p);
639
+ return (i, p) => b(o, u, g, l)(i, c || p);
640
640
  },
641
641
  /**
642
642
  * Permanently deletes a database connection from the environment.
@@ -648,7 +648,7 @@ const v = function(l, ...r) {
648
648
  */
649
649
  async deleteConnection(a, n, e) {
650
650
  const t = await r.deleteConnection(a, n, e), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.deleteConnection"]?.[o]?.url;
651
- return (c, i) => b(t, h, g, l)(c, s || i);
651
+ return (c, i) => b(t, u, g, l)(c, s || i);
652
652
  },
653
653
  /**
654
654
  * 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.
@@ -660,7 +660,7 @@ const v = function(l, ...r) {
660
660
  */
661
661
  async getConnection(a, n, e) {
662
662
  const t = await r.getConnection(a, n, e), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.getConnection"]?.[o]?.url;
663
- return (c, i) => b(t, h, g, l)(c, s || i);
663
+ return (c, i) => b(t, u, g, l)(c, s || i);
664
664
  },
665
665
  /**
666
666
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Executes a SQL statement against the specified database connection and returns the results. The query results include data, metadata, and execution information.
@@ -675,7 +675,7 @@ const v = function(l, ...r) {
675
675
  */
676
676
  async getQuerydata(a, n, e, t, o) {
677
677
  const s = await r.getQuerydata(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getQuerydata"]?.[c]?.url;
678
- return (p, m) => b(s, h, g, l)(p, i || m);
678
+ return (p, m) => b(s, u, g, l)(p, i || m);
679
679
  },
680
680
  /**
681
681
  * **DEPRECATED**: Use the POST version instead. Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results.
@@ -691,7 +691,7 @@ const v = function(l, ...r) {
691
691
  */
692
692
  async getQuerydataInPackage(a, n, e, t, o, s) {
693
693
  const c = await r.getQuerydataInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.getQuerydataInPackage"]?.[i]?.url;
694
- return (m, u) => b(c, h, g, l)(m, p || u);
694
+ return (m, h) => b(c, u, g, l)(m, p || h);
695
695
  },
696
696
  /**
697
697
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a Malloy source from a SQL statement using the specified connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
@@ -705,7 +705,7 @@ const v = function(l, ...r) {
705
705
  */
706
706
  async getSqlsource(a, n, e, t) {
707
707
  const o = await r.getSqlsource(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.getSqlsource"]?.[s]?.url;
708
- return (i, p) => b(o, h, g, l)(i, c || p);
708
+ return (i, p) => b(o, u, g, l)(i, c || p);
709
709
  },
710
710
  /**
711
711
  * **DEPRECATED**: Use the POST version instead. Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -720,7 +720,7 @@ const v = function(l, ...r) {
720
720
  */
721
721
  async getSqlsourceInPackage(a, n, e, t, o) {
722
722
  const s = await r.getSqlsourceInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getSqlsourceInPackage"]?.[c]?.url;
723
- return (p, m) => b(s, h, g, l)(p, i || m);
723
+ return (p, m) => b(s, u, g, l)(p, i || m);
724
724
  },
725
725
  /**
726
726
  * 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.
@@ -734,7 +734,7 @@ const v = function(l, ...r) {
734
734
  */
735
735
  async getTable(a, n, e, t, o) {
736
736
  const s = await r.getTable(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[c]?.url;
737
- return (p, m) => b(s, h, g, l)(p, i || m);
737
+ return (p, m) => b(s, u, g, l)(p, i || m);
738
738
  },
739
739
  /**
740
740
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -749,7 +749,7 @@ const v = function(l, ...r) {
749
749
  */
750
750
  async getTableInPackage(a, n, e, t, o, s) {
751
751
  const c = await r.getTableInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.getTableInPackage"]?.[i]?.url;
752
- return (m, u) => b(c, h, g, l)(m, p || u);
752
+ return (m, h) => b(c, u, g, l)(m, p || h);
753
753
  },
754
754
  /**
755
755
  * **DEPRECATED**: This endpoint is deprecated and may be removed in future versions. Use the POST version instead for better security and functionality. Creates a temporary table from a SQL statement using the specified connection. Temporary tables are useful for storing intermediate results during complex queries.
@@ -763,7 +763,7 @@ const v = function(l, ...r) {
763
763
  */
764
764
  async getTemporarytable(a, n, e, t) {
765
765
  const o = await r.getTemporarytable(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.getTemporarytable"]?.[s]?.url;
766
- return (i, p) => b(o, h, g, l)(i, c || p);
766
+ return (i, p) => b(o, u, g, l)(i, c || p);
767
767
  },
768
768
  /**
769
769
  * **DEPRECATED**: Use the POST version instead. Creates a temporary table from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -778,7 +778,7 @@ const v = function(l, ...r) {
778
778
  */
779
779
  async getTemporarytableInPackage(a, n, e, t, o) {
780
780
  const s = await r.getTemporarytableInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getTemporarytableInPackage"]?.[c]?.url;
781
- return (p, m) => b(s, h, g, l)(p, i || m);
781
+ return (p, m) => b(s, u, g, l)(p, i || m);
782
782
  },
783
783
  /**
784
784
  * 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.
@@ -789,7 +789,7 @@ const v = function(l, ...r) {
789
789
  */
790
790
  async listConnections(a, n) {
791
791
  const e = await r.listConnections(a, n), t = l?.serverIndex ?? 0, o = P["ConnectionsApi.listConnections"]?.[t]?.url;
792
- return (s, c) => b(e, h, g, l)(s, o || c);
792
+ return (s, c) => b(e, u, g, l)(s, o || c);
793
793
  },
794
794
  /**
795
795
  * 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.
@@ -801,7 +801,7 @@ const v = function(l, ...r) {
801
801
  */
802
802
  async listSchemas(a, n, e) {
803
803
  const t = await r.listSchemas(a, n, e), o = l?.serverIndex ?? 0, s = P["ConnectionsApi.listSchemas"]?.[o]?.url;
804
- return (c, i) => b(t, h, g, l)(c, s || i);
804
+ return (c, i) => b(t, u, g, l)(c, s || i);
805
805
  },
806
806
  /**
807
807
  * 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).
@@ -814,7 +814,7 @@ const v = function(l, ...r) {
814
814
  */
815
815
  async listSchemasInPackage(a, n, e, t) {
816
816
  const o = await r.listSchemasInPackage(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
817
- return (i, p) => b(o, h, g, l)(i, c || p);
817
+ return (i, p) => b(o, u, g, l)(i, c || p);
818
818
  },
819
819
  /**
820
820
  * 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.
@@ -828,7 +828,7 @@ const v = function(l, ...r) {
828
828
  */
829
829
  async listTables(a, n, e, t, o) {
830
830
  const s = await r.listTables(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.listTables"]?.[c]?.url;
831
- return (p, m) => b(s, h, g, l)(p, i || m);
831
+ return (p, m) => b(s, u, g, l)(p, i || m);
832
832
  },
833
833
  /**
834
834
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -843,7 +843,7 @@ const v = function(l, ...r) {
843
843
  */
844
844
  async listTablesInPackage(a, n, e, t, o, s) {
845
845
  const c = await r.listTablesInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
846
- return (m, u) => b(c, h, g, l)(m, p || u);
846
+ return (m, h) => b(c, u, g, l)(m, p || h);
847
847
  },
848
848
  /**
849
849
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information.
@@ -857,7 +857,7 @@ const v = function(l, ...r) {
857
857
  */
858
858
  async postQuerydata(a, n, e, t, o) {
859
859
  const s = await r.postQuerydata(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydata"]?.[c]?.url;
860
- return (p, m) => b(s, h, g, l)(p, i || m);
860
+ return (p, m) => b(s, u, g, l)(p, i || m);
861
861
  },
862
862
  /**
863
863
  * Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results.
@@ -872,7 +872,7 @@ const v = function(l, ...r) {
872
872
  */
873
873
  async postQuerydataInPackage(a, n, e, t, o, s) {
874
874
  const c = await r.postQuerydataInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.postQuerydataInPackage"]?.[i]?.url;
875
- return (m, u) => b(c, h, g, l)(m, p || u);
875
+ return (m, h) => b(c, u, g, l)(m, p || h);
876
876
  },
877
877
  /**
878
878
  * 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.
@@ -885,7 +885,7 @@ const v = function(l, ...r) {
885
885
  */
886
886
  async postSqlsource(a, n, e, t) {
887
887
  const o = await r.postSqlsource(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postSqlsource"]?.[s]?.url;
888
- return (i, p) => b(o, h, g, l)(i, c || p);
888
+ return (i, p) => b(o, u, g, l)(i, c || p);
889
889
  },
890
890
  /**
891
891
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -899,7 +899,7 @@ const v = function(l, ...r) {
899
899
  */
900
900
  async postSqlsourceInPackage(a, n, e, t, o) {
901
901
  const s = await r.postSqlsourceInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;
902
- return (p, m) => b(s, h, g, l)(p, i || m);
902
+ return (p, m) => b(s, u, g, l)(p, i || m);
903
903
  },
904
904
  /**
905
905
  * 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.
@@ -912,7 +912,7 @@ const v = function(l, ...r) {
912
912
  */
913
913
  async postTemporarytable(a, n, e, t) {
914
914
  const o = await r.postTemporarytable(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.postTemporarytable"]?.[s]?.url;
915
- return (i, p) => b(o, h, g, l)(i, c || p);
915
+ return (i, p) => b(o, u, g, l)(i, c || p);
916
916
  },
917
917
  /**
918
918
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -926,7 +926,7 @@ const v = function(l, ...r) {
926
926
  */
927
927
  async postTemporarytableInPackage(a, n, e, t, o) {
928
928
  const s = await r.postTemporarytableInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;
929
- return (p, m) => b(s, h, g, l)(p, i || m);
929
+ return (p, m) => b(s, u, g, l)(p, i || m);
930
930
  },
931
931
  /**
932
932
  * Updates the configuration of an existing database connection.
@@ -939,7 +939,7 @@ const v = function(l, ...r) {
939
939
  */
940
940
  async updateConnection(a, n, e, t) {
941
941
  const o = await r.updateConnection(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ConnectionsApi.updateConnection"]?.[s]?.url;
942
- return (i, p) => b(o, h, g, l)(i, c || p);
942
+ return (i, p) => b(o, u, g, l)(i, c || p);
943
943
  }
944
944
  };
945
945
  }, Ee = function(l, r, a) {
@@ -1575,7 +1575,7 @@ const Y = function(l) {
1575
1575
  const o = { method: "POST", ...t, ...a }, s = {}, c = {};
1576
1576
  s["Content-Type"] = "application/json", v(e, c);
1577
1577
  let i = t && t.headers ? t.headers : {};
1578
- return o.headers = { ...s, ...i, ...a.headers }, o.data = I(r, o, l), {
1578
+ return o.headers = { ...s, ...i, ...a.headers }, o.data = y(r, o, l), {
1579
1579
  url: O(e),
1580
1580
  options: o
1581
1581
  };
@@ -1593,7 +1593,7 @@ const Y = function(l) {
1593
1593
  */
1594
1594
  async testConnectionConfiguration(a, n) {
1595
1595
  const e = await r.testConnectionConfiguration(a, n), t = l?.serverIndex ?? 0, o = P["ConnectionsTestApi.testConnectionConfiguration"]?.[t]?.url;
1596
- return (s, c) => b(e, h, g, l)(s, o || c);
1596
+ return (s, c) => b(e, u, g, l)(s, o || c);
1597
1597
  }
1598
1598
  };
1599
1599
  }, Qe = function(l, r, a) {
@@ -1663,7 +1663,7 @@ const X = function(l) {
1663
1663
  */
1664
1664
  async listDatabases(a, n, e, t) {
1665
1665
  const o = await r.listDatabases(a, n, e, t), s = l?.serverIndex ?? 0, c = P["DatabasesApi.listDatabases"]?.[s]?.url;
1666
- return (i, p) => b(o, h, g, l)(i, c || p);
1666
+ return (i, p) => b(o, u, g, l)(i, c || p);
1667
1667
  }
1668
1668
  };
1669
1669
  }, $e = function(l, r, a) {
@@ -1715,7 +1715,7 @@ const ee = function(l) {
1715
1715
  const o = { method: "POST", ...t, ...a }, s = {}, c = {};
1716
1716
  s["Content-Type"] = "application/json", v(e, c);
1717
1717
  let i = t && t.headers ? t.headers : {};
1718
- return o.headers = { ...s, ...i, ...a.headers }, o.data = I(r, o, l), {
1718
+ return o.headers = { ...s, ...i, ...a.headers }, o.data = y(r, o, l), {
1719
1719
  url: O(e),
1720
1720
  options: o
1721
1721
  };
@@ -1795,13 +1795,13 @@ const ee = function(l) {
1795
1795
  const s = { method: "PATCH", ...o, ...n }, c = {}, i = {};
1796
1796
  c["Content-Type"] = "application/json", v(t, i);
1797
1797
  let p = o && o.headers ? o.headers : {};
1798
- return s.headers = { ...c, ...p, ...n.headers }, s.data = I(a, s, l), {
1798
+ return s.headers = { ...c, ...p, ...n.headers }, s.data = y(a, s, l), {
1799
1799
  url: O(t),
1800
1800
  options: s
1801
1801
  };
1802
1802
  }
1803
1803
  };
1804
- }, A = function(l) {
1804
+ }, N = function(l) {
1805
1805
  const r = ee(l);
1806
1806
  return {
1807
1807
  /**
@@ -1813,7 +1813,7 @@ const ee = function(l) {
1813
1813
  */
1814
1814
  async createEnvironment(a, n) {
1815
1815
  const e = await r.createEnvironment(a, n), t = l?.serverIndex ?? 0, o = P["EnvironmentsApi.createEnvironment"]?.[t]?.url;
1816
- return (s, c) => b(e, h, g, l)(s, o || c);
1816
+ return (s, c) => b(e, u, g, l)(s, o || c);
1817
1817
  },
1818
1818
  /**
1819
1819
  * 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.
@@ -1824,7 +1824,7 @@ const ee = function(l) {
1824
1824
  */
1825
1825
  async deleteEnvironment(a, n) {
1826
1826
  const e = await r.deleteEnvironment(a, n), t = l?.serverIndex ?? 0, o = P["EnvironmentsApi.deleteEnvironment"]?.[t]?.url;
1827
- return (s, c) => b(e, h, g, l)(s, o || c);
1827
+ return (s, c) => b(e, u, g, l)(s, o || c);
1828
1828
  },
1829
1829
  /**
1830
1830
  * 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.
@@ -1836,7 +1836,7 @@ const ee = function(l) {
1836
1836
  */
1837
1837
  async getEnvironment(a, n, e) {
1838
1838
  const t = await r.getEnvironment(a, n, e), o = l?.serverIndex ?? 0, s = P["EnvironmentsApi.getEnvironment"]?.[o]?.url;
1839
- return (c, i) => b(t, h, g, l)(c, s || i);
1839
+ return (c, i) => b(t, u, g, l)(c, s || i);
1840
1840
  },
1841
1841
  /**
1842
1842
  * 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.
@@ -1846,7 +1846,7 @@ const ee = function(l) {
1846
1846
  */
1847
1847
  async listEnvironments(a) {
1848
1848
  const n = await r.listEnvironments(a), e = l?.serverIndex ?? 0, t = P["EnvironmentsApi.listEnvironments"]?.[e]?.url;
1849
- return (o, s) => b(n, h, g, l)(o, t || s);
1849
+ return (o, s) => b(n, u, g, l)(o, t || s);
1850
1850
  },
1851
1851
  /**
1852
1852
  * 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.
@@ -1858,11 +1858,11 @@ const ee = function(l) {
1858
1858
  */
1859
1859
  async updateEnvironment(a, n, e) {
1860
1860
  const t = await r.updateEnvironment(a, n, e), o = l?.serverIndex ?? 0, s = P["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
1861
- return (c, i) => b(t, h, g, l)(c, s || i);
1861
+ return (c, i) => b(t, u, g, l)(c, s || i);
1862
1862
  }
1863
1863
  };
1864
1864
  }, Be = function(l, r, a) {
1865
- const n = A(l);
1865
+ const n = N(l);
1866
1866
  return {
1867
1867
  /**
1868
1868
  * 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.
@@ -1927,7 +1927,7 @@ class ae extends k {
1927
1927
  * @memberof EnvironmentsApi
1928
1928
  */
1929
1929
  createEnvironment(r, a) {
1930
- return A(this.configuration).createEnvironment(r, a).then((n) => n(this.axios, this.basePath));
1930
+ return N(this.configuration).createEnvironment(r, a).then((n) => n(this.axios, this.basePath));
1931
1931
  }
1932
1932
  /**
1933
1933
  * 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.
@@ -1938,7 +1938,7 @@ class ae extends k {
1938
1938
  * @memberof EnvironmentsApi
1939
1939
  */
1940
1940
  deleteEnvironment(r, a) {
1941
- return A(this.configuration).deleteEnvironment(r, a).then((n) => n(this.axios, this.basePath));
1941
+ return N(this.configuration).deleteEnvironment(r, a).then((n) => n(this.axios, this.basePath));
1942
1942
  }
1943
1943
  /**
1944
1944
  * 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.
@@ -1950,7 +1950,7 @@ class ae extends k {
1950
1950
  * @memberof EnvironmentsApi
1951
1951
  */
1952
1952
  getEnvironment(r, a, n) {
1953
- return A(this.configuration).getEnvironment(r, a, n).then((e) => e(this.axios, this.basePath));
1953
+ return N(this.configuration).getEnvironment(r, a, n).then((e) => e(this.axios, this.basePath));
1954
1954
  }
1955
1955
  /**
1956
1956
  * 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.
@@ -1960,7 +1960,7 @@ class ae extends k {
1960
1960
  * @memberof EnvironmentsApi
1961
1961
  */
1962
1962
  listEnvironments(r) {
1963
- return A(this.configuration).listEnvironments(r).then((a) => a(this.axios, this.basePath));
1963
+ return N(this.configuration).listEnvironments(r).then((a) => a(this.axios, this.basePath));
1964
1964
  }
1965
1965
  /**
1966
1966
  * 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.
@@ -1972,7 +1972,7 @@ class ae extends k {
1972
1972
  * @memberof EnvironmentsApi
1973
1973
  */
1974
1974
  updateEnvironment(r, a, n) {
1975
- return A(this.configuration).updateEnvironment(r, a, n).then((e) => e(this.axios, this.basePath));
1975
+ return N(this.configuration).updateEnvironment(r, a, n).then((e) => e(this.axios, this.basePath));
1976
1976
  }
1977
1977
  }
1978
1978
  const te = function(l) {
@@ -2034,7 +2034,7 @@ const te = function(l) {
2034
2034
  */
2035
2035
  async getManifest(a, n, e) {
2036
2036
  const t = await r.getManifest(a, n, e), o = l?.serverIndex ?? 0, s = P["ManifestsApi.getManifest"]?.[o]?.url;
2037
- return (c, i) => b(t, h, g, l)(c, s || i);
2037
+ return (c, i) => b(t, u, g, l)(c, s || i);
2038
2038
  },
2039
2039
  /**
2040
2040
  * Performs an action on the package manifest. The action is specified via the `action` query parameter: * `reload` - Reads the build manifest from the shared store (DuckLake in orchestrated mode, local DuckDB in standalone mode) and recompiles every model in the package so subsequent queries resolve persisted sources to their materialized tables. Intended for orchestrated workers that did not themselves run the build; the endpoint does not write anything *into* storage.
@@ -2047,7 +2047,7 @@ const te = function(l) {
2047
2047
  */
2048
2048
  async manifestAction(a, n, e, t) {
2049
2049
  const o = await r.manifestAction(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ManifestsApi.manifestAction"]?.[s]?.url;
2050
- return (i, p) => b(o, h, g, l)(i, c || p);
2050
+ return (i, p) => b(o, u, g, l)(i, c || p);
2051
2051
  }
2052
2052
  };
2053
2053
  }, Fe = function(l, r, a) {
@@ -2126,7 +2126,7 @@ const je = {
2126
2126
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
2127
2127
  i["Content-Type"] = "application/json", v(o, p);
2128
2128
  let m = s && s.headers ? s.headers : {};
2129
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
2129
+ return c.headers = { ...i, ...m, ...e.headers }, c.data = y(n, c, l), {
2130
2130
  url: O(o),
2131
2131
  options: c
2132
2132
  };
@@ -2192,8 +2192,8 @@ const je = {
2192
2192
  l && (c = l.baseOptions);
2193
2193
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2194
2194
  n !== void 0 && (m.limit = n), e !== void 0 && (m.offset = e), v(s, m);
2195
- let u = c && c.headers ? c.headers : {};
2196
- return i.headers = { ...p, ...u, ...t.headers }, {
2195
+ let h = c && c.headers ? c.headers : {};
2196
+ return i.headers = { ...p, ...h, ...t.headers }, {
2197
2197
  url: O(s),
2198
2198
  options: i
2199
2199
  };
@@ -2215,14 +2215,14 @@ const je = {
2215
2215
  l && (c = l.baseOptions);
2216
2216
  const i = { method: "POST", ...c, ...t }, p = {}, m = {};
2217
2217
  e !== void 0 && (m.action = e), v(s, m);
2218
- let u = c && c.headers ? c.headers : {};
2219
- return i.headers = { ...p, ...u, ...t.headers }, {
2218
+ let h = c && c.headers ? c.headers : {};
2219
+ return i.headers = { ...p, ...h, ...t.headers }, {
2220
2220
  url: O(s),
2221
2221
  options: i
2222
2222
  };
2223
2223
  }
2224
2224
  };
2225
- }, N = function(l) {
2225
+ }, x = function(l) {
2226
2226
  const r = ne(l);
2227
2227
  return {
2228
2228
  /**
@@ -2236,7 +2236,7 @@ const je = {
2236
2236
  */
2237
2237
  async createMaterialization(a, n, e, t) {
2238
2238
  const o = await r.createMaterialization(a, n, e, t), s = l?.serverIndex ?? 0, c = P["MaterializationsApi.createMaterialization"]?.[s]?.url;
2239
- return (i, p) => b(o, h, g, l)(i, c || p);
2239
+ return (i, p) => b(o, u, g, l)(i, c || p);
2240
2240
  },
2241
2241
  /**
2242
2242
  * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
@@ -2249,7 +2249,7 @@ const je = {
2249
2249
  */
2250
2250
  async deleteMaterialization(a, n, e, t) {
2251
2251
  const o = await r.deleteMaterialization(a, n, e, t), s = l?.serverIndex ?? 0, c = P["MaterializationsApi.deleteMaterialization"]?.[s]?.url;
2252
- return (i, p) => b(o, h, g, l)(i, c || p);
2252
+ return (i, p) => b(o, u, g, l)(i, c || p);
2253
2253
  },
2254
2254
  /**
2255
2255
  *
@@ -2262,7 +2262,7 @@ const je = {
2262
2262
  */
2263
2263
  async getMaterialization(a, n, e, t) {
2264
2264
  const o = await r.getMaterialization(a, n, e, t), s = l?.serverIndex ?? 0, c = P["MaterializationsApi.getMaterialization"]?.[s]?.url;
2265
- return (i, p) => b(o, h, g, l)(i, c || p);
2265
+ return (i, p) => b(o, u, g, l)(i, c || p);
2266
2266
  },
2267
2267
  /**
2268
2268
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2276,7 +2276,7 @@ const je = {
2276
2276
  */
2277
2277
  async listMaterializations(a, n, e, t, o) {
2278
2278
  const s = await r.listMaterializations(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.listMaterializations"]?.[c]?.url;
2279
- return (p, m) => b(s, h, g, l)(p, i || m);
2279
+ return (p, m) => b(s, u, g, l)(p, i || m);
2280
2280
  },
2281
2281
  /**
2282
2282
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `start` - Transitions a PENDING materialization to RUNNING and begins execution in the background. Returns 202. * `stop` - Cancels a PENDING or RUNNING materialization. Returns 200.
@@ -2290,11 +2290,11 @@ const je = {
2290
2290
  */
2291
2291
  async materializationAction(a, n, e, t, o) {
2292
2292
  const s = await r.materializationAction(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.materializationAction"]?.[c]?.url;
2293
- return (p, m) => b(s, h, g, l)(p, i || m);
2293
+ return (p, m) => b(s, u, g, l)(p, i || m);
2294
2294
  }
2295
2295
  };
2296
2296
  }, Le = function(l, r, a) {
2297
- const n = N(l);
2297
+ const n = x(l);
2298
2298
  return {
2299
2299
  /**
2300
2300
  * Creates a new materialization in PENDING state for all persist sources across all models in the package. Use POST .../materializations/{materializationId}?action=start to begin execution.
@@ -2372,7 +2372,7 @@ class He extends k {
2372
2372
  * @memberof MaterializationsApi
2373
2373
  */
2374
2374
  createMaterialization(r, a, n, e) {
2375
- return N(this.configuration).createMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2375
+ return x(this.configuration).createMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2376
2376
  }
2377
2377
  /**
2378
2378
  * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
@@ -2385,7 +2385,7 @@ class He extends k {
2385
2385
  * @memberof MaterializationsApi
2386
2386
  */
2387
2387
  deleteMaterialization(r, a, n, e) {
2388
- return N(this.configuration).deleteMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2388
+ return x(this.configuration).deleteMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2389
2389
  }
2390
2390
  /**
2391
2391
  *
@@ -2398,7 +2398,7 @@ class He extends k {
2398
2398
  * @memberof MaterializationsApi
2399
2399
  */
2400
2400
  getMaterialization(r, a, n, e) {
2401
- return N(this.configuration).getMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2401
+ return x(this.configuration).getMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2402
2402
  }
2403
2403
  /**
2404
2404
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2412,7 +2412,7 @@ class He extends k {
2412
2412
  * @memberof MaterializationsApi
2413
2413
  */
2414
2414
  listMaterializations(r, a, n, e, t) {
2415
- return N(this.configuration).listMaterializations(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2415
+ return x(this.configuration).listMaterializations(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2416
2416
  }
2417
2417
  /**
2418
2418
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `start` - Transitions a PENDING materialization to RUNNING and begins execution in the background. Returns 202. * `stop` - Cancels a PENDING or RUNNING materialization. Returns 200.
@@ -2426,7 +2426,7 @@ class He extends k {
2426
2426
  * @memberof MaterializationsApi
2427
2427
  */
2428
2428
  materializationAction(r, a, n, e, t) {
2429
- return N(this.configuration).materializationAction(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2429
+ return x(this.configuration).materializationAction(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2430
2430
  }
2431
2431
  }
2432
2432
  const fe = {
@@ -2451,8 +2451,8 @@ const fe = {
2451
2451
  l && (c = l.baseOptions);
2452
2452
  const i = { method: "POST", ...c, ...t }, p = {}, m = {};
2453
2453
  p["Content-Type"] = "application/json", v(s, m);
2454
- let u = c && c.headers ? c.headers : {};
2455
- return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
2454
+ let h = c && c.headers ? c.headers : {};
2455
+ return i.headers = { ...p, ...h, ...t.headers }, i.data = y(e, i, l), {
2456
2456
  url: O(s),
2457
2457
  options: i
2458
2458
  };
@@ -2474,8 +2474,8 @@ const fe = {
2474
2474
  l && (c = l.baseOptions);
2475
2475
  const i = { method: "POST", ...c, ...t }, p = {}, m = {};
2476
2476
  p["Content-Type"] = "application/json", v(s, m);
2477
- let u = c && c.headers ? c.headers : {};
2478
- return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
2477
+ let h = c && c.headers ? c.headers : {};
2478
+ return i.headers = { ...p, ...h, ...t.headers }, i.data = y(e, i, l), {
2479
2479
  url: O(s),
2480
2480
  options: i
2481
2481
  };
@@ -2497,8 +2497,8 @@ const fe = {
2497
2497
  l && (c = l.baseOptions);
2498
2498
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2499
2499
  e !== void 0 && (m.versionId = e), v(s, m);
2500
- let u = c && c.headers ? c.headers : {};
2501
- return i.headers = { ...p, ...u, ...t.headers }, {
2500
+ let h = c && c.headers ? c.headers : {};
2501
+ return i.headers = { ...p, ...h, ...t.headers }, {
2502
2502
  url: O(s),
2503
2503
  options: i
2504
2504
  };
@@ -2526,7 +2526,7 @@ const fe = {
2526
2526
  };
2527
2527
  }
2528
2528
  };
2529
- }, R = function(l) {
2529
+ }, U = function(l) {
2530
2530
  const r = re(l);
2531
2531
  return {
2532
2532
  /**
@@ -2541,7 +2541,7 @@ const fe = {
2541
2541
  */
2542
2542
  async compileModelSource(a, n, e, t, o) {
2543
2543
  const s = await r.compileModelSource(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.compileModelSource"]?.[c]?.url;
2544
- return (p, m) => b(s, h, g, l)(p, i || m);
2544
+ return (p, m) => b(s, u, g, l)(p, i || m);
2545
2545
  },
2546
2546
  /**
2547
2547
  * 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.
@@ -2555,7 +2555,7 @@ const fe = {
2555
2555
  */
2556
2556
  async executeQueryModel(a, n, e, t, o) {
2557
2557
  const s = await r.executeQueryModel(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.executeQueryModel"]?.[c]?.url;
2558
- return (p, m) => b(s, h, g, l)(p, i || m);
2558
+ return (p, m) => b(s, u, g, l)(p, i || m);
2559
2559
  },
2560
2560
  /**
2561
2561
  * 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.
@@ -2569,7 +2569,7 @@ const fe = {
2569
2569
  */
2570
2570
  async getModel(a, n, e, t, o) {
2571
2571
  const s = await r.getModel(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.getModel"]?.[c]?.url;
2572
- return (p, m) => b(s, h, g, l)(p, i || m);
2572
+ return (p, m) => b(s, u, g, l)(p, i || m);
2573
2573
  },
2574
2574
  /**
2575
2575
  * 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.
@@ -2582,11 +2582,11 @@ const fe = {
2582
2582
  */
2583
2583
  async listModels(a, n, e, t) {
2584
2584
  const o = await r.listModels(a, n, e, t), s = l?.serverIndex ?? 0, c = P["ModelsApi.listModels"]?.[s]?.url;
2585
- return (i, p) => b(o, h, g, l)(i, c || p);
2585
+ return (i, p) => b(o, u, g, l)(i, c || p);
2586
2586
  }
2587
2587
  };
2588
2588
  }, De = function(l, r, a) {
2589
- const n = R(l);
2589
+ const n = U(l);
2590
2590
  return {
2591
2591
  /**
2592
2592
  * 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.
@@ -2654,7 +2654,7 @@ class oe extends k {
2654
2654
  * @memberof ModelsApi
2655
2655
  */
2656
2656
  compileModelSource(r, a, n, e, t) {
2657
- return R(this.configuration).compileModelSource(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2657
+ return U(this.configuration).compileModelSource(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2658
2658
  }
2659
2659
  /**
2660
2660
  * 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.
@@ -2668,7 +2668,7 @@ class oe extends k {
2668
2668
  * @memberof ModelsApi
2669
2669
  */
2670
2670
  executeQueryModel(r, a, n, e, t) {
2671
- return R(this.configuration).executeQueryModel(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2671
+ return U(this.configuration).executeQueryModel(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2672
2672
  }
2673
2673
  /**
2674
2674
  * 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.
@@ -2682,7 +2682,7 @@ class oe extends k {
2682
2682
  * @memberof ModelsApi
2683
2683
  */
2684
2684
  getModel(r, a, n, e, t) {
2685
- return R(this.configuration).getModel(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2685
+ return U(this.configuration).getModel(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2686
2686
  }
2687
2687
  /**
2688
2688
  * 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.
@@ -2695,7 +2695,7 @@ class oe extends k {
2695
2695
  * @memberof ModelsApi
2696
2696
  */
2697
2697
  listModels(r, a, n, e) {
2698
- return R(this.configuration).listModels(r, a, n, e).then((t) => t(this.axios, this.basePath));
2698
+ return U(this.configuration).listModels(r, a, n, e).then((t) => t(this.axios, this.basePath));
2699
2699
  }
2700
2700
  }
2701
2701
  const se = function(l) {
@@ -2710,20 +2710,21 @@ const se = function(l) {
2710
2710
  * @param {string} [versionId] Version identifier for the package
2711
2711
  * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
2712
2712
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
2713
+ * @param {string} [givens] JSON-encoded given values keyed by given name
2713
2714
  * @param {*} [options] Override http request option.
2714
2715
  * @throws {RequiredError}
2715
2716
  */
2716
- executeNotebookCell: async (r, a, n, e, t, o, s, c = {}) => {
2717
+ executeNotebookCell: async (r, a, n, e, t, o, s, c, i = {}) => {
2717
2718
  d("executeNotebookCell", "environmentName", r), d("executeNotebookCell", "packageName", a), d("executeNotebookCell", "path", n), d("executeNotebookCell", "cellIndex", e);
2718
- const i = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))).replace("{cellIndex}", encodeURIComponent(String(e))), p = new URL(i, V);
2719
- let m;
2720
- l && (m = l.baseOptions);
2721
- const u = { method: "GET", ...m, ...c }, y = {}, C = {};
2722
- t !== void 0 && (C.versionId = t), o !== void 0 && (C.filter_params = o), s !== void 0 && (C.bypass_filters = s), v(p, C);
2723
- let M = m && m.headers ? m.headers : {};
2724
- return u.headers = { ...y, ...M, ...c.headers }, {
2725
- url: O(p),
2726
- options: u
2719
+ const p = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))).replace("{cellIndex}", encodeURIComponent(String(e))), m = new URL(p, V);
2720
+ let h;
2721
+ l && (h = l.baseOptions);
2722
+ const I = { method: "GET", ...h, ...i }, T = {}, C = {};
2723
+ t !== void 0 && (C.versionId = t), o !== void 0 && (C.filter_params = o), s !== void 0 && (C.bypass_filters = s), c !== void 0 && (C.givens = c), v(m, C);
2724
+ let A = h && h.headers ? h.headers : {};
2725
+ return I.headers = { ...T, ...A, ...i.headers }, {
2726
+ url: O(m),
2727
+ options: I
2727
2728
  };
2728
2729
  },
2729
2730
  /**
@@ -2743,8 +2744,8 @@ const se = function(l) {
2743
2744
  l && (c = l.baseOptions);
2744
2745
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2745
2746
  e !== void 0 && (m.versionId = e), v(s, m);
2746
- let u = c && c.headers ? c.headers : {};
2747
- return i.headers = { ...p, ...u, ...t.headers }, {
2747
+ let h = c && c.headers ? c.headers : {};
2748
+ return i.headers = { ...p, ...h, ...t.headers }, {
2748
2749
  url: O(s),
2749
2750
  options: i
2750
2751
  };
@@ -2772,7 +2773,7 @@ const se = function(l) {
2772
2773
  };
2773
2774
  }
2774
2775
  };
2775
- }, T = function(l) {
2776
+ }, w = function(l) {
2776
2777
  const r = se(l);
2777
2778
  return {
2778
2779
  /**
@@ -2785,12 +2786,13 @@ const se = function(l) {
2785
2786
  * @param {string} [versionId] Version identifier for the package
2786
2787
  * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
2787
2788
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
2789
+ * @param {string} [givens] JSON-encoded given values keyed by given name
2788
2790
  * @param {*} [options] Override http request option.
2789
2791
  * @throws {RequiredError}
2790
2792
  */
2791
- async executeNotebookCell(a, n, e, t, o, s, c, i) {
2792
- const p = await r.executeNotebookCell(a, n, e, t, o, s, c, i), m = l?.serverIndex ?? 0, u = P["NotebooksApi.executeNotebookCell"]?.[m]?.url;
2793
- return (y, C) => b(p, h, g, l)(y, u || C);
2793
+ async executeNotebookCell(a, n, e, t, o, s, c, i, p) {
2794
+ const m = await r.executeNotebookCell(a, n, e, t, o, s, c, i, p), h = l?.serverIndex ?? 0, I = P["NotebooksApi.executeNotebookCell"]?.[h]?.url;
2795
+ return (T, C) => b(m, u, g, l)(T, I || C);
2794
2796
  },
2795
2797
  /**
2796
2798
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2804,7 +2806,7 @@ const se = function(l) {
2804
2806
  */
2805
2807
  async getNotebook(a, n, e, t, o) {
2806
2808
  const s = await r.getNotebook(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[c]?.url;
2807
- return (p, m) => b(s, h, g, l)(p, i || m);
2809
+ return (p, m) => b(s, u, g, l)(p, i || m);
2808
2810
  },
2809
2811
  /**
2810
2812
  * 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.
@@ -2817,11 +2819,11 @@ const se = function(l) {
2817
2819
  */
2818
2820
  async listNotebooks(a, n, e, t) {
2819
2821
  const o = await r.listNotebooks(a, n, e, t), s = l?.serverIndex ?? 0, c = P["NotebooksApi.listNotebooks"]?.[s]?.url;
2820
- return (i, p) => b(o, h, g, l)(i, c || p);
2822
+ return (i, p) => b(o, u, g, l)(i, c || p);
2821
2823
  }
2822
2824
  };
2823
2825
  }, We = function(l, r, a) {
2824
- const n = T(l);
2826
+ const n = w(l);
2825
2827
  return {
2826
2828
  /**
2827
2829
  * 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.
@@ -2833,11 +2835,12 @@ const se = function(l) {
2833
2835
  * @param {string} [versionId] Version identifier for the package
2834
2836
  * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
2835
2837
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
2838
+ * @param {string} [givens] JSON-encoded given values keyed by given name
2836
2839
  * @param {*} [options] Override http request option.
2837
2840
  * @throws {RequiredError}
2838
2841
  */
2839
- executeNotebookCell(e, t, o, s, c, i, p, m) {
2840
- return n.executeNotebookCell(e, t, o, s, c, i, p, m).then((u) => u(a, r));
2842
+ executeNotebookCell(e, t, o, s, c, i, p, m, h) {
2843
+ return n.executeNotebookCell(e, t, o, s, c, i, p, m, h).then((I) => I(a, r));
2841
2844
  },
2842
2845
  /**
2843
2846
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2877,12 +2880,13 @@ class ce extends k {
2877
2880
  * @param {string} [versionId] Version identifier for the package
2878
2881
  * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
2879
2882
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
2883
+ * @param {string} [givens] JSON-encoded given values keyed by given name
2880
2884
  * @param {*} [options] Override http request option.
2881
2885
  * @throws {RequiredError}
2882
2886
  * @memberof NotebooksApi
2883
2887
  */
2884
- executeNotebookCell(r, a, n, e, t, o, s, c) {
2885
- return T(this.configuration).executeNotebookCell(r, a, n, e, t, o, s, c).then((i) => i(this.axios, this.basePath));
2888
+ executeNotebookCell(r, a, n, e, t, o, s, c, i) {
2889
+ return w(this.configuration).executeNotebookCell(r, a, n, e, t, o, s, c, i).then((p) => p(this.axios, this.basePath));
2886
2890
  }
2887
2891
  /**
2888
2892
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2896,7 +2900,7 @@ class ce extends k {
2896
2900
  * @memberof NotebooksApi
2897
2901
  */
2898
2902
  getNotebook(r, a, n, e, t) {
2899
- return T(this.configuration).getNotebook(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2903
+ return w(this.configuration).getNotebook(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2900
2904
  }
2901
2905
  /**
2902
2906
  * 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.
@@ -2909,7 +2913,7 @@ class ce extends k {
2909
2913
  * @memberof NotebooksApi
2910
2914
  */
2911
2915
  listNotebooks(r, a, n, e) {
2912
- return T(this.configuration).listNotebooks(r, a, n, e).then((t) => t(this.axios, this.basePath));
2916
+ return w(this.configuration).listNotebooks(r, a, n, e).then((t) => t(this.axios, this.basePath));
2913
2917
  }
2914
2918
  }
2915
2919
  const Ge = {
@@ -2934,7 +2938,7 @@ const Ge = {
2934
2938
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
2935
2939
  n !== void 0 && (p.autoLoadManifest = n), i["Content-Type"] = "application/json", v(o, p);
2936
2940
  let m = s && s.headers ? s.headers : {};
2937
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(a, c, l), {
2941
+ return c.headers = { ...i, ...m, ...e.headers }, c.data = y(a, c, l), {
2938
2942
  url: O(o),
2939
2943
  options: c
2940
2944
  };
@@ -2977,8 +2981,8 @@ const Ge = {
2977
2981
  l && (c = l.baseOptions);
2978
2982
  const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2979
2983
  n !== void 0 && (m.versionId = n), e !== void 0 && (m.reload = e), v(s, m);
2980
- let u = c && c.headers ? c.headers : {};
2981
- return i.headers = { ...p, ...u, ...t.headers }, {
2984
+ let h = c && c.headers ? c.headers : {};
2985
+ return i.headers = { ...p, ...h, ...t.headers }, {
2982
2986
  url: O(s),
2983
2987
  options: i
2984
2988
  };
@@ -3020,13 +3024,13 @@ const Ge = {
3020
3024
  const c = { method: "PATCH", ...s, ...e }, i = {}, p = {};
3021
3025
  i["Content-Type"] = "application/json", v(o, p);
3022
3026
  let m = s && s.headers ? s.headers : {};
3023
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
3027
+ return c.headers = { ...i, ...m, ...e.headers }, c.data = y(n, c, l), {
3024
3028
  url: O(o),
3025
3029
  options: c
3026
3030
  };
3027
3031
  }
3028
3032
  };
3029
- }, x = function(l) {
3033
+ }, R = function(l) {
3030
3034
  const r = le(l);
3031
3035
  return {
3032
3036
  /**
@@ -3040,7 +3044,7 @@ const Ge = {
3040
3044
  */
3041
3045
  async createPackage(a, n, e, t) {
3042
3046
  const o = await r.createPackage(a, n, e, t), s = l?.serverIndex ?? 0, c = P["PackagesApi.createPackage"]?.[s]?.url;
3043
- return (i, p) => b(o, h, g, l)(i, c || p);
3047
+ return (i, p) => b(o, u, g, l)(i, c || p);
3044
3048
  },
3045
3049
  /**
3046
3050
  * 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.
@@ -3052,7 +3056,7 @@ const Ge = {
3052
3056
  */
3053
3057
  async deletePackage(a, n, e) {
3054
3058
  const t = await r.deletePackage(a, n, e), o = l?.serverIndex ?? 0, s = P["PackagesApi.deletePackage"]?.[o]?.url;
3055
- return (c, i) => b(t, h, g, l)(c, s || i);
3059
+ return (c, i) => b(t, u, g, l)(c, s || i);
3056
3060
  },
3057
3061
  /**
3058
3062
  * 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.
@@ -3066,7 +3070,7 @@ const Ge = {
3066
3070
  */
3067
3071
  async getPackage(a, n, e, t, o) {
3068
3072
  const s = await r.getPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[c]?.url;
3069
- return (p, m) => b(s, h, g, l)(p, i || m);
3073
+ return (p, m) => b(s, u, g, l)(p, i || m);
3070
3074
  },
3071
3075
  /**
3072
3076
  * 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.
@@ -3077,7 +3081,7 @@ const Ge = {
3077
3081
  */
3078
3082
  async listPackages(a, n) {
3079
3083
  const e = await r.listPackages(a, n), t = l?.serverIndex ?? 0, o = P["PackagesApi.listPackages"]?.[t]?.url;
3080
- return (s, c) => b(e, h, g, l)(s, o || c);
3084
+ return (s, c) => b(e, u, g, l)(s, o || c);
3081
3085
  },
3082
3086
  /**
3083
3087
  * 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.
@@ -3090,11 +3094,11 @@ const Ge = {
3090
3094
  */
3091
3095
  async updatePackage(a, n, e, t) {
3092
3096
  const o = await r.updatePackage(a, n, e, t), s = l?.serverIndex ?? 0, c = P["PackagesApi.updatePackage"]?.[s]?.url;
3093
- return (i, p) => b(o, h, g, l)(i, c || p);
3097
+ return (i, p) => b(o, u, g, l)(i, c || p);
3094
3098
  }
3095
3099
  };
3096
3100
  }, _e = function(l, r, a) {
3097
- const n = x(l);
3101
+ const n = R(l);
3098
3102
  return {
3099
3103
  /**
3100
3104
  * 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.
@@ -3168,7 +3172,7 @@ class ie extends k {
3168
3172
  * @memberof PackagesApi
3169
3173
  */
3170
3174
  createPackage(r, a, n, e) {
3171
- return x(this.configuration).createPackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
3175
+ return R(this.configuration).createPackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
3172
3176
  }
3173
3177
  /**
3174
3178
  * 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.
@@ -3180,7 +3184,7 @@ class ie extends k {
3180
3184
  * @memberof PackagesApi
3181
3185
  */
3182
3186
  deletePackage(r, a, n) {
3183
- return x(this.configuration).deletePackage(r, a, n).then((e) => e(this.axios, this.basePath));
3187
+ return R(this.configuration).deletePackage(r, a, n).then((e) => e(this.axios, this.basePath));
3184
3188
  }
3185
3189
  /**
3186
3190
  * 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.
@@ -3194,7 +3198,7 @@ class ie extends k {
3194
3198
  * @memberof PackagesApi
3195
3199
  */
3196
3200
  getPackage(r, a, n, e, t) {
3197
- return x(this.configuration).getPackage(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
3201
+ return R(this.configuration).getPackage(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
3198
3202
  }
3199
3203
  /**
3200
3204
  * 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.
@@ -3205,7 +3209,7 @@ class ie extends k {
3205
3209
  * @memberof PackagesApi
3206
3210
  */
3207
3211
  listPackages(r, a) {
3208
- return x(this.configuration).listPackages(r, a).then((n) => n(this.axios, this.basePath));
3212
+ return R(this.configuration).listPackages(r, a).then((n) => n(this.axios, this.basePath));
3209
3213
  }
3210
3214
  /**
3211
3215
  * 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.
@@ -3218,7 +3222,7 @@ class ie extends k {
3218
3222
  * @memberof PackagesApi
3219
3223
  */
3220
3224
  updatePackage(r, a, n, e) {
3221
- return x(this.configuration).updatePackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
3225
+ return R(this.configuration).updatePackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
3222
3226
  }
3223
3227
  }
3224
3228
  const pe = function(l) {
@@ -3253,7 +3257,7 @@ const pe = function(l) {
3253
3257
  */
3254
3258
  async getStatus(a) {
3255
3259
  const n = await r.getStatus(a), e = l?.serverIndex ?? 0, t = P["PublisherApi.getStatus"]?.[e]?.url;
3256
- return (o, s) => b(n, h, g, l)(o, t || s);
3260
+ return (o, s) => b(n, u, g, l)(o, t || s);
3257
3261
  }
3258
3262
  };
3259
3263
  }, Je = function(l, r, a) {
@@ -3317,7 +3321,7 @@ const de = function(l) {
3317
3321
  const o = { method: "POST", ...t, ...a }, s = {}, c = {};
3318
3322
  s["Content-Type"] = "application/json", v(e, c);
3319
3323
  let i = t && t.headers ? t.headers : {};
3320
- return o.headers = { ...s, ...i, ...a.headers }, o.data = I(r, o, l), {
3324
+ return o.headers = { ...s, ...i, ...a.headers }, o.data = y(r, o, l), {
3321
3325
  url: O(e),
3322
3326
  options: o
3323
3327
  };
@@ -3341,7 +3345,7 @@ const de = function(l) {
3341
3345
  };
3342
3346
  }
3343
3347
  };
3344
- }, w = function(l) {
3348
+ }, M = function(l) {
3345
3349
  const r = de(l);
3346
3350
  return {
3347
3351
  /**
@@ -3352,7 +3356,7 @@ const de = function(l) {
3352
3356
  */
3353
3357
  async getWatchStatus(a) {
3354
3358
  const n = await r.getWatchStatus(a), e = l?.serverIndex ?? 0, t = P["WatchModeApi.getWatchStatus"]?.[e]?.url;
3355
- return (o, s) => b(n, h, g, l)(o, t || s);
3359
+ return (o, s) => b(n, u, g, l)(o, t || s);
3356
3360
  },
3357
3361
  /**
3358
3362
  * 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.
@@ -3363,7 +3367,7 @@ const de = function(l) {
3363
3367
  */
3364
3368
  async startWatching(a, n) {
3365
3369
  const e = await r.startWatching(a, n), t = l?.serverIndex ?? 0, o = P["WatchModeApi.startWatching"]?.[t]?.url;
3366
- return (s, c) => b(e, h, g, l)(s, o || c);
3370
+ return (s, c) => b(e, u, g, l)(s, o || c);
3367
3371
  },
3368
3372
  /**
3369
3373
  * 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.
@@ -3373,11 +3377,11 @@ const de = function(l) {
3373
3377
  */
3374
3378
  async stopWatching(a) {
3375
3379
  const n = await r.stopWatching(a), e = l?.serverIndex ?? 0, t = P["WatchModeApi.stopWatching"]?.[e]?.url;
3376
- return (o, s) => b(n, h, g, l)(o, t || s);
3380
+ return (o, s) => b(n, u, g, l)(o, t || s);
3377
3381
  }
3378
3382
  };
3379
3383
  }, Ke = function(l, r, a) {
3380
- const n = w(l);
3384
+ const n = M(l);
3381
3385
  return {
3382
3386
  /**
3383
3387
  * 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.
@@ -3418,7 +3422,7 @@ class he extends k {
3418
3422
  * @memberof WatchModeApi
3419
3423
  */
3420
3424
  getWatchStatus(r) {
3421
- return w(this.configuration).getWatchStatus(r).then((a) => a(this.axios, this.basePath));
3425
+ return M(this.configuration).getWatchStatus(r).then((a) => a(this.axios, this.basePath));
3422
3426
  }
3423
3427
  /**
3424
3428
  * 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.
@@ -3429,7 +3433,7 @@ class he extends k {
3429
3433
  * @memberof WatchModeApi
3430
3434
  */
3431
3435
  startWatching(r, a) {
3432
- return w(this.configuration).startWatching(r, a).then((n) => n(this.axios, this.basePath));
3436
+ return M(this.configuration).startWatching(r, a).then((n) => n(this.axios, this.basePath));
3433
3437
  }
3434
3438
  /**
3435
3439
  * 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.
@@ -3439,7 +3443,7 @@ class he extends k {
3439
3443
  * @memberof WatchModeApi
3440
3444
  */
3441
3445
  stopWatching(r) {
3442
- return w(this.configuration).stopWatching(r).then((a) => a(this.axios, this.basePath));
3446
+ return M(this.configuration).stopWatching(r).then((a) => a(this.axios, this.basePath));
3443
3447
  }
3444
3448
  }
3445
3449
  class ue {
@@ -3534,9 +3538,9 @@ const ge = new L({
3534
3538
  }
3535
3539
  }
3536
3540
  });
3537
- h.defaults.baseURL || (h.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3541
+ u.defaults.baseURL || (u.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3538
3542
  const j = D(void 0), Pe = (l, r) => {
3539
- const a = `${window.location.protocol}//${window.location.host}/api/v0`, n = h.create({
3543
+ const a = `${window.location.protocol}//${window.location.host}/api/v0`, n = u.create({
3540
3544
  baseURL: l || a,
3541
3545
  withCredentials: !0,
3542
3546
  timeout: 6e5
@@ -3570,14 +3574,14 @@ const j = D(void 0), Pe = (l, r) => {
3570
3574
  let m = !0;
3571
3575
  return (async () => {
3572
3576
  try {
3573
- const y = await e.publisher.getStatus();
3577
+ const I = await e.publisher.getStatus();
3574
3578
  if (m) {
3575
- const M = y.data?.frozenConfig;
3576
- let U;
3577
- M ? U = !1 : n === void 0 ? U = !0 : U = n, s(U), i(!1);
3579
+ const C = I.data?.frozenConfig;
3580
+ let A;
3581
+ C ? A = !1 : n === void 0 ? A = !0 : A = n, s(A), i(!1);
3578
3582
  }
3579
- } catch (y) {
3580
- console.error("Failed to fetch publisher status:", y), m && (s(n), i(!1));
3583
+ } catch (I) {
3584
+ console.error("Failed to fetch publisher status:", I), m && (s(n), i(!1));
3581
3585
  }
3582
3586
  })(), () => {
3583
3587
  m = !1;
@@ -3607,7 +3611,7 @@ export {
3607
3611
  xe as F,
3608
3612
  je as G,
3609
3613
  ne as H,
3610
- N as I,
3614
+ x as I,
3611
3615
  Le as J,
3612
3616
  He as K,
3613
3617
  Re as L,
@@ -3615,17 +3619,17 @@ export {
3615
3619
  Te as N,
3616
3620
  fe as O,
3617
3621
  re as P,
3618
- R as Q,
3622
+ U as Q,
3619
3623
  De as R,
3620
3624
  Ye as S,
3621
3625
  oe as T,
3622
3626
  se as U,
3623
- T as V,
3627
+ w as V,
3624
3628
  We as W,
3625
3629
  ce as X,
3626
3630
  Ge as Y,
3627
3631
  le as Z,
3628
- x as _,
3632
+ R as _,
3629
3633
  Ie as a,
3630
3634
  ie as a0,
3631
3635
  pe as a1,
@@ -3633,7 +3637,7 @@ export {
3633
3637
  Je as a3,
3634
3638
  me as a4,
3635
3639
  de as a5,
3636
- w as a6,
3640
+ M as a6,
3637
3641
  Ke as a7,
3638
3642
  he as a8,
3639
3643
  ue as a9,
@@ -3655,7 +3659,7 @@ export {
3655
3659
  F as q,
3656
3660
  $e as r,
3657
3661
  Z as s,
3658
- A as t,
3662
+ N as t,
3659
3663
  Xe as u,
3660
3664
  Be as v,
3661
3665
  ae as w,