@malloy-publisher/sdk 0.0.197-dev → 0.0.197

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 (46) hide show
  1. package/dist/ServerProvider-Ccgil3vZ.cjs.js +1 -0
  2. package/dist/{ServerProvider-DDScRRDc.es.js → ServerProvider-DWYkmMzj.es.js} +156 -155
  3. package/dist/client/api.d.ts +27 -1
  4. package/dist/client/index.cjs.js +1 -1
  5. package/dist/client/index.es.js +1 -1
  6. package/dist/components/Package/ContentTypeIcon.d.ts +16 -0
  7. package/dist/components/Package/index.d.ts +0 -1
  8. package/dist/components/styles.d.ts +16 -0
  9. package/dist/{core-w79IMXAG.es.js → core-B8L9xCYT.es.js} +1 -1
  10. package/dist/{core-7-3Jcsb0.cjs.js → core-CPG-Zd7c.cjs.js} +1 -1
  11. package/dist/index-Bl7idP4k.cjs.js +228 -0
  12. package/dist/{index-CN0_kZSF.es.js → index-aVlRk3Ck.es.js} +17654 -20603
  13. package/dist/index.cjs.js +1 -1
  14. package/dist/index.es.js +33 -34
  15. package/package.json +5 -5
  16. package/src/components/Environment/AddPackageDialog.tsx +116 -79
  17. package/src/components/Environment/DeletePackageDialog.tsx +3 -2
  18. package/src/components/Environment/Environment.tsx +44 -23
  19. package/src/components/Environment/Packages.tsx +164 -156
  20. package/src/components/Home/DeleteEnvironmentDialog.tsx +3 -2
  21. package/src/components/Home/Home.tsx +272 -389
  22. package/src/components/Model/Model.tsx +2 -2
  23. package/src/components/Model/ModelCell.tsx +1 -1
  24. package/src/components/Model/ModelExplorerDialog.tsx +1 -1
  25. package/src/components/Model/SourcesExplorer.tsx +4 -4
  26. package/src/components/Notebook/Notebook.tsx +4 -9
  27. package/src/components/Notebook/NotebookCell.tsx +10 -7
  28. package/src/components/Package/ContentTypeIcon.tsx +79 -0
  29. package/src/components/Package/Package.tsx +387 -55
  30. package/src/components/Package/index.ts +0 -1
  31. package/src/components/QueryResult/QueryResult.tsx +1 -1
  32. package/src/components/RenderedResult/RenderedResult.tsx +9 -8
  33. package/src/components/ResultsDialog.tsx +1 -1
  34. package/src/components/styles.ts +28 -15
  35. package/dist/ServerProvider-IhQ4aYBm.cjs.js +0 -1
  36. package/dist/components/Package/Config.d.ts +0 -5
  37. package/dist/components/Package/Databases.d.ts +0 -5
  38. package/dist/components/Package/FileTreeView.d.ts +0 -9
  39. package/dist/components/Package/Models.d.ts +0 -6
  40. package/dist/components/Package/Notebooks.d.ts +0 -6
  41. package/dist/index-Xo_ADux9.cjs.js +0 -233
  42. package/src/components/Package/Config.tsx +0 -97
  43. package/src/components/Package/Databases.tsx +0 -228
  44. package/src/components/Package/FileTreeView.tsx +0 -241
  45. package/src/components/Package/Models.tsx +0 -68
  46. package/src/components/Package/Notebooks.tsx +0 -77
@@ -14,7 +14,7 @@ class _ extends Error {
14
14
  super(a), this.field = r, this.name = "RequiredError";
15
15
  }
16
16
  }
