@malloy-publisher/sdk 0.0.203 → 0.0.204

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 (41) hide show
  1. package/dist/{ServerProvider-a1T2FnBE.es.js → ServerProvider-Byndfro6.es.js} +652 -646
  2. package/dist/ServerProvider-DzJJm8Ss.cjs.js +1 -0
  3. package/dist/client/api.d.ts +12 -0
  4. package/dist/client/index.cjs.js +1 -1
  5. package/dist/client/index.es.js +1 -1
  6. package/dist/components/Materializations/CreateMaterializationDialog.d.ts +11 -0
  7. package/dist/components/Materializations/DeleteMaterializationDialog.d.ts +7 -0
  8. package/dist/components/Materializations/ManifestView.d.ts +14 -0
  9. package/dist/components/Materializations/MaterializationDetailDialog.d.ts +7 -0
  10. package/dist/components/Materializations/MaterializationRunsList.d.ts +11 -0
  11. package/dist/components/Materializations/Materializations.d.ts +7 -0
  12. package/dist/components/Materializations/index.d.ts +1 -0
  13. package/dist/components/Materializations/utils.d.ts +33 -0
  14. package/dist/components/Package/ContentTypeIcon.d.ts +1 -1
  15. package/dist/components/ServerProvider.d.ts +3 -1
  16. package/dist/components/given/GivenInput.d.ts +7 -0
  17. package/dist/components/given/utils.d.ts +17 -0
  18. package/dist/components/index.d.ts +1 -0
  19. package/dist/{core-BPLlx5VM.es.js → core-DECXYL4E.es.js} +1 -1
  20. package/dist/{core-GinK_1j5.cjs.js → core-rpX4ZiBw.cjs.js} +1 -1
  21. package/dist/{index-B8kmVFxA.cjs.js → index-DDoMd3Vi.cjs.js} +91 -90
  22. package/dist/{index-BNOut93L.es.js → index-fCeepsZI.es.js} +10134 -9288
  23. package/dist/index.cjs.js +1 -1
  24. package/dist/index.es.js +38 -37
  25. package/package.json +5 -5
  26. package/src/components/Materializations/CreateMaterializationDialog.tsx +123 -0
  27. package/src/components/Materializations/DeleteMaterializationDialog.tsx +91 -0
  28. package/src/components/Materializations/ManifestView.tsx +102 -0
  29. package/src/components/Materializations/MaterializationDetailDialog.tsx +204 -0
  30. package/src/components/Materializations/MaterializationRunsList.tsx +213 -0
  31. package/src/components/Materializations/Materializations.tsx +320 -0
  32. package/src/components/Materializations/index.ts +1 -0
  33. package/src/components/Materializations/utils.ts +98 -0
  34. package/src/components/Package/ContentTypeIcon.tsx +13 -1
  35. package/src/components/Package/Package.tsx +20 -4
  36. package/src/components/ServerProvider.tsx +8 -0
  37. package/src/components/given/GivenInput.tsx +63 -15
  38. package/src/components/given/utils.spec.ts +57 -0
  39. package/src/components/given/utils.ts +76 -0
  40. package/src/components/index.ts +1 -0
  41. package/dist/ServerProvider-F3zU218S.cjs.js +0 -1
@@ -4,8 +4,8 @@ import h from "axios";
4
4
  import { useContext as f, createContext as D, useMemo as W, useState as Q, useEffect as G } from "react";
5
5
  const u = "http://localhost/api/v0".replace(/\/+$/, "");
