Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: qlik api updates #87

Merged
merged 1 commit into from
Sep 26, 2024
Merged
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
4 changes: 2 additions & 2 deletions api-keys.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/api-keys.ts
Expand Down
4 changes: 2 additions & 2 deletions apps.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/apps.ts
Expand Down
4 changes: 2 additions & 2 deletions audits.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/audits.ts
Expand Down
4 changes: 2 additions & 2 deletions auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
logout,
registerAuthModule,
setDefaultHostConfig
} from "./chunks/J6G5ZOKI.js";
import "./chunks/VISO65GO.js";
} from "./chunks/IN2U37VE.js";
import "./chunks/DT27RQUH.js";
export {
auth_default as default,
getAccessToken,
Expand Down
4 changes: 2 additions & 2 deletions automations.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/automations.ts
Expand Down
4 changes: 2 additions & 2 deletions brands.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/brands.ts
Expand Down
2 changes: 1 addition & 1 deletion chunks/GLS4DAZ4.js → chunks/4VH5O5UL.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// node_modules/.pnpm/@qlik[email protected].10/node_modules/@qlik/runtime-module-loader/dist/index.js
// node_modules/.pnpm/@qlik[email protected].11/node_modules/@qlik/runtime-module-loader/dist/index.js
window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
window.__qlikMainPrivateResolvers.mainUrlPromise = window.__qlikMainPrivateResolvers.mainUrlPromise || new Promise((resolve) => {
window.__qlikMainPrivateResolvers.resolveMainJsUrl = (value) => resolve(value);
Expand Down
4 changes: 2 additions & 2 deletions chunks/ILZFMC3L.js → chunks/A2C2VDQC.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
invokeFetch,
isWindows,
toValidWebsocketLocationUrl
} from "./63L3IUY2.js";
} from "./HFPUOS5N.js";
import {
isBrowser
} from "./2ZQ3ZX7F.js";
Expand Down Expand Up @@ -145,7 +145,7 @@ function listenForWindowsAuthenticationInformation(session) {
return authSuggestedInWebsocket;
}
async function createAndSetupEnigmaSession(props, canRetry) {
const { createEnigmaSession } = await import("./P5AG7AME.js");
const { createEnigmaSession } = await import("./AF7REKR3.js");
const session = await createEnigmaSession(props);
setupSessionListeners(session, props);
let global;
Expand Down
2 changes: 1 addition & 1 deletion chunks/P5AG7AME.js → chunks/AF7REKR3.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
getRestCallAuthParams,
getWebSocketAuthParams,
toValidWebsocketLocationUrl
} from "./63L3IUY2.js";
} from "./HFPUOS5N.js";
import {
isBrowser,
isNode
Expand Down
2 changes: 1 addition & 1 deletion chunks/BOJLTXK6.js → chunks/ASNTEUGZ.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getInvokeFetchRuntimeModule
} from "./VISO65GO.js";
} from "./DT27RQUH.js";
import {
isBrowser
} from "./2ZQ3ZX7F.js";
Expand Down
6 changes: 3 additions & 3 deletions chunks/VISO65GO.js → chunks/DT27RQUH.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
// src/public/public-runtime-modules.ts
function getAuthRuntimeModule(hostConfig) {
const isNode = !!globalThis.process?.argv;
return isNode ? import("./64RJJHEL.js") : import("./GLS4DAZ4.js").then(
return isNode ? import("./I47QGKNC.js") : import("./4VH5O5UL.js").then(
(mod) => mod.importRuntimeModule("auth@v1", hostConfig)
);
}
async function getQixRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
const isNode = !!globalThis.process?.argv;
return isNode ? import("./ILZFMC3L.js") : import("./GLS4DAZ4.js").then(
return isNode ? import("./A2C2VDQC.js") : import("./4VH5O5UL.js").then(
(mod) => mod.importRuntimeModule("qix@v1", hostConfig)
);
}
async function getInvokeFetchRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
const isNode = !!globalThis.process?.argv;
return isNode ? import("./AKBUFQRX.js") : import("./GLS4DAZ4.js").then(
return isNode ? import("./ITAWVTNL.js") : import("./4VH5O5UL.js").then(
(mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig)
);
}
Expand Down
4 changes: 3 additions & 1 deletion chunks/63L3IUY2.js → chunks/HFPUOS5N.js
Original file line number Diff line number Diff line change
Expand Up @@ -1862,7 +1862,9 @@ async function download(blob, filename) {
window.URL.revokeObjectURL(blobUrl);
} else {
const { writeFileSync } = await import("fs");
writeFileSync(filename, Buffer.from(await blob.arrayBuffer()));
const arrayBuffer = await blob.arrayBuffer();
const uint8Array = new Uint8Array(arrayBuffer);
writeFileSync(filename, uint8Array);
}
}

