Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion analytics/change-stores.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { t as __exportAll } from "../chunks/chunk-BdHzlgOL.js";
import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/analytics/change-stores.ts
var change_stores_exports = /* @__PURE__ */ __exportAll({
Expand Down
2 changes: 1 addition & 1 deletion api-keys.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/api-keys.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion apps.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ type UpdateOwner = {
type UpdateSpace = {
spaceId?: string;
};
type UsageEnum = "ANALYTICS" | "DATA_PREPARATION" | "DATAFLOW_PREP" | "SINGLE_TABLE_PREP";
type UsageEnum = "ANALYTICS" | "DATA_PREPARATION" | "DATAFLOW_PREP" | "SINGLE_TABLE_PREP" | "DIRECT_QUERY_MODE";
type UserPrivileges = "can_create_app" | "can_import_app" | "can_create_session_app";
type Classification = {
absoluteDiff?: number;
Expand Down
2 changes: 1 addition & 1 deletion apps.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/apps.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion assistants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/assistants.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion audits.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/audits.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { t as getAuthRuntimeModule } from "./chunks/public-runtime-modules-D0nOC9BY.js";
import { t as getAuthRuntimeModule } from "./chunks/public-runtime-modules-cCq52MLv.js";

//#region src/public/auth.ts
/**
Expand Down
3 changes: 2 additions & 1 deletion automation-connections.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ type PaginationLink = {
* @throws GetAutomationConnectionsHttpError
*/
declare function getAutomationConnections(query: {
/** Filters the result based on the specified criteria: name, connectorId, ownerId, or spaceId. */filter?: string; /** The number of automation connections to retrieve. */
/** Pagination cursor returned from a previous request. */cursor?: string; /** Filters the result based on the specified criteria: name, connectorId, ownerId, or spaceId. */
filter?: string; /** The number of automation connections to retrieve. */
limit?: number; /** When true, list all connections. Restricted to tenant admins and analytics admins. */
listAll?: boolean; /** The field to sort by, with +- prefix indicating sort order. (`?sort=-name` => sort on the `name` field using descending order). */
sort?: "id" | "name" | "createdAt" | "updatedAt" | "+id" | "+name" | "+createdAt" | "+updatedAt" | "-id" | "-name" | "-createdAt" | "-updatedAt";
Expand Down
2 changes: 1 addition & 1 deletion automation-connections.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/automation-connections.ts
/**
Expand Down
3 changes: 2 additions & 1 deletion automation-connectors.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ type PaginationLink = {
* @throws GetAutomationConnectorsHttpError
*/
declare function getAutomationConnectors(query: {
/** Filters the result based on the specified criteria: name. */filter?: string; /** The number of automation connectors to retrieve. */
/** Pagination cursor returned from a previous request. */cursor?: string; /** Filters the result based on the specified criteria: name. */
filter?: string; /** The number of automation connectors to retrieve. */
limit?: number; /** The field to sort by, with +- prefix indicating sort order. (`?sort=-name` => sort on the `name` field using descending order). */
sort?: "id" | "-id" | "+id" | "name" | "+name" | "-name";
}, options?: ApiCallOptions): Promise<GetAutomationConnectorsHttpResponse>;
Expand Down
2 changes: 1 addition & 1 deletion automation-connectors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/automation-connectors.ts
/**
Expand Down
6 changes: 4 additions & 2 deletions automations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ type UsageObject = {
* @throws GetAutomationsHttpError
*/
declare function getAutomations(query: {
/** Allowed filters: `name`, `runMode`, `lastRunStatus`, `ownerId`, `spaceId`. */filter?: string; /** The number of automations to retrieve. */
/** Pagination cursor returned from a previous request. */cursor?: string; /** Allowed filters: `name`, `runMode`, `lastRunStatus`, `ownerId`, `spaceId`. */
filter?: string; /** The number of automations to retrieve. */
limit?: number; /** When true, list all automations. Restricted to tenant admins and analytics admins. */
listAll?: boolean; /** The field to sort by, with +- prefix indicating sort order. (`?sort=-name` => sort on the `name` field using descending order). */
sort?: "id" | "name" | "runMode" | "state" | "createdAt" | "updatedAt" | "lastRunAt" | "lastRunStatus" | "+id" | "+name" | "+runMode" | "+state" | "+createdAt" | "+updatedAt" | "+lastRunAt" | "+lastRunStatus" | "-id" | "-name" | "-runMode" | "-state" | "-createdAt" | "-updatedAt" | "-lastRunAt" | "-lastRunStatus" | "maxConcurrentRuns" | "+maxConcurrentRuns" | "-maxConcurrentRuns";
Expand Down Expand Up @@ -435,7 +436,8 @@ type MoveAutomationHttpError = {
* @throws GetAutomationRunsHttpError
*/
declare function getAutomationRuns(id: string, query: {
/** Allowed filters: `status`, `context`, `startTime`, `title`, `spaceId`, `ownerId`, `executedById`, `billable`. */filter?: string; /** The number of runs to retrieve. */
/** Pagination cursor returned from a previous request. */cursor?: string; /** Allowed filters: `status`, `context`, `startTime`, `title`, `spaceId`, `ownerId`, `executedById`, `billable`. */
filter?: string; /** The number of runs to retrieve. */
limit?: number; /** The field to sort by, with +- prefix indicating sort order. (`?query=-startTime` => sort on the `startTime` field using descending order). */
sort?: "id" | "status" | "startTime" | "-id" | "-status" | "-startTime" | "+id" | "+status" | "+startTime";
}, options?: ApiCallOptions): Promise<GetAutomationRunsHttpResponse>;
Expand Down
2 changes: 1 addition & 1 deletion automations.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/automations.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion automl-deployments.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/automl-deployments.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion automl-predictions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/automl-predictions.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion banners.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/banners.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion brands.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-C6eGdcjv.js";
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-mJnXi6ZQ.js";

//#region src/public/rest/brands.ts
/**
Expand Down
2 changes: 1 addition & 1 deletion chunks/auth-cXJMiCSG.js → chunks/auth-36V9MsTp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { A as InvalidHostConfigError, C as serializeHostConfig, D as unregisterHostConfig, E as toValidWebsocketLocationUrl, O as AuthorizationError, S as registerHostConfig, T as toValidLocationUrl, _ as normalizeHostConfig, b as onPageRedirectStarted, c as getAccessToken, d as getWebResourceAuthParams, f as getWebSocketAuthParams, g as logout, h as isWindows, j as UnexpectedAuthTypeError, k as InvalidAuthTypeError, l as getDefaultHostConfig, m as isHostCrossOrigin, p as handleAuthenticationError, s as determineAuthType, u as getRestCallAuthParams, v as onFatalAuthError, w as setDefaultHostConfig, x as registerAuthModule, y as onPageRedirectRequested } from "./interceptors-opxWmydH.js";
import { A as InvalidHostConfigError, C as serializeHostConfig, D as unregisterHostConfig, E as toValidWebsocketLocationUrl, O as AuthorizationError, S as registerHostConfig, T as toValidLocationUrl, _ as normalizeHostConfig, b as onPageRedirectStarted, c as getAccessToken, d as getWebResourceAuthParams, f as getWebSocketAuthParams, g as logout, h as isWindows, j as UnexpectedAuthTypeError, k as InvalidAuthTypeError, l as getDefaultHostConfig, m as isHostCrossOrigin, p as handleAuthenticationError, s as determineAuthType, u as getRestCallAuthParams, v as onFatalAuthError, w as setDefaultHostConfig, x as registerAuthModule, y as onPageRedirectRequested } from "./interceptors-Brau0rgC.js";

//#region src/auth/auth.ts
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { a as sortKeys, i as isNode, r as isBrowser, t as cleanFalsyValues } from "./utils-6yIYp94j.js";
import { a as sortKeys, i as isNode, r as isBrowser, t as cleanFalsyValues } from "./utils-COWNd3uN.js";
import { authTypesThatCanBeOmitted, hostConfigCommonProperties } from "../auth-types.js";

//#region src/platform/platform-functions.ts
Expand Down Expand Up @@ -1507,7 +1507,7 @@ function getServiceOverrideHeaderFromLocalStorage() {
/** Convert a Blob to a DownloadableBlob */
function toDownloadableBlob(blob, name) {
const result = blob;
if (name) result.download = (filename = name) => download(blob, filename);
if (name) result.download = (filename) => download(blob, filename ?? name);
else result.download = (filename) => download(blob, filename);
return result;
}
Expand Down Expand Up @@ -1613,12 +1613,20 @@ async function parseFetchResponse(fetchResponse, url) {
resultData = fetchResponse.body;
break;
case void 0:
default:
default: {
let bodyText;
try {
resultData = await fetchResponse.text();
resultData = JSON.parse(resultData);
} catch {}
bodyText = await fetchResponse.text();
} catch (error) {
throw new InvokeFetchError(`request to '${url}' failed while reading response body: ${error instanceof Error ? error.message : String(error)}`, fetchResponse.status, fetchResponse.headers, void 0);
}
try {
resultData = JSON.parse(bodyText);
} catch {
resultData = bodyText;
}
break;
}
}
const { status, statusText, headers } = fetchResponse;
const errorMsg = `request to '${url}' failed with status ${status} ${statusText}.`;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { I as EncodingError, L as InvokeFetchError, M as clearApiCache, N as invokeFetch, P as parseFetchResponse } from "./interceptors-opxWmydH.js";
import { I as EncodingError, L as InvokeFetchError, M as clearApiCache, N as invokeFetch, P as parseFetchResponse } from "./interceptors-Brau0rgC.js";

//#region src/invoke-fetch/invoke-fetch.ts
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { r as isBrowser } from "./utils-6yIYp94j.js";
import { n as getInvokeFetchRuntimeModule } from "./public-runtime-modules-D0nOC9BY.js";
import { r as isBrowser } from "./utils-COWNd3uN.js";
import { n as getInvokeFetchRuntimeModule } from "./public-runtime-modules-cCq52MLv.js";

//#region src/public/invoke-fetch.ts
const defaultUserAgent = "qlik-api/latest";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { i as isNode$1 } from "./utils-6yIYp94j.js";
import { i as isNode$1 } from "./utils-COWNd3uN.js";

//#region src/public/public-runtime-modules.ts
const isNode = isNode$1();
Expand All @@ -13,17 +13,17 @@ const importRuntimeModulePromise = (async () => {
* @returns
*/
async function getAuthRuntimeModule(hostConfig) {
if (isNode) return import("./auth-cXJMiCSG.js");
if (isNode) return import("./auth-36V9MsTp.js");
return (await importRuntimeModulePromise)("auth@v1", hostConfig);
}
async function getQixRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
if (isNode) return import("./qix-hZvOal-L.js");
if (isNode) return import("./qix-B9_EZSTW.js");
return (await importRuntimeModulePromise)("qix@v1", hostConfig);
}
async function getInvokeFetchRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
if (isNode) return import("./invoke-fetch-BlpBXCIm.js");
if (isNode) return import("./invoke-fetch-B66Z8mTh.js");
return (await importRuntimeModulePromise)("invoke-fetch@v1", hostConfig);
}

Expand Down
8 changes: 4 additions & 4 deletions chunks/qix-hZvOal-L.js → chunks/qix-B9_EZSTW.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { r as isBrowser } from "./utils-6yIYp94j.js";
import { B as getPlatform, E as toValidWebsocketLocationUrl, N as invokeFetch, h as isWindows, p as handleAuthenticationError } from "./interceptors-opxWmydH.js";
import { r as isBrowser } from "./utils-COWNd3uN.js";
import { B as getPlatform, E as toValidWebsocketLocationUrl, N as invokeFetch, h as isWindows, p as handleAuthenticationError } from "./interceptors-Brau0rgC.js";
import { t as getHumanReadableSocketClosedErrorMessage } from "./websocket-errors-C6cw1uQN.js";

//#region src/qix/app-session.ts
Expand Down Expand Up @@ -203,7 +203,7 @@ function listenForWindowsAuthenticationInformation(session) {
* Opens the websocket and handles a few windows authentication details
*/
async function createAndSetupEnigmaSession(props, canRetry, onWebSocketEvent) {
const { createEnigmaSessionEntrypoint } = await import("./qix-chunk-entrypoint-D7lP4Vbk.js");
const { createEnigmaSessionEntrypoint } = await import("./qix-chunk-entrypoint-CBNrcpTT.js");
const isWin = await isWindows(props.hostConfig);
const session = await createEnigmaSessionEntrypoint(props);
setupSessionListeners(session, props, onWebSocketEvent, isWin);
Expand Down Expand Up @@ -470,7 +470,7 @@ function createSharedPhoenixSession(props, { onClose, onWebSocketEvent: onWebSoc
onWebSocketEventGlobal(event);
for (const client of clients) client.onWebSocketEvent(event);
};
const phoenixConnectionPromise = import("./qix-chunk-entrypoint-D7lP4Vbk.js").then((module) => {
const phoenixConnectionPromise = import("./qix-chunk-entrypoint-CBNrcpTT.js").then((module) => {
return module.createPhoenixConnectionEntrypoint(props, {
onWebSocketEvent,
getInitialAppActions
Expand Down
7 changes: 5 additions & 2 deletions chunks/qix-D2Ljw7xT.d.ts → chunks/qix-CJHgFOL-.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { d as HostConfig } from "./auth-types-DjJJgiRF.js";
//#region src/qix/types/engine-schema.d.ts
declare const QIX_SCHEMA_VERSION = "12.2790.0";
declare const QIX_SCHEMA_VERSION = "12.2802.0";
type AlfaNumString = {
/**
* Calculated value.
Expand Down Expand Up @@ -995,6 +995,7 @@ type DocListEntry = {
* * DATA_PREPARATION
* * DATAFLOW_PREP
* * SINGLE_TABLE_PREP
* * DIRECT_QUERY_MODE
*/
qUsage?: UsageEnum;
};
Expand Down Expand Up @@ -2964,6 +2965,7 @@ type NxAppLayout = {
* * DATA_PREPARATION
* * DATAFLOW_PREP
* * SINGLE_TABLE_PREP
* * DIRECT_QUERY_MODE
*/
qUsage?: UsageEnum;
};
Expand Down Expand Up @@ -3018,6 +3020,7 @@ type NxAppProperties = {
* * DATA_PREPARATION
* * DATAFLOW_PREP
* * SINGLE_TABLE_PREP
* * DIRECT_QUERY_MODE
*/
qUsage?: UsageEnum;
};
Expand Down Expand Up @@ -7307,7 +7310,7 @@ type UndoInfo = {
* The numbers of undos and redos are empty when an object is created. The number of possible undos is increased every time an action (for example, create a child, set some properties) on the object is performed. The number of possible redos is increased every time an undo action is performed.
*/
type UndoInfoDef = object;
type UsageEnum = "ANALYTICS" | "DATA_PREPARATION" | "DATAFLOW_PREP" | "SINGLE_TABLE_PREP";
type UsageEnum = "ANALYTICS" | "DATA_PREPARATION" | "DATAFLOW_PREP" | "SINGLE_TABLE_PREP" | "DIRECT_QUERY_MODE";
type ValueExpr = {
/**
* Expression evaluated to dual.
Expand Down
Loading