17
- const P = {}, V = "https://example.com", d = function(l, r, a) {
17
+ const P = {}, V = "https://example.com", m = function(l, r, a) {
18
18
  if (a == null)
19
19
  throw new _(r, `Required parameter ${r} was null or undefined when calling ${l}.`);
20
20
  };
@@ -95,6 +95,7 @@ const v = function(l, ...r) {
95
95
  }, Me = {
96
96
  Initializing: "initializing",
97
97
  Serving: "serving",
98
+ Degraded: "degraded",
98
99
  Draining: "draining"
99
100
  }, J = function(l) {
100
101
  return {
@@ -108,14 +109,14 @@ const v = function(l, ...r) {
108
109
  * @throws {RequiredError}
109
110
  */
110
111
  createConnection: async (r, a, n, e = {}) => {
111
- d("createConnection", "environmentName", r), d("createConnection", "connectionName", a), d("createConnection", "connection", n);
112
+ m("createConnection", "environmentName", r), m("createConnection", "connectionName", a), m("createConnection", "connection", n);
112
113
  const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
113
114
  let s;
114
115
  l && (s = l.baseOptions);
115
116
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
116
117
  i["Content-Type"] = "application/json", v(o, p);
117
- let m = s && s.headers ? s.headers : {};
118
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
118
+ let d = s && s.headers ? s.headers : {};
119
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
119
120
  url: O(o),
120
121
  options: c
121
122
  };
@@ -129,7 +130,7 @@ const v = function(l, ...r) {
129
130
  * @throws {RequiredError}
130
131
  */
131
132
  deleteConnection: async (r, a, n = {}) => {
132
- d("deleteConnection", "environmentName", r), d("deleteConnection", "connectionName", a);
133
+ m("deleteConnection", "environmentName", r), m("deleteConnection", "connectionName", a);
133
134
  const e = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), t = new URL(e, V);
134
135
  let o;
135
136
  l && (o = l.baseOptions);
@@ -150,7 +151,7 @@ const v = function(l, ...r) {
150
151
  * @throws {RequiredError}
151
152
  */
152
153
  getConnection: async (r, a, n = {}) => {
153
- d("getConnection", "environmentName", r), d("getConnection", "connectionName", a);
154
+ m("getConnection", "environmentName", r), m("getConnection", "connectionName", a);
154
155
  const e = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), t = new URL(e, V);
155
156
  let o;
156
157
  l && (o = l.baseOptions);
@@ -174,12 +175,12 @@ const v = function(l, ...r) {
174
175
  * @throws {RequiredError}
175
176
  */
176
177
  getQuerydata: async (r, a, n, e, t = {}) => {
177
- d("getQuerydata", "environmentName", r), d("getQuerydata", "connectionName", a);
178
+ m("getQuerydata", "environmentName", r), m("getQuerydata", "connectionName", a);
178
179
  const o = "/environments/{environmentName}/connections/{connectionName}/queryData".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), s = new URL(o, V);
179
180
  let c;
180
181
  l && (c = l.baseOptions);
181
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
182
- n !== void 0 && (m.sqlStatement = n), e !== void 0 && (m.options = e), v(s, m);
182
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
183
+ n !== void 0 && (d.sqlStatement = n), e !== void 0 && (d.options = e), v(s, d);
183
184
  let u = c && c.headers ? c.headers : {};
184
185
  return i.headers = { ...p, ...u, ...t.headers }, {
185
186
  url: O(s),
@@ -199,14 +200,14 @@ const v = function(l, ...r) {
199
200
  * @throws {RequiredError}
200
201
  */
201
202
  getQuerydataInPackage: async (r, a, n, e, t, o = {}) => {
202
- d("getQuerydataInPackage", "environmentName", r), d("getQuerydataInPackage", "packageName", a), d("getQuerydataInPackage", "connectionName", n);
203
+ m("getQuerydataInPackage", "environmentName", r), m("getQuerydataInPackage", "packageName", a), m("getQuerydataInPackage", "connectionName", n);
203
204
  const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/queryData".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), c = new URL(s, V);
204
205
  let i;
205
206
  l && (i = l.baseOptions);
206
- const p = { method: "GET", ...i, ...o }, m = {}, u = {};
207
+ const p = { method: "GET", ...i, ...o }, d = {}, u = {};
207
208
  e !== void 0 && (u.sqlStatement = e), t !== void 0 && (u.options = t), v(c, u);
208
209
  let y = i && i.headers ? i.headers : {};
209
- return p.headers = { ...m, ...y, ...o.headers }, {
210
+ return p.headers = { ...d, ...y, ...o.headers }, {
210
211
  url: O(c),
211
212
  options: p
212
213
  };
@@ -222,14 +223,14 @@ const v = function(l, ...r) {
222
223
  * @throws {RequiredError}
223
224
  */
224
225
  getSqlsource: async (r, a, n, e = {}) => {
225
- d("getSqlsource", "environmentName", r), d("getSqlsource", "connectionName", a);
226
+ m("getSqlsource", "environmentName", r), m("getSqlsource", "connectionName", a);
226
227
  const t = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
227
228
  let s;
228
229
  l && (s = l.baseOptions);
229
230
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
230
231
  n !== void 0 && (p.sqlStatement = n), v(o, p);
231
- let m = s && s.headers ? s.headers : {};
232
- return c.headers = { ...i, ...m, ...e.headers }, {
232
+ let d = s && s.headers ? s.headers : {};
233
+ return c.headers = { ...i, ...d, ...e.headers }, {
233
234
  url: O(o),
234
235
  options: c
235
236
  };
@@ -246,12 +247,12 @@ const v = function(l, ...r) {
246
247
  * @throws {RequiredError}
247
248
  */
248
249
  getSqlsourceInPackage: async (r, a, n, e, t = {}) => {
249
- d("getSqlsourceInPackage", "environmentName", r), d("getSqlsourceInPackage", "packageName", a), d("getSqlsourceInPackage", "connectionName", n);
250
+ m("getSqlsourceInPackage", "environmentName", r), m("getSqlsourceInPackage", "packageName", a), m("getSqlsourceInPackage", "connectionName", n);
250
251
  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);
251
252
  let c;
252
253
  l && (c = l.baseOptions);
253
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
254
- e !== void 0 && (m.sqlStatement = e), v(s, m);
254
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
255
+ e !== void 0 && (d.sqlStatement = e), v(s, d);
255
256
  let u = c && c.headers ? c.headers : {};
256
257
  return i.headers = { ...p, ...u, ...t.headers }, {
257
258
  url: O(s),
@@ -269,7 +270,7 @@ const v = function(l, ...r) {
269
270
  * @throws {RequiredError}
270
271
  */
271
272
  getTable: async (r, a, n, e, t = {}) => {
272
- d("getTable", "environmentName", r), d("getTable", "connectionName", a), d("getTable", "schemaName", n), d("getTable", "tablePath", e);
273
+ m("getTable", "environmentName", r), m("getTable", "connectionName", a), m("getTable", "schemaName", n), m("getTable", "tablePath", e);
273
274
  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);
274
275
  let c;
275
276
  l && (c = l.baseOptions);
@@ -293,14 +294,14 @@ const v = function(l, ...r) {
293
294
  * @throws {RequiredError}
294
295
  */
295
296
  getTableInPackage: async (r, a, n, e, t, o = {}) => {
296
- d("getTableInPackage", "environmentName", r), d("getTableInPackage", "packageName", a), d("getTableInPackage", "connectionName", n), d("getTableInPackage", "schemaName", e), d("getTableInPackage", "tablePath", t);
297
+ m("getTableInPackage", "environmentName", r), m("getTableInPackage", "packageName", a), m("getTableInPackage", "connectionName", n), m("getTableInPackage", "schemaName", e), m("getTableInPackage", "tablePath", t);
297
298
  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);
298
299
  let i;
299
300
  l && (i = l.baseOptions);
300
- const p = { method: "GET", ...i, ...o }, m = {};
301
+ const p = { method: "GET", ...i, ...o }, d = {};
301
302
  v(c, {});
302
303
  let y = i && i.headers ? i.headers : {};
303
- return p.headers = { ...m, ...y, ...o.headers }, {
304
+ return p.headers = { ...d, ...y, ...o.headers }, {
304
305
  url: O(c),
305
306
  options: p
306
307
  };
@@ -316,14 +317,14 @@ const v = function(l, ...r) {
316
317
  * @throws {RequiredError}
317
318
  */
318
319
  getTemporarytable: async (r, a, n, e = {}) => {
319
- d("getTemporarytable", "environmentName", r), d("getTemporarytable", "connectionName", a);
320
+ m("getTemporarytable", "environmentName", r), m("getTemporarytable", "connectionName", a);
320
321
  const t = "/environments/{environmentName}/connections/{connectionName}/temporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
321
322
  let s;
322
323
  l && (s = l.baseOptions);
323
324
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
324
325
  n !== void 0 && (p.sqlStatement = n), v(o, p);
325
- let m = s && s.headers ? s.headers : {};
326
- return c.headers = { ...i, ...m, ...e.headers }, {
326
+ let d = s && s.headers ? s.headers : {};
327
+ return c.headers = { ...i, ...d, ...e.headers }, {
327
328
  url: O(o),
328
329
  options: c
329
330
  };
@@ -340,12 +341,12 @@ const v = function(l, ...r) {
340
341
  * @throws {RequiredError}
341
342
  */
342
343
  getTemporarytableInPackage: async (r, a, n, e, t = {}) => {
343
- d("getTemporarytableInPackage", "environmentName", r), d("getTemporarytableInPackage", "packageName", a), d("getTemporarytableInPackage", "connectionName", n);
344
+ m("getTemporarytableInPackage", "environmentName", r), m("getTemporarytableInPackage", "packageName", a), m("getTemporarytableInPackage", "connectionName", n);
344
345
  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);
345
346
  let c;
346
347
  l && (c = l.baseOptions);
347
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
348
- e !== void 0 && (m.sqlStatement = e), v(s, m);
348
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
349
+ e !== void 0 && (d.sqlStatement = e), v(s, d);
349
350
  let u = c && c.headers ? c.headers : {};
350
351
  return i.headers = { ...p, ...u, ...t.headers }, {
351
352
  url: O(s),
@@ -360,7 +361,7 @@ const v = function(l, ...r) {
360
361
  * @throws {RequiredError}
361
362
  */
362
363
  listConnections: async (r, a = {}) => {
363
- d("listConnections", "environmentName", r);
364
+ m("listConnections", "environmentName", r);
364
365
  const n = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(n, V);
365
366
  let t;
366
367
  l && (t = l.baseOptions);
@@ -381,7 +382,7 @@ const v = function(l, ...r) {
381
382
  * @throws {RequiredError}
382
383
  */
383
384
  listSchemas: async (r, a, n = {}) => {
384
- d("listSchemas", "environmentName", r), d("listSchemas", "connectionName", a);
385
+ m("listSchemas", "environmentName", r), m("listSchemas", "connectionName", a);
385
386
  const e = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), t = new URL(e, V);
386
387
  let o;
387
388
  l && (o = l.baseOptions);
@@ -403,14 +404,14 @@ const v = function(l, ...r) {
403
404
  * @throws {RequiredError}
404
405
  */
405
406
  listSchemasInPackage: async (r, a, n, e = {}) => {
406
- d("listSchemasInPackage", "environmentName", r), d("listSchemasInPackage", "packageName", a), d("listSchemasInPackage", "connectionName", n);
407
+ m("listSchemasInPackage", "environmentName", r), m("listSchemasInPackage", "packageName", a), m("listSchemasInPackage", "connectionName", n);
407
408
  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);
408
409
  let s;
409
410
  l && (s = l.baseOptions);
410
411
  const c = { method: "GET", ...s, ...e }, i = {};
411
412
  v(o, {});
412
- let m = s && s.headers ? s.headers : {};
413
- return c.headers = { ...i, ...m, ...e.headers }, {
413
+ let d = s && s.headers ? s.headers : {};
414
+ return c.headers = { ...i, ...d, ...e.headers }, {
414
415
  url: O(o),
415
416
  options: c
416
417
  };
@@ -426,12 +427,12 @@ const v = function(l, ...r) {
426
427
  * @throws {RequiredError}
427
428
  */
428
429
  listTables: async (r, a, n, e, t = {}) => {
429
- d("listTables", "environmentName", r), d("listTables", "connectionName", a), d("listTables", "schemaName", n);
430
+ m("listTables", "environmentName", r), m("listTables", "connectionName", a), m("listTables", "schemaName", n);
430
431
  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);
431
432
  let c;
432
433
  l && (c = l.baseOptions);
433
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
434
- e && (m.tableNames = e), v(s, m);
434
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
435
+ e && (d.tableNames = e), v(s, d);
435
436
  let u = c && c.headers ? c.headers : {};
436
437
  return i.headers = { ...p, ...u, ...t.headers }, {
437
438
  url: O(s),
@@ -450,14 +451,14 @@ const v = function(l, ...r) {
450
451
  * @throws {RequiredError}
451
452
  */
452
453
  listTablesInPackage: async (r, a, n, e, t, o = {}) => {
453
- d("listTablesInPackage", "environmentName", r), d("listTablesInPackage", "packageName", a), d("listTablesInPackage", "connectionName", n), d("listTablesInPackage", "schemaName", e);
454
+ m("listTablesInPackage", "environmentName", r), m("listTablesInPackage", "packageName", a), m("listTablesInPackage", "connectionName", n), m("listTablesInPackage", "schemaName", e);
454
455
  const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))).replace("{schemaName}", encodeURIComponent(String(e))), c = new URL(s, V);
455
456
  let i;
456
457
  l && (i = l.baseOptions);
457
- const p = { method: "GET", ...i, ...o }, m = {}, u = {};
458
+ const p = { method: "GET", ...i, ...o }, d = {}, u = {};
458
459
  t && (u.tableNames = t), v(c, u);
459
460
  let y = i && i.headers ? i.headers : {};
460
- return p.headers = { ...m, ...y, ...o.headers }, {
461
+ return p.headers = { ...d, ...y, ...o.headers }, {
461
462
  url: O(c),
462
463
  options: p
463
464
  };
@@ -473,12 +474,12 @@ const v = function(l, ...r) {
473
474
  * @throws {RequiredError}
474
475
  */
475
476
  postQuerydata: async (r, a, n, e, t = {}) => {
476
- d("postQuerydata", "environmentName", r), d("postQuerydata", "connectionName", a), d("postQuerydata", "postQuerydataRequest", n);
477
+ m("postQuerydata", "environmentName", r), m("postQuerydata", "connectionName", a), m("postQuerydata", "postQuerydataRequest", n);
477
478
  const o = "/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), s = new URL(o, V);
478
479
  let c;
479
480
  l && (c = l.baseOptions);
480
- const i = { method: "POST", ...c, ...t }, p = {}, m = {};
481
- e !== void 0 && (m.options = e), p["Content-Type"] = "application/json", v(s, m);
481
+ const i = { method: "POST", ...c, ...t }, p = {}, d = {};
482
+ e !== void 0 && (d.options = e), p["Content-Type"] = "application/json", v(s, d);
482
483
  let u = c && c.headers ? c.headers : {};
483
484
  return i.headers = { ...p, ...u, ...t.headers }, i.data = I(n, i, l), {
484
485
  url: O(s),
@@ -497,14 +498,14 @@ const v = function(l, ...r) {
497
498
  * @throws {RequiredError}
498
499
  */
499
500
  postQuerydataInPackage: async (r, a, n, e, t, o = {}) => {
500
- d("postQuerydataInPackage", "environmentName", r), d("postQuerydataInPackage", "packageName", a), d("postQuerydataInPackage", "connectionName", n), d("postQuerydataInPackage", "postQuerydataRequest", e);
501
+ m("postQuerydataInPackage", "environmentName", r), m("postQuerydataInPackage", "packageName", a), m("postQuerydataInPackage", "connectionName", n), m("postQuerydataInPackage", "postQuerydataRequest", e);
501
502
  const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(n))), c = new URL(s, V);
502
503
  let i;
503
504
  l && (i = l.baseOptions);
504
- const p = { method: "POST", ...i, ...o }, m = {}, u = {};
505
- t !== void 0 && (u.options = t), m["Content-Type"] = "application/json", v(c, u);
505
+ const p = { method: "POST", ...i, ...o }, d = {}, u = {};
506
+ t !== void 0 && (u.options = t), d["Content-Type"] = "application/json", v(c, u);
506
507
  let y = i && i.headers ? i.headers : {};
507
- return p.headers = { ...m, ...y, ...o.headers }, p.data = I(e, p, l), {
508
+ return p.headers = { ...d, ...y, ...o.headers }, p.data = I(e, p, l), {
508
509
  url: O(c),
509
510
  options: p
510
511
  };
@@ -519,14 +520,14 @@ const v = function(l, ...r) {
519
520
  * @throws {RequiredError}
520
521
  */
521
522
  postSqlsource: async (r, a, n, e = {}) => {
522
- d("postSqlsource", "environmentName", r), d("postSqlsource", "connectionName", a), d("postSqlsource", "postSqlsourceRequest", n);
523
+ m("postSqlsource", "environmentName", r), m("postSqlsource", "connectionName", a), m("postSqlsource", "postSqlsourceRequest", n);
523
524
  const t = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
524
525
  let s;
525
526
  l && (s = l.baseOptions);
526
527
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
527
528
  i["Content-Type"] = "application/json", v(o, p);
528
- let m = s && s.headers ? s.headers : {};
529
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
529
+ let d = s && s.headers ? s.headers : {};
530
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
530
531
  url: O(o),
531
532
  options: c
532
533
  };
@@ -542,12 +543,12 @@ const v = function(l, ...r) {
542
543
  * @throws {RequiredError}
543
544
  */
544
545
  postSqlsourceInPackage: async (r, a, n, e, t = {}) => {
545
- d("postSqlsourceInPackage", "environmentName", r), d("postSqlsourceInPackage", "packageName", a), d("postSqlsourceInPackage", "connectionName", n), d("postSqlsourceInPackage", "postSqlsourceRequest", e);
546
+ m("postSqlsourceInPackage", "environmentName", r), m("postSqlsourceInPackage", "packageName", a), m("postSqlsourceInPackage", "connectionName", n), m("postSqlsourceInPackage", "postSqlsourceRequest", e);
546
547
  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);
547
548
  let c;
548
549
  l && (c = l.baseOptions);
549
- const i = { method: "POST", ...c, ...t }, p = {}, m = {};
550
- p["Content-Type"] = "application/json", v(s, m);
550
+ const i = { method: "POST", ...c, ...t }, p = {}, d = {};
551
+ p["Content-Type"] = "application/json", v(s, d);
551
552
  let u = c && c.headers ? c.headers : {};
552
553
  return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
553
554
  url: O(s),
@@ -564,14 +565,14 @@ const v = function(l, ...r) {
564
565
  * @throws {RequiredError}
565
566
  */
566
567
  postTemporarytable: async (r, a, n, e = {}) => {
567
- d("postTemporarytable", "environmentName", r), d("postTemporarytable", "connectionName", a), d("postTemporarytable", "postSqlsourceRequest", n);
568
+ m("postTemporarytable", "environmentName", r), m("postTemporarytable", "connectionName", a), m("postTemporarytable", "postSqlsourceRequest", n);
568
569
  const t = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
569
570
  let s;
570
571
  l && (s = l.baseOptions);
571
572
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
572
573
  i["Content-Type"] = "application/json", v(o, p);
573
- let m = s && s.headers ? s.headers : {};
574
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
574
+ let d = s && s.headers ? s.headers : {};
575
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
575
576
  url: O(o),
576
577
  options: c
577
578
  };
@@ -587,12 +588,12 @@ const v = function(l, ...r) {
587
588
  * @throws {RequiredError}
588
589
  */
589
590
  postTemporarytableInPackage: async (r, a, n, e, t = {}) => {
590
- d("postTemporarytableInPackage", "environmentName", r), d("postTemporarytableInPackage", "packageName", a), d("postTemporarytableInPackage", "connectionName", n), d("postTemporarytableInPackage", "postSqlsourceRequest", e);
591
+ m("postTemporarytableInPackage", "environmentName", r), m("postTemporarytableInPackage", "packageName", a), m("postTemporarytableInPackage", "connectionName", n), m("postTemporarytableInPackage", "postSqlsourceRequest", e);
591
592
  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);
592
593
  let c;
593
594
  l && (c = l.baseOptions);
594
- const i = { method: "POST", ...c, ...t }, p = {}, m = {};
595
- p["Content-Type"] = "application/json", v(s, m);
595
+ const i = { method: "POST", ...c, ...t }, p = {}, d = {};
596
+ p["Content-Type"] = "application/json", v(s, d);
596
597
  let u = c && c.headers ? c.headers : {};
597
598
  return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
598
599
  url: O(s),
@@ -609,14 +610,14 @@ const v = function(l, ...r) {
609
610
  * @throws {RequiredError}
610
611
  */
611
612
  updateConnection: async (r, a, n, e = {}) => {
612
- d("updateConnection", "environmentName", r), d("updateConnection", "connectionName", a), d("updateConnection", "updateConnectionRequest", n);
613
+ m("updateConnection", "environmentName", r), m("updateConnection", "connectionName", a), m("updateConnection", "updateConnectionRequest", n);
613
614
  const t = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{connectionName}", encodeURIComponent(String(a))), o = new URL(t, V);
614
615
  let s;
615
616
  l && (s = l.baseOptions);
616
617
  const c = { method: "PATCH", ...s, ...e }, i = {}, p = {};
617
618
  i["Content-Type"] = "application/json", v(o, p);
618
- let m = s && s.headers ? s.headers : {};
619
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
619
+ let d = s && s.headers ? s.headers : {};
620
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
620
621
  url: O(o),
621
622
  options: c
622
623
  };
@@ -675,7 +676,7 @@ const v = function(l, ...r) {
675
676
  */
676
677
  async getQuerydata(a, n, e, t, o) {
677
678
  const s = await r.getQuerydata(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getQuerydata"]?.[c]?.url;
678
- return (p, m) => b(s, h, g, l)(p, i || m);
679
+ return (p, d) => b(s, h, g, l)(p, i || d);
679
680
  },
680
681
  /**
681
682
  * **DEPRECATED**: Use the POST version instead. Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results.
@@ -691,7 +692,7 @@ const v = function(l, ...r) {
691
692
  */
692
693
  async getQuerydataInPackage(a, n, e, t, o, s) {
693
694
  const c = await r.getQuerydataInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.getQuerydataInPackage"]?.[i]?.url;
694
- return (m, u) => b(c, h, g, l)(m, p || u);
695
+ return (d, u) => b(c, h, g, l)(d, p || u);
695
696
  },
696
697
  /**
697
698
  * **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.
@@ -720,7 +721,7 @@ const v = function(l, ...r) {
720
721
  */
721
722
  async getSqlsourceInPackage(a, n, e, t, o) {
722
723
  const s = await r.getSqlsourceInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getSqlsourceInPackage"]?.[c]?.url;
723
- return (p, m) => b(s, h, g, l)(p, i || m);
724
+ return (p, d) => b(s, h, g, l)(p, i || d);
724
725
  },
725
726
  /**
726
727
  * Retrieves a table from the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. The tablePath is the full path to the table, including the schema name.
@@ -734,7 +735,7 @@ const v = function(l, ...r) {
734
735
  */
735
736
  async getTable(a, n, e, t, o) {
736
737
  const s = await r.getTable(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[c]?.url;
737
- return (p, m) => b(s, h, g, l)(p, i || m);
738
+ return (p, d) => b(s, h, g, l)(p, i || d);
738
739
  },
739
740
  /**
740
741
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -749,7 +750,7 @@ const v = function(l, ...r) {
749
750
  */
750
751
  async getTableInPackage(a, n, e, t, o, s) {
751
752
  const c = await r.getTableInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.getTableInPackage"]?.[i]?.url;
752
- return (m, u) => b(c, h, g, l)(m, p || u);
753
+ return (d, u) => b(c, h, g, l)(d, p || u);
753
754
  },
754
755
  /**
755
756
  * **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.
@@ -778,7 +779,7 @@ const v = function(l, ...r) {
778
779
  */
779
780
  async getTemporarytableInPackage(a, n, e, t, o) {
780
781
  const s = await r.getTemporarytableInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.getTemporarytableInPackage"]?.[c]?.url;
781
- return (p, m) => b(s, h, g, l)(p, i || m);
782
+ return (p, d) => b(s, h, g, l)(p, i || d);
782
783
  },
783
784
  /**
784
785
  * 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.
@@ -828,7 +829,7 @@ const v = function(l, ...r) {
828
829
  */
829
830
  async listTables(a, n, e, t, o) {
830
831
  const s = await r.listTables(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.listTables"]?.[c]?.url;
831
- return (p, m) => b(s, h, g, l)(p, i || m);
832
+ return (p, d) => b(s, h, g, l)(p, i || d);
832
833
  },
833
834
  /**
834
835
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -843,7 +844,7 @@ const v = function(l, ...r) {
843
844
  */
844
845
  async listTablesInPackage(a, n, e, t, o, s) {
845
846
  const c = await r.listTablesInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
846
- return (m, u) => b(c, h, g, l)(m, p || u);
847
+ return (d, u) => b(c, h, g, l)(d, p || u);
847
848
  },
848
849
  /**
849
850
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information.
@@ -857,7 +858,7 @@ const v = function(l, ...r) {
857
858
  */
858
859
  async postQuerydata(a, n, e, t, o) {
859
860
  const s = await r.postQuerydata(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydata"]?.[c]?.url;
860
- return (p, m) => b(s, h, g, l)(p, i || m);
861
+ return (p, d) => b(s, h, g, l)(p, i || d);
861
862
  },
862
863
  /**
863
864
  * Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results.
@@ -872,7 +873,7 @@ const v = function(l, ...r) {
872
873
  */
873
874
  async postQuerydataInPackage(a, n, e, t, o, s) {
874
875
  const c = await r.postQuerydataInPackage(a, n, e, t, o, s), i = l?.serverIndex ?? 0, p = P["ConnectionsApi.postQuerydataInPackage"]?.[i]?.url;
875
- return (m, u) => b(c, h, g, l)(m, p || u);
876
+ return (d, u) => b(c, h, g, l)(d, p || u);
876
877
  },
877
878
  /**
878
879
  * 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.
@@ -899,7 +900,7 @@ const v = function(l, ...r) {
899
900
  */
900
901
  async postSqlsourceInPackage(a, n, e, t, o) {
901
902
  const s = await r.postSqlsourceInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;
902
- return (p, m) => b(s, h, g, l)(p, i || m);
903
+ return (p, d) => b(s, h, g, l)(p, i || d);
903
904
  },
904
905
  /**
905
906
  * 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.
@@ -926,7 +927,7 @@ const v = function(l, ...r) {
926
927
  */
927
928
  async postTemporarytableInPackage(a, n, e, t, o) {
928
929
  const s = await r.postTemporarytableInPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;
929
- return (p, m) => b(s, h, g, l)(p, i || m);
930
+ return (p, d) => b(s, h, g, l)(p, i || d);
930
931
  },
931
932
  /**
932
933
  * Updates the configuration of an existing database connection.
@@ -1568,7 +1569,7 @@ const Y = function(l) {
1568
1569
  * @throws {RequiredError}
1569
1570
  */
1570
1571
  testConnectionConfiguration: async (r, a = {}) => {
1571
- d("testConnectionConfiguration", "connection", r);
1572
+ m("testConnectionConfiguration", "connection", r);
1572
1573
  const n = "/connections/test", e = new URL(n, V);
1573
1574
  let t;
1574
1575
  l && (t = l.baseOptions);
@@ -1636,14 +1637,14 @@ const X = function(l) {
1636
1637
  * @throws {RequiredError}
1637
1638
  */
1638
1639
  listDatabases: async (r, a, n, e = {}) => {
1639
- d("listDatabases", "environmentName", r), d("listDatabases", "packageName", a);
1640
+ m("listDatabases", "environmentName", r), m("listDatabases", "packageName", a);
1640
1641
  const t = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
1641
1642
  let s;
1642
1643
  l && (s = l.baseOptions);
1643
1644
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
1644
1645
  n !== void 0 && (p.versionId = n), v(o, p);
1645
- let m = s && s.headers ? s.headers : {};
1646
- return c.headers = { ...i, ...m, ...e.headers }, {
1646
+ let d = s && s.headers ? s.headers : {};
1647
+ return c.headers = { ...i, ...d, ...e.headers }, {
1647
1648
  url: O(o),
1648
1649
  options: c
1649
1650
  };
@@ -1708,7 +1709,7 @@ const ee = function(l) {
1708
1709
  * @throws {RequiredError}
1709
1710
  */
1710
1711
  createEnvironment: async (r, a = {}) => {
1711
- d("createEnvironment", "environment", r);
1712
+ m("createEnvironment", "environment", r);
1712
1713
  const n = "/environments", e = new URL(n, V);
1713
1714
  let t;
1714
1715
  l && (t = l.baseOptions);
@@ -1728,7 +1729,7 @@ const ee = function(l) {
1728
1729
  * @throws {RequiredError}
1729
1730
  */
1730
1731
  deleteEnvironment: async (r, a = {}) => {
1731
- d("deleteEnvironment", "environmentName", r);
1732
+ m("deleteEnvironment", "environmentName", r);
1732
1733
  const n = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(n, V);
1733
1734
  let t;
1734
1735
  l && (t = l.baseOptions);
@@ -1749,7 +1750,7 @@ const ee = function(l) {
1749
1750
  * @throws {RequiredError}
1750
1751
  */
1751
1752
  getEnvironment: async (r, a, n = {}) => {
1752
- d("getEnvironment", "environmentName", r);
1753
+ m("getEnvironment", "environmentName", r);
1753
1754
  const e = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), t = new URL(e, V);
1754
1755
  let o;
1755
1756
  l && (o = l.baseOptions);
@@ -1788,7 +1789,7 @@ const ee = function(l) {
1788
1789
  * @throws {RequiredError}
1789
1790
  */
1790
1791
  updateEnvironment: async (r, a, n = {}) => {
1791
- d("updateEnvironment", "environmentName", r), d("updateEnvironment", "environment", a);
1792
+ m("updateEnvironment", "environmentName", r), m("updateEnvironment", "environment", a);
1792
1793
  const e = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(r))), t = new URL(e, V);
1793
1794
  let o;
1794
1795
  l && (o = l.baseOptions);
@@ -1986,7 +1987,7 @@ const te = function(l) {
1986
1987
  * @throws {RequiredError}
1987
1988
  */
1988
1989
  getManifest: async (r, a, n = {}) => {
1989
- d("getManifest", "environmentName", r), d("getManifest", "packageName", a);
1990
+ m("getManifest", "environmentName", r), m("getManifest", "packageName", a);
1990
1991
  const e = "/environments/{environmentName}/packages/{packageName}/manifest".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), t = new URL(e, V);
1991
1992
  let o;
1992
1993
  l && (o = l.baseOptions);
@@ -2008,14 +2009,14 @@ const te = function(l) {
2008
2009
  * @throws {RequiredError}
2009
2010
  */
2010
2011
  manifestAction: async (r, a, n, e = {}) => {
2011
- d("manifestAction", "environmentName", r), d("manifestAction", "packageName", a), d("manifestAction", "action", n);
2012
+ m("manifestAction", "environmentName", r), m("manifestAction", "packageName", a), m("manifestAction", "action", n);
2012
2013
  const t = "/environments/{environmentName}/packages/{packageName}/manifest".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
2013
2014
  let s;
2014
2015
  l && (s = l.baseOptions);
2015
2016
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
2016
2017
  n !== void 0 && (p.action = n), v(o, p);
2017
- let m = s && s.headers ? s.headers : {};
2018
- return c.headers = { ...i, ...m, ...e.headers }, {
2018
+ let d = s && s.headers ? s.headers : {};
2019
+ return c.headers = { ...i, ...d, ...e.headers }, {
2019
2020
  url: O(o),
2020
2021
  options: c
2021
2022
  };
@@ -2119,14 +2120,14 @@ const je = {
2119
2120
  * @throws {RequiredError}
2120
2121
  */
2121
2122
  createMaterialization: async (r, a, n, e = {}) => {
2122
- d("createMaterialization", "environmentName", r), d("createMaterialization", "packageName", a);
2123
+ m("createMaterialization", "environmentName", r), m("createMaterialization", "packageName", a);
2123
2124
  const t = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
2124
2125
  let s;
2125
2126
  l && (s = l.baseOptions);
2126
2127
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
2127
2128
  i["Content-Type"] = "application/json", v(o, p);
2128
- let m = s && s.headers ? s.headers : {};
2129
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
2129
+ let d = s && s.headers ? s.headers : {};
2130
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
2130
2131
  url: O(o),
2131
2132
  options: c
2132
2133
  };
@@ -2141,14 +2142,14 @@ const je = {
2141
2142
  * @throws {RequiredError}
2142
2143
  */
2143
2144
  deleteMaterialization: async (r, a, n, e = {}) => {
2144
- d("deleteMaterialization", "environmentName", r), d("deleteMaterialization", "packageName", a), d("deleteMaterialization", "materializationId", n);
2145
+ m("deleteMaterialization", "environmentName", r), m("deleteMaterialization", "packageName", a), m("deleteMaterialization", "materializationId", n);
2145
2146
  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);
2146
2147
  let s;
2147
2148
  l && (s = l.baseOptions);
2148
2149
  const c = { method: "DELETE", ...s, ...e }, i = {};
2149
2150
  v(o, {});
2150
- let m = s && s.headers ? s.headers : {};
2151
- return c.headers = { ...i, ...m, ...e.headers }, {
2151
+ let d = s && s.headers ? s.headers : {};
2152
+ return c.headers = { ...i, ...d, ...e.headers }, {
2152
2153
  url: O(o),
2153
2154
  options: c
2154
2155
  };
@@ -2163,14 +2164,14 @@ const je = {
2163
2164
  * @throws {RequiredError}
2164
2165
  */
2165
2166
  getMaterialization: async (r, a, n, e = {}) => {
2166
- d("getMaterialization", "environmentName", r), d("getMaterialization", "packageName", a), d("getMaterialization", "materializationId", n);
2167
+ m("getMaterialization", "environmentName", r), m("getMaterialization", "packageName", a), m("getMaterialization", "materializationId", n);
2167
2168
  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);
2168
2169
  let s;
2169
2170
  l && (s = l.baseOptions);
2170
2171
  const c = { method: "GET", ...s, ...e }, i = {};
2171
2172
  v(o, {});
2172
- let m = s && s.headers ? s.headers : {};
2173
- return c.headers = { ...i, ...m, ...e.headers }, {
2173
+ let d = s && s.headers ? s.headers : {};
2174
+ return c.headers = { ...i, ...d, ...e.headers }, {
2174
2175
  url: O(o),
2175
2176
  options: c
2176
2177
  };
@@ -2186,12 +2187,12 @@ const je = {
2186
2187
  * @throws {RequiredError}
2187
2188
  */
2188
2189
  listMaterializations: async (r, a, n, e, t = {}) => {
2189
- d("listMaterializations", "environmentName", r), d("listMaterializations", "packageName", a);
2190
+ m("listMaterializations", "environmentName", r), m("listMaterializations", "packageName", a);
2190
2191
  const o = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), s = new URL(o, V);
2191
2192
  let c;
2192
2193
  l && (c = l.baseOptions);
2193
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2194
- n !== void 0 && (m.limit = n), e !== void 0 && (m.offset = e), v(s, m);
2194
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2195
+ n !== void 0 && (d.limit = n), e !== void 0 && (d.offset = e), v(s, d);
2195
2196
  let u = c && c.headers ? c.headers : {};
2196
2197
  return i.headers = { ...p, ...u, ...t.headers }, {
2197
2198
  url: O(s),
@@ -2209,12 +2210,12 @@ const je = {
2209
2210
  * @throws {RequiredError}
2210
2211
  */
2211
2212
  materializationAction: async (r, a, n, e, t = {}) => {
2212
- d("materializationAction", "environmentName", r), d("materializationAction", "packageName", a), d("materializationAction", "materializationId", n), d("materializationAction", "action", e);
2213
+ m("materializationAction", "environmentName", r), m("materializationAction", "packageName", a), m("materializationAction", "materializationId", n), m("materializationAction", "action", e);
2213
2214
  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);
2214
2215
  let c;
2215
2216
  l && (c = l.baseOptions);
2216
- const i = { method: "POST", ...c, ...t }, p = {}, m = {};
2217
- e !== void 0 && (m.action = e), v(s, m);
2217
+ const i = { method: "POST", ...c, ...t }, p = {}, d = {};
2218
+ e !== void 0 && (d.action = e), v(s, d);
2218
2219
  let u = c && c.headers ? c.headers : {};
2219
2220
  return i.headers = { ...p, ...u, ...t.headers }, {
2220
2221
  url: O(s),
@@ -2276,7 +2277,7 @@ const je = {
2276
2277
  */
2277
2278
  async listMaterializations(a, n, e, t, o) {
2278
2279
  const s = await r.listMaterializations(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.listMaterializations"]?.[c]?.url;
2279
- return (p, m) => b(s, h, g, l)(p, i || m);
2280
+ return (p, d) => b(s, h, g, l)(p, i || d);
2280
2281
  },
2281
2282
  /**
2282
2283
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `start` - Transitions a PENDING materialization to RUNNING and begins execution in the background. Returns 202. * `stop` - Cancels a PENDING or RUNNING materialization. Returns 200.
@@ -2290,7 +2291,7 @@ const je = {
2290
2291
  */
2291
2292
  async materializationAction(a, n, e, t, o) {
2292
2293
  const s = await r.materializationAction(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["MaterializationsApi.materializationAction"]?.[c]?.url;
2293
- return (p, m) => b(s, h, g, l)(p, i || m);
2294
+ return (p, d) => b(s, h, g, l)(p, i || d);
2294
2295
  }
2295
2296
  };
2296
2297
  }, Le = function(l, r, a) {
@@ -2445,12 +2446,12 @@ const fe = {
2445
2446
  * @throws {RequiredError}
2446
2447
  */
2447
2448
  compileModelSource: async (r, a, n, e, t = {}) => {
2448
- d("compileModelSource", "environmentName", r), d("compileModelSource", "packageName", a), d("compileModelSource", "path", n), d("compileModelSource", "compileRequest", e);
2449
+ m("compileModelSource", "environmentName", r), m("compileModelSource", "packageName", a), m("compileModelSource", "path", n), m("compileModelSource", "compileRequest", e);
2449
2450
  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);
2450
2451
  let c;
2451
2452
  l && (c = l.baseOptions);
2452
- const i = { method: "POST", ...c, ...t }, p = {}, m = {};
2453
- p["Content-Type"] = "application/json", v(s, m);
2453
+ const i = { method: "POST", ...c, ...t }, p = {}, d = {};
2454
+ p["Content-Type"] = "application/json", v(s, d);
2454
2455
  let u = c && c.headers ? c.headers : {};
2455
2456
  return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
2456
2457
  url: O(s),
@@ -2468,12 +2469,12 @@ const fe = {
2468
2469
  * @throws {RequiredError}
2469
2470
  */
2470
2471
  executeQueryModel: async (r, a, n, e, t = {}) => {
2471
- d("executeQueryModel", "environmentName", r), d("executeQueryModel", "packageName", a), d("executeQueryModel", "path", n), d("executeQueryModel", "queryRequest", e);
2472
+ m("executeQueryModel", "environmentName", r), m("executeQueryModel", "packageName", a), m("executeQueryModel", "path", n), m("executeQueryModel", "queryRequest", e);
2472
2473
  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);
2473
2474
  let c;
2474
2475
  l && (c = l.baseOptions);
2475
- const i = { method: "POST", ...c, ...t }, p = {}, m = {};
2476
- p["Content-Type"] = "application/json", v(s, m);
2476
+ const i = { method: "POST", ...c, ...t }, p = {}, d = {};
2477
+ p["Content-Type"] = "application/json", v(s, d);
2477
2478
  let u = c && c.headers ? c.headers : {};
2478
2479
  return i.headers = { ...p, ...u, ...t.headers }, i.data = I(e, i, l), {
2479
2480
  url: O(s),
@@ -2491,12 +2492,12 @@ const fe = {
2491
2492
  * @throws {RequiredError}
2492
2493
  */
2493
2494
  getModel: async (r, a, n, e, t = {}) => {
2494
- d("getModel", "environmentName", r), d("getModel", "packageName", a), d("getModel", "path", n);
2495
+ m("getModel", "environmentName", r), m("getModel", "packageName", a), m("getModel", "path", n);
2495
2496
  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);
2496
2497
  let c;
2497
2498
  l && (c = l.baseOptions);
2498
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2499
- e !== void 0 && (m.versionId = e), v(s, m);
2499
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2500
+ e !== void 0 && (d.versionId = e), v(s, d);
2500
2501
  let u = c && c.headers ? c.headers : {};
2501
2502
  return i.headers = { ...p, ...u, ...t.headers }, {
2502
2503
  url: O(s),
@@ -2513,14 +2514,14 @@ const fe = {
2513
2514
  * @throws {RequiredError}
2514
2515
  */
2515
2516
  listModels: async (r, a, n, e = {}) => {
2516
- d("listModels", "environmentName", r), d("listModels", "packageName", a);
2517
+ m("listModels", "environmentName", r), m("listModels", "packageName", a);
2517
2518
  const t = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
2518
2519
  let s;
2519
2520
  l && (s = l.baseOptions);
2520
2521
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
2521
2522
  n !== void 0 && (p.versionId = n), v(o, p);
2522
- let m = s && s.headers ? s.headers : {};
2523
- return c.headers = { ...i, ...m, ...e.headers }, {
2523
+ let d = s && s.headers ? s.headers : {};
2524
+ return c.headers = { ...i, ...d, ...e.headers }, {
2524
2525
  url: O(o),
2525
2526
  options: c
2526
2527
  };
@@ -2541,7 +2542,7 @@ const fe = {
2541
2542
  */
2542
2543
  async compileModelSource(a, n, e, t, o) {
2543
2544
  const s = await r.compileModelSource(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.compileModelSource"]?.[c]?.url;
2544
- return (p, m) => b(s, h, g, l)(p, i || m);
2545
+ return (p, d) => b(s, h, g, l)(p, i || d);
2545
2546
  },
2546
2547
  /**
2547
2548
  * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration.
@@ -2555,7 +2556,7 @@ const fe = {
2555
2556
  */
2556
2557
  async executeQueryModel(a, n, e, t, o) {
2557
2558
  const s = await r.executeQueryModel(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.executeQueryModel"]?.[c]?.url;
2558
- return (p, m) => b(s, h, g, l)(p, i || m);
2559
+ return (p, d) => b(s, h, g, l)(p, i || d);
2559
2560
  },
2560
2561
  /**
2561
2562
  * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications.
@@ -2569,7 +2570,7 @@ const fe = {
2569
2570
  */
2570
2571
  async getModel(a, n, e, t, o) {
2571
2572
  const s = await r.getModel(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["ModelsApi.getModel"]?.[c]?.url;
2572
- return (p, m) => b(s, h, g, l)(p, i || m);
2573
+ return (p, d) => b(s, h, g, l)(p, i || d);
2573
2574
  },
2574
2575
  /**
2575
2576
  * 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.
@@ -2714,13 +2715,13 @@ const se = function(l) {
2714
2715
  * @throws {RequiredError}
2715
2716
  */
2716
2717
  executeNotebookCell: async (r, a, n, e, t, o, s, c = {}) => {
2717
- d("executeNotebookCell", "environmentName", r), d("executeNotebookCell", "packageName", a), d("executeNotebookCell", "path", n), d("executeNotebookCell", "cellIndex", e);
2718
+ m("executeNotebookCell", "environmentName", r), m("executeNotebookCell", "packageName", a), m("executeNotebookCell", "path", n), m("executeNotebookCell", "cellIndex", e);
2718
2719
  const i = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))).replace("{path}", encodeURIComponent(String(n))).replace("{cellIndex}", encodeURIComponent(String(e))), p = new URL(i, V);
2719
- let m;
2720
- l && (m = l.baseOptions);
2721
- const u = { method: "GET", ...m, ...c }, y = {}, C = {};
2720
+ let d;
2721
+ l && (d = l.baseOptions);
2722
+ const u = { method: "GET", ...d, ...c }, y = {}, C = {};
2722
2723
  t !== void 0 && (C.versionId = t), o !== void 0 && (C.filter_params = o), s !== void 0 && (C.bypass_filters = s), v(p, C);
2723
- let M = m && m.headers ? m.headers : {};
2724
+ let M = d && d.headers ? d.headers : {};
2724
2725
  return u.headers = { ...y, ...M, ...c.headers }, {
2725
2726
  url: O(p),
2726
2727
  options: u
@@ -2737,12 +2738,12 @@ const se = function(l) {
2737
2738
  * @throws {RequiredError}
2738
2739
  */
2739
2740
  getNotebook: async (r, a, n, e, t = {}) => {
2740
- d("getNotebook", "environmentName", r), d("getNotebook", "packageName", a), d("getNotebook", "path", n);
2741
+ m("getNotebook", "environmentName", r), m("getNotebook", "packageName", a), m("getNotebook", "path", n);
2741
2742
  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);
2742
2743
  let c;
2743
2744
  l && (c = l.baseOptions);
2744
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2745
- e !== void 0 && (m.versionId = e), v(s, m);
2745
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2746
+ e !== void 0 && (d.versionId = e), v(s, d);
2746
2747
  let u = c && c.headers ? c.headers : {};
2747
2748
  return i.headers = { ...p, ...u, ...t.headers }, {
2748
2749
  url: O(s),
@@ -2759,14 +2760,14 @@ const se = function(l) {
2759
2760
  * @throws {RequiredError}
2760
2761
  */
2761
2762
  listNotebooks: async (r, a, n, e = {}) => {
2762
- d("listNotebooks", "environmentName", r), d("listNotebooks", "packageName", a);
2763
+ m("listNotebooks", "environmentName", r), m("listNotebooks", "packageName", a);
2763
2764
  const t = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
2764
2765
  let s;
2765
2766
  l && (s = l.baseOptions);
2766
2767
  const c = { method: "GET", ...s, ...e }, i = {}, p = {};
2767
2768
  n !== void 0 && (p.versionId = n), v(o, p);
2768
- let m = s && s.headers ? s.headers : {};
2769
- return c.headers = { ...i, ...m, ...e.headers }, {
2769
+ let d = s && s.headers ? s.headers : {};
2770
+ return c.headers = { ...i, ...d, ...e.headers }, {
2770
2771
  url: O(o),
2771
2772
  options: c
2772
2773
  };
@@ -2789,7 +2790,7 @@ const se = function(l) {
2789
2790
  * @throws {RequiredError}
2790
2791
  */
2791
2792
  async executeNotebookCell(a, n, e, t, o, s, c, i) {
2792
- const p = await r.executeNotebookCell(a, n, e, t, o, s, c, i), m = l?.serverIndex ?? 0, u = P["NotebooksApi.executeNotebookCell"]?.[m]?.url;
2793
+ const p = await r.executeNotebookCell(a, n, e, t, o, s, c, i), d = l?.serverIndex ?? 0, u = P["NotebooksApi.executeNotebookCell"]?.[d]?.url;
2793
2794
  return (y, C) => b(p, h, g, l)(y, u || C);
2794
2795
  },
2795
2796
  /**
@@ -2804,7 +2805,7 @@ const se = function(l) {
2804
2805
  */
2805
2806
  async getNotebook(a, n, e, t, o) {
2806
2807
  const s = await r.getNotebook(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[c]?.url;
2807
- return (p, m) => b(s, h, g, l)(p, i || m);
2808
+ return (p, d) => b(s, h, g, l)(p, i || d);
2808
2809
  },
2809
2810
  /**
2810
2811
  * 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.
@@ -2836,8 +2837,8 @@ const se = function(l) {
2836
2837
  * @param {*} [options] Override http request option.
2837
2838
  * @throws {RequiredError}
2838
2839
  */
2839
- executeNotebookCell(e, t, o, s, c, i, p, m) {
2840
- return n.executeNotebookCell(e, t, o, s, c, i, p, m).then((u) => u(a, r));
2840
+ executeNotebookCell(e, t, o, s, c, i, p, d) {
2841
+ return n.executeNotebookCell(e, t, o, s, c, i, p, d).then((u) => u(a, r));
2841
2842
  },
2842
2843
  /**
2843
2844
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -2927,14 +2928,14 @@ const Ge = {
2927
2928
  * @throws {RequiredError}
2928
2929
  */
2929
2930
  createPackage: async (r, a, n, e = {}) => {
2930
- d("createPackage", "environmentName", r), d("createPackage", "_package", a);
2931
+ m("createPackage", "environmentName", r), m("createPackage", "_package", a);
2931
2932
  const t = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(r))), o = new URL(t, V);
2932
2933
  let s;
2933
2934
  l && (s = l.baseOptions);
2934
2935
  const c = { method: "POST", ...s, ...e }, i = {}, p = {};
2935
2936
  n !== void 0 && (p.autoLoadManifest = n), i["Content-Type"] = "application/json", v(o, p);
2936
- let m = s && s.headers ? s.headers : {};
2937
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(a, c, l), {
2937
+ let d = s && s.headers ? s.headers : {};
2938
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(a, c, l), {
2938
2939
  url: O(o),
2939
2940
  options: c
2940
2941
  };
@@ -2948,7 +2949,7 @@ const Ge = {
2948
2949
  * @throws {RequiredError}
2949
2950
  */
2950
2951
  deletePackage: async (r, a, n = {}) => {
2951
- d("deletePackage", "environmentName", r), d("deletePackage", "packageName", a);
2952
+ m("deletePackage", "environmentName", r), m("deletePackage", "packageName", a);
2952
2953
  const e = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), t = new URL(e, V);
2953
2954
  let o;
2954
2955
  l && (o = l.baseOptions);
@@ -2971,12 +2972,12 @@ const Ge = {
2971
2972
  * @throws {RequiredError}
2972
2973
  */
2973
2974
  getPackage: async (r, a, n, e, t = {}) => {
2974
- d("getPackage", "environmentName", r), d("getPackage", "packageName", a);
2975
+ m("getPackage", "environmentName", r), m("getPackage", "packageName", a);
2975
2976
  const o = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), s = new URL(o, V);
2976
2977
  let c;
2977
2978
  l && (c = l.baseOptions);
2978
- const i = { method: "GET", ...c, ...t }, p = {}, m = {};
2979
- n !== void 0 && (m.versionId = n), e !== void 0 && (m.reload = e), v(s, m);
2979
+ const i = { method: "GET", ...c, ...t }, p = {}, d = {};
2980
+ n !== void 0 && (d.versionId = n), e !== void 0 && (d.reload = e), v(s, d);
2980
2981
  let u = c && c.headers ? c.headers : {};
2981
2982
  return i.headers = { ...p, ...u, ...t.headers }, {
2982
2983
  url: O(s),
@@ -2991,7 +2992,7 @@ const Ge = {
2991
2992
  * @throws {RequiredError}
2992
2993
  */
2993
2994
  listPackages: async (r, a = {}) => {
2994
- d("listPackages", "environmentName", r);
2995
+ m("listPackages", "environmentName", r);
2995
2996
  const n = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(r))), e = new URL(n, V);
2996
2997
  let t;
2997
2998
  l && (t = l.baseOptions);
@@ -3013,14 +3014,14 @@ const Ge = {
3013
3014
  * @throws {RequiredError}
3014
3015
  */
3015
3016
  updatePackage: async (r, a, n, e = {}) => {
3016
- d("updatePackage", "environmentName", r), d("updatePackage", "packageName", a), d("updatePackage", "_package", n);
3017
+ m("updatePackage", "environmentName", r), m("updatePackage", "packageName", a), m("updatePackage", "_package", n);
3017
3018
  const t = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(a))), o = new URL(t, V);
3018
3019
  let s;
3019
3020
  l && (s = l.baseOptions);
3020
3021
  const c = { method: "PATCH", ...s, ...e }, i = {}, p = {};
3021
3022
  i["Content-Type"] = "application/json", v(o, p);
3022
- let m = s && s.headers ? s.headers : {};
3023
- return c.headers = { ...i, ...m, ...e.headers }, c.data = I(n, c, l), {
3023
+ let d = s && s.headers ? s.headers : {};
3024
+ return c.headers = { ...i, ...d, ...e.headers }, c.data = I(n, c, l), {
3024
3025
  url: O(o),
3025
3026
  options: c
3026
3027
  };
@@ -3066,7 +3067,7 @@ const Ge = {
3066
3067
  */
3067
3068
  async getPackage(a, n, e, t, o) {
3068
3069
  const s = await r.getPackage(a, n, e, t, o), c = l?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[c]?.url;
3069
- return (p, m) => b(s, h, g, l)(p, i || m);
3070
+ return (p, d) => b(s, h, g, l)(p, i || d);
3070
3071
  },
3071
3072
  /**
3072
3073
  * 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.
@@ -3270,7 +3271,7 @@ const pe = function(l) {
3270
3271
  }
3271
3272
  };
3272
3273
  };
3273
- class me extends k {
3274
+ class de extends k {
3274
3275
  /**
3275
3276
  * 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.
3276
3277
  * @summary Get server status and health information
@@ -3282,7 +3283,7 @@ class me extends k {
3282
3283
  return z(this.configuration).getStatus(r).then((a) => a(this.axios, this.basePath));
3283
3284
  }
3284
3285
  }
3285
- const de = function(l) {
3286
+ const me = function(l) {
3286
3287
  return {
3287
3288
  /**
3288
3289
  * 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.
@@ -3310,7 +3311,7 @@ const de = function(l) {
3310
3311
  * @throws {RequiredError}
3311
3312
  */
3312
3313
  startWatching: async (r, a = {}) => {
3313
- d("startWatching", "startWatchRequest", r);
3314
+ m("startWatching", "startWatchRequest", r);
3314
3315
  const n = "/watch-mode/start", e = new URL(n, V);
3315
3316
  let t;
3316
3317
  l && (t = l.baseOptions);
@@ -3342,7 +3343,7 @@ const de = function(l) {
3342
3343
  }
3343
3344
  };
3344
3345
  }, w = function(l) {
3345
- const r = de(l);
3346
+ const r = me(l);
3346
3347
  return {
3347
3348
  /**
3348
3349
  * 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.
@@ -3548,7 +3549,7 @@ const j = D(void 0), Pe = (l, r) => {
3548
3549
  const e = new ue({ basePath: a });
3549
3550
  return {
3550
3551
  models: new oe(e, a, n),
3551
- publisher: new me(e, a, n),
3552
+ publisher: new de(e, a, n),
3552
3553
  environments: new ae(e, a, n),
3553
3554
  packages: new ie(e, a, n),
3554
3555
  notebooks: new ce(e, a, n),
@@ -3567,20 +3568,20 @@ const j = D(void 0), Pe = (l, r) => {
3567
3568
  [a, r]
3568
3569
  ), t = a || `${window.location.protocol}//${window.location.host}/api/v0`, [o, s] = $(n), [c, i] = $(!0);
3569
3570
  G(() => {
3570
- let m = !0;
3571
+ let d = !0;
3571
3572
  return (async () => {
3572
3573
  try {
3573
3574
  const y = await e.publisher.getStatus();
3574
- if (m) {
3575
+ if (d) {
3575
3576
  const M = y.data?.frozenConfig;
3576
3577
  let U;
3577
3578
  M ? U = !1 : n === void 0 ? U = !0 : U = n, s(U), i(!1);
3578
3579
  }
3579
3580
  } catch (y) {
3580
- console.error("Failed to fetch publisher status:", y), m && (s(n), i(!1));
3581
+ console.error("Failed to fetch publisher status:", y), d && (s(n), i(!1));
3581
3582
  }
3582
3583
  })(), () => {
3583
- m = !1;
3584
+ d = !1;
3584
3585
  };
3585
3586
  }, [e, n]);
3586
3587
  const p = {
@@ -3631,8 +3632,8 @@ export {
3631
3632
  pe as a1,
3632
3633
  z as a2,
3633
3634
  Je as a3,
3634
- me as a4,
3635
- de as a5,
3635
+ de as a4,
3636
+ me as a5,
3636
3637
  w as a6,
3637
3638
  Ke as a7,
3638
3639
  he as a8,