Expand Down
2 changes: 1 addition & 1 deletion chunks/64RJJHEL.js → chunks/I47QGKNC.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
toValidEnigmaLocationUrl,
toValidLocationUrl,
toValidWebsocketLocationUrl
} from "./63L3IUY2.js";
} from "./HFPUOS5N.js";
import "./2ZQ3ZX7F.js";
export {
AuthorizationError,
Expand Down
2 changes: 1 addition & 1 deletion chunks/J6G5ZOKI.js → chunks/IN2U37VE.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getAuthRuntimeModule
} from "./VISO65GO.js";
} from "./DT27RQUH.js";

// src/public/auth.ts
function registerAuthModule(name, authModule) {
Expand Down
2 changes: 1 addition & 1 deletion chunks/AKBUFQRX.js → chunks/ITAWVTNL.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
invokeFetch,
invoke_fetch_default,
parseFetchResponse
} from "./63L3IUY2.js";
} from "./HFPUOS5N.js";
import "./2ZQ3ZX7F.js";
export {
EncodingError,
Expand Down
2 changes: 1 addition & 1 deletion chunks/KKAWWYOT.js → chunks/MWAMTMFL.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getQixRuntimeModule
} from "./VISO65GO.js";
} from "./DT27RQUH.js";

// src/public/qix.ts
function openAppSession(appSessionProps) {
Expand Down
4 changes: 2 additions & 2 deletions collections.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/collections.ts
Expand Down
4 changes: 2 additions & 2 deletions csp-origins.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/csp-origins.ts
Expand Down
4 changes: 2 additions & 2 deletions data-assets.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/data-assets.ts
Expand Down
4 changes: 2 additions & 2 deletions data-connections.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/data-connections.ts
Expand Down
4 changes: 2 additions & 2 deletions data-credentials.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/data-credentials.ts
Expand Down
4 changes: 2 additions & 2 deletions data-files.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/data-files.ts
Expand Down
4 changes: 2 additions & 2 deletions extensions.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/extensions.ts
Expand Down
4 changes: 2 additions & 2 deletions glossaries.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/glossaries.ts
Expand Down
4 changes: 2 additions & 2 deletions groups.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/groups.ts
Expand Down
4 changes: 2 additions & 2 deletions identity-providers.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/identity-providers.ts
Expand Down
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {
qix_default
} from "./chunks/KKAWWYOT.js";
} from "./chunks/MWAMTMFL.js";
import {
auth_default
} from "./chunks/J6G5ZOKI.js";
} from "./chunks/IN2U37VE.js";
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
Expand Down
4 changes: 2 additions & 2 deletions items.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/items.ts
Expand Down
4 changes: 2 additions & 2 deletions licenses.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/licenses.ts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"nanoid": "^5.0.7",
"ws": "^8.18.0"
},
"packageManager": "pnpm@9.9.0",
"packageManager": "pnpm@9.11.0",
"engines": {
"node": ">=18"
},
Expand Down
4 changes: 2 additions & 2 deletions qix.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
openAppSession,
qix_default
} from "./chunks/KKAWWYOT.js";
import "./chunks/VISO65GO.js";
} from "./chunks/MWAMTMFL.js";
import "./chunks/DT27RQUH.js";
export {
qix_default as default,
openAppSession
Expand Down
4 changes: 2 additions & 2 deletions quotas.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/quotas.ts
Expand Down
4 changes: 2 additions & 2 deletions reload-tasks.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/reload-tasks.ts
Expand Down
2 changes: 1 addition & 1 deletion reloads.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ declare const getReloads: (query: {
filter?: string;
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
limit?: number;
/** The boolean value used to include the log field or not, default is included, set log=false to exclude the log field. */
/** The boolean value used to include the log field or not, set log=true to include the log field. */
log?: boolean;
/** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
next?: string;
Expand Down
4 changes: 2 additions & 2 deletions reloads.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/BOJLTXK6.js";
import "./chunks/VISO65GO.js";
} from "./chunks/ASNTEUGZ.js";
import "./chunks/DT27RQUH.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/reloads.ts
Expand Down
2 changes: 2 additions & 0 deletions reports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ type ReportRequest = {
type ReportStatus = {
/** Present when status is failed. */
reasons?: Reason[];
/** Errors occured during report generation. */
requestErrors?: ExportErrors;
/** Count how many times the resolution of this report was attempted. */
resolutionAttempts?: number;
/** Present when the status is "done". */
Expand Down
Loading