Skip to content

Commit

Permalink
feat: qlik api updates
Browse files Browse the repository at this point in the history
  • Loading branch information
qlikossbuild authored and github-actions[bot] committed Oct 10, 2024
1 parent 226465d commit d8f431f
Show file tree
Hide file tree
Showing 49 changed files with 168 additions and 123 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/TUPLQG25.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/YORZLVSA.js";
import "./chunks/EFU3HQQZ.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/api-keys.ts
Expand Down
10 changes: 9 additions & 1 deletion apps.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,15 @@ type FilterError = {
* - "REP-500000" Fail to resolve resource.
* - "REP-503005" Engine unavailable, qix-sessions error no engines available.
* - "REP-503013" Session unavailable. The engine session used to create the report is unavailable.
* - "REP-504042" Context deadline exceeded applying selections of the Filter. */
* - "REP-504042" Context deadline exceeded applying selections of the Filter.
* - "REP-500031" Error creating bookmark.
* - "REP-404032" Bookmark not found after creating the bookmark.
* - "REP-500033" Error destroying bookmark.
* - "REP-404033" Bookmark not found destroying the bookmark.
* - "REP-409043" Dupliacate bookmark name.
* - "REP-429034" Filters quota exceeded.
* - "REP-400044" Missing or renamed field.
* - "REP-403049" Report filter access not allowed. */
code: string;
/** A summary in english explaining what went wrong. */
title: string;
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/TUPLQG25.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/YORZLVSA.js";
import "./chunks/EFU3HQQZ.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/TUPLQG25.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/YORZLVSA.js";
import "./chunks/EFU3HQQZ.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/TGDZVKG2.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/I3BKKY53.js";
import "./chunks/EFU3HQQZ.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/TUPLQG25.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/YORZLVSA.js";
import "./chunks/EFU3HQQZ.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/automations.ts
Expand Down
44 changes: 22 additions & 22 deletions brands.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ type Link = {
*/
type NoActiveBrand = unknown;
/**
* Lists all brand entries for a tenant
* Lists all brand entries for a tenant.
*
* @param query an object with query parameters
* @throws GetBrandsHttpError
Expand Down Expand Up @@ -144,7 +144,7 @@ type GetBrands500HttpError = {
};
type GetBrandsHttpError = GetBrands400HttpError | GetBrands401HttpError | GetBrands403HttpError | GetBrands500HttpError;
/**
* Creates a new brand
* Creates a new brand.
*
* @param body an object with the body content
* @throws CreateBrandHttpError
Expand Down Expand Up @@ -188,7 +188,7 @@ type CreateBrand500HttpError = {
};
type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError | CreateBrand403HttpError | CreateBrand500HttpError;
/**
* Retrieves the current active brand
* Returns the current active brand. If using the Qlik default brand, no value is returned.
*
* @throws GetActiveBrandHttpError
*/
Expand All @@ -204,7 +204,7 @@ type GetActiveBrandHttpError = {
status: number;
};
/**
* Deletes a specific brand
* Deletes a specific brand. If the active brand is deleted, the tenant will return to the Qlik default.
*
* @param brandId The brand's unique identifier.
* @throws DeleteBrandHttpError
Expand Down Expand Up @@ -242,7 +242,7 @@ type DeleteBrand500HttpError = {
};
type DeleteBrandHttpError = DeleteBrand400HttpError | DeleteBrand401HttpError | DeleteBrand403HttpError | DeleteBrand404HttpError | DeleteBrand500HttpError;
/**
* Retrieves a specific brand
* Returns a specific brand.
*
* @param brandId The brand's unique identifier.
* @throws GetBrandHttpError
Expand Down Expand Up @@ -280,7 +280,7 @@ type GetBrand500HttpError = {
};
type GetBrandHttpError = GetBrand400HttpError | GetBrand401HttpError | GetBrand403HttpError | GetBrand404HttpError | GetBrand500HttpError;
/**
* Patches a brand
* Patches a brand.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
Expand Down Expand Up @@ -358,7 +358,7 @@ type ActivateBrand500HttpError = {
};
type ActivateBrandHttpError = ActivateBrand400HttpError | ActivateBrand401HttpError | ActivateBrand403HttpError | ActivateBrand404HttpError | ActivateBrand500HttpError;
/**
* Sets the brand so it is no longer active. If the brand is already inactive, no action is taken.
* Sets the brand so it is no longer active, returning the tenant the Qlik default brand. If the brand is already inactive, no action is taken.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
Expand Down Expand Up @@ -397,7 +397,7 @@ type DeactivateBrand500HttpError = {
};
type DeactivateBrandHttpError = DeactivateBrand400HttpError | DeactivateBrand401HttpError | DeactivateBrand403HttpError | DeactivateBrand404HttpError | DeactivateBrand500HttpError;
/**
* Deletes a specific brand file
* Deletes the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
Expand Down Expand Up @@ -436,7 +436,7 @@ type DeleteBrandFile500HttpError = {
};
type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401HttpError | DeleteBrandFile403HttpError | DeleteBrandFile404HttpError | DeleteBrandFile500HttpError;
/**
* Downloads the brand file
* Downloads the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
Expand Down Expand Up @@ -475,7 +475,7 @@ type GetBrandFile500HttpError = {
};
type GetBrandFileHttpError = GetBrandFile400HttpError | GetBrandFile401HttpError | GetBrandFile403HttpError | GetBrandFile404HttpError | GetBrandFile500HttpError;
/**
* Creates a brand file
* Creates a brand file for the specified identifier.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
Expand Down Expand Up @@ -518,7 +518,7 @@ type CreateBrandFile500HttpError = {
};
type CreateBrandFileHttpError = CreateBrandFile400HttpError | CreateBrandFile401HttpError | CreateBrandFile403HttpError | CreateBrandFile404HttpError | CreateBrandFile500HttpError;
/**
* Updates existing file
* Updates the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
Expand Down Expand Up @@ -566,41 +566,41 @@ type UpdateBrandFileHttpError = UpdateBrandFile400HttpError | UpdateBrandFile401
declare function clearCache(): void;
interface BrandsAPI {
/**
* Lists all brand entries for a tenant
* Lists all brand entries for a tenant.
*
* @param query an object with query parameters
* @throws GetBrandsHttpError
*/
getBrands: typeof getBrands;
/**
* Creates a new brand
* Creates a new brand.
*
* @param body an object with the body content
* @throws CreateBrandHttpError
*/
createBrand: typeof createBrand;
/**
* Retrieves the current active brand
* Returns the current active brand. If using the Qlik default brand, no value is returned.
*
* @throws GetActiveBrandHttpError
*/
getActiveBrand: typeof getActiveBrand;
/**
* Deletes a specific brand
* Deletes a specific brand. If the active brand is deleted, the tenant will return to the Qlik default.
*
* @param brandId The brand's unique identifier.
* @throws DeleteBrandHttpError
*/
deleteBrand: typeof deleteBrand;
/**
* Retrieves a specific brand
* Returns a specific brand.
*
* @param brandId The brand's unique identifier.
* @throws GetBrandHttpError
*/
getBrand: typeof getBrand;
/**
* Patches a brand
* Patches a brand.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
Expand All @@ -616,31 +616,31 @@ interface BrandsAPI {
*/
activateBrand: typeof activateBrand;
/**
* Sets the brand so it is no longer active. If the brand is already inactive, no action is taken.
* Sets the brand so it is no longer active, returning the tenant the Qlik default brand. If the brand is already inactive, no action is taken.
*
* @param brandId The brand's unique identifier.
* @param body an object with the body content
* @throws DeactivateBrandHttpError
*/
deactivateBrand: typeof deactivateBrand;
/**
* Deletes a specific brand file
* Deletes the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @throws DeleteBrandFileHttpError
*/
deleteBrandFile: typeof deleteBrandFile;
/**
* Downloads the brand file
* Downloads the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
* @throws GetBrandFileHttpError
*/
getBrandFile: typeof getBrandFile;
/**
* Creates a brand file
* Creates a brand file for the specified identifier.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
Expand All @@ -649,7 +649,7 @@ interface BrandsAPI {
*/
createBrandFile: typeof createBrandFile;
/**
* Updates existing file
* Updates the specified brand file.
*
* @param brandId The brand's unique identifier.
* @param brandFileId The unique identifier of a file within a brand.
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/TUPLQG25.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/YORZLVSA.js";
import "./chunks/EFU3HQQZ.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/brands.ts
Expand Down
1 change: 1 addition & 0 deletions chunks/OEVNZ5IQ.js → chunks/27XOYFEK.js
Original file line number Diff line number Diff line change
Expand Up @@ -2079,6 +2079,7 @@ async function parseFetchResponse(fetchResponse, url) {
case "application/octet-stream":
case "application/zip":
case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":
case "application/pdf":
resultData = toDownloadableBlob(await fetchResponse.blob());
break;
case "text/event-stream":
Expand Down
2 changes: 1 addition & 1 deletion chunks/PR52AAWU.js → chunks/37HACJCY.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
getRestCallAuthParams,
getWebSocketAuthParams,
toValidWebsocketLocationUrl
} from "./OEVNZ5IQ.js";
} from "./27XOYFEK.js";
import "./7RHSSS4W.js";
import {
isBrowser,
Expand Down
6 changes: 3 additions & 3 deletions chunks/SNQHDUYY.js → chunks/EFU3HQQZ.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("./SEBN4KFZ.js") : import("./EUWNVVK5.js").then(
return isNode ? import("./LDIN4JFA.js") : import("./EUWNVVK5.js").then(
(mod) => mod.importRuntimeModule("auth@v1", hostConfig)
);
}
async function getQixRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
const isNode = !!globalThis.process?.argv;
return isNode ? import("./KBR7JBWC.js") : import("./EUWNVVK5.js").then(
return isNode ? import("./WXZA7LRH.js") : import("./EUWNVVK5.js").then(
(mod) => mod.importRuntimeModule("qix@v1", hostConfig)
);
}
async function getInvokeFetchRuntimeModule(hostConfig) {
await getAuthRuntimeModule(hostConfig);
const isNode = !!globalThis.process?.argv;
return isNode ? import("./GZRY5VHW.js") : import("./EUWNVVK5.js").then(
return isNode ? import("./TVT6R5GS.js") : import("./EUWNVVK5.js").then(
(mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig)
);
}
Expand Down
2 changes: 1 addition & 1 deletion chunks/TGDZVKG2.js → chunks/I3BKKY53.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getAuthRuntimeModule
} from "./SNQHDUYY.js";
} from "./EFU3HQQZ.js";

// src/public/auth.ts
function registerAuthModule(name, authModule) {
Expand Down
2 changes: 1 addition & 1 deletion chunks/SEBN4KFZ.js → chunks/LDIN4JFA.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
toValidEnigmaLocationUrl,
toValidLocationUrl,
toValidWebsocketLocationUrl
} from "./OEVNZ5IQ.js";
} from "./27XOYFEK.js";
import "./7RHSSS4W.js";
import "./2ZQ3ZX7F.js";
export {
Expand Down
2 changes: 1 addition & 1 deletion chunks/GZRY5VHW.js → chunks/TVT6R5GS.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
invokeFetch,
invoke_fetch_default,
parseFetchResponse
} from "./OEVNZ5IQ.js";
} from "./27XOYFEK.js";
import "./7RHSSS4W.js";
import "./2ZQ3ZX7F.js";
export {
Expand Down
2 changes: 1 addition & 1 deletion chunks/VHPC6L7L.js → chunks/WTOPYVRD.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getQixRuntimeModule
} from "./SNQHDUYY.js";
} from "./EFU3HQQZ.js";

// src/public/qix.ts
function openAppSession(appSessionProps) {
Expand Down
4 changes: 2 additions & 2 deletions chunks/KBR7JBWC.js → chunks/WXZA7LRH.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
invokeFetch,
isWindows,
toValidWebsocketLocationUrl
} from "./OEVNZ5IQ.js";
} from "./27XOYFEK.js";
import "./7RHSSS4W.js";
import {
isBrowser
Expand Down Expand Up @@ -150,7 +150,7 @@ function listenForWindowsAuthenticationInformation(session) {
return authSuggestedInWebsocket;
}
async function createAndSetupEnigmaSession(props, canRetry) {
const { createEnigmaSession } = await import("./PR52AAWU.js");
const { createEnigmaSession } = await import("./37HACJCY.js");
const session = await createEnigmaSession(props);
setupSessionListeners(session, props);
let global;
Expand Down
2 changes: 1 addition & 1 deletion chunks/TUPLQG25.js → chunks/YORZLVSA.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
getInvokeFetchRuntimeModule
} from "./SNQHDUYY.js";
} from "./EFU3HQQZ.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/TUPLQG25.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/YORZLVSA.js";
import "./chunks/EFU3HQQZ.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/TUPLQG25.js";
import "./chunks/SNQHDUYY.js";
} from "./chunks/YORZLVSA.js";
import "./chunks/EFU3HQQZ.js";
import "./chunks/2ZQ3ZX7F.js";

// src/public/rest/csp-origins.ts
Expand Down
Loading

0 comments on commit d8f431f

Please sign in to comment.