@qlik/api 2.2.0 → 2.3.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 +386 -0
- package/analytics/change-stores.js +123 -0
- package/analytics.d.ts +14 -0
- package/analytics.js +13 -0
- package/api-keys.d.ts +362 -3
- package/api-keys.js +2 -3
- package/apps.d.ts +2673 -3
- package/apps.js +2 -3
- package/assistants.d.ts +1370 -3
- package/assistants.js +2 -3
- package/audits.d.ts +318 -3
- package/audits.js +4 -4
- package/auth-types.d.ts +1 -1
- package/auth-types.js +1 -2
- package/auth.d.ts +94 -2
- package/auth.js +63 -3
- package/automation-connections.d.ts +366 -3
- package/automation-connections.js +2 -3
- package/automation-connectors.d.ts +84 -3
- package/automation-connectors.js +2 -3
- package/automations.d.ts +805 -3
- package/automations.js +2 -3
- package/automl-deployments.d.ts +101 -3
- package/automl-deployments.js +2 -3
- package/automl-predictions.d.ts +238 -3
- package/automl-predictions.js +2 -3
- package/banners.d.ts +184 -3
- package/banners.js +2 -3
- package/brands.d.ts +670 -3
- package/brands.js +2 -3
- package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
- package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
- package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
- package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
- package/collections.d.ts +582 -3
- package/collections.js +2 -3
- package/conditions.d.ts +662 -3
- package/conditions.js +2 -3
- package/consumption.d.ts +182 -3
- package/consumption.js +2 -3
- package/core/ip-policies.d.ts +328 -4
- package/core/ip-policies.js +108 -5
- package/core.d.ts +13 -4
- package/core.js +3 -4
- package/csp-origins.d.ts +273 -3
- package/csp-origins.js +2 -3
- package/csrf-token.d.ts +62 -3
- package/csrf-token.js +2 -3
- package/data-alerts.d.ts +1004 -3
- package/data-alerts.js +2 -3
- package/data-assets.d.ts +207 -3
- package/data-assets.js +2 -3
- package/data-connections.d.ts +678 -3
- package/data-connections.js +2 -3
- package/data-credentials.d.ts +292 -3
- package/data-credentials.js +2 -3
- package/data-files.d.ts +860 -3
- package/data-files.js +2 -3
- package/data-qualities.d.ts +175 -3
- package/data-qualities.js +2 -3
- package/data-sets.d.ts +424 -3
- package/data-sets.js +2 -3
- package/data-sources.d.ts +348 -3
- package/data-sources.js +2 -3
- package/data-stores.d.ts +537 -3
- package/data-stores.js +2 -3
- package/dcaas.d.ts +192 -3
- package/dcaas.js +2 -3
- package/di-projects.d.ts +812 -4
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +710 -4
- package/direct-access-agents.js +37 -5
- package/docs/authentication.md +1 -1
- package/encryption.d.ts +372 -3
- package/encryption.js +2 -3
- package/extensions.d.ts +295 -3
- package/extensions.js +2 -3
- package/global-types.d.ts +1 -1
- package/global-types.js +0 -2
- package/glossaries.d.ts +1223 -3
- package/glossaries.js +2 -3
- package/groups.d.ts +510 -3
- package/groups.js +2 -3
- package/identity-providers.d.ts +711 -3
- package/identity-providers.js +2 -3
- package/index.d.ts +78 -69
- package/index.js +28 -10
- package/interceptors.d.ts +52 -3
- package/interceptors.js +1 -2
- package/invoke-fetch-types.d.ts +1 -1
- package/items.d.ts +536 -3
- package/items.js +2 -3
- package/knowledgebases.d.ts +976 -3
- package/knowledgebases.js +2 -3
- package/licenses.d.ts +663 -3
- package/licenses.js +2 -3
- package/lineage-graphs.d.ts +704 -3
- package/lineage-graphs.js +2 -3
- package/ml.d.ts +2808 -3
- package/ml.js +2 -3
- package/notes.d.ts +110 -3
- package/notes.js +2 -3
- package/notifications.d.ts +98 -3
- package/notifications.js +2 -3
- package/oauth-callback.iife.js +1151 -0
- package/oauth-clients.d.ts +562 -3
- package/oauth-clients.js +2 -3
- package/oauth-tokens.d.ts +126 -3
- package/oauth-tokens.js +2 -3
- package/package.json +6 -4
- package/qix.d.ts +3 -3
- package/qix.js +38 -3
- package/questions.d.ts +364 -3
- package/questions.js +2 -3
- package/quotas.d.ts +112 -3
- package/quotas.js +2 -3
- package/reload-tasks.d.ts +249 -3
- package/reload-tasks.js +2 -3
- package/reloads.d.ts +260 -3
- package/reloads.js +2 -3
- package/report-templates.d.ts +287 -3
- package/report-templates.js +2 -3
- package/reports.d.ts +863 -3
- package/reports.js +2 -3
- package/roles.d.ts +312 -3
- package/roles.js +2 -3
- package/sharing-tasks.d.ts +1164 -3
- package/sharing-tasks.js +2 -3
- package/spaces.d.ts +779 -3
- package/spaces.js +2 -3
- package/tasks.d.ts +564 -3
- package/tasks.js +2 -3
- package/temp-contents.d.ts +167 -3
- package/temp-contents.js +2 -3
- package/tenants.d.ts +360 -3
- package/tenants.js +2 -3
- package/themes.d.ts +270 -3
- package/themes.js +2 -3
- package/transports.d.ts +435 -4
- package/transports.js +20 -5
- package/ui-config.d.ts +274 -3
- package/ui-config.js +2 -3
- package/users.d.ts +674 -3
- package/users.js +2 -3
- package/web-integrations.d.ts +294 -3
- package/web-integrations.js +2 -3
- package/web-notifications.d.ts +273 -3
- package/web-notifications.js +2 -3
- package/webhooks.d.ts +505 -3
- package/webhooks.js +2 -3
- package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
- package/chunks/apps-BwpXUGDb.d.ts +0 -2673
- package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
- package/chunks/audits-DakwzT97.d.ts +0 -316
- package/chunks/auth-6mptVm5Q.d.ts +0 -95
- package/chunks/auth-D11iO7ZV.js +0 -65
- package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
- package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
- package/chunks/automations-BGy83EBO.d.ts +0 -797
- package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
- package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
- package/chunks/banners-CgBRnZGv.d.ts +0 -184
- package/chunks/brands-DCgk6Gqx.d.ts +0 -671
- package/chunks/collections-BpYjcpIY.d.ts +0 -582
- package/chunks/conditions-CJJG7Uph.d.ts +0 -662
- package/chunks/consumption-DerFk437.d.ts +0 -182
- package/chunks/core-DQXNZdnf.d.ts +0 -12
- package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
- package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
- package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
- package/chunks/data-assets-CJDcssoX.d.ts +0 -207
- package/chunks/data-connections-VSB13K6g.d.ts +0 -678
- package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
- package/chunks/data-files-CVzn9M6V.d.ts +0 -860
- package/chunks/data-qualities-DBrot957.d.ts +0 -176
- package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
- package/chunks/data-sources-IsAaof_C.d.ts +0 -346
- package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
- package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
- package/chunks/di-projects-DVQTxASr.d.ts +0 -777
- package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
- package/chunks/encryption-BjA6xbCO.d.ts +0 -372
- package/chunks/extensions-OO0WtInj.d.ts +0 -294
- package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
- package/chunks/groups-C86-UG7S.d.ts +0 -511
- package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
- package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
- package/chunks/interceptors-DTYm37AU.js +0 -104
- package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
- package/chunks/ip-policies-DXlf172B.js +0 -108
- package/chunks/items-C-jzqvFW.d.ts +0 -536
- package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
- package/chunks/licenses-xzjnkitW.d.ts +0 -663
- package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
- package/chunks/ml-Abt2MUva.d.ts +0 -2809
- package/chunks/notes-BZxuyDgt.d.ts +0 -111
- package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
- package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
- package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
- package/chunks/qix-CYQsLyGQ.js +0 -40
- package/chunks/questions-BVp0tvNs.d.ts +0 -364
- package/chunks/quotas-CfAebRJd.d.ts +0 -113
- package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
- package/chunks/reloads-CwmagnFx.d.ts +0 -260
- package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
- package/chunks/reports-DzNC6Uq3.d.ts +0 -861
- package/chunks/roles-BYFIY6E7.d.ts +0 -312
- package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
- package/chunks/spaces-BK823t-b.d.ts +0 -780
- package/chunks/tasks-COKDfShO.d.ts +0 -564
- package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
- package/chunks/tenants-Bhn86519.d.ts +0 -361
- package/chunks/themes-v9NbhiBo.d.ts +0 -269
- package/chunks/transports-CqEiFxD3.d.ts +0 -362
- package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
- package/chunks/users-BSOBU_fg.d.ts +0 -675
- package/chunks/web-integrations-MisPAHod.d.ts +0 -295
- package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
- package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
- /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
- /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
- /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
- /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
- /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
- /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
package/chunks/qix-CYQsLyGQ.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { r as getQixRuntimeModule } from "./public-runtime-modules-Dwjzb3l8.js";
|
|
2
|
-
|
|
3
|
-
//#region src/public/qix.ts
|
|
4
|
-
function openAppSession(appSessionProps) {
|
|
5
|
-
const appSessionPromise = getQixRuntimeModule(appSessionProps.hostConfig).then((impl) => impl.openAppSession(appSessionProps));
|
|
6
|
-
return {
|
|
7
|
-
async getDoc() {
|
|
8
|
-
return (await appSessionPromise).getDoc();
|
|
9
|
-
},
|
|
10
|
-
onWebSocketEvent(listener) {
|
|
11
|
-
const returnedFnPromise = appSessionPromise.then((appSession) => appSession.onWebSocketEvent(listener));
|
|
12
|
-
return () => {
|
|
13
|
-
returnedFnPromise.then((fn) => fn());
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
async resume() {
|
|
17
|
-
return (await appSessionPromise).resume();
|
|
18
|
-
},
|
|
19
|
-
async close(props) {
|
|
20
|
-
return (await appSessionPromise).close(props);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
function withHostConfig(hostConfig) {
|
|
25
|
-
return { openAppSession: (openAppSessionProps) => openAppSession(typeof openAppSessionProps === "string" ? {
|
|
26
|
-
hostConfig,
|
|
27
|
-
appId: openAppSessionProps
|
|
28
|
-
} : {
|
|
29
|
-
hostConfig,
|
|
30
|
-
...openAppSessionProps
|
|
31
|
-
}) };
|
|
32
|
-
}
|
|
33
|
-
const qix = {
|
|
34
|
-
openAppSession,
|
|
35
|
-
withHostConfig
|
|
36
|
-
};
|
|
37
|
-
var qix_default = qix;
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
export { qix_default as n, withHostConfig as r, openAppSession as t };
|
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
|
|
2
|
-
|
|
3
|
-
//#region src/public/rest/questions.d.ts
|
|
4
|
-
type Analysis = "breakdown" | "changePoint" | "comparison" | "contribution" | "correlation" | "fact" | "mutualInfo" | "rank" | "spike" | "trend" | "values";
|
|
5
|
-
type AnalysisGroup = "anomaly" | "brekadown" | "comparison" | "correl" | "fact" | "list" | "mutualInfo" | "rank";
|
|
6
|
-
/**
|
|
7
|
-
* Metadata for app
|
|
8
|
-
*/
|
|
9
|
-
type AppMetadata = {
|
|
10
|
-
id?: string;
|
|
11
|
-
last_reload_date?: string;
|
|
12
|
-
limited_access?: boolean;
|
|
13
|
-
name?: string;
|
|
14
|
-
space_id?: string;
|
|
15
|
-
space_name?: string;
|
|
16
|
-
space_type?: string;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Chart type given to current recommendation
|
|
20
|
-
*/
|
|
21
|
-
type ChartType = "barchart" | "combochart" | "distributionplot" | "kpi" | "linechart" | "map" | "scatterplot" | "table";
|
|
22
|
-
type ConversationalResponsePart = {
|
|
23
|
-
errorMessage?: string;
|
|
24
|
-
followupSentence?: string;
|
|
25
|
-
imageUrl?: string;
|
|
26
|
-
infoType?: string;
|
|
27
|
-
infoValues?: (string[] | QlikApp[])[];
|
|
28
|
-
narrative?: NarrativeResponse;
|
|
29
|
-
renderVisualization?: RenderVisualization;
|
|
30
|
-
sentence?: {
|
|
31
|
-
text?: string;
|
|
32
|
-
};
|
|
33
|
-
type?: string;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* An error object.
|
|
37
|
-
*/
|
|
38
|
-
type Error = {
|
|
39
|
-
/** The error code. */
|
|
40
|
-
code: string;
|
|
41
|
-
/** A human-readable explanation specific to this occurrence of the problem. */
|
|
42
|
-
detail?: string;
|
|
43
|
-
/** Additional properties relating to the error. */
|
|
44
|
-
meta?: unknown;
|
|
45
|
-
/** References to the source of the error. */
|
|
46
|
-
source?: {
|
|
47
|
-
/** The URI query parameter that caused the error. */
|
|
48
|
-
parameter?: string;
|
|
49
|
-
/** A JSON Pointer to the property that caused the error. */
|
|
50
|
-
pointer?: string;
|
|
51
|
-
};
|
|
52
|
-
/** Summary of the problem. */
|
|
53
|
-
title: string;
|
|
54
|
-
};
|
|
55
|
-
type Errors = {
|
|
56
|
-
errors?: Error[];
|
|
57
|
-
};
|
|
58
|
-
type Href = {
|
|
59
|
-
href?: string;
|
|
60
|
-
};
|
|
61
|
-
type Links = {
|
|
62
|
-
next?: Href;
|
|
63
|
-
prev?: Href;
|
|
64
|
-
self?: Href;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Visualisation recommendation specs for the query
|
|
68
|
-
*/
|
|
69
|
-
type NLMetricRecommendation = {
|
|
70
|
-
analysis?: Analysis;
|
|
71
|
-
analysisGroup?: AnalysisGroup;
|
|
72
|
-
/** Chart type given to current recommendation */
|
|
73
|
-
chartType?: ChartType;
|
|
74
|
-
/** Dimension(s) considered for recommendation */
|
|
75
|
-
dims?: string[];
|
|
76
|
-
/** Measure(s) considered for recommendation */
|
|
77
|
-
msrs?: string[];
|
|
78
|
-
relevance?: number;
|
|
79
|
-
};
|
|
80
|
-
type NLMetricRecord = {
|
|
81
|
-
/** Qlik sense app id that is being used to answer the question */
|
|
82
|
-
appId: string;
|
|
83
|
-
/** Qlik sense app name that is being used to answer the question */
|
|
84
|
-
appName?: string;
|
|
85
|
-
apps?: AppMetadata[];
|
|
86
|
-
/** Source from which conversation is happening */
|
|
87
|
-
channelId?: string;
|
|
88
|
-
/** Chart type for given query. For insight advisor it would be 'native' and for insight advisor chat, it could be 'static' or 'responsive' */
|
|
89
|
-
chartType?: string;
|
|
90
|
-
/** Record created date */
|
|
91
|
-
createdAt: string;
|
|
92
|
-
/** Qlik sense user id who is interacting with insight advisor or insight advisor chat or third party api */
|
|
93
|
-
createdBy?: string;
|
|
94
|
-
feedback?: RecFeedback[];
|
|
95
|
-
/** Unique record id stored in database */
|
|
96
|
-
id: string;
|
|
97
|
-
/** Boolean value indicates whether given query is contextual or not. It would be false for insight advisor */
|
|
98
|
-
isContextualQuery?: boolean;
|
|
99
|
-
/** language selected for query from insight advisor or insight advisor chat or third party api */
|
|
100
|
-
lang?: string;
|
|
101
|
-
nluInfo?: PartialNluInfo[];
|
|
102
|
-
queryError?: boolean;
|
|
103
|
-
/** Refers to source from where narrative request is called */
|
|
104
|
-
queryOrigin?: "askQuestion" | "iaAnalysis" | "iaAssetsPanel";
|
|
105
|
-
/** Query asked by user in insight advisor or insight advisor or third party api */
|
|
106
|
-
queryText?: string;
|
|
107
|
-
/** Nature of query being asked during the conversation e.g. query, applist, measurelist, dimensionlist */
|
|
108
|
-
queryType?: "appList" | "appSuggested" | "dimensionList" | "exploreThisFurther" | "followup" | "greetings" | "measureList" | "query" | "sampleQuestion";
|
|
109
|
-
/** Unique id assigned to user query */
|
|
110
|
-
questionId: string;
|
|
111
|
-
recommendations?: NLMetricRecommendation[];
|
|
112
|
-
/** Provides info what was included in response for given query */
|
|
113
|
-
responses?: NLResponses;
|
|
114
|
-
/** Tokens from question parsed which are ignored */
|
|
115
|
-
stopWords?: string[];
|
|
116
|
-
/** Qlik sense tenant Id */
|
|
117
|
-
tenantId?: string;
|
|
118
|
-
/** Tokens parsed as entities but not matched with app's field/dimension/measure */
|
|
119
|
-
unmatchedEntities?: string[];
|
|
120
|
-
/** Record modified date */
|
|
121
|
-
updatedAt: string;
|
|
122
|
-
/** Version of the metric model */
|
|
123
|
-
version: string;
|
|
124
|
-
};
|
|
125
|
-
type NLMetricsRequest = {
|
|
126
|
-
/** The advanced filtering to use for the query. Refer to [RFC 7644](https://www.rfc-editor.org/rfc/rfc7644#section-3.4.2.2) for the syntax.
|
|
127
|
-
*
|
|
128
|
-
* Filter on createdAt and updatedAt fields are encouraged and support `eq`, `ne`, `gt`, `ge`, `lt`, `le` comparison operators along with `and` and `or` logical operators.
|
|
129
|
-
*
|
|
130
|
-
* Filter on tenantId field is not supported.
|
|
131
|
-
*
|
|
132
|
-
* `co`, `sw` and `ew` operators are not supported.
|
|
133
|
-
*
|
|
134
|
-
* Examples:
|
|
135
|
-
* ```
|
|
136
|
-
* appId eq 'appId1'
|
|
137
|
-
* ```
|
|
138
|
-
* ```
|
|
139
|
-
* (appId eq 'appId1' or appId eq 'appId2')
|
|
140
|
-
* ```
|
|
141
|
-
* ```
|
|
142
|
-
* (appId eq 'appId1' or appId eq 'appId2') and (createdAt gt '2022-08-03T00:00:00.000Z' and createdAt lt '2022-08-04T00:00:00.000Z')
|
|
143
|
-
* ```
|
|
144
|
-
*
|
|
145
|
-
* ```
|
|
146
|
-
* (appId eq 'appId1') and (createdAt ge '2022-08-03T00:00:00.000Z')
|
|
147
|
-
* ```
|
|
148
|
-
*
|
|
149
|
-
* ```
|
|
150
|
-
* (appId eq 'appId1') and (createdAt le '2022-08-23:59:59.000Z')
|
|
151
|
-
* ```
|
|
152
|
-
*
|
|
153
|
-
* ```
|
|
154
|
-
* (appId eq 'appId1') and (questionId eq '12345')
|
|
155
|
-
* ``` */
|
|
156
|
-
filter: string;
|
|
157
|
-
};
|
|
158
|
-
type NLMetricsResponse = {
|
|
159
|
-
data?: NLMetricRecord[];
|
|
160
|
-
links?: Links;
|
|
161
|
-
readonly meta?: {
|
|
162
|
-
/** The total number of metrics matching the current filter. */
|
|
163
|
-
total: number;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
/**
|
|
167
|
-
* Provides info what was included in response for given query
|
|
168
|
-
*/
|
|
169
|
-
type NLResponses = {
|
|
170
|
-
/** Chart was provided */
|
|
171
|
-
hasChart?: boolean;
|
|
172
|
-
/** Narrative was provided */
|
|
173
|
-
hasInsights?: boolean;
|
|
174
|
-
/** App list was provided */
|
|
175
|
-
hasMetadataApps?: boolean;
|
|
176
|
-
/** Dimensions list was provided */
|
|
177
|
-
hasMetadataDimensions?: boolean;
|
|
178
|
-
/** Measures list was provided */
|
|
179
|
-
hasMetadataMeasures?: boolean;
|
|
180
|
-
/** Sample questions was provided */
|
|
181
|
-
hasSampleQueries?: boolean;
|
|
182
|
-
/** Suggestion questions was provided */
|
|
183
|
-
hasSuggestions?: boolean;
|
|
184
|
-
};
|
|
185
|
-
type NarrativeResponse = {
|
|
186
|
-
text?: string;
|
|
187
|
-
};
|
|
188
|
-
type NluInfo = {
|
|
189
|
-
elements?: NluInfoElements[];
|
|
190
|
-
};
|
|
191
|
-
type NluInfoElements = {
|
|
192
|
-
entity?: boolean;
|
|
193
|
-
errorText?: string;
|
|
194
|
-
filterFieldName?: string;
|
|
195
|
-
filterText?: string;
|
|
196
|
-
isFilter?: boolean;
|
|
197
|
-
text?: string;
|
|
198
|
-
type?: string;
|
|
199
|
-
typeName?: string;
|
|
200
|
-
typeTranslated?: string;
|
|
201
|
-
};
|
|
202
|
-
/**
|
|
203
|
-
* Contains break down of the asked question in the form of tokens with their classification.
|
|
204
|
-
*/
|
|
205
|
-
type PartialNluInfo = {
|
|
206
|
-
/** Qlik sense application field selected for given token or phrase */
|
|
207
|
-
fieldName?: string;
|
|
208
|
-
/** Filter value found from query */
|
|
209
|
-
fieldValue?: string;
|
|
210
|
-
/** Role of the token or phrase from query */
|
|
211
|
-
role?: "dimension" | "measure" | "date";
|
|
212
|
-
/** Matching token or phrase from query */
|
|
213
|
-
text?: string;
|
|
214
|
-
/** Type of token from query */
|
|
215
|
-
type?: "field" | "filter" | "master_dimension" | "master_measure" | "custom_analysis";
|
|
216
|
-
};
|
|
217
|
-
type QlikApp = {
|
|
218
|
-
id?: string;
|
|
219
|
-
name?: string;
|
|
220
|
-
};
|
|
221
|
-
type QueryCreate = {
|
|
222
|
-
app?: QlikApp;
|
|
223
|
-
/** Flag that clears the entity context. */
|
|
224
|
-
clearEntityContext?: boolean;
|
|
225
|
-
/** Flag that specifies either to enable converastion context. */
|
|
226
|
-
disableConversationContext?: boolean;
|
|
227
|
-
/** The flag specifies whether to disable follow-up recommendations. */
|
|
228
|
-
disableFollowups?: boolean;
|
|
229
|
-
/** Flag that specifies whether the narratives should be generated for the user query or not. */
|
|
230
|
-
disableNarrative?: boolean;
|
|
231
|
-
/** Flag that specifies whether visualization object should be provided or not. */
|
|
232
|
-
enableVisualizations?: boolean;
|
|
233
|
-
/** The language to assume when parsing, specified as an ISO-639-1 code.
|
|
234
|
-
* Defaults to 'en' (English). */
|
|
235
|
-
lang?: string;
|
|
236
|
-
/** property that contains the Id of the recommendation for which the response should be generated. */
|
|
237
|
-
recommendationId?: string;
|
|
238
|
-
/** The sentence that will be parsed. */
|
|
239
|
-
text: string;
|
|
240
|
-
/** Specify visualizationTypes for only which visualization object should be provided if enableVisualizations is set to true. For eg. ['linechart', 'barchart'] */
|
|
241
|
-
visualizationTypes?: string[];
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* The attributes of sentences.
|
|
245
|
-
*/
|
|
246
|
-
type QueryCreated = {
|
|
247
|
-
apps?: QlikApp[];
|
|
248
|
-
/** A list of conversational responses. */
|
|
249
|
-
conversationalResponse?: QueryResponse[];
|
|
250
|
-
nluInfo?: NluInfo;
|
|
251
|
-
};
|
|
252
|
-
type QueryNotCreated = {
|
|
253
|
-
apps?: QlikApp[];
|
|
254
|
-
conversationalResponse?: QueryResponse;
|
|
255
|
-
errors?: Error[];
|
|
256
|
-
nluInfo?: NluInfo;
|
|
257
|
-
};
|
|
258
|
-
type QueryResponse = {
|
|
259
|
-
apps?: QlikApp[];
|
|
260
|
-
/** For contextual responses, this string contains a list of entities that are used to produce the response. */
|
|
261
|
-
contextInfo?: string;
|
|
262
|
-
/** The URL with the query injected to insight advisor of the app to which the query belongs. */
|
|
263
|
-
drillDownURI?: string;
|
|
264
|
-
responses?: ConversationalResponsePart[];
|
|
265
|
-
sentenceWithMatches?: string;
|
|
266
|
-
};
|
|
267
|
-
/**
|
|
268
|
-
* Any feedback from the user about a given recommendation
|
|
269
|
-
*/
|
|
270
|
-
type RecFeedback = {
|
|
271
|
-
analysisType?: string;
|
|
272
|
-
chartType?: string;
|
|
273
|
-
comment?: string;
|
|
274
|
-
recommendationAddedToHub: boolean;
|
|
275
|
-
recommendationAddedToSheet: boolean;
|
|
276
|
-
recommendationDisliked: boolean;
|
|
277
|
-
recommendationLiked: boolean;
|
|
278
|
-
};
|
|
279
|
-
type RenderVisualization = {
|
|
280
|
-
/** Data object should be used to render visualization */
|
|
281
|
-
data?: unknown;
|
|
282
|
-
language?: string;
|
|
283
|
-
};
|
|
284
|
-
/**
|
|
285
|
-
* Returns the generated response for parsed chat queries, if no app was specified nor present in conversation context, suggests matching apps.
|
|
286
|
-
*
|
|
287
|
-
* @param body an object with the body content
|
|
288
|
-
* @throws AskQuestionsHttpError
|
|
289
|
-
*/
|
|
290
|
-
declare function askQuestions(body: QueryCreate, options?: ApiCallOptions): Promise<AskQuestionsHttpResponse>;
|
|
291
|
-
type AskQuestionsHttpResponse = AskQuestions200HttpResponse | AskQuestions201HttpResponse;
|
|
292
|
-
type AskQuestions200HttpResponse = {
|
|
293
|
-
data: QueryNotCreated;
|
|
294
|
-
headers: Headers;
|
|
295
|
-
status: 200;
|
|
296
|
-
};
|
|
297
|
-
type AskQuestions201HttpResponse = {
|
|
298
|
-
data: QueryCreated;
|
|
299
|
-
headers: Headers;
|
|
300
|
-
status: 201;
|
|
301
|
-
};
|
|
302
|
-
type AskQuestionsHttpError = {
|
|
303
|
-
data: Errors;
|
|
304
|
-
headers: Headers;
|
|
305
|
-
status: number;
|
|
306
|
-
};
|
|
307
|
-
/**
|
|
308
|
-
* Returns NL metrics based on provided app IDs the user has access to.
|
|
309
|
-
*
|
|
310
|
-
* @param query an object with query parameters
|
|
311
|
-
* @param body an object with the body content
|
|
312
|
-
* @throws FilterQuestionsHttpError
|
|
313
|
-
*/
|
|
314
|
-
declare function filterQuestions(query: {
|
|
315
|
-
/** The preferred number of entries returned */
|
|
316
|
-
limit?: number;
|
|
317
|
-
/** A cursor pointing to the page of data to retrieve. */
|
|
318
|
-
page?: string;
|
|
319
|
-
/** 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. */
|
|
320
|
-
sort?: "createdAt" | "updatedAt" | "+createdAt" | "+updatedAt" | "-createdAt" | "-updatedAt";
|
|
321
|
-
}, body: NLMetricsRequest, options?: ApiCallOptions): Promise<FilterQuestionsHttpResponse>;
|
|
322
|
-
type FilterQuestionsHttpResponse = {
|
|
323
|
-
data: NLMetricsResponse;
|
|
324
|
-
headers: Headers;
|
|
325
|
-
status: 200;
|
|
326
|
-
prev?: (options?: ApiCallOptions) => Promise<FilterQuestionsHttpResponse>;
|
|
327
|
-
next?: (options?: ApiCallOptions) => Promise<FilterQuestionsHttpResponse>;
|
|
328
|
-
};
|
|
329
|
-
type FilterQuestionsHttpError = {
|
|
330
|
-
data: Errors;
|
|
331
|
-
headers: Headers;
|
|
332
|
-
status: 400 | 401 | 422 | 500;
|
|
333
|
-
};
|
|
334
|
-
/**
|
|
335
|
-
* Clears the cache for questions api requests.
|
|
336
|
-
*/
|
|
337
|
-
declare function clearCache(): void;
|
|
338
|
-
type QuestionsAPI = {
|
|
339
|
-
/**
|
|
340
|
-
* Returns the generated response for parsed chat queries, if no app was specified nor present in conversation context, suggests matching apps.
|
|
341
|
-
*
|
|
342
|
-
* @param body an object with the body content
|
|
343
|
-
* @throws AskQuestionsHttpError
|
|
344
|
-
*/
|
|
345
|
-
askQuestions: typeof askQuestions;
|
|
346
|
-
/**
|
|
347
|
-
* Returns NL metrics based on provided app IDs the user has access to.
|
|
348
|
-
*
|
|
349
|
-
* @param query an object with query parameters
|
|
350
|
-
* @param body an object with the body content
|
|
351
|
-
* @throws FilterQuestionsHttpError
|
|
352
|
-
*/
|
|
353
|
-
filterQuestions: typeof filterQuestions;
|
|
354
|
-
/**
|
|
355
|
-
* Clears the cache for questions api requests.
|
|
356
|
-
*/
|
|
357
|
-
clearCache: typeof clearCache;
|
|
358
|
-
};
|
|
359
|
-
/**
|
|
360
|
-
* Functions for the questions api
|
|
361
|
-
*/
|
|
362
|
-
declare const questionsExport: QuestionsAPI;
|
|
363
|
-
//#endregion
|
|
364
|
-
export { QuestionsAPI as A, NluInfoElements as C, QueryCreated as D, QueryCreate as E, filterQuestions as F, questionsExport as I, RenderVisualization as M, askQuestions as N, QueryNotCreated as O, clearCache as P, NluInfo as S, QlikApp as T, NLMetricRecord as _, AskQuestions201HttpResponse as a, NLResponses as b, ChartType as c, Errors as d, FilterQuestionsHttpError as f, NLMetricRecommendation as g, Links as h, AskQuestions200HttpResponse as i, RecFeedback as j, QueryResponse as k, ConversationalResponsePart as l, Href as m, AnalysisGroup as n, AskQuestionsHttpError as o, FilterQuestionsHttpResponse as p, AppMetadata as r, AskQuestionsHttpResponse as s, Analysis as t, Error as u, NLMetricsRequest as v, PartialNluInfo as w, NarrativeResponse as x, NLMetricsResponse as y };
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
|
|
2
|
-
|
|
3
|
-
//#region src/public/rest/quotas.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* A specific error.
|
|
7
|
-
*/
|
|
8
|
-
type Error = {
|
|
9
|
-
/** The error code. */
|
|
10
|
-
code: string;
|
|
11
|
-
/** Summary of the problem. */
|
|
12
|
-
title: string;
|
|
13
|
-
};
|
|
14
|
-
type ErrorResponse = {
|
|
15
|
-
errors?: Error[];
|
|
16
|
-
};
|
|
17
|
-
type GetQuotaByIdResult = {
|
|
18
|
-
/** Quota item. */
|
|
19
|
-
data: Quota[];
|
|
20
|
-
};
|
|
21
|
-
type GetQuotasResult = {
|
|
22
|
-
/** Array of quota items. */
|
|
23
|
-
data: Quota[];
|
|
24
|
-
};
|
|
25
|
-
type Quota = {
|
|
26
|
-
/** The attributes of the quota. */
|
|
27
|
-
attributes: {
|
|
28
|
-
/** The quota limit. If there is no quota limit, -1 is returned. */
|
|
29
|
-
quota: number;
|
|
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. */
|
|
35
|
-
warningThresholds?: number[];
|
|
36
|
-
};
|
|
37
|
-
/** The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces". */
|
|
38
|
-
id: string;
|
|
39
|
-
/** The resource type of the quota item. Always equal to "quotas". */
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Returns all quota items for the tenant (provided in JWT).
|
|
44
|
-
*
|
|
45
|
-
* @param query an object with query parameters
|
|
46
|
-
* @throws GetQuotasHttpError
|
|
47
|
-
*/
|
|
48
|
-
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;
|
|
51
|
-
}, options?: ApiCallOptions): Promise<GetQuotasHttpResponse>;
|
|
52
|
-
type GetQuotasHttpResponse = {
|
|
53
|
-
data: GetQuotasResult;
|
|
54
|
-
headers: Headers;
|
|
55
|
-
status: 200;
|
|
56
|
-
};
|
|
57
|
-
type GetQuotasHttpError = {
|
|
58
|
-
data: ErrorResponse;
|
|
59
|
-
headers: Headers;
|
|
60
|
-
status: 401 | 500;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Returns a specific quota item for the tenant (provided in JWT).
|
|
64
|
-
*
|
|
65
|
-
* @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
|
|
66
|
-
* @param query an object with query parameters
|
|
67
|
-
* @throws GetQuotaHttpError
|
|
68
|
-
*/
|
|
69
|
-
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;
|
|
72
|
-
}, options?: ApiCallOptions): Promise<GetQuotaHttpResponse>;
|
|
73
|
-
type GetQuotaHttpResponse = {
|
|
74
|
-
data: GetQuotaByIdResult;
|
|
75
|
-
headers: Headers;
|
|
76
|
-
status: 200;
|
|
77
|
-
};
|
|
78
|
-
type GetQuotaHttpError = {
|
|
79
|
-
data: ErrorResponse;
|
|
80
|
-
headers: Headers;
|
|
81
|
-
status: 401 | 404 | 500;
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* Clears the cache for quotas api requests.
|
|
85
|
-
*/
|
|
86
|
-
declare function clearCache(): void;
|
|
87
|
-
type QuotasAPI = {
|
|
88
|
-
/**
|
|
89
|
-
* Returns all quota items for the tenant (provided in JWT).
|
|
90
|
-
*
|
|
91
|
-
* @param query an object with query parameters
|
|
92
|
-
* @throws GetQuotasHttpError
|
|
93
|
-
*/
|
|
94
|
-
getQuotas: typeof getQuotas;
|
|
95
|
-
/**
|
|
96
|
-
* Returns a specific quota item for the tenant (provided in JWT).
|
|
97
|
-
*
|
|
98
|
-
* @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
|
|
99
|
-
* @param query an object with query parameters
|
|
100
|
-
* @throws GetQuotaHttpError
|
|
101
|
-
*/
|
|
102
|
-
getQuota: typeof getQuota;
|
|
103
|
-
/**
|
|
104
|
-
* Clears the cache for quotas api requests.
|
|
105
|
-
*/
|
|
106
|
-
clearCache: typeof clearCache;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* Functions for the quotas api
|
|
110
|
-
*/
|
|
111
|
-
declare const quotasExport: QuotasAPI;
|
|
112
|
-
//#endregion
|
|
113
|
-
export { GetQuotaHttpResponse as a, GetQuotasResult as c, clearCache as d, getQuota as f, GetQuotaHttpError as i, Quota as l, quotasExport as m, ErrorResponse as n, GetQuotasHttpError as o, getQuotas as p, GetQuotaByIdResult as r, GetQuotasHttpResponse as s, Error as t, QuotasAPI as u };
|