@malloy-publisher/sdk 0.0.180 → 0.0.182

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.
@@ -1,7 +1,7 @@
1
- import { jsx as w } from "react/jsx-runtime";
2
- import { QueryClient as F, QueryClientProvider as E } from "@tanstack/react-query";
1
+ import { jsx as Q } from "react/jsx-runtime";
2
+ import { QueryClient as E, QueryClientProvider as L } from "@tanstack/react-query";
3
3
  import u from "axios";
4
- import { useContext as L, createContext as H, useMemo as W, useState as T, useEffect as f } from "react";
4
+ import { useContext as H, createContext as f, useMemo as W, useState as q, useEffect as D } from "react";
5
5
  const m = "http://localhost/api/v0".replace(/\/+$/, "");
6
6
  class j {
7
7
  constructor(a, e = m, r = u) {
@@ -9,23 +9,23 @@ class j {
9
9
  }
10
10
  configuration;
11
11
  }
12
- class D extends Error {
12
+ class G extends Error {
13
13
  constructor(a, e) {
14
14
  super(e), this.field = a, this.name = "RequiredError";
15
15
  }
16
16
  }
17
- const P = {}, V = "https://example.com", d = function(c, a, e) {
17
+ const P = {}, V = "https://example.com", h = function(c, a, e) {
18
18
  if (e == null)
19
- throw new D(a, `Required parameter ${a} was null or undefined when calling ${c}.`);
19
+ throw new G(a, `Required parameter ${a} was null or undefined when calling ${c}.`);
20
20
  };
21
- function U(c, a, e = "") {
22
- a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((r) => U(c, r, e)) : Object.keys(a).forEach(
23
- (r) => U(c, a[r], `${e}${e !== "" ? "." : ""}${r}`)
21
+ function T(c, a, e = "") {
22
+ a != null && (typeof a == "object" ? Array.isArray(a) ? a.forEach((r) => T(c, r, e)) : Object.keys(a).forEach(
23
+ (r) => T(c, a[r], `${e}${e !== "" ? "." : ""}${r}`)
24
24
  ) : c.has(e) ? c.append(e, a) : c.set(e, a));
25
25
  }
26
26
  const O = function(c, ...a) {
27
27
  const e = new URLSearchParams(c.search);
28
- U(e, a), c.search = e.toString();
28
+ T(e, a), c.search = e.toString();
29
29
  }, C = function(c, a, e) {
30
30
  const r = typeof c != "string";
31
31
  return (r && e && e.isJsonMime ? e.isJsonMime(a.headers["Content-Type"]) : r) ? JSON.stringify(c !== void 0 ? c : {}) : c || "";
@@ -69,21 +69,27 @@ const O = function(c, ...a) {
69
69
  Embedded: "embedded",
70
70
  Materialized: "materialized"
71
71
  }, xe = {
72
+ Equal: "equal",
73
+ In: "in",
74
+ Like: "like",
75
+ GreaterThan: "greater_than",
76
+ LessThan: "less_than"
77
+ }, Ae = {
72
78
  Debug: "debug",
73
79
  Info: "info",
74
80
  Warn: "warn",
75
81
  Error: "error"
76
- }, Ae = {
77
- Markdown: "markdown",
78
- Code: "code"
79
82
  }, ke = {
80
83
  Markdown: "markdown",
81
84
  Code: "code"
82
85
  }, Ne = {
86
+ Markdown: "markdown",
87
+ Code: "code"
88
+ }, ve = {
83
89
  Initializing: "initializing",
84
90
  Serving: "serving",
85
91
  Draining: "draining"
86
- }, G = function(c) {
92
+ }, z = function(c) {
87
93
  return {
88
94
  /**
89
95
  * Creates a new database connection in the specified project.
@@ -95,14 +101,14 @@ const O = function(c, ...a) {
95
101
  * @throws {RequiredError}
96
102
  */
97
103
  createConnection: async (a, e, r, t = {}) => {
98
- d("createConnection", "projectName", a), d("createConnection", "connectionName", e), d("createConnection", "connection", r);
104
+ h("createConnection", "projectName", a), h("createConnection", "connectionName", e), h("createConnection", "connection", r);
99
105
  const o = "/projects/{projectName}/connections/{connectionName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
100
106
  let n;
101
107
  c && (n = c.baseOptions);
102
108
  const l = { method: "POST", ...n, ...t }, i = {}, p = {};
103
109
  i["Content-Type"] = "application/json", O(s, p);
104
- let h = n && n.headers ? n.headers : {};
105
- return l.headers = { ...i, ...h, ...t.headers }, l.data = C(r, l, c), {
110
+ let d = n && n.headers ? n.headers : {};
111
+ return l.headers = { ...i, ...d, ...t.headers }, l.data = C(r, l, c), {
106
112
  url: b(s),
107
113
  options: l
108
114
  };
@@ -116,7 +122,7 @@ const O = function(c, ...a) {
116
122
  * @throws {RequiredError}
117
123
  */
118
124
  deleteConnection: async (a, e, r = {}) => {
119
- d("deleteConnection", "projectName", a), d("deleteConnection", "connectionName", e);
125
+ h("deleteConnection", "projectName", a), h("deleteConnection", "connectionName", e);
120
126
  const t = "/projects/{projectName}/connections/{connectionName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, V);
121
127
  let s;
122
128
  c && (s = c.baseOptions);
@@ -137,7 +143,7 @@ const O = function(c, ...a) {
137
143
  * @throws {RequiredError}
138
144
  */
139
145
  getConnection: async (a, e, r = {}) => {
140
- d("getConnection", "projectName", a), d("getConnection", "connectionName", e);
146
+ h("getConnection", "projectName", a), h("getConnection", "connectionName", e);
141
147
  const t = "/projects/{projectName}/connections/{connectionName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, V);
142
148
  let s;
143
149
  c && (s = c.baseOptions);
@@ -161,12 +167,12 @@ const O = function(c, ...a) {
161
167
  * @throws {RequiredError}
162
168
  */
163
169
  getQuerydata: async (a, e, r, t, o = {}) => {
164
- d("getQuerydata", "projectName", a), d("getQuerydata", "connectionName", e);
170
+ h("getQuerydata", "projectName", a), h("getQuerydata", "connectionName", e);
165
171
  const s = "/projects/{projectName}/connections/{connectionName}/queryData".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(s, V);
166
172
  let l;
167
173
  c && (l = c.baseOptions);
168
- const i = { method: "GET", ...l, ...o }, p = {}, h = {};
169
- r !== void 0 && (h.sqlStatement = r), t !== void 0 && (h.options = t), O(n, h);
174
+ const i = { method: "GET", ...l, ...o }, p = {}, d = {};
175
+ r !== void 0 && (d.sqlStatement = r), t !== void 0 && (d.options = t), O(n, d);
170
176
  let S = l && l.headers ? l.headers : {};
171
177
  return i.headers = { ...p, ...S, ...o.headers }, {
172
178
  url: b(n),
@@ -184,14 +190,14 @@ const O = function(c, ...a) {
184
190
  * @throws {RequiredError}
185
191
  */
186
192
  getSqlsource: async (a, e, r, t = {}) => {
187
- d("getSqlsource", "projectName", a), d("getSqlsource", "connectionName", e);
193
+ h("getSqlsource", "projectName", a), h("getSqlsource", "connectionName", e);
188
194
  const o = "/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
189
195
  let n;
190
196
  c && (n = c.baseOptions);
191
197
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
192
198
  r !== void 0 && (p.sqlStatement = r), O(s, p);
193
- let h = n && n.headers ? n.headers : {};
194
- return l.headers = { ...i, ...h, ...t.headers }, {
199
+ let d = n && n.headers ? n.headers : {};
200
+ return l.headers = { ...i, ...d, ...t.headers }, {
195
201
  url: b(s),
196
202
  options: l
197
203
  };
@@ -207,7 +213,7 @@ const O = function(c, ...a) {
207
213
  * @throws {RequiredError}
208
214
  */
209
215
  getTable: async (a, e, r, t, o = {}) => {
210
- d("getTable", "projectName", a), d("getTable", "connectionName", e), d("getTable", "schemaName", r), d("getTable", "tablePath", t);
216
+ h("getTable", "projectName", a), h("getTable", "connectionName", e), h("getTable", "schemaName", r), h("getTable", "tablePath", t);
211
217
  const s = "/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))).replace("{tablePath}", encodeURIComponent(String(t))), n = new URL(s, V);
212
218
  let l;
213
219
  c && (l = c.baseOptions);
@@ -230,14 +236,14 @@ const O = function(c, ...a) {
230
236
  * @throws {RequiredError}
231
237
  */
232
238
  getTemporarytable: async (a, e, r, t = {}) => {
233
- d("getTemporarytable", "projectName", a), d("getTemporarytable", "connectionName", e);
239
+ h("getTemporarytable", "projectName", a), h("getTemporarytable", "connectionName", e);
234
240
  const o = "/projects/{projectName}/connections/{connectionName}/temporaryTable".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
235
241
  let n;
236
242
  c && (n = c.baseOptions);
237
243
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
238
244
  r !== void 0 && (p.sqlStatement = r), O(s, p);
239
- let h = n && n.headers ? n.headers : {};
240
- return l.headers = { ...i, ...h, ...t.headers }, {
245
+ let d = n && n.headers ? n.headers : {};
246
+ return l.headers = { ...i, ...d, ...t.headers }, {
241
247
  url: b(s),
242
248
  options: l
243
249
  };
@@ -250,7 +256,7 @@ const O = function(c, ...a) {
250
256
  * @throws {RequiredError}
251
257
  */
252
258
  listConnections: async (a, e = {}) => {
253
- d("listConnections", "projectName", a);
259
+ h("listConnections", "projectName", a);
254
260
  const r = "/projects/{projectName}/connections".replace("{projectName}", encodeURIComponent(String(a))), t = new URL(r, V);
255
261
  let o;
256
262
  c && (o = c.baseOptions);
@@ -271,7 +277,7 @@ const O = function(c, ...a) {
271
277
  * @throws {RequiredError}
272
278
  */
273
279
  listSchemas: async (a, e, r = {}) => {
274
- d("listSchemas", "projectName", a), d("listSchemas", "connectionName", e);
280
+ h("listSchemas", "projectName", a), h("listSchemas", "connectionName", e);
275
281
  const t = "/projects/{projectName}/connections/{connectionName}/schemas".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(t, V);
276
282
  let s;
277
283
  c && (s = c.baseOptions);
@@ -294,12 +300,12 @@ const O = function(c, ...a) {
294
300
  * @throws {RequiredError}
295
301
  */
296
302
  listTables: async (a, e, r, t, o = {}) => {
297
- d("listTables", "projectName", a), d("listTables", "connectionName", e), d("listTables", "schemaName", r);
303
+ h("listTables", "projectName", a), h("listTables", "connectionName", e), h("listTables", "schemaName", r);
298
304
  const s = "/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(r))), n = new URL(s, V);
299
305
  let l;
300
306
  c && (l = c.baseOptions);
301
- const i = { method: "GET", ...l, ...o }, p = {}, h = {};
302
- t && (h.tableNames = t), O(n, h);
307
+ const i = { method: "GET", ...l, ...o }, p = {}, d = {};
308
+ t && (d.tableNames = t), O(n, d);
303
309
  let S = l && l.headers ? l.headers : {};
304
310
  return i.headers = { ...p, ...S, ...o.headers }, {
305
311
  url: b(n),
@@ -317,12 +323,12 @@ const O = function(c, ...a) {
317
323
  * @throws {RequiredError}
318
324
  */
319
325
  postQuerydata: async (a, e, r, t, o = {}) => {
320
- d("postQuerydata", "projectName", a), d("postQuerydata", "connectionName", e), d("postQuerydata", "postSqlsourceRequest", r);
326
+ h("postQuerydata", "projectName", a), h("postQuerydata", "connectionName", e), h("postQuerydata", "postSqlsourceRequest", r);
321
327
  const s = "/projects/{projectName}/connections/{connectionName}/sqlQuery".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), n = new URL(s, V);
322
328
  let l;
323
329
  c && (l = c.baseOptions);
324
- const i = { method: "POST", ...l, ...o }, p = {}, h = {};
325
- t !== void 0 && (h.options = t), p["Content-Type"] = "application/json", O(n, h);
330
+ const i = { method: "POST", ...l, ...o }, p = {}, d = {};
331
+ t !== void 0 && (d.options = t), p["Content-Type"] = "application/json", O(n, d);
326
332
  let S = l && l.headers ? l.headers : {};
327
333
  return i.headers = { ...p, ...S, ...o.headers }, i.data = C(r, i, c), {
328
334
  url: b(n),
@@ -339,14 +345,14 @@ const O = function(c, ...a) {
339
345
  * @throws {RequiredError}
340
346
  */
341
347
  postSqlsource: async (a, e, r, t = {}) => {
342
- d("postSqlsource", "projectName", a), d("postSqlsource", "connectionName", e), d("postSqlsource", "postSqlsourceRequest", r);
348
+ h("postSqlsource", "projectName", a), h("postSqlsource", "connectionName", e), h("postSqlsource", "postSqlsourceRequest", r);
343
349
  const o = "/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
344
350
  let n;
345
351
  c && (n = c.baseOptions);
346
352
  const l = { method: "POST", ...n, ...t }, i = {}, p = {};
347
353
  i["Content-Type"] = "application/json", O(s, p);
348
- let h = n && n.headers ? n.headers : {};
349
- return l.headers = { ...i, ...h, ...t.headers }, l.data = C(r, l, c), {
354
+ let d = n && n.headers ? n.headers : {};
355
+ return l.headers = { ...i, ...d, ...t.headers }, l.data = C(r, l, c), {
350
356
  url: b(s),
351
357
  options: l
352
358
  };
@@ -361,14 +367,14 @@ const O = function(c, ...a) {
361
367
  * @throws {RequiredError}
362
368
  */
363
369
  postTemporarytable: async (a, e, r, t = {}) => {
364
- d("postTemporarytable", "projectName", a), d("postTemporarytable", "connectionName", e), d("postTemporarytable", "postSqlsourceRequest", r);
370
+ h("postTemporarytable", "projectName", a), h("postTemporarytable", "connectionName", e), h("postTemporarytable", "postSqlsourceRequest", r);
365
371
  const o = "/projects/{projectName}/connections/{connectionName}/sqlTemporaryTable".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
366
372
  let n;
367
373
  c && (n = c.baseOptions);
368
374
  const l = { method: "POST", ...n, ...t }, i = {}, p = {};
369
375
  i["Content-Type"] = "application/json", O(s, p);
370
- let h = n && n.headers ? n.headers : {};
371
- return l.headers = { ...i, ...h, ...t.headers }, l.data = C(r, l, c), {
376
+ let d = n && n.headers ? n.headers : {};
377
+ return l.headers = { ...i, ...d, ...t.headers }, l.data = C(r, l, c), {
372
378
  url: b(s),
373
379
  options: l
374
380
  };
@@ -383,21 +389,21 @@ const O = function(c, ...a) {
383
389
  * @throws {RequiredError}
384
390
  */
385
391
  updateConnection: async (a, e, r, t = {}) => {
386
- d("updateConnection", "projectName", a), d("updateConnection", "connectionName", e), d("updateConnection", "updateConnectionRequest", r);
392
+ h("updateConnection", "projectName", a), h("updateConnection", "connectionName", e), h("updateConnection", "updateConnectionRequest", r);
387
393
  const o = "/projects/{projectName}/connections/{connectionName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{connectionName}", encodeURIComponent(String(e))), s = new URL(o, V);
388
394
  let n;
389
395
  c && (n = c.baseOptions);
390
396
  const l = { method: "PATCH", ...n, ...t }, i = {}, p = {};
391
397
  i["Content-Type"] = "application/json", O(s, p);
392
- let h = n && n.headers ? n.headers : {};
393
- return l.headers = { ...i, ...h, ...t.headers }, l.data = C(r, l, c), {
398
+ let d = n && n.headers ? n.headers : {};
399
+ return l.headers = { ...i, ...d, ...t.headers }, l.data = C(r, l, c), {
394
400
  url: b(s),
395
401
  options: l
396
402
  };
397
403
  }
398
404
  };
399
405
  }, y = function(c) {
400
- const a = G(c);
406
+ const a = z(c);
401
407
  return {
402
408
  /**
403
409
  * Creates a new database connection in the specified project.
@@ -449,7 +455,7 @@ const O = function(c, ...a) {
449
455
  */
450
456
  async getQuerydata(e, r, t, o, s) {
451
457
  const n = await a.getQuerydata(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getQuerydata"]?.[l]?.url;
452
- return (p, h) => g(n, u, m, c)(p, i || h);
458
+ return (p, d) => g(n, u, m, c)(p, i || d);
453
459
  },
454
460
  /**
455
461
  * **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.
@@ -477,7 +483,7 @@ const O = function(c, ...a) {
477
483
  */
478
484
  async getTable(e, r, t, o, s) {
479
485
  const n = await a.getTable(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.getTable"]?.[l]?.url;
480
- return (p, h) => g(n, u, m, c)(p, i || h);
486
+ return (p, d) => g(n, u, m, c)(p, i || d);
481
487
  },
482
488
  /**
483
489
  * **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.
@@ -528,7 +534,7 @@ const O = function(c, ...a) {
528
534
  */
529
535
  async listTables(e, r, t, o, s) {
530
536
  const n = await a.listTables(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.listTables"]?.[l]?.url;
531
- return (p, h) => g(n, u, m, c)(p, i || h);
537
+ return (p, d) => g(n, u, m, c)(p, i || d);
532
538
  },
533
539
  /**
534
540
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information.
@@ -542,7 +548,7 @@ const O = function(c, ...a) {
542
548
  */
543
549
  async postQuerydata(e, r, t, o, s) {
544
550
  const n = await a.postQuerydata(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ConnectionsApi.postQuerydata"]?.[l]?.url;
545
- return (p, h) => g(n, u, m, c)(p, i || h);
551
+ return (p, d) => g(n, u, m, c)(p, i || d);
546
552
  },
547
553
  /**
548
554
  * 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.
@@ -584,7 +590,7 @@ const O = function(c, ...a) {
584
590
  return (i, p) => g(s, u, m, c)(i, l || p);
585
591
  }
586
592
  };
587
- }, ve = function(c, a, e) {
593
+ }, Ie = function(c, a, e) {
588
594
  const r = y(c);
589
595
  return {
590
596
  /**
@@ -759,7 +765,7 @@ const O = function(c, ...a) {
759
765
  }
760
766
  };
761
767
  };
762
- class z extends j {
768
+ class _ extends j {
763
769
  /**
764
770
  * Creates a new database connection in the specified project.
765
771
  * @summary Create a new database connection
@@ -955,7 +961,7 @@ const J = function(c) {
955
961
  * @throws {RequiredError}
956
962
  */
957
963
  testConnectionConfiguration: async (a, e = {}) => {
958
- d("testConnectionConfiguration", "connection", a);
964
+ h("testConnectionConfiguration", "connection", a);
959
965
  const r = "/connections/test", t = new URL(r, V);
960
966
  let o;
961
967
  c && (o = c.baseOptions);
@@ -968,7 +974,7 @@ const J = function(c) {
968
974
  };
969
975
  }
970
976
  };
971
- }, Q = function(c) {
977
+ }, B = function(c) {
972
978
  const a = J(c);
973
979
  return {
974
980
  /**
@@ -983,8 +989,8 @@ const J = function(c) {
983
989
  return (n, l) => g(t, u, m, c)(n, s || l);
984
990
  }
985
991
  };
986
- }, Ie = function(c, a, e) {
987
- const r = Q(c);
992
+ }, Re = function(c, a, e) {
993
+ const r = B(c);
988
994
  return {
989
995
  /**
990
996
  * Validates a database connection configuration without adding it to any project. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to a project. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -998,7 +1004,7 @@ const J = function(c) {
998
1004
  }
999
1005
  };
1000
1006
  };
1001
- class Re extends j {
1007
+ class Ue extends j {
1002
1008
  /**
1003
1009
  * Validates a database connection configuration without adding it to any project. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to a project. Useful for troubleshooting connection issues and validating configurations during setup.
1004
1010
  * @summary Test database connection configuration
@@ -1008,7 +1014,7 @@ class Re extends j {
1008
1014
  * @memberof ConnectionsTestApi
1009
1015
  */
1010
1016
  testConnectionConfiguration(a, e) {
1011
- return Q(this.configuration).testConnectionConfiguration(a, e).then((r) => r(this.axios, this.basePath));
1017
+ return B(this.configuration).testConnectionConfiguration(a, e).then((r) => r(this.axios, this.basePath));
1012
1018
  }
1013
1019
  }
1014
1020
  const K = function(c) {
@@ -1023,20 +1029,20 @@ const K = function(c) {
1023
1029
  * @throws {RequiredError}
1024
1030
  */
1025
1031
  listDatabases: async (a, e, r, t = {}) => {
1026
- d("listDatabases", "projectName", a), d("listDatabases", "packageName", e);
1032
+ h("listDatabases", "projectName", a), h("listDatabases", "packageName", e);
1027
1033
  const o = "/projects/{projectName}/packages/{packageName}/databases".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
1028
1034
  let n;
1029
1035
  c && (n = c.baseOptions);
1030
1036
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
1031
1037
  r !== void 0 && (p.versionId = r), O(s, p);
1032
- let h = n && n.headers ? n.headers : {};
1033
- return l.headers = { ...i, ...h, ...t.headers }, {
1038
+ let d = n && n.headers ? n.headers : {};
1039
+ return l.headers = { ...i, ...d, ...t.headers }, {
1034
1040
  url: b(s),
1035
1041
  options: l
1036
1042
  };
1037
1043
  }
1038
1044
  };
1039
- }, B = function(c) {
1045
+ }, M = function(c) {
1040
1046
  const a = K(c);
1041
1047
  return {
1042
1048
  /**
@@ -1053,8 +1059,8 @@ const K = function(c) {
1053
1059
  return (i, p) => g(s, u, m, c)(i, l || p);
1054
1060
  }
1055
1061
  };
1056
- }, Ue = function(c, a, e) {
1057
- const r = B(c);
1062
+ }, we = function(c, a, e) {
1063
+ const r = M(c);
1058
1064
  return {
1059
1065
  /**
1060
1066
  * 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.
@@ -1070,7 +1076,7 @@ const K = function(c) {
1070
1076
  }
1071
1077
  };
1072
1078
  };
1073
- class _ extends j {
1079
+ class Y extends j {
1074
1080
  /**
1075
1081
  * 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.
1076
1082
  * @summary List embedded databases
@@ -1082,10 +1088,10 @@ class _ extends j {
1082
1088
  * @memberof DatabasesApi
1083
1089
  */
1084
1090
  listDatabases(a, e, r, t) {
1085
- return B(this.configuration).listDatabases(a, e, r, t).then((o) => o(this.axios, this.basePath));
1091
+ return M(this.configuration).listDatabases(a, e, r, t).then((o) => o(this.axios, this.basePath));
1086
1092
  }
1087
1093
  }
1088
- const Y = function(c) {
1094
+ const X = function(c) {
1089
1095
  return {
1090
1096
  /**
1091
1097
  * 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.
@@ -1098,12 +1104,12 @@ const Y = function(c) {
1098
1104
  * @throws {RequiredError}
1099
1105
  */
1100
1106
  compileModelSource: async (a, e, r, t, o = {}) => {
1101
- d("compileModelSource", "projectName", a), d("compileModelSource", "packageName", e), d("compileModelSource", "path", r), d("compileModelSource", "compileRequest", t);
1107
+ h("compileModelSource", "projectName", a), h("compileModelSource", "packageName", e), h("compileModelSource", "path", r), h("compileModelSource", "compileRequest", t);
1102
1108
  const s = "/projects/{projectName}/packages/{packageName}/models/{path}/compile".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(s, V);
1103
1109
  let l;
1104
1110
  c && (l = c.baseOptions);
1105
- const i = { method: "POST", ...l, ...o }, p = {}, h = {};
1106
- p["Content-Type"] = "application/json", O(n, h);
1111
+ const i = { method: "POST", ...l, ...o }, p = {}, d = {};
1112
+ p["Content-Type"] = "application/json", O(n, d);
1107
1113
  let S = l && l.headers ? l.headers : {};
1108
1114
  return i.headers = { ...p, ...S, ...o.headers }, i.data = C(t, i, c), {
1109
1115
  url: b(n),
@@ -1121,12 +1127,12 @@ const Y = function(c) {
1121
1127
  * @throws {RequiredError}
1122
1128
  */
1123
1129
  executeQueryModel: async (a, e, r, t, o = {}) => {
1124
- d("executeQueryModel", "projectName", a), d("executeQueryModel", "packageName", e), d("executeQueryModel", "path", r), d("executeQueryModel", "queryRequest", t);
1130
+ h("executeQueryModel", "projectName", a), h("executeQueryModel", "packageName", e), h("executeQueryModel", "path", r), h("executeQueryModel", "queryRequest", t);
1125
1131
  const s = "/projects/{projectName}/packages/{packageName}/models/{path}/query".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(s, V);
1126
1132
  let l;
1127
1133
  c && (l = c.baseOptions);
1128
- const i = { method: "POST", ...l, ...o }, p = {}, h = {};
1129
- p["Content-Type"] = "application/json", O(n, h);
1134
+ const i = { method: "POST", ...l, ...o }, p = {}, d = {};
1135
+ p["Content-Type"] = "application/json", O(n, d);
1130
1136
  let S = l && l.headers ? l.headers : {};
1131
1137
  return i.headers = { ...p, ...S, ...o.headers }, i.data = C(t, i, c), {
1132
1138
  url: b(n),
@@ -1144,12 +1150,12 @@ const Y = function(c) {
1144
1150
  * @throws {RequiredError}
1145
1151
  */
1146
1152
  getModel: async (a, e, r, t, o = {}) => {
1147
- d("getModel", "projectName", a), d("getModel", "packageName", e), d("getModel", "path", r);
1153
+ h("getModel", "projectName", a), h("getModel", "packageName", e), h("getModel", "path", r);
1148
1154
  const s = "/projects/{projectName}/packages/{packageName}/models/{path}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(s, V);
1149
1155
  let l;
1150
1156
  c && (l = c.baseOptions);
1151
- const i = { method: "GET", ...l, ...o }, p = {}, h = {};
1152
- t !== void 0 && (h.versionId = t), O(n, h);
1157
+ const i = { method: "GET", ...l, ...o }, p = {}, d = {};
1158
+ t !== void 0 && (d.versionId = t), O(n, d);
1153
1159
  let S = l && l.headers ? l.headers : {};
1154
1160
  return i.headers = { ...p, ...S, ...o.headers }, {
1155
1161
  url: b(n),
@@ -1166,21 +1172,21 @@ const Y = function(c) {
1166
1172
  * @throws {RequiredError}
1167
1173
  */
1168
1174
  listModels: async (a, e, r, t = {}) => {
1169
- d("listModels", "projectName", a), d("listModels", "packageName", e);
1175
+ h("listModels", "projectName", a), h("listModels", "packageName", e);
1170
1176
  const o = "/projects/{projectName}/packages/{packageName}/models".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
1171
1177
  let n;
1172
1178
  c && (n = c.baseOptions);
1173
1179
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
1174
1180
  r !== void 0 && (p.versionId = r), O(s, p);
1175
- let h = n && n.headers ? n.headers : {};
1176
- return l.headers = { ...i, ...h, ...t.headers }, {
1181
+ let d = n && n.headers ? n.headers : {};
1182
+ return l.headers = { ...i, ...d, ...t.headers }, {
1177
1183
  url: b(s),
1178
1184
  options: l
1179
1185
  };
1180
1186
  }
1181
1187
  };
1182
- }, N = function(c) {
1183
- const a = Y(c);
1188
+ }, v = function(c) {
1189
+ const a = X(c);
1184
1190
  return {
1185
1191
  /**
1186
1192
  * 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.
@@ -1194,7 +1200,7 @@ const Y = function(c) {
1194
1200
  */
1195
1201
  async compileModelSource(e, r, t, o, s) {
1196
1202
  const n = await a.compileModelSource(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ModelsApi.compileModelSource"]?.[l]?.url;
1197
- return (p, h) => g(n, u, m, c)(p, i || h);
1203
+ return (p, d) => g(n, u, m, c)(p, i || d);
1198
1204
  },
1199
1205
  /**
1200
1206
  * 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.
@@ -1208,7 +1214,7 @@ const Y = function(c) {
1208
1214
  */
1209
1215
  async executeQueryModel(e, r, t, o, s) {
1210
1216
  const n = await a.executeQueryModel(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ModelsApi.executeQueryModel"]?.[l]?.url;
1211
- return (p, h) => g(n, u, m, c)(p, i || h);
1217
+ return (p, d) => g(n, u, m, c)(p, i || d);
1212
1218
  },
1213
1219
  /**
1214
1220
  * 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.
@@ -1222,7 +1228,7 @@ const Y = function(c) {
1222
1228
  */
1223
1229
  async getModel(e, r, t, o, s) {
1224
1230
  const n = await a.getModel(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["ModelsApi.getModel"]?.[l]?.url;
1225
- return (p, h) => g(n, u, m, c)(p, i || h);
1231
+ return (p, d) => g(n, u, m, c)(p, i || d);
1226
1232
  },
1227
1233
  /**
1228
1234
  * 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.
@@ -1238,8 +1244,8 @@ const Y = function(c) {
1238
1244
  return (i, p) => g(s, u, m, c)(i, l || p);
1239
1245
  }
1240
1246
  };
1241
- }, we = function(c, a, e) {
1242
- const r = N(c);
1247
+ }, Te = function(c, a, e) {
1248
+ const r = v(c);
1243
1249
  return {
1244
1250
  /**
1245
1251
  * 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.
@@ -1294,7 +1300,7 @@ const Y = function(c) {
1294
1300
  }
1295
1301
  };
1296
1302
  };
1297
- class X extends j {
1303
+ class Z extends j {
1298
1304
  /**
1299
1305
  * 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.
1300
1306
  * @summary Compile Malloy source code
@@ -1307,7 +1313,7 @@ class X extends j {
1307
1313
  * @memberof ModelsApi
1308
1314
  */
1309
1315
  compileModelSource(a, e, r, t, o) {
1310
- return N(this.configuration).compileModelSource(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1316
+ return v(this.configuration).compileModelSource(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1311
1317
  }
1312
1318
  /**
1313
1319
  * 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.
@@ -1321,7 +1327,7 @@ class X extends j {
1321
1327
  * @memberof ModelsApi
1322
1328
  */
1323
1329
  executeQueryModel(a, e, r, t, o) {
1324
- return N(this.configuration).executeQueryModel(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1330
+ return v(this.configuration).executeQueryModel(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1325
1331
  }
1326
1332
  /**
1327
1333
  * 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.
@@ -1335,7 +1341,7 @@ class X extends j {
1335
1341
  * @memberof ModelsApi
1336
1342
  */
1337
1343
  getModel(a, e, r, t, o) {
1338
- return N(this.configuration).getModel(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1344
+ return v(this.configuration).getModel(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1339
1345
  }
1340
1346
  /**
1341
1347
  * 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.
@@ -1348,10 +1354,10 @@ class X extends j {
1348
1354
  * @memberof ModelsApi
1349
1355
  */
1350
1356
  listModels(a, e, r, t) {
1351
- return N(this.configuration).listModels(a, e, r, t).then((o) => o(this.axios, this.basePath));
1357
+ return v(this.configuration).listModels(a, e, r, t).then((o) => o(this.axios, this.basePath));
1352
1358
  }
1353
1359
  }
1354
- const Z = function(c) {
1360
+ const ee = function(c) {
1355
1361
  return {
1356
1362
  /**
1357
1363
  * 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.
@@ -1361,20 +1367,22 @@ const Z = function(c) {
1361
1367
  * @param {string} path Path to notebook within the package
1362
1368
  * @param {number} cellIndex Index of the cell to execute (0-based)
1363
1369
  * @param {string} [versionId] Version identifier for the package
1364
- * @param {*} [options] Override http request option.
1365
- * @throws {RequiredError}
1366
- */
1367
- executeNotebookCell: async (a, e, r, t, o, s = {}) => {
1368
- d("executeNotebookCell", "projectName", a), d("executeNotebookCell", "packageName", e), d("executeNotebookCell", "path", r), d("executeNotebookCell", "cellIndex", t);
1369
- const n = "/projects/{projectName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))).replace("{cellIndex}", encodeURIComponent(String(t))), l = new URL(n, V);
1370
- let i;
1371
- c && (i = c.baseOptions);
1372
- const p = { method: "GET", ...i, ...s }, h = {}, S = {};
1373
- o !== void 0 && (S.versionId = o), O(l, S);
1374
- let k = i && i.headers ? i.headers : {};
1375
- return p.headers = { ...h, ...k, ...s.headers }, {
1376
- url: b(l),
1377
- options: p
1370
+ * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
1371
+ * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
1372
+ * @param {*} [options] Override http request option.
1373
+ * @throws {RequiredError}
1374
+ */
1375
+ executeNotebookCell: async (a, e, r, t, o, s, n, l = {}) => {
1376
+ h("executeNotebookCell", "projectName", a), h("executeNotebookCell", "packageName", e), h("executeNotebookCell", "path", r), h("executeNotebookCell", "cellIndex", t);
1377
+ const i = "/projects/{projectName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))).replace("{cellIndex}", encodeURIComponent(String(t))), p = new URL(i, V);
1378
+ let d;
1379
+ c && (d = c.baseOptions);
1380
+ const S = { method: "GET", ...d, ...l }, x = {}, A = {};
1381
+ o !== void 0 && (A.versionId = o), s !== void 0 && (A.filter_params = s), n !== void 0 && (A.bypass_filters = n), O(p, A);
1382
+ let w = d && d.headers ? d.headers : {};
1383
+ return S.headers = { ...x, ...w, ...l.headers }, {
1384
+ url: b(p),
1385
+ options: S
1378
1386
  };
1379
1387
  },
1380
1388
  /**
@@ -1388,12 +1396,12 @@ const Z = function(c) {
1388
1396
  * @throws {RequiredError}
1389
1397
  */
1390
1398
  getNotebook: async (a, e, r, t, o = {}) => {
1391
- d("getNotebook", "projectName", a), d("getNotebook", "packageName", e), d("getNotebook", "path", r);
1399
+ h("getNotebook", "projectName", a), h("getNotebook", "packageName", e), h("getNotebook", "path", r);
1392
1400
  const s = "/projects/{projectName}/packages/{packageName}/notebooks/{path}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(r))), n = new URL(s, V);
1393
1401
  let l;
1394
1402
  c && (l = c.baseOptions);
1395
- const i = { method: "GET", ...l, ...o }, p = {}, h = {};
1396
- t !== void 0 && (h.versionId = t), O(n, h);
1403
+ const i = { method: "GET", ...l, ...o }, p = {}, d = {};
1404
+ t !== void 0 && (d.versionId = t), O(n, d);
1397
1405
  let S = l && l.headers ? l.headers : {};
1398
1406
  return i.headers = { ...p, ...S, ...o.headers }, {
1399
1407
  url: b(n),
@@ -1410,21 +1418,21 @@ const Z = function(c) {
1410
1418
  * @throws {RequiredError}
1411
1419
  */
1412
1420
  listNotebooks: async (a, e, r, t = {}) => {
1413
- d("listNotebooks", "projectName", a), d("listNotebooks", "packageName", e);
1421
+ h("listNotebooks", "projectName", a), h("listNotebooks", "packageName", e);
1414
1422
  const o = "/projects/{projectName}/packages/{packageName}/notebooks".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
1415
1423
  let n;
1416
1424
  c && (n = c.baseOptions);
1417
1425
  const l = { method: "GET", ...n, ...t }, i = {}, p = {};
1418
1426
  r !== void 0 && (p.versionId = r), O(s, p);
1419
- let h = n && n.headers ? n.headers : {};
1420
- return l.headers = { ...i, ...h, ...t.headers }, {
1427
+ let d = n && n.headers ? n.headers : {};
1428
+ return l.headers = { ...i, ...d, ...t.headers }, {
1421
1429
  url: b(s),
1422
1430
  options: l
1423
1431
  };
1424
1432
  }
1425
1433
  };
1426
- }, I = function(c) {
1427
- const a = Z(c);
1434
+ }, R = function(c) {
1435
+ const a = ee(c);
1428
1436
  return {
1429
1437
  /**
1430
1438
  * 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.
@@ -1434,12 +1442,14 @@ const Z = function(c) {
1434
1442
  * @param {string} path Path to notebook within the package
1435
1443
  * @param {number} cellIndex Index of the cell to execute (0-based)
1436
1444
  * @param {string} [versionId] Version identifier for the package
1445
+ * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
1446
+ * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
1437
1447
  * @param {*} [options] Override http request option.
1438
1448
  * @throws {RequiredError}
1439
1449
  */
1440
- async executeNotebookCell(e, r, t, o, s, n) {
1441
- const l = await a.executeNotebookCell(e, r, t, o, s, n), i = c?.serverIndex ?? 0, p = P["NotebooksApi.executeNotebookCell"]?.[i]?.url;
1442
- return (h, S) => g(l, u, m, c)(h, p || S);
1450
+ async executeNotebookCell(e, r, t, o, s, n, l, i) {
1451
+ const p = await a.executeNotebookCell(e, r, t, o, s, n, l, i), d = c?.serverIndex ?? 0, S = P["NotebooksApi.executeNotebookCell"]?.[d]?.url;
1452
+ return (x, A) => g(p, u, m, c)(x, S || A);
1443
1453
  },
1444
1454
  /**
1445
1455
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -1453,7 +1463,7 @@ const Z = function(c) {
1453
1463
  */
1454
1464
  async getNotebook(e, r, t, o, s) {
1455
1465
  const n = await a.getNotebook(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["NotebooksApi.getNotebook"]?.[l]?.url;
1456
- return (p, h) => g(n, u, m, c)(p, i || h);
1466
+ return (p, d) => g(n, u, m, c)(p, i || d);
1457
1467
  },
1458
1468
  /**
1459
1469
  * 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.
@@ -1469,8 +1479,8 @@ const Z = function(c) {
1469
1479
  return (i, p) => g(s, u, m, c)(i, l || p);
1470
1480
  }
1471
1481
  };
1472
- }, Te = function(c, a, e) {
1473
- const r = I(c);
1482
+ }, Qe = function(c, a, e) {
1483
+ const r = R(c);
1474
1484
  return {
1475
1485
  /**
1476
1486
  * 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.
@@ -1480,11 +1490,13 @@ const Z = function(c) {
1480
1490
  * @param {string} path Path to notebook within the package
1481
1491
  * @param {number} cellIndex Index of the cell to execute (0-based)
1482
1492
  * @param {string} [versionId] Version identifier for the package
1493
+ * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
1494
+ * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
1483
1495
  * @param {*} [options] Override http request option.
1484
1496
  * @throws {RequiredError}
1485
1497
  */
1486
- executeNotebookCell(t, o, s, n, l, i) {
1487
- return r.executeNotebookCell(t, o, s, n, l, i).then((p) => p(e, a));
1498
+ executeNotebookCell(t, o, s, n, l, i, p, d) {
1499
+ return r.executeNotebookCell(t, o, s, n, l, i, p, d).then((S) => S(e, a));
1488
1500
  },
1489
1501
  /**
1490
1502
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -1513,7 +1525,7 @@ const Z = function(c) {
1513
1525
  }
1514
1526
  };
1515
1527
  };
1516
- class ee extends j {
1528
+ class te extends j {
1517
1529
  /**
1518
1530
  * 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.
1519
1531
  * @summary Execute a specific notebook cell
@@ -1522,12 +1534,14 @@ class ee extends j {
1522
1534
  * @param {string} path Path to notebook within the package
1523
1535
  * @param {number} cellIndex Index of the cell to execute (0-based)
1524
1536
  * @param {string} [versionId] Version identifier for the package
1537
+ * @param {string} [filterParams] JSON-encoded filter parameter values keyed by filter name
1538
+ * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] When true, skip filter injection entirely
1525
1539
  * @param {*} [options] Override http request option.
1526
1540
  * @throws {RequiredError}
1527
1541
  * @memberof NotebooksApi
1528
1542
  */
1529
- executeNotebookCell(a, e, r, t, o, s) {
1530
- return I(this.configuration).executeNotebookCell(a, e, r, t, o, s).then((n) => n(this.axios, this.basePath));
1543
+ executeNotebookCell(a, e, r, t, o, s, n, l) {
1544
+ return R(this.configuration).executeNotebookCell(a, e, r, t, o, s, n, l).then((i) => i(this.axios, this.basePath));
1531
1545
  }
1532
1546
  /**
1533
1547
  * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint.
@@ -1541,7 +1555,7 @@ class ee extends j {
1541
1555
  * @memberof NotebooksApi
1542
1556
  */
1543
1557
  getNotebook(a, e, r, t, o) {
1544
- return I(this.configuration).getNotebook(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1558
+ return R(this.configuration).getNotebook(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1545
1559
  }
1546
1560
  /**
1547
1561
  * 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.
@@ -1554,10 +1568,13 @@ class ee extends j {
1554
1568
  * @memberof NotebooksApi
1555
1569
  */
1556
1570
  listNotebooks(a, e, r, t) {
1557
- return I(this.configuration).listNotebooks(a, e, r, t).then((o) => o(this.axios, this.basePath));
1571
+ return R(this.configuration).listNotebooks(a, e, r, t).then((o) => o(this.axios, this.basePath));
1558
1572
  }
1559
1573
  }
1560
- const te = function(c) {
1574
+ const qe = {
1575
+ True: "true",
1576
+ False: "false"
1577
+ }, ae = function(c) {
1561
1578
  return {
1562
1579
  /**
1563
1580
  * Creates a new Malloy package within the specified project. 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.
@@ -1568,7 +1585,7 @@ const te = function(c) {
1568
1585
  * @throws {RequiredError}
1569
1586
  */
1570
1587
  createPackage: async (a, e, r = {}) => {
1571
- d("createPackage", "projectName", a), d("createPackage", "_package", e);
1588
+ h("createPackage", "projectName", a), h("createPackage", "_package", e);
1572
1589
  const t = "/projects/{projectName}/packages".replace("{projectName}", encodeURIComponent(String(a))), o = new URL(t, V);
1573
1590
  let s;
1574
1591
  c && (s = c.baseOptions);
@@ -1589,7 +1606,7 @@ const te = function(c) {
1589
1606
  * @throws {RequiredError}
1590
1607
  */
1591
1608
  deletePackage: async (a, e, r = {}) => {
1592
- d("deletePackage", "projectName", a), d("deletePackage", "packageName", e);
1609
+ h("deletePackage", "projectName", a), h("deletePackage", "packageName", e);
1593
1610
  const t = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(t, V);
1594
1611
  let s;
1595
1612
  c && (s = c.baseOptions);
@@ -1612,12 +1629,12 @@ const te = function(c) {
1612
1629
  * @throws {RequiredError}
1613
1630
  */
1614
1631
  getPackage: async (a, e, r, t, o = {}) => {
1615
- d("getPackage", "projectName", a), d("getPackage", "packageName", e);
1632
+ h("getPackage", "projectName", a), h("getPackage", "packageName", e);
1616
1633
  const s = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), n = new URL(s, V);
1617
1634
  let l;
1618
1635
  c && (l = c.baseOptions);
1619
- const i = { method: "GET", ...l, ...o }, p = {}, h = {};
1620
- r !== void 0 && (h.versionId = r), t !== void 0 && (h.reload = t), O(n, h);
1636
+ const i = { method: "GET", ...l, ...o }, p = {}, d = {};
1637
+ r !== void 0 && (d.versionId = r), t !== void 0 && (d.reload = t), O(n, d);
1621
1638
  let S = l && l.headers ? l.headers : {};
1622
1639
  return i.headers = { ...p, ...S, ...o.headers }, {
1623
1640
  url: b(n),
@@ -1632,7 +1649,7 @@ const te = function(c) {
1632
1649
  * @throws {RequiredError}
1633
1650
  */
1634
1651
  listPackages: async (a, e = {}) => {
1635
- d("listPackages", "projectName", a);
1652
+ h("listPackages", "projectName", a);
1636
1653
  const r = "/projects/{projectName}/packages".replace("{projectName}", encodeURIComponent(String(a))), t = new URL(r, V);
1637
1654
  let o;
1638
1655
  c && (o = c.baseOptions);
@@ -1654,21 +1671,21 @@ const te = function(c) {
1654
1671
  * @throws {RequiredError}
1655
1672
  */
1656
1673
  updatePackage: async (a, e, r, t = {}) => {
1657
- d("updatePackage", "projectName", a), d("updatePackage", "packageName", e), d("updatePackage", "_package", r);
1674
+ h("updatePackage", "projectName", a), h("updatePackage", "packageName", e), h("updatePackage", "_package", r);
1658
1675
  const o = "/projects/{projectName}/packages/{packageName}".replace("{projectName}", encodeURIComponent(String(a))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, V);
1659
1676
  let n;
1660
1677
  c && (n = c.baseOptions);
1661
1678
  const l = { method: "PATCH", ...n, ...t }, i = {}, p = {};
1662
1679
  i["Content-Type"] = "application/json", O(s, p);
1663
- let h = n && n.headers ? n.headers : {};
1664
- return l.headers = { ...i, ...h, ...t.headers }, l.data = C(r, l, c), {
1680
+ let d = n && n.headers ? n.headers : {};
1681
+ return l.headers = { ...i, ...d, ...t.headers }, l.data = C(r, l, c), {
1665
1682
  url: b(s),
1666
1683
  options: l
1667
1684
  };
1668
1685
  }
1669
1686
  };
1670
- }, x = function(c) {
1671
- const a = te(c);
1687
+ }, k = function(c) {
1688
+ const a = ae(c);
1672
1689
  return {
1673
1690
  /**
1674
1691
  * Creates a new Malloy package within the specified project. 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.
@@ -1706,7 +1723,7 @@ const te = function(c) {
1706
1723
  */
1707
1724
  async getPackage(e, r, t, o, s) {
1708
1725
  const n = await a.getPackage(e, r, t, o, s), l = c?.serverIndex ?? 0, i = P["PackagesApi.getPackage"]?.[l]?.url;
1709
- return (p, h) => g(n, u, m, c)(p, i || h);
1726
+ return (p, d) => g(n, u, m, c)(p, i || d);
1710
1727
  },
1711
1728
  /**
1712
1729
  * Retrieves a list of all Malloy packages within the specified project. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
@@ -1733,8 +1750,8 @@ const te = function(c) {
1733
1750
  return (i, p) => g(s, u, m, c)(i, l || p);
1734
1751
  }
1735
1752
  };
1736
- }, Qe = function(c, a, e) {
1737
- const r = x(c);
1753
+ }, Be = function(c, a, e) {
1754
+ const r = k(c);
1738
1755
  return {
1739
1756
  /**
1740
1757
  * Creates a new Malloy package within the specified project. 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.
@@ -1795,7 +1812,7 @@ const te = function(c) {
1795
1812
  }
1796
1813
  };
1797
1814
  };
1798
- class ae extends j {
1815
+ class re extends j {
1799
1816
  /**
1800
1817
  * Creates a new Malloy package within the specified project. 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.
1801
1818
  * @summary Create a new package
@@ -1806,7 +1823,7 @@ class ae extends j {
1806
1823
  * @memberof PackagesApi
1807
1824
  */
1808
1825
  createPackage(a, e, r) {
1809
- return x(this.configuration).createPackage(a, e, r).then((t) => t(this.axios, this.basePath));
1826
+ return k(this.configuration).createPackage(a, e, r).then((t) => t(this.axios, this.basePath));
1810
1827
  }
1811
1828
  /**
1812
1829
  * 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.
@@ -1818,7 +1835,7 @@ class ae extends j {
1818
1835
  * @memberof PackagesApi
1819
1836
  */
1820
1837
  deletePackage(a, e, r) {
1821
- return x(this.configuration).deletePackage(a, e, r).then((t) => t(this.axios, this.basePath));
1838
+ return k(this.configuration).deletePackage(a, e, r).then((t) => t(this.axios, this.basePath));
1822
1839
  }
1823
1840
  /**
1824
1841
  * 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.
@@ -1832,7 +1849,7 @@ class ae extends j {
1832
1849
  * @memberof PackagesApi
1833
1850
  */
1834
1851
  getPackage(a, e, r, t, o) {
1835
- return x(this.configuration).getPackage(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1852
+ return k(this.configuration).getPackage(a, e, r, t, o).then((s) => s(this.axios, this.basePath));
1836
1853
  }
1837
1854
  /**
1838
1855
  * Retrieves a list of all Malloy packages within the specified project. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
@@ -1843,7 +1860,7 @@ class ae extends j {
1843
1860
  * @memberof PackagesApi
1844
1861
  */
1845
1862
  listPackages(a, e) {
1846
- return x(this.configuration).listPackages(a, e).then((r) => r(this.axios, this.basePath));
1863
+ return k(this.configuration).listPackages(a, e).then((r) => r(this.axios, this.basePath));
1847
1864
  }
1848
1865
  /**
1849
1866
  * 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.
@@ -1856,10 +1873,10 @@ class ae extends j {
1856
1873
  * @memberof PackagesApi
1857
1874
  */
1858
1875
  updatePackage(a, e, r, t) {
1859
- return x(this.configuration).updatePackage(a, e, r, t).then((o) => o(this.axios, this.basePath));
1876
+ return k(this.configuration).updatePackage(a, e, r, t).then((o) => o(this.axios, this.basePath));
1860
1877
  }
1861
1878
  }
1862
- const re = function(c) {
1879
+ const oe = function(c) {
1863
1880
  return {
1864
1881
  /**
1865
1882
  * Creates a new Malloy project with the specified configuration. A project serves as a container for packages, connections, and other resources. The project will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -1869,7 +1886,7 @@ const re = function(c) {
1869
1886
  * @throws {RequiredError}
1870
1887
  */
1871
1888
  createProject: async (a, e = {}) => {
1872
- d("createProject", "project", a);
1889
+ h("createProject", "project", a);
1873
1890
  const r = "/projects", t = new URL(r, V);
1874
1891
  let o;
1875
1892
  c && (o = c.baseOptions);
@@ -1889,7 +1906,7 @@ const re = function(c) {
1889
1906
  * @throws {RequiredError}
1890
1907
  */
1891
1908
  deleteProject: async (a, e = {}) => {
1892
- d("deleteProject", "projectName", a);
1909
+ h("deleteProject", "projectName", a);
1893
1910
  const r = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), t = new URL(r, V);
1894
1911
  let o;
1895
1912
  c && (o = c.baseOptions);
@@ -1910,7 +1927,7 @@ const re = function(c) {
1910
1927
  * @throws {RequiredError}
1911
1928
  */
1912
1929
  getProject: async (a, e, r = {}) => {
1913
- d("getProject", "projectName", a);
1930
+ h("getProject", "projectName", a);
1914
1931
  const t = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), o = new URL(t, V);
1915
1932
  let s;
1916
1933
  c && (s = c.baseOptions);
@@ -1949,7 +1966,7 @@ const re = function(c) {
1949
1966
  * @throws {RequiredError}
1950
1967
  */
1951
1968
  updateProject: async (a, e, r = {}) => {
1952
- d("updateProject", "projectName", a), d("updateProject", "project", e);
1969
+ h("updateProject", "projectName", a), h("updateProject", "project", e);
1953
1970
  const t = "/projects/{projectName}".replace("{projectName}", encodeURIComponent(String(a))), o = new URL(t, V);
1954
1971
  let s;
1955
1972
  c && (s = c.baseOptions);
@@ -1962,8 +1979,8 @@ const re = function(c) {
1962
1979
  };
1963
1980
  }
1964
1981
  };
1965
- }, A = function(c) {
1966
- const a = re(c);
1982
+ }, N = function(c) {
1983
+ const a = oe(c);
1967
1984
  return {
1968
1985
  /**
1969
1986
  * Creates a new Malloy project with the specified configuration. A project serves as a container for packages, connections, and other resources. The project will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -2022,8 +2039,8 @@ const re = function(c) {
2022
2039
  return (l, i) => g(o, u, m, c)(l, n || i);
2023
2040
  }
2024
2041
  };
2025
- }, Be = function(c, a, e) {
2026
- const r = A(c);
2042
+ }, Me = function(c, a, e) {
2043
+ const r = N(c);
2027
2044
  return {
2028
2045
  /**
2029
2046
  * Creates a new Malloy project with the specified configuration. A project serves as a container for packages, connections, and other resources. The project will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -2078,7 +2095,7 @@ const re = function(c) {
2078
2095
  }
2079
2096
  };
2080
2097
  };
2081
- class oe extends j {
2098
+ class se extends j {
2082
2099
  /**
2083
2100
  * Creates a new Malloy project with the specified configuration. A project serves as a container for packages, connections, and other resources. The project will be initialized with the provided metadata and can immediately accept packages and connections.
2084
2101
  * @summary Create a new project
@@ -2088,7 +2105,7 @@ class oe extends j {
2088
2105
  * @memberof ProjectsApi
2089
2106
  */
2090
2107
  createProject(a, e) {
2091
- return A(this.configuration).createProject(a, e).then((r) => r(this.axios, this.basePath));
2108
+ return N(this.configuration).createProject(a, e).then((r) => r(this.axios, this.basePath));
2092
2109
  }
2093
2110
  /**
2094
2111
  * Permanently deletes a project and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The project must exist and be accessible for deletion.
@@ -2099,7 +2116,7 @@ class oe extends j {
2099
2116
  * @memberof ProjectsApi
2100
2117
  */
2101
2118
  deleteProject(a, e) {
2102
- return A(this.configuration).deleteProject(a, e).then((r) => r(this.axios, this.basePath));
2119
+ return N(this.configuration).deleteProject(a, e).then((r) => r(this.axios, this.basePath));
2103
2120
  }
2104
2121
  /**
2105
2122
  * Retrieves detailed information about a specific project, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the project state from disk before returning the information.
@@ -2111,7 +2128,7 @@ class oe extends j {
2111
2128
  * @memberof ProjectsApi
2112
2129
  */
2113
2130
  getProject(a, e, r) {
2114
- return A(this.configuration).getProject(a, e, r).then((t) => t(this.axios, this.basePath));
2131
+ return N(this.configuration).getProject(a, e, r).then((t) => t(this.axios, this.basePath));
2115
2132
  }
2116
2133
  /**
2117
2134
  * Retrieves a list of all projects currently hosted on this Malloy Publisher server. Each project contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available projects and their basic information.
@@ -2121,7 +2138,7 @@ class oe extends j {
2121
2138
  * @memberof ProjectsApi
2122
2139
  */
2123
2140
  listProjects(a) {
2124
- return A(this.configuration).listProjects(a).then((e) => e(this.axios, this.basePath));
2141
+ return N(this.configuration).listProjects(a).then((e) => e(this.axios, this.basePath));
2125
2142
  }
2126
2143
  /**
2127
2144
  * Updates the configuration and metadata of an existing project. This allows you to modify project settings, update the README, change the location, or update other project-level properties. The project must exist and be accessible.
@@ -2133,10 +2150,10 @@ class oe extends j {
2133
2150
  * @memberof ProjectsApi
2134
2151
  */
2135
2152
  updateProject(a, e, r) {
2136
- return A(this.configuration).updateProject(a, e, r).then((t) => t(this.axios, this.basePath));
2153
+ return N(this.configuration).updateProject(a, e, r).then((t) => t(this.axios, this.basePath));
2137
2154
  }
2138
2155
  }
2139
- const se = function(c) {
2156
+ const ne = function(c) {
2140
2157
  return {
2141
2158
  /**
2142
2159
  * Returns the current status of the Malloy Publisher server, including initialization state, available projects, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -2157,8 +2174,8 @@ const se = function(c) {
2157
2174
  };
2158
2175
  }
2159
2176
  };
2160
- }, q = function(c) {
2161
- const a = se(c);
2177
+ }, $ = function(c) {
2178
+ const a = ne(c);
2162
2179
  return {
2163
2180
  /**
2164
2181
  * Returns the current status of the Malloy Publisher server, including initialization state, available projects, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -2171,8 +2188,8 @@ const se = function(c) {
2171
2188
  return (s, n) => g(r, u, m, c)(s, o || n);
2172
2189
  }
2173
2190
  };
2174
- }, qe = function(c, a, e) {
2175
- const r = q(c);
2191
+ }, $e = function(c, a, e) {
2192
+ const r = $(c);
2176
2193
  return {
2177
2194
  /**
2178
2195
  * Returns the current status of the Malloy Publisher server, including initialization state, available projects, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -2185,7 +2202,7 @@ const se = function(c) {
2185
2202
  }
2186
2203
  };
2187
2204
  };
2188
- class ne extends j {
2205
+ class ce extends j {
2189
2206
  /**
2190
2207
  * Returns the current status of the Malloy Publisher server, including initialization state, available projects, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
2191
2208
  * @summary Get server status and health information
@@ -2194,10 +2211,10 @@ class ne extends j {
2194
2211
  * @memberof PublisherApi
2195
2212
  */
2196
2213
  getStatus(a) {
2197
- return q(this.configuration).getStatus(a).then((e) => e(this.axios, this.basePath));
2214
+ return $(this.configuration).getStatus(a).then((e) => e(this.axios, this.basePath));
2198
2215
  }
2199
2216
  }
2200
- const ce = function(c) {
2217
+ const le = function(c) {
2201
2218
  return {
2202
2219
  /**
2203
2220
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which project is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -2225,7 +2242,7 @@ const ce = function(c) {
2225
2242
  * @throws {RequiredError}
2226
2243
  */
2227
2244
  startWatching: async (a, e = {}) => {
2228
- d("startWatching", "startWatchRequest", a);
2245
+ h("startWatching", "startWatchRequest", a);
2229
2246
  const r = "/watch-mode/start", t = new URL(r, V);
2230
2247
  let o;
2231
2248
  c && (o = c.baseOptions);
@@ -2256,8 +2273,8 @@ const ce = function(c) {
2256
2273
  };
2257
2274
  }
2258
2275
  };
2259
- }, R = function(c) {
2260
- const a = ce(c);
2276
+ }, U = function(c) {
2277
+ const a = le(c);
2261
2278
  return {
2262
2279
  /**
2263
2280
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which project is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -2291,8 +2308,8 @@ const ce = function(c) {
2291
2308
  return (s, n) => g(r, u, m, c)(s, o || n);
2292
2309
  }
2293
2310
  };
2294
- }, Me = function(c, a, e) {
2295
- const r = R(c);
2311
+ }, Fe = function(c, a, e) {
2312
+ const r = U(c);
2296
2313
  return {
2297
2314
  /**
2298
2315
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which project is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -2324,7 +2341,7 @@ const ce = function(c) {
2324
2341
  }
2325
2342
  };
2326
2343
  };
2327
- class le extends j {
2344
+ class ie extends j {
2328
2345
  /**
2329
2346
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which project is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
2330
2347
  * @summary Get watch mode status
@@ -2333,7 +2350,7 @@ class le extends j {
2333
2350
  * @memberof WatchModeApi
2334
2351
  */
2335
2352
  getWatchStatus(a) {
2336
- return R(this.configuration).getWatchStatus(a).then((e) => e(this.axios, this.basePath));
2353
+ return U(this.configuration).getWatchStatus(a).then((e) => e(this.axios, this.basePath));
2337
2354
  }
2338
2355
  /**
2339
2356
  * Initiates file watching for the specified project. This enables real-time monitoring of file changes within the project directory, allowing for automatic reloading and updates during development. Only one project can be watched at a time.
@@ -2344,7 +2361,7 @@ class le extends j {
2344
2361
  * @memberof WatchModeApi
2345
2362
  */
2346
2363
  startWatching(a, e) {
2347
- return R(this.configuration).startWatching(a, e).then((r) => r(this.axios, this.basePath));
2364
+ return U(this.configuration).startWatching(a, e).then((r) => r(this.axios, this.basePath));
2348
2365
  }
2349
2366
  /**
2350
2367
  * 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 project.
@@ -2354,10 +2371,10 @@ class le extends j {
2354
2371
  * @memberof WatchModeApi
2355
2372
  */
2356
2373
  stopWatching(a) {
2357
- return R(this.configuration).stopWatching(a).then((e) => e(this.axios, this.basePath));
2374
+ return U(this.configuration).stopWatching(a).then((e) => e(this.axios, this.basePath));
2358
2375
  }
2359
2376
  }
2360
- class ie {
2377
+ class pe {
2361
2378
  /**
2362
2379
  * parameter for apiKey security
2363
2380
  * @param name security name
@@ -2437,7 +2454,7 @@ class ie {
2437
2454
  return a !== null && (e.test(a) || a.toLowerCase() === "application/json-patch+json");
2438
2455
  }
2439
2456
  }
2440
- const pe = new F({
2457
+ const de = new E({
2441
2458
  defaultOptions: {
2442
2459
  queries: {
2443
2460
  retry: !1,
@@ -2448,7 +2465,7 @@ const pe = new F({
2448
2465
  throwOnError: !1
2449
2466
  }
2450
2467
  }
2451
- }), M = H(void 0), de = (c, a) => {
2468
+ }), F = f(void 0), he = (c, a) => {
2452
2469
  const e = `${window.location.protocol}//${window.location.host}/api/v0`, r = u.create({
2453
2470
  baseURL: c || e,
2454
2471
  withCredentials: !0,
@@ -2458,42 +2475,42 @@ const pe = new F({
2458
2475
  const s = await a?.();
2459
2476
  return o.headers.Authorization = s || "", o;
2460
2477
  });
2461
- const t = new ie({ basePath: e });
2478
+ const t = new pe({ basePath: e });
2462
2479
  return {
2463
- models: new X(t, e, r),
2464
- publisher: new ne(t, e, r),
2465
- projects: new oe(t, e, r),
2466
- packages: new ae(t, e, r),
2467
- notebooks: new ee(t, e, r),
2468
- connections: new z(t, e, r),
2469
- databases: new _(t, e, r),
2470
- watchMode: new le(t, e, r)
2480
+ models: new Z(t, e, r),
2481
+ publisher: new ce(t, e, r),
2482
+ projects: new se(t, e, r),
2483
+ packages: new re(t, e, r),
2484
+ notebooks: new te(t, e, r),
2485
+ connections: new _(t, e, r),
2486
+ databases: new Y(t, e, r),
2487
+ watchMode: new ie(t, e, r)
2471
2488
  };
2472
- }, $e = ({
2489
+ }, Ee = ({
2473
2490
  children: c,
2474
2491
  getAccessToken: a,
2475
2492
  baseURL: e,
2476
2493
  mutable: r
2477
2494
  }) => {
2478
2495
  const t = W(
2479
- () => de(e, a),
2496
+ () => he(e, a),
2480
2497
  [e, a]
2481
- ), o = e || `${window.location.protocol}//${window.location.host}/api/v0`, [s, n] = T(r), [l, i] = T(!0);
2482
- f(() => {
2483
- let h = !0;
2498
+ ), o = e || `${window.location.protocol}//${window.location.host}/api/v0`, [s, n] = q(r), [l, i] = q(!0);
2499
+ D(() => {
2500
+ let d = !0;
2484
2501
  return (async () => {
2485
2502
  try {
2486
- const k = await t.publisher.getStatus();
2487
- if (h) {
2488
- const $ = k.data?.frozenConfig;
2489
- let v;
2490
- $ ? v = !1 : r === void 0 ? v = !0 : v = r, n(v), i(!1);
2503
+ const x = await t.publisher.getStatus();
2504
+ if (d) {
2505
+ const w = x.data?.frozenConfig;
2506
+ let I;
2507
+ w ? I = !1 : r === void 0 ? I = !0 : I = r, n(I), i(!1);
2491
2508
  }
2492
- } catch (k) {
2493
- console.error("Failed to fetch publisher status:", k), h && (n(r), i(!1));
2509
+ } catch (x) {
2510
+ console.error("Failed to fetch publisher status:", x), d && (n(r), i(!1));
2494
2511
  }
2495
2512
  })(), () => {
2496
- h = !1;
2513
+ d = !1;
2497
2514
  };
2498
2515
  }, [t, r]);
2499
2516
  const p = {
@@ -2503,63 +2520,65 @@ const pe = new F({
2503
2520
  mutable: s,
2504
2521
  isLoadingStatus: l
2505
2522
  };
2506
- return /* @__PURE__ */ w(E, { client: pe, children: /* @__PURE__ */ w(M.Provider, { value: p, children: c }) });
2507
- }, Fe = () => {
2508
- const c = L(M);
2523
+ return /* @__PURE__ */ Q(L, { client: de, children: /* @__PURE__ */ Q(F.Provider, { value: p, children: c }) });
2524
+ }, Le = () => {
2525
+ const c = H(F);
2509
2526
  if (c === void 0)
2510
2527
  throw new Error("useServer must be used within a ServerProvider");
2511
2528
  return c;
2512
2529
  };
2513
2530
  export {
2514
2531
  Oe as A,
2515
- ee as B,
2532
+ te as B,
2516
2533
  ge as C,
2517
2534
  je as D,
2518
- x as E,
2519
- Qe as F,
2520
- ae as G,
2521
- re as H,
2522
- A as I,
2523
- Be as J,
2524
- oe as K,
2525
- xe as L,
2526
- Y as M,
2527
- Ae as N,
2528
- se as O,
2529
- te as P,
2530
- q as Q,
2531
- qe as R,
2532
- $e as S,
2533
- ne as T,
2534
- R as U,
2535
- Me as V,
2536
- ce as W,
2537
- le as X,
2538
- ie as Y,
2535
+ qe as E,
2536
+ xe as F,
2537
+ k as G,
2538
+ Be as H,
2539
+ re as I,
2540
+ oe as J,
2541
+ N as K,
2542
+ Ae as L,
2543
+ X as M,
2544
+ ke as N,
2545
+ Me as O,
2546
+ ae as P,
2547
+ se as Q,
2548
+ ne as R,
2549
+ Ee as S,
2550
+ $ as T,
2551
+ $e as U,
2552
+ ce as V,
2553
+ le as W,
2554
+ U as X,
2555
+ Fe as Y,
2556
+ ie as Z,
2557
+ pe as _,
2539
2558
  be as a,
2540
2559
  Se as b,
2541
2560
  ye as c,
2542
2561
  Ce as d,
2543
- ke as e,
2544
- Ne as f,
2545
- pe as g,
2546
- G as h,
2562
+ Ne as e,
2563
+ ve as f,
2564
+ de as g,
2565
+ z as h,
2547
2566
  y as i,
2548
- ve as j,
2549
- z as k,
2567
+ Ie as j,
2568
+ _ as k,
2550
2569
  J as l,
2551
- Q as m,
2552
- Ie as n,
2553
- Re as o,
2570
+ B as m,
2571
+ Re as n,
2572
+ Ue as o,
2554
2573
  K as p,
2555
- B as q,
2556
- Ue as r,
2557
- _ as s,
2558
- N as t,
2559
- Fe as u,
2560
- we as v,
2561
- X as w,
2562
- Z as x,
2563
- I as y,
2564
- Te as z
2574
+ M as q,
2575
+ we as r,
2576
+ Y as s,
2577
+ v as t,
2578
+ Le as u,
2579
+ Te as v,
2580
+ Z as w,
2581
+ ee as x,
2582
+ R as y,
2583
+ Qe as z
2565
2584
  };