Skip to content

Commit

Permalink
feat: qlik api updates (#109)
Browse files Browse the repository at this point in the history
Co-authored-by: qlikossbuild <[email protected]>
  • Loading branch information
qlikossbuild and qlikossbuild authored Jan 15, 2025
1 parent 828cc2e commit 71a1629
Show file tree
Hide file tree
Showing 42 changed files with 104 additions and 82 deletions.
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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/apps.ts
Expand Down
26 changes: 24 additions & 2 deletions audits.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
import './auth-types-PkN9CAF_.js';

type ArchiveItem = {
/** The type that content is encoded in, always "application/json". */
contentType?: string;
/** Additional information about the event's details. The structure depends on the type and version of the event. */
data?: unknown;
/** The event's unique identifier. */
eventId?: string;
/** The RFC3339 datetime when the event happened. */
eventTime?: string;
/** The type of event that describes committed action. */
eventType?: string;
/** The version of the event type. */
eventTypeVersion?: string;
/** The availability of the properties depends on the event and the context it was triggered in. */
extensions?: EventExtensions;
/** The source of the event message, usually the producing service. */
source?: string;
/** The ID of the tenant that owns the item. This is populated using the JWT. */
tenantId?: string;
/** The ID of the user who performed the action that triggered the event. */
userId?: string;
};
type ErrorResponse = {
errors?: {
code?: string;
Expand Down Expand Up @@ -31,7 +53,7 @@ type EventExtensions = {
};
type GetArchiveResult = {
/** List of archived events. The structure of the events depend on their type and version. */
data?: unknown[];
data?: ArchiveItem[];
};
type GetByIDResult = {
/** The type that content is encoded in, always "application/json". */
Expand Down Expand Up @@ -269,4 +291,4 @@ interface AuditsAPI {
*/
declare const auditsExport: AuditsAPI;

export { type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetAuditsSettingsHttpError, type GetAuditsSettingsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSources, getAuditTypes, getAudits, getAuditsSettings };
export { type ArchiveItem, type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetAuditsSettingsHttpError, type GetAuditsSettingsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSources, getAuditTypes, getAudits, getAuditsSettings };
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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/HV7PYNSV.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/EOGHK2R4.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/brands.ts
Expand Down
2 changes: 1 addition & 1 deletion chunks/B3EYJS4U.js → chunks/4K3CNR7C.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// node_modules/.pnpm/@qlik[email protected].15/node_modules/@qlik/runtime-module-loader/dist/index.js
// node_modules/.pnpm/@qlik[email protected].16/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
2 changes: 1 addition & 1 deletion chunks/PEDWO7JX.js → chunks/55SZVSAG.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getQixRuntimeModule
} from "./QPEGXH22.js";
} from "./V3TZ54UE.js";

// src/public/qix.ts
function openAppSession(appSessionProps) {
Expand Down
2 changes: 1 addition & 1 deletion chunks/HV7PYNSV.js → chunks/EOGHK2R4.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getAuthRuntimeModule
} from "./QPEGXH22.js";
} from "./V3TZ54UE.js";

// src/public/auth.ts
function registerAuthModule(name, authModule) {
Expand Down
6 changes: 3 additions & 3 deletions chunks/QPEGXH22.js → chunks/V3TZ54UE.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("./4D5NADHK.js") : import("./B3EYJS4U.js").then(
return isNode ? import("./4D5NADHK.js") : import("./4K3CNR7C.js").then(
(mod) => mod.importRuntimeModule("auth@v1", hostConfig)
);
}
async function getQixRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
const isNode = !!globalThis.process?.argv;
return isNode ? import("./MGXEGSJC.js") : import("./B3EYJS4U.js").then(
return isNode ? import("./MGXEGSJC.js") : import("./4K3CNR7C.js").then(
(mod) => mod.importRuntimeModule("qix@v1", hostConfig)
);
}
async function getInvokeFetchRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
const isNode = !!globalThis.process?.argv;
return isNode ? import("./2BRBIRM2.js") : import("./B3EYJS4U.js").then(
return isNode ? import("./2BRBIRM2.js") : import("./4K3CNR7C.js").then(
(mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig)
);
}
Expand Down
2 changes: 1 addition & 1 deletion chunks/N6IJFSV7.js → chunks/WY7IOA3Q.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getInvokeFetchRuntimeModule
} from "./QPEGXH22.js";
} from "./V3TZ54UE.js";
import {
isBrowser
} from "./2ZQ3ZX7F.js";
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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/data-files.ts
Expand Down
2 changes: 1 addition & 1 deletion docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ As an alternative to the methods above it is also possible to create an instance
Example:

```ts
import { createQlikApi } from "@qlik-trial/qmfe-api";
import { createQlikApi } from "@qlik/api";

const api = createQlikApi({
authType: "apikey"
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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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,17 +1,17 @@
import {
qix_default
} from "./chunks/PEDWO7JX.js";
} from "./chunks/55SZVSAG.js";
import {
auth_default
} from "./chunks/HV7PYNSV.js";
} from "./chunks/EOGHK2R4.js";
import {
interceptors_default
} from "./chunks/3RGGGGAR.js";
import {
clearApiCache,
invokeFetch
} from "./chunks/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/runtime-api-generator/runtime-api-generator-common.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/licenses.ts
Expand Down
4 changes: 2 additions & 2 deletions qix.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import {
openAppSession,
qix_default,
withHostConfig
} from "./chunks/PEDWO7JX.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/55SZVSAG.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/reload-tasks.ts
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/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/reloads.ts
Expand Down
4 changes: 2 additions & 2 deletions reports.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/reports.ts
Expand Down
4 changes: 2 additions & 2 deletions roles.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
clearApiCache,
invokeFetch
} from "./chunks/N6IJFSV7.js";
import "./chunks/QPEGXH22.js";
} from "./chunks/WY7IOA3Q.js";
import "./chunks/V3TZ54UE.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/roles.ts
Expand Down
Loading

0 comments on commit 71a1629

Please sign in to comment.