6
6
  class k {
7
- constructor(r, a = u, n = h) {
8
- this.basePath = a, this.axios = n, r && (this.configuration = r, this.basePath = r.basePath ?? a);
7
+ constructor(r, a = u, t = h) {
8
+ this.basePath = a, this.axios = t, r && (this.configuration = r, this.basePath = r.basePath ?? a);
9
9
  }
10
10
  configuration;
11
11
  }
@@ -19,41 +19,41 @@ const g = {}, V = "https://example.com", m = function(l, r, a) {
19
19
  throw new _(r, `Required parameter ${r} was null or undefined when calling ${l}.`);
20
20
  };
21
21
  function E(l, r, a = "") {
22
- r != null && (typeof r == "object" ? Array.isArray(r) ? r.forEach((n) => E(l, n, a)) : Object.keys(r).forEach(
23
- (n) => E(l, r[n], `${a}${a !== "" ? "." : ""}${n}`)
22
+ r != null && (typeof r == "object" ? Array.isArray(r) ? r.forEach((t) => E(l, t, a)) : Object.keys(r).forEach(
23
+ (t) => E(l, r[t], `${a}${a !== "" ? "." : ""}${t}`)
24
24
  ) : l.has(a) ? l.append(a, r) : l.set(a, r));
25
25
  }
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
29
  }, I = function(l, r, a) {
30
- const n = typeof l != "string";
31
- return (n && a && a.isJsonMime ? a.isJsonMime(r.headers["Content-Type"]) : n) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
30
+ const t = typeof l != "string";
31
+ return (t && a && a.isJsonMime ? a.isJsonMime(r.headers["Content-Type"]) : t) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
32
32
  }, O = function(l) {
33
33
  return l.pathname + l.search + l.hash;
34
- }, b = function(l, r, a, n) {
35
- return (e = r, t = a) => {
36
- const o = { ...l.options, url: (e.defaults.baseURL ? "" : n?.basePath ?? t) + l.url };
34
+ }, b = function(l, r, a, t) {
35
+ return (e = r, n = a) => {
36
+ const o = { ...l.options, url: (e.defaults.baseURL ? "" : t?.basePath ?? n) + l.url };
37
37
  return e.request(o);
38
38
  };
39
- }, Se = {
39
+ }, ye = {
40
40
  Bigquery: "bigquery",
41
41
  Snowflake: "snowflake",
42
42
  Postgres: "postgres",
43
43
  Gcs: "gcs",
44
44
  S3: "s3",
45
45
  Azure: "azure"
46
- }, Ie = {
46
+ }, ke = {
47
47
  ServicePrincipal: "service_principal",
48
48
  SasToken: "sas_token"
49
- }, ye = {
49
+ }, Ce = {
50
50
  Error: "error",
51
51
  Warn: "warn",
52
52
  Debug: "debug"
53
- }, ke = {
53
+ }, Ae = {
54
54
  Success: "success",
55
55
  Error: "error"
56
- }, Ce = {
56
+ }, xe = {
57
57
  Postgres: "postgres",
58
58
  Bigquery: "bigquery",
59
59
  Snowflake: "snowflake",
@@ -63,36 +63,36 @@ const v = function(l, ...r) {
63
63
  Duckdb: "duckdb",
64
64
  Motherduck: "motherduck",
65
65
  Ducklake: "ducklake"
66
- }, Ae = {
66
+ }, Ne = {
67
67
  Ok: "ok",
68
68
  Failed: "failed"
69
- }, xe = {
69
+ }, Re = {
70
70
  Embedded: "embedded",
71
71
  Materialized: "materialized"
72
- }, Ne = {
72
+ }, Ue = {
73
73
  Equal: "equal",
74
74
  In: "in",
75
75
  Like: "like",
76
76
  GreaterThan: "greater_than",
77
77
  LessThan: "less_than"
78
- }, Re = {
78
+ }, Te = {
79
79
  Debug: "debug",
80
80
  Info: "info",
81
81
  Warn: "warn",
82
82
  Error: "error"
83
- }, Ue = {
83
+ }, we = {
84
84
  Pending: "PENDING",
85
85
  Running: "RUNNING",
86
86
  Success: "SUCCESS",
87
87
  Failed: "FAILED",
88
88
  Cancelled: "CANCELLED"
89
- }, Te = {
89
+ }, Me = {
90
90
  Markdown: "markdown",
91
91
  Code: "code"
92
- }, we = {
92
+ }, Ee = {
93
93
  Markdown: "markdown",
94
94
  Code: "code"
95
- }, Me = {
95
+ }, qe = {
96
96
  Initializing: "initializing",
97
97
  Serving: "serving",
98
98
  Draining: "draining",
@@ -108,15 +108,15 @@ const v = function(l, ...r) {
108
108
  * @param {*} [options] Override http request option.
109
109
  * @throws {RequiredError}
110
110
  */
111
- createConnection: async (r, a, n, e = {}) => {
112
- m("createConnection", "environmentName", r), m("createConnection", "connectionName", a), m("createConnection", "connection", n);
113
- const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
111
+ createConnection: async (r, a, t, e = {}) => {
112
+ m("createConnection", "environmentName", r), m("createConnection", "connectionName", a), m("createConnection", "connection", t);
113
+ const n = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(n, V);
114
114
  let s;
115
115
  l && (s = l.baseOptions);
116
116
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
117
117
  i["Content-Type"] = "application/json", v(o, p);
118
118
  let d = s && s.headers ? s.headers : {};
119
- return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
119
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(t, c, l), {
120
120
  url: O(o),
121
121
  options: c
122
122
  };
@@ -129,16 +129,16 @@ const v = function(l, ...r) {
129
129
  * @param {*} [options] Override http request option.
130
130
  * @throws {RequiredError}
131
131
  */
132
- deleteConnection: async (r, a, n = {}) => {
132
+ deleteConnection: async (r, a, t = {}) => {
133
133
  m("deleteConnection", "environmentName", r), m("deleteConnection", "connectionName", a);
134
- const e = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), t = new URL(e, V);
134
+ const e = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), n = new URL(e, V);
135
135
  let o;
136
136
  l && (o = l.baseOptions);
137
- const s = { method: "DELETE", ...o, ...n }, c = {};
138
- v(t, {});
137
+ const s = { method: "DELETE", ...o, ...t }, c = {};
138
+ v(n, {});
139
139
  let p = o && o.headers ? o.headers : {};
140
- return s.headers = { ...c, ...p, ...n.headers }, {
141
- url: O(t),
140
+ return s.headers = { ...c, ...p, ...t.headers }, {
141
+ url: O(n),
142
142
  options: s
143
143
  };
144
144
  },
@@ -150,16 +150,16 @@ const v = function(l, ...r) {
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
152
152
  */
153
- getConnection: async (r, a, n = {}) => {
153
+ getConnection: async (r, a, t = {}) => {
154
154
  m("getConnection", "environmentName", r), m("getConnection", "connectionName", a);
155
- const e = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), t = new URL(e, V);
155
+ const e = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), n = new URL(e, V);
156
156
  let o;
157
157
  l && (o = l.baseOptions);
158
- const s = { method: "GET", ...o, ...n }, c = {};
159
- v(t, {});
158
+ const s = { method: "GET", ...o, ...t }, c = {};
159
+ v(n, {});
160
160
  let p = o && o.headers ? o.headers : {};
161
- return s.headers = { ...c, ...p, ...n.headers }, {
162
- url: O(t),
161
+ return s.headers = { ...c, ...p, ...t.headers }, {
162
+ url: O(n),
163
163
  options: s
164
164
  };
165
165
  },
@@ -173,13 +173,13 @@ const v = function(l, ...r) {
173
173
  * @deprecated
174
174
  * @throws {RequiredError}
175
175
  */
176
- getSqlsource: async (r, a, n, e = {}) => {
176
+ getSqlsource: async (r, a, t, e = {}) => {
177
177
  m("getSqlsource", "environmentName", r), m("getSqlsource", "connectionName", a);
178
- const t = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
178
+ const n = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(n, V);
179
179
  let s;
180
180
  l && (s = l.baseOptions);
181
181
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
182
- n !== void 0 && (p.sqlStatement = n), v(o, p);
182
+ t !== void 0 && (p.sqlStatement = t), v(o, p);
183
183
  let d = s && s.headers ? s.headers : {};
184
184
  return c.headers = { ...i, ...d, ...e.headers }, {
185
185
  url: O(o),
@@ -197,15 +197,15 @@ const v = function(l, ...r) {
197
197
  * @deprecated
198
198
  * @throws {RequiredError}
199
199
  */
200
- getSqlsourceInPackage: async (r, a, n, e, t = {}) => {
201
- m("getSqlsourceInPackage", "environmentName", r), m("getSqlsourceInPackage", "packageName", a), m("getSqlsourceInPackage", "connectionName", n);
202
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), s = new URL(o, V);
200
+ getSqlsourceInPackage: async (r, a, t, e, n = {}) => {
201
+ m("getSqlsourceInPackage", "environmentName", r), m("getSqlsourceInPackage", "packageName", a), m("getSqlsourceInPackage", "connectionName", t);
202
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, V);
203
203
  let c;
204
204
  l && (c = l.baseOptions);
205
- const i = { method: "GET", ...c, ...t }, p = {}, d = {};
205
+ const i = { method: "GET", ...c, ...n }, p = {}, d = {};
206
206
  e !== void 0 && (d.sqlStatement = e), v(s, d);
207
207
  let P = c && c.headers ? c.headers : {};
208
- return i.headers = { ...p, ...P, ...t.headers }, {
208
+ return i.headers = { ...p, ...P, ...n.headers }, {
209
209
  url: O(s),
210
210
  options: i
211
211
  };
@@ -220,15 +220,15 @@ const v = function(l, ...r) {
220
220
  * @param {*} [options] Override http request option.
221
221
  * @throws {RequiredError}
222
222
  */
223
- getTable: async (r, a, n, e, t = {}) => {
224
- m("getTable", "environmentName", r), m("getTable", "connectionName", a), m("getTable", "schemaName", n), m("getTable", "tablePath", e);
225
- const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))).replace("{schemaName}", encodeURIComponent(String(n))).replace("{tablePath}", encodeURIComponent(String(e))), s = new URL(o, V);
223
+ getTable: async (r, a, t, e, n = {}) => {
224
+ m("getTable", "environmentName", r), m("getTable", "connectionName", a), m("getTable", "schemaName", t), m("getTable", "tablePath", e);
225
+ const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))).replace("{schemaName}", encodeURIComponent(String(t))).replace("{tablePath}", encodeURIComponent(String(e))), s = new URL(o, V);
226
226
  let c;
227
227
  l && (c = l.baseOptions);
228
- const i = { method: "GET", ...c, ...t }, p = {};
228
+ const i = { method: "GET", ...c, ...n }, p = {};
229
229
  v(s, {});
230
230
  let P = c && c.headers ? c.headers : {};
231
- return i.headers = { ...p, ...P, ...t.headers }, {
231
+ return i.headers = { ...p, ...P, ...n.headers }, {
232
232
  url: O(s),
233
233
  options: i
234
234
  };
@@ -244,9 +244,9 @@ const v = function(l, ...r) {
244
244
  * @param {*} [options] Override http request option.
245
245
  * @throws {RequiredError}
246
246
  */
247
- getTableInPackage: async (r, a, n, e, t, o = {}) => {
248
- m("getTableInPackage", "environmentName", r), m("getTableInPackage", "packageName", a), m("getTableInPackage", "connectionName", n), m("getTableInPackage", "schemaName", e), m("getTableInPackage", "tablePath", t);
249
- const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))).replace("{schemaName}", encodeURIComponent(String(e))).replace("{tablePath}", encodeURIComponent(String(t))), c = new URL(s, V);
247
+ getTableInPackage: async (r, a, t, e, n, o = {}) => {
248
+ m("getTableInPackage", "environmentName", r), m("getTableInPackage", "packageName", a), m("getTableInPackage", "connectionName", t), m("getTableInPackage", "schemaName", e), m("getTableInPackage", "tablePath", n);
249
+ const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(t))).replace("{schemaName}", encodeURIComponent(String(e))).replace("{tablePath}", encodeURIComponent(String(n))), c = new URL(s, V);
250
250
  let i;
251
251
  l && (i = l.baseOptions);
252
252
  const p = { method: "GET", ...i, ...o }, d = {};
@@ -267,13 +267,13 @@ const v = function(l, ...r) {
267
267
  * @deprecated
268
268
  * @throws {RequiredError}
269
269
  */
270
- getTemporarytable: async (r, a, n, e = {}) => {
270
+ getTemporarytable: async (r, a, t, e = {}) => {
271
271
  m("getTemporarytable", "environmentName", r), m("getTemporarytable", "connectionName", a);
272
- const t = "/environments/{environmentName}/connections/{connectionName}/temporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
272
+ const n = "/environments/{environmentName}/connections/{connectionName}/temporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(n, V);
273
273
  let s;
274
274
  l && (s = l.baseOptions);
275
275
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
276
- n !== void 0 && (p.sqlStatement = n), v(o, p);
276
+ t !== void 0 && (p.sqlStatement = t), v(o, p);
277
277
  let d = s && s.headers ? s.headers : {};
278
278
  return c.headers = { ...i, ...d, ...e.headers }, {
279
279
  url: O(o),
@@ -291,15 +291,15 @@ const v = function(l, ...r) {
291
291
  * @deprecated
292
292
  * @throws {RequiredError}
293
293
  */
294
- getTemporarytableInPackage: async (r, a, n, e, t = {}) => {
295
- m("getTemporarytableInPackage", "environmentName", r), m("getTemporarytableInPackage", "packageName", a), m("getTemporarytableInPackage", "connectionName", n);
296
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/temporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), s = new URL(o, V);
294
+ getTemporarytableInPackage: async (r, a, t, e, n = {}) => {
295
+ m("getTemporarytableInPackage", "environmentName", r), m("getTemporarytableInPackage", "packageName", a), m("getTemporarytableInPackage", "connectionName", t);
296
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/temporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, V);
297
297
  let c;
298
298
  l && (c = l.baseOptions);
299
- const i = { method: "GET", ...c, ...t }, p = {}, d = {};
299
+ const i = { method: "GET", ...c, ...n }, p = {}, d = {};
300
300
  e !== void 0 && (d.sqlStatement = e), v(s, d);
301
301
  let P = c && c.headers ? c.headers : {};
302
- return i.headers = { ...p, ...P, ...t.headers }, {
302
+ return i.headers = { ...p, ...P, ...n.headers }, {
303
303
  url: O(s),
304
304
  options: i
305
305
  };
@@ -313,12 +313,12 @@ const v = function(l, ...r) {
313
313
  */
314
314
  listConnections: async (r, a = {}) => {
315
315
  m("listConnections", "environmentName", r);
316
- const n = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(n, V);
317
- let t;
318
- l && (t = l.baseOptions);
319
- const o = { method: "GET", ...t, ...a }, s = {};
316
+ const t = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(t, V);
317
+ let n;
318
+ l && (n = l.baseOptions);
319
+ const o = { method: "GET", ...n, ...a }, s = {};
320
320
  v(e, {});
321
- let i = t && t.headers ? t.headers : {};
321
+ let i = n && n.headers ? n.headers : {};
322
322
  return o.headers = { ...s, ...i, ...a.headers }, {
323
323
  url: O(e),
324
324
  options: o
@@ -332,16 +332,16 @@ const v = function(l, ...r) {
332
332
  * @param {*} [options] Override http request option.
333
333
  * @throws {RequiredError}
334
334
  */
335
- listSchemas: async (r, a, n = {}) => {
335
+ listSchemas: async (r, a, t = {}) => {
336
336
  m("listSchemas", "environmentName", r), m("listSchemas", "connectionName", a);
337
- const e = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), t = new URL(e, V);
337
+ const e = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), n = new URL(e, V);
338
338
  let o;
339
339
  l && (o = l.baseOptions);
340
- const s = { method: "GET", ...o, ...n }, c = {};
341
- v(t, {});
340
+ const s = { method: "GET", ...o, ...t }, c = {};
341
+ v(n, {});
342
342
  let p = o && o.headers ? o.headers : {};
343
- return s.headers = { ...c, ...p, ...n.headers }, {
344
- url: O(t),
343
+ return s.headers = { ...c, ...p, ...t.headers }, {
344
+ url: O(n),
345
345
  options: s
346
346
  };
347
347
  },
@@ -354,9 +354,9 @@ const v = function(l, ...r) {
354
354
  * @param {*} [options] Override http request option.
355
355
  * @throws {RequiredError}
356
356
  */
357
- listSchemasInPackage: async (r, a, n, e = {}) => {
358
- m("listSchemasInPackage", "environmentName", r), m("listSchemasInPackage", "packageName", a), m("listSchemasInPackage", "connectionName", n);
359
- const t = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), o = new URL(t, V);
357
+ listSchemasInPackage: async (r, a, t, e = {}) => {
358
+ m("listSchemasInPackage", "environmentName", r), m("listSchemasInPackage", "packageName", a), m("listSchemasInPackage", "connectionName", t);
359
+ const n = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(t))), o = new URL(n, V);
360
360
  let s;
361
361
  l && (s = l.baseOptions);
362
362
  const c = { method: "GET", ...s, ...e }, i = {};
@@ -377,15 +377,15 @@ const v = function(l, ...r) {
377
377
  * @param {*} [options] Override http request option.
378
378
  * @throws {RequiredError}
379
379
  */
380
- listTables: async (r, a, n, e, t = {}) => {
381
- m("listTables", "environmentName", r), m("listTables", "connectionName", a), m("listTables", "schemaName", n);
382
- const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))).replace("{schemaName}", encodeURIComponent(String(n))), s = new URL(o, V);
380
+ listTables: async (r, a, t, e, n = {}) => {
381
+ m("listTables", "environmentName", r), m("listTables", "connectionName", a), m("listTables", "schemaName", t);
382
+ const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))).replace("{schemaName}", encodeURIComponent(String(t))), s = new URL(o, V);
383
383
  let c;
384
384
  l && (c = l.baseOptions);
385
- const i = { method: "GET", ...c, ...t }, p = {}, d = {};
385
+ const i = { method: "GET", ...c, ...n }, p = {}, d = {};
386
386
  e && (d.tableNames = e), v(s, d);
387
387
  let P = c && c.headers ? c.headers : {};
388
- return i.headers = { ...p, ...P, ...t.headers }, {
388
+ return i.headers = { ...p, ...P, ...n.headers }, {
389
389
  url: O(s),
390
390
  options: i
391
391
  };
@@ -401,13 +401,13 @@ const v = function(l, ...r) {
401
401
  * @param {*} [options] Override http request option.
402
402
  * @throws {RequiredError}
403
403
  */
404
- listTablesInPackage: async (r, a, n, e, t, o = {}) => {
405
- m("listTablesInPackage", "environmentName", r), m("listTablesInPackage", "packageName", a), m("listTablesInPackage", "connectionName", n), m("listTablesInPackage", "schemaName", e);
406
- 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);
404
+ listTablesInPackage: async (r, a, t, e, n, o = {}) => {
405
+ m("listTablesInPackage", "environmentName", r), m("listTablesInPackage", "packageName", a), m("listTablesInPackage", "connectionName", t), m("listTablesInPackage", "schemaName", e);
406
+ 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(t))).replace("{schemaName}", encodeURIComponent(String(e))), c = new URL(s, V);
407
407
  let i;
408
408
  l && (i = l.baseOptions);
409
409
  const p = { method: "GET", ...i, ...o }, d = {}, P = {};
410
- t && (P.tableNames = t), v(c, P);
410
+ n && (P.tableNames = n), v(c, P);
411
411
  let y = i && i.headers ? i.headers : {};
412
412
  return p.headers = { ...d, ...y, ...o.headers }, {
413
413
  url: O(c),
@@ -424,15 +424,15 @@ const v = function(l, ...r) {
424
424
  * @param {*} [options] Override http request option.
425
425
  * @throws {RequiredError}
426
426
  */
427
- postQuerydata: async (r, a, n, e, t = {}) => {
428
- m("postQuerydata", "environmentName", r), m("postQuerydata", "connectionName", a), m("postQuerydata", "postQuerydataRequest", n);
427
+ postQuerydata: async (r, a, t, e, n = {}) => {
428
+ m("postQuerydata", "environmentName", r), m("postQuerydata", "connectionName", a), m("postQuerydata", "postQuerydataRequest", t);
429
429
  const o = "/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), s = new URL(o, V);
430
430
  let c;
431
431
  l && (c = l.baseOptions);
432
- const i = { method: "POST", ...c, ...t }, p = {}, d = {};
432
+ const i = { method: "POST", ...c, ...n }, p = {}, d = {};
433
433
  e !== void 0 && (d.options = e), p["Content-Type"] = "application/json", v(s, d);
434
434
  let P = c && c.headers ? c.headers : {};
435
- return i.headers = { ...p, ...P, ...t.headers }, i.data = I(n, i, l), {
435
+ return i.headers = { ...p, ...P, ...n.headers }, i.data = I(t, i, l), {
436
436
  url: O(s),
437
437
  options: i
438
438
  };
@@ -448,13 +448,13 @@ const v = function(l, ...r) {
448
448
  * @param {*} [options] Override http request option.
449
449
  * @throws {RequiredError}
450
450
  */
451
- postQuerydataInPackage: async (r, a, n, e, t, o = {}) => {
452
- m("postQuerydataInPackage", "environmentName", r), m("postQuerydataInPackage", "packageName", a), m("postQuerydataInPackage", "connectionName", n), m("postQuerydataInPackage", "postQuerydataRequest", e);
453
- 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);
451
+ postQuerydataInPackage: async (r, a, t, e, n, o = {}) => {
452
+ m("postQuerydataInPackage", "environmentName", r), m("postQuerydataInPackage", "packageName", a), m("postQuerydataInPackage", "connectionName", t), m("postQuerydataInPackage", "postQuerydataRequest", e);
453
+ const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(t))), c = new URL(s, V);
454
454
  let i;
455
455
  l && (i = l.baseOptions);
456
456
  const p = { method: "POST", ...i, ...o }, d = {}, P = {};
457
- t !== void 0 && (P.options = t), d["Content-Type"] = "application/json", v(c, P);
457
+ n !== void 0 && (P.options = n), d["Content-Type"] = "application/json", v(c, P);
458
458
  let y = i && i.headers ? i.headers : {};
459
459
  return p.headers = { ...d, ...y, ...o.headers }, p.data = I(e, p, l), {
460
460
  url: O(c),
@@ -470,15 +470,15 @@ const v = function(l, ...r) {
470
470
  * @param {*} [options] Override http request option.
471
471
  * @throws {RequiredError}
472
472
  */
473
- postSqlsource: async (r, a, n, e = {}) => {
474
- m("postSqlsource", "environmentName", r), m("postSqlsource", "connectionName", a), m("postSqlsource", "postSqlsourceRequest", n);
475
- const t = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
473
+ postSqlsource: async (r, a, t, e = {}) => {
474
+ m("postSqlsource", "environmentName", r), m("postSqlsource", "connectionName", a), m("postSqlsource", "postSqlsourceRequest", t);
475
+ const n = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(n, V);
476
476
  let s;
477
477
  l && (s = l.baseOptions);
478
478
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
479
479
  i["Content-Type"] = "application/json", v(o, p);
480
480
  let d = s && s.headers ? s.headers : {};
481
- return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
481
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(t, c, l), {
482
482
  url: O(o),
483
483
  options: c
484
484
  };
@@ -493,15 +493,15 @@ const v = function(l, ...r) {
493
493
  * @param {*} [options] Override http request option.
494
494
  * @throws {RequiredError}
495
495
  */
496
- postSqlsourceInPackage: async (r, a, n, e, t = {}) => {
497
- m("postSqlsourceInPackage", "environmentName", r), m("postSqlsourceInPackage", "packageName", a), m("postSqlsourceInPackage", "connectionName", n), m("postSqlsourceInPackage", "postSqlsourceRequest", e);
498
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), s = new URL(o, V);
496
+ postSqlsourceInPackage: async (r, a, t, e, n = {}) => {
497
+ m("postSqlsourceInPackage", "environmentName", r), m("postSqlsourceInPackage", "packageName", a), m("postSqlsourceInPackage", "connectionName", t), m("postSqlsourceInPackage", "postSqlsourceRequest", e);
498
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, V);
499
499
  let c;
500
500
  l && (c = l.baseOptions);
501
- const i = { method: "POST", ...c, ...t }, p = {}, d = {};
501
+ const i = { method: "POST", ...c, ...n }, p = {}, d = {};
502
502
  p["Content-Type"] = "application/json", v(s, d);
503
503
  let P = c && c.headers ? c.headers : {};
504
- return i.headers = { ...p, ...P, ...t.headers }, i.data = I(e, i, l), {
504
+ return i.headers = { ...p, ...P, ...n.headers }, i.data = I(e, i, l), {
505
505
  url: O(s),
506
506
  options: i
507
507
  };
@@ -515,15 +515,15 @@ const v = function(l, ...r) {
515
515
  * @param {*} [options] Override http request option.
516
516
  * @throws {RequiredError}
517
517
  */
518
- postTemporarytable: async (r, a, n, e = {}) => {
519
- m("postTemporarytable", "environmentName", r), m("postTemporarytable", "connectionName", a), m("postTemporarytable", "postSqlsourceRequest", n);
520
- const t = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
518
+ postTemporarytable: async (r, a, t, e = {}) => {
519
+ m("postTemporarytable", "environmentName", r), m("postTemporarytable", "connectionName", a), m("postTemporarytable", "postSqlsourceRequest", t);
520
+ const n = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(n, V);
521
521
  let s;
522
522
  l && (s = l.baseOptions);
523
523
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
524
524
  i["Content-Type"] = "application/json", v(o, p);
525
525
  let d = s && s.headers ? s.headers : {};
526
- return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
526
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(t, c, l), {
527
527
  url: O(o),
528
528
  options: c
529
529
  };
@@ -538,15 +538,15 @@ const v = function(l, ...r) {
538
538
  * @param {*} [options] Override http request option.
539
539
  * @throws {RequiredError}
540
540
  */
541
- postTemporarytableInPackage: async (r, a, n, e, t = {}) => {
542
- m("postTemporarytableInPackage", "environmentName", r), m("postTemporarytableInPackage", "packageName", a), m("postTemporarytableInPackage", "connectionName", n), m("postTemporarytableInPackage", "postSqlsourceRequest", e);
543
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), s = new URL(o, V);
541
+ postTemporarytableInPackage: async (r, a, t, e, n = {}) => {
542
+ m("postTemporarytableInPackage", "environmentName", r), m("postTemporarytableInPackage", "packageName", a), m("postTemporarytableInPackage", "connectionName", t), m("postTemporarytableInPackage", "postSqlsourceRequest", e);
543
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, V);
544
544
  let c;
545
545
  l && (c = l.baseOptions);
546
- const i = { method: "POST", ...c, ...t }, p = {}, d = {};
546
+ const i = { method: "POST", ...c, ...n }, p = {}, d = {};
547
547
  p["Content-Type"] = "application/json", v(s, d);
548
548
  let P = c && c.headers ? c.headers : {};
549
- return i.headers = { ...p, ...P, ...t.headers }, i.data = I(e, i, l), {
549
+ return i.headers = { ...p, ...P, ...n.headers }, i.data = I(e, i, l), {
550
550
  url: O(s),
551
551
  options: i
552
552
  };
@@ -560,15 +560,15 @@ const v = function(l, ...r) {
560
560
  * @param {*} [options] Override http request option.
561
561
  * @throws {RequiredError}
562
562
  */
563
- updateConnection: async (r, a, n, e = {}) => {
564
- m("updateConnection", "environmentName", r), m("updateConnection", "connectionName", a), m("updateConnection", "updateConnectionRequest", n);
565
- const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
563
+ updateConnection: async (r, a, t, e = {}) => {
564
+ m("updateConnection", "environmentName", r), m("updateConnection", "connectionName", a), m("updateConnection", "updateConnectionRequest", t);
565
+ const n = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(n, V);
566
566
  let s;
567
567
  l && (s = l.baseOptions);
568
568
  const c = { method: "PATCH", ...s, ...e }, i = {}, p = {};
569
569
  i["Content-Type"] = "application/json", v(o, p);
570
570
  let d = s && s.headers ? s.headers : {};
571
- return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
571
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(t, c, l), {
572
572
  url: O(o),
573
573
  options: c
574
574
  };
@@ -586,8 +586,8 @@ const v = function(l, ...r) {
586
586
  * @param {*} [options] Override http request option.
587
587
  * @throws {RequiredError}
588
588
  */
589
- async createConnection(a, n, e, t) {
590
- const o = await r.createConnection(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.createConnection"]?.[s]?.url;
589
+ async createConnection(a, t, e, n) {
590
+ const o = await r.createConnection(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.createConnection"]?.[s]?.url;
591
591
  return (i, p) => b(o, h, u, l)(i, c || p);
592
592
  },
593
593
  /**
@@ -598,9 +598,9 @@ const v = function(l, ...r) {
598
598
  * @param {*} [options] Override http request option.
599
599
  * @throws {RequiredError}
600
600
  */
601
- async deleteConnection(a, n, e) {
602
- const t = await r.deleteConnection(a, n, e), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.deleteConnection"]?.[o]?.url;
603
- return (c, i) => b(t, h, u, l)(c, s || i);
601
+ async deleteConnection(a, t, e) {
602
+ const n = await r.deleteConnection(a, t, e), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.deleteConnection"]?.[o]?.url;
603
+ return (c, i) => b(n, h, u, l)(c, s || i);
604
604
  },
605
605
  /**
606
606
  * 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.
@@ -610,9 +610,9 @@ const v = function(l, ...r) {
610
610
  * @param {*} [options] Override http request option.
611
611
  * @throws {RequiredError}
612
612
  */
613
- async getConnection(a, n, e) {
614
- const t = await r.getConnection(a, n, e), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.getConnection"]?.[o]?.url;
615
- return (c, i) => b(t, h, u, l)(c, s || i);
613
+ async getConnection(a, t, e) {
614
+ const n = await r.getConnection(a, t, e), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.getConnection"]?.[o]?.url;
615
+ return (c, i) => b(n, h, u, l)(c, s || i);
616
616
  },
617
617
  /**
618
618
  * **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.
@@ -624,8 +624,8 @@ const v = function(l, ...r) {
624
624
  * @deprecated
625
625
  * @throws {RequiredError}
626
626
  */
627
- async getSqlsource(a, n, e, t) {
628
- const o = await r.getSqlsource(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.getSqlsource"]?.[s]?.url;
627
+ async getSqlsource(a, t, e, n) {
628
+ const o = await r.getSqlsource(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.getSqlsource"]?.[s]?.url;
629
629
  return (i, p) => b(o, h, u, l)(i, c || p);
630
630
  },
631
631
  /**
@@ -639,8 +639,8 @@ const v = function(l, ...r) {
639
639
  * @deprecated
640
640
  * @throws {RequiredError}
641
641
  */
642
- async getSqlsourceInPackage(a, n, e, t, o) {
643
- const s = await r.getSqlsourceInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.getSqlsourceInPackage"]?.[c]?.url;
642
+ async getSqlsourceInPackage(a, t, e, n, o) {
643
+ const s = await r.getSqlsourceInPackage(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.getSqlsourceInPackage"]?.[c]?.url;
644
644
  return (p, d) => b(s, h, u, l)(p, i || d);
645
645
  },
646
646
  /**
@@ -653,8 +653,8 @@ const v = function(l, ...r) {
653
653
  * @param {*} [options] Override http request option.
654
654
  * @throws {RequiredError}
655
655
  */
656
- async getTable(a, n, e, t, o) {
657
- const s = await r.getTable(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.getTable"]?.[c]?.url;
656
+ async getTable(a, t, e, n, o) {
657
+ const s = await r.getTable(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.getTable"]?.[c]?.url;
658
658
  return (p, d) => b(s, h, u, l)(p, i || d);
659
659
  },
660
660
  /**
@@ -668,8 +668,8 @@ const v = function(l, ...r) {
668
668
  * @param {*} [options] Override http request option.
669
669
  * @throws {RequiredError}
670
670
  */
671
- async getTableInPackage(a, n, e, t, o, s) {
672
- const c = await r.getTableInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = g["ConnectionsApi.getTableInPackage"]?.[i]?.url;
671
+ async getTableInPackage(a, t, e, n, o, s) {
672
+ const c = await r.getTableInPackage(a, t, e, n, o, s), i = l?.serverIndex ?? 0, p = g["ConnectionsApi.getTableInPackage"]?.[i]?.url;
673
673
  return (d, P) => b(c, h, u, l)(d, p || P);
674
674
  },
675
675
  /**
@@ -682,8 +682,8 @@ const v = function(l, ...r) {
682
682
  * @deprecated
683
683
  * @throws {RequiredError}
684
684
  */
685
- async getTemporarytable(a, n, e, t) {
686
- const o = await r.getTemporarytable(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.getTemporarytable"]?.[s]?.url;
685
+ async getTemporarytable(a, t, e, n) {
686
+ const o = await r.getTemporarytable(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.getTemporarytable"]?.[s]?.url;
687
687
  return (i, p) => b(o, h, u, l)(i, c || p);
688
688
  },
689
689
  /**
@@ -697,8 +697,8 @@ const v = function(l, ...r) {
697
697
  * @deprecated
698
698
  * @throws {RequiredError}
699
699
  */
700
- async getTemporarytableInPackage(a, n, e, t, o) {
701
- const s = await r.getTemporarytableInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.getTemporarytableInPackage"]?.[c]?.url;
700
+ async getTemporarytableInPackage(a, t, e, n, o) {
701
+ const s = await r.getTemporarytableInPackage(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.getTemporarytableInPackage"]?.[c]?.url;
702
702
  return (p, d) => b(s, h, u, l)(p, i || d);
703
703
  },
704
704
  /**
@@ -708,8 +708,8 @@ const v = function(l, ...r) {
708
708
  * @param {*} [options] Override http request option.
709
709
  * @throws {RequiredError}
710
710
  */
711
- async listConnections(a, n) {
712
- const e = await r.listConnections(a, n), t = l?.serverIndex ?? 0, o = g["ConnectionsApi.listConnections"]?.[t]?.url;
711
+ async listConnections(a, t) {
712
+ const e = await r.listConnections(a, t), n = l?.serverIndex ?? 0, o = g["ConnectionsApi.listConnections"]?.[n]?.url;
713
713
  return (s, c) => b(e, h, u, l)(s, o || c);
714
714
  },
715
715
  /**
@@ -720,9 +720,9 @@ const v = function(l, ...r) {
720
720
  * @param {*} [options] Override http request option.
721
721
  * @throws {RequiredError}
722
722
  */
723
- async listSchemas(a, n, e) {
724
- const t = await r.listSchemas(a, n, e), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.listSchemas"]?.[o]?.url;
725
- return (c, i) => b(t, h, u, l)(c, s || i);
723
+ async listSchemas(a, t, e) {
724
+ const n = await r.listSchemas(a, t, e), o = l?.serverIndex ?? 0, s = g["ConnectionsApi.listSchemas"]?.[o]?.url;
725
+ return (c, i) => b(n, h, u, l)(c, s || i);
726
726
  },
727
727
  /**
728
728
  * 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).
@@ -733,8 +733,8 @@ const v = function(l, ...r) {
733
733
  * @param {*} [options] Override http request option.
734
734
  * @throws {RequiredError}
735
735
  */
736
- async listSchemasInPackage(a, n, e, t) {
737
- const o = await r.listSchemasInPackage(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
736
+ async listSchemasInPackage(a, t, e, n) {
737
+ const o = await r.listSchemasInPackage(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
738
738
  return (i, p) => b(o, h, u, l)(i, c || p);
739
739
  },
740
740
  /**
@@ -747,8 +747,8 @@ const v = function(l, ...r) {
747
747
  * @param {*} [options] Override http request option.
748
748
  * @throws {RequiredError}
749
749
  */
750
- async listTables(a, n, e, t, o) {
751
- const s = await r.listTables(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.listTables"]?.[c]?.url;
750
+ async listTables(a, t, e, n, o) {
751
+ const s = await r.listTables(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.listTables"]?.[c]?.url;
752
752
  return (p, d) => b(s, h, u, l)(p, i || d);
753
753
  },
754
754
  /**
@@ -762,8 +762,8 @@ const v = function(l, ...r) {
762
762
  * @param {*} [options] Override http request option.
763
763
  * @throws {RequiredError}
764
764
  */
765
- async listTablesInPackage(a, n, e, t, o, s) {
766
- const c = await r.listTablesInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = g["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
765
+ async listTablesInPackage(a, t, e, n, o, s) {
766
+ const c = await r.listTablesInPackage(a, t, e, n, o, s), i = l?.serverIndex ?? 0, p = g["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
767
767
  return (d, P) => b(c, h, u, l)(d, p || P);
768
768
  },
769
769
  /**
@@ -776,8 +776,8 @@ const v = function(l, ...r) {
776
776
  * @param {*} [options] Override http request option.
777
777
  * @throws {RequiredError}
778
778
  */
779
- async postQuerydata(a, n, e, t, o) {
780
- const s = await r.postQuerydata(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postQuerydata"]?.[c]?.url;
779
+ async postQuerydata(a, t, e, n, o) {
780
+ const s = await r.postQuerydata(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postQuerydata"]?.[c]?.url;
781
781
  return (p, d) => b(s, h, u, l)(p, i || d);
782
782
  },
783
783
  /**
@@ -791,8 +791,8 @@ const v = function(l, ...r) {
791
791
  * @param {*} [options] Override http request option.
792
792
  * @throws {RequiredError}
793
793
  */
794
- async postQuerydataInPackage(a, n, e, t, o, s) {
795
- const c = await r.postQuerydataInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = g["ConnectionsApi.postQuerydataInPackage"]?.[i]?.url;
794
+ async postQuerydataInPackage(a, t, e, n, o, s) {
795
+ const c = await r.postQuerydataInPackage(a, t, e, n, o, s), i = l?.serverIndex ?? 0, p = g["ConnectionsApi.postQuerydataInPackage"]?.[i]?.url;
796
796
  return (d, P) => b(c, h, u, l)(d, p || P);
797
797
  },
798
798
  /**
@@ -804,8 +804,8 @@ const v = function(l, ...r) {
804
804
  * @param {*} [options] Override http request option.
805
805
  * @throws {RequiredError}
806
806
  */
807
- async postSqlsource(a, n, e, t) {
808
- const o = await r.postSqlsource(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.postSqlsource"]?.[s]?.url;
807
+ async postSqlsource(a, t, e, n) {
808
+ const o = await r.postSqlsource(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.postSqlsource"]?.[s]?.url;
809
809
  return (i, p) => b(o, h, u, l)(i, c || p);
810
810
  },
811
811
  /**
@@ -818,8 +818,8 @@ const v = function(l, ...r) {
818
818
  * @param {*} [options] Override http request option.
819
819
  * @throws {RequiredError}
820
820
  */
821
- async postSqlsourceInPackage(a, n, e, t, o) {
822
- const s = await r.postSqlsourceInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;
821
+ async postSqlsourceInPackage(a, t, e, n, o) {
822
+ const s = await r.postSqlsourceInPackage(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;
823
823
  return (p, d) => b(s, h, u, l)(p, i || d);
824
824
  },
825
825
  /**
@@ -831,8 +831,8 @@ const v = function(l, ...r) {
831
831
  * @param {*} [options] Override http request option.
832
832
  * @throws {RequiredError}
833
833
  */
834
- async postTemporarytable(a, n, e, t) {
835
- const o = await r.postTemporarytable(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.postTemporarytable"]?.[s]?.url;
834
+ async postTemporarytable(a, t, e, n) {
835
+ const o = await r.postTemporarytable(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.postTemporarytable"]?.[s]?.url;
836
836
  return (i, p) => b(o, h, u, l)(i, c || p);
837
837
  },
838
838
  /**
@@ -845,8 +845,8 @@ const v = function(l, ...r) {
845
845
  * @param {*} [options] Override http request option.
846
846
  * @throws {RequiredError}
847
847
  */
848
- async postTemporarytableInPackage(a, n, e, t, o) {
849
- const s = await r.postTemporarytableInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;
848
+ async postTemporarytableInPackage(a, t, e, n, o) {
849
+ const s = await r.postTemporarytableInPackage(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;
850
850
  return (p, d) => b(s, h, u, l)(p, i || d);
851
851
  },
852
852
  /**
@@ -858,13 +858,13 @@ const v = function(l, ...r) {
858
858
  * @param {*} [options] Override http request option.
859
859
  * @throws {RequiredError}
860
860
  */
861
- async updateConnection(a, n, e, t) {
862
- const o = await r.updateConnection(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.updateConnection"]?.[s]?.url;
861
+ async updateConnection(a, t, e, n) {
862
+ const o = await r.updateConnection(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ConnectionsApi.updateConnection"]?.[s]?.url;
863
863
  return (i, p) => b(o, h, u, l)(i, c || p);
864
864
  }
865
865
  };
866
- }, Ee = function(l, r, a) {
867
- const n = S(l);
866
+ }, $e = function(l, r, a) {
867
+ const t = S(l);
868
868
  return {
869
869
  /**
870
870
  * Creates a new database connection in the specified environment.
@@ -875,8 +875,8 @@ const v = function(l, ...r) {
875
875
  * @param {*} [options] Override http request option.
876
876
  * @throws {RequiredError}
877
877
  */
878
- createConnection(e, t, o, s) {
879
- return n.createConnection(e, t, o, s).then((c) => c(a, r));
878
+ createConnection(e, n, o, s) {
879
+ return t.createConnection(e, n, o, s).then((c) => c(a, r));
880
880
  },
881
881
  /**
882
882
  * Permanently deletes a database connection from the environment.
@@ -886,8 +886,8 @@ const v = function(l, ...r) {
886
886
  * @param {*} [options] Override http request option.
887
887
  * @throws {RequiredError}
888
888
  */
889
- deleteConnection(e, t, o) {
890
- return n.deleteConnection(e, t, o).then((s) => s(a, r));
889
+ deleteConnection(e, n, o) {
890
+ return t.deleteConnection(e, n, o).then((s) => s(a, r));
891
891
  },
892
892
  /**
893
893
  * 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.
@@ -897,8 +897,8 @@ const v = function(l, ...r) {
897
897
  * @param {*} [options] Override http request option.
898
898
  * @throws {RequiredError}
899
899
  */
900
- getConnection(e, t, o) {
901
- return n.getConnection(e, t, o).then((s) => s(a, r));
900
+ getConnection(e, n, o) {
901
+ return t.getConnection(e, n, o).then((s) => s(a, r));
902
902
  },
903
903
  /**
904
904
  * **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.
@@ -910,8 +910,8 @@ const v = function(l, ...r) {
910
910
  * @deprecated
911
911
  * @throws {RequiredError}
912
912
  */
913
- getSqlsource(e, t, o, s) {
914
- return n.getSqlsource(e, t, o, s).then((c) => c(a, r));
913
+ getSqlsource(e, n, o, s) {
914
+ return t.getSqlsource(e, n, o, s).then((c) => c(a, r));
915
915
  },
916
916
  /**
917
917
  * **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.
@@ -924,8 +924,8 @@ const v = function(l, ...r) {
924
924
  * @deprecated
925
925
  * @throws {RequiredError}
926
926
  */
927
- getSqlsourceInPackage(e, t, o, s, c) {
928
- return n.getSqlsourceInPackage(e, t, o, s, c).then((i) => i(a, r));
927
+ getSqlsourceInPackage(e, n, o, s, c) {
928
+ return t.getSqlsourceInPackage(e, n, o, s, c).then((i) => i(a, r));
929
929
  },
930
930
  /**
931
931
  * 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.
@@ -937,8 +937,8 @@ const v = function(l, ...r) {
937
937
  * @param {*} [options] Override http request option.
938
938
  * @throws {RequiredError}
939
939
  */
940
- getTable(e, t, o, s, c) {
941
- return n.getTable(e, t, o, s, c).then((i) => i(a, r));
940
+ getTable(e, n, o, s, c) {
941
+ return t.getTable(e, n, o, s, c).then((i) => i(a, r));
942
942
  },
943
943
  /**
944
944
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -951,8 +951,8 @@ const v = function(l, ...r) {
951
951
  * @param {*} [options] Override http request option.
952
952
  * @throws {RequiredError}
953
953
  */
954
- getTableInPackage(e, t, o, s, c, i) {
955
- return n.getTableInPackage(e, t, o, s, c, i).then((p) => p(a, r));
954
+ getTableInPackage(e, n, o, s, c, i) {
955
+ return t.getTableInPackage(e, n, o, s, c, i).then((p) => p(a, r));
956
956
  },
957
957
  /**
958
958
  * **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.
@@ -964,8 +964,8 @@ const v = function(l, ...r) {
964
964
  * @deprecated
965
965
  * @throws {RequiredError}
966
966
  */
967
- getTemporarytable(e, t, o, s) {
968
- return n.getTemporarytable(e, t, o, s).then((c) => c(a, r));
967
+ getTemporarytable(e, n, o, s) {
968
+ return t.getTemporarytable(e, n, o, s).then((c) => c(a, r));
969
969
  },
970
970
  /**
971
971
  * **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.
@@ -978,8 +978,8 @@ const v = function(l, ...r) {
978
978
  * @deprecated
979
979
  * @throws {RequiredError}
980
980
  */
981
- getTemporarytableInPackage(e, t, o, s, c) {
982
- return n.getTemporarytableInPackage(e, t, o, s, c).then((i) => i(a, r));
981
+ getTemporarytableInPackage(e, n, o, s, c) {
982
+ return t.getTemporarytableInPackage(e, n, o, s, c).then((i) => i(a, r));
983
983
  },
984
984
  /**
985
985
  * 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.
@@ -988,8 +988,8 @@ const v = function(l, ...r) {
988
988
  * @param {*} [options] Override http request option.
989
989
  * @throws {RequiredError}
990
990
  */
991
- listConnections(e, t) {
992
- return n.listConnections(e, t).then((o) => o(a, r));
991
+ listConnections(e, n) {
992
+ return t.listConnections(e, n).then((o) => o(a, r));
993
993
  },
994
994
  /**
995
995
  * 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.
@@ -999,8 +999,8 @@ const v = function(l, ...r) {
999
999
  * @param {*} [options] Override http request option.
1000
1000
  * @throws {RequiredError}
1001
1001
  */
1002
- listSchemas(e, t, o) {
1003
- return n.listSchemas(e, t, o).then((s) => s(a, r));
1002
+ listSchemas(e, n, o) {
1003
+ return t.listSchemas(e, n, o).then((s) => s(a, r));
1004
1004
  },
1005
1005
  /**
1006
1006
  * 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).
@@ -1011,8 +1011,8 @@ const v = function(l, ...r) {
1011
1011
  * @param {*} [options] Override http request option.
1012
1012
  * @throws {RequiredError}
1013
1013
  */
1014
- listSchemasInPackage(e, t, o, s) {
1015
- return n.listSchemasInPackage(e, t, o, s).then((c) => c(a, r));
1014
+ listSchemasInPackage(e, n, o, s) {
1015
+ return t.listSchemasInPackage(e, n, o, s).then((c) => c(a, r));
1016
1016
  },
1017
1017
  /**
1018
1018
  * 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.
@@ -1024,8 +1024,8 @@ const v = function(l, ...r) {
1024
1024
  * @param {*} [options] Override http request option.
1025
1025
  * @throws {RequiredError}
1026
1026
  */
1027
- listTables(e, t, o, s, c) {
1028
- return n.listTables(e, t, o, s, c).then((i) => i(a, r));
1027
+ listTables(e, n, o, s, c) {
1028
+ return t.listTables(e, n, o, s, c).then((i) => i(a, r));
1029
1029
  },
1030
1030
  /**
1031
1031
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -1038,8 +1038,8 @@ const v = function(l, ...r) {
1038
1038
  * @param {*} [options] Override http request option.
1039
1039
  * @throws {RequiredError}
1040
1040
  */
1041
- listTablesInPackage(e, t, o, s, c, i) {
1042
- return n.listTablesInPackage(e, t, o, s, c, i).then((p) => p(a, r));
1041
+ listTablesInPackage(e, n, o, s, c, i) {
1042
+ return t.listTablesInPackage(e, n, o, s, c, i).then((p) => p(a, r));
1043
1043
  },
1044
1044
  /**
1045
1045
  * 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.
@@ -1051,8 +1051,8 @@ const v = function(l, ...r) {
1051
1051
  * @param {*} [options] Override http request option.
1052
1052
  * @throws {RequiredError}
1053
1053
  */
1054
- postQuerydata(e, t, o, s, c) {
1055
- return n.postQuerydata(e, t, o, s, c).then((i) => i(a, r));
1054
+ postQuerydata(e, n, o, s, c) {
1055
+ return t.postQuerydata(e, n, o, s, c).then((i) => i(a, r));
1056
1056
  },
1057
1057
  /**
1058
1058
  * 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.
@@ -1065,8 +1065,8 @@ const v = function(l, ...r) {
1065
1065
  * @param {*} [options] Override http request option.
1066
1066
  * @throws {RequiredError}
1067
1067
  */
1068
- postQuerydataInPackage(e, t, o, s, c, i) {
1069
- return n.postQuerydataInPackage(e, t, o, s, c, i).then((p) => p(a, r));
1068
+ postQuerydataInPackage(e, n, o, s, c, i) {
1069
+ return t.postQuerydataInPackage(e, n, o, s, c, i).then((p) => p(a, r));
1070
1070
  },
1071
1071
  /**
1072
1072
  * 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.
@@ -1077,8 +1077,8 @@ const v = function(l, ...r) {
1077
1077
  * @param {*} [options] Override http request option.
1078
1078
  * @throws {RequiredError}
1079
1079
  */
1080
- postSqlsource(e, t, o, s) {
1081
- return n.postSqlsource(e, t, o, s).then((c) => c(a, r));
1080
+ postSqlsource(e, n, o, s) {
1081
+ return t.postSqlsource(e, n, o, s).then((c) => c(a, r));
1082
1082
  },
1083
1083
  /**
1084
1084
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -1090,8 +1090,8 @@ const v = function(l, ...r) {
1090
1090
  * @param {*} [options] Override http request option.
1091
1091
  * @throws {RequiredError}
1092
1092
  */
1093
- postSqlsourceInPackage(e, t, o, s, c) {
1094
- return n.postSqlsourceInPackage(e, t, o, s, c).then((i) => i(a, r));
1093
+ postSqlsourceInPackage(e, n, o, s, c) {
1094
+ return t.postSqlsourceInPackage(e, n, o, s, c).then((i) => i(a, r));
1095
1095
  },
1096
1096
  /**
1097
1097
  * 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.
@@ -1102,8 +1102,8 @@ const v = function(l, ...r) {
1102
1102
  * @param {*} [options] Override http request option.
1103
1103
  * @throws {RequiredError}
1104
1104
  */
1105
- postTemporarytable(e, t, o, s) {
1106
- return n.postTemporarytable(e, t, o, s).then((c) => c(a, r));
1105
+ postTemporarytable(e, n, o, s) {
1106
+ return t.postTemporarytable(e, n, o, s).then((c) => c(a, r));
1107
1107
  },
1108
1108
  /**
1109
1109
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1115,8 +1115,8 @@ const v = function(l, ...r) {
1115
1115
  * @param {*} [options] Override http request option.
1116
1116
  * @throws {RequiredError}
1117
1117
  */
1118
- postTemporarytableInPackage(e, t, o, s, c) {
1119
- return n.postTemporarytableInPackage(e, t, o, s, c).then((i) => i(a, r));
1118
+ postTemporarytableInPackage(e, n, o, s, c) {
1119
+ return t.postTemporarytableInPackage(e, n, o, s, c).then((i) => i(a, r));
1120
1120
  },
1121
1121
  /**
1122
1122
  * Updates the configuration of an existing database connection.
@@ -1127,8 +1127,8 @@ const v = function(l, ...r) {
1127
1127
  * @param {*} [options] Override http request option.
1128
1128
  * @throws {RequiredError}
1129
1129
  */
1130
- updateConnection(e, t, o, s) {
1131
- return n.updateConnection(e, t, o, s).then((c) => c(a, r));
1130
+ updateConnection(e, n, o, s) {
1131
+ return t.updateConnection(e, n, o, s).then((c) => c(a, r));
1132
1132
  }
1133
1133
  };
1134
1134
  };
@@ -1143,8 +1143,8 @@ class K extends k {
1143
1143
  * @throws {RequiredError}
1144
1144
  * @memberof ConnectionsApi
1145
1145
  */
1146
- createConnection(r, a, n, e) {
1147
- return S(this.configuration).createConnection(r, a, n, e).then((t) => t(this.axios, this.basePath));
1146
+ createConnection(r, a, t, e) {
1147
+ return S(this.configuration).createConnection(r, a, t, e).then((n) => n(this.axios, this.basePath));
1148
1148
  }
1149
1149
  /**
1150
1150
  * Permanently deletes a database connection from the environment.
@@ -1155,8 +1155,8 @@ class K extends k {
1155
1155
  * @throws {RequiredError}
1156
1156
  * @memberof ConnectionsApi
1157
1157
  */
1158
- deleteConnection(r, a, n) {
1159
- return S(this.configuration).deleteConnection(r, a, n).then((e) => e(this.axios, this.basePath));
1158
+ deleteConnection(r, a, t) {
1159
+ return S(this.configuration).deleteConnection(r, a, t).then((e) => e(this.axios, this.basePath));
1160
1160
  }
1161
1161
  /**
1162
1162
  * 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.
@@ -1167,8 +1167,8 @@ class K extends k {
1167
1167
  * @throws {RequiredError}
1168
1168
  * @memberof ConnectionsApi
1169
1169
  */
1170
- getConnection(r, a, n) {
1171
- return S(this.configuration).getConnection(r, a, n).then((e) => e(this.axios, this.basePath));
1170
+ getConnection(r, a, t) {
1171
+ return S(this.configuration).getConnection(r, a, t).then((e) => e(this.axios, this.basePath));
1172
1172
  }
1173
1173
  /**
1174
1174
  * **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.
@@ -1181,8 +1181,8 @@ class K extends k {
1181
1181
  * @throws {RequiredError}
1182
1182
  * @memberof ConnectionsApi
1183
1183
  */
1184
- getSqlsource(r, a, n, e) {
1185
- return S(this.configuration).getSqlsource(r, a, n, e).then((t) => t(this.axios, this.basePath));
1184
+ getSqlsource(r, a, t, e) {
1185
+ return S(this.configuration).getSqlsource(r, a, t, e).then((n) => n(this.axios, this.basePath));
1186
1186
  }
1187
1187
  /**
1188
1188
  * **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.
@@ -1196,8 +1196,8 @@ class K extends k {
1196
1196
  * @throws {RequiredError}
1197
1197
  * @memberof ConnectionsApi
1198
1198
  */
1199
- getSqlsourceInPackage(r, a, n, e, t) {
1200
- return S(this.configuration).getSqlsourceInPackage(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
1199
+ getSqlsourceInPackage(r, a, t, e, n) {
1200
+ return S(this.configuration).getSqlsourceInPackage(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
1201
1201
  }
1202
1202
  /**
1203
1203
  * 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.
@@ -1210,8 +1210,8 @@ class K extends k {
1210
1210
  * @throws {RequiredError}
1211
1211
  * @memberof ConnectionsApi
1212
1212
  */
1213
- getTable(r, a, n, e, t) {
1214
- return S(this.configuration).getTable(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
1213
+ getTable(r, a, t, e, n) {
1214
+ return S(this.configuration).getTable(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
1215
1215
  }
1216
1216
  /**
1217
1217
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -1225,8 +1225,8 @@ class K extends k {
1225
1225
  * @throws {RequiredError}
1226
1226
  * @memberof ConnectionsApi
1227
1227
  */
1228
- getTableInPackage(r, a, n, e, t, o) {
1229
- return S(this.configuration).getTableInPackage(r, a, n, e, t, o).then((s) => s(this.axios, this.basePath));
1228
+ getTableInPackage(r, a, t, e, n, o) {
1229
+ return S(this.configuration).getTableInPackage(r, a, t, e, n, o).then((s) => s(this.axios, this.basePath));
1230
1230
  }
1231
1231
  /**
1232
1232
  * **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.
@@ -1239,8 +1239,8 @@ class K extends k {
1239
1239
  * @throws {RequiredError}
1240
1240
  * @memberof ConnectionsApi
1241
1241
  */
1242
- getTemporarytable(r, a, n, e) {
1243
- return S(this.configuration).getTemporarytable(r, a, n, e).then((t) => t(this.axios, this.basePath));
1242
+ getTemporarytable(r, a, t, e) {
1243
+ return S(this.configuration).getTemporarytable(r, a, t, e).then((n) => n(this.axios, this.basePath));
1244
1244
  }
1245
1245
  /**
1246
1246
  * **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.
@@ -1254,8 +1254,8 @@ class K extends k {
1254
1254
  * @throws {RequiredError}
1255
1255
  * @memberof ConnectionsApi
1256
1256
  */
1257
- getTemporarytableInPackage(r, a, n, e, t) {
1258
- return S(this.configuration).getTemporarytableInPackage(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
1257
+ getTemporarytableInPackage(r, a, t, e, n) {
1258
+ return S(this.configuration).getTemporarytableInPackage(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
1259
1259
  }
1260
1260
  /**
1261
1261
  * 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.
@@ -1266,7 +1266,7 @@ class K extends k {
1266
1266
  * @memberof ConnectionsApi
1267
1267
  */
1268
1268
  listConnections(r, a) {
1269
- return S(this.configuration).listConnections(r, a).then((n) => n(this.axios, this.basePath));
1269
+ return S(this.configuration).listConnections(r, a).then((t) => t(this.axios, this.basePath));
1270
1270
  }
1271
1271
  /**
1272
1272
  * 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.
@@ -1277,8 +1277,8 @@ class K extends k {
1277
1277
  * @throws {RequiredError}
1278
1278
  * @memberof ConnectionsApi
1279
1279
  */
1280
- listSchemas(r, a, n) {
1281
- return S(this.configuration).listSchemas(r, a, n).then((e) => e(this.axios, this.basePath));
1280
+ listSchemas(r, a, t) {
1281
+ return S(this.configuration).listSchemas(r, a, t).then((e) => e(this.axios, this.basePath));
1282
1282
  }
1283
1283
  /**
1284
1284
  * 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).
@@ -1290,8 +1290,8 @@ class K extends k {
1290
1290
  * @throws {RequiredError}
1291
1291
  * @memberof ConnectionsApi
1292
1292
  */
1293
- listSchemasInPackage(r, a, n, e) {
1294
- return S(this.configuration).listSchemasInPackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
1293
+ listSchemasInPackage(r, a, t, e) {
1294
+ return S(this.configuration).listSchemasInPackage(r, a, t, e).then((n) => n(this.axios, this.basePath));
1295
1295
  }
1296
1296
  /**
1297
1297
  * 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.
@@ -1304,8 +1304,8 @@ class K extends k {
1304
1304
  * @throws {RequiredError}
1305
1305
  * @memberof ConnectionsApi
1306
1306
  */
1307
- listTables(r, a, n, e, t) {
1308
- return S(this.configuration).listTables(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
1307
+ listTables(r, a, t, e, n) {
1308
+ return S(this.configuration).listTables(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
1309
1309
  }
1310
1310
  /**
1311
1311
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -1319,8 +1319,8 @@ class K extends k {
1319
1319
  * @throws {RequiredError}
1320
1320
  * @memberof ConnectionsApi
1321
1321
  */
1322
- listTablesInPackage(r, a, n, e, t, o) {
1323
- return S(this.configuration).listTablesInPackage(r, a, n, e, t, o).then((s) => s(this.axios, this.basePath));
1322
+ listTablesInPackage(r, a, t, e, n, o) {
1323
+ return S(this.configuration).listTablesInPackage(r, a, t, e, n, o).then((s) => s(this.axios, this.basePath));
1324
1324
  }
1325
1325
  /**
1326
1326
  * 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.
@@ -1333,8 +1333,8 @@ class K extends k {
1333
1333
  * @throws {RequiredError}
1334
1334
  * @memberof ConnectionsApi
1335
1335
  */
1336
- postQuerydata(r, a, n, e, t) {
1337
- return S(this.configuration).postQuerydata(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
1336
+ postQuerydata(r, a, t, e, n) {
1337
+ return S(this.configuration).postQuerydata(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
1338
1338
  }
1339
1339
  /**
1340
1340
  * 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.
@@ -1348,8 +1348,8 @@ class K extends k {
1348
1348
  * @throws {RequiredError}
1349
1349
  * @memberof ConnectionsApi
1350
1350
  */
1351
- postQuerydataInPackage(r, a, n, e, t, o) {
1352
- return S(this.configuration).postQuerydataInPackage(r, a, n, e, t, o).then((s) => s(this.axios, this.basePath));
1351
+ postQuerydataInPackage(r, a, t, e, n, o) {
1352
+ return S(this.configuration).postQuerydataInPackage(r, a, t, e, n, o).then((s) => s(this.axios, this.basePath));
1353
1353
  }
1354
1354
  /**
1355
1355
  * 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.
@@ -1361,8 +1361,8 @@ class K extends k {
1361
1361
  * @throws {RequiredError}
1362
1362
  * @memberof ConnectionsApi
1363
1363
  */
1364
- postSqlsource(r, a, n, e) {
1365
- return S(this.configuration).postSqlsource(r, a, n, e).then((t) => t(this.axios, this.basePath));
1364
+ postSqlsource(r, a, t, e) {
1365
+ return S(this.configuration).postSqlsource(r, a, t, e).then((n) => n(this.axios, this.basePath));
1366
1366
  }
1367
1367
  /**
1368
1368
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -1375,8 +1375,8 @@ class K extends k {
1375
1375
  * @throws {RequiredError}
1376
1376
  * @memberof ConnectionsApi
1377
1377
  */
1378
- postSqlsourceInPackage(r, a, n, e, t) {
1379
- return S(this.configuration).postSqlsourceInPackage(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
1378
+ postSqlsourceInPackage(r, a, t, e, n) {
1379
+ return S(this.configuration).postSqlsourceInPackage(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
1380
1380
  }
1381
1381
  /**
1382
1382
  * 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.
@@ -1388,8 +1388,8 @@ class K extends k {
1388
1388
  * @throws {RequiredError}
1389
1389
  * @memberof ConnectionsApi
1390
1390
  */
1391
- postTemporarytable(r, a, n, e) {
1392
- return S(this.configuration).postTemporarytable(r, a, n, e).then((t) => t(this.axios, this.basePath));
1391
+ postTemporarytable(r, a, t, e) {
1392
+ return S(this.configuration).postTemporarytable(r, a, t, e).then((n) => n(this.axios, this.basePath));
1393
1393
  }
1394
1394
  /**
1395
1395
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1402,8 +1402,8 @@ class K extends k {
1402
1402
  * @throws {RequiredError}
1403
1403
  * @memberof ConnectionsApi
1404
1404
  */
1405
- postTemporarytableInPackage(r, a, n, e, t) {
1406
- return S(this.configuration).postTemporarytableInPackage(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
1405
+ postTemporarytableInPackage(r, a, t, e, n) {
1406
+ return S(this.configuration).postTemporarytableInPackage(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
1407
1407
  }
1408
1408
  /**
1409
1409
  * Updates the configuration of an existing database connection.
@@ -1415,8 +1415,8 @@ class K extends k {
1415
1415
  * @throws {RequiredError}
1416
1416
  * @memberof ConnectionsApi
1417
1417
  */
1418
- updateConnection(r, a, n, e) {
1419
- return S(this.configuration).updateConnection(r, a, n, e).then((t) => t(this.axios, this.basePath));
1418
+ updateConnection(r, a, t, e) {
1419
+ return S(this.configuration).updateConnection(r, a, t, e).then((n) => n(this.axios, this.basePath));
1420
1420
  }
1421
1421
  }
1422
1422
  const Y = function(l) {
@@ -1430,12 +1430,12 @@ const Y = function(l) {
1430
1430
  */
1431
1431
  testConnectionConfiguration: async (r, a = {}) => {
1432
1432
  m("testConnectionConfiguration", "connection", r);
1433
- const n = "/connections/test", e = new URL(n, V);
1434
- let t;
1435
- l && (t = l.baseOptions);
1436
- const o = { method: "POST", ...t, ...a }, s = {}, c = {};
1433
+ const t = "/connections/test", e = new URL(t, V);
1434
+ let n;
1435
+ l && (n = l.baseOptions);
1436
+ const o = { method: "POST", ...n, ...a }, s = {}, c = {};
1437
1437
  s["Content-Type"] = "application/json", v(e, c);
1438
- let i = t && t.headers ? t.headers : {};
1438
+ let i = n && n.headers ? n.headers : {};
1439
1439
  return o.headers = { ...s, ...i, ...a.headers }, o.data = I(r, o, l), {
1440
1440
  url: O(e),
1441
1441
  options: o
@@ -1452,13 +1452,13 @@ const Y = function(l) {
1452
1452
  * @param {*} [options] Override http request option.
1453
1453
  * @throws {RequiredError}
1454
1454
  */
1455
- async testConnectionConfiguration(a, n) {
1456
- const e = await r.testConnectionConfiguration(a, n), t = l?.serverIndex ?? 0, o = g["ConnectionsTestApi.testConnectionConfiguration"]?.[t]?.url;
1455
+ async testConnectionConfiguration(a, t) {
1456
+ const e = await r.testConnectionConfiguration(a, t), n = l?.serverIndex ?? 0, o = g["ConnectionsTestApi.testConnectionConfiguration"]?.[n]?.url;
1457
1457
  return (s, c) => b(e, h, u, l)(s, o || c);
1458
1458
  }
1459
1459
  };
1460
- }, qe = function(l, r, a) {
1461
- const n = B(l);
1460
+ }, Qe = function(l, r, a) {
1461
+ const t = B(l);
1462
1462
  return {
1463
1463
  /**
1464
1464
  * 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.
@@ -1467,12 +1467,12 @@ const Y = function(l) {
1467
1467
  * @param {*} [options] Override http request option.
1468
1468
  * @throws {RequiredError}
1469
1469
  */
1470
- testConnectionConfiguration(e, t) {
1471
- return n.testConnectionConfiguration(e, t).then((o) => o(a, r));
1470
+ testConnectionConfiguration(e, n) {
1471
+ return t.testConnectionConfiguration(e, n).then((o) => o(a, r));
1472
1472
  }
1473
1473
  };
1474
1474
  };
1475
- class $e extends k {
1475
+ class Be extends k {
1476
1476
  /**
1477
1477
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
1478
1478
  * @summary Test database connection configuration
@@ -1482,7 +1482,7 @@ class $e extends k {
1482
1482
  * @memberof ConnectionsTestApi
1483
1483
  */
1484
1484
  testConnectionConfiguration(r, a) {
1485
- return B(this.configuration).testConnectionConfiguration(r, a).then((n) => n(this.axios, this.basePath));
1485
+ return B(this.configuration).testConnectionConfiguration(r, a).then((t) => t(this.axios, this.basePath));
1486
1486
  }
1487
1487
  }
1488
1488
  const X = function(l) {
@@ -1496,13 +1496,13 @@ const X = function(l) {
1496
1496
  * @param {*} [options] Override http request option.
1497
1497
  * @throws {RequiredError}
1498
1498
  */
1499
- listDatabases: async (r, a, n, e = {}) => {
1499
+ listDatabases: async (r, a, t, e = {}) => {
1500
1500
  m("listDatabases", "environmentName", r), m("listDatabases", "packageName", a);
1501
- const t = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
1501
+ const n = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(n, V);
1502
1502
  let s;
1503
1503
  l && (s = l.baseOptions);
1504
1504
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
1505
- n !== void 0 && (p.versionId = n), v(o, p);
1505
+ t !== void 0 && (p.versionId = t), v(o, p);
1506
1506
  let d = s && s.headers ? s.headers : {};
1507
1507
  return c.headers = { ...i, ...d, ...e.headers }, {
1508
1508
  url: O(o),
@@ -1522,13 +1522,13 @@ const X = function(l) {
1522
1522
  * @param {*} [options] Override http request option.
1523
1523
  * @throws {RequiredError}
1524
1524
  */
1525
- async listDatabases(a, n, e, t) {
1526
- const o = await r.listDatabases(a, n, e, t), s = l?.serverIndex ?? 0, c = g["DatabasesApi.listDatabases"]?.[s]?.url;
1525
+ async listDatabases(a, t, e, n) {
1526
+ const o = await r.listDatabases(a, t, e, n), s = l?.serverIndex ?? 0, c = g["DatabasesApi.listDatabases"]?.[s]?.url;
1527
1527
  return (i, p) => b(o, h, u, l)(i, c || p);
1528
1528
  }
1529
1529
  };
1530
- }, Qe = function(l, r, a) {
1531
- const n = F(l);
1530
+ }, Fe = function(l, r, a) {
1531
+ const t = F(l);
1532
1532
  return {
1533
1533
  /**
1534
1534
  * Retrieves a list of all embedded databases within the specified package. These are typically DuckDB databases stored as .parquet files that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1539,8 +1539,8 @@ const X = function(l) {
1539
1539
  * @param {*} [options] Override http request option.
1540
1540
  * @throws {RequiredError}
1541
1541
  */
1542
- listDatabases(e, t, o, s) {
1543
- return n.listDatabases(e, t, o, s).then((c) => c(a, r));
1542
+ listDatabases(e, n, o, s) {
1543
+ return t.listDatabases(e, n, o, s).then((c) => c(a, r));
1544
1544
  }
1545
1545
  };
1546
1546
  };
@@ -1555,8 +1555,8 @@ class Z extends k {
1555
1555
  * @throws {RequiredError}
1556
1556
  * @memberof DatabasesApi
1557
1557
  */
1558
- listDatabases(r, a, n, e) {
1559
- return F(this.configuration).listDatabases(r, a, n, e).then((t) => t(this.axios, this.basePath));
1558
+ listDatabases(r, a, t, e) {
1559
+ return F(this.configuration).listDatabases(r, a, t, e).then((n) => n(this.axios, this.basePath));
1560
1560
  }
1561
1561
  }
1562
1562
  const ee = function(l) {
@@ -1570,12 +1570,12 @@ const ee = function(l) {
1570
1570
  */
1571
1571
  createEnvironment: async (r, a = {}) => {
1572
1572
  m("createEnvironment", "environment", r);
1573
- const n = "/environments", e = new URL(n, V);
1574
- let t;
1575
- l && (t = l.baseOptions);
1576
- const o = { method: "POST", ...t, ...a }, s = {}, c = {};
1573
+ const t = "/environments", e = new URL(t, V);
1574
+ let n;
1575
+ l && (n = l.baseOptions);
1576
+ const o = { method: "POST", ...n, ...a }, s = {}, c = {};
1577
1577
  s["Content-Type"] = "application/json", v(e, c);
1578
- let i = t && t.headers ? t.headers : {};
1578
+ let i = n && n.headers ? n.headers : {};
1579
1579
  return o.headers = { ...s, ...i, ...a.headers }, o.data = I(r, o, l), {
1580
1580
  url: O(e),
1581
1581
  options: o
@@ -1590,12 +1590,12 @@ const ee = function(l) {
1590
1590
  */
1591
1591
  deleteEnvironment: async (r, a = {}) => {
1592
1592
  m("deleteEnvironment", "environmentName", r);
1593
- const n = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(n, V);
1594
- let t;
1595
- l && (t = l.baseOptions);
1596
- const o = { method: "DELETE", ...t, ...a }, s = {};
1593
+ const t = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(t, V);
1594
+ let n;
1595
+ l && (n = l.baseOptions);
1596
+ const o = { method: "DELETE", ...n, ...a }, s = {};
1597
1597
  v(e, {});
1598
- let i = t && t.headers ? t.headers : {};
1598
+ let i = n && n.headers ? n.headers : {};
1599
1599
  return o.headers = { ...s, ...i, ...a.headers }, {
1600
1600
  url: O(e),
1601
1601
  options: o
@@ -1609,16 +1609,16 @@ const ee = function(l) {
1609
1609
  * @param {*} [options] Override http request option.
1610
1610
  * @throws {RequiredError}
1611
1611
  */
1612
- getEnvironment: async (r, a, n = {}) => {
1612
+ getEnvironment: async (r, a, t = {}) => {
1613
1613
  m("getEnvironment", "environmentName", r);
1614
- const e = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), t = new URL(e, V);
1614
+ const e = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), n = new URL(e, V);
1615
1615
  let o;
1616
1616
  l && (o = l.baseOptions);
1617
- const s = { method: "GET", ...o, ...n }, c = {}, i = {};
1618
- a !== void 0 && (i.reload = a), v(t, i);
1617
+ const s = { method: "GET", ...o, ...t }, c = {}, i = {};
1618
+ a !== void 0 && (i.reload = a), v(n, i);
1619
1619
  let p = o && o.headers ? o.headers : {};
1620
- return s.headers = { ...c, ...p, ...n.headers }, {
1621
- url: O(t),
1620
+ return s.headers = { ...c, ...p, ...t.headers }, {
1621
+ url: O(n),
1622
1622
  options: s
1623
1623
  };
1624
1624
  },
@@ -1629,15 +1629,15 @@ const ee = function(l) {
1629
1629
  * @throws {RequiredError}
1630
1630
  */
1631
1631
  listEnvironments: async (r = {}) => {
1632
- const a = "/environments", n = new URL(a, V);
1632
+ const a = "/environments", t = new URL(a, V);
1633
1633
  let e;
1634
1634
  l && (e = l.baseOptions);
1635
- const t = { method: "GET", ...e, ...r }, o = {};
1636
- v(n, {});
1635
+ const n = { method: "GET", ...e, ...r }, o = {};
1636
+ v(t, {});
1637
1637
  let c = e && e.headers ? e.headers : {};
1638
- return t.headers = { ...o, ...c, ...r.headers }, {
1639
- url: O(n),
1640
- options: t
1638
+ return n.headers = { ...o, ...c, ...r.headers }, {
1639
+ url: O(t),
1640
+ options: n
1641
1641
  };
1642
1642
  },
1643
1643
  /**
@@ -1648,16 +1648,16 @@ const ee = function(l) {
1648
1648
  * @param {*} [options] Override http request option.
1649
1649
  * @throws {RequiredError}
1650
1650
  */
1651
- updateEnvironment: async (r, a, n = {}) => {
1651
+ updateEnvironment: async (r, a, t = {}) => {
1652
1652
  m("updateEnvironment", "environmentName", r), m("updateEnvironment", "environment", a);
1653
- const e = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), t = new URL(e, V);
1653
+ const e = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), n = new URL(e, V);
1654
1654
  let o;
1655
1655
  l && (o = l.baseOptions);
1656
- const s = { method: "PATCH", ...o, ...n }, c = {}, i = {};
1657
- c["Content-Type"] = "application/json", v(t, i);
1656
+ const s = { method: "PATCH", ...o, ...t }, c = {}, i = {};
1657
+ c["Content-Type"] = "application/json", v(n, i);
1658
1658
  let p = o && o.headers ? o.headers : {};
1659
- return s.headers = { ...c, ...p, ...n.headers }, s.data = I(a, s, l), {
1660
- url: O(t),
1659
+ return s.headers = { ...c, ...p, ...t.headers }, s.data = I(a, s, l), {
1660
+ url: O(n),
1661
1661
  options: s
1662
1662
  };
1663
1663
  }
@@ -1672,8 +1672,8 @@ const ee = function(l) {
1672
1672
  * @param {*} [options] Override http request option.
1673
1673
  * @throws {RequiredError}
1674
1674
  */
1675
- async createEnvironment(a, n) {
1676
- const e = await r.createEnvironment(a, n), t = l?.serverIndex ?? 0, o = g["EnvironmentsApi.createEnvironment"]?.[t]?.url;
1675
+ async createEnvironment(a, t) {
1676
+ const e = await r.createEnvironment(a, t), n = l?.serverIndex ?? 0, o = g["EnvironmentsApi.createEnvironment"]?.[n]?.url;
1677
1677
  return (s, c) => b(e, h, u, l)(s, o || c);
1678
1678
  },
1679
1679
  /**
@@ -1683,8 +1683,8 @@ const ee = function(l) {
1683
1683
  * @param {*} [options] Override http request option.
1684
1684
  * @throws {RequiredError}
1685
1685
  */
1686
- async deleteEnvironment(a, n) {
1687
- const e = await r.deleteEnvironment(a, n), t = l?.serverIndex ?? 0, o = g["EnvironmentsApi.deleteEnvironment"]?.[t]?.url;
1686
+ async deleteEnvironment(a, t) {
1687
+ const e = await r.deleteEnvironment(a, t), n = l?.serverIndex ?? 0, o = g["EnvironmentsApi.deleteEnvironment"]?.[n]?.url;
1688
1688
  return (s, c) => b(e, h, u, l)(s, o || c);
1689
1689
  },
1690
1690
  /**
@@ -1695,9 +1695,9 @@ const ee = function(l) {
1695
1695
  * @param {*} [options] Override http request option.
1696
1696
  * @throws {RequiredError}
1697
1697
  */
1698
- async getEnvironment(a, n, e) {
1699
- const t = await r.getEnvironment(a, n, e), o = l?.serverIndex ?? 0, s = g["EnvironmentsApi.getEnvironment"]?.[o]?.url;
1700
- return (c, i) => b(t, h, u, l)(c, s || i);
1698
+ async getEnvironment(a, t, e) {
1699
+ const n = await r.getEnvironment(a, t, e), o = l?.serverIndex ?? 0, s = g["EnvironmentsApi.getEnvironment"]?.[o]?.url;
1700
+ return (c, i) => b(n, h, u, l)(c, s || i);
1701
1701
  },
1702
1702
  /**
1703
1703
  * 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.
@@ -1706,8 +1706,8 @@ const ee = function(l) {
1706
1706
  * @throws {RequiredError}
1707
1707
  */
1708
1708
  async listEnvironments(a) {
1709
- const n = await r.listEnvironments(a), e = l?.serverIndex ?? 0, t = g["EnvironmentsApi.listEnvironments"]?.[e]?.url;
1710
- return (o, s) => b(n, h, u, l)(o, t || s);
1709
+ const t = await r.listEnvironments(a), e = l?.serverIndex ?? 0, n = g["EnvironmentsApi.listEnvironments"]?.[e]?.url;
1710
+ return (o, s) => b(t, h, u, l)(o, n || s);
1711
1711
  },
1712
1712
  /**
1713
1713
  * 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.
@@ -1717,13 +1717,13 @@ const ee = function(l) {
1717
1717
  * @param {*} [options] Override http request option.
1718
1718
  * @throws {RequiredError}
1719
1719
  */
1720
- async updateEnvironment(a, n, e) {
1721
- const t = await r.updateEnvironment(a, n, e), o = l?.serverIndex ?? 0, s = g["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
1722
- return (c, i) => b(t, h, u, l)(c, s || i);
1720
+ async updateEnvironment(a, t, e) {
1721
+ const n = await r.updateEnvironment(a, t, e), o = l?.serverIndex ?? 0, s = g["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
1722
+ return (c, i) => b(n, h, u, l)(c, s || i);
1723
1723
  }
1724
1724
  };
1725
- }, Be = function(l, r, a) {
1726
- const n = x(l);
1725
+ }, ze = function(l, r, a) {
1726
+ const t = x(l);
1727
1727
  return {
1728
1728
  /**
1729
1729
  * 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.
@@ -1732,8 +1732,8 @@ const ee = function(l) {
1732
1732
  * @param {*} [options] Override http request option.
1733
1733
  * @throws {RequiredError}
1734
1734
  */
1735
- createEnvironment(e, t) {
1736
- return n.createEnvironment(e, t).then((o) => o(a, r));
1735
+ createEnvironment(e, n) {
1736
+ return t.createEnvironment(e, n).then((o) => o(a, r));
1737
1737
  },
1738
1738
  /**
1739
1739
  * 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.
@@ -1742,8 +1742,8 @@ const ee = function(l) {
1742
1742
  * @param {*} [options] Override http request option.
1743
1743
  * @throws {RequiredError}
1744
1744
  */
1745
- deleteEnvironment(e, t) {
1746
- return n.deleteEnvironment(e, t).then((o) => o(a, r));
1745
+ deleteEnvironment(e, n) {
1746
+ return t.deleteEnvironment(e, n).then((o) => o(a, r));
1747
1747
  },
1748
1748
  /**
1749
1749
  * 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.
@@ -1753,8 +1753,8 @@ const ee = function(l) {
1753
1753
  * @param {*} [options] Override http request option.
1754
1754
  * @throws {RequiredError}
1755
1755
  */
1756
- getEnvironment(e, t, o) {
1757
- return n.getEnvironment(e, t, o).then((s) => s(a, r));
1756
+ getEnvironment(e, n, o) {
1757
+ return t.getEnvironment(e, n, o).then((s) => s(a, r));
1758
1758
  },
1759
1759
  /**
1760
1760
  * 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.
@@ -1763,7 +1763,7 @@ const ee = function(l) {
1763
1763
  * @throws {RequiredError}
1764
1764
  */
1765
1765
  listEnvironments(e) {
1766
- return n.listEnvironments(e).then((t) => t(a, r));
1766
+ return t.listEnvironments(e).then((n) => n(a, r));
1767
1767
  },
1768
1768
  /**
1769
1769
  * 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.
@@ -1773,8 +1773,8 @@ const ee = function(l) {
1773
1773
  * @param {*} [options] Override http request option.
1774
1774
  * @throws {RequiredError}
1775
1775
  */
1776
- updateEnvironment(e, t, o) {
1777
- return n.updateEnvironment(e, t, o).then((s) => s(a, r));
1776
+ updateEnvironment(e, n, o) {
1777
+ return t.updateEnvironment(e, n, o).then((s) => s(a, r));
1778
1778
  }
1779
1779
  };
1780
1780
  };
@@ -1788,7 +1788,7 @@ class ae extends k {
1788
1788
  * @memberof EnvironmentsApi
1789
1789
  */
1790
1790
  createEnvironment(r, a) {
1791
- return x(this.configuration).createEnvironment(r, a).then((n) => n(this.axios, this.basePath));
1791
+ return x(this.configuration).createEnvironment(r, a).then((t) => t(this.axios, this.basePath));
1792
1792
  }
1793
1793
  /**
1794
1794
  * 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.
@@ -1799,7 +1799,7 @@ class ae extends k {
1799
1799
  * @memberof EnvironmentsApi
1800
1800
  */
1801
1801
  deleteEnvironment(r, a) {
1802
- return x(this.configuration).deleteEnvironment(r, a).then((n) => n(this.axios, this.basePath));
1802
+ return x(this.configuration).deleteEnvironment(r, a).then((t) => t(this.axios, this.basePath));
1803
1803
  }
1804
1804
  /**
1805
1805
  * 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.
@@ -1810,8 +1810,8 @@ class ae extends k {
1810
1810
  * @throws {RequiredError}
1811
1811
  * @memberof EnvironmentsApi
1812
1812
  */
1813
- getEnvironment(r, a, n) {
1814
- return x(this.configuration).getEnvironment(r, a, n).then((e) => e(this.axios, this.basePath));
1813
+ getEnvironment(r, a, t) {
1814
+ return x(this.configuration).getEnvironment(r, a, t).then((e) => e(this.axios, this.basePath));
1815
1815
  }
1816
1816
  /**
1817
1817
  * 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.
@@ -1832,8 +1832,8 @@ class ae extends k {
1832
1832
  * @throws {RequiredError}
1833
1833
  * @memberof EnvironmentsApi
1834
1834
  */
1835
- updateEnvironment(r, a, n) {
1836
- return x(this.configuration).updateEnvironment(r, a, n).then((e) => e(this.axios, this.basePath));
1835
+ updateEnvironment(r, a, t) {
1836
+ return x(this.configuration).updateEnvironment(r, a, t).then((e) => e(this.axios, this.basePath));
1837
1837
  }
1838
1838
  }
1839
1839
  const te = function(l) {
@@ -1846,16 +1846,16 @@ const te = function(l) {
1846
1846
  * @param {*} [options] Override http request option.
1847
1847
  * @throws {RequiredError}
1848
1848
  */
1849
- getManifest: async (r, a, n = {}) => {
1849
+ getManifest: async (r, a, t = {}) => {
1850
1850
  m("getManifest", "environmentName", r), m("getManifest", "packageName", a);
1851
- const e = "/environments/{environmentName}/packages/{packageName}/manifest".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), t = new URL(e, V);
1851
+ const e = "/environments/{environmentName}/packages/{packageName}/manifest".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), n = new URL(e, V);
1852
1852
  let o;
1853
1853
  l && (o = l.baseOptions);
1854
- const s = { method: "GET", ...o, ...n }, c = {};
1855
- v(t, {});
1854
+ const s = { method: "GET", ...o, ...t }, c = {};
1855
+ v(n, {});
1856
1856
  let p = o && o.headers ? o.headers : {};
1857
- return s.headers = { ...c, ...p, ...n.headers }, {
1858
- url: O(t),
1857
+ return s.headers = { ...c, ...p, ...t.headers }, {
1858
+ url: O(n),
1859
1859
  options: s
1860
1860
  };
1861
1861
  },
@@ -1868,13 +1868,13 @@ const te = function(l) {
1868
1868
  * @param {*} [options] Override http request option.
1869
1869
  * @throws {RequiredError}
1870
1870
  */
1871
- manifestAction: async (r, a, n, e = {}) => {
1872
- m("manifestAction", "environmentName", r), m("manifestAction", "packageName", a), m("manifestAction", "action", n);
1873
- const t = "/environments/{environmentName}/packages/{packageName}/manifest".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
1871
+ manifestAction: async (r, a, t, e = {}) => {
1872
+ m("manifestAction", "environmentName", r), m("manifestAction", "packageName", a), m("manifestAction", "action", t);
1873
+ const n = "/environments/{environmentName}/packages/{packageName}/manifest".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(n, V);
1874
1874
  let s;
1875
1875
  l && (s = l.baseOptions);
1876
1876
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
1877
- n !== void 0 && (p.action = n), v(o, p);
1877
+ t !== void 0 && (p.action = t), v(o, p);
1878
1878
  let d = s && s.headers ? s.headers : {};
1879
1879
  return c.headers = { ...i, ...d, ...e.headers }, {
1880
1880
  url: O(o),
@@ -1893,9 +1893,9 @@ const te = function(l) {
1893
1893
  * @param {*} [options] Override http request option.
1894
1894
  * @throws {RequiredError}
1895
1895
  */
1896
- async getManifest(a, n, e) {
1897
- const t = await r.getManifest(a, n, e), o = l?.serverIndex ?? 0, s = g["ManifestsApi.getManifest"]?.[o]?.url;
1898
- return (c, i) => b(t, h, u, l)(c, s || i);
1896
+ async getManifest(a, t, e) {
1897
+ const n = await r.getManifest(a, t, e), o = l?.serverIndex ?? 0, s = g["ManifestsApi.getManifest"]?.[o]?.url;
1898
+ return (c, i) => b(n, h, u, l)(c, s || i);
1899
1899
  },
1900
1900
  /**
1901
1901
  * 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.
@@ -1906,13 +1906,13 @@ const te = function(l) {
1906
1906
  * @param {*} [options] Override http request option.
1907
1907
  * @throws {RequiredError}
1908
1908
  */
1909
- async manifestAction(a, n, e, t) {
1910
- const o = await r.manifestAction(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ManifestsApi.manifestAction"]?.[s]?.url;
1909
+ async manifestAction(a, t, e, n) {
1910
+ const o = await r.manifestAction(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ManifestsApi.manifestAction"]?.[s]?.url;
1911
1911
  return (i, p) => b(o, h, u, l)(i, c || p);
1912
1912
  }
1913
1913
  };
1914
- }, Fe = function(l, r, a) {
1915
- const n = q(l);
1914
+ }, je = function(l, r, a) {
1915
+ const t = q(l);
1916
1916
  return {
1917
1917
  /**
1918
1918
  * Returns the current build manifest containing buildId-to-tableName mappings for all materialized sources in the package.
@@ -1922,8 +1922,8 @@ const te = function(l) {
1922
1922
  * @param {*} [options] Override http request option.
1923
1923
  * @throws {RequiredError}
1924
1924
  */
1925
- getManifest(e, t, o) {
1926
- return n.getManifest(e, t, o).then((s) => s(a, r));
1925
+ getManifest(e, n, o) {
1926
+ return t.getManifest(e, n, o).then((s) => s(a, r));
1927
1927
  },
1928
1928
  /**
1929
1929
  * 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.
@@ -1934,12 +1934,12 @@ const te = function(l) {
1934
1934
  * @param {*} [options] Override http request option.
1935
1935
  * @throws {RequiredError}
1936
1936
  */
1937
- manifestAction(e, t, o, s) {
1938
- return n.manifestAction(e, t, o, s).then((c) => c(a, r));
1937
+ manifestAction(e, n, o, s) {
1938
+ return t.manifestAction(e, n, o, s).then((c) => c(a, r));
1939
1939
  }
1940
1940
  };
1941
1941
  };
1942
- class ze extends k {
1942
+ class ne extends k {
1943
1943
  /**
1944
1944
  * Returns the current build manifest containing buildId-to-tableName mappings for all materialized sources in the package.
1945
1945
  * @summary Get the build manifest for a package
@@ -1949,8 +1949,8 @@ class ze extends k {
1949
1949
  * @throws {RequiredError}
1950
1950
  * @memberof ManifestsApi
1951
1951
  */
1952
- getManifest(r, a, n) {
1953
- return q(this.configuration).getManifest(r, a, n).then((e) => e(this.axios, this.basePath));
1952
+ getManifest(r, a, t) {
1953
+ return q(this.configuration).getManifest(r, a, t).then((e) => e(this.axios, this.basePath));
1954
1954
  }
1955
1955
  /**
1956
1956
  * 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.
@@ -1962,13 +1962,13 @@ class ze extends k {
1962
1962
  * @throws {RequiredError}
1963
1963
  * @memberof ManifestsApi
1964
1964
  */
1965
- manifestAction(r, a, n, e) {
1966
- return q(this.configuration).manifestAction(r, a, n, e).then((t) => t(this.axios, this.basePath));
1965
+ manifestAction(r, a, t, e) {
1966
+ return q(this.configuration).manifestAction(r, a, t, e).then((n) => n(this.axios, this.basePath));
1967
1967
  }
1968
1968
  }
1969
- const je = {
1969
+ const Le = {
1970
1970
  Reload: "reload"
1971
- }, ne = function(l) {
1971
+ }, re = function(l) {
1972
1972
  return {
1973
1973
  /**
1974
1974
  * 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.
@@ -1979,15 +1979,15 @@ const je = {
1979
1979
  * @param {*} [options] Override http request option.
1980
1980
  * @throws {RequiredError}
1981
1981
  */
1982
- createMaterialization: async (r, a, n, e = {}) => {
1982
+ createMaterialization: async (r, a, t, e = {}) => {
1983
1983
  m("createMaterialization", "environmentName", r), m("createMaterialization", "packageName", a);
1984
- const t = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
1984
+ const n = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(n, V);
1985
1985
  let s;
1986
1986
  l && (s = l.baseOptions);
1987
1987
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
1988
1988
  i["Content-Type"] = "application/json", v(o, p);
1989
1989
  let d = s && s.headers ? s.headers : {};
1990
- return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
1990
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(t, c, l), {
1991
1991
  url: O(o),
1992
1992
  options: c
1993
1993
  };
@@ -2001,9 +2001,9 @@ const je = {
2001
2001
  * @param {*} [options] Override http request option.
2002
2002
  * @throws {RequiredError}
2003
2003
  */
2004
- deleteMaterialization: async (r, a, n, e = {}) => {
2005
- m("deleteMaterialization", "environmentName", r), m("deleteMaterialization", "packageName", a), m("deleteMaterialization", "materializationId", n);
2006
- const t = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{materializationId}", encodeURIComponent(String(n))), o = new URL(t, V);
2004
+ deleteMaterialization: async (r, a, t, e = {}) => {
2005
+ m("deleteMaterialization", "environmentName", r), m("deleteMaterialization", "packageName", a), m("deleteMaterialization", "materializationId", t);
2006
+ const n = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{materializationId}", encodeURIComponent(String(t))), o = new URL(n, V);
2007
2007
  let s;
2008
2008
  l && (s = l.baseOptions);
2009
2009
  const c = { method: "DELETE", ...s, ...e }, i = {};
@@ -2023,9 +2023,9 @@ const je = {
2023
2023
  * @param {*} [options] Override http request option.
2024
2024
  * @throws {RequiredError}
2025
2025
  */
2026
- getMaterialization: async (r, a, n, e = {}) => {
2027
- m("getMaterialization", "environmentName", r), m("getMaterialization", "packageName", a), m("getMaterialization", "materializationId", n);
2028
- const t = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{materializationId}", encodeURIComponent(String(n))), o = new URL(t, V);
2026
+ getMaterialization: async (r, a, t, e = {}) => {
2027
+ m("getMaterialization", "environmentName", r), m("getMaterialization", "packageName", a), m("getMaterialization", "materializationId", t);
2028
+ const n = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{materializationId}", encodeURIComponent(String(t))), o = new URL(n, V);
2029
2029
  let s;
2030
2030
  l && (s = l.baseOptions);
2031
2031
  const c = { method: "GET", ...s, ...e }, i = {};
@@ -2046,15 +2046,15 @@ const je = {
2046
2046
  * @param {*} [options] Override http request option.
2047
2047
  * @throws {RequiredError}
2048
2048
  */
2049
- listMaterializations: async (r, a, n, e, t = {}) => {
2049
+ listMaterializations: async (r, a, t, e, n = {}) => {
2050
2050
  m("listMaterializations", "environmentName", r), m("listMaterializations", "packageName", a);
2051
2051
  const o = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), s = new URL(o, V);
2052
2052
  let c;
2053
2053
  l && (c = l.baseOptions);
2054
- const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2055
- n !== void 0 && (d.limit = n), e !== void 0 && (d.offset = e), v(s, d);
2054
+ const i = { method: "GET", ...c, ...n }, p = {}, d = {};
2055
+ t !== void 0 && (d.limit = t), e !== void 0 && (d.offset = e), v(s, d);
2056
2056
  let P = c && c.headers ? c.headers : {};
2057
- return i.headers = { ...p, ...P, ...t.headers }, {
2057
+ return i.headers = { ...p, ...P, ...n.headers }, {
2058
2058
  url: O(s),
2059
2059
  options: i
2060
2060
  };
@@ -2069,22 +2069,22 @@ const je = {
2069
2069
  * @param {*} [options] Override http request option.
2070
2070
  * @throws {RequiredError}
2071
2071
  */
2072
- materializationAction: async (r, a, n, e, t = {}) => {
2073
- m("materializationAction", "environmentName", r), m("materializationAction", "packageName", a), m("materializationAction", "materializationId", n), m("materializationAction", "action", e);
2074
- const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{materializationId}", encodeURIComponent(String(n))), s = new URL(o, V);
2072
+ materializationAction: async (r, a, t, e, n = {}) => {
2073
+ m("materializationAction", "environmentName", r), m("materializationAction", "packageName", a), m("materializationAction", "materializationId", t), m("materializationAction", "action", e);
2074
+ const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{materializationId}", encodeURIComponent(String(t))), s = new URL(o, V);
2075
2075
  let c;
2076
2076
  l && (c = l.baseOptions);
2077
- const i = { method: "POST", ...c, ...t }, p = {}, d = {};
2077
+ const i = { method: "POST", ...c, ...n }, p = {}, d = {};
2078
2078
  e !== void 0 && (d.action = e), v(s, d);
2079
2079
  let P = c && c.headers ? c.headers : {};
2080
- return i.headers = { ...p, ...P, ...t.headers }, {
2080
+ return i.headers = { ...p, ...P, ...n.headers }, {
2081
2081
  url: O(s),
2082
2082
  options: i
2083
2083
  };
2084
2084
  }
2085
2085
  };
2086
2086
  }, N = function(l) {
2087
- const r = ne(l);
2087
+ const r = re(l);
2088
2088
  return {
2089
2089
  /**
2090
2090
  * 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.
@@ -2095,8 +2095,8 @@ const je = {
2095
2095
  * @param {*} [options] Override http request option.
2096
2096
  * @throws {RequiredError}
2097
2097
  */
2098
- async createMaterialization(a, n, e, t) {
2099
- const o = await r.createMaterialization(a, n, e, t), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.createMaterialization"]?.[s]?.url;
2098
+ async createMaterialization(a, t, e, n) {
2099
+ const o = await r.createMaterialization(a, t, e, n), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.createMaterialization"]?.[s]?.url;
2100
2100
  return (i, p) => b(o, h, u, l)(i, c || p);
2101
2101
  },
2102
2102
  /**
@@ -2108,8 +2108,8 @@ const je = {
2108
2108
  * @param {*} [options] Override http request option.
2109
2109
  * @throws {RequiredError}
2110
2110
  */
2111
- async deleteMaterialization(a, n, e, t) {
2112
- const o = await r.deleteMaterialization(a, n, e, t), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.deleteMaterialization"]?.[s]?.url;
2111
+ async deleteMaterialization(a, t, e, n) {
2112
+ const o = await r.deleteMaterialization(a, t, e, n), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.deleteMaterialization"]?.[s]?.url;
2113
2113
  return (i, p) => b(o, h, u, l)(i, c || p);
2114
2114
  },
2115
2115
  /**
@@ -2121,8 +2121,8 @@ const je = {
2121
2121
  * @param {*} [options] Override http request option.
2122
2122
  * @throws {RequiredError}
2123
2123
  */
2124
- async getMaterialization(a, n, e, t) {
2125
- const o = await r.getMaterialization(a, n, e, t), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.getMaterialization"]?.[s]?.url;
2124
+ async getMaterialization(a, t, e, n) {
2125
+ const o = await r.getMaterialization(a, t, e, n), s = l?.serverIndex ?? 0, c = g["MaterializationsApi.getMaterialization"]?.[s]?.url;
2126
2126
  return (i, p) => b(o, h, u, l)(i, c || p);
2127
2127
  },
2128
2128
  /**
@@ -2135,8 +2135,8 @@ const je = {
2135
2135
  * @param {*} [options] Override http request option.
2136
2136
  * @throws {RequiredError}
2137
2137
  */
2138
- async listMaterializations(a, n, e, t, o) {
2139
- const s = await r.listMaterializations(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["MaterializationsApi.listMaterializations"]?.[c]?.url;
2138
+ async listMaterializations(a, t, e, n, o) {
2139
+ const s = await r.listMaterializations(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["MaterializationsApi.listMaterializations"]?.[c]?.url;
2140
2140
  return (p, d) => b(s, h, u, l)(p, i || d);
2141
2141
  },
2142
2142
  /**
@@ -2149,13 +2149,13 @@ const je = {
2149
2149
  * @param {*} [options] Override http request option.
2150
2150
  * @throws {RequiredError}
2151
2151
  */
2152
- async materializationAction(a, n, e, t, o) {
2153
- const s = await r.materializationAction(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["MaterializationsApi.materializationAction"]?.[c]?.url;
2152
+ async materializationAction(a, t, e, n, o) {
2153
+ const s = await r.materializationAction(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["MaterializationsApi.materializationAction"]?.[c]?.url;
2154
2154
  return (p, d) => b(s, h, u, l)(p, i || d);
2155
2155
  }
2156
2156
  };
2157
- }, Le = function(l, r, a) {
2158
- const n = N(l);
2157
+ }, He = function(l, r, a) {
2158
+ const t = N(l);
2159
2159
  return {
2160
2160
  /**
2161
2161
  * 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.
@@ -2166,8 +2166,8 @@ const je = {
2166
2166
  * @param {*} [options] Override http request option.
2167
2167
  * @throws {RequiredError}
2168
2168
  */
2169
- createMaterialization(e, t, o, s) {
2170
- return n.createMaterialization(e, t, o, s).then((c) => c(a, r));
2169
+ createMaterialization(e, n, o, s) {
2170
+ return t.createMaterialization(e, n, o, s).then((c) => c(a, r));
2171
2171
  },
2172
2172
  /**
2173
2173
  * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
@@ -2178,8 +2178,8 @@ const je = {
2178
2178
  * @param {*} [options] Override http request option.
2179
2179
  * @throws {RequiredError}
2180
2180
  */
2181
- deleteMaterialization(e, t, o, s) {
2182
- return n.deleteMaterialization(e, t, o, s).then((c) => c(a, r));
2181
+ deleteMaterialization(e, n, o, s) {
2182
+ return t.deleteMaterialization(e, n, o, s).then((c) => c(a, r));
2183
2183
  },
2184
2184
  /**
2185
2185
  *
@@ -2190,8 +2190,8 @@ const je = {
2190
2190
  * @param {*} [options] Override http request option.
2191
2191
  * @throws {RequiredError}
2192
2192
  */
2193
- getMaterialization(e, t, o, s) {
2194
- return n.getMaterialization(e, t, o, s).then((c) => c(a, r));
2193
+ getMaterialization(e, n, o, s) {
2194
+ return t.getMaterialization(e, n, o, s).then((c) => c(a, r));
2195
2195
  },
2196
2196
  /**
2197
2197
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2203,8 +2203,8 @@ const je = {
2203
2203
  * @param {*} [options] Override http request option.
2204
2204
  * @throws {RequiredError}
2205
2205
  */
2206
- listMaterializations(e, t, o, s, c) {
2207
- return n.listMaterializations(e, t, o, s, c).then((i) => i(a, r));
2206
+ listMaterializations(e, n, o, s, c) {
2207
+ return t.listMaterializations(e, n, o, s, c).then((i) => i(a, r));
2208
2208
  },
2209
2209
  /**
2210
2210
  * 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.
@@ -2216,12 +2216,12 @@ const je = {
2216
2216
  * @param {*} [options] Override http request option.
2217
2217
  * @throws {RequiredError}
2218
2218
  */
2219
- materializationAction(e, t, o, s, c) {
2220
- return n.materializationAction(e, t, o, s, c).then((i) => i(a, r));
2219
+ materializationAction(e, n, o, s, c) {
2220
+ return t.materializationAction(e, n, o, s, c).then((i) => i(a, r));
2221
2221
  }
2222
2222
  };
2223
2223
  };
2224
- class He extends k {
2224
+ class oe extends k {
2225
2225
  /**
2226
2226
  * 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.
2227
2227
  * @summary Create a materialization
@@ -2232,8 +2232,8 @@ class He extends k {
2232
2232
  * @throws {RequiredError}
2233
2233
  * @memberof MaterializationsApi
2234
2234
  */
2235
- createMaterialization(r, a, n, e) {
2236
- return N(this.configuration).createMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2235
+ createMaterialization(r, a, t, e) {
2236
+ return N(this.configuration).createMaterialization(r, a, t, e).then((n) => n(this.axios, this.basePath));
2237
2237
  }
2238
2238
  /**
2239
2239
  * Deletes a terminal (SUCCESS, FAILED, or CANCELLED) materialization record.
@@ -2245,8 +2245,8 @@ class He extends k {
2245
2245
  * @throws {RequiredError}
2246
2246
  * @memberof MaterializationsApi
2247
2247
  */
2248
- deleteMaterialization(r, a, n, e) {
2249
- return N(this.configuration).deleteMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2248
+ deleteMaterialization(r, a, t, e) {
2249
+ return N(this.configuration).deleteMaterialization(r, a, t, e).then((n) => n(this.axios, this.basePath));
2250
2250
  }
2251
2251
  /**
2252
2252
  *
@@ -2258,8 +2258,8 @@ class He extends k {
2258
2258
  * @throws {RequiredError}
2259
2259
  * @memberof MaterializationsApi
2260
2260
  */
2261
- getMaterialization(r, a, n, e) {
2262
- return N(this.configuration).getMaterialization(r, a, n, e).then((t) => t(this.axios, this.basePath));
2261
+ getMaterialization(r, a, t, e) {
2262
+ return N(this.configuration).getMaterialization(r, a, t, e).then((n) => n(this.axios, this.basePath));
2263
2263
  }
2264
2264
  /**
2265
2265
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2272,8 +2272,8 @@ class He extends k {
2272
2272
  * @throws {RequiredError}
2273
2273
  * @memberof MaterializationsApi
2274
2274
  */
2275
- listMaterializations(r, a, n, e, t) {
2276
- return N(this.configuration).listMaterializations(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2275
+ listMaterializations(r, a, t, e, n) {
2276
+ return N(this.configuration).listMaterializations(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
2277
2277
  }
2278
2278
  /**
2279
2279
  * 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.
@@ -2286,14 +2286,14 @@ class He extends k {
2286
2286
  * @throws {RequiredError}
2287
2287
  * @memberof MaterializationsApi
2288
2288
  */
2289
- materializationAction(r, a, n, e, t) {
2290
- return N(this.configuration).materializationAction(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2289
+ materializationAction(r, a, t, e, n) {
2290
+ return N(this.configuration).materializationAction(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
2291
2291
  }
2292
2292
  }
2293
2293
  const fe = {
2294
2294
  Start: "start",
2295
2295
  Stop: "stop"
2296
- }, re = function(l) {
2296
+ }, se = function(l) {
2297
2297
  return {
2298
2298
  /**
2299
2299
  * 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.
@@ -2305,15 +2305,15 @@ const fe = {
2305
2305
  * @param {*} [options] Override http request option.
2306
2306
  * @throws {RequiredError}
2307
2307
  */
2308
- compileModelSource: async (r, a, n, e, t = {}) => {
2309
- m("compileModelSource", "environmentName", r), m("compileModelSource", "packageName", a), m("compileModelSource", "path", n), m("compileModelSource", "compileRequest", e);
2310
- const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))), s = new URL(o, V);
2308
+ compileModelSource: async (r, a, t, e, n = {}) => {
2309
+ m("compileModelSource", "environmentName", r), m("compileModelSource", "packageName", a), m("compileModelSource", "path", t), m("compileModelSource", "compileRequest", e);
2310
+ const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, V);
2311
2311
  let c;
2312
2312
  l && (c = l.baseOptions);
2313
- const i = { method: "POST", ...c, ...t }, p = {}, d = {};
2313
+ const i = { method: "POST", ...c, ...n }, p = {}, d = {};
2314
2314
  p["Content-Type"] = "application/json", v(s, d);
2315
2315
  let P = c && c.headers ? c.headers : {};
2316
- return i.headers = { ...p, ...P, ...t.headers }, i.data = I(e, i, l), {
2316
+ return i.headers = { ...p, ...P, ...n.headers }, i.data = I(e, i, l), {
2317
2317
  url: O(s),
2318
2318
  options: i
2319
2319
  };
@@ -2328,15 +2328,15 @@ const fe = {
2328
2328
  * @param {*} [options] Override http request option.
2329
2329
  * @throws {RequiredError}
2330
2330
  */
2331
- executeQueryModel: async (r, a, n, e, t = {}) => {
2332
- m("executeQueryModel", "environmentName", r), m("executeQueryModel", "packageName", a), m("executeQueryModel", "path", n), m("executeQueryModel", "queryRequest", e);
2333
- const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))), s = new URL(o, V);
2331
+ executeQueryModel: async (r, a, t, e, n = {}) => {
2332
+ m("executeQueryModel", "environmentName", r), m("executeQueryModel", "packageName", a), m("executeQueryModel", "path", t), m("executeQueryModel", "queryRequest", e);
2333
+ const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, V);
2334
2334
  let c;
2335
2335
  l && (c = l.baseOptions);
2336
- const i = { method: "POST", ...c, ...t }, p = {}, d = {};
2336
+ const i = { method: "POST", ...c, ...n }, p = {}, d = {};
2337
2337
  p["Content-Type"] = "application/json", v(s, d);
2338
2338
  let P = c && c.headers ? c.headers : {};
2339
- return i.headers = { ...p, ...P, ...t.headers }, i.data = I(e, i, l), {
2339
+ return i.headers = { ...p, ...P, ...n.headers }, i.data = I(e, i, l), {
2340
2340
  url: O(s),
2341
2341
  options: i
2342
2342
  };
@@ -2351,15 +2351,15 @@ const fe = {
2351
2351
  * @param {*} [options] Override http request option.
2352
2352
  * @throws {RequiredError}
2353
2353
  */
2354
- getModel: async (r, a, n, e, t = {}) => {
2355
- m("getModel", "environmentName", r), m("getModel", "packageName", a), m("getModel", "path", n);
2356
- const o = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))), s = new URL(o, V);
2354
+ getModel: async (r, a, t, e, n = {}) => {
2355
+ m("getModel", "environmentName", r), m("getModel", "packageName", a), m("getModel", "path", t);
2356
+ const o = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, V);
2357
2357
  let c;
2358
2358
  l && (c = l.baseOptions);
2359
- const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2359
+ const i = { method: "GET", ...c, ...n }, p = {}, d = {};
2360
2360
  e !== void 0 && (d.versionId = e), v(s, d);
2361
2361
  let P = c && c.headers ? c.headers : {};
2362
- return i.headers = { ...p, ...P, ...t.headers }, {
2362
+ return i.headers = { ...p, ...P, ...n.headers }, {
2363
2363
  url: O(s),
2364
2364
  options: i
2365
2365
  };
@@ -2373,13 +2373,13 @@ const fe = {
2373
2373
  * @param {*} [options] Override http request option.
2374
2374
  * @throws {RequiredError}
2375
2375
  */
2376
- listModels: async (r, a, n, e = {}) => {
2376
+ listModels: async (r, a, t, e = {}) => {
2377
2377
  m("listModels", "environmentName", r), m("listModels", "packageName", a);
2378
- const t = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
2378
+ const n = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(n, V);
2379
2379
  let s;
2380
2380
  l && (s = l.baseOptions);
2381
2381
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
2382
- n !== void 0 && (p.versionId = n), v(o, p);
2382
+ t !== void 0 && (p.versionId = t), v(o, p);
2383
2383
  let d = s && s.headers ? s.headers : {};
2384
2384
  return c.headers = { ...i, ...d, ...e.headers }, {
2385
2385
  url: O(o),
@@ -2388,7 +2388,7 @@ const fe = {
2388
2388
  }
2389
2389
  };
2390
2390
  }, U = function(l) {
2391
- const r = re(l);
2391
+ const r = se(l);
2392
2392
  return {
2393
2393
  /**
2394
2394
  * 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.
@@ -2400,8 +2400,8 @@ const fe = {
2400
2400
  * @param {*} [options] Override http request option.
2401
2401
  * @throws {RequiredError}
2402
2402
  */
2403
- async compileModelSource(a, n, e, t, o) {
2404
- const s = await r.compileModelSource(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.compileModelSource"]?.[c]?.url;
2403
+ async compileModelSource(a, t, e, n, o) {
2404
+ const s = await r.compileModelSource(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.compileModelSource"]?.[c]?.url;
2405
2405
  return (p, d) => b(s, h, u, l)(p, i || d);
2406
2406
  },
2407
2407
  /**
@@ -2414,8 +2414,8 @@ const fe = {
2414
2414
  * @param {*} [options] Override http request option.
2415
2415
  * @throws {RequiredError}
2416
2416
  */
2417
- async executeQueryModel(a, n, e, t, o) {
2418
- const s = await r.executeQueryModel(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.executeQueryModel"]?.[c]?.url;
2417
+ async executeQueryModel(a, t, e, n, o) {
2418
+ const s = await r.executeQueryModel(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.executeQueryModel"]?.[c]?.url;
2419
2419
  return (p, d) => b(s, h, u, l)(p, i || d);
2420
2420
  },
2421
2421
  /**
@@ -2428,8 +2428,8 @@ const fe = {
2428
2428
  * @param {*} [options] Override http request option.
2429
2429
  * @throws {RequiredError}
2430
2430
  */
2431
- async getModel(a, n, e, t, o) {
2432
- const s = await r.getModel(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.getModel"]?.[c]?.url;
2431
+ async getModel(a, t, e, n, o) {
2432
+ const s = await r.getModel(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["ModelsApi.getModel"]?.[c]?.url;
2433
2433
  return (p, d) => b(s, h, u, l)(p, i || d);
2434
2434
  },
2435
2435
  /**
@@ -2441,13 +2441,13 @@ const fe = {
2441
2441
  * @param {*} [options] Override http request option.
2442
2442
  * @throws {RequiredError}
2443
2443
  */
2444
- async listModels(a, n, e, t) {
2445
- const o = await r.listModels(a, n, e, t), s = l?.serverIndex ?? 0, c = g["ModelsApi.listModels"]?.[s]?.url;
2444
+ async listModels(a, t, e, n) {
2445
+ const o = await r.listModels(a, t, e, n), s = l?.serverIndex ?? 0, c = g["ModelsApi.listModels"]?.[s]?.url;
2446
2446
  return (i, p) => b(o, h, u, l)(i, c || p);
2447
2447
  }
2448
2448
  };
2449
2449
  }, De = function(l, r, a) {
2450
- const n = U(l);
2450
+ const t = U(l);
2451
2451
  return {
2452
2452
  /**
2453
2453
  * 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.
@@ -2459,8 +2459,8 @@ const fe = {
2459
2459
  * @param {*} [options] Override http request option.
2460
2460
  * @throws {RequiredError}
2461
2461
  */
2462
- compileModelSource(e, t, o, s, c) {
2463
- return n.compileModelSource(e, t, o, s, c).then((i) => i(a, r));
2462
+ compileModelSource(e, n, o, s, c) {
2463
+ return t.compileModelSource(e, n, o, s, c).then((i) => i(a, r));
2464
2464
  },
2465
2465
  /**
2466
2466
  * 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.
@@ -2472,8 +2472,8 @@ const fe = {
2472
2472
  * @param {*} [options] Override http request option.
2473
2473
  * @throws {RequiredError}
2474
2474
  */
2475
- executeQueryModel(e, t, o, s, c) {
2476
- return n.executeQueryModel(e, t, o, s, c).then((i) => i(a, r));
2475
+ executeQueryModel(e, n, o, s, c) {
2476
+ return t.executeQueryModel(e, n, o, s, c).then((i) => i(a, r));
2477
2477
  },
2478
2478
  /**
2479
2479
  * 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.
@@ -2485,8 +2485,8 @@ const fe = {
2485
2485
  * @param {*} [options] Override http request option.
2486
2486
  * @throws {RequiredError}
2487
2487
  */
2488
- getModel(e, t, o, s, c) {
2489
- return n.getModel(e, t, o, s, c).then((i) => i(a, r));
2488
+ getModel(e, n, o, s, c) {
2489
+ return t.getModel(e, n, o, s, c).then((i) => i(a, r));
2490
2490
  },
2491
2491
  /**
2492
2492
  * 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.
@@ -2497,12 +2497,12 @@ const fe = {
2497
2497
  * @param {*} [options] Override http request option.
2498
2498
  * @throws {RequiredError}
2499
2499
  */
2500
- listModels(e, t, o, s) {
2501
- return n.listModels(e, t, o, s).then((c) => c(a, r));
2500
+ listModels(e, n, o, s) {
2501
+ return t.listModels(e, n, o, s).then((c) => c(a, r));
2502
2502
  }
2503
2503
  };
2504
2504
  };
2505
- class oe extends k {
2505
+ class ce extends k {
2506
2506
  /**
2507
2507
  * 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.
2508
2508
  * @summary Compile Malloy source code
@@ -2514,8 +2514,8 @@ class oe extends k {
2514
2514
  * @throws {RequiredError}
2515
2515
  * @memberof ModelsApi
2516
2516
  */
2517
- compileModelSource(r, a, n, e, t) {
2518
- return U(this.configuration).compileModelSource(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2517
+ compileModelSource(r, a, t, e, n) {
2518
+ return U(this.configuration).compileModelSource(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
2519
2519
  }
2520
2520
  /**
2521
2521
  * 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.
@@ -2528,8 +2528,8 @@ class oe extends k {
2528
2528
  * @throws {RequiredError}
2529
2529
  * @memberof ModelsApi
2530
2530
  */
2531
- executeQueryModel(r, a, n, e, t) {
2532
- return U(this.configuration).executeQueryModel(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2531
+ executeQueryModel(r, a, t, e, n) {
2532
+ return U(this.configuration).executeQueryModel(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
2533
2533
  }
2534
2534
  /**
2535
2535
  * 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.
@@ -2542,8 +2542,8 @@ class oe extends k {
2542
2542
  * @throws {RequiredError}
2543
2543
  * @memberof ModelsApi
2544
2544
  */
2545
- getModel(r, a, n, e, t) {
2546
- return U(this.configuration).getModel(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2545
+ getModel(r, a, t, e, n) {
2546
+ return U(this.configuration).getModel(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
2547
2547
  }
2548
2548
  /**
2549
2549
  * 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.
@@ -2555,11 +2555,11 @@ class oe extends k {
2555
2555
  * @throws {RequiredError}
2556
2556
  * @memberof ModelsApi
2557
2557
  */
2558
- listModels(r, a, n, e) {
2559
- return U(this.configuration).listModels(r, a, n, e).then((t) => t(this.axios, this.basePath));
2558
+ listModels(r, a, t, e) {
2559
+ return U(this.configuration).listModels(r, a, t, e).then((n) => n(this.axios, this.basePath));
2560
2560
  }
2561
2561
  }
2562
- const se = function(l) {
2562
+ const le = function(l) {
2563
2563
  return {
2564
2564
  /**
2565
2565
  * 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.
@@ -2575,13 +2575,13 @@ const se = function(l) {
2575
2575
  * @param {*} [options] Override http request option.
2576
2576
  * @throws {RequiredError}
2577
2577
  */
2578
- executeNotebookCell: async (r, a, n, e, t, o, s, c, i = {}) => {
2579
- m("executeNotebookCell", "environmentName", r), m("executeNotebookCell", "packageName", a), m("executeNotebookCell", "path", n), m("executeNotebookCell", "cellIndex", e);
2580
- 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))), d = new URL(p, V);
2578
+ executeNotebookCell: async (r, a, t, e, n, o, s, c, i = {}) => {
2579
+ m("executeNotebookCell", "environmentName", r), m("executeNotebookCell", "packageName", a), m("executeNotebookCell", "path", t), m("executeNotebookCell", "cellIndex", e);
2580
+ const p = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(t))).replace("{cellIndex}", encodeURIComponent(String(e))), d = new URL(p, V);
2581
2581
  let P;
2582
2582
  l && (P = l.baseOptions);
2583
2583
  const y = { method: "GET", ...P, ...i }, T = {}, C = {};
2584
- 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(d, C);
2584
+ n !== void 0 && (C.versionId = n), o !== void 0 && (C.filter_params = o), s !== void 0 && (C.bypass_filters = s), c !== void 0 && (C.givens = c), v(d, C);
2585
2585
  let A = P && P.headers ? P.headers : {};
2586
2586
  return y.headers = { ...T, ...A, ...i.headers }, {
2587
2587
  url: O(d),
@@ -2598,15 +2598,15 @@ const se = function(l) {
2598
2598
  * @param {*} [options] Override http request option.
2599
2599
  * @throws {RequiredError}
2600
2600
  */
2601
- getNotebook: async (r, a, n, e, t = {}) => {
2602
- m("getNotebook", "environmentName", r), m("getNotebook", "packageName", a), m("getNotebook", "path", n);
2603
- const o = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))), s = new URL(o, V);
2601
+ getNotebook: async (r, a, t, e, n = {}) => {
2602
+ m("getNotebook", "environmentName", r), m("getNotebook", "packageName", a), m("getNotebook", "path", t);
2603
+ const o = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, V);
2604
2604
  let c;
2605
2605
  l && (c = l.baseOptions);
2606
- const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2606
+ const i = { method: "GET", ...c, ...n }, p = {}, d = {};
2607
2607
  e !== void 0 && (d.versionId = e), v(s, d);
2608
2608
  let P = c && c.headers ? c.headers : {};
2609
- return i.headers = { ...p, ...P, ...t.headers }, {
2609
+ return i.headers = { ...p, ...P, ...n.headers }, {
2610
2610
  url: O(s),
2611
2611
  options: i
2612
2612
  };
@@ -2620,13 +2620,13 @@ const se = function(l) {
2620
2620
  * @param {*} [options] Override http request option.
2621
2621
  * @throws {RequiredError}
2622
2622
  */
2623
- listNotebooks: async (r, a, n, e = {}) => {
2623
+ listNotebooks: async (r, a, t, e = {}) => {
2624
2624
  m("listNotebooks", "environmentName", r), m("listNotebooks", "packageName", a);
2625
- const t = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
2625
+ const n = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(n, V);
2626
2626
  let s;
2627
2627
  l && (s = l.baseOptions);
2628
2628
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
2629
- n !== void 0 && (p.versionId = n), v(o, p);
2629
+ t !== void 0 && (p.versionId = t), v(o, p);
2630
2630
  let d = s && s.headers ? s.headers : {};
2631
2631
  return c.headers = { ...i, ...d, ...e.headers }, {
2632
2632
  url: O(o),
@@ -2635,7 +2635,7 @@ const se = function(l) {
2635
2635
  }
2636
2636
  };
2637
2637
  }, w = function(l) {
2638
- const r = se(l);
2638
+ const r = le(l);
2639
2639
  return {
2640
2640
  /**
2641
2641
  * 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.
@@ -2651,8 +2651,8 @@ const se = function(l) {
2651
2651
  * @param {*} [options] Override http request option.
2652
2652
  * @throws {RequiredError}
2653
2653
  */
2654
- async executeNotebookCell(a, n, e, t, o, s, c, i, p) {
2655
- const d = await r.executeNotebookCell(a, n, e, t, o, s, c, i, p), P = l?.serverIndex ?? 0, y = g["NotebooksApi.executeNotebookCell"]?.[P]?.url;
2654
+ async executeNotebookCell(a, t, e, n, o, s, c, i, p) {
2655
+ const d = await r.executeNotebookCell(a, t, e, n, o, s, c, i, p), P = l?.serverIndex ?? 0, y = g["NotebooksApi.executeNotebookCell"]?.[P]?.url;
2656
2656
  return (T, C) => b(d, h, u, l)(T, y || C);
2657
2657
  },
2658
2658
  /**
@@ -2665,8 +2665,8 @@ const se = function(l) {
2665
2665
  * @param {*} [options] Override http request option.
2666
2666
  * @throws {RequiredError}
2667
2667
  */
2668
- async getNotebook(a, n, e, t, o) {
2669
- const s = await r.getNotebook(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["NotebooksApi.getNotebook"]?.[c]?.url;
2668
+ async getNotebook(a, t, e, n, o) {
2669
+ const s = await r.getNotebook(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["NotebooksApi.getNotebook"]?.[c]?.url;
2670
2670
  return (p, d) => b(s, h, u, l)(p, i || d);
2671
2671
  },
2672
2672
  /**
@@ -2678,13 +2678,13 @@ const se = function(l) {
2678
2678
  * @param {*} [options] Override http request option.
2679
2679
  * @throws {RequiredError}
2680
2680
  */
2681
- async listNotebooks(a, n, e, t) {
2682
- const o = await r.listNotebooks(a, n, e, t), s = l?.serverIndex ?? 0, c = g["NotebooksApi.listNotebooks"]?.[s]?.url;
2681
+ async listNotebooks(a, t, e, n) {
2682
+ const o = await r.listNotebooks(a, t, e, n), s = l?.serverIndex ?? 0, c = g["NotebooksApi.listNotebooks"]?.[s]?.url;
2683
2683
  return (i, p) => b(o, h, u, l)(i, c || p);
2684
2684
  }
2685
2685
  };
2686
2686
  }, We = function(l, r, a) {
2687
- const n = w(l);
2687
+ const t = w(l);
2688
2688
  return {
2689
2689
  /**
2690
2690
  * 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.
@@ -2700,8 +2700,8 @@ const se = function(l) {
2700
2700
  * @param {*} [options] Override http request option.
2701
2701
  * @throws {RequiredError}
2702
2702
  */
2703
- executeNotebookCell(e, t, o, s, c, i, p, d, P) {
2704
- return n.executeNotebookCell(e, t, o, s, c, i, p, d, P).then((y) => y(a, r));
2703
+ executeNotebookCell(e, n, o, s, c, i, p, d, P) {
2704
+ return t.executeNotebookCell(e, n, o, s, c, i, p, d, P).then((y) => y(a, r));
2705
2705
  },
2706
2706
  /**
2707
2707
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2713,8 +2713,8 @@ const se = function(l) {
2713
2713
  * @param {*} [options] Override http request option.
2714
2714
  * @throws {RequiredError}
2715
2715
  */
2716
- getNotebook(e, t, o, s, c) {
2717
- return n.getNotebook(e, t, o, s, c).then((i) => i(a, r));
2716
+ getNotebook(e, n, o, s, c) {
2717
+ return t.getNotebook(e, n, o, s, c).then((i) => i(a, r));
2718
2718
  },
2719
2719
  /**
2720
2720
  * 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.
@@ -2725,12 +2725,12 @@ const se = function(l) {
2725
2725
  * @param {*} [options] Override http request option.
2726
2726
  * @throws {RequiredError}
2727
2727
  */
2728
- listNotebooks(e, t, o, s) {
2729
- return n.listNotebooks(e, t, o, s).then((c) => c(a, r));
2728
+ listNotebooks(e, n, o, s) {
2729
+ return t.listNotebooks(e, n, o, s).then((c) => c(a, r));
2730
2730
  }
2731
2731
  };
2732
2732
  };
2733
- class ce extends k {
2733
+ class ie extends k {
2734
2734
  /**
2735
2735
  * 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.
2736
2736
  * @summary Execute a specific notebook cell
@@ -2746,8 +2746,8 @@ class ce extends k {
2746
2746
  * @throws {RequiredError}
2747
2747
  * @memberof NotebooksApi
2748
2748
  */
2749
- executeNotebookCell(r, a, n, e, t, o, s, c, i) {
2750
- return w(this.configuration).executeNotebookCell(r, a, n, e, t, o, s, c, i).then((p) => p(this.axios, this.basePath));
2749
+ executeNotebookCell(r, a, t, e, n, o, s, c, i) {
2750
+ return w(this.configuration).executeNotebookCell(r, a, t, e, n, o, s, c, i).then((p) => p(this.axios, this.basePath));
2751
2751
  }
2752
2752
  /**
2753
2753
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2760,8 +2760,8 @@ class ce extends k {
2760
2760
  * @throws {RequiredError}
2761
2761
  * @memberof NotebooksApi
2762
2762
  */
2763
- getNotebook(r, a, n, e, t) {
2764
- return w(this.configuration).getNotebook(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
2763
+ getNotebook(r, a, t, e, n) {
2764
+ return w(this.configuration).getNotebook(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
2765
2765
  }
2766
2766
  /**
2767
2767
  * 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.
@@ -2773,14 +2773,14 @@ class ce extends k {
2773
2773
  * @throws {RequiredError}
2774
2774
  * @memberof NotebooksApi
2775
2775
  */
2776
- listNotebooks(r, a, n, e) {
2777
- return w(this.configuration).listNotebooks(r, a, n, e).then((t) => t(this.axios, this.basePath));
2776
+ listNotebooks(r, a, t, e) {
2777
+ return w(this.configuration).listNotebooks(r, a, t, e).then((n) => n(this.axios, this.basePath));
2778
2778
  }
2779
2779
  }
2780
2780
  const Ge = {
2781
2781
  True: "true",
2782
2782
  False: "false"
2783
- }, le = function(l) {
2783
+ }, pe = function(l) {
2784
2784
  return {
2785
2785
  /**
2786
2786
  * 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.
@@ -2791,13 +2791,13 @@ const Ge = {
2791
2791
  * @param {*} [options] Override http request option.
2792
2792
  * @throws {RequiredError}
2793
2793
  */
2794
- createPackage: async (r, a, n, e = {}) => {
2794
+ createPackage: async (r, a, t, e = {}) => {
2795
2795
  m("createPackage", "environmentName", r), m("createPackage", "_package", a);
2796
- const t = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(r))), o = new URL(t, V);
2796
+ const n = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(r))), o = new URL(n, V);
2797
2797
  let s;
2798
2798
  l && (s = l.baseOptions);
2799
2799
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
2800
- n !== void 0 && (p.autoLoadManifest = n), i["Content-Type"] = "application/json", v(o, p);
2800
+ t !== void 0 && (p.autoLoadManifest = t), i["Content-Type"] = "application/json", v(o, p);
2801
2801
  let d = s && s.headers ? s.headers : {};
2802
2802
  return c.headers = { ...i, ...d, ...e.headers }, c.data = I(a, c, l), {
2803
2803
  url: O(o),
@@ -2812,16 +2812,16 @@ const Ge = {
2812
2812
  * @param {*} [options] Override http request option.
2813
2813
  * @throws {RequiredError}
2814
2814
  */
2815
- deletePackage: async (r, a, n = {}) => {
2815
+ deletePackage: async (r, a, t = {}) => {
2816
2816
  m("deletePackage", "environmentName", r), m("deletePackage", "packageName", a);
2817
- const e = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), t = new URL(e, V);
2817
+ const e = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), n = new URL(e, V);
2818
2818
  let o;
2819
2819
  l && (o = l.baseOptions);
2820
- const s = { method: "DELETE", ...o, ...n }, c = {};
2821
- v(t, {});
2820
+ const s = { method: "DELETE", ...o, ...t }, c = {};
2821
+ v(n, {});
2822
2822
  let p = o && o.headers ? o.headers : {};
2823
- return s.headers = { ...c, ...p, ...n.headers }, {
2824
- url: O(t),
2823
+ return s.headers = { ...c, ...p, ...t.headers }, {
2824
+ url: O(n),
2825
2825
  options: s
2826
2826
  };
2827
2827
  },
@@ -2835,15 +2835,15 @@ const Ge = {
2835
2835
  * @param {*} [options] Override http request option.
2836
2836
  * @throws {RequiredError}
2837
2837
  */
2838
- getPackage: async (r, a, n, e, t = {}) => {
2838
+ getPackage: async (r, a, t, e, n = {}) => {
2839
2839
  m("getPackage", "environmentName", r), m("getPackage", "packageName", a);
2840
2840
  const o = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), s = new URL(o, V);
2841
2841
  let c;
2842
2842
  l && (c = l.baseOptions);
2843
- const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2844
- n !== void 0 && (d.versionId = n), e !== void 0 && (d.reload = e), v(s, d);
2843
+ const i = { method: "GET", ...c, ...n }, p = {}, d = {};
2844
+ t !== void 0 && (d.versionId = t), e !== void 0 && (d.reload = e), v(s, d);
2845
2845
  let P = c && c.headers ? c.headers : {};
2846
- return i.headers = { ...p, ...P, ...t.headers }, {
2846
+ return i.headers = { ...p, ...P, ...n.headers }, {
2847
2847
  url: O(s),
2848
2848
  options: i
2849
2849
  };
@@ -2857,12 +2857,12 @@ const Ge = {
2857
2857
  */
2858
2858
  listPackages: async (r, a = {}) => {
2859
2859
  m("listPackages", "environmentName", r);
2860
- const n = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(n, V);
2861
- let t;
2862
- l && (t = l.baseOptions);
2863
- const o = { method: "GET", ...t, ...a }, s = {};
2860
+ const t = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(t, V);
2861
+ let n;
2862
+ l && (n = l.baseOptions);
2863
+ const o = { method: "GET", ...n, ...a }, s = {};
2864
2864
  v(e, {});
2865
- let i = t && t.headers ? t.headers : {};
2865
+ let i = n && n.headers ? n.headers : {};
2866
2866
  return o.headers = { ...s, ...i, ...a.headers }, {
2867
2867
  url: O(e),
2868
2868
  options: o
@@ -2877,22 +2877,22 @@ const Ge = {
2877
2877
  * @param {*} [options] Override http request option.
2878
2878
  * @throws {RequiredError}
2879
2879
  */
2880
- updatePackage: async (r, a, n, e = {}) => {
2881
- m("updatePackage", "environmentName", r), m("updatePackage", "packageName", a), m("updatePackage", "_package", n);
2882
- const t = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
2880
+ updatePackage: async (r, a, t, e = {}) => {
2881
+ m("updatePackage", "environmentName", r), m("updatePackage", "packageName", a), m("updatePackage", "_package", t);
2882
+ const n = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(n, V);
2883
2883
  let s;
2884
2884
  l && (s = l.baseOptions);
2885
2885
  const c = { method: "PATCH", ...s, ...e }, i = {}, p = {};
2886
2886
  i["Content-Type"] = "application/json", v(o, p);
2887
2887
  let d = s && s.headers ? s.headers : {};
2888
- return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
2888
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(t, c, l), {
2889
2889
  url: O(o),
2890
2890
  options: c
2891
2891
  };
2892
2892
  }
2893
2893
  };
2894
2894
  }, R = function(l) {
2895
- const r = le(l);
2895
+ const r = pe(l);
2896
2896
  return {
2897
2897
  /**
2898
2898
  * 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.
@@ -2903,8 +2903,8 @@ const Ge = {
2903
2903
  * @param {*} [options] Override http request option.
2904
2904
  * @throws {RequiredError}
2905
2905
  */
2906
- async createPackage(a, n, e, t) {
2907
- const o = await r.createPackage(a, n, e, t), s = l?.serverIndex ?? 0, c = g["PackagesApi.createPackage"]?.[s]?.url;
2906
+ async createPackage(a, t, e, n) {
2907
+ const o = await r.createPackage(a, t, e, n), s = l?.serverIndex ?? 0, c = g["PackagesApi.createPackage"]?.[s]?.url;
2908
2908
  return (i, p) => b(o, h, u, l)(i, c || p);
2909
2909
  },
2910
2910
  /**
@@ -2915,9 +2915,9 @@ const Ge = {
2915
2915
  * @param {*} [options] Override http request option.
2916
2916
  * @throws {RequiredError}
2917
2917
  */
2918
- async deletePackage(a, n, e) {
2919
- const t = await r.deletePackage(a, n, e), o = l?.serverIndex ?? 0, s = g["PackagesApi.deletePackage"]?.[o]?.url;
2920
- return (c, i) => b(t, h, u, l)(c, s || i);
2918
+ async deletePackage(a, t, e) {
2919
+ const n = await r.deletePackage(a, t, e), o = l?.serverIndex ?? 0, s = g["PackagesApi.deletePackage"]?.[o]?.url;
2920
+ return (c, i) => b(n, h, u, l)(c, s || i);
2921
2921
  },
2922
2922
  /**
2923
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.
@@ -2929,8 +2929,8 @@ const Ge = {
2929
2929
  * @param {*} [options] Override http request option.
2930
2930
  * @throws {RequiredError}
2931
2931
  */
2932
- async getPackage(a, n, e, t, o) {
2933
- const s = await r.getPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = g["PackagesApi.getPackage"]?.[c]?.url;
2932
+ async getPackage(a, t, e, n, o) {
2933
+ const s = await r.getPackage(a, t, e, n, o), c = l?.serverIndex ?? 0, i = g["PackagesApi.getPackage"]?.[c]?.url;
2934
2934
  return (p, d) => b(s, h, u, l)(p, i || d);
2935
2935
  },
2936
2936
  /**
@@ -2940,8 +2940,8 @@ const Ge = {
2940
2940
  * @param {*} [options] Override http request option.
2941
2941
  * @throws {RequiredError}
2942
2942
  */
2943
- async listPackages(a, n) {
2944
- const e = await r.listPackages(a, n), t = l?.serverIndex ?? 0, o = g["PackagesApi.listPackages"]?.[t]?.url;
2943
+ async listPackages(a, t) {
2944
+ const e = await r.listPackages(a, t), n = l?.serverIndex ?? 0, o = g["PackagesApi.listPackages"]?.[n]?.url;
2945
2945
  return (s, c) => b(e, h, u, l)(s, o || c);
2946
2946
  },
2947
2947
  /**
@@ -2953,13 +2953,13 @@ const Ge = {
2953
2953
  * @param {*} [options] Override http request option.
2954
2954
  * @throws {RequiredError}
2955
2955
  */
2956
- async updatePackage(a, n, e, t) {
2957
- const o = await r.updatePackage(a, n, e, t), s = l?.serverIndex ?? 0, c = g["PackagesApi.updatePackage"]?.[s]?.url;
2956
+ async updatePackage(a, t, e, n) {
2957
+ const o = await r.updatePackage(a, t, e, n), s = l?.serverIndex ?? 0, c = g["PackagesApi.updatePackage"]?.[s]?.url;
2958
2958
  return (i, p) => b(o, h, u, l)(i, c || p);
2959
2959
  }
2960
2960
  };
2961
2961
  }, _e = function(l, r, a) {
2962
- const n = R(l);
2962
+ const t = R(l);
2963
2963
  return {
2964
2964
  /**
2965
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.
@@ -2970,8 +2970,8 @@ const Ge = {
2970
2970
  * @param {*} [options] Override http request option.
2971
2971
  * @throws {RequiredError}
2972
2972
  */
2973
- createPackage(e, t, o, s) {
2974
- return n.createPackage(e, t, o, s).then((c) => c(a, r));
2973
+ createPackage(e, n, o, s) {
2974
+ return t.createPackage(e, n, o, s).then((c) => c(a, r));
2975
2975
  },
2976
2976
  /**
2977
2977
  * 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.
@@ -2981,8 +2981,8 @@ const Ge = {
2981
2981
  * @param {*} [options] Override http request option.
2982
2982
  * @throws {RequiredError}
2983
2983
  */
2984
- deletePackage(e, t, o) {
2985
- return n.deletePackage(e, t, o).then((s) => s(a, r));
2984
+ deletePackage(e, n, o) {
2985
+ return t.deletePackage(e, n, o).then((s) => s(a, r));
2986
2986
  },
2987
2987
  /**
2988
2988
  * 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.
@@ -2994,8 +2994,8 @@ const Ge = {
2994
2994
  * @param {*} [options] Override http request option.
2995
2995
  * @throws {RequiredError}
2996
2996
  */
2997
- getPackage(e, t, o, s, c) {
2998
- return n.getPackage(e, t, o, s, c).then((i) => i(a, r));
2997
+ getPackage(e, n, o, s, c) {
2998
+ return t.getPackage(e, n, o, s, c).then((i) => i(a, r));
2999
2999
  },
3000
3000
  /**
3001
3001
  * 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.
@@ -3004,8 +3004,8 @@ const Ge = {
3004
3004
  * @param {*} [options] Override http request option.
3005
3005
  * @throws {RequiredError}
3006
3006
  */
3007
- listPackages(e, t) {
3008
- return n.listPackages(e, t).then((o) => o(a, r));
3007
+ listPackages(e, n) {
3008
+ return t.listPackages(e, n).then((o) => o(a, r));
3009
3009
  },
3010
3010
  /**
3011
3011
  * 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.
@@ -3016,12 +3016,12 @@ const Ge = {
3016
3016
  * @param {*} [options] Override http request option.
3017
3017
  * @throws {RequiredError}
3018
3018
  */
3019
- updatePackage(e, t, o, s) {
3020
- return n.updatePackage(e, t, o, s).then((c) => c(a, r));
3019
+ updatePackage(e, n, o, s) {
3020
+ return t.updatePackage(e, n, o, s).then((c) => c(a, r));
3021
3021
  }
3022
3022
  };
3023
3023
  };
3024
- class ie extends k {
3024
+ class me extends k {
3025
3025
  /**
3026
3026
  * 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.
3027
3027
  * @summary Create a new package
@@ -3032,8 +3032,8 @@ class ie extends k {
3032
3032
  * @throws {RequiredError}
3033
3033
  * @memberof PackagesApi
3034
3034
  */
3035
- createPackage(r, a, n, e) {
3036
- return R(this.configuration).createPackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
3035
+ createPackage(r, a, t, e) {
3036
+ return R(this.configuration).createPackage(r, a, t, e).then((n) => n(this.axios, this.basePath));
3037
3037
  }
3038
3038
  /**
3039
3039
  * 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.
@@ -3044,8 +3044,8 @@ class ie extends k {
3044
3044
  * @throws {RequiredError}
3045
3045
  * @memberof PackagesApi
3046
3046
  */
3047
- deletePackage(r, a, n) {
3048
- return R(this.configuration).deletePackage(r, a, n).then((e) => e(this.axios, this.basePath));
3047
+ deletePackage(r, a, t) {
3048
+ return R(this.configuration).deletePackage(r, a, t).then((e) => e(this.axios, this.basePath));
3049
3049
  }
3050
3050
  /**
3051
3051
  * 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.
@@ -3058,8 +3058,8 @@ class ie extends k {
3058
3058
  * @throws {RequiredError}
3059
3059
  * @memberof PackagesApi
3060
3060
  */
3061
- getPackage(r, a, n, e, t) {
3062
- return R(this.configuration).getPackage(r, a, n, e, t).then((o) => o(this.axios, this.basePath));
3061
+ getPackage(r, a, t, e, n) {
3062
+ return R(this.configuration).getPackage(r, a, t, e, n).then((o) => o(this.axios, this.basePath));
3063
3063
  }
3064
3064
  /**
3065
3065
  * 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.
@@ -3070,7 +3070,7 @@ class ie extends k {
3070
3070
  * @memberof PackagesApi
3071
3071
  */
3072
3072
  listPackages(r, a) {
3073
- return R(this.configuration).listPackages(r, a).then((n) => n(this.axios, this.basePath));
3073
+ return R(this.configuration).listPackages(r, a).then((t) => t(this.axios, this.basePath));
3074
3074
  }
3075
3075
  /**
3076
3076
  * 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.
@@ -3082,11 +3082,11 @@ class ie extends k {
3082
3082
  * @throws {RequiredError}
3083
3083
  * @memberof PackagesApi
3084
3084
  */
3085
- updatePackage(r, a, n, e) {
3086
- return R(this.configuration).updatePackage(r, a, n, e).then((t) => t(this.axios, this.basePath));
3085
+ updatePackage(r, a, t, e) {
3086
+ return R(this.configuration).updatePackage(r, a, t, e).then((n) => n(this.axios, this.basePath));
3087
3087
  }
3088
3088
  }
3089
- const pe = function(l) {
3089
+ const de = function(l) {
3090
3090
  return {
3091
3091
  /**
3092
3092
  * 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.
@@ -3095,20 +3095,20 @@ const pe = function(l) {
3095
3095
  * @throws {RequiredError}
3096
3096
  */
3097
3097
  getStatus: async (r = {}) => {
3098
- const a = "/status", n = new URL(a, V);
3098
+ const a = "/status", t = new URL(a, V);
3099
3099
  let e;
3100
3100
  l && (e = l.baseOptions);
3101
- const t = { method: "GET", ...e, ...r }, o = {};
3102
- v(n, {});
3101
+ const n = { method: "GET", ...e, ...r }, o = {};
3102
+ v(t, {});
3103
3103
  let c = e && e.headers ? e.headers : {};
3104
- return t.headers = { ...o, ...c, ...r.headers }, {
3105
- url: O(n),
3106
- options: t
3104
+ return n.headers = { ...o, ...c, ...r.headers }, {
3105
+ url: O(t),
3106
+ options: n
3107
3107
  };
3108
3108
  }
3109
3109
  };
3110
3110
  }, z = function(l) {
3111
- const r = pe(l);
3111
+ const r = de(l);
3112
3112
  return {
3113
3113
  /**
3114
3114
  * 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.
@@ -3117,12 +3117,12 @@ const pe = function(l) {
3117
3117
  * @throws {RequiredError}
3118
3118
  */
3119
3119
  async getStatus(a) {
3120
- const n = await r.getStatus(a), e = l?.serverIndex ?? 0, t = g["PublisherApi.getStatus"]?.[e]?.url;
3121
- return (o, s) => b(n, h, u, l)(o, t || s);
3120
+ const t = await r.getStatus(a), e = l?.serverIndex ?? 0, n = g["PublisherApi.getStatus"]?.[e]?.url;
3121
+ return (o, s) => b(t, h, u, l)(o, n || s);
3122
3122
  }
3123
3123
  };
3124
3124
  }, Je = function(l, r, a) {
3125
- const n = z(l);
3125
+ const t = z(l);
3126
3126
  return {
3127
3127
  /**
3128
3128
  * 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.
@@ -3131,11 +3131,11 @@ const pe = function(l) {
3131
3131
  * @throws {RequiredError}
3132
3132
  */
3133
3133
  getStatus(e) {
3134
- return n.getStatus(e).then((t) => t(a, r));
3134
+ return t.getStatus(e).then((n) => n(a, r));
3135
3135
  }
3136
3136
  };
3137
3137
  };
3138
- class me extends k {
3138
+ class he extends k {
3139
3139
  /**
3140
3140
  * 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.
3141
3141
  * @summary Get server status and health information
@@ -3147,7 +3147,7 @@ class me extends k {
3147
3147
  return z(this.configuration).getStatus(r).then((a) => a(this.axios, this.basePath));
3148
3148
  }
3149
3149
  }
3150
- const de = function(l) {
3150
+ const ue = function(l) {
3151
3151
  return {
3152
3152
  /**
3153
3153
  * 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.
@@ -3156,15 +3156,15 @@ const de = function(l) {
3156
3156
  * @throws {RequiredError}
3157
3157
  */
3158
3158
  getWatchStatus: async (r = {}) => {
3159
- const a = "/watch-mode/status", n = new URL(a, V);
3159
+ const a = "/watch-mode/status", t = new URL(a, V);
3160
3160
  let e;
3161
3161
  l && (e = l.baseOptions);
3162
- const t = { method: "GET", ...e, ...r }, o = {};
3163
- v(n, {});
3162
+ const n = { method: "GET", ...e, ...r }, o = {};
3163
+ v(t, {});
3164
3164
  let c = e && e.headers ? e.headers : {};
3165
- return t.headers = { ...o, ...c, ...r.headers }, {
3166
- url: O(n),
3167
- options: t
3165
+ return n.headers = { ...o, ...c, ...r.headers }, {
3166
+ url: O(t),
3167
+ options: n
3168
3168
  };
3169
3169
  },
3170
3170
  /**
@@ -3176,12 +3176,12 @@ const de = function(l) {
3176
3176
  */
3177
3177
  startWatching: async (r, a = {}) => {
3178
3178
  m("startWatching", "startWatchRequest", r);
3179
- const n = "/watch-mode/start", e = new URL(n, V);
3180
- let t;
3181
- l && (t = l.baseOptions);
3182
- const o = { method: "POST", ...t, ...a }, s = {}, c = {};
3179
+ const t = "/watch-mode/start", e = new URL(t, V);
3180
+ let n;
3181
+ l && (n = l.baseOptions);
3182
+ const o = { method: "POST", ...n, ...a }, s = {}, c = {};
3183
3183
  s["Content-Type"] = "application/json", v(e, c);
3184
- let i = t && t.headers ? t.headers : {};
3184
+ let i = n && n.headers ? n.headers : {};
3185
3185
  return o.headers = { ...s, ...i, ...a.headers }, o.data = I(r, o, l), {
3186
3186
  url: O(e),
3187
3187
  options: o
@@ -3194,20 +3194,20 @@ const de = function(l) {
3194
3194
  * @throws {RequiredError}
3195
3195
  */
3196
3196
  stopWatching: async (r = {}) => {
3197
- const a = "/watch-mode/stop", n = new URL(a, V);
3197
+ const a = "/watch-mode/stop", t = new URL(a, V);
3198
3198
  let e;
3199
3199
  l && (e = l.baseOptions);
3200
- const t = { method: "POST", ...e, ...r }, o = {};
3201
- v(n, {});
3200
+ const n = { method: "POST", ...e, ...r }, o = {};
3201
+ v(t, {});
3202
3202
  let c = e && e.headers ? e.headers : {};
3203
- return t.headers = { ...o, ...c, ...r.headers }, {
3204
- url: O(n),
3205
- options: t
3203
+ return n.headers = { ...o, ...c, ...r.headers }, {
3204
+ url: O(t),
3205
+ options: n
3206
3206
  };
3207
3207
  }
3208
3208
  };
3209
3209
  }, M = function(l) {
3210
- const r = de(l);
3210
+ const r = ue(l);
3211
3211
  return {
3212
3212
  /**
3213
3213
  * 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.
@@ -3216,8 +3216,8 @@ const de = function(l) {
3216
3216
  * @throws {RequiredError}
3217
3217
  */
3218
3218
  async getWatchStatus(a) {
3219
- const n = await r.getWatchStatus(a), e = l?.serverIndex ?? 0, t = g["WatchModeApi.getWatchStatus"]?.[e]?.url;
3220
- return (o, s) => b(n, h, u, l)(o, t || s);
3219
+ const t = await r.getWatchStatus(a), e = l?.serverIndex ?? 0, n = g["WatchModeApi.getWatchStatus"]?.[e]?.url;
3220
+ return (o, s) => b(t, h, u, l)(o, n || s);
3221
3221
  },
3222
3222
  /**
3223
3223
  * 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.
@@ -3226,8 +3226,8 @@ const de = function(l) {
3226
3226
  * @param {*} [options] Override http request option.
3227
3227
  * @throws {RequiredError}
3228
3228
  */
3229
- async startWatching(a, n) {
3230
- const e = await r.startWatching(a, n), t = l?.serverIndex ?? 0, o = g["WatchModeApi.startWatching"]?.[t]?.url;
3229
+ async startWatching(a, t) {
3230
+ const e = await r.startWatching(a, t), n = l?.serverIndex ?? 0, o = g["WatchModeApi.startWatching"]?.[n]?.url;
3231
3231
  return (s, c) => b(e, h, u, l)(s, o || c);
3232
3232
  },
3233
3233
  /**
@@ -3237,12 +3237,12 @@ const de = function(l) {
3237
3237
  * @throws {RequiredError}
3238
3238
  */
3239
3239
  async stopWatching(a) {
3240
- const n = await r.stopWatching(a), e = l?.serverIndex ?? 0, t = g["WatchModeApi.stopWatching"]?.[e]?.url;
3241
- return (o, s) => b(n, h, u, l)(o, t || s);
3240
+ const t = await r.stopWatching(a), e = l?.serverIndex ?? 0, n = g["WatchModeApi.stopWatching"]?.[e]?.url;
3241
+ return (o, s) => b(t, h, u, l)(o, n || s);
3242
3242
  }
3243
3243
  };
3244
3244
  }, Ke = function(l, r, a) {
3245
- const n = M(l);
3245
+ const t = M(l);
3246
3246
  return {
3247
3247
  /**
3248
3248
  * 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.
@@ -3251,7 +3251,7 @@ const de = function(l) {
3251
3251
  * @throws {RequiredError}
3252
3252
  */
3253
3253
  getWatchStatus(e) {
3254
- return n.getWatchStatus(e).then((t) => t(a, r));
3254
+ return t.getWatchStatus(e).then((n) => n(a, r));
3255
3255
  },
3256
3256
  /**
3257
3257
  * 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.
@@ -3260,8 +3260,8 @@ const de = function(l) {
3260
3260
  * @param {*} [options] Override http request option.
3261
3261
  * @throws {RequiredError}
3262
3262
  */
3263
- startWatching(e, t) {
3264
- return n.startWatching(e, t).then((o) => o(a, r));
3263
+ startWatching(e, n) {
3264
+ return t.startWatching(e, n).then((o) => o(a, r));
3265
3265
  },
3266
3266
  /**
3267
3267
  * 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.
@@ -3270,11 +3270,11 @@ const de = function(l) {
3270
3270
  * @throws {RequiredError}
3271
3271
  */
3272
3272
  stopWatching(e) {
3273
- return n.stopWatching(e).then((t) => t(a, r));
3273
+ return t.stopWatching(e).then((n) => n(a, r));
3274
3274
  }
3275
3275
  };
3276
3276
  };
3277
- class he extends k {
3277
+ class Pe extends k {
3278
3278
  /**
3279
3279
  * 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.
3280
3280
  * @summary Get watch mode status
@@ -3294,7 +3294,7 @@ class he extends k {
3294
3294
  * @memberof WatchModeApi
3295
3295
  */
3296
3296
  startWatching(r, a) {
3297
- return M(this.configuration).startWatching(r, a).then((n) => n(this.axios, this.basePath));
3297
+ return M(this.configuration).startWatching(r, a).then((t) => t(this.axios, this.basePath));
3298
3298
  }
3299
3299
  /**
3300
3300
  * 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.
@@ -3307,7 +3307,7 @@ class he extends k {
3307
3307
  return M(this.configuration).stopWatching(r).then((a) => a(this.axios, this.basePath));
3308
3308
  }
3309
3309
  }
3310
- class ue {
3310
+ class ge {
3311
3311
  /**
3312
3312
  * parameter for apiKey security
3313
3313
  * @param name security name
@@ -3387,7 +3387,7 @@ class ue {
3387
3387
  return r !== null && (a.test(r) || r.toLowerCase() === "application/json-patch+json");
3388
3388
  }
3389
3389
  }
3390
- const Pe = new L({
3390
+ const Ve = new L({
3391
3391
  defaultOptions: {
3392
3392
  queries: {
3393
3393
  retry: !1,
@@ -3400,37 +3400,43 @@ const Pe = new L({
3400
3400
  }
3401
3401
  });
3402
3402
  h.defaults.baseURL || (h.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3403
- const j = D(void 0), ge = (l, r) => {
3404
- const a = `${window.location.protocol}//${window.location.host}/api/v0`, n = h.create({
3403
+ const j = D(void 0), ve = (l, r) => {
3404
+ const a = `${window.location.protocol}//${window.location.host}/api/v0`, t = h.create({
3405
3405
  baseURL: l || a,
3406
3406
  withCredentials: !0,
3407
3407
  timeout: 6e5
3408
3408
  });
3409
- n.interceptors.request.use(async (t) => {
3409
+ t.interceptors.request.use(async (n) => {
3410
3410
  const o = await r?.();
3411
- return t.headers.Authorization = o || "", t;
3411
+ return n.headers.Authorization = o || "", n;
3412
3412
  });
3413
- const e = new ue({ basePath: a });
3413
+ const e = new ge({ basePath: a });
3414
3414
  return {
3415
- models: new oe(e, a, n),
3416
- publisher: new me(e, a, n),
3417
- environments: new ae(e, a, n),
3418
- packages: new ie(e, a, n),
3419
- notebooks: new ce(e, a, n),
3420
- connections: new K(e, a, n),
3421
- databases: new Z(e, a, n),
3422
- watchMode: new he(e, a, n)
3415
+ models: new ce(e, a, t),
3416
+ publisher: new he(e, a, t),
3417
+ environments: new ae(e, a, t),
3418
+ packages: new me(e, a, t),
3419
+ notebooks: new ie(e, a, t),
3420
+ connections: new K(e, a, t),
3421
+ databases: new Z(e, a, t),
3422
+ materializations: new oe(
3423
+ e,
3424
+ a,
3425
+ t
3426
+ ),
3427
+ manifests: new ne(e, a, t),
3428
+ watchMode: new Pe(e, a, t)
3423
3429
  };
3424
3430
  }, Ye = ({
3425
3431
  children: l,
3426
3432
  getAccessToken: r,
3427
3433
  baseURL: a,
3428
- mutable: n
3434
+ mutable: t
3429
3435
  }) => {
3430
3436
  const e = W(
3431
- () => ge(a, r),
3437
+ () => ve(a, r),
3432
3438
  [a, r]
3433
- ), t = a || `${window.location.protocol}//${window.location.host}/api/v0`, [o, s] = Q(n), [c, i] = Q(!0);
3439
+ ), n = a || `${window.location.protocol}//${window.location.host}/api/v0`, [o, s] = Q(t), [c, i] = Q(!0);
3434
3440
  G(() => {
3435
3441
  let d = !0;
3436
3442
  return (async () => {
@@ -3439,23 +3445,23 @@ const j = D(void 0), ge = (l, r) => {
3439
3445
  if (d) {
3440
3446
  const C = y.data?.frozenConfig;
3441
3447
  let A;
3442
- C ? A = !1 : n === void 0 ? A = !0 : A = n, s(A), i(!1);
3448
+ C ? A = !1 : t === void 0 ? A = !0 : A = t, s(A), i(!1);
3443
3449
  }
3444
3450
  } catch (y) {
3445
- console.error("Failed to fetch publisher status:", y), d && (s(n), i(!1));
3451
+ console.error("Failed to fetch publisher status:", y), d && (s(t), i(!1));
3446
3452
  }
3447
3453
  })(), () => {
3448
3454
  d = !1;
3449
3455
  };
3450
- }, [e, n]);
3456
+ }, [e, t]);
3451
3457
  const p = {
3452
- server: t,
3458
+ server: n,
3453
3459
  getAccessToken: r,
3454
3460
  apiClients: e,
3455
3461
  mutable: o,
3456
3462
  isLoadingStatus: c
3457
3463
  };
3458
- return /* @__PURE__ */ $(H, { client: Pe, children: /* @__PURE__ */ $(j.Provider, { value: p, children: l }) });
3464
+ return /* @__PURE__ */ $(H, { client: Ve, children: /* @__PURE__ */ $(j.Provider, { value: p, children: l }) });
3459
3465
  }, Xe = () => {
3460
3466
  const l = f(j);
3461
3467
  if (l === void 0)
@@ -3464,67 +3470,67 @@ const j = D(void 0), ge = (l, r) => {
3464
3470
  };
3465
3471
  export {
3466
3472
  _e as $,
3467
- Se as A,
3468
- ze as B,
3469
- ye as C,
3470
- xe as D,
3473
+ ye as A,
3474
+ ne as B,
3475
+ Ce as C,
3476
+ Re as D,
3471
3477
  ee as E,
3472
- Ne as F,
3473
- je as G,
3474
- ne as H,
3478
+ Ue as F,
3479
+ Le as G,
3480
+ re as H,
3475
3481
  N as I,
3476
- Le as J,
3477
- He as K,
3478
- Re as L,
3479
- Ue as M,
3480
- Te as N,
3482
+ He as J,
3483
+ oe as K,
3484
+ Te as L,
3485
+ we as M,
3486
+ Me as N,
3481
3487
  fe as O,
3482
- re as P,
3488
+ se as P,
3483
3489
  U as Q,
3484
3490
  De as R,
3485
3491
  Ye as S,
3486
- oe as T,
3487
- se as U,
3492
+ ce as T,
3493
+ le as U,
3488
3494
  w as V,
3489
3495
  We as W,
3490
- ce as X,
3496
+ ie as X,
3491
3497
  Ge as Y,
3492
- le as Z,
3498
+ pe as Z,
3493
3499
  R as _,
3494
- Ie as a,
3495
- ie as a0,
3496
- pe as a1,
3500
+ ke as a,
3501
+ me as a0,
3502
+ de as a1,
3497
3503
  z as a2,
3498
3504
  Je as a3,
3499
- me as a4,
3500
- de as a5,
3505
+ he as a4,
3506
+ ue as a5,
3501
3507
  M as a6,
3502
3508
  Ke as a7,
3503
- he as a8,
3504
- ue as a9,
3505
- ke as b,
3506
- Ce as c,
3507
- Ae as d,
3508
- we as e,
3509
- Me as f,
3510
- Pe as g,
3509
+ Pe as a8,
3510
+ ge as a9,
3511
+ Ae as b,
3512
+ xe as c,
3513
+ Ne as d,
3514
+ Ee as e,
3515
+ qe as f,
3516
+ Ve as g,
3511
3517
  J as h,
3512
3518
  S as i,
3513
- Ee as j,
3519
+ $e as j,
3514
3520
  K as k,
3515
3521
  Y as l,
3516
3522
  B as m,
3517
- qe as n,
3518
- $e as o,
3523
+ Qe as n,
3524
+ Be as o,
3519
3525
  X as p,
3520
3526
  F as q,
3521
- Qe as r,
3527
+ Fe as r,
3522
3528
  Z as s,
3523
3529
  x as t,
3524
3530
  Xe as u,
3525
- Be as v,
3531
+ ze as v,
3526
3532
  ae as w,
3527
3533
  te as x,
3528
3534
  q as y,
3529
- Fe as z
3535
+ je as z
3530
3536
  };