@qlik/api 2.3.1 → 2.4.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/analytics/change-stores.d.ts +40 -76
- package/analytics/change-stores.js +9 -10
- package/analytics.d.ts +1 -2
- package/analytics.js +5 -6
- package/api-keys.d.ts +46 -100
- package/api-keys.js +3 -4
- package/apps.d.ts +334 -461
- package/apps.js +74 -6
- package/assistants.d.ts +172 -337
- package/assistants.js +3 -4
- package/audits.d.ts +41 -85
- package/audits.js +3 -4
- package/auth-types.d.ts +110 -1
- package/auth-types.js +22 -1
- package/auth.d.ts +1 -2
- package/auth.js +1 -1
- package/automation-connections.d.ts +44 -95
- package/automation-connections.js +3 -4
- package/automation-connectors.d.ts +10 -20
- package/automation-connectors.js +3 -4
- package/automations.d.ts +54 -112
- package/automations.js +3 -4
- package/automl-deployments.d.ts +17 -36
- package/automl-deployments.js +3 -4
- package/automl-predictions.d.ts +12 -24
- package/automl-predictions.js +3 -4
- package/banners.d.ts +8 -14
- package/banners.js +3 -4
- package/brands.d.ts +19 -39
- package/brands.js +3 -4
- package/chunks/auth-B8lJw7rm.js +31 -0
- package/chunks/{interceptors-2VSXImC9.js → boot-interceptors-DqRxTczb.js} +50 -150
- package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
- package/chunks/{invoke-fetch-CckTK7bh.js → invoke-fetch-DMAi6Fg3.js} +3 -3
- package/chunks/{invoke-fetch-D9lpiAb-.js → invoke-fetch-pMN6iqup.js} +2 -3
- package/chunks/platform-types-CECrZkOF.d.ts +29 -0
- package/chunks/{public-runtime-modules-BqxAMJ9M.js → public-runtime-modules-2KfyI2qM.js} +5 -5
- package/chunks/{qix-DpvHvpx7.js → qix-BdNrIA4s.js} +19 -20
- package/chunks/{qix-chunk-entrypoint-BXZPnE6J.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
- package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
- package/collections.d.ts +67 -144
- package/collections.js +3 -4
- package/conditions.d.ts +87 -190
- package/conditions.js +3 -4
- package/consumption.d.ts +35 -72
- package/consumption.js +3 -4
- package/core/ip-policies.d.ts +43 -93
- package/core/ip-policies.js +5 -6
- package/core.d.ts +1 -2
- package/core.js +5 -6
- package/csp-origins.d.ts +42 -85
- package/csp-origins.js +3 -4
- package/csrf-token.d.ts +6 -11
- package/csrf-token.js +3 -4
- package/data-alerts.d.ts +152 -325
- package/data-alerts.js +3 -4
- package/data-assets.d.ts +16 -31
- package/data-assets.js +3 -4
- package/data-connections.d.ts +123 -257
- package/data-connections.js +3 -4
- package/data-credentials.d.ts +36 -76
- package/data-credentials.js +3 -4
- package/data-files.d.ts +60 -121
- package/data-files.js +3 -4
- package/data-governance/data-products.d.ts +429 -0
- package/data-governance/data-products.js +212 -0
- package/data-governance.d.ts +13 -0
- package/data-governance.js +12 -0
- package/data-qualities.d.ts +11 -25
- package/data-qualities.js +3 -4
- package/data-sets.d.ts +28 -57
- package/data-sets.js +3 -4
- package/data-sources.d.ts +45 -97
- package/data-sources.js +3 -4
- package/data-stores.d.ts +53 -107
- package/data-stores.js +3 -4
- package/dcaas.d.ts +32 -67
- package/dcaas.js +3 -4
- package/di-projects.d.ts +111 -136
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +29 -63
- package/direct-access-agents.js +3 -4
- package/encryption.d.ts +28 -59
- package/encryption.js +3 -4
- package/extensions.d.ts +35 -73
- package/extensions.js +3 -4
- package/global-types.d.ts +139 -1
- package/glossaries.d.ts +75 -158
- package/glossaries.js +3 -4
- package/groups.d.ts +58 -125
- package/groups.js +3 -4
- package/identity-providers.d.ts +148 -324
- package/identity-providers.js +3 -4
- package/index.d.ts +18 -4
- package/index.js +64 -19
- package/interceptors.d.ts +2 -3
- package/interceptors.js +104 -2
- package/invoke-fetch-types.d.ts +97 -1
- package/items.d.ts +85 -181
- package/items.js +3 -4
- package/knowledgebases.d.ts +137 -270
- package/knowledgebases.js +3 -4
- package/licenses.d.ts +71 -153
- package/licenses.js +3 -4
- package/lineage-graphs.d.ts +39 -85
- package/lineage-graphs.js +3 -4
- package/ml.d.ts +290 -621
- package/ml.js +3 -4
- package/notes.d.ts +9 -18
- package/notes.js +3 -4
- package/notifications.d.ts +14 -30
- package/notifications.js +3 -4
- package/oauth-clients.d.ts +98 -159
- package/oauth-clients.js +4 -5
- package/oauth-tokens.d.ts +16 -33
- package/oauth-tokens.js +3 -4
- package/package.json +6 -3
- package/qix.d.ts +46 -2
- package/qix.js +2 -3
- package/questions.d.ts +53 -110
- package/questions.js +3 -4
- package/quotas.d.ts +13 -26
- package/quotas.js +3 -4
- package/reload-tasks.d.ts +23 -46
- package/reload-tasks.js +3 -4
- package/reloads.d.ts +26 -52
- package/reloads.js +3 -4
- package/report-templates.d.ts +30 -63
- package/report-templates.js +3 -4
- package/reports.d.ts +111 -238
- package/reports.js +3 -4
- package/roles.d.ts +36 -77
- package/roles.js +3 -4
- package/sharing-tasks.d.ts +201 -427
- package/sharing-tasks.js +3 -4
- package/spaces.d.ts +71 -157
- package/spaces.js +3 -4
- package/tasks.d.ts +76 -164
- package/tasks.js +3 -4
- package/temp-contents.d.ts +17 -35
- package/temp-contents.js +3 -4
- package/tenant-settings.d.ts +298 -0
- package/tenant-settings.js +107 -0
- package/tenants.d.ts +31 -67
- package/tenants.js +3 -4
- package/themes.d.ts +27 -55
- package/themes.js +3 -4
- package/transports.d.ts +46 -106
- package/transports.js +3 -4
- package/ui-config.d.ts +8 -17
- package/ui-config.js +3 -4
- package/users.d.ts +80 -170
- package/users.js +3 -4
- package/web-integrations.d.ts +38 -83
- package/web-integrations.js +3 -4
- package/web-notifications.d.ts +14 -29
- package/web-notifications.js +3 -4
- package/webhooks.d.ts +77 -162
- package/webhooks.js +3 -4
- package/chunks/auth-XusKk8IA.js +0 -32
- package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
- package/chunks/auth-types-h43TVDpB.js +0 -24
- package/chunks/global-types-CEVAJebk.js +0 -1
- /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
- /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
- /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
- /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/oauth-tokens.d.ts
CHANGED
|
@@ -1,45 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/oauth-tokens.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* An error object.
|
|
7
7
|
*/
|
|
8
8
|
type Error = {
|
|
9
|
-
/** The error code. */
|
|
10
|
-
|
|
11
|
-
/** The
|
|
12
|
-
|
|
13
|
-
/** Non-standard information about the error. */
|
|
14
|
-
meta?: unknown;
|
|
15
|
-
/** The http status code. */
|
|
16
|
-
status?: string;
|
|
17
|
-
/** The error title. */
|
|
9
|
+
/** The error code. */code: string; /** The detailed error message. */
|
|
10
|
+
detail?: string; /** Non-standard information about the error. */
|
|
11
|
+
meta?: unknown; /** The http status code. */
|
|
12
|
+
status?: string; /** The error title. */
|
|
18
13
|
title: string;
|
|
19
14
|
};
|
|
20
15
|
/**
|
|
21
16
|
* A representation of the errors encountered from the HTTP request.
|
|
22
17
|
*/
|
|
23
18
|
type Errors = {
|
|
24
|
-
/** List of errors and their properties. */
|
|
25
|
-
errors?: Error[];
|
|
19
|
+
/** List of errors and their properties. */errors?: Error[];
|
|
26
20
|
};
|
|
27
21
|
type Link = {
|
|
28
|
-
/** The URL for the link. */
|
|
29
|
-
href: string;
|
|
22
|
+
/** The URL for the link. */href: string;
|
|
30
23
|
};
|
|
31
24
|
type OauthToken = {
|
|
32
|
-
/** The description of the token. */
|
|
33
|
-
|
|
34
|
-
/** The
|
|
35
|
-
|
|
36
|
-
/** The
|
|
37
|
-
id: string;
|
|
38
|
-
/** The last time the token was used. */
|
|
39
|
-
lastUsed?: string;
|
|
40
|
-
/** The ID of the owning tenant. */
|
|
41
|
-
tenantId: string;
|
|
42
|
-
/** The ID of the owning user. */
|
|
25
|
+
/** The description of the token. */description?: string; /** The type of the user device the authorization token is generated for (Tablet, Phone etc.). */
|
|
26
|
+
deviceType?: string; /** The token ID. */
|
|
27
|
+
id: string; /** The last time the token was used. */
|
|
28
|
+
lastUsed?: string; /** The ID of the owning tenant. */
|
|
29
|
+
tenantId: string; /** The ID of the owning user. */
|
|
43
30
|
userId: string;
|
|
44
31
|
};
|
|
45
32
|
type OauthTokenPage = {
|
|
@@ -57,13 +44,9 @@ type OauthTokenPage = {
|
|
|
57
44
|
* @throws GetOauthTokensHttpError
|
|
58
45
|
*/
|
|
59
46
|
declare function getOauthTokens(query: {
|
|
60
|
-
/** The maximum number of tokens to return. */
|
|
61
|
-
|
|
62
|
-
/** The
|
|
63
|
-
page?: string;
|
|
64
|
-
/** The field to sort by. */
|
|
65
|
-
sort?: "userId";
|
|
66
|
-
/** The ID of the user to limit results to. */
|
|
47
|
+
/** The maximum number of tokens to return. */limit?: number; /** The target page. */
|
|
48
|
+
page?: string; /** The field to sort by. */
|
|
49
|
+
sort?: "userId"; /** The ID of the user to limit results to. */
|
|
67
50
|
userId?: string;
|
|
68
51
|
}, options?: ApiCallOptions): Promise<GetOauthTokensHttpResponse>;
|
|
69
52
|
type GetOauthTokensHttpResponse = {
|
package/oauth-tokens.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/oauth-tokens.ts
|
|
5
5
|
/**
|
|
@@ -44,7 +44,6 @@ const oauthTokensExport = {
|
|
|
44
44
|
deleteOauthToken,
|
|
45
45
|
clearCache
|
|
46
46
|
};
|
|
47
|
-
var oauth_tokens_default = oauthTokensExport;
|
|
48
47
|
|
|
49
48
|
//#endregion
|
|
50
|
-
export { clearCache,
|
|
49
|
+
export { clearCache, oauthTokensExport as default, deleteOauthToken, getOauthTokens };
|
package/package.json
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"enigma.js": "^2.14.0",
|
|
15
15
|
"extend": "3.0.2",
|
|
16
|
-
"lodash": "^4.17.
|
|
16
|
+
"lodash": "^4.17.23",
|
|
17
17
|
"ws": "^8.19.0"
|
|
18
18
|
},
|
|
19
|
-
"packageManager": "pnpm@10.
|
|
19
|
+
"packageManager": "pnpm@10.29.2",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=20"
|
|
22
22
|
},
|
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"./data-connections": "./data-connections.js",
|
|
48
48
|
"./data-credentials": "./data-credentials.js",
|
|
49
49
|
"./data-files": "./data-files.js",
|
|
50
|
+
"./data-governance": "./data-governance.js",
|
|
51
|
+
"./data-governance/data-products": "./data-governance/data-products.js",
|
|
50
52
|
"./data-qualities": "./data-qualities.js",
|
|
51
53
|
"./data-sets": "./data-sets.js",
|
|
52
54
|
"./data-sources": "./data-sources.js",
|
|
@@ -79,6 +81,7 @@
|
|
|
79
81
|
"./spaces": "./spaces.js",
|
|
80
82
|
"./tasks": "./tasks.js",
|
|
81
83
|
"./temp-contents": "./temp-contents.js",
|
|
84
|
+
"./tenant-settings": "./tenant-settings.js",
|
|
82
85
|
"./tenants": "./tenants.js",
|
|
83
86
|
"./themes": "./themes.js",
|
|
84
87
|
"./transports": "./transports.js",
|
|
@@ -91,5 +94,5 @@
|
|
|
91
94
|
"./interceptors": "./interceptors.js",
|
|
92
95
|
"./qix": "./qix.js"
|
|
93
96
|
},
|
|
94
|
-
"version": "2.
|
|
97
|
+
"version": "2.4.0"
|
|
95
98
|
}
|
package/qix.d.ts
CHANGED
|
@@ -1,4 +1,48 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { HostConfig } from "./auth-types.js";
|
|
2
2
|
import "./auth.js";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as MeasureListData, $a as OleDbProvider, $i as NxListObjectExpressionDef, $n as GenericObjectEntry, $o as StateEnumType, $r as NxCalcCond, $t as DataTableEx, A as GenericObjectLayoutNodeLevel4, Aa as NxSortIndicatorType, Ai as NxFieldSelectionMode, An as FieldList, Ao as SearchGroupItem, Ar as MediaListItem, As as VariableListDef, At as BookmarkFieldPage, B as UndoInfoObject, Ba as NxTreeMultiRangeSelectInfo, Bi as NxHighlightRanges, Bn as FolderItem, Bo as SearchResult, Br as NativeVariableFunctions, Bt as CharRange, C as GenericDimension, Ca as NxRange, Ci as NxExportFileType, Cn as FailureData, Co as SearchFieldDictionary, Cr as ListObject, Cs as TreeDataDef, Ct as BNFDef, D as GenericObjectLayoutNode, Da as NxSelectionInfo, Di as NxFieldProperties, Dn as FieldDescription, Do as SearchFieldSelectionMode, Dr as MeasureList, Ds as ValueExpr, Dt as Bookmark, E as GenericObject, Ea as NxSelectionCellType, Ei as NxFieldDescription, En as FieldDefEx, Eo as SearchFieldMatchesItem, Er as LogOnType, Es as UsageEnum, Et as Blob, F as GenericObjectPropertiesNodeLevel3, Fa as NxTempBookmarkOptions, Fi as NxGroupDef, Fn as FieldValue, Fo as SearchGroupType, Fr as NativeGenericDimensionFunctions, Ft as BookmarkListDef, G as DimensionListItem, Ga as NxTrendlineDef, Gi as NxLTrendlineType, Gn as GenericBookmarkLayout, Go as SearchValuePage, Gr as NxAttrExprDef, Gt as Connection, H as BookmarkListData, Ha as NxTreeRangeSelectInfo, Hi as NxInfo, Hn as FrequencyDistributionData, Ho as SearchSuggestionResult, Hr as NxAppProperties, Ht as ChildListDef, I as GenericObjectPropertiesNodeLevel4, Ia as NxTickCell, Ii as NxGroupMemberClass, In as FileDataFormat, Io as SearchMatchCombination, Ir as NativeGenericMeasureFunctions, It as BookmarkStateFieldPages, J as ExpandedFieldListItem, Ja as NxVariableListItem, Ji as NxLibraryDimensionDef, Jn as GenericDimensionInfo, Jo as SelectionObject, Jr as NxAttributeExpressionValues, Jt as CustomConnector, K as DynamicAppViewListData, Ka as NxTrendlineMode, Ki as NxLayoutErrors, Kn as GenericBookmarkProperties, Ko as SearchValueResult, Kr as NxAttrExprInfo, Kt as ContentLibraryList, L as GenericObjectPropertiesNodeLevel5, La as NxTreeDataOption, Li as NxGroupObjectId, Ln as FileType, Lo as SearchMatchCombinations, Lr as NativeGenericObjectFunctions, Lt as BookmarkVariableItem, M as GenericObjectLayoutNodeRec, Ma as NxStackedPivotCell, Mi as NxFrequencyMode, Mn as FieldOrColumn, Mo as SearchGroupItemOptions, Mr as NativeDocFunctions, Mt as BookmarkFieldVerifyResultState, N as GenericObjectPropertiesNode, Na as NxStateCounts, Ni as NxGetBookmarkOptions, Nn as FieldScores, No as SearchGroupItemType, Nr as NativeFieldFunctions, Nt as BookmarkFieldVerifyWarning, O as GenericObjectLayoutNodeLevel2, Oa as NxSimpleDimValue, Oi as NxFieldResourceId, On as FieldInTableData, Oo as SearchFieldValueItem, Or as MeasureListDef, Os as ValueExpression, Ot as BookmarkApplyAndVerifyResult, P as GenericObjectPropertiesNodeLevel2, Pa as NxStreamListEntry, Pi as NxGetObjectOptions, Pn as FieldType, Po as SearchGroupOptions, Pr as NativeGenericBookmarkFunctions, Pt as BookmarkList, Q as MasterObjectListItem, Qa as OdbcDsn, Qi as NxListObjectExpression, Qn as GenericMeasureProperties, Qo as SourceKeyRecord, Qr as NxBookmark, Qt as DataTable, R as GenericObjectPropertiesNodeRec, Ra as NxTreeDimensionDef, Ri as NxGroupTail, Rn as FilterInfo, Ro as SearchObjectOptions, Rr as NativeGenericVariableFunctions, Rt as CalendarStrings, S as GenericBookmark, Sa as NxPivotValuePoint, Si as NxEngineVersion, Sn as ExtensionListDef, So as SearchContextType, Sr as LineageInfo, Ss as TreeData, St as AssociationScore, T as GenericMeasure, Ta as NxSelectionCell, Ti as NxFeature, Tn as FieldAttributes, To as SearchFieldMatchType, Tr as LocaleInfo, Ts as UndoInfoDef, Tt as BNFType, U as BookmarkListItem, Ua as NxTreeValue, Ui as NxInlineDimensionDef, Un as FunctionGroup, Uo as SearchTermResult, Ur as NxAttrDimDef, Ut as CodePage, V as RpcObject, Va as NxTreeNode, Vi as NxHypercubeMode, Vn as FolderItemType, Vo as SearchSuggestItem, Vr as NxAppLayout, Vt as ChildList, W as DimensionListData, Wa as NxTrendline, Wi as NxInlineMeasureDef, Wn as GenericBookmarkEntry, Wo as SearchValueOptions, Wr as NxAttrDimInfo, Wt as CondDef, X as ListItem, Xa as NxViewPort, Xi as NxLibraryMeasureDef, Xn as GenericDimensionProperties, Xo as Size, Xr as NxAxisData, Xt as DataField, Y as ListBoxProperties, Ya as NxVariableProperties, Yi as NxLibraryMeasure, Yn as GenericDimensionLayout, Yo as SelectionObjectDef, Yr as NxAutoSortByStateDef, Yt as CyclicGroupPosition, Z as MasterObjectListData, Za as ObjectInterface, Zi as NxLinkedObjectInfo, Zn as GenericMeasureLayout, Zo as SortCriteria, Zr as NxAxisTicks, Zt as DataRecord, _ as AnyGenericObjectLayout, _a as NxPatch, _i as NxDimension, _n as ErrorDataCode, _o as ScrollPosition, _r as InteractType, _s as TableViewTableWinSaveInfo, _t as AppScriptMeta, a as OpenAppSessionProps, aa as NxMeasureInfo, ai as NxContinuousDataOptions, an as DimensionList, ao as PositionMark, ar as GenericVariableLayout, as as StringExpr, at as SheetListDataCellBounds, b as Field, ba as NxPivotDimensionCell, bi as NxDownloadInfo, bn as ExtendedPivotStateData, bo as SearchCharRange, br as LayoutExclude, bs as TransformAppParameters, bt as ApplyGroupStatesResult, c as CombinedWebSocketStateEvent, ca as NxMiniChart, ci as NxCurrentSelectionItem, cn as DoReloadExParams, co as QFunction, cr as GraphMode, cs as SymbolValue, ct as StoryListItem, d as ListFunctions, da as NxMiniChartDef, di as NxDataReductionMode, dn as DriveInfo, do as QRange, dr as GroupStateInfo, ds as TableRow, dt as AlfaNumString, ea as NxLocalizedErrorCode, ei as NxCardinalities, en as Database, eo as OtherLimitMode, er as GenericObjectLayout, es as StateFieldValues, et as MeasureListItem, f as ModalFunctions, fa as NxMiniChartRows, fi as NxDerivedField, fn as DriveType, fo as RangeSelectInfo, fr as HyperCube, fs as TableViewBroomPointSaveInfo, ft as AlternateStateData, g as Global, ga as NxPageTreeNode, gi as NxDimCellType, gn as ErrorData, go as ScriptSyntaxError, gr as InteractDef, gs as TableViewSaveInfo, gt as AppScript, h as StandardFunctions, ha as NxPageTreeLevel, hi as NxDerivedGroup, hn as EmbeddedSnapshotDef, ho as SampleResult, hr as InterFieldSortData, hs as TableViewDlgSaveInfo, ht as AppObjectListDef, i as NativeReactHooks, ia as NxMeasure, ii as NxContainerEntry, in as DerivedFieldsInTableData, io as Point, ir as GenericVariableConstraints, is as StaticContentUrlDef, it as SheetListDataCell, j as GenericObjectLayoutNodeLevel5, ja as NxStackPage, ji as NxFieldTableResourceId, jn as FieldListDef, jo as SearchGroupItemMatch, jr as MetaData, jt as BookmarkFieldPageEx, k as GenericObjectLayoutNodeLevel3, ka as NxSimpleValue, ki as NxFieldSelectionInfo, kn as FieldInTableProfilingData, ko as SearchGroup, kr as MediaListDef, ks as VariableList, kt as BookmarkFieldItem, l as WebSocketEvent, la as NxMiniChartCell, li as NxDataAreaPage, ln as DoReloadExResult, lo as QIX_SCHEMA_VERSION, lr as GroupBookmarkData, ls as TableProfilingData, lt as VariableListData, m as SpecialObjectFunctions, ma as NxPage, mi as NxDerivedFieldsData, mn as EmbeddedSnapshot, mo as ReloadError, mr as InputFieldItem, ms as TableViewCtlSaveInfo, mt as AppObjectList, n as CloseProps, na as NxMatchingFieldInfo, ni as NxCellPosition, nn as DatabaseOwner, no as OtherSortMode, nr as GenericObjectProperties, ns as StaticContentListItem, nt as ODAGAppLinkListItem, o as UseAppHook, oa as NxMeta, oi as NxContinuousMode, on as DimensionListDef, oo as ProgressData, or as GenericVariableProperties, os as StringExpression, ot as SheetListItem, p as ObjectHelperFunctions, pa as NxMultiRangeSelectInfo, pi as NxDerivedFieldDescriptionList, pn as EditorBreakpoint, po as Rect, pr as HyperCubeDef, ps as TableViewConnectionPointSaveInfo, pt as AppEntry, q as DynamicAppViewListItem, qa as NxValidationError, qi as NxLibraryDimension, qn as GenericConnectMachine, qo as SelectInfo, qr as NxAttributeDimValues, qt as ContentLibraryListItem, r as DocAction, ra as NxMatchingFieldMode, ri as NxCellRows, rn as DelimiterInfo, ro as OtherTotalSpecProp, rr as GenericObjectPropertiesAdditionalProperties, rs as StaticContentUrl, rt as SheetListData, s as WorkloadType, sa as NxMetaDef, si as NxContinuousRangeSelectInfo, sn as DimensionReference, so as ProgressMessage, sr as GenericVariableType, ss as SymbolFrequency, st as StoryListData, t as AppSession, ta as NxLocalizedWarningCode, ti as NxCell, tn as DatabaseInfo, to as OtherMode, tr as GenericObjectLayoutAdditionalProperties, ts as StaticContentList, tt as ODAGAppLinkListData, u as Doc, ua as NxMiniChartData, ui as NxDataPage, un as DocListEntry, uo as QMediaList, ur as GroupState, us as TableRecord, ut as VariableListItem, v as AnyGenericObjectProperties, va as NxPatchOperationType, vi as NxDimensionInfo, vn as ExpansionData, vo as SearchAssociationResult, vr as KeyType, vs as TextMacro, vt as ApplyGroupStateWarning, w as GenericListObject, wa as NxRangeSelectInfo, wi as NxExportState, wn as FieldAttrType, wo as SearchFieldMatch, wr as ListObjectDef, ws as UndoInfo, wt as BNFDefMetaType, x as FieldListObject, xa as NxPivotPage, xi as NxDownloadOptions, xn as ExtensionList, xo as SearchCombinationOptions, xr as LayoutFieldInfo, xs as TransformAppResult, xt as ArrayOfNxValuePoint, y as CurrentSelections, ya as NxPatches, yi as NxDimensionType, yn as ExtendedLayoutBookmarkData, yo as SearchAttribute, yr as LayoutBookmarkData, ys as TotalMode, yt as ApplyGroupStateWarningType, z as GenericVariable, za as NxTreeDimensionInfo, zi as NxGrpType, zn as FilterType, zo as SearchPage, zr as NativeGlobalFunctions, zt as CharEncodingType } from "./chunks/qix-types-y_di0roE.js";
|
|
4
|
+
|
|
5
|
+
//#region src/public/qix.d.ts
|
|
6
|
+
declare function openAppSession(appSessionProps: OpenAppSessionProps): {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a promise of the Qix Doc object with a set of client-side Api extensions.
|
|
9
|
+
* Note that while the AppSession object is returned immediately this promise might take a while
|
|
10
|
+
* to resolve for bigger apps.
|
|
11
|
+
*/
|
|
12
|
+
getDoc(): Promise<Doc>;
|
|
13
|
+
/**
|
|
14
|
+
* @experimental
|
|
15
|
+
* Add an event-listener for this app-session.
|
|
16
|
+
*/
|
|
17
|
+
onWebSocketEvent(listener: (event: WebSocketEvent) => void): () => void;
|
|
18
|
+
/**
|
|
19
|
+
* @experimental
|
|
20
|
+
* Resume a suspended session. This will resume exactly
|
|
21
|
+
* once if the session is currently suspended, otherwise
|
|
22
|
+
* nothing will be done.
|
|
23
|
+
*/
|
|
24
|
+
resume(): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* When the app session is no longer in use it must be closed using this function.
|
|
27
|
+
* If the same underlying enigma websocket is used somewhere else in the browser
|
|
28
|
+
* this is basically a no op, but if this is the last/only usage
|
|
29
|
+
* of the underlying enigma websocket that websocket will be closed.
|
|
30
|
+
*/
|
|
31
|
+
close(props?: CloseProps): Promise<void>;
|
|
32
|
+
};
|
|
33
|
+
interface QixAPI {
|
|
34
|
+
/**
|
|
35
|
+
* Open a qix session in engine on the current domain for the supplied appId. If the same app is opened multiple times
|
|
36
|
+
* only a single enigma websocket session is opened and shared.
|
|
37
|
+
* When all open sessions are closed again the shared enigma websocket session is also closed.
|
|
38
|
+
* @param appId The resource id of the app to open
|
|
39
|
+
* @param host Configuration of what host to connect to
|
|
40
|
+
*/
|
|
41
|
+
openAppSession: typeof openAppSession;
|
|
42
|
+
}
|
|
43
|
+
declare function withHostConfig(hostConfig: HostConfig | undefined): QixAPI;
|
|
44
|
+
declare const qix: QixAPI & {
|
|
45
|
+
withHostConfig: (hostConfig: HostConfig | undefined) => QixAPI;
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
4
48
|
export { AlfaNumString, AlternateStateData, AnyGenericObjectLayout, AnyGenericObjectProperties, AppEntry, AppObjectList, AppObjectListDef, AppScript, AppScriptMeta, AppSession, ApplyGroupStateWarning, ApplyGroupStateWarningType, ApplyGroupStatesResult, ArrayOfNxValuePoint, AssociationScore, BNFDef, BNFDefMetaType, BNFType, Blob, Bookmark, BookmarkApplyAndVerifyResult, BookmarkFieldItem, BookmarkFieldPage, BookmarkFieldPageEx, BookmarkFieldVerifyResultState, BookmarkFieldVerifyWarning, BookmarkList, BookmarkListData, BookmarkListDef, BookmarkListItem, BookmarkStateFieldPages, BookmarkVariableItem, CalendarStrings, CharEncodingType, CharRange, ChildList, ChildListDef, CloseProps, CodePage, CombinedWebSocketStateEvent, CondDef, Connection, ContentLibraryList, ContentLibraryListItem, CurrentSelections, CustomConnector, CyclicGroupPosition, DataField, DataRecord, DataTable, DataTableEx, Database, DatabaseInfo, DatabaseOwner, DelimiterInfo, DerivedFieldsInTableData, DimensionList, DimensionListData, DimensionListDef, DimensionListItem, DimensionReference, DoReloadExParams, DoReloadExResult, Doc, DocAction, DocListEntry, DriveInfo, DriveType, DynamicAppViewListData, DynamicAppViewListItem, EditorBreakpoint, EmbeddedSnapshot, EmbeddedSnapshotDef, ErrorData, ErrorDataCode, ExpandedFieldListItem, ExpansionData, ExtendedLayoutBookmarkData, ExtendedPivotStateData, ExtensionList, ExtensionListDef, FailureData, Field, FieldAttrType, FieldAttributes, FieldDefEx, FieldDescription, FieldInTableData, FieldInTableProfilingData, FieldList, FieldListDef, FieldListObject, FieldOrColumn, FieldScores, FieldType, FieldValue, FileDataFormat, FileType, FilterInfo, FilterType, FolderItem, FolderItemType, FrequencyDistributionData, FunctionGroup, GenericBookmark, GenericBookmarkEntry, GenericBookmarkLayout, GenericBookmarkProperties, GenericConnectMachine, GenericDimension, GenericDimensionInfo, GenericDimensionLayout, GenericDimensionProperties, GenericListObject, GenericMeasure, GenericMeasureLayout, GenericMeasureProperties, GenericObject, GenericObjectEntry, GenericObjectLayout, GenericObjectLayoutAdditionalProperties, GenericObjectLayoutNode, GenericObjectLayoutNodeLevel2, GenericObjectLayoutNodeLevel3, GenericObjectLayoutNodeLevel4, GenericObjectLayoutNodeLevel5, GenericObjectLayoutNodeRec, GenericObjectProperties, GenericObjectPropertiesAdditionalProperties, GenericObjectPropertiesNode, GenericObjectPropertiesNodeLevel2, GenericObjectPropertiesNodeLevel3, GenericObjectPropertiesNodeLevel4, GenericObjectPropertiesNodeLevel5, GenericObjectPropertiesNodeRec, GenericVariable, GenericVariableConstraints, GenericVariableLayout, GenericVariableProperties, GenericVariableType, Global, GraphMode, GroupBookmarkData, GroupState, GroupStateInfo, HyperCube, HyperCubeDef, InputFieldItem, InterFieldSortData, InteractDef, InteractType, KeyType, LayoutBookmarkData, LayoutExclude, LayoutFieldInfo, LineageInfo, ListBoxProperties, ListFunctions, ListItem, ListObject, ListObjectDef, LocaleInfo, LogOnType, MasterObjectListData, MasterObjectListItem, MeasureList, MeasureListData, MeasureListDef, MeasureListItem, MediaListDef, MediaListItem, MetaData, ModalFunctions, NativeDocFunctions, NativeFieldFunctions, NativeGenericBookmarkFunctions, NativeGenericDimensionFunctions, NativeGenericMeasureFunctions, NativeGenericObjectFunctions, NativeGenericVariableFunctions, NativeGlobalFunctions, NativeReactHooks, NativeVariableFunctions, NxAppLayout, NxAppProperties, NxAttrDimDef, NxAttrDimInfo, NxAttrExprDef, NxAttrExprInfo, NxAttributeDimValues, NxAttributeExpressionValues, NxAutoSortByStateDef, NxAxisData, NxAxisTicks, NxBookmark, NxCalcCond, NxCardinalities, NxCell, NxCellPosition, NxCellRows, NxContainerEntry, NxContinuousDataOptions, NxContinuousMode, NxContinuousRangeSelectInfo, NxCurrentSelectionItem, NxDataAreaPage, NxDataPage, NxDataReductionMode, NxDerivedField, NxDerivedFieldDescriptionList, NxDerivedFieldsData, NxDerivedGroup, NxDimCellType, NxDimension, NxDimensionInfo, NxDimensionType, NxDownloadInfo, NxDownloadOptions, NxEngineVersion, NxExportFileType, NxExportState, NxFeature, NxFieldDescription, NxFieldProperties, NxFieldResourceId, NxFieldSelectionInfo, NxFieldSelectionMode, NxFieldTableResourceId, NxFrequencyMode, NxGetBookmarkOptions, NxGetObjectOptions, NxGroupDef, NxGroupMemberClass, NxGroupObjectId, NxGroupTail, NxGrpType, NxHighlightRanges, NxHypercubeMode, NxInfo, NxInlineDimensionDef, NxInlineMeasureDef, NxLTrendlineType, NxLayoutErrors, NxLibraryDimension, NxLibraryDimensionDef, NxLibraryMeasure, NxLibraryMeasureDef, NxLinkedObjectInfo, NxListObjectExpression, NxListObjectExpressionDef, NxLocalizedErrorCode, NxLocalizedWarningCode, NxMatchingFieldInfo, NxMatchingFieldMode, NxMeasure, NxMeasureInfo, NxMeta, NxMetaDef, NxMiniChart, NxMiniChartCell, NxMiniChartData, NxMiniChartDef, NxMiniChartRows, NxMultiRangeSelectInfo, NxPage, NxPageTreeLevel, NxPageTreeNode, NxPatch, NxPatchOperationType, NxPatches, NxPivotDimensionCell, NxPivotPage, NxPivotValuePoint, NxRange, NxRangeSelectInfo, NxSelectionCell, NxSelectionCellType, NxSelectionInfo, NxSimpleDimValue, NxSimpleValue, NxSortIndicatorType, NxStackPage, NxStackedPivotCell, NxStateCounts, NxStreamListEntry, NxTempBookmarkOptions, NxTickCell, NxTreeDataOption, NxTreeDimensionDef, NxTreeDimensionInfo, NxTreeMultiRangeSelectInfo, NxTreeNode, NxTreeRangeSelectInfo, NxTreeValue, NxTrendline, NxTrendlineDef, NxTrendlineMode, NxValidationError, NxVariableListItem, NxVariableProperties, NxViewPort, ODAGAppLinkListData, ODAGAppLinkListItem, ObjectHelperFunctions, ObjectInterface, OdbcDsn, OleDbProvider, OpenAppSessionProps, OtherLimitMode, OtherMode, OtherSortMode, OtherTotalSpecProp, Point, PositionMark, ProgressData, ProgressMessage, QFunction, QIX_SCHEMA_VERSION, QMediaList, QRange, QixAPI, RangeSelectInfo, Rect, ReloadError, RpcObject, SampleResult, ScriptSyntaxError, ScrollPosition, SearchAssociationResult, SearchAttribute, SearchCharRange, SearchCombinationOptions, SearchContextType, SearchFieldDictionary, SearchFieldMatch, SearchFieldMatchType, SearchFieldMatchesItem, SearchFieldSelectionMode, SearchFieldValueItem, SearchGroup, SearchGroupItem, SearchGroupItemMatch, SearchGroupItemOptions, SearchGroupItemType, SearchGroupOptions, SearchGroupType, SearchMatchCombination, SearchMatchCombinations, SearchObjectOptions, SearchPage, SearchResult, SearchSuggestItem, SearchSuggestionResult, SearchTermResult, SearchValueOptions, SearchValuePage, SearchValueResult, SelectInfo, SelectionObject, SelectionObjectDef, SheetListData, SheetListDataCell, SheetListDataCellBounds, SheetListItem, Size, SortCriteria, SourceKeyRecord, SpecialObjectFunctions, StandardFunctions, StateEnumType, StateFieldValues, StaticContentList, StaticContentListItem, StaticContentUrl, StaticContentUrlDef, StoryListData, StoryListItem, StringExpr, StringExpression, SymbolFrequency, SymbolValue, TableProfilingData, TableRecord, TableRow, TableViewBroomPointSaveInfo, TableViewConnectionPointSaveInfo, TableViewCtlSaveInfo, TableViewDlgSaveInfo, TableViewSaveInfo, TableViewTableWinSaveInfo, TextMacro, TotalMode, TransformAppParameters, TransformAppResult, TreeData, TreeDataDef, UndoInfo, UndoInfoDef, UndoInfoObject, UsageEnum, UseAppHook, ValueExpr, ValueExpression, VariableList, VariableListData, VariableListDef, VariableListItem, WebSocketEvent, WorkloadType, qix as default, openAppSession, withHostConfig };
|
package/qix.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getQixRuntimeModule } from "./chunks/public-runtime-modules-
|
|
1
|
+
import { r as getQixRuntimeModule } from "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/qix.ts
|
|
4
4
|
function openAppSession(appSessionProps) {
|
|
@@ -34,7 +34,6 @@ const qix = {
|
|
|
34
34
|
openAppSession,
|
|
35
35
|
withHostConfig
|
|
36
36
|
};
|
|
37
|
-
var qix_default = qix;
|
|
38
37
|
|
|
39
38
|
//#endregion
|
|
40
|
-
export {
|
|
39
|
+
export { qix as default, openAppSession, withHostConfig };
|
package/questions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/questions.d.ts
|
|
5
5
|
type Analysis = "breakdown" | "changePoint" | "comparison" | "contribution" | "correlation" | "fact" | "mutualInfo" | "rank" | "spike" | "trend" | "values";
|
|
@@ -37,20 +37,13 @@ type ConversationalResponsePart = {
|
|
|
37
37
|
* An error object.
|
|
38
38
|
*/
|
|
39
39
|
type Error = {
|
|
40
|
-
/** The error code. */
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
detail?: string;
|
|
44
|
-
/** Additional properties relating to the error. */
|
|
45
|
-
meta?: unknown;
|
|
46
|
-
/** References to the source of the error. */
|
|
40
|
+
/** The error code. */code: string; /** A human-readable explanation specific to this occurrence of the problem. */
|
|
41
|
+
detail?: string; /** Additional properties relating to the error. */
|
|
42
|
+
meta?: unknown; /** References to the source of the error. */
|
|
47
43
|
source?: {
|
|
48
|
-
/** The URI query parameter that caused the error. */
|
|
49
|
-
parameter?: string;
|
|
50
|
-
/** A JSON Pointer to the property that caused the error. */
|
|
44
|
+
/** The URI query parameter that caused the error. */parameter?: string; /** A JSON Pointer to the property that caused the error. */
|
|
51
45
|
pointer?: string;
|
|
52
|
-
};
|
|
53
|
-
/** Summary of the problem. */
|
|
46
|
+
}; /** Summary of the problem. */
|
|
54
47
|
title: string;
|
|
55
48
|
};
|
|
56
49
|
type Errors = {
|
|
@@ -69,58 +62,36 @@ type Links = {
|
|
|
69
62
|
*/
|
|
70
63
|
type NLMetricRecommendation = {
|
|
71
64
|
analysis?: Analysis;
|
|
72
|
-
analysisGroup?: AnalysisGroup;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
/** Dimension(s) considered for recommendation */
|
|
76
|
-
dims?: string[];
|
|
77
|
-
/** Measure(s) considered for recommendation */
|
|
65
|
+
analysisGroup?: AnalysisGroup; /** Chart type given to current recommendation */
|
|
66
|
+
chartType?: ChartType; /** Dimension(s) considered for recommendation */
|
|
67
|
+
dims?: string[]; /** Measure(s) considered for recommendation */
|
|
78
68
|
msrs?: string[];
|
|
79
69
|
relevance?: number;
|
|
80
70
|
};
|
|
81
71
|
type NLMetricRecord = {
|
|
82
|
-
/** Qlik sense app id that is being used to answer the question */
|
|
83
|
-
appId: string;
|
|
84
|
-
/** Qlik sense app name that is being used to answer the question */
|
|
72
|
+
/** Qlik sense app id that is being used to answer the question */appId: string; /** Qlik sense app name that is being used to answer the question */
|
|
85
73
|
appName?: string;
|
|
86
|
-
apps?: AppMetadata[];
|
|
87
|
-
/**
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
chartType?: string;
|
|
91
|
-
/** Record created date */
|
|
92
|
-
createdAt: string;
|
|
93
|
-
/** Qlik sense user id who is interacting with insight advisor or insight advisor chat or third party api */
|
|
74
|
+
apps?: AppMetadata[]; /** Source from which conversation is happening */
|
|
75
|
+
channelId?: string; /** Chart type for given query. For insight advisor it would be 'native' and for insight advisor chat, it could be 'static' or 'responsive' */
|
|
76
|
+
chartType?: string; /** Record created date */
|
|
77
|
+
createdAt: string; /** Qlik sense user id who is interacting with insight advisor or insight advisor chat or third party api */
|
|
94
78
|
createdBy?: string;
|
|
95
|
-
feedback?: RecFeedback[];
|
|
96
|
-
/**
|
|
97
|
-
|
|
98
|
-
/** Boolean value indicates whether given query is contextual or not. It would be false for insight advisor */
|
|
99
|
-
isContextualQuery?: boolean;
|
|
100
|
-
/** language selected for query from insight advisor or insight advisor chat or third party api */
|
|
79
|
+
feedback?: RecFeedback[]; /** Unique record id stored in database */
|
|
80
|
+
id: string; /** Boolean value indicates whether given query is contextual or not. It would be false for insight advisor */
|
|
81
|
+
isContextualQuery?: boolean; /** language selected for query from insight advisor or insight advisor chat or third party api */
|
|
101
82
|
lang?: string;
|
|
102
83
|
nluInfo?: PartialNluInfo[];
|
|
103
|
-
queryError?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
queryText?: string;
|
|
108
|
-
/** Nature of query being asked during the conversation e.g. query, applist, measurelist, dimensionlist */
|
|
109
|
-
queryType?: "appList" | "appSuggested" | "dimensionList" | "exploreThisFurther" | "followup" | "greetings" | "measureList" | "query" | "sampleQuestion";
|
|
110
|
-
/** Unique id assigned to user query */
|
|
84
|
+
queryError?: boolean; /** Refers to source from where narrative request is called */
|
|
85
|
+
queryOrigin?: "askQuestion" | "iaAnalysis" | "iaAssetsPanel"; /** Query asked by user in insight advisor or insight advisor or third party api */
|
|
86
|
+
queryText?: string; /** Nature of query being asked during the conversation e.g. query, applist, measurelist, dimensionlist */
|
|
87
|
+
queryType?: "appList" | "appSuggested" | "dimensionList" | "exploreThisFurther" | "followup" | "greetings" | "measureList" | "query" | "sampleQuestion"; /** Unique id assigned to user query */
|
|
111
88
|
questionId: string;
|
|
112
|
-
recommendations?: NLMetricRecommendation[];
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
/** Tokens
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
tenantId?: string;
|
|
119
|
-
/** Tokens parsed as entities but not matched with app's field/dimension/measure */
|
|
120
|
-
unmatchedEntities?: string[];
|
|
121
|
-
/** Record modified date */
|
|
122
|
-
updatedAt: string;
|
|
123
|
-
/** Version of the metric model */
|
|
89
|
+
recommendations?: NLMetricRecommendation[]; /** Provides info what was included in response for given query */
|
|
90
|
+
responses?: NLResponses; /** Tokens from question parsed which are ignored */
|
|
91
|
+
stopWords?: string[]; /** Qlik sense tenant Id */
|
|
92
|
+
tenantId?: string; /** Tokens parsed as entities but not matched with app's field/dimension/measure */
|
|
93
|
+
unmatchedEntities?: string[]; /** Record modified date */
|
|
94
|
+
updatedAt: string; /** Version of the metric model */
|
|
124
95
|
version: string;
|
|
125
96
|
};
|
|
126
97
|
type NLMetricsRequest = {
|
|
@@ -160,27 +131,19 @@ type NLMetricsResponse = {
|
|
|
160
131
|
data?: NLMetricRecord[];
|
|
161
132
|
links?: Links;
|
|
162
133
|
readonly meta?: {
|
|
163
|
-
/** The total number of metrics matching the current filter. */
|
|
164
|
-
total: number;
|
|
134
|
+
/** The total number of metrics matching the current filter. */total: number;
|
|
165
135
|
};
|
|
166
136
|
};
|
|
167
137
|
/**
|
|
168
138
|
* Provides info what was included in response for given query
|
|
169
139
|
*/
|
|
170
140
|
type NLResponses = {
|
|
171
|
-
/** Chart was provided */
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
/** Dimensions list was provided */
|
|
178
|
-
hasMetadataDimensions?: boolean;
|
|
179
|
-
/** Measures list was provided */
|
|
180
|
-
hasMetadataMeasures?: boolean;
|
|
181
|
-
/** Sample questions was provided */
|
|
182
|
-
hasSampleQueries?: boolean;
|
|
183
|
-
/** Suggestion questions was provided */
|
|
141
|
+
/** Chart was provided */hasChart?: boolean; /** Narrative was provided */
|
|
142
|
+
hasInsights?: boolean; /** App list was provided */
|
|
143
|
+
hasMetadataApps?: boolean; /** Dimensions list was provided */
|
|
144
|
+
hasMetadataDimensions?: boolean; /** Measures list was provided */
|
|
145
|
+
hasMetadataMeasures?: boolean; /** Sample questions was provided */
|
|
146
|
+
hasSampleQueries?: boolean; /** Suggestion questions was provided */
|
|
184
147
|
hasSuggestions?: boolean;
|
|
185
148
|
};
|
|
186
149
|
type NarrativeResponse = {
|
|
@@ -204,15 +167,10 @@ type NluInfoElements = {
|
|
|
204
167
|
* Contains break down of the asked question in the form of tokens with their classification.
|
|
205
168
|
*/
|
|
206
169
|
type PartialNluInfo = {
|
|
207
|
-
/** Qlik sense application field selected for given token or phrase */
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
|
|
211
|
-
/** Role of the token or phrase from query */
|
|
212
|
-
role?: "dimension" | "measure" | "date";
|
|
213
|
-
/** Matching token or phrase from query */
|
|
214
|
-
text?: string;
|
|
215
|
-
/** Type of token from query */
|
|
170
|
+
/** Qlik sense application field selected for given token or phrase */fieldName?: string; /** Filter value found from query */
|
|
171
|
+
fieldValue?: string; /** Role of the token or phrase from query */
|
|
172
|
+
role?: "dimension" | "measure" | "date"; /** Matching token or phrase from query */
|
|
173
|
+
text?: string; /** Type of token from query */
|
|
216
174
|
type?: "field" | "filter" | "master_dimension" | "master_measure" | "custom_analysis";
|
|
217
175
|
};
|
|
218
176
|
type QlikApp = {
|
|
@@ -220,33 +178,24 @@ type QlikApp = {
|
|
|
220
178
|
name?: string;
|
|
221
179
|
};
|
|
222
180
|
type QueryCreate = {
|
|
223
|
-
app?: QlikApp;
|
|
224
|
-
/** Flag that
|
|
225
|
-
|
|
226
|
-
/** Flag that specifies
|
|
227
|
-
|
|
228
|
-
/** The flag specifies whether to disable follow-up recommendations. */
|
|
229
|
-
disableFollowups?: boolean;
|
|
230
|
-
/** Flag that specifies whether the narratives should be generated for the user query or not. */
|
|
231
|
-
disableNarrative?: boolean;
|
|
232
|
-
/** Flag that specifies whether visualization object should be provided or not. */
|
|
181
|
+
app?: QlikApp; /** Flag that clears the entity context. */
|
|
182
|
+
clearEntityContext?: boolean; /** Flag that specifies either to enable converastion context. */
|
|
183
|
+
disableConversationContext?: boolean; /** The flag specifies whether to disable follow-up recommendations. */
|
|
184
|
+
disableFollowups?: boolean; /** Flag that specifies whether the narratives should be generated for the user query or not. */
|
|
185
|
+
disableNarrative?: boolean; /** Flag that specifies whether visualization object should be provided or not. */
|
|
233
186
|
enableVisualizations?: boolean;
|
|
234
187
|
/** The language to assume when parsing, specified as an ISO-639-1 code.
|
|
235
188
|
* Defaults to 'en' (English). */
|
|
236
|
-
lang?: string;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
/** The sentence that will be parsed. */
|
|
240
|
-
text: string;
|
|
241
|
-
/** Specify visualizationTypes for only which visualization object should be provided if enableVisualizations is set to true. For eg. ['linechart', 'barchart'] */
|
|
189
|
+
lang?: string; /** property that contains the Id of the recommendation for which the response should be generated. */
|
|
190
|
+
recommendationId?: string; /** The sentence that will be parsed. */
|
|
191
|
+
text: string; /** Specify visualizationTypes for only which visualization object should be provided if enableVisualizations is set to true. For eg. ['linechart', 'barchart'] */
|
|
242
192
|
visualizationTypes?: string[];
|
|
243
193
|
};
|
|
244
194
|
/**
|
|
245
195
|
* The attributes of sentences.
|
|
246
196
|
*/
|
|
247
197
|
type QueryCreated = {
|
|
248
|
-
apps?: QlikApp[];
|
|
249
|
-
/** A list of conversational responses. */
|
|
198
|
+
apps?: QlikApp[]; /** A list of conversational responses. */
|
|
250
199
|
conversationalResponse?: QueryResponse[];
|
|
251
200
|
nluInfo?: NluInfo;
|
|
252
201
|
};
|
|
@@ -257,10 +206,8 @@ type QueryNotCreated = {
|
|
|
257
206
|
nluInfo?: NluInfo;
|
|
258
207
|
};
|
|
259
208
|
type QueryResponse = {
|
|
260
|
-
apps?: QlikApp[];
|
|
261
|
-
/**
|
|
262
|
-
contextInfo?: string;
|
|
263
|
-
/** The URL with the query injected to insight advisor of the app to which the query belongs. */
|
|
209
|
+
apps?: QlikApp[]; /** For contextual responses, this string contains a list of entities that are used to produce the response. */
|
|
210
|
+
contextInfo?: string; /** The URL with the query injected to insight advisor of the app to which the query belongs. */
|
|
264
211
|
drillDownURI?: string;
|
|
265
212
|
responses?: ConversationalResponsePart[];
|
|
266
213
|
sentenceWithMatches?: string;
|
|
@@ -278,8 +225,7 @@ type RecFeedback = {
|
|
|
278
225
|
recommendationLiked: boolean;
|
|
279
226
|
};
|
|
280
227
|
type RenderVisualization = {
|
|
281
|
-
/** Data object should be used to render visualization */
|
|
282
|
-
data?: unknown;
|
|
228
|
+
/** Data object should be used to render visualization */data?: unknown;
|
|
283
229
|
language?: string;
|
|
284
230
|
};
|
|
285
231
|
/**
|
|
@@ -313,11 +259,8 @@ type AskQuestionsHttpError = {
|
|
|
313
259
|
* @throws FilterQuestionsHttpError
|
|
314
260
|
*/
|
|
315
261
|
declare function filterQuestions(query: {
|
|
316
|
-
/** The preferred number of entries returned */
|
|
317
|
-
|
|
318
|
-
/** A cursor pointing to the page of data to retrieve. */
|
|
319
|
-
page?: string;
|
|
320
|
-
/** A single field from the data model on which to sort the response. The '+' or '-' operator may be used to specify ascending or desending order. */
|
|
262
|
+
/** The preferred number of entries returned */limit?: number; /** A cursor pointing to the page of data to retrieve. */
|
|
263
|
+
page?: string; /** A single field from the data model on which to sort the response. The '+' or '-' operator may be used to specify ascending or desending order. */
|
|
321
264
|
sort?: "createdAt" | "updatedAt" | "+createdAt" | "+updatedAt" | "-createdAt" | "-updatedAt";
|
|
322
265
|
}, body: NLMetricsRequest, options?: ApiCallOptions): Promise<FilterQuestionsHttpResponse>;
|
|
323
266
|
type FilterQuestionsHttpResponse = {
|
package/questions.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/questions.ts
|
|
5
5
|
/**
|
|
@@ -48,7 +48,6 @@ const questionsExport = {
|
|
|
48
48
|
filterQuestions,
|
|
49
49
|
clearCache
|
|
50
50
|
};
|
|
51
|
-
var questions_default = questionsExport;
|
|
52
51
|
|
|
53
52
|
//#endregion
|
|
54
|
-
export { askQuestions, clearCache,
|
|
53
|
+
export { askQuestions, clearCache, questionsExport as default, filterQuestions };
|
package/quotas.d.ts
CHANGED
|
@@ -1,42 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/quotas.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* A specific error.
|
|
7
7
|
*/
|
|
8
8
|
type Error = {
|
|
9
|
-
/** The error code. */
|
|
10
|
-
code: string;
|
|
11
|
-
/** Summary of the problem. */
|
|
9
|
+
/** The error code. */code: string; /** Summary of the problem. */
|
|
12
10
|
title: string;
|
|
13
11
|
};
|
|
14
12
|
type ErrorResponse = {
|
|
15
13
|
errors?: Error[];
|
|
16
14
|
};
|
|
17
15
|
type GetQuotaByIdResult = {
|
|
18
|
-
/** Quota item. */
|
|
19
|
-
data: Quota[];
|
|
16
|
+
/** Quota item. */data: Quota[];
|
|
20
17
|
};
|
|
21
18
|
type GetQuotasResult = {
|
|
22
|
-
/** Array of quota items. */
|
|
23
|
-
data: Quota[];
|
|
19
|
+
/** Array of quota items. */data: Quota[];
|
|
24
20
|
};
|
|
25
21
|
type Quota = {
|
|
26
|
-
/** The attributes of the quota. */
|
|
27
|
-
|
|
28
|
-
/** The quota
|
|
29
|
-
quota
|
|
30
|
-
/** The unit of the quota limit. For memory quotas, the unit is always "bytes". For other discrete units, the item counted is used as unit, for example "spaces". */
|
|
31
|
-
unit: string;
|
|
32
|
-
/** The current quota usage, if applicable. This attribute is only present if it is requested using the reportUsage query parameter. */
|
|
33
|
-
usage?: number;
|
|
34
|
-
/** The warning thresholds at which "close to quota" warnings can be issued when exceeded. If omitted, no warning threshold shall be used. Currently, the array will contain only one threshold value. In the future, this may be extended. The threshold is a number between 0 and 1, relating to the quota limit. For example, a value of 0.9 means that a warning should be issued when exceeding 90% of the quota limit. */
|
|
22
|
+
/** The attributes of the quota. */attributes: {
|
|
23
|
+
/** The quota limit. If there is no quota limit, -1 is returned. */quota: number; /** The unit of the quota limit. For memory quotas, the unit is always "bytes". For other discrete units, the item counted is used as unit, for example "spaces". */
|
|
24
|
+
unit: string; /** The current quota usage, if applicable. This attribute is only present if it is requested using the reportUsage query parameter. */
|
|
25
|
+
usage?: number; /** The warning thresholds at which "close to quota" warnings can be issued when exceeded. If omitted, no warning threshold shall be used. Currently, the array will contain only one threshold value. In the future, this may be extended. The threshold is a number between 0 and 1, relating to the quota limit. For example, a value of 0.9 means that a warning should be issued when exceeding 90% of the quota limit. */
|
|
35
26
|
warningThresholds?: number[];
|
|
36
|
-
};
|
|
37
|
-
/** The
|
|
38
|
-
id: string;
|
|
39
|
-
/** The resource type of the quota item. Always equal to "quotas". */
|
|
27
|
+
}; /** The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces". */
|
|
28
|
+
id: string; /** The resource type of the quota item. Always equal to "quotas". */
|
|
40
29
|
type: string;
|
|
41
30
|
};
|
|
42
31
|
/**
|
|
@@ -46,8 +35,7 @@ type Quota = {
|
|
|
46
35
|
* @throws GetQuotasHttpError
|
|
47
36
|
*/
|
|
48
37
|
declare function getQuotas(query: {
|
|
49
|
-
/** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (only limits returned). */
|
|
50
|
-
reportUsage?: boolean;
|
|
38
|
+
/** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (only limits returned). */reportUsage?: boolean;
|
|
51
39
|
}, options?: ApiCallOptions): Promise<GetQuotasHttpResponse>;
|
|
52
40
|
type GetQuotasHttpResponse = {
|
|
53
41
|
data: GetQuotasResult;
|
|
@@ -67,8 +55,7 @@ type GetQuotasHttpError = {
|
|
|
67
55
|
* @throws GetQuotaHttpError
|
|
68
56
|
*/
|
|
69
57
|
declare function getQuota(id: string, query: {
|
|
70
|
-
/** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (usage not included). */
|
|
71
|
-
reportUsage?: boolean;
|
|
58
|
+
/** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (usage not included). */reportUsage?: boolean;
|
|
72
59
|
}, options?: ApiCallOptions): Promise<GetQuotaHttpResponse>;
|
|
73
60
|
type GetQuotaHttpResponse = {
|
|
74
61
|
data: GetQuotaByIdResult;
|
package/quotas.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/quotas.ts
|
|
5
5
|
/**
|
|
@@ -46,7 +46,6 @@ const quotasExport = {
|
|
|
46
46
|
getQuota,
|
|
47
47
|
clearCache
|
|
48
48
|
};
|
|
49
|
-
var quotas_default = quotasExport;
|
|
50
49
|
|
|
51
50
|
//#endregion
|
|
52
|
-
export { clearCache,
|
|
51
|
+
export { clearCache, quotasExport as default, getQuota, getQuotas };
|