@malloy-publisher/sdk 0.0.246 → 0.0.248
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-BAyKR6My.es.js → ServerProvider-BxEh3nFI.es.js} +164 -159
- package/dist/ServerProvider-Dg5S1qBU.cjs.js +1 -0
- package/dist/client/api.d.ts +89 -17
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +77 -76
- package/dist/{core-BCwj9ZvB.es.js → core-BuvlzSIX.es.js} +1 -1
- package/dist/{core-C-dEZW_6.cjs.js → core-C86Rb7tJ.cjs.js} +1 -1
- package/dist/{index-Dx9MNCoh.es.js → index-BdtAZ5k6.es.js} +2 -2
- package/dist/{index-5I0pychn.cjs.js → index-MES4MGpQ.cjs.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +14 -14
- package/package.json +1 -1
- package/dist/ServerProvider-cgFkfnXi.cjs.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const Q=require("react/jsx-runtime"),j=require("@tanstack/react-query"),h=require("axios"),A=require("react"),O=require("@mui/material"),u="http://localhost/api/v0".replace(/\/+$/,"");class x{constructor(n,e=u,r=h){this.basePath=e,this.axios=r,n&&(this.configuration=n,this.basePath=n.basePath??e)}configuration}class Ee extends Error{constructor(n,e){super(e),this.field=n,this.name="RequiredError"}}const g={},P="https://example.com",m=function(l,n,e){if(e==null)throw new Ee(n,`Required parameter ${n} was null or undefined when calling ${l}.`)};function q(l,n,e=""){n!=null&&(typeof n=="object"?Array.isArray(n)?n.forEach(r=>q(l,r,e)):Object.keys(n).forEach(r=>q(l,n[r],`${e}${e!==""?".":""}${r}`)):l.has(e)?l.append(e,n):l.set(e,n))}const b=function(l,...n){const e=new URLSearchParams(l.search);q(e,n),l.search=e.toString()},C=function(l,n,e){const r=typeof l!="string";return(r&&e&&e.isJsonMime?e.isJsonMime(n.headers["Content-Type"]):r)?JSON.stringify(l!==void 0?l:{}):l||""},v=function(l){return l.pathname+l.search+l.hash},V=function(l,n,e,r){return(a=n,t=e)=>{const o={...l.options,url:(a.defaults.baseURL?"":r?.basePath??t)+l.url};return a.request(o)}},Te={Bigquery:"bigquery",Snowflake:"snowflake",Postgres:"postgres",Gcs:"gcs",S3:"s3",Azure:"azure"},Ne={ServicePrincipal:"service_principal",SasToken:"sas_token"},Ue={Error:"error",Warn:"warn",Debug:"debug"},Me={Append:"append",File:"file",Package:"package"},we={Success:"success",Error:"error"},fe={Postgres:"postgres",Bigquery:"bigquery",Snowflake:"snowflake",Trino:"trino",Databricks:"databricks",Mysql:"mysql",Duckdb:"duckdb",Motherduck:"motherduck",Ducklake:"ducklake",Publisher:"publisher"},Fe={Ssh:"ssh"},Be={Ok:"ok",Failed:"failed"},Qe={Viewport:"viewport"},ze={Embedded:"embedded",Materialized:"materialized"},$e={Equal:"equal",In:"in",Like:"like",GreaterThan:"greater_than",LessThan:"less_than"},qe={Live:"live",StaleOk:"stale_ok",Fail:"fail"},Le={Select:"select",Multiselect:"multiselect"},De={Merge:"merge",RangeReplace:"range_replace"},je={Debug:"debug",Info:"info",Warn:"warn",Error:"error"},He={Persist:"persist",Preaggregate:"preaggregate"},_e={Live:"live",StaleOk:"stale_ok",Fail:"fail"},We={Delta:"delta",Full:"full",None:"none"},Ge={Pending:"PENDING",ManifestRowsReady:"MANIFEST_ROWS_READY",ManifestFileReady:"MANIFEST_FILE_READY",Failed:"FAILED",Cancelled:"CANCELLED"},Ye={Markdown:"markdown",Code:"code"},Ke={Markdown:"markdown",Code:"code"},Je={Version:"version",Package:"package"},Xe={Declared:"declared",All:"all"},Ze={Unbound:"unbound",Bound:"bound",LiveFallback:"live_fallback"},ea={Error:"error",Warn:"warn"},aa={Persist:"persist",Preaggregate:"preaggregate"},ta={Disable:"disable",NoVerify:"no-verify",VerifyCa:"verify-ca",VerifyFull:"verify-full"},na={Interactive:"interactive",Materialize:"materialize",Index:"index",Ops:"ops"},ra={Query:"query",ServerDefault:"server_default"},oa={Storage:"storage",LiveFallback:"live_fallback"},sa={Snapshot:"SNAPSHOT",Copy:"COPY"},la={Publish:"publish",OnDemand:"on_demand",Scheduler:"scheduler"},ca={Initializing:"initializing",Serving:"serving",Draining:"draining",Throttled:"throttled"},ia={Light:"light",Dark:"dark",Auto:"auto"},J=function(l){return{createConnection:async(n,e,r,a={})=>{m("createConnection","environmentName",n),m("createConnection","connectionName",e),m("createConnection","connection",r);const t="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},p={};i["Content-Type"]="application/json",b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},c.data=C(r,c,l),{url:v(o),options:c}},deleteConnection:async(n,e,r={})=>{m("deleteConnection","environmentName",n),m("deleteConnection","connectionName",e);const a="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"DELETE",...o,...r},c={};b(t,{});let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},{url:v(t),options:s}},getConnection:async(n,e,r={})=>{m("getConnection","environmentName",n),m("getConnection","connectionName",e);const a="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},{url:v(t),options:s}},getTable:async(n,e,r,a,t={})=>{m("getTable","environmentName",n),m("getTable","connectionName",e),m("getTable","schemaName",r),m("getTable","tablePath",a);const o="/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))).replace("{schemaName}",encodeURIComponent(String(r))).replace("{tablePath}",encodeURIComponent(String(a))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},p={};b(s,{});let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}},getTableInPackage:async(n,e,r,a,t,o={})=>{m("getTableInPackage","environmentName",n),m("getTableInPackage","packageName",e),m("getTableInPackage","connectionName",r),m("getTableInPackage","schemaName",a),m("getTableInPackage","tablePath",t);const s="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))).replace("{schemaName}",encodeURIComponent(String(a))).replace("{tablePath}",encodeURIComponent(String(t))),c=new URL(s,P);let i;l&&(i=l.baseOptions);const p={method:"GET",...i,...o},d={};b(c,{});let k=i&&i.headers?i.headers:{};return p.headers={...d,...k,...o.headers},{url:v(c),options:p}},listConnections:async(n,e={})=>{m("listConnections","environmentName",n);const r="/environments/{environmentName}/connections".replace("{environmentName}",encodeURIComponent(String(n))),a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"GET",...t,...e},s={};b(a,{});let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},{url:v(a),options:o}},listSchemas:async(n,e,r={})=>{m("listSchemas","environmentName",n),m("listSchemas","connectionName",e);const a="/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},{url:v(t),options:s}},listSchemasInPackage:async(n,e,r,a={})=>{m("listSchemasInPackage","environmentName",n),m("listSchemasInPackage","packageName",e),m("listSchemasInPackage","connectionName",r);const t="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={};b(o,{});let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},{url:v(o),options:c}},listTables:async(n,e,r,a,t={})=>{m("listTables","environmentName",n),m("listTables","connectionName",e),m("listTables","schemaName",r);const o="/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))).replace("{schemaName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},p={},d={};a&&(d.tableNames=a),b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}},listTablesInPackage:async(n,e,r,a,t,o={})=>{m("listTablesInPackage","environmentName",n),m("listTablesInPackage","packageName",e),m("listTablesInPackage","connectionName",r),m("listTablesInPackage","schemaName",a);const s="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))).replace("{schemaName}",encodeURIComponent(String(a))),c=new URL(s,P);let i;l&&(i=l.baseOptions);const p={method:"GET",...i,...o},d={},y={};t&&(y.tableNames=t),b(c,y);let k=i&&i.headers?i.headers:{};return p.headers={...d,...k,...o.headers},{url:v(c),options:p}},postQuerydata:async(n,e,r,a={})=>{m("postQuerydata","environmentName",n),m("postQuerydata","connectionName",e),m("postQuerydata","postQuerydataRequest",r);const t="/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},p={};i["Content-Type"]="application/json",b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},c.data=C(r,c,l),{url:v(o),options:c}},postQuerydataInPackage:async(n,e,r,a,t={})=>{m("postQuerydataInPackage","environmentName",n),m("postQuerydataInPackage","packageName",e),m("postQuerydataInPackage","connectionName",r),m("postQuerydataInPackage","postQuerydataRequest",a);const o="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},p={},d={};p["Content-Type"]="application/json",b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},i.data=C(a,i,l),{url:v(s),options:i}},postSqlsource:async(n,e,r,a={})=>{m("postSqlsource","environmentName",n),m("postSqlsource","connectionName",e),m("postSqlsource","postSqlsourceRequest",r);const t="/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},p={};i["Content-Type"]="application/json",b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},c.data=C(r,c,l),{url:v(o),options:c}},postSqlsourceInPackage:async(n,e,r,a,t={})=>{m("postSqlsourceInPackage","environmentName",n),m("postSqlsourceInPackage","packageName",e),m("postSqlsourceInPackage","connectionName",r),m("postSqlsourceInPackage","postSqlsourceRequest",a);const o="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},p={},d={};p["Content-Type"]="application/json",b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},i.data=C(a,i,l),{url:v(s),options:i}},postTemporarytable:async(n,e,r,a={})=>{m("postTemporarytable","environmentName",n),m("postTemporarytable","connectionName",e),m("postTemporarytable","postSqlsourceRequest",r);const t="/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},p={};i["Content-Type"]="application/json",b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},c.data=C(r,c,l),{url:v(o),options:c}},postTemporarytableInPackage:async(n,e,r,a,t={})=>{m("postTemporarytableInPackage","environmentName",n),m("postTemporarytableInPackage","packageName",e),m("postTemporarytableInPackage","connectionName",r),m("postTemporarytableInPackage","postSqlsourceRequest",a);const o="/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{connectionName}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},p={},d={};p["Content-Type"]="application/json",b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},i.data=C(a,i,l),{url:v(s),options:i}},updateConnection:async(n,e,r,a={})=>{m("updateConnection","environmentName",n),m("updateConnection","connectionName",e),m("updateConnection","updateConnectionRequest",r);const t="/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{connectionName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"PATCH",...s,...a},i={},p={};i["Content-Type"]="application/json",b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},c.data=C(r,c,l),{url:v(o),options:c}}}},S=function(l){const n=J(l);return{async createConnection(e,r,a,t){const o=await n.createConnection(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.createConnection"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async deleteConnection(e,r,a){const t=await n.deleteConnection(e,r,a),o=l?.serverIndex??0,s=g["ConnectionsApi.deleteConnection"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async getConnection(e,r,a){const t=await n.getConnection(e,r,a),o=l?.serverIndex??0,s=g["ConnectionsApi.getConnection"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async getTable(e,r,a,t,o){const s=await n.getTable(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.getTable"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async getTableInPackage(e,r,a,t,o,s){const c=await n.getTableInPackage(e,r,a,t,o,s),i=l?.serverIndex??0,p=g["ConnectionsApi.getTableInPackage"]?.[i]?.url;return(d,y)=>V(c,h,u,l)(d,p||y)},async listConnections(e,r){const a=await n.listConnections(e,r),t=l?.serverIndex??0,o=g["ConnectionsApi.listConnections"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async listSchemas(e,r,a){const t=await n.listSchemas(e,r,a),o=l?.serverIndex??0,s=g["ConnectionsApi.listSchemas"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async listSchemasInPackage(e,r,a,t){const o=await n.listSchemasInPackage(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async listTables(e,r,a,t,o){const s=await n.listTables(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.listTables"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async listTablesInPackage(e,r,a,t,o,s){const c=await n.listTablesInPackage(e,r,a,t,o,s),i=l?.serverIndex??0,p=g["ConnectionsApi.listTablesInPackage"]?.[i]?.url;return(d,y)=>V(c,h,u,l)(d,p||y)},async postQuerydata(e,r,a,t){const o=await n.postQuerydata(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.postQuerydata"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async postQuerydataInPackage(e,r,a,t,o){const s=await n.postQuerydataInPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.postQuerydataInPackage"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async postSqlsource(e,r,a,t){const o=await n.postSqlsource(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.postSqlsource"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async postSqlsourceInPackage(e,r,a,t,o){const s=await n.postSqlsourceInPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.postSqlsourceInPackage"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async postTemporarytable(e,r,a,t){const o=await n.postTemporarytable(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.postTemporarytable"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async postTemporarytableInPackage(e,r,a,t,o){const s=await n.postTemporarytableInPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["ConnectionsApi.postTemporarytableInPackage"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async updateConnection(e,r,a,t){const o=await n.updateConnection(e,r,a,t),s=l?.serverIndex??0,c=g["ConnectionsApi.updateConnection"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)}}},pa=function(l,n,e){const r=S(l);return{createConnection(a,t,o,s){return r.createConnection(a,t,o,s).then(c=>c(e,n))},deleteConnection(a,t,o){return r.deleteConnection(a,t,o).then(s=>s(e,n))},getConnection(a,t,o){return r.getConnection(a,t,o).then(s=>s(e,n))},getTable(a,t,o,s,c){return r.getTable(a,t,o,s,c).then(i=>i(e,n))},getTableInPackage(a,t,o,s,c,i){return r.getTableInPackage(a,t,o,s,c,i).then(p=>p(e,n))},listConnections(a,t){return r.listConnections(a,t).then(o=>o(e,n))},listSchemas(a,t,o){return r.listSchemas(a,t,o).then(s=>s(e,n))},listSchemasInPackage(a,t,o,s){return r.listSchemasInPackage(a,t,o,s).then(c=>c(e,n))},listTables(a,t,o,s,c){return r.listTables(a,t,o,s,c).then(i=>i(e,n))},listTablesInPackage(a,t,o,s,c,i){return r.listTablesInPackage(a,t,o,s,c,i).then(p=>p(e,n))},postQuerydata(a,t,o,s){return r.postQuerydata(a,t,o,s).then(c=>c(e,n))},postQuerydataInPackage(a,t,o,s,c){return r.postQuerydataInPackage(a,t,o,s,c).then(i=>i(e,n))},postSqlsource(a,t,o,s){return r.postSqlsource(a,t,o,s).then(c=>c(e,n))},postSqlsourceInPackage(a,t,o,s,c){return r.postSqlsourceInPackage(a,t,o,s,c).then(i=>i(e,n))},postTemporarytable(a,t,o,s){return r.postTemporarytable(a,t,o,s).then(c=>c(e,n))},postTemporarytableInPackage(a,t,o,s,c){return r.postTemporarytableInPackage(a,t,o,s,c).then(i=>i(e,n))},updateConnection(a,t,o,s){return r.updateConnection(a,t,o,s).then(c=>c(e,n))}}};class X extends x{createConnection(n,e,r,a){return S(this.configuration).createConnection(n,e,r,a).then(t=>t(this.axios,this.basePath))}deleteConnection(n,e,r){return S(this.configuration).deleteConnection(n,e,r).then(a=>a(this.axios,this.basePath))}getConnection(n,e,r){return S(this.configuration).getConnection(n,e,r).then(a=>a(this.axios,this.basePath))}getTable(n,e,r,a,t){return S(this.configuration).getTable(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}getTableInPackage(n,e,r,a,t,o){return S(this.configuration).getTableInPackage(n,e,r,a,t,o).then(s=>s(this.axios,this.basePath))}listConnections(n,e){return S(this.configuration).listConnections(n,e).then(r=>r(this.axios,this.basePath))}listSchemas(n,e,r){return S(this.configuration).listSchemas(n,e,r).then(a=>a(this.axios,this.basePath))}listSchemasInPackage(n,e,r,a){return S(this.configuration).listSchemasInPackage(n,e,r,a).then(t=>t(this.axios,this.basePath))}listTables(n,e,r,a,t){return S(this.configuration).listTables(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listTablesInPackage(n,e,r,a,t,o){return S(this.configuration).listTablesInPackage(n,e,r,a,t,o).then(s=>s(this.axios,this.basePath))}postQuerydata(n,e,r,a){return S(this.configuration).postQuerydata(n,e,r,a).then(t=>t(this.axios,this.basePath))}postQuerydataInPackage(n,e,r,a,t){return S(this.configuration).postQuerydataInPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}postSqlsource(n,e,r,a){return S(this.configuration).postSqlsource(n,e,r,a).then(t=>t(this.axios,this.basePath))}postSqlsourceInPackage(n,e,r,a,t){return S(this.configuration).postSqlsourceInPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}postTemporarytable(n,e,r,a){return S(this.configuration).postTemporarytable(n,e,r,a).then(t=>t(this.axios,this.basePath))}postTemporarytableInPackage(n,e,r,a,t){return S(this.configuration).postTemporarytableInPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}updateConnection(n,e,r,a){return S(this.configuration).updateConnection(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const Z=function(l){return{testConnectionConfiguration:async(n,e={})=>{m("testConnectionConfiguration","connection",n);const r="/connections/test",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"POST",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=C(n,o,l),{url:v(a),options:o}}}},H=function(l){const n=Z(l);return{async testConnectionConfiguration(e,r){const a=await n.testConnectionConfiguration(e,r),t=l?.serverIndex??0,o=g["ConnectionsTestApi.testConnectionConfiguration"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)}}},da=function(l,n,e){const r=H(l);return{testConnectionConfiguration(a,t){return r.testConnectionConfiguration(a,t).then(o=>o(e,n))}}};class ma extends x{testConnectionConfiguration(n,e){return H(this.configuration).testConnectionConfiguration(n,e).then(r=>r(this.axios,this.basePath))}}const ee=function(l){return{listDataApps:async(n,e,r={})=>{m("listDataApps","environmentName",n),m("listDataApps","packageName",e);const a="/environments/{environmentName}/packages/{packageName}/data-apps".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},{url:v(t),options:s}}}},_=function(l){const n=ee(l);return{async listDataApps(e,r,a){const t=await n.listDataApps(e,r,a),o=l?.serverIndex??0,s=g["DataAppsApi.listDataApps"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)}}},ha=function(l,n,e){const r=_(l);return{listDataApps(a,t,o){return r.listDataApps(a,t,o).then(s=>s(e,n))}}};class ae extends x{listDataApps(n,e,r){return _(this.configuration).listDataApps(n,e,r).then(a=>a(this.axios,this.basePath))}}const te=function(l){return{listDatabases:async(n,e,r,a={})=>{m("listDatabases","environmentName",n),m("listDatabases","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},p={};r!==void 0&&(p.versionId=r),b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},{url:v(o),options:c}}}},W=function(l){const n=te(l);return{async listDatabases(e,r,a,t){const o=await n.listDatabases(e,r,a,t),s=l?.serverIndex??0,c=g["DatabasesApi.listDatabases"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)}}},ua=function(l,n,e){const r=W(l);return{listDatabases(a,t,o,s){return r.listDatabases(a,t,o,s).then(c=>c(e,n))}}};class ne extends x{listDatabases(n,e,r,a){return W(this.configuration).listDatabases(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const re=function(l){return{createEnvironment:async(n,e={})=>{m("createEnvironment","environment",n);const r="/environments",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"POST",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=C(n,o,l),{url:v(a),options:o}},deleteEnvironment:async(n,e={})=>{m("deleteEnvironment","environmentName",n);const r="/environments/{environmentName}".replace("{environmentName}",encodeURIComponent(String(n))),a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"DELETE",...t,...e},s={};b(a,{});let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},{url:v(a),options:o}},getEnvironment:async(n,e,r={})=>{m("getEnvironment","environmentName",n);const a="/environments/{environmentName}".replace("{environmentName}",encodeURIComponent(String(n))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={},i={};e!==void 0&&(i.reload=e),b(t,i);let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},{url:v(t),options:s}},listEnvironments:async(n={})=>{const e="/environments",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},updateEnvironment:async(n,e,r={})=>{m("updateEnvironment","environmentName",n),m("updateEnvironment","environment",e);const a="/environments/{environmentName}".replace("{environmentName}",encodeURIComponent(String(n))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"PATCH",...o,...r},c={},i={};c["Content-Type"]="application/json",b(t,i);let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},s.data=C(e,s,l),{url:v(t),options:s}}}},E=function(l){const n=re(l);return{async createEnvironment(e,r){const a=await n.createEnvironment(e,r),t=l?.serverIndex??0,o=g["EnvironmentsApi.createEnvironment"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async deleteEnvironment(e,r){const a=await n.deleteEnvironment(e,r),t=l?.serverIndex??0,o=g["EnvironmentsApi.deleteEnvironment"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async getEnvironment(e,r,a){const t=await n.getEnvironment(e,r,a),o=l?.serverIndex??0,s=g["EnvironmentsApi.getEnvironment"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async listEnvironments(e){const r=await n.listEnvironments(e),a=l?.serverIndex??0,t=g["EnvironmentsApi.listEnvironments"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async updateEnvironment(e,r,a){const t=await n.updateEnvironment(e,r,a),o=l?.serverIndex??0,s=g["EnvironmentsApi.updateEnvironment"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)}}},ga=function(l,n,e){const r=E(l);return{createEnvironment(a,t){return r.createEnvironment(a,t).then(o=>o(e,n))},deleteEnvironment(a,t){return r.deleteEnvironment(a,t).then(o=>o(e,n))},getEnvironment(a,t,o){return r.getEnvironment(a,t,o).then(s=>s(e,n))},listEnvironments(a){return r.listEnvironments(a).then(t=>t(e,n))},updateEnvironment(a,t,o){return r.updateEnvironment(a,t,o).then(s=>s(e,n))}}};class oe extends x{createEnvironment(n,e){return E(this.configuration).createEnvironment(n,e).then(r=>r(this.axios,this.basePath))}deleteEnvironment(n,e){return E(this.configuration).deleteEnvironment(n,e).then(r=>r(this.axios,this.basePath))}getEnvironment(n,e,r){return E(this.configuration).getEnvironment(n,e,r).then(a=>a(this.axios,this.basePath))}listEnvironments(n){return E(this.configuration).listEnvironments(n).then(e=>e(this.axios,this.basePath))}updateEnvironment(n,e,r){return E(this.configuration).updateEnvironment(n,e,r).then(a=>a(this.axios,this.basePath))}}const se=function(l){return{createMaterialization:async(n,e,r,a={})=>{m("createMaterialization","environmentName",n),m("createMaterialization","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"POST",...s,...a},i={},p={};i["Content-Type"]="application/json",b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},c.data=C(r,c,l),{url:v(o),options:c}},deleteMaterialization:async(n,e,r,a,t={})=>{m("deleteMaterialization","environmentName",n),m("deleteMaterialization","packageName",e),m("deleteMaterialization","materializationId",r);const o="/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{materializationId}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"DELETE",...c,...t},p={},d={};a!==void 0&&(d.dropTables=a),b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}},getMaterialization:async(n,e,r,a={})=>{m("getMaterialization","environmentName",n),m("getMaterialization","packageName",e),m("getMaterialization","materializationId",r);const t="/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{materializationId}",encodeURIComponent(String(r))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={};b(o,{});let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},{url:v(o),options:c}},listEnvironmentMaterializations:async(n,e,r,a={})=>{m("listEnvironmentMaterializations","environmentName",n);const t="/environments/{environmentName}/packages/materializations".replace("{environmentName}",encodeURIComponent(String(n))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},p={};e!==void 0&&(p.limit=e),r!==void 0&&(p.offset=r),b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},{url:v(o),options:c}},listMaterializations:async(n,e,r,a,t={})=>{m("listMaterializations","environmentName",n),m("listMaterializations","packageName",e);const o="/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},p={},d={};r!==void 0&&(d.limit=r),a!==void 0&&(d.offset=a),b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}},materializationAction:async(n,e,r,a,t={})=>{m("materializationAction","environmentName",n),m("materializationAction","packageName",e),m("materializationAction","materializationId",r),m("materializationAction","action",a);const o="/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{materializationId}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},p={},d={};a!==void 0&&(d.action=a),b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}}}},R=function(l){const n=se(l);return{async createMaterialization(e,r,a,t){const o=await n.createMaterialization(e,r,a,t),s=l?.serverIndex??0,c=g["MaterializationsApi.createMaterialization"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async deleteMaterialization(e,r,a,t,o){const s=await n.deleteMaterialization(e,r,a,t,o),c=l?.serverIndex??0,i=g["MaterializationsApi.deleteMaterialization"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async getMaterialization(e,r,a,t){const o=await n.getMaterialization(e,r,a,t),s=l?.serverIndex??0,c=g["MaterializationsApi.getMaterialization"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async listEnvironmentMaterializations(e,r,a,t){const o=await n.listEnvironmentMaterializations(e,r,a,t),s=l?.serverIndex??0,c=g["MaterializationsApi.listEnvironmentMaterializations"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)},async listMaterializations(e,r,a,t,o){const s=await n.listMaterializations(e,r,a,t,o),c=l?.serverIndex??0,i=g["MaterializationsApi.listMaterializations"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async materializationAction(e,r,a,t,o){const s=await n.materializationAction(e,r,a,t,o),c=l?.serverIndex??0,i=g["MaterializationsApi.materializationAction"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)}}},Pa=function(l,n,e){const r=R(l);return{createMaterialization(a,t,o,s){return r.createMaterialization(a,t,o,s).then(c=>c(e,n))},deleteMaterialization(a,t,o,s,c){return r.deleteMaterialization(a,t,o,s,c).then(i=>i(e,n))},getMaterialization(a,t,o,s){return r.getMaterialization(a,t,o,s).then(c=>c(e,n))},listEnvironmentMaterializations(a,t,o,s){return r.listEnvironmentMaterializations(a,t,o,s).then(c=>c(e,n))},listMaterializations(a,t,o,s,c){return r.listMaterializations(a,t,o,s,c).then(i=>i(e,n))},materializationAction(a,t,o,s,c){return r.materializationAction(a,t,o,s,c).then(i=>i(e,n))}}};class le extends x{createMaterialization(n,e,r,a){return R(this.configuration).createMaterialization(n,e,r,a).then(t=>t(this.axios,this.basePath))}deleteMaterialization(n,e,r,a,t){return R(this.configuration).deleteMaterialization(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}getMaterialization(n,e,r,a){return R(this.configuration).getMaterialization(n,e,r,a).then(t=>t(this.axios,this.basePath))}listEnvironmentMaterializations(n,e,r,a){return R(this.configuration).listEnvironmentMaterializations(n,e,r,a).then(t=>t(this.axios,this.basePath))}listMaterializations(n,e,r,a,t){return R(this.configuration).listMaterializations(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}materializationAction(n,e,r,a,t){return R(this.configuration).materializationAction(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}}const ba={Stop:"stop"},ce=function(l){return{compileModelSource:async(n,e,r,a,t={})=>{m("compileModelSource","environmentName",n),m("compileModelSource","packageName",e),m("compileModelSource","path",r),m("compileModelSource","compileRequest",a);const o="/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},p={},d={};p["Content-Type"]="application/json",b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},i.data=C(a,i,l),{url:v(s),options:i}},executeQueryModel:async(n,e,r,a,t={})=>{m("executeQueryModel","environmentName",n),m("executeQueryModel","packageName",e),m("executeQueryModel","path",r),m("executeQueryModel","queryRequest",a);const o="/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"POST",...c,...t},p={},d={};p["Content-Type"]="application/json",b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},i.data=C(a,i,l),{url:v(s),options:i}},getModel:async(n,e,r,a,t={})=>{m("getModel","environmentName",n),m("getModel","packageName",e),m("getModel","path",r);const o="/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},p={},d={};a!==void 0&&(d.versionId=a),b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}},listModels:async(n,e,r,a={})=>{m("listModels","environmentName",n),m("listModels","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},p={};r!==void 0&&(p.versionId=r),b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},{url:v(o),options:c}}}},U=function(l){const n=ce(l);return{async compileModelSource(e,r,a,t,o){const s=await n.compileModelSource(e,r,a,t,o),c=l?.serverIndex??0,i=g["ModelsApi.compileModelSource"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async executeQueryModel(e,r,a,t,o){const s=await n.executeQueryModel(e,r,a,t,o),c=l?.serverIndex??0,i=g["ModelsApi.executeQueryModel"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async getModel(e,r,a,t,o){const s=await n.getModel(e,r,a,t,o),c=l?.serverIndex??0,i=g["ModelsApi.getModel"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async listModels(e,r,a,t){const o=await n.listModels(e,r,a,t),s=l?.serverIndex??0,c=g["ModelsApi.listModels"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)}}},va=function(l,n,e){const r=U(l);return{compileModelSource(a,t,o,s,c){return r.compileModelSource(a,t,o,s,c).then(i=>i(e,n))},executeQueryModel(a,t,o,s,c){return r.executeQueryModel(a,t,o,s,c).then(i=>i(e,n))},getModel(a,t,o,s,c){return r.getModel(a,t,o,s,c).then(i=>i(e,n))},listModels(a,t,o,s){return r.listModels(a,t,o,s).then(c=>c(e,n))}}};class ie extends x{compileModelSource(n,e,r,a,t){return U(this.configuration).compileModelSource(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}executeQueryModel(n,e,r,a,t){return U(this.configuration).executeQueryModel(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}getModel(n,e,r,a,t){return U(this.configuration).getModel(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listModels(n,e,r,a){return U(this.configuration).listModels(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const pe=function(l){return{executeNotebookCell:async(n,e,r,a,t,o,s,c,i={})=>{m("executeNotebookCell","environmentName",n),m("executeNotebookCell","packageName",e),m("executeNotebookCell","path",r),m("executeNotebookCell","cellIndex",a);const p="/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))).replace("{cellIndex}",encodeURIComponent(String(a))),d=new URL(p,P);let y;l&&(y=l.baseOptions);const k={method:"GET",...y,...i},F={},I={};t!==void 0&&(I.versionId=t),o!==void 0&&(I.filter_params=o),s!==void 0&&(I.bypass_filters=s),c!==void 0&&(I.givens=c),b(d,I);let z=y&&y.headers?y.headers:{};return k.headers={...F,...z,...i.headers},{url:v(d),options:k}},getNotebook:async(n,e,r,a,t={})=>{m("getNotebook","environmentName",n),m("getNotebook","packageName",e),m("getNotebook","path",r);const o="/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))).replace("{path}",encodeURIComponent(String(r))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},p={},d={};a!==void 0&&(d.versionId=a),b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}},listNotebooks:async(n,e,r,a={})=>{m("listNotebooks","environmentName",n),m("listNotebooks","packageName",e);const t="/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"GET",...s,...a},i={},p={};r!==void 0&&(p.versionId=r),b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},{url:v(o),options:c}}}},B=function(l){const n=pe(l);return{async executeNotebookCell(e,r,a,t,o,s,c,i,p){const d=await n.executeNotebookCell(e,r,a,t,o,s,c,i,p),y=l?.serverIndex??0,k=g["NotebooksApi.executeNotebookCell"]?.[y]?.url;return(F,I)=>V(d,h,u,l)(F,k||I)},async getNotebook(e,r,a,t,o){const s=await n.getNotebook(e,r,a,t,o),c=l?.serverIndex??0,i=g["NotebooksApi.getNotebook"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async listNotebooks(e,r,a,t){const o=await n.listNotebooks(e,r,a,t),s=l?.serverIndex??0,c=g["NotebooksApi.listNotebooks"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)}}},Va=function(l,n,e){const r=B(l);return{executeNotebookCell(a,t,o,s,c,i,p,d,y){return r.executeNotebookCell(a,t,o,s,c,i,p,d,y).then(k=>k(e,n))},getNotebook(a,t,o,s,c){return r.getNotebook(a,t,o,s,c).then(i=>i(e,n))},listNotebooks(a,t,o,s){return r.listNotebooks(a,t,o,s).then(c=>c(e,n))}}};class de extends x{executeNotebookCell(n,e,r,a,t,o,s,c,i){return B(this.configuration).executeNotebookCell(n,e,r,a,t,o,s,c,i).then(p=>p(this.axios,this.basePath))}getNotebook(n,e,r,a,t){return B(this.configuration).getNotebook(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listNotebooks(n,e,r,a){return B(this.configuration).listNotebooks(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const ya={True:"true",False:"false"},me=function(l){return{createPackage:async(n,e,r={})=>{m("createPackage","environmentName",n),m("createPackage","_package",e);const a="/environments/{environmentName}/packages".replace("{environmentName}",encodeURIComponent(String(n))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"POST",...o,...r},c={},i={};c["Content-Type"]="application/json",b(t,i);let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},s.data=C(e,s,l),{url:v(t),options:s}},deletePackage:async(n,e,r={})=>{m("deletePackage","environmentName",n),m("deletePackage","packageName",e);const a="/environments/{environmentName}/packages/{packageName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"DELETE",...o,...r},c={};b(t,{});let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},{url:v(t),options:s}},getPackage:async(n,e,r,a,t={})=>{m("getPackage","environmentName",n),m("getPackage","packageName",e);const o="/environments/{environmentName}/packages/{packageName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),s=new URL(o,P);let c;l&&(c=l.baseOptions);const i={method:"GET",...c,...t},p={},d={};r!==void 0&&(d.versionId=r),a!==void 0&&(d.reload=a),b(s,d);let y=c&&c.headers?c.headers:{};return i.headers={...p,...y,...t.headers},{url:v(s),options:i}},listPackages:async(n,e={})=>{m("listPackages","environmentName",n);const r="/environments/{environmentName}/packages".replace("{environmentName}",encodeURIComponent(String(n))),a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"GET",...t,...e},s={};b(a,{});let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},{url:v(a),options:o}},updatePackage:async(n,e,r,a={})=>{m("updatePackage","environmentName",n),m("updatePackage","packageName",e),m("updatePackage","_package",r);const t="/environments/{environmentName}/packages/{packageName}".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),o=new URL(t,P);let s;l&&(s=l.baseOptions);const c={method:"PATCH",...s,...a},i={},p={};i["Content-Type"]="application/json",b(o,p);let d=s&&s.headers?s.headers:{};return c.headers={...i,...d,...a.headers},c.data=C(r,c,l),{url:v(o),options:c}}}},T=function(l){const n=me(l);return{async createPackage(e,r,a){const t=await n.createPackage(e,r,a),o=l?.serverIndex??0,s=g["PackagesApi.createPackage"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async deletePackage(e,r,a){const t=await n.deletePackage(e,r,a),o=l?.serverIndex??0,s=g["PackagesApi.deletePackage"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)},async getPackage(e,r,a,t,o){const s=await n.getPackage(e,r,a,t,o),c=l?.serverIndex??0,i=g["PackagesApi.getPackage"]?.[c]?.url;return(p,d)=>V(s,h,u,l)(p,i||d)},async listPackages(e,r){const a=await n.listPackages(e,r),t=l?.serverIndex??0,o=g["PackagesApi.listPackages"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async updatePackage(e,r,a,t){const o=await n.updatePackage(e,r,a,t),s=l?.serverIndex??0,c=g["PackagesApi.updatePackage"]?.[s]?.url;return(i,p)=>V(o,h,u,l)(i,c||p)}}},Oa=function(l,n,e){const r=T(l);return{createPackage(a,t,o){return r.createPackage(a,t,o).then(s=>s(e,n))},deletePackage(a,t,o){return r.deletePackage(a,t,o).then(s=>s(e,n))},getPackage(a,t,o,s,c){return r.getPackage(a,t,o,s,c).then(i=>i(e,n))},listPackages(a,t){return r.listPackages(a,t).then(o=>o(e,n))},updatePackage(a,t,o,s){return r.updatePackage(a,t,o,s).then(c=>c(e,n))}}};class he extends x{createPackage(n,e,r){return T(this.configuration).createPackage(n,e,r).then(a=>a(this.axios,this.basePath))}deletePackage(n,e,r){return T(this.configuration).deletePackage(n,e,r).then(a=>a(this.axios,this.basePath))}getPackage(n,e,r,a,t){return T(this.configuration).getPackage(n,e,r,a,t).then(o=>o(this.axios,this.basePath))}listPackages(n,e){return T(this.configuration).listPackages(n,e).then(r=>r(this.axios,this.basePath))}updatePackage(n,e,r,a){return T(this.configuration).updatePackage(n,e,r,a).then(t=>t(this.axios,this.basePath))}}const ue=function(l){return{deleteTheme:async(n={})=>{const e="/theme",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"DELETE",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},getStatus:async(n={})=>{const e="/status",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},getTheme:async(n={})=>{const e="/theme",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},updateTheme:async(n,e={})=>{m("updateTheme","theme",n);const r="/theme",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"PUT",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=C(n,o,l),{url:v(a),options:o}}}},M=function(l){const n=ue(l);return{async deleteTheme(e){const r=await n.deleteTheme(e),a=l?.serverIndex??0,t=g["PublisherApi.deleteTheme"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async getStatus(e){const r=await n.getStatus(e),a=l?.serverIndex??0,t=g["PublisherApi.getStatus"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async getTheme(e){const r=await n.getTheme(e),a=l?.serverIndex??0,t=g["PublisherApi.getTheme"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async updateTheme(e,r){const a=await n.updateTheme(e,r),t=l?.serverIndex??0,o=g["PublisherApi.updateTheme"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)}}},Sa=function(l,n,e){const r=M(l);return{deleteTheme(a){return r.deleteTheme(a).then(t=>t(e,n))},getStatus(a){return r.getStatus(a).then(t=>t(e,n))},getTheme(a){return r.getTheme(a).then(t=>t(e,n))},updateTheme(a,t){return r.updateTheme(a,t).then(o=>o(e,n))}}};class ge extends x{deleteTheme(n){return M(this.configuration).deleteTheme(n).then(e=>e(this.axios,this.basePath))}getStatus(n){return M(this.configuration).getStatus(n).then(e=>e(this.axios,this.basePath))}getTheme(n){return M(this.configuration).getTheme(n).then(e=>e(this.axios,this.basePath))}updateTheme(n,e){return M(this.configuration).updateTheme(n,e).then(r=>r(this.axios,this.basePath))}}const Pe=function(l){return{getWatchStatus:async(n={})=>{const e="/watch-mode/status",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"GET",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},startWatching:async(n,e={})=>{m("startWatching","startWatchRequest",n);const r="/watch-mode/start",a=new URL(r,P);let t;l&&(t=l.baseOptions);const o={method:"POST",...t,...e},s={},c={};s["Content-Type"]="application/json",b(a,c);let i=t&&t.headers?t.headers:{};return o.headers={...s,...i,...e.headers},o.data=C(n,o,l),{url:v(a),options:o}},stopWatching:async(n={})=>{const e="/watch-mode/stop",r=new URL(e,P);let a;l&&(a=l.baseOptions);const t={method:"POST",...a,...n},o={};b(r,{});let c=a&&a.headers?a.headers:{};return t.headers={...o,...c,...n.headers},{url:v(r),options:t}},streamPackageEvents:async(n,e,r={})=>{m("streamPackageEvents","environmentName",n),m("streamPackageEvents","packageName",e);const a="/environments/{environmentName}/packages/{packageName}/events".replace("{environmentName}",encodeURIComponent(String(n))).replace("{packageName}",encodeURIComponent(String(e))),t=new URL(a,P);let o;l&&(o=l.baseOptions);const s={method:"GET",...o,...r},c={};b(t,{});let p=o&&o.headers?o.headers:{};return s.headers={...c,...p,...r.headers},{url:v(t),options:s}}}},w=function(l){const n=Pe(l);return{async getWatchStatus(e){const r=await n.getWatchStatus(e),a=l?.serverIndex??0,t=g["WatchModeApi.getWatchStatus"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async startWatching(e,r){const a=await n.startWatching(e,r),t=l?.serverIndex??0,o=g["WatchModeApi.startWatching"]?.[t]?.url;return(s,c)=>V(a,h,u,l)(s,o||c)},async stopWatching(e){const r=await n.stopWatching(e),a=l?.serverIndex??0,t=g["WatchModeApi.stopWatching"]?.[a]?.url;return(o,s)=>V(r,h,u,l)(o,t||s)},async streamPackageEvents(e,r,a){const t=await n.streamPackageEvents(e,r,a),o=l?.serverIndex??0,s=g["WatchModeApi.streamPackageEvents"]?.[o]?.url;return(c,i)=>V(t,h,u,l)(c,s||i)}}},Ca=function(l,n,e){const r=w(l);return{getWatchStatus(a){return r.getWatchStatus(a).then(t=>t(e,n))},startWatching(a,t){return r.startWatching(a,t).then(o=>o(e,n))},stopWatching(a){return r.stopWatching(a).then(t=>t(e,n))},streamPackageEvents(a,t,o){return r.streamPackageEvents(a,t,o).then(s=>s(e,n))}}};class be extends x{getWatchStatus(n){return w(this.configuration).getWatchStatus(n).then(e=>e(this.axios,this.basePath))}startWatching(n,e){return w(this.configuration).startWatching(n,e).then(r=>r(this.axios,this.basePath))}stopWatching(n){return w(this.configuration).stopWatching(n).then(e=>e(this.axios,this.basePath))}streamPackageEvents(n,e,r){return w(this.configuration).streamPackageEvents(n,e,r).then(a=>a(this.axios,this.basePath))}}class ve{apiKey;username;password;accessToken;basePath;serverIndex;baseOptions;formDataCtor;constructor(n={}){this.apiKey=n.apiKey,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.serverIndex=n.serverIndex,this.baseOptions={...n.baseOptions,headers:{...n.baseOptions?.headers}},this.formDataCtor=n.formDataCtor}isJsonMime(n){const e=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return n!==null&&(e.test(n)||n.toLowerCase()==="application/json-patch+json")}}const f={teal:"#14b3cb",orange:"#e47404",darkBlue:"#1474a4"},ka='"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace',Aa=O.styled(O.Card)({display:"flex",flexDirection:"column",height:"100%",boxShadow:"none",border:"none",backgroundColor:"transparent"}),xa=O.styled(O.CardContent)({display:"flex",flexDirection:"column",padding:"0",flexGrow:1}),Ia=O.styled(O.CardMedia)({padding:"0"}),Ra=O.styled("div")(({theme:l})=>({backgroundColor:l.palette.background.default,padding:"0 8px 0px 8px",borderRadius:"12px",boxShadow:"none",border:"none",maxWidth:"1200px",margin:"0 auto"}));O.styled("div")(({theme:l})=>({marginBottom:"40px",paddingBottom:"24px",borderBottom:`1px solid ${l.palette.divider}`}));const Ea=O.styled("div")({marginBottom:"48px",padding:"0",backgroundColor:"transparent",border:"none",boxShadow:"none"}),Ta=O.styled("div")({marginBottom:"0",padding:"0",backgroundColor:"transparent",border:"none",boxShadow:"none"}),Na=O.styled("div")({backgroundColor:"transparent",paddingTop:"12px",paddingBottom:"2px",borderRadius:"8px",border:"none",boxShadow:"none",marginBottom:"0"});O.styled("div")(({theme:l})=>({backgroundColor:l.palette.mode==="dark"?"#1e293b":"#f8f9fa",padding:"16px",borderRadius:"8px",border:`1px solid ${l.palette.divider}`,fontFamily:"'Monaco', 'Menlo', 'Ubuntu Mono', monospace",fontSize:"13px",lineHeight:"1.5",overflowX:"auto",color:l.palette.text.primary}));O.styled("div")(({theme:l})=>({backgroundColor:l.palette.mode==="dark"?"#1e293b":"#f8f9fa",padding:"12px 16px",borderRadius:"8px",border:`1px solid ${l.palette.divider}`,marginBottom:"16px",display:"flex",justifyContent:"space-between",alignItems:"center"}));const Ua=O.styled("div")({height:"100%"});O.styled("div")({height:"30px",backgroundColor:"rgba(225, 240, 255, 1)",display:"flex",padding:"4px",alignItems:"center"});const Ma=O.styled("div")({height:"75vh",width:"100%",overflowY:"auto"});O.styled("div")({position:"relative",height:"100%",flex:"0 0 auto"});const wa=O.styled(O.Card)(({theme:l})=>({backgroundColor:l.palette.background.paper,padding:"24px",borderRadius:"8px",border:`1px solid ${l.palette.divider}`,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.04)",height:"100%",transition:"box-shadow 0.2s ease-in-out","&:hover":{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.08)"}})),fa=O.styled(O.CardContent)({padding:"0","&:last-child":{paddingBottom:"0"}}),Fa=O.styled("div")(({theme:l})=>({fontSize:"0.875rem",fontWeight:500,color:l.palette.text.secondary,marginBottom:"16px",paddingBottom:"8px",borderBottom:`1px solid ${l.palette.divider}`}));O.styled("div")({padding:"32px",maxWidth:"1400px",margin:"0 auto",minHeight:"100vh"});const Ba=[f.teal,f.orange,f.darkBlue,"#66cedc","#ec72b8","#f9c85b","#aacd85","#b87ced"],Qa="Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",L={defaultMode:"light",allowUserToggle:!0,palette:{series:Ba,background:{light:"#ffffff",dark:"#1e293b"},tableHeader:{light:"#5d626b",dark:"#cbd5e1"},tableHeaderBackground:{light:"#f5fafc",dark:"#1e293b"},tableBody:{light:"#727883",dark:"#e2e8f0"},tile:{light:"#f5fafc",dark:"#0f172a"},tileTitle:{light:"#5d626b",dark:"#94a3b8"},mapColor:{light:f.teal,dark:f.teal}},font:{family:Qa,size:12}},Ve=["background","tableHeader","tableHeaderBackground","tableBody","tile","tileTitle","mapColor"];function G(l,n){const e=L.palette??{},r=L.font??{family:"sans-serif",size:12};let a=[...e.series??[]],t=r.family??"sans-serif",o=r.size??12;const s={background:{...e.background??{}},tableHeader:{...e.tableHeader??{}},tableHeaderBackground:{...e.tableHeaderBackground??{}},tableBody:{...e.tableBody??{}},tile:{...e.tile??{}},tileTitle:{...e.tileTitle??{}},mapColor:{...e.mapColor??{}}};for(const d of l)if(d){Array.isArray(d.palette?.series)&&(a=[...d.palette.series]);for(const y of Ve){const k=d.palette?.[y];k&&(s[y]={...s[y],...k})}typeof d.font?.family=="string"&&(t=d.font.family),typeof d.font?.size=="number"&&(o=d.font.size)}const c=n==="dark",i=d=>s[d][n]??e[d]?.[n],p=i("background");return{mode:n,series:a,font:{family:t,size:o},background:p,tableHeader:i("tableHeader"),tableHeaderBackground:i("tableHeaderBackground"),tableBody:i("tableBody"),tile:i("tile"),tileTitle:i("tileTitle"),mapColor:i("mapColor"),tableBackground:p,border:c?"1px solid #334155":"1px solid #e5e7eb",pinnedBorder:c?"1px solid #475569":"1px solid #daedf3",valueColor:c?"#f1f5f9":"#1f2937",foreground:c?"#e2e8f0":"#1f2937",axisFaint:c?"#475569":"#d1d5db",dashboardRoot:c?"#1e293b":"#ffffff"}}function ye(l,n,e){const r=n??l??"light";return r==="auto"?e?"dark":"light":r}const Oe=A.createContext(void 0);function Se({layers:l,mode:n,userChoice:e,setMode:r,allowUserToggle:a=!0,children:t}){const o=A.useMemo(()=>G(l,n),[l,n]),s=A.useMemo(()=>({theme:o,layers:l,mode:n,userChoice:e,setMode:r,allowUserToggle:a}),[o,l,n,e,r,a]);return Q.jsx(Oe.Provider,{value:s,children:t})}function za(){const l=A.useContext(Oe);return l||{theme:G([],"light"),layers:[],mode:"light",userChoice:void 0,setMode:()=>{},allowUserToggle:!1}}const Ce=new j.QueryClient({defaultOptions:{queries:{retry:!1,throwOnError:!1},mutations:{retry:!1,throwOnError:!1}}}),$a={staleTime:300*1e3,refetchOnWindowFocus:!1,refetchOnReconnect:!1},D="publisher:themeMode";function qa(){if(!(typeof window>"u"))try{const l=window.localStorage.getItem(D);if(l==="light"||l==="dark"||l==="auto")return l}catch{}}function La(l){if(!(typeof window>"u"))try{l===void 0?window.localStorage.removeItem(D):window.localStorage.setItem(D,l)}catch{}}function Da(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-color-scheme: dark)").matches}h.defaults.baseURL||(h.defaults.baseURL="IfYouAreSeeingThis_baseURL_IsNotSet");const ke=A.createContext(void 0),ja=(l,n)=>{const e=`${window.location.protocol}//${window.location.host}/api/v0`,r=h.create({baseURL:l||e,withCredentials:!0,timeout:6e5});r.interceptors.request.use(async t=>{const o=await n?.();return t.headers.Authorization=o||"",t});const a=new ve({basePath:e});return{models:new ie(a,e,r),publisher:new ge(a,e,r),environments:new oe(a,e,r),packages:new he(a,e,r),dataApps:new ae(a,e,r),notebooks:new de(a,e,r),connections:new X(a,e,r),databases:new ne(a,e,r),materializations:new le(a,e,r),watchMode:new be(a,e,r)}},Ha=l=>Q.jsx(j.QueryClientProvider,{client:Ce,children:Q.jsx(_a,{...l})}),_a=({children:l,getAccessToken:n,baseURL:e,mutable:r,theme:a})=>{const t=A.useMemo(()=>ja(e,n),[e,n]),o=e||`${window.location.protocol}//${window.location.host}/api/v0`,s=j.useQuery({queryKey:["status"],queryFn:async()=>(await t.publisher.getStatus()).data});s.error&&console.error("Failed to fetch publisher status:",s.error);const c=s.data?.frozenConfig,i=s.data?.theme,p=s.isLoading;let d;s.isLoading||s.error?d=r:c?d=!1:d=r??!0;const y=A.useMemo(()=>[i,a],[i,a]),[k,F]=A.useState(qa),[I,z]=A.useState(Da);A.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const N=window.matchMedia("(prefers-color-scheme: dark)"),K=Re=>z(Re.matches);return N.addEventListener("change",K),()=>N.removeEventListener("change",K)},[]);const Ae=A.useCallback(N=>{F(N),La(N)},[]),Y=i?.allowUserToggle??!0,$=Y?k:void 0,xe=A.useMemo(()=>ye(i?.defaultMode,$,I),[i?.defaultMode,$,I]),Ie={server:o,getAccessToken:n,apiClients:t,mutable:d,isLoadingStatus:p,instanceTheme:i};return Q.jsx(ke.Provider,{value:Ie,children:Q.jsx(Se,{layers:y,mode:xe,userChoice:$,setMode:Ae,allowUserToggle:Y,children:l})})},Wa=()=>{const l=A.useContext(ke);if(l===void 0)throw new Error("useServer must be used within a ServerProvider");return l};exports.AttachedDatabaseTypeEnum=Te;exports.AzureConnectionAuthTypeEnum=Ne;exports.CHART_RESULT_QUERY_OPTIONS=$a;exports.CleanMetricCard=Na;exports.CleanNotebookCell=Ta;exports.CleanNotebookContainer=Ra;exports.CleanNotebookSection=Ea;exports.CompileProblemSeverityEnum=Ue;exports.CompileRequestScopeEnum=Me;exports.CompileResultStatusEnum=we;exports.Configuration=ve;exports.ConnectionProxyTypeEnum=Fe;exports.ConnectionStatusStatusEnum=Be;exports.ConnectionTypeEnum=fe;exports.ConnectionsApi=X;exports.ConnectionsApiAxiosParamCreator=J;exports.ConnectionsApiFactory=pa;exports.ConnectionsApiFp=S;exports.ConnectionsTestApi=ma;exports.ConnectionsTestApiAxiosParamCreator=Z;exports.ConnectionsTestApiFactory=da;exports.ConnectionsTestApiFp=H;exports.DEFAULT_THEME=L;exports.DataAppFitEnum=Qe;exports.DataAppsApi=ae;exports.DataAppsApiAxiosParamCreator=ee;exports.DataAppsApiFactory=ha;exports.DataAppsApiFp=_;exports.DatabaseTypeEnum=ze;exports.DatabasesApi=ne;exports.DatabasesApiAxiosParamCreator=te;exports.DatabasesApiFactory=ua;exports.DatabasesApiFp=W;exports.EnvironmentsApi=oe;exports.EnvironmentsApiAxiosParamCreator=re;exports.EnvironmentsApiFactory=ga;exports.EnvironmentsApiFp=E;exports.ExecuteNotebookCellBypassFiltersEnum=ya;exports.FilterTypeEnum=$e;exports.FreshnessFallbackEnum=qe;exports.GivenControlEnum=Le;exports.LedgerEntryStrategyEnum=De;exports.LogMessageSeverityEnum=je;exports.MALLOY_BRAND=f;exports.MONO_FONT_FAMILY=ka;exports.ManifestEntryFreshnessFallbackEnum=_e;exports.ManifestEntryOriginEnum=He;exports.ManifestEntryRefreshEnum=We;exports.MaterializationActionActionEnum=ba;exports.MaterializationStatus=Ge;exports.MaterializationsApi=le;exports.MaterializationsApiAxiosParamCreator=se;exports.MaterializationsApiFactory=Pa;exports.MaterializationsApiFp=R;exports.ModelsApi=ie;exports.ModelsApiAxiosParamCreator=ce;exports.ModelsApiFactory=va;exports.ModelsApiFp=U;exports.NotebookCellResultTypeEnum=Ke;exports.NotebookCellTypeEnum=Ye;exports.NotebooksApi=de;exports.NotebooksApiAxiosParamCreator=pe;exports.NotebooksApiFactory=Va;exports.NotebooksApiFp=B;exports.PER_MODE_COLOR_KEYS=Ve;exports.PackageCard=wa;exports.PackageCardContent=fa;exports.PackageManifestBindingStatusEnum=Ze;exports.PackageQueryableSourcesEnum=Xe;exports.PackageScopeEnum=Je;exports.PackageSectionTitle=Fa;exports.PackageWarningsInnerSeverityEnum=ea;exports.PackagesApi=he;exports.PackagesApiAxiosParamCreator=me;exports.PackagesApiFactory=Oa;exports.PackagesApiFp=T;exports.PersistSourcePlanOriginEnum=aa;exports.PostgresConnectionSslmodeEnum=ta;exports.PublisherApi=ge;exports.PublisherApiAxiosParamCreator=ue;exports.PublisherApiFactory=Sa;exports.PublisherApiFp=M;exports.QueryClass=na;exports.QueryResultQueryRowLimitSourceEnum=ra;exports.QueryResultServedFromEnum=oa;exports.Realization=sa;exports.RunContextTriggerEnum=la;exports.ServerProvider=Ha;exports.ServerStatusOperationalStateEnum=ca;exports.StyledCard=Aa;exports.StyledCardContent=xa;exports.StyledCardMedia=Ia;exports.StyledExplorerContent=Ma;exports.StyledExplorerPage=Ua;exports.ThemeDefaultModeEnum=ia;exports.ThemeProvider=Se;exports.WatchModeApi=be;exports.WatchModeApiAxiosParamCreator=Pe;exports.WatchModeApiFactory=Ca;exports.WatchModeApiFp=w;exports.globalQueryClient=Ce;exports.resolveMode=ye;exports.resolveTheme=G;exports.usePublisherTheme=za;exports.useServer=Wa;
|
package/dist/client/api.d.ts
CHANGED
|
@@ -280,13 +280,21 @@ export interface BuildManifest {
|
|
|
280
280
|
*/
|
|
281
281
|
'builtAt'?: string;
|
|
282
282
|
/**
|
|
283
|
-
* Map of sourceEntityId to manifest entry.
|
|
283
|
+
* Map of sourceEntityId to manifest entry. Every source that BUILT is here. A source that FAILED is reported in `failures`, and during the `ManifestEntry.error` deprecation window is also mirrored here carrying that field -- so a consumer resolving an entry to a real table must skip entries whose `error` is set until the field is removed, after which `entries` is built-only.
|
|
284
284
|
* @type {{ [key: string]: ManifestEntry; }}
|
|
285
285
|
* @memberof BuildManifest
|
|
286
286
|
*/
|
|
287
287
|
'entries'?: {
|
|
288
288
|
[key: string]: ManifestEntry;
|
|
289
289
|
};
|
|
290
|
+
/**
|
|
291
|
+
* Map of sourceEntityId to the reason that source failed to materialize, for the sources that did NOT build. A build that loses some of its sources still returns the ones that succeeded in `entries`, so this is how a consumer tells a partial failure from a clean run and learns which source failed. Empty or absent on a run where every source built.
|
|
292
|
+
* @type {{ [key: string]: SourceFailure; }}
|
|
293
|
+
* @memberof BuildManifest
|
|
294
|
+
*/
|
|
295
|
+
'failures'?: {
|
|
296
|
+
[key: string]: SourceFailure;
|
|
297
|
+
};
|
|
290
298
|
/**
|
|
291
299
|
* Whether unresolved references should error.
|
|
292
300
|
* @type {boolean}
|
|
@@ -377,6 +385,12 @@ export interface CompileProblem {
|
|
|
377
385
|
* @memberof CompileProblem
|
|
378
386
|
*/
|
|
379
387
|
'code'?: string;
|
|
388
|
+
/**
|
|
389
|
+
* Package-relative path of the model file the problem points at, derived from `at.url`. Load-bearing at scope \"package\", where one array carries every file\'s problems; elsewhere it says when a diagnostic points at pre-existing content rather than the submitted source. Absent when the location is not a package file.
|
|
390
|
+
* @type {string}
|
|
391
|
+
* @memberof CompileProblem
|
|
392
|
+
*/
|
|
393
|
+
'model'?: string;
|
|
380
394
|
/**
|
|
381
395
|
*
|
|
382
396
|
* @type {CompileProblemAt}
|
|
@@ -416,13 +430,19 @@ export interface CompileProblemAt {
|
|
|
416
430
|
*/
|
|
417
431
|
export interface CompileRequest {
|
|
418
432
|
/**
|
|
419
|
-
* Malloy source code to compile
|
|
433
|
+
* Malloy source code to compile; never executed. Required at scope \"append\" and \"file\"; optional at scope \"package\", where it acts as a what-if replacement for the model in the URL.
|
|
420
434
|
* @type {string}
|
|
421
435
|
* @memberof CompileRequest
|
|
422
436
|
*/
|
|
423
|
-
'source'
|
|
437
|
+
'source'?: string;
|
|
424
438
|
/**
|
|
425
|
-
*
|
|
439
|
+
* What the source means, and how far the check reaches. \"append\" (default, the historical behavior) appends the source to the model in the URL and compiles it in that namespace — right for NEW definitions; an edit to an existing definition collides (\"Cannot redefine\"), and diagnostic positions land in the concatenated virtual file. \"file\" compiles the source AS that model, replacing its on-disk content for the check — validates an edit before saving, at true file coordinates. \"package\" runs the same worker compiler and file selection as reload over every .malloy and .malloynb file, without swapping the result into the served package; with a source, importers compile against the replacement. Package diagnostics can name files hidden from discovery. No rows or SQL are returned, and caller-provided source remains subject to authorize gates. includeSql is not available at \"package\". An invalid value is rejected with a 400 naming the valid set.
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof CompileRequest
|
|
442
|
+
*/
|
|
443
|
+
'scope'?: CompileRequestScopeEnum;
|
|
444
|
+
/**
|
|
445
|
+
* If true, returns the generated SQL alongside compilation results (only available at scope \"append\"/\"file\", when compilation succeeds and the source contains a runnable query).
|
|
426
446
|
* @type {boolean}
|
|
427
447
|
* @memberof CompileRequest
|
|
428
448
|
*/
|
|
@@ -436,6 +456,12 @@ export interface CompileRequest {
|
|
|
436
456
|
[key: string]: any;
|
|
437
457
|
};
|
|
438
458
|
}
|
|
459
|
+
export declare const CompileRequestScopeEnum: {
|
|
460
|
+
readonly Append: "append";
|
|
461
|
+
readonly File: "file";
|
|
462
|
+
readonly Package: "package";
|
|
463
|
+
};
|
|
464
|
+
export type CompileRequestScopeEnum = typeof CompileRequestScopeEnum[keyof typeof CompileRequestScopeEnum];
|
|
439
465
|
/**
|
|
440
466
|
* Result of a Malloy source compilation check
|
|
441
467
|
* @export
|
|
@@ -558,7 +584,7 @@ export interface Connection {
|
|
|
558
584
|
*/
|
|
559
585
|
'fingerprint'?: string;
|
|
560
586
|
/**
|
|
561
|
-
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `
|
|
587
|
+
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `queryMetadata` < model-file `## queryMetadata.*` < source `#@ queryMetadata.*` < per-request `queryMetadata`. The `materialization.` spellings of the package and model-file layers are deprecated and still read; where a file declares both, the canonical one wins per property. The publisher\'s own context (`class`, `environment`, `package`, `model`, `source`, `trigger`, `run_id`, `query_id`, `version`) is applied on top and cannot be overwritten — it is what the server is actually doing, and a caller must not be able to relabel it. Those names are also RESERVED against a MODEL-SIDE declaration: a package block, a model file or a `#@ persist` annotation declaring one has it DROPPED rather than attached. Context only overwrites a name it has a value for, and a served query has no `source`, `trigger` or `run_id` — so a declared one would otherwise ride interactive traffic and read, in the backend\'s own history, exactly like a build. A connection default and a per-request bag are not covered: a request setting `queryClass` is a caller describing its own call, while a model-side declaration rides every query against that source, including ones its author never sees. Put no secrets or personal data here: a tag is visible to anyone who can read the backend\'s query history, and on a backend with no native tag mechanism it is visible in the statement text.
|
|
562
588
|
* @type {{ [key: string]: string; }}
|
|
563
589
|
* @memberof Connection
|
|
564
590
|
*/
|
|
@@ -566,7 +592,7 @@ export interface Connection {
|
|
|
566
592
|
[key: string]: string;
|
|
567
593
|
};
|
|
568
594
|
/**
|
|
569
|
-
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `
|
|
595
|
+
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `queryMetadata` < model-file `## queryMetadata.*` < source `#@ queryMetadata.*` < per-request `queryMetadata`. The `materialization.` spellings of the package and model-file layers are deprecated and still read; where a file declares both, the canonical one wins per property. The publisher\'s own context (`class`, `environment`, `package`, `model`, `source`, `trigger`, `run_id`, `query_id`, `version`) is applied on top and cannot be overwritten — it is what the server is actually doing, and a caller must not be able to relabel it. Those names are also RESERVED against a MODEL-SIDE declaration: a package block, a model file or a `#@ persist` annotation declaring one has it DROPPED rather than attached. Context only overwrites a name it has a value for, and a served query has no `source`, `trigger` or `run_id` — so a declared one would otherwise ride interactive traffic and read, in the backend\'s own history, exactly like a build. A connection default and a per-request bag are not covered: a request setting `queryClass` is a caller describing its own call, while a model-side declaration rides every query against that source, including ones its author never sees. Put no secrets or personal data here: a tag is visible to anyone who can read the backend\'s query history, and on a backend with no native tag mechanism it is visible in the statement text.
|
|
570
596
|
* @type {{ [key: string]: string; }}
|
|
571
597
|
* @memberof Connection
|
|
572
598
|
*/
|
|
@@ -1392,7 +1418,7 @@ export interface LogMessageRangeStart {
|
|
|
1392
1418
|
'character'?: number;
|
|
1393
1419
|
}
|
|
1394
1420
|
/**
|
|
1395
|
-
* A single entry in the build manifest.
|
|
1421
|
+
* A single entry in the build manifest. An entry describing a source that BUILT names a table that exists; `error` marks the one exception, kept for one deprecation cycle (see that field).
|
|
1396
1422
|
* @export
|
|
1397
1423
|
* @interface ManifestEntry
|
|
1398
1424
|
*/
|
|
@@ -1404,9 +1430,10 @@ export interface ManifestEntry {
|
|
|
1404
1430
|
*/
|
|
1405
1431
|
'sourceEntityId': string;
|
|
1406
1432
|
/**
|
|
1407
|
-
*
|
|
1433
|
+
* DEPRECATED -- read `BuildManifest.failures` instead, which is where a failed source is now reported. Mirrors `SourceFailure.reason` for the same source, so a consumer written against 0.0.245-0.0.246 keeps working unchanged; it will be removed once those consumers have moved. An entry carrying this describes a source that FAILED, so its `physicalTableName` names a table the build did not create -- which is the defect the `failures` collection exists to remove, because the field is required and a consumer resolving an entry to a real table has no way to know it must check here first.
|
|
1408
1434
|
* @type {string}
|
|
1409
1435
|
* @memberof ManifestEntry
|
|
1436
|
+
* @deprecated
|
|
1410
1437
|
*/
|
|
1411
1438
|
'error'?: string | null;
|
|
1412
1439
|
/**
|
|
@@ -1909,6 +1936,14 @@ export interface Package {
|
|
|
1909
1936
|
* @memberof Package
|
|
1910
1937
|
*/
|
|
1911
1938
|
'manifestLocation'?: string | null;
|
|
1939
|
+
/**
|
|
1940
|
+
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `queryMetadata` < model-file `## queryMetadata.*` < source `#@ queryMetadata.*` < per-request `queryMetadata`. The `materialization.` spellings of the package and model-file layers are deprecated and still read; where a file declares both, the canonical one wins per property. The publisher\'s own context (`class`, `environment`, `package`, `model`, `source`, `trigger`, `run_id`, `query_id`, `version`) is applied on top and cannot be overwritten — it is what the server is actually doing, and a caller must not be able to relabel it. Those names are also RESERVED against a MODEL-SIDE declaration: a package block, a model file or a `#@ persist` annotation declaring one has it DROPPED rather than attached. Context only overwrites a name it has a value for, and a served query has no `source`, `trigger` or `run_id` — so a declared one would otherwise ride interactive traffic and read, in the backend\'s own history, exactly like a build. A connection default and a per-request bag are not covered: a request setting `queryClass` is a caller describing its own call, while a model-side declaration rides every query against that source, including ones its author never sees. Put no secrets or personal data here: a tag is visible to anyone who can read the backend\'s query history, and on a backend with no native tag mechanism it is visible in the statement text.
|
|
1941
|
+
* @type {{ [key: string]: string; }}
|
|
1942
|
+
* @memberof Package
|
|
1943
|
+
*/
|
|
1944
|
+
'queryMetadata'?: {
|
|
1945
|
+
[key: string]: string;
|
|
1946
|
+
};
|
|
1912
1947
|
/**
|
|
1913
1948
|
*
|
|
1914
1949
|
* @type {PackageMaterializationConfig}
|
|
@@ -1981,7 +2016,7 @@ export interface PackageMaterializationConfig {
|
|
|
1981
2016
|
*/
|
|
1982
2017
|
'freshness'?: Freshness | null;
|
|
1983
2018
|
/**
|
|
1984
|
-
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `
|
|
2019
|
+
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `queryMetadata` < model-file `## queryMetadata.*` < source `#@ queryMetadata.*` < per-request `queryMetadata`. The `materialization.` spellings of the package and model-file layers are deprecated and still read; where a file declares both, the canonical one wins per property. The publisher\'s own context (`class`, `environment`, `package`, `model`, `source`, `trigger`, `run_id`, `query_id`, `version`) is applied on top and cannot be overwritten — it is what the server is actually doing, and a caller must not be able to relabel it. Those names are also RESERVED against a MODEL-SIDE declaration: a package block, a model file or a `#@ persist` annotation declaring one has it DROPPED rather than attached. Context only overwrites a name it has a value for, and a served query has no `source`, `trigger` or `run_id` — so a declared one would otherwise ride interactive traffic and read, in the backend\'s own history, exactly like a build. A connection default and a per-request bag are not covered: a request setting `queryClass` is a caller describing its own call, while a model-side declaration rides every query against that source, including ones its author never sees. Put no secrets or personal data here: a tag is visible to anyone who can read the backend\'s query history, and on a backend with no native tag mechanism it is visible in the statement text.
|
|
1985
2020
|
* @type {{ [key: string]: string; }}
|
|
1986
2021
|
* @memberof PackageMaterializationConfig
|
|
1987
2022
|
*/
|
|
@@ -2117,7 +2152,7 @@ export interface PersistSourcePlan {
|
|
|
2117
2152
|
*/
|
|
2118
2153
|
'freshness'?: Freshness | null;
|
|
2119
2154
|
/**
|
|
2120
|
-
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `
|
|
2155
|
+
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `queryMetadata` < model-file `## queryMetadata.*` < source `#@ queryMetadata.*` < per-request `queryMetadata`. The `materialization.` spellings of the package and model-file layers are deprecated and still read; where a file declares both, the canonical one wins per property. The publisher\'s own context (`class`, `environment`, `package`, `model`, `source`, `trigger`, `run_id`, `query_id`, `version`) is applied on top and cannot be overwritten — it is what the server is actually doing, and a caller must not be able to relabel it. Those names are also RESERVED against a MODEL-SIDE declaration: a package block, a model file or a `#@ persist` annotation declaring one has it DROPPED rather than attached. Context only overwrites a name it has a value for, and a served query has no `source`, `trigger` or `run_id` — so a declared one would otherwise ride interactive traffic and read, in the backend\'s own history, exactly like a build. A connection default and a per-request bag are not covered: a request setting `queryClass` is a caller describing its own call, while a model-side declaration rides every query against that source, including ones its author never sees. Put no secrets or personal data here: a tag is visible to anyone who can read the backend\'s query history, and on a backend with no native tag mechanism it is visible in the statement text.
|
|
2121
2156
|
* @type {{ [key: string]: string; }}
|
|
2122
2157
|
* @memberof PersistSourcePlan
|
|
2123
2158
|
*/
|
|
@@ -2169,7 +2204,7 @@ export interface PostQuerydataRequest {
|
|
|
2169
2204
|
*/
|
|
2170
2205
|
'options'?: string;
|
|
2171
2206
|
/**
|
|
2172
|
-
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `
|
|
2207
|
+
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `queryMetadata` < model-file `## queryMetadata.*` < source `#@ queryMetadata.*` < per-request `queryMetadata`. The `materialization.` spellings of the package and model-file layers are deprecated and still read; where a file declares both, the canonical one wins per property. The publisher\'s own context (`class`, `environment`, `package`, `model`, `source`, `trigger`, `run_id`, `query_id`, `version`) is applied on top and cannot be overwritten — it is what the server is actually doing, and a caller must not be able to relabel it. Those names are also RESERVED against a MODEL-SIDE declaration: a package block, a model file or a `#@ persist` annotation declaring one has it DROPPED rather than attached. Context only overwrites a name it has a value for, and a served query has no `source`, `trigger` or `run_id` — so a declared one would otherwise ride interactive traffic and read, in the backend\'s own history, exactly like a build. A connection default and a per-request bag are not covered: a request setting `queryClass` is a caller describing its own call, while a model-side declaration rides every query against that source, including ones its author never sees. Put no secrets or personal data here: a tag is visible to anyone who can read the backend\'s query history, and on a backend with no native tag mechanism it is visible in the statement text.
|
|
2173
2208
|
* @type {{ [key: string]: string; }}
|
|
2174
2209
|
* @memberof PostQuerydataRequest
|
|
2175
2210
|
*/
|
|
@@ -2419,7 +2454,7 @@ export interface QueryRequest {
|
|
|
2419
2454
|
[key: string]: any;
|
|
2420
2455
|
};
|
|
2421
2456
|
/**
|
|
2422
|
-
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `
|
|
2457
|
+
* Per-query metadata: a flat bag of string properties attached to the statements a query issues, for the backend\'s own reporting — cost attribution, workload classification, tracing. Each backend applies it through a per-query mechanism: Snowflake a per-statement `QUERY_TAG` (the bag as JSON, so its properties are queryable in `QUERY_HISTORY`) — except on a `storage=` build, whose read goes through DuckDB\'s query-passthrough and so sets the tag for the SESSION, which means the driver\'s own connection probes carry the build\'s bag too, BigQuery per-job `labels` (queryable in `INFORMATION_SCHEMA.JOBS`), and every other backend a leading SQL comment (`-- team=\"finance\"`, visible in query history / `pg_stat_activity`). It never affects results, and it is excluded from connection fingerprints and from build identity, so changing a property never re-addresses or rebuilds anything. The contract, which every backend can render and which the connector enforces at dispatch: property names are ASCII alphanumerics and underscore (<=128 chars), values are printable ASCII without `\"` (<=256 chars), and a bag holds at most 20 properties. Declare a name starting with a LETTER: BigQuery drops a name it cannot fit to its label grammar while other backends keep it. Layers, most specific wins per property: connection default < package `queryMetadata` < model-file `## queryMetadata.*` < source `#@ queryMetadata.*` < per-request `queryMetadata`. The `materialization.` spellings of the package and model-file layers are deprecated and still read; where a file declares both, the canonical one wins per property. The publisher\'s own context (`class`, `environment`, `package`, `model`, `source`, `trigger`, `run_id`, `query_id`, `version`) is applied on top and cannot be overwritten — it is what the server is actually doing, and a caller must not be able to relabel it. Those names are also RESERVED against a MODEL-SIDE declaration: a package block, a model file or a `#@ persist` annotation declaring one has it DROPPED rather than attached. Context only overwrites a name it has a value for, and a served query has no `source`, `trigger` or `run_id` — so a declared one would otherwise ride interactive traffic and read, in the backend\'s own history, exactly like a build. A connection default and a per-request bag are not covered: a request setting `queryClass` is a caller describing its own call, while a model-side declaration rides every query against that source, including ones its author never sees. Put no secrets or personal data here: a tag is visible to anyone who can read the backend\'s query history, and on a backend with no native tag mechanism it is visible in the statement text.
|
|
2423
2458
|
* @type {{ [key: string]: string; }}
|
|
2424
2459
|
* @memberof QueryRequest
|
|
2425
2460
|
*/
|
|
@@ -2873,12 +2908,49 @@ export interface Source {
|
|
|
2873
2908
|
*/
|
|
2874
2909
|
'givens'?: Array<Given>;
|
|
2875
2910
|
/**
|
|
2876
|
-
* Effective authorize expressions gating this source
|
|
2911
|
+
* Effective authorize expressions gating this source, declared with a source-level `#(authorize)` annotation — the source\'s own, or, when it declares none, the nearest source it extends that does. (File-level `##(authorize)` is deprecated and fails the model load, so no expression here ever comes from one.) Each is a Malloy boolean expression over declared givens, evaluated as a disjunction (OR) and enforced at query time. An empty or absent list means unrestricted. How a denial surfaces depends on what the expression reads. An expression referencing only givens is a whole-source gate: the request is denied with HTTP 403 unless at least one expression evaluates true. An expression that also references a row field of the source is a row-level gate, applied as a filter instead — such a request succeeds with HTTP 200 and returns only the rows the expression admits, which may be none. Do not treat a 200 with zero rows as \"no gate applied\". IMPORTANT for anything re-implementing the decision: this flat list cannot always express the predicate. Expressions from one source are OR-ed, but when more than one source gates the entry point (its own gate plus one carried from the source it derives from) those sources are AND-ed, and both sets appear here as one list. So a list of two expressions may mean \"either\" or \"both\". Treat it as \"at least these constraints apply\" — use it to decide THAT a source is gated, not to recompute WHETHER a given caller passes. Reading it as a pure disjunction grants where Publisher denies. Givens are caller-asserted, so this is a boundary only behind a trusted tier — see docs/authorize.md.
|
|
2877
2912
|
* @type {Array<string>}
|
|
2878
2913
|
* @memberof Source
|
|
2879
2914
|
*/
|
|
2880
2915
|
'authorize'?: Array<string>;
|
|
2881
2916
|
}
|
|
2917
|
+
/**
|
|
2918
|
+
* One source that failed to materialize, and why. Kept beside `entries` rather than inside a manifest entry because a failed source names no table that exists: an entry carries a required `physicalTableName`, so putting a failure there would hand every consumer a table name it must know not to resolve.
|
|
2919
|
+
* @export
|
|
2920
|
+
* @interface SourceFailure
|
|
2921
|
+
*/
|
|
2922
|
+
export interface SourceFailure {
|
|
2923
|
+
/**
|
|
2924
|
+
* The source\'s content address, as `entries` would have keyed it.
|
|
2925
|
+
* @type {string}
|
|
2926
|
+
* @memberof SourceFailure
|
|
2927
|
+
*/
|
|
2928
|
+
'sourceEntityId': string;
|
|
2929
|
+
/**
|
|
2930
|
+
* The persist source\'s declared name, for reporting.
|
|
2931
|
+
* @type {string}
|
|
2932
|
+
* @memberof SourceFailure
|
|
2933
|
+
*/
|
|
2934
|
+
'sourceName'?: string;
|
|
2935
|
+
/**
|
|
2936
|
+
* Why this source failed, in the words the warehouse or compiler reported, redacted against that source\'s own connection.
|
|
2937
|
+
* @type {string}
|
|
2938
|
+
* @memberof SourceFailure
|
|
2939
|
+
*/
|
|
2940
|
+
'reason': string;
|
|
2941
|
+
/**
|
|
2942
|
+
* Echoes the caller-assigned id from the BuildInstruction, so an orchestrator can match this failure to the row it dispatched without deriving the content address itself.
|
|
2943
|
+
* @type {string}
|
|
2944
|
+
* @memberof SourceFailure
|
|
2945
|
+
*/
|
|
2946
|
+
'materializedTableId'?: string;
|
|
2947
|
+
/**
|
|
2948
|
+
* The table this source was HEADED for, echoing the instruction. NOT a table that exists -- the build that would have created it is what failed, and a source that failed a REBUILD leaves the prior generation\'s table in place under this same name, so resolving it serves stale data rather than missing. Present for correlating the failure with the request; a consumer must never resolve or read it.
|
|
2949
|
+
* @type {string}
|
|
2950
|
+
* @memberof SourceFailure
|
|
2951
|
+
*/
|
|
2952
|
+
'physicalTableName'?: string;
|
|
2953
|
+
}
|
|
2882
2954
|
/**
|
|
2883
2955
|
*
|
|
2884
2956
|
* @export
|
|
@@ -5267,7 +5339,7 @@ export declare const PackagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5267
5339
|
*/
|
|
5268
5340
|
listPackages: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5269
5341
|
/**
|
|
5270
|
-
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions
|
|
5342
|
+
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
5271
5343
|
* @summary Update package configuration
|
|
5272
5344
|
* @param {string} environmentName Name of the environment
|
|
5273
5345
|
* @param {string} packageName Name of the package
|
|
@@ -5320,7 +5392,7 @@ export declare const PackagesApiFp: (configuration?: Configuration) => {
|
|
|
5320
5392
|
*/
|
|
5321
5393
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Package>>>;
|
|
5322
5394
|
/**
|
|
5323
|
-
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions
|
|
5395
|
+
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
5324
5396
|
* @summary Update package configuration
|
|
5325
5397
|
* @param {string} environmentName Name of the environment
|
|
5326
5398
|
* @param {string} packageName Name of the package
|
|
@@ -5373,7 +5445,7 @@ export declare const PackagesApiFactory: (configuration?: Configuration, basePat
|
|
|
5373
5445
|
*/
|
|
5374
5446
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Package>>;
|
|
5375
5447
|
/**
|
|
5376
|
-
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions
|
|
5448
|
+
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
5377
5449
|
* @summary Update package configuration
|
|
5378
5450
|
* @param {string} environmentName Name of the environment
|
|
5379
5451
|
* @param {string} packageName Name of the package
|
|
@@ -5432,7 +5504,7 @@ export declare class PackagesApi extends BaseAPI {
|
|
|
5432
5504
|
*/
|
|
5433
5505
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Package[], any, {}>>;
|
|
5434
5506
|
/**
|
|
5435
|
-
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions
|
|
5507
|
+
* 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. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
5436
5508
|
* @summary Update package configuration
|
|
5437
5509
|
* @param {string} environmentName Name of the environment
|
|
5438
5510
|
* @param {string} packageName Name of the package
|
package/dist/client/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-Dg5S1qBU.cjs.js");exports.AttachedDatabaseTypeEnum=e.AttachedDatabaseTypeEnum;exports.AzureConnectionAuthTypeEnum=e.AzureConnectionAuthTypeEnum;exports.CompileProblemSeverityEnum=e.CompileProblemSeverityEnum;exports.CompileRequestScopeEnum=e.CompileRequestScopeEnum;exports.CompileResultStatusEnum=e.CompileResultStatusEnum;exports.Configuration=e.Configuration;exports.ConnectionProxyTypeEnum=e.ConnectionProxyTypeEnum;exports.ConnectionStatusStatusEnum=e.ConnectionStatusStatusEnum;exports.ConnectionTypeEnum=e.ConnectionTypeEnum;exports.ConnectionsApi=e.ConnectionsApi;exports.ConnectionsApiAxiosParamCreator=e.ConnectionsApiAxiosParamCreator;exports.ConnectionsApiFactory=e.ConnectionsApiFactory;exports.ConnectionsApiFp=e.ConnectionsApiFp;exports.ConnectionsTestApi=e.ConnectionsTestApi;exports.ConnectionsTestApiAxiosParamCreator=e.ConnectionsTestApiAxiosParamCreator;exports.ConnectionsTestApiFactory=e.ConnectionsTestApiFactory;exports.ConnectionsTestApiFp=e.ConnectionsTestApiFp;exports.DataAppFitEnum=e.DataAppFitEnum;exports.DataAppsApi=e.DataAppsApi;exports.DataAppsApiAxiosParamCreator=e.DataAppsApiAxiosParamCreator;exports.DataAppsApiFactory=e.DataAppsApiFactory;exports.DataAppsApiFp=e.DataAppsApiFp;exports.DatabaseTypeEnum=e.DatabaseTypeEnum;exports.DatabasesApi=e.DatabasesApi;exports.DatabasesApiAxiosParamCreator=e.DatabasesApiAxiosParamCreator;exports.DatabasesApiFactory=e.DatabasesApiFactory;exports.DatabasesApiFp=e.DatabasesApiFp;exports.EnvironmentsApi=e.EnvironmentsApi;exports.EnvironmentsApiAxiosParamCreator=e.EnvironmentsApiAxiosParamCreator;exports.EnvironmentsApiFactory=e.EnvironmentsApiFactory;exports.EnvironmentsApiFp=e.EnvironmentsApiFp;exports.ExecuteNotebookCellBypassFiltersEnum=e.ExecuteNotebookCellBypassFiltersEnum;exports.FilterTypeEnum=e.FilterTypeEnum;exports.FreshnessFallbackEnum=e.FreshnessFallbackEnum;exports.GivenControlEnum=e.GivenControlEnum;exports.LedgerEntryStrategyEnum=e.LedgerEntryStrategyEnum;exports.LogMessageSeverityEnum=e.LogMessageSeverityEnum;exports.ManifestEntryFreshnessFallbackEnum=e.ManifestEntryFreshnessFallbackEnum;exports.ManifestEntryOriginEnum=e.ManifestEntryOriginEnum;exports.ManifestEntryRefreshEnum=e.ManifestEntryRefreshEnum;exports.MaterializationActionActionEnum=e.MaterializationActionActionEnum;exports.MaterializationStatus=e.MaterializationStatus;exports.MaterializationsApi=e.MaterializationsApi;exports.MaterializationsApiAxiosParamCreator=e.MaterializationsApiAxiosParamCreator;exports.MaterializationsApiFactory=e.MaterializationsApiFactory;exports.MaterializationsApiFp=e.MaterializationsApiFp;exports.ModelsApi=e.ModelsApi;exports.ModelsApiAxiosParamCreator=e.ModelsApiAxiosParamCreator;exports.ModelsApiFactory=e.ModelsApiFactory;exports.ModelsApiFp=e.ModelsApiFp;exports.NotebookCellResultTypeEnum=e.NotebookCellResultTypeEnum;exports.NotebookCellTypeEnum=e.NotebookCellTypeEnum;exports.NotebooksApi=e.NotebooksApi;exports.NotebooksApiAxiosParamCreator=e.NotebooksApiAxiosParamCreator;exports.NotebooksApiFactory=e.NotebooksApiFactory;exports.NotebooksApiFp=e.NotebooksApiFp;exports.PackageManifestBindingStatusEnum=e.PackageManifestBindingStatusEnum;exports.PackageQueryableSourcesEnum=e.PackageQueryableSourcesEnum;exports.PackageScopeEnum=e.PackageScopeEnum;exports.PackageWarningsInnerSeverityEnum=e.PackageWarningsInnerSeverityEnum;exports.PackagesApi=e.PackagesApi;exports.PackagesApiAxiosParamCreator=e.PackagesApiAxiosParamCreator;exports.PackagesApiFactory=e.PackagesApiFactory;exports.PackagesApiFp=e.PackagesApiFp;exports.PersistSourcePlanOriginEnum=e.PersistSourcePlanOriginEnum;exports.PostgresConnectionSslmodeEnum=e.PostgresConnectionSslmodeEnum;exports.PublisherApi=e.PublisherApi;exports.PublisherApiAxiosParamCreator=e.PublisherApiAxiosParamCreator;exports.PublisherApiFactory=e.PublisherApiFactory;exports.PublisherApiFp=e.PublisherApiFp;exports.QueryClass=e.QueryClass;exports.QueryResultQueryRowLimitSourceEnum=e.QueryResultQueryRowLimitSourceEnum;exports.QueryResultServedFromEnum=e.QueryResultServedFromEnum;exports.Realization=e.Realization;exports.RunContextTriggerEnum=e.RunContextTriggerEnum;exports.ServerProvider=e.ServerProvider;exports.ServerStatusOperationalStateEnum=e.ServerStatusOperationalStateEnum;exports.ThemeDefaultModeEnum=e.ThemeDefaultModeEnum;exports.WatchModeApi=e.WatchModeApi;exports.WatchModeApiAxiosParamCreator=e.WatchModeApiAxiosParamCreator;exports.WatchModeApiFactory=e.WatchModeApiFactory;exports.WatchModeApiFp=e.WatchModeApiFp;exports.globalQueryClient=e.globalQueryClient;exports.useServer=e.useServer;
|