@qlik/api 1.11.0 → 1.13.0
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/api-keys.js +2 -2
- package/apps.d.ts +50 -1
- package/apps.js +12 -2
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.js +2 -2
- package/brands.js +2 -2
- package/chunks/{XUWECIND.js → 5T2SBCJG.js} +3 -3
- package/chunks/{ZP6EOOXB.js → 5V4BMSM2.js} +2 -2
- package/chunks/{SW3DXPAP.js → CNQQPV5L.js} +1 -1
- package/chunks/{B2KHDUE3.js → HACHQCYI.js} +2 -2
- package/chunks/{A6PUXM6W.js → IOUD76RB.js} +1 -1
- package/chunks/{5WSW4QG3.js → JIAZ5W7Y.js} +1 -1
- package/chunks/{AOO7YWBX.js → LIPAU4N5.js} +16 -5
- package/chunks/{GC6TSJ3N.js → NWOESCMR.js} +1 -1
- package/chunks/{KSB5ROQL.js → RN5AUIPP.js} +8 -1
- package/collections.js +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.js +2 -2
- package/data-connections.js +2 -2
- package/data-credentials.js +2 -2
- package/data-files.js +2 -2
- package/extensions.js +2 -2
- package/glossaries.js +2 -2
- package/groups.d.ts +4 -8
- package/groups.js +2 -2
- package/identity-providers.js +2 -2
- package/index.js +5 -5
- package/items.js +2 -2
- package/licenses.d.ts +8 -4
- package/licenses.js +2 -2
- package/package.json +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.js +2 -2
- package/reports.d.ts +9 -8
- package/reports.js +2 -2
- package/roles.js +2 -2
- package/spaces.js +2 -2
- package/temp-contents.js +2 -2
- package/tenants.d.ts +2 -0
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.js +2 -2
- package/users.d.ts +3 -3
- package/users.js +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.js +2 -2
package/api-keys.js
CHANGED
package/apps.d.ts
CHANGED
|
@@ -488,6 +488,16 @@ type FilterFieldValue = {
|
|
|
488
488
|
valueAsText?: string;
|
|
489
489
|
valueType?: "string" | "number" | "evaluate" | "search";
|
|
490
490
|
};
|
|
491
|
+
type FilterItemPatch = {
|
|
492
|
+
/** The filter description. */
|
|
493
|
+
description?: string;
|
|
494
|
+
filterV1_0?: FilterV10;
|
|
495
|
+
filterVersion?: "filter-1.0" | "filter-2.0";
|
|
496
|
+
/** The filter name. */
|
|
497
|
+
name?: string;
|
|
498
|
+
/** The user that owns the filter, if missing the same as the request user. */
|
|
499
|
+
ownerId?: string;
|
|
500
|
+
};
|
|
491
501
|
type FilterList = {
|
|
492
502
|
/** a list of filters containing all the filters properties (like name,description...) except the filter definition (like FilterV1_0) */
|
|
493
503
|
data: FilterListItem[];
|
|
@@ -748,6 +758,17 @@ type PartialNluInfo = {
|
|
|
748
758
|
/** Type of token from query */
|
|
749
759
|
type?: "field" | "filter" | "master_dimension" | "master_measure" | "custom_analysis";
|
|
750
760
|
};
|
|
761
|
+
type PatchFilter = PatchFilterItem[];
|
|
762
|
+
type PatchFilterItem = {
|
|
763
|
+
/** operation (replace). */
|
|
764
|
+
op: "replace";
|
|
765
|
+
/** A JSON Pointer path (/). */
|
|
766
|
+
path: "/filter";
|
|
767
|
+
/** The value to be used for this operation. The properties that cannot be patched include id, filterType, appId */
|
|
768
|
+
value: {
|
|
769
|
+
Filter?: FilterItemPatch;
|
|
770
|
+
};
|
|
771
|
+
};
|
|
751
772
|
type PublishApp = {
|
|
752
773
|
attributes?: AppUpdateAttributes;
|
|
753
774
|
data?: PublishData;
|
|
@@ -1881,6 +1902,25 @@ type GetAppReportFilterHttpError = {
|
|
|
1881
1902
|
headers: Headers;
|
|
1882
1903
|
status: number;
|
|
1883
1904
|
};
|
|
1905
|
+
/**
|
|
1906
|
+
* Update a filter
|
|
1907
|
+
*
|
|
1908
|
+
* @param appId Qlik Sense app identifier
|
|
1909
|
+
* @param id The filter id identifier (bookmarkId).
|
|
1910
|
+
* @param body an object with the body content
|
|
1911
|
+
* @throws PatchAppReportFilterHttpError
|
|
1912
|
+
*/
|
|
1913
|
+
declare const patchAppReportFilter: (appId: string, id: string, body: PatchFilter, options?: ApiCallOptions) => Promise<PatchAppReportFilterHttpResponse>;
|
|
1914
|
+
type PatchAppReportFilterHttpResponse = {
|
|
1915
|
+
data: void;
|
|
1916
|
+
headers: Headers;
|
|
1917
|
+
status: number;
|
|
1918
|
+
};
|
|
1919
|
+
type PatchAppReportFilterHttpError = {
|
|
1920
|
+
data: FilterErrors;
|
|
1921
|
+
headers: Headers;
|
|
1922
|
+
status: number;
|
|
1923
|
+
};
|
|
1884
1924
|
/**
|
|
1885
1925
|
* Retrieves the script history for an app.
|
|
1886
1926
|
* Returns information about the saved versions of the script in a list sorted with latest first.
|
|
@@ -2357,6 +2397,15 @@ interface AppsAPI {
|
|
|
2357
2397
|
* @throws GetAppReportFilterHttpError
|
|
2358
2398
|
*/
|
|
2359
2399
|
getAppReportFilter: typeof getAppReportFilter;
|
|
2400
|
+
/**
|
|
2401
|
+
* Update a filter
|
|
2402
|
+
*
|
|
2403
|
+
* @param appId Qlik Sense app identifier
|
|
2404
|
+
* @param id The filter id identifier (bookmarkId).
|
|
2405
|
+
* @param body an object with the body content
|
|
2406
|
+
* @throws PatchAppReportFilterHttpError
|
|
2407
|
+
*/
|
|
2408
|
+
patchAppReportFilter: typeof patchAppReportFilter;
|
|
2360
2409
|
/**
|
|
2361
2410
|
* Retrieves the script history for an app.
|
|
2362
2411
|
* Returns information about the saved versions of the script in a list sorted with latest first.
|
|
@@ -2442,4 +2491,4 @@ interface AppsAPI {
|
|
|
2442
2491
|
*/
|
|
2443
2492
|
declare const appsExport: AppsAPI;
|
|
2444
2493
|
|
|
2445
|
-
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppObjectGenericType, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type Cmpbool, type Cmpfloat, type CmpfloatWithTimeout, type Cmpint, type Comparison, type Comparisonfields, type ComparisonobjMemoryLimit, type Comparisonobjresponsetime, type Comparisonoobjheavy, type Comparisontables, type CompositionMinMax, type CopyAppHttpError, type CopyAppHttpResponse, type CountAppReportFiltersHttpError, type CountAppReportFiltersHttpResponse, type CreateApp, type CreateAppHttpError, type CreateAppHttpResponse, type CreateAppReportFilterHttpError, type CreateAppReportFilterHttpResponse, type DataModelMetadata, type DeleteAppHttpError, type DeleteAppHttpResponse, type DeleteAppMediaHttpError, type DeleteAppMediaHttpResponse, type DeleteAppReportFilterHttpError, type DeleteAppReportFilterHttpResponse, type DeleteAppScriptHttpError, type DeleteAppScriptHttpResponse, type Error, type Errors, type Evaluation, type Evaluations, type EvaluatorError, type Event, type ExportAppHttpError, type ExportAppHttpResponse, type FieldAttrType, type FieldAttributes, type FieldInTableProfilingData, type FieldMetadata, type FieldOverride, type FileData, type Filter, type FilterError, type FilterErrors, type FilterField, type FilterFieldValue, type FilterList, type FilterListItem, type FilterRequest, type FilterType, type FilterV10, type FilterVariable, type FiltersCount, type Float64, type FrequencyDistributionData, type GetAppDataLineageHttpError, type GetAppDataLineageHttpResponse, type GetAppDataMetadataHttpError, type GetAppDataMetadataHttpResponse, type GetAppEvaluationComparisonHttpError, type GetAppEvaluationComparisonHttpResponse, type GetAppEvaluationComparisonXmlHttpError, type GetAppEvaluationComparisonXmlHttpResponse, type GetAppEvaluationHttpError, type GetAppEvaluationHttpResponse, type GetAppEvaluationXmlHttpError, type GetAppEvaluationXmlHttpResponse, type GetAppEvaluationsHttpError, type GetAppEvaluationsHttpResponse, type GetAppInfoHttpError, type GetAppInfoHttpResponse, type GetAppInsightAnalysesHttpError, type GetAppInsightAnalysesHttpResponse, type GetAppInsightAnalysisModelHttpError, type GetAppInsightAnalysisModelHttpResponse, type GetAppInsightAnalysisRecommendationsHttpError, type GetAppInsightAnalysisRecommendationsHttpResponse, type GetAppMediaHttpError, type GetAppMediaHttpResponse, type GetAppMediaListHttpError, type GetAppMediaListHttpResponse, type GetAppReloadLogHttpError, type GetAppReloadLogHttpResponse, type GetAppReloadLogsHttpError, type GetAppReloadLogsHttpResponse, type GetAppReloadMetadataHttpError, type GetAppReloadMetadataHttpResponse, type GetAppReportFilterHttpError, type GetAppReportFilterHttpResponse, type GetAppReportFiltersHttpError, type GetAppReportFiltersHttpResponse, type GetAppScriptHistoryHttpError, type GetAppScriptHistoryHttpResponse, type GetAppScriptHttpError, type GetAppScriptHttpResponse, type GetAppThumbnailHttpError, type GetAppThumbnailHttpResponse, type GetAppsPrivilegesHttpError, type GetAppsPrivilegesHttpResponse, type HardwareMeta, type Href, type ImportAppHttpError, type ImportAppHttpResponse, type JsonObject, type LastReloadMetadata, type LineageInfoRest, type LinkResponse, type Links, type LinksResponse, type Log, type Metadata, type MoveAppToSpaceHttpError, type MoveAppToSpaceHttpResponse, type NavigationLink, type NavigationLinks, type NumberFormat, type NxApp, type NxAppCreatePrivileges, type NxAppObject, type NxAttributes, type NxObjectAttributes, type NxPatch, type NxPatchOperationType, type Objectmetrics, type Objectspec, type Objecttopspec, type PartialNluInfo, type PatchAppScriptHttpError, type PatchAppScriptHttpResponse, type PublishApp, type PublishAppHttpError, type PublishAppHttpResponse, type PublishData, type QueueAppEvaluationHttpError, type QueueAppEvaluationHttpResponse, type RecommendFieldItem, type RecommendItems, type RecommendMasterItem, type RecommendNaturalLangQuery, type RecommendedAnalysis, type RecommendedAnalysisCore, type ReloadIncludeFile, type ReloadListMetadata, type ReloadMeta, type ReloadStatements, type RemoveAppFromSpaceHttpError, type RemoveAppFromSpaceHttpResponse, type RepublishApp, type RepublishAppHttpError, type RepublishAppHttpResponse, type Result, type Resultentry, type Resultmetadatatopfields, type Resultmetadatatoptables, type ResultobjMemoryLimit, type Resultobjresponsetime, type Resultobjsheet, type Resultsingle, type ScriptLogList, type ScriptLogMeta, type ScriptMeta, type ScriptMetaList, type ScriptVersion, type SimplifiedClassifications, type Sortedcomparisonfields, type Sortedcomparisonobjresponsetime, type Sortedcomparisonoobjheavy, type Sortedcomparisontables, type SymbolFrequency, type SymbolValue, type TableMetadata, type TableProfilingData, type UpdateApp, type UpdateAppInfoHttpError, type UpdateAppInfoHttpResponse, type UpdateAppObjectOwnerHttpError, type UpdateAppObjectOwnerHttpResponse, type UpdateAppOwnerHttpError, type UpdateAppOwnerHttpResponse, type UpdateAppScriptHttpError, type UpdateAppScriptHttpResponse, type UpdateOwner, type UpdateSpace, type UploadAppMediaHttpError, type UploadAppMediaHttpResponse, type UsageEnum, type UserPrivileges, clearCache, copyApp, countAppReportFilters, createApp, createAppReportFilter, appsExport as default, deleteApp, deleteAppMedia, deleteAppReportFilter, deleteAppScript, exportApp, getAppDataLineage, getAppDataMetadata, getAppEvaluation, getAppEvaluationComparison, getAppEvaluationComparisonXml, getAppEvaluationXml, getAppEvaluations, getAppInfo, getAppInsightAnalyses, getAppInsightAnalysisModel, getAppInsightAnalysisRecommendations, getAppMedia, getAppMediaList, getAppReloadLog, getAppReloadLogs, getAppReloadMetadata, getAppReportFilter, getAppReportFilters, getAppScript, getAppScriptHistory, getAppThumbnail, getAppsPrivileges, importApp, moveAppToSpace, patchAppScript, publishApp, queueAppEvaluation, removeAppFromSpace, republishApp, updateAppInfo, updateAppObjectOwner, updateAppOwner, updateAppScript, uploadAppMedia };
|
|
2494
|
+
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppObjectGenericType, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type Cmpbool, type Cmpfloat, type CmpfloatWithTimeout, type Cmpint, type Comparison, type Comparisonfields, type ComparisonobjMemoryLimit, type Comparisonobjresponsetime, type Comparisonoobjheavy, type Comparisontables, type CompositionMinMax, type CopyAppHttpError, type CopyAppHttpResponse, type CountAppReportFiltersHttpError, type CountAppReportFiltersHttpResponse, type CreateApp, type CreateAppHttpError, type CreateAppHttpResponse, type CreateAppReportFilterHttpError, type CreateAppReportFilterHttpResponse, type DataModelMetadata, type DeleteAppHttpError, type DeleteAppHttpResponse, type DeleteAppMediaHttpError, type DeleteAppMediaHttpResponse, type DeleteAppReportFilterHttpError, type DeleteAppReportFilterHttpResponse, type DeleteAppScriptHttpError, type DeleteAppScriptHttpResponse, type Error, type Errors, type Evaluation, type Evaluations, type EvaluatorError, type Event, type ExportAppHttpError, type ExportAppHttpResponse, type FieldAttrType, type FieldAttributes, type FieldInTableProfilingData, type FieldMetadata, type FieldOverride, type FileData, type Filter, type FilterError, type FilterErrors, type FilterField, type FilterFieldValue, type FilterItemPatch, type FilterList, type FilterListItem, type FilterRequest, type FilterType, type FilterV10, type FilterVariable, type FiltersCount, type Float64, type FrequencyDistributionData, type GetAppDataLineageHttpError, type GetAppDataLineageHttpResponse, type GetAppDataMetadataHttpError, type GetAppDataMetadataHttpResponse, type GetAppEvaluationComparisonHttpError, type GetAppEvaluationComparisonHttpResponse, type GetAppEvaluationComparisonXmlHttpError, type GetAppEvaluationComparisonXmlHttpResponse, type GetAppEvaluationHttpError, type GetAppEvaluationHttpResponse, type GetAppEvaluationXmlHttpError, type GetAppEvaluationXmlHttpResponse, type GetAppEvaluationsHttpError, type GetAppEvaluationsHttpResponse, type GetAppInfoHttpError, type GetAppInfoHttpResponse, type GetAppInsightAnalysesHttpError, type GetAppInsightAnalysesHttpResponse, type GetAppInsightAnalysisModelHttpError, type GetAppInsightAnalysisModelHttpResponse, type GetAppInsightAnalysisRecommendationsHttpError, type GetAppInsightAnalysisRecommendationsHttpResponse, type GetAppMediaHttpError, type GetAppMediaHttpResponse, type GetAppMediaListHttpError, type GetAppMediaListHttpResponse, type GetAppReloadLogHttpError, type GetAppReloadLogHttpResponse, type GetAppReloadLogsHttpError, type GetAppReloadLogsHttpResponse, type GetAppReloadMetadataHttpError, type GetAppReloadMetadataHttpResponse, type GetAppReportFilterHttpError, type GetAppReportFilterHttpResponse, type GetAppReportFiltersHttpError, type GetAppReportFiltersHttpResponse, type GetAppScriptHistoryHttpError, type GetAppScriptHistoryHttpResponse, type GetAppScriptHttpError, type GetAppScriptHttpResponse, type GetAppThumbnailHttpError, type GetAppThumbnailHttpResponse, type GetAppsPrivilegesHttpError, type GetAppsPrivilegesHttpResponse, type HardwareMeta, type Href, type ImportAppHttpError, type ImportAppHttpResponse, type JsonObject, type LastReloadMetadata, type LineageInfoRest, type LinkResponse, type Links, type LinksResponse, type Log, type Metadata, type MoveAppToSpaceHttpError, type MoveAppToSpaceHttpResponse, type NavigationLink, type NavigationLinks, type NumberFormat, type NxApp, type NxAppCreatePrivileges, type NxAppObject, type NxAttributes, type NxObjectAttributes, type NxPatch, type NxPatchOperationType, type Objectmetrics, type Objectspec, type Objecttopspec, type PartialNluInfo, type PatchAppReportFilterHttpError, type PatchAppReportFilterHttpResponse, type PatchAppScriptHttpError, type PatchAppScriptHttpResponse, type PatchFilter, type PatchFilterItem, type PublishApp, type PublishAppHttpError, type PublishAppHttpResponse, type PublishData, type QueueAppEvaluationHttpError, type QueueAppEvaluationHttpResponse, type RecommendFieldItem, type RecommendItems, type RecommendMasterItem, type RecommendNaturalLangQuery, type RecommendedAnalysis, type RecommendedAnalysisCore, type ReloadIncludeFile, type ReloadListMetadata, type ReloadMeta, type ReloadStatements, type RemoveAppFromSpaceHttpError, type RemoveAppFromSpaceHttpResponse, type RepublishApp, type RepublishAppHttpError, type RepublishAppHttpResponse, type Result, type Resultentry, type Resultmetadatatopfields, type Resultmetadatatoptables, type ResultobjMemoryLimit, type Resultobjresponsetime, type Resultobjsheet, type Resultsingle, type ScriptLogList, type ScriptLogMeta, type ScriptMeta, type ScriptMetaList, type ScriptVersion, type SimplifiedClassifications, type Sortedcomparisonfields, type Sortedcomparisonobjresponsetime, type Sortedcomparisonoobjheavy, type Sortedcomparisontables, type SymbolFrequency, type SymbolValue, type TableMetadata, type TableProfilingData, type UpdateApp, type UpdateAppInfoHttpError, type UpdateAppInfoHttpResponse, type UpdateAppObjectOwnerHttpError, type UpdateAppObjectOwnerHttpResponse, type UpdateAppOwnerHttpError, type UpdateAppOwnerHttpResponse, type UpdateAppScriptHttpError, type UpdateAppScriptHttpResponse, type UpdateOwner, type UpdateSpace, type UploadAppMediaHttpError, type UploadAppMediaHttpResponse, type UsageEnum, type UserPrivileges, clearCache, copyApp, countAppReportFilters, createApp, createAppReportFilter, appsExport as default, deleteApp, deleteAppMedia, deleteAppReportFilter, deleteAppScript, exportApp, getAppDataLineage, getAppDataMetadata, getAppEvaluation, getAppEvaluationComparison, getAppEvaluationComparisonXml, getAppEvaluationXml, getAppEvaluations, getAppInfo, getAppInsightAnalyses, getAppInsightAnalysisModel, getAppInsightAnalysisRecommendations, getAppMedia, getAppMediaList, getAppReloadLog, getAppReloadLogs, getAppReloadMetadata, getAppReportFilter, getAppReportFilters, getAppScript, getAppScriptHistory, getAppThumbnail, getAppsPrivileges, importApp, moveAppToSpace, patchAppReportFilter, patchAppScript, publishApp, queueAppEvaluation, removeAppFromSpace, republishApp, updateAppInfo, updateAppObjectOwner, updateAppOwner, updateAppScript, uploadAppMedia };
|
package/apps.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/5V4BMSM2.js";
|
|
5
|
+
import "./chunks/5T2SBCJG.js";
|
|
6
6
|
import "./chunks/2ZQ3ZX7F.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/apps.ts
|
|
@@ -237,6 +237,14 @@ var getAppReportFilter = async (appId, id, options) => invokeFetch("apps", {
|
|
|
237
237
|
pathVariables: { appId, id },
|
|
238
238
|
options
|
|
239
239
|
});
|
|
240
|
+
var patchAppReportFilter = async (appId, id, body, options) => invokeFetch("apps", {
|
|
241
|
+
method: "patch",
|
|
242
|
+
pathTemplate: "/api/v1/apps/{appId}/report-filters/{id}",
|
|
243
|
+
pathVariables: { appId, id },
|
|
244
|
+
body,
|
|
245
|
+
contentType: "application/json",
|
|
246
|
+
options
|
|
247
|
+
});
|
|
240
248
|
var getAppScriptHistory = async (appId, query, options) => invokeFetch("apps", {
|
|
241
249
|
method: "get",
|
|
242
250
|
pathTemplate: "/api/v1/apps/{appId}/scripts",
|
|
@@ -337,6 +345,7 @@ var appsExport = {
|
|
|
337
345
|
countAppReportFilters,
|
|
338
346
|
deleteAppReportFilter,
|
|
339
347
|
getAppReportFilter,
|
|
348
|
+
patchAppReportFilter,
|
|
340
349
|
getAppScriptHistory,
|
|
341
350
|
updateAppScript,
|
|
342
351
|
deleteAppScript,
|
|
@@ -385,6 +394,7 @@ export {
|
|
|
385
394
|
getAppsPrivileges,
|
|
386
395
|
importApp,
|
|
387
396
|
moveAppToSpace,
|
|
397
|
+
patchAppReportFilter,
|
|
388
398
|
patchAppScript,
|
|
389
399
|
publishApp,
|
|
390
400
|
queueAppEvaluation,
|
package/audits.js
CHANGED
package/auth.js
CHANGED
package/automations.js
CHANGED
package/brands.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// src/public/public-runtime-modules.ts
|
|
2
2
|
function getAuthRuntimeModule(hostConfig) {
|
|
3
3
|
const isNode = !!globalThis.process?.argv;
|
|
4
|
-
return isNode ? import("./
|
|
4
|
+
return isNode ? import("./JIAZ5W7Y.js") : import("./ADP23C4M.js").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
|
|
5
5
|
}
|
|
6
6
|
async function getQixRuntimeModule(hostConfig) {
|
|
7
7
|
await getAuthRuntimeModule(hostConfig);
|
|
8
8
|
const isNode = !!globalThis.process?.argv;
|
|
9
|
-
return isNode ? import("./
|
|
9
|
+
return isNode ? import("./HACHQCYI.js") : import("./ADP23C4M.js").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
|
|
10
10
|
}
|
|
11
11
|
async function getInvokeFetchRuntimeModule(hostConfig) {
|
|
12
12
|
await getAuthRuntimeModule(hostConfig);
|
|
13
13
|
const isNode = !!globalThis.process?.argv;
|
|
14
|
-
return isNode ? import("./
|
|
14
|
+
return isNode ? import("./CNQQPV5L.js") : import("./ADP23C4M.js").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInvokeFetchRuntimeModule
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./5T2SBCJG.js";
|
|
4
4
|
import {
|
|
5
5
|
isBrowser
|
|
6
6
|
} from "./2ZQ3ZX7F.js";
|
|
7
7
|
|
|
8
8
|
// src/public/invoke-fetch.ts
|
|
9
|
-
var defaultUserAgent = "qlik-api/1.
|
|
9
|
+
var defaultUserAgent = "qlik-api/1.13.0";
|
|
10
10
|
async function invokeFetch(api, props) {
|
|
11
11
|
const hostConfig = props.options?.hostConfig;
|
|
12
12
|
let userAgent;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
invokeFetch,
|
|
5
5
|
isWindows,
|
|
6
6
|
toValidWebsocketLocationUrl
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./RN5AUIPP.js";
|
|
8
8
|
import {
|
|
9
9
|
isBrowser
|
|
10
10
|
} from "./2ZQ3ZX7F.js";
|
|
@@ -101,7 +101,7 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
101
101
|
return authSuggestedInWebsocket;
|
|
102
102
|
}
|
|
103
103
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
104
|
-
const { createEnigmaSession } = await import("./
|
|
104
|
+
const { createEnigmaSession } = await import("./LIPAU4N5.js");
|
|
105
105
|
const session = await createEnigmaSession(props);
|
|
106
106
|
setupSessionListeners(session, props);
|
|
107
107
|
let global;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateRandomString,
|
|
3
|
+
getCsrfToken,
|
|
3
4
|
getRestCallAuthParams,
|
|
4
5
|
getWebSocketAuthParams,
|
|
5
6
|
toValidWebsocketLocationUrl
|
|
6
|
-
} from "./
|
|
7
|
-
import
|
|
7
|
+
} from "./RN5AUIPP.js";
|
|
8
|
+
import {
|
|
9
|
+
isBrowser,
|
|
10
|
+
isNode
|
|
11
|
+
} from "./2ZQ3ZX7F.js";
|
|
8
12
|
|
|
9
13
|
// src/qix/session/enigma-session.ts
|
|
10
14
|
import enigma from "enigma.js";
|
|
@@ -10364,18 +10368,25 @@ async function createEnigmaSession({
|
|
|
10364
10368
|
appId,
|
|
10365
10369
|
identity,
|
|
10366
10370
|
hostConfig,
|
|
10367
|
-
withoutData = false,
|
|
10368
10371
|
useReloadEngine = false
|
|
10369
10372
|
}) {
|
|
10370
10373
|
const locationUrl = toValidWebsocketLocationUrl(hostConfig);
|
|
10371
10374
|
const reloadUri = encodeURIComponent(`${locationUrl}/sense/app/${appId}`);
|
|
10372
10375
|
const identityPart = identity ? `/identity/${identity}` : "";
|
|
10373
10376
|
const reloadEnginePart = useReloadEngine ? "&workloadType=interactive-reload" : "";
|
|
10374
|
-
let
|
|
10377
|
+
let csrfToken = "";
|
|
10378
|
+
if (isBrowser() && (!hostConfig || hostConfig.authType === "cookie" || hostConfig.authType === "windowscookie")) {
|
|
10379
|
+
try {
|
|
10380
|
+
csrfToken = await getCsrfToken(hostConfig);
|
|
10381
|
+
} catch {
|
|
10382
|
+
}
|
|
10383
|
+
}
|
|
10384
|
+
const csrfPart = csrfToken ? `&qlik-csrf-token=${csrfToken}` : "";
|
|
10385
|
+
let url = `${locationUrl}/app/${appId}${identityPart}?reloadUri=${reloadUri}${reloadEnginePart}${csrfPart}`.replace(
|
|
10375
10386
|
/^http/,
|
|
10376
10387
|
"ws"
|
|
10377
10388
|
);
|
|
10378
|
-
const isNodeEnvironment =
|
|
10389
|
+
const isNodeEnvironment = isNode();
|
|
10379
10390
|
let createSocketMethod;
|
|
10380
10391
|
if (isNodeEnvironment) {
|
|
10381
10392
|
const { headers, queryParams } = await getRestCallAuthParams({ hostConfig, method: "POST" });
|
|
@@ -397,10 +397,16 @@ function clearCsrfToken(hostConfig) {
|
|
|
397
397
|
}
|
|
398
398
|
async function getCsrfToken(hostConfig, noCache) {
|
|
399
399
|
const locationUrl = toValidLocationUrl(hostConfig);
|
|
400
|
+
let pathTemplate;
|
|
401
|
+
if (await isWindows(hostConfig)) {
|
|
402
|
+
pathTemplate = "/qps/csrftoken";
|
|
403
|
+
} else {
|
|
404
|
+
pathTemplate = "/api/v1/csrf-token";
|
|
405
|
+
}
|
|
400
406
|
const fetchCsrfToken = async () => {
|
|
401
407
|
const res = await invokeFetch("csrf-token", {
|
|
402
408
|
method: "get",
|
|
403
|
-
pathTemplate
|
|
409
|
+
pathTemplate,
|
|
404
410
|
options: {
|
|
405
411
|
hostConfig,
|
|
406
412
|
noCache: true
|
|
@@ -1786,6 +1792,7 @@ export {
|
|
|
1786
1792
|
clearApiCache,
|
|
1787
1793
|
parseFetchResponse,
|
|
1788
1794
|
invoke_fetch_default,
|
|
1795
|
+
getCsrfToken,
|
|
1789
1796
|
generateRandomString,
|
|
1790
1797
|
auth_default
|
|
1791
1798
|
};
|
package/collections.js
CHANGED
package/csp-origins.js
CHANGED
package/data-assets.js
CHANGED
package/data-connections.js
CHANGED
package/data-credentials.js
CHANGED
package/data-files.js
CHANGED
package/extensions.js
CHANGED
package/glossaries.js
CHANGED
package/groups.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
|
|
|
2
2
|
import './auth-types-Bqw3vbLs.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* An array of role references.
|
|
5
|
+
* An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
|
|
6
6
|
*/
|
|
7
7
|
type AssignedRoles = {
|
|
8
8
|
/** The unique role identitier */
|
|
@@ -70,12 +70,8 @@ type Filter = {
|
|
|
70
70
|
* represents a Group document
|
|
71
71
|
*/
|
|
72
72
|
type Group = {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
readonly level: "admin" | "user";
|
|
76
|
-
readonly name: string;
|
|
77
|
-
readonly type: "default";
|
|
78
|
-
}[];
|
|
73
|
+
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
|
|
74
|
+
assignedRoles?: AssignedRoles;
|
|
79
75
|
/** The timestamp for when the group record was created. */
|
|
80
76
|
createdAt: string;
|
|
81
77
|
/** The unique identifier for the group */
|
|
@@ -136,7 +132,7 @@ type GroupSettings = {
|
|
|
136
132
|
syncIdpGroups: boolean;
|
|
137
133
|
systemGroups?: {
|
|
138
134
|
"000000000000000000000001"?: {
|
|
139
|
-
/** An array of role references. */
|
|
135
|
+
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
|
|
140
136
|
assignedRoles?: AssignedRoles;
|
|
141
137
|
/** The timestamp for when the Everyone group was created. */
|
|
142
138
|
createdAt?: string;
|
package/groups.js
CHANGED
package/identity-providers.js
CHANGED
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qix_default
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/NWOESCMR.js";
|
|
4
4
|
import {
|
|
5
5
|
auth_default
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/IOUD76RB.js";
|
|
7
7
|
import {
|
|
8
8
|
clearApiCache,
|
|
9
9
|
invokeFetch
|
|
10
|
-
} from "./chunks/
|
|
11
|
-
import "./chunks/
|
|
10
|
+
} from "./chunks/5V4BMSM2.js";
|
|
11
|
+
import "./chunks/5T2SBCJG.js";
|
|
12
12
|
import "./chunks/2ZQ3ZX7F.js";
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
|
@@ -222,7 +222,7 @@ var apps = apiDefToApi("apps", {
|
|
|
222
222
|
"report-filters": {
|
|
223
223
|
"": ["getAppReportFilters:GQ:", "createAppReportFilter:PBJ:"],
|
|
224
224
|
actions: { count: ["countAppReportFilters:GQ:"] },
|
|
225
|
-
"{id}": ["deleteAppReportFilter:D:", "getAppReportFilter:G:"]
|
|
225
|
+
"{id}": ["deleteAppReportFilter:D:", "getAppReportFilter:G:", "patchAppReportFilter:ABJ:"]
|
|
226
226
|
},
|
|
227
227
|
scripts: {
|
|
228
228
|
"": ["getAppScriptHistory:GQ:", "updateAppScript:PBJ:"],
|
package/items.js
CHANGED
package/licenses.d.ts
CHANGED
|
@@ -52,23 +52,27 @@ type AssignmentsActionsDeleteResponse = {
|
|
|
52
52
|
};
|
|
53
53
|
type AssignmentsActionsUpdateRequest = {
|
|
54
54
|
update: {
|
|
55
|
+
/** The current user subject, in case that should be patched. */
|
|
56
|
+
sourceSubject?: string;
|
|
55
57
|
/** Current assignment type. */
|
|
56
|
-
sourceType
|
|
57
|
-
/** User subject */
|
|
58
|
+
sourceType?: string;
|
|
59
|
+
/** User subject, the current or the desired after the patch. */
|
|
58
60
|
subject: string;
|
|
59
61
|
/** Target assignment type. */
|
|
60
|
-
type
|
|
62
|
+
type?: string;
|
|
61
63
|
}[];
|
|
62
64
|
};
|
|
63
65
|
type AssignmentsActionsUpdateResponse = {
|
|
64
66
|
data: {
|
|
65
67
|
/** Error code */
|
|
66
68
|
code?: string;
|
|
69
|
+
/** Current subject. */
|
|
70
|
+
sourceSubject?: string;
|
|
67
71
|
/** Current allotment type. */
|
|
68
72
|
sourceType?: string;
|
|
69
73
|
/** Response status */
|
|
70
74
|
status: number;
|
|
71
|
-
/**
|
|
75
|
+
/** Target subject. */
|
|
72
76
|
subject?: string;
|
|
73
77
|
/** Error title */
|
|
74
78
|
title?: string;
|
package/licenses.js
CHANGED
package/package.json
CHANGED
package/qix.d.ts
CHANGED
package/qix.js
CHANGED
package/quotas.js
CHANGED
package/reload-tasks.js
CHANGED
package/reloads.js
CHANGED
package/reports.d.ts
CHANGED
|
@@ -299,28 +299,29 @@ type ReportRequest = {
|
|
|
299
299
|
/** Define the request metadata. It includes priority, deadline and future settings on execution policy of the request. */
|
|
300
300
|
meta?: Meta;
|
|
301
301
|
output: OutputItem;
|
|
302
|
-
/** Used to
|
|
303
|
-
senseExcelTemplate?:
|
|
302
|
+
/** Used to produce reports from a template file. */
|
|
303
|
+
senseExcelTemplate?: SenseFileTemplate;
|
|
304
304
|
/** Used to export a single visualization as pdf, pptx or png. */
|
|
305
305
|
senseImageTemplate?: SenseImageTemplate;
|
|
306
|
+
/** Used to produce reports from a template file. */
|
|
307
|
+
sensePixelPerfectTemplate?: SenseFileTemplate;
|
|
306
308
|
/** Used to export a sheet as pdf or pptx. */
|
|
307
309
|
senseSheetTemplate?: SenseSheetTemplate;
|
|
308
310
|
/** Template type and version using semantic versioning. It must have the following name convention: dashed-separated-template-name-MAJOR.MINOR.
|
|
309
|
-
* Please note that sense-story-x.0, sense-data-x.0 and qv-data-x.0 are only for internal use.
|
|
311
|
+
* Please note that sense-pixel-perfect-template-1.0, sense-story-x.0, sense-data-x.0 and qv-data-x.0 are only for internal use.
|
|
310
312
|
*
|
|
311
313
|
* Each type requires a specific template to be provided:
|
|
312
314
|
* - composition-1.0 requires compositionTemplates to be set
|
|
313
315
|
* - sense-excel-template-1.0 requires senseExcelTemplate to be set
|
|
314
316
|
* - sense-image-1.0 requires senseImageTemplate to be set
|
|
315
317
|
* - sense-sheet-1.0 requires senseSheetTemplate to be set
|
|
316
|
-
* - cycle-1.0 requires cycleTemplate to be set
|
|
317
318
|
*
|
|
318
319
|
* Each template type supports specific output types:
|
|
319
320
|
* - composition-1.0 supports pdfcomposition and pptxComposition output type
|
|
320
321
|
* - sense-excel-template-1.0 supports excel and pdf output type
|
|
321
322
|
* - sense-image-1.0 supports pdf, pptx and png output types
|
|
322
323
|
* - sense-sheet-1.0 supports pdf, pptx output type */
|
|
323
|
-
type: "composition-1.0" | "sense-image-1.0" | "sense-data-1.0" | "sense-sheet-1.0" | "sense-story-1.0" | "qv-data-1.0" | "qv-data-2.0" | "sense-excel-template-1.0" | "
|
|
324
|
+
type: "composition-1.0" | "sense-image-1.0" | "sense-data-1.0" | "sense-sheet-1.0" | "sense-story-1.0" | "qv-data-1.0" | "qv-data-2.0" | "sense-excel-template-1.0" | "sense-pixel-perfect-template-1.0";
|
|
324
325
|
};
|
|
325
326
|
type ReportStatus = {
|
|
326
327
|
/** Present when status is failed. */
|
|
@@ -378,9 +379,9 @@ type SelectionFilter = {
|
|
|
378
379
|
};
|
|
379
380
|
type SelectionStrategy = "failOnErrors" | "ignoreErrorsReturnDetails" | "ignoreErrorsNoDetails";
|
|
380
381
|
/**
|
|
381
|
-
* Used to
|
|
382
|
+
* Used to produce reports from a template file.
|
|
382
383
|
*/
|
|
383
|
-
type
|
|
384
|
+
type SenseFileTemplate = {
|
|
384
385
|
/** A JSON object that is passed as-is to the mashup page while rendering, this will be applied to all charts within the sheet. It includes properties of the whole sheet such as theme, gradient etc. Currently only the "theme" property is supported. */
|
|
385
386
|
jsOpts?: unknown;
|
|
386
387
|
/** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
@@ -542,4 +543,4 @@ interface ReportsAPI {
|
|
|
542
543
|
*/
|
|
543
544
|
declare const reportsExport: ReportsAPI;
|
|
544
545
|
|
|
545
|
-
export { type AppError, type AppErrors, type CallBackAction, type ChainableSelection, type ChainableSelectionType, type ComposableTemplate, type CreateReportHttpError, type CreateReportHttpResponse, type Definitions, type DocProperties, type Error, type ExcelOutput, type ExportError, type ExportErrors, type Float64, type GetReportStatusHttpError, type GetReportStatusHttpResponse, type HttpRequest, type ImageOutput, type Meta, type MetaExportError, type NxPatch, type OutputItem, type PdfCompositionOutput, type PdfOutput, type PptxCompositionOutput, type PptxOutput, type QFieldValue, type QSelection, type Reason, type ReloadTimestampMatchType, type ReportRequest, type ReportStatus, type ReportsAPI, type Result, type SelectionChain, type SelectionError, type SelectionErrors, type SelectionFilter, type SelectionStrategy, type
|
|
546
|
+
export { type AppError, type AppErrors, type CallBackAction, type ChainableSelection, type ChainableSelectionType, type ComposableTemplate, type CreateReportHttpError, type CreateReportHttpResponse, type Definitions, type DocProperties, type Error, type ExcelOutput, type ExportError, type ExportErrors, type Float64, type GetReportStatusHttpError, type GetReportStatusHttpResponse, type HttpRequest, type ImageOutput, type Meta, type MetaExportError, type NxPatch, type OutputItem, type PdfCompositionOutput, type PdfOutput, type PptxCompositionOutput, type PptxOutput, type QFieldValue, type QSelection, type Reason, type ReloadTimestampMatchType, type ReportRequest, type ReportStatus, type ReportsAPI, type Result, type SelectionChain, type SelectionError, type SelectionErrors, type SelectionFilter, type SelectionStrategy, type SenseFileTemplate, type SenseImageTemplate, type SensePersistentBookmark, type SenseSheetTemplate, type SenseTemporaryBookmarkV2, type Sheet, type TemplateLocation, type Visualization, clearCache, createReport, reportsExport as default, getReportStatus };
|
package/reports.js
CHANGED
package/roles.js
CHANGED
package/spaces.js
CHANGED
package/temp-contents.js
CHANGED
package/tenants.d.ts
CHANGED
|
@@ -45,6 +45,8 @@ type Tenant = {
|
|
|
45
45
|
enableAnalyticCreation?: boolean;
|
|
46
46
|
/** List of case insensitive hostnames that are mapped to the tenant. The first record maps to the display name and the subsequent entries are aliases. */
|
|
47
47
|
hostnames?: string[];
|
|
48
|
+
/** The unique tenant identifier. */
|
|
49
|
+
readonly id: string;
|
|
48
50
|
/** The timestamp for when the tenant record was last updated (1970-01-01T00:00:00.001Z for static tenants). */
|
|
49
51
|
readonly lastUpdated?: string;
|
|
50
52
|
readonly links?: {
|
package/tenants.js
CHANGED
package/themes.js
CHANGED
package/transports.js
CHANGED
package/users.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import './auth-types-Bqw3vbLs.js';
|
|
|
5
5
|
* An array of group references.
|
|
6
6
|
*/
|
|
7
7
|
type AssignedGroups = {
|
|
8
|
-
/** An array of role references. */
|
|
8
|
+
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
|
|
9
9
|
assignedRoles?: AssignedRoles;
|
|
10
10
|
/** The unique group identitier */
|
|
11
11
|
id: string;
|
|
@@ -13,7 +13,7 @@ type AssignedGroups = {
|
|
|
13
13
|
readonly name: string;
|
|
14
14
|
}[];
|
|
15
15
|
/**
|
|
16
|
-
* An array of role references.
|
|
16
|
+
* An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
|
|
17
17
|
*/
|
|
18
18
|
type AssignedRoles = {
|
|
19
19
|
/** The unique role identitier */
|
|
@@ -169,7 +169,7 @@ type ResultItem = {
|
|
|
169
169
|
type User = {
|
|
170
170
|
/** An array of group references. */
|
|
171
171
|
assignedGroups?: AssignedGroups;
|
|
172
|
-
/** An array of role references. */
|
|
172
|
+
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
|
|
173
173
|
assignedRoles?: AssignedRoles;
|
|
174
174
|
/** An array of scopes assigned to user */
|
|
175
175
|
readonly assignedScopes?: AssignedScopes;
|
package/users.js
CHANGED
package/web-integrations.js
CHANGED
package/web-notifications.js
CHANGED
package/webhooks.js
CHANGED