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