@qlik/api 0.0.8 → 0.0.10
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.d.mts +10 -1
- package/api-keys.d.ts +10 -1
- package/api-keys.js +11 -11
- package/api-keys.mjs +3 -3
- package/apps.d.mts +134 -8
- package/apps.d.ts +134 -8
- package/apps.js +47 -47
- package/apps.mjs +3 -3
- package/audits.d.mts +14 -1
- package/audits.d.ts +14 -1
- package/audits.js +10 -10
- package/audits.mjs +3 -3
- package/auth.js +4 -4
- package/auth.mjs +3 -3
- package/automations.d.mts +9 -1
- package/automations.d.ts +9 -1
- package/automations.js +22 -22
- package/automations.mjs +3 -3
- package/brands.d.mts +19 -4
- package/brands.d.ts +19 -4
- package/brands.js +16 -16
- package/brands.mjs +3 -3
- package/{enigma-session-VSFGLOYW.mjs → chunks/34FMVD4C.mjs} +165 -21
- package/{chunk-QTCDGPKS.js → chunks/37PLWNAN.js} +82 -60
- package/{chunk-GY2TAYQH.js → chunks/3MHXEHLQ.js} +2 -2
- package/{invoke-fetch-X42FV2FS.mjs → chunks/42LZKDDD.mjs} +2 -2
- package/{enigma-session-VTHT4O6N.js → chunks/AVQ3WHH7.js} +168 -24
- package/{chunk-BRDPNGQ7.js → chunks/FG5GDUSZ.js} +3 -3
- package/{chunk-4R2XCEVK.mjs → chunks/FUU5VIC4.mjs} +1 -1
- package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
- package/{qix-57OF6A7B.mjs → chunks/HFNJ3ERI.mjs} +3 -3
- package/{chunk-4MWB2T3C.mjs → chunks/HWZC3PIL.mjs} +1 -1
- package/{chunk-RYBRKLOY.js → chunks/ILOY5QEA.js} +4 -4
- package/{chunk-YILVC32M.mjs → chunks/KEPPVUY3.mjs} +1 -1
- package/{auth-U6QTT3H4.mjs → chunks/MMUU2CQM.mjs} +2 -2
- package/{chunk-LLLEO6K6.mjs → chunks/O5POHH2Q.mjs} +3 -3
- package/{chunk-EALMXU6S.js → chunks/QMWU5E4D.js} +3 -3
- package/chunks/RMNAO4DP.js +17 -0
- package/chunks/SUYUL6MB.js +41 -0
- package/{chunk-F24SLAYP.mjs → chunks/VMS4MOCI.mjs} +79 -57
- package/{qix-QWSMFPQY.js → chunks/WCJ4JQHA.js} +9 -9
- package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
- package/collections.d.mts +34 -22
- package/collections.d.ts +34 -22
- package/collections.js +15 -15
- package/collections.mjs +3 -3
- package/csp-origins.d.mts +1 -1
- package/csp-origins.d.ts +1 -1
- package/csp-origins.js +10 -10
- package/csp-origins.mjs +3 -3
- package/data-assets.d.mts +1 -1
- package/data-assets.d.ts +1 -1
- package/data-assets.js +9 -9
- package/data-assets.mjs +3 -3
- package/data-connections.d.mts +13 -2
- package/data-connections.d.ts +13 -2
- package/data-connections.js +13 -13
- package/data-connections.mjs +3 -3
- package/data-credentials.d.mts +6 -1
- package/data-credentials.d.ts +6 -1
- package/data-credentials.js +8 -8
- package/data-credentials.mjs +3 -3
- package/data-files.d.mts +7 -1
- package/data-files.d.ts +7 -1
- package/data-files.js +16 -16
- package/data-files.mjs +3 -3
- package/extensions.d.mts +13 -1
- package/extensions.d.ts +13 -1
- package/extensions.js +11 -11
- package/extensions.mjs +3 -3
- package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
- package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
- package/glossaries.d.mts +51 -1
- package/glossaries.d.ts +51 -1
- package/glossaries.js +28 -28
- package/glossaries.mjs +3 -3
- package/groups.d.mts +40 -1
- package/groups.d.ts +40 -1
- package/groups.js +12 -12
- package/groups.mjs +3 -3
- package/identity-providers.d.mts +43 -1
- package/identity-providers.d.ts +43 -1
- package/identity-providers.js +12 -12
- package/identity-providers.mjs +3 -3
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.mjs +5 -5
- package/items.d.mts +33 -2
- package/items.d.ts +33 -2
- package/items.js +12 -12
- package/items.mjs +3 -3
- package/licenses.d.mts +8 -5
- package/licenses.d.ts +8 -5
- package/licenses.js +13 -13
- package/licenses.mjs +3 -3
- package/package.json +4 -1
- package/qix.d.mts +20 -2
- package/qix.d.ts +20 -2
- package/qix.js +4 -4
- package/qix.mjs +3 -3
- package/quotas.d.mts +4 -1
- package/quotas.d.ts +4 -1
- package/quotas.js +6 -6
- package/quotas.mjs +3 -3
- package/reload-tasks.d.mts +7 -4
- package/reload-tasks.d.ts +7 -4
- package/reload-tasks.js +9 -9
- package/reload-tasks.mjs +3 -3
- package/reloads.d.mts +10 -1
- package/reloads.d.ts +10 -1
- package/reloads.js +8 -8
- package/reloads.mjs +3 -3
- package/roles.d.mts +11 -2
- package/roles.d.ts +11 -2
- package/roles.js +6 -6
- package/roles.mjs +3 -3
- package/spaces.d.mts +38 -6
- package/spaces.d.ts +38 -6
- package/spaces.js +16 -16
- package/spaces.mjs +3 -3
- package/temp-contents.d.mts +7 -1
- package/temp-contents.d.ts +7 -1
- package/temp-contents.js +7 -7
- package/temp-contents.mjs +3 -3
- package/tenants.d.mts +18 -6
- package/tenants.d.ts +18 -6
- package/tenants.js +10 -10
- package/tenants.mjs +3 -3
- package/themes.d.mts +10 -1
- package/themes.d.ts +10 -1
- package/themes.js +11 -11
- package/themes.mjs +3 -3
- package/transports.d.mts +21 -12
- package/transports.d.ts +21 -12
- package/transports.js +10 -10
- package/transports.mjs +3 -3
- package/users.d.mts +90 -25
- package/users.d.ts +90 -25
- package/users.js +14 -14
- package/users.mjs +3 -3
- package/web-integrations.d.mts +19 -1
- package/web-integrations.d.ts +19 -1
- package/web-integrations.js +9 -9
- package/web-integrations.mjs +3 -3
- package/web-notifications.d.mts +19 -1
- package/web-notifications.d.ts +19 -1
- package/web-notifications.js +10 -10
- package/web-notifications.mjs +3 -3
- package/webhooks.d.mts +4 -1
- package/webhooks.d.ts +4 -1
- package/webhooks.js +14 -14
- package/webhooks.mjs +3 -3
- package/auth-XY6FVSVM.js +0 -41
- package/invoke-fetch-FRLO3CK6.js +0 -17
- /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
- /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/api-keys.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type ApiKey = {
|
|
@@ -33,6 +33,9 @@ type ApiKeyBody = {
|
|
|
33
33
|
/** Type of the subject. */
|
|
34
34
|
subType?: string;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
38
|
+
*/
|
|
36
39
|
type ApiKeyConfigPatch = {
|
|
37
40
|
/** The operation to be performed. */
|
|
38
41
|
op: "replace";
|
|
@@ -41,6 +44,9 @@ type ApiKeyConfigPatch = {
|
|
|
41
44
|
/** The value to be used for this operation. */
|
|
42
45
|
value: unknown;
|
|
43
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
49
|
+
*/
|
|
44
50
|
type ApiKeyPatch = {
|
|
45
51
|
/** The operation to be performed. */
|
|
46
52
|
op: "replace";
|
|
@@ -83,6 +89,9 @@ type ApiKeysConfig = {
|
|
|
83
89
|
};
|
|
84
90
|
type ApiKeysConfigPatchSchema = ApiKeyConfigPatch[];
|
|
85
91
|
type ApiKeysPatchSchema = ApiKeyPatch[];
|
|
92
|
+
/**
|
|
93
|
+
* An error object.
|
|
94
|
+
*/
|
|
86
95
|
type Error = {
|
|
87
96
|
/** The error code. */
|
|
88
97
|
code: string;
|
package/api-keys.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type ApiKey = {
|
|
@@ -33,6 +33,9 @@ type ApiKeyBody = {
|
|
|
33
33
|
/** Type of the subject. */
|
|
34
34
|
subType?: string;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
38
|
+
*/
|
|
36
39
|
type ApiKeyConfigPatch = {
|
|
37
40
|
/** The operation to be performed. */
|
|
38
41
|
op: "replace";
|
|
@@ -41,6 +44,9 @@ type ApiKeyConfigPatch = {
|
|
|
41
44
|
/** The value to be used for this operation. */
|
|
42
45
|
value: unknown;
|
|
43
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
49
|
+
*/
|
|
44
50
|
type ApiKeyPatch = {
|
|
45
51
|
/** The operation to be performed. */
|
|
46
52
|
op: "replace";
|
|
@@ -83,6 +89,9 @@ type ApiKeysConfig = {
|
|
|
83
89
|
};
|
|
84
90
|
type ApiKeysConfigPatchSchema = ApiKeyConfigPatch[];
|
|
85
91
|
type ApiKeysPatchSchema = ApiKeyPatch[];
|
|
92
|
+
/**
|
|
93
|
+
* An error object.
|
|
94
|
+
*/
|
|
86
95
|
type Error = {
|
|
87
96
|
/** The error code. */
|
|
88
97
|
code: string;
|
package/api-keys.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/api-keys.ts
|
|
9
|
-
var getApiKeys = async (query, options) =>
|
|
9
|
+
var getApiKeys = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "api-keys", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/api-keys",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createApiKey = async (body, options) =>
|
|
15
|
+
var createApiKey = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "api-keys", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/api-keys",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getApiKeysConfig = async (tenantId, options) =>
|
|
22
|
+
var getApiKeysConfig = async (tenantId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "api-keys", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
25
25
|
pathVariables: { tenantId },
|
|
26
26
|
options
|
|
27
27
|
});
|
|
28
|
-
var patchApiKeysConfig = async (tenantId, body, options) =>
|
|
28
|
+
var patchApiKeysConfig = async (tenantId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "api-keys", {
|
|
29
29
|
method: "patch",
|
|
30
30
|
pathTemplate: "/api/v1/api-keys/configs/{tenantId}",
|
|
31
31
|
pathVariables: { tenantId },
|
|
@@ -33,19 +33,19 @@ var patchApiKeysConfig = async (tenantId, body, options) => _chunkEALMXU6Sjs.inv
|
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var deleteApiKey = async (id, options) =>
|
|
36
|
+
var deleteApiKey = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "api-keys", {
|
|
37
37
|
method: "delete",
|
|
38
38
|
pathTemplate: "/api/v1/api-keys/{id}",
|
|
39
39
|
pathVariables: { id },
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
|
-
var getApiKey = async (id, options) =>
|
|
42
|
+
var getApiKey = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "api-keys", {
|
|
43
43
|
method: "get",
|
|
44
44
|
pathTemplate: "/api/v1/api-keys/{id}",
|
|
45
45
|
pathVariables: { id },
|
|
46
46
|
options
|
|
47
47
|
});
|
|
48
|
-
var patchApiKey = async (id, body, options) =>
|
|
48
|
+
var patchApiKey = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "api-keys", {
|
|
49
49
|
method: "patch",
|
|
50
50
|
pathTemplate: "/api/v1/api-keys/{id}",
|
|
51
51
|
pathVariables: { id },
|
|
@@ -54,7 +54,7 @@ var patchApiKey = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call
|
|
|
54
54
|
options
|
|
55
55
|
});
|
|
56
56
|
function clearCache() {
|
|
57
|
-
return
|
|
57
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "api-keys");
|
|
58
58
|
}
|
|
59
59
|
var apiKeysExport = {
|
|
60
60
|
getApiKeys,
|
package/api-keys.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/HWZC3PIL.mjs";
|
|
5
|
+
import "./chunks/O5POHH2Q.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/api-keys.ts
|
|
9
9
|
var getApiKeys = async (query, options) => invokeFetch("api-keys", {
|
package/apps.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type Analysis = "breakdown" | "changePoint" | "comparison" | "contribution" | "correlation" | "fact" | "mutualInfo" | "rank" | "spike" | "trend" | "values";
|
|
@@ -71,6 +71,48 @@ type AnalysisModelResponseDetail = {
|
|
|
71
71
|
isLogicalModelEnabled?: boolean;
|
|
72
72
|
masterItems?: AnalysisModelItemMasterItem[];
|
|
73
73
|
};
|
|
74
|
+
/**
|
|
75
|
+
* Request payload can be of two types, using natural language query or consist of fields or master items and optional target analysis.
|
|
76
|
+
* In below examples, consider sales as a master item and product as field, so to get recommendations using sales and product,
|
|
77
|
+
* you can utilize below three approaches, also you can set language parameter in headers as part of accept-language.
|
|
78
|
+
* Examples:
|
|
79
|
+
* ```
|
|
80
|
+
* {
|
|
81
|
+
* 'text': 'show me sales by product'
|
|
82
|
+
* }
|
|
83
|
+
* ```
|
|
84
|
+
* ```
|
|
85
|
+
* {
|
|
86
|
+
* 'fields': [
|
|
87
|
+
* {
|
|
88
|
+
* 'name': 'product'
|
|
89
|
+
* }
|
|
90
|
+
* ],
|
|
91
|
+
* 'libItems': [
|
|
92
|
+
* {
|
|
93
|
+
* libId: 'NwQfJ'
|
|
94
|
+
* }
|
|
95
|
+
* ]
|
|
96
|
+
* }
|
|
97
|
+
* ```
|
|
98
|
+
* ```
|
|
99
|
+
* {
|
|
100
|
+
* 'fields': [
|
|
101
|
+
* {
|
|
102
|
+
* 'name': 'product'
|
|
103
|
+
* }
|
|
104
|
+
* ],
|
|
105
|
+
* 'libItems': [
|
|
106
|
+
* {
|
|
107
|
+
* 'libId': 'NwQfJ'
|
|
108
|
+
* }
|
|
109
|
+
* ],
|
|
110
|
+
* 'targetAnalysis': {
|
|
111
|
+
* 'id': 'rank-rank'
|
|
112
|
+
* }
|
|
113
|
+
* }
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
74
116
|
type AnalysisRecommendRequest = RecommendNaturalLangQuery | RecommendItems;
|
|
75
117
|
type AnalysisRecommendationResponse = {
|
|
76
118
|
data?: AnalysisRecommendationResponseDetail[];
|
|
@@ -115,8 +157,17 @@ type AppUpdateAttributes = {
|
|
|
115
157
|
/** The name (title) of the application. */
|
|
116
158
|
name?: string;
|
|
117
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Chart type given to current recommendation
|
|
162
|
+
*/
|
|
118
163
|
type ChartType = "barchart" | "combochart" | "distributionplot" | "kpi" | "linechart" | "map" | "scatterplot" | "table";
|
|
164
|
+
/**
|
|
165
|
+
* classification defines the default role that attribute can play in an analysis
|
|
166
|
+
*/
|
|
119
167
|
type Classifications = ("dimension" | "measure" | "temporal" | "city" | "address" | "boolean" | "country" | "date" | "email" | "geographical" | "geoPoint" | "geoPolygon" | "hour" | "latitude" | "monetary" | "ordinal" | "percentage" | "postalCode" | "quarter" | "stateProvince" | "timestamp" | "week" | "weekDay" | "year" | "yearDay")[];
|
|
168
|
+
/**
|
|
169
|
+
* Upper and lower bounds for items of specific classification types
|
|
170
|
+
*/
|
|
120
171
|
type CompositionMinMax = {
|
|
121
172
|
max?: number;
|
|
122
173
|
min?: number;
|
|
@@ -139,6 +190,9 @@ type DataModelMetadata = {
|
|
|
139
190
|
tables_profiling_data?: TableProfilingData[];
|
|
140
191
|
usage?: UsageEnum;
|
|
141
192
|
};
|
|
193
|
+
/**
|
|
194
|
+
* An error object.
|
|
195
|
+
*/
|
|
142
196
|
type Error = {
|
|
143
197
|
/** The error code. */
|
|
144
198
|
code: string;
|
|
@@ -167,6 +221,45 @@ type EvaluatorError = {
|
|
|
167
221
|
}[];
|
|
168
222
|
};
|
|
169
223
|
type FieldAttrType = "U" | "A" | "I" | "R" | "F" | "M" | "D" | "T" | "TS" | "IV";
|
|
224
|
+
/**
|
|
225
|
+
* Sets the formatting of a field.
|
|
226
|
+
* The properties of _qFieldAttributes_ and the formatting mechanism are described below.
|
|
227
|
+
*
|
|
228
|
+
* ### Formatting mechanism
|
|
229
|
+
* The formatting mechanism depends on the type set in _qType,_ as shown below:
|
|
230
|
+
* <div class=note>In case of inconsistencies between the type and the format pattern, the format pattern takes precedence over the type.</div>
|
|
231
|
+
*
|
|
232
|
+
* ### Type is DATE, TIME, TIMESTAMP or INTERVAL
|
|
233
|
+
* The following applies:
|
|
234
|
+
* * If a format pattern is defined in _qFmt_ , the formatting is as defined in _qFmt_ .
|
|
235
|
+
* * If _qFmt_ is empty, the formatting is defined by the number interpretation variables included at the top of the script ( _TimeFormat_ , _DateFormat_ , _TimeStampFormat_ ).
|
|
236
|
+
* * The properties _qDec_ , _qThou_ , _qnDec_ , _qUseThou_ are not used.
|
|
237
|
+
*
|
|
238
|
+
* ### Type is INTEGER
|
|
239
|
+
* The following applies:
|
|
240
|
+
* * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the formatting mechanism uses the number interpretation variables included at the top of the script ( _DecimalSep_ and _ThousandSep_ ).
|
|
241
|
+
* * If no format pattern is defined in _qFmt_ , no formatting is applied. The properties _qDec_ , _qThou_ , _qnDec_ , _qUseThou_ and the number interpretation variables defined in the script are not used .
|
|
242
|
+
*
|
|
243
|
+
* ### Type is REAL
|
|
244
|
+
* The following applies:
|
|
245
|
+
* * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the engine uses the number interpretation variables included at the top of the script ( _DecimalSep_ and _ThousandSep_ ).
|
|
246
|
+
* * If no format pattern is defined in _qFmt_ , and if the value is almost an integer value (for example, 14,000012), the value is formatted as an integer. The properties _qDec_ , _qThou_ , _qnDec_ , _qUseThou_ are not used.
|
|
247
|
+
* * If no format pattern is defined in _qFmt_ , and if _qnDec_ is defined and not 0, the property _qDec_ is used. If _qDec_ is not defined, the variable _DecimalSep_ defined at the top of the script is used.
|
|
248
|
+
* * If no format pattern is defined in _qFmt_ , and if _qnDec_ is 0, the number of decimals is 14 and the property _qDec_ is used. If _qDec_ is not defined, the variable _DecimalSep_ defined at the top of the script is used.
|
|
249
|
+
*
|
|
250
|
+
* ### Type is FIX
|
|
251
|
+
* The following applies:
|
|
252
|
+
* * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the engine uses the number interpretation variables included at the top of the script ( _DecimalSep_ and _ThousandSep_ ).
|
|
253
|
+
* * If no format pattern is defined in _qFmt_ , the properties _qDec_ and _qnDec_ are used. If _qDec_ is not defined, the variable _DecimalSep_ defined at the top of the script is used.
|
|
254
|
+
*
|
|
255
|
+
* ### Type is MONEY
|
|
256
|
+
* The following applies:
|
|
257
|
+
* * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the engine uses the number interpretation variables included at the top of any script ( _MoneyDecimalSep_ and _MoneyThousandSep_ ).
|
|
258
|
+
* * If no format pattern is defined in _qFmt_ , the engine uses the number interpretation variables included at the top of the script ( _MoneyDecimalSep_ and _MoneyThousandSep_ ).
|
|
259
|
+
*
|
|
260
|
+
* ### Type is ASCII
|
|
261
|
+
* No formatting, _qFmt_ is ignored.
|
|
262
|
+
*/
|
|
170
263
|
type FieldAttributes = {
|
|
171
264
|
/** Defines the decimal separator.
|
|
172
265
|
* Example: **.** */
|
|
@@ -348,6 +441,9 @@ type Filter = {
|
|
|
348
441
|
ownerId?: string;
|
|
349
442
|
readonly updatedAt?: string;
|
|
350
443
|
};
|
|
444
|
+
/**
|
|
445
|
+
* Error occured during the Filter creation.
|
|
446
|
+
*/
|
|
351
447
|
type FilterError = {
|
|
352
448
|
/** The unique code for the error
|
|
353
449
|
*
|
|
@@ -372,6 +468,9 @@ type FilterError = {
|
|
|
372
468
|
/** A summary in english explaining what went wrong. */
|
|
373
469
|
title: string;
|
|
374
470
|
};
|
|
471
|
+
/**
|
|
472
|
+
* Errors occured during the Filter creation.
|
|
473
|
+
*/
|
|
375
474
|
type FilterErrors = {
|
|
376
475
|
errors: FilterError[];
|
|
377
476
|
};
|
|
@@ -456,6 +555,9 @@ type HardwareMeta = {
|
|
|
456
555
|
type Href = {
|
|
457
556
|
href?: string;
|
|
458
557
|
};
|
|
558
|
+
/**
|
|
559
|
+
* Contains dynamic JSON data specified by the client.
|
|
560
|
+
*/
|
|
459
561
|
type JsonObject = unknown;
|
|
460
562
|
type LastReloadMetadata = {
|
|
461
563
|
/** Number of CPU milliseconds it took to reload the app. */
|
|
@@ -502,6 +604,9 @@ type NavigationLinks = {
|
|
|
502
604
|
next?: NavigationLink;
|
|
503
605
|
prev?: NavigationLink;
|
|
504
606
|
};
|
|
607
|
+
/**
|
|
608
|
+
* Application attributes and user privileges.
|
|
609
|
+
*/
|
|
505
610
|
type NxApp = {
|
|
506
611
|
/** App attributes. This structure can also contain extra user-defined attributes. */
|
|
507
612
|
attributes?: NxAttributes;
|
|
@@ -530,6 +635,9 @@ type NxAppCreatePrivileges = {
|
|
|
530
635
|
/** Type of resource. For example, sheet, story, bookmark, etc. */
|
|
531
636
|
resource?: string;
|
|
532
637
|
};
|
|
638
|
+
/**
|
|
639
|
+
* Application object attributes and user privileges.
|
|
640
|
+
*/
|
|
533
641
|
type NxAppObject = {
|
|
534
642
|
/** App object attributes. This structure can also contain extra user-defined attributes. */
|
|
535
643
|
attributes?: NxObjectAttributes;
|
|
@@ -545,6 +653,9 @@ type NxAppObject = {
|
|
|
545
653
|
* * change_owner */
|
|
546
654
|
privileges?: string[];
|
|
547
655
|
};
|
|
656
|
+
/**
|
|
657
|
+
* App attributes. This structure can also contain extra user-defined attributes.
|
|
658
|
+
*/
|
|
548
659
|
type NxAttributes = {
|
|
549
660
|
/** The date and time when the app was created. */
|
|
550
661
|
createdDate?: string;
|
|
@@ -570,7 +681,8 @@ type NxAttributes = {
|
|
|
570
681
|
name?: string;
|
|
571
682
|
/** The Origin App ID for published apps. */
|
|
572
683
|
originAppId?: string;
|
|
573
|
-
/**
|
|
684
|
+
/** @deprecated
|
|
685
|
+
* Deprecated. Use user api to fetch user metadata. */
|
|
574
686
|
owner?: string;
|
|
575
687
|
/** Identifier of the app owner. */
|
|
576
688
|
ownerId?: string;
|
|
@@ -582,6 +694,9 @@ type NxAttributes = {
|
|
|
582
694
|
thumbnail?: string;
|
|
583
695
|
usage?: UsageEnum;
|
|
584
696
|
};
|
|
697
|
+
/**
|
|
698
|
+
* App object attributes. This structure can also contain extra user-defined attributes.
|
|
699
|
+
*/
|
|
585
700
|
type NxObjectAttributes = {
|
|
586
701
|
/** True if the object is approved. */
|
|
587
702
|
approved?: boolean;
|
|
@@ -614,6 +729,9 @@ type NxPatch = {
|
|
|
614
729
|
Value?: string;
|
|
615
730
|
};
|
|
616
731
|
type NxPatchOperationType = "add" | "remove" | "replace";
|
|
732
|
+
/**
|
|
733
|
+
* Contains break down of the asked question in the form of tokens with their classification.
|
|
734
|
+
*/
|
|
617
735
|
type PartialNluInfo = {
|
|
618
736
|
/** Qlik sense application field selected for given token or phrase */
|
|
619
737
|
fieldName?: string;
|
|
@@ -637,6 +755,9 @@ type PublishApp = {
|
|
|
637
755
|
spaceId?: string;
|
|
638
756
|
};
|
|
639
757
|
type PublishData = "source" | "target";
|
|
758
|
+
/**
|
|
759
|
+
* structure for providing fields in recommendation request, user can retrieve the fields using insight-analyses/model endpoint
|
|
760
|
+
*/
|
|
640
761
|
type RecommendFieldItem = {
|
|
641
762
|
name?: string;
|
|
642
763
|
overrides?: FieldOverride;
|
|
@@ -649,6 +770,9 @@ type RecommendItems = {
|
|
|
649
770
|
id?: string;
|
|
650
771
|
};
|
|
651
772
|
};
|
|
773
|
+
/**
|
|
774
|
+
* structure for providing master items in recommendation request, user can retrieve the libId of master item using insight-analyses/model endpoint
|
|
775
|
+
*/
|
|
652
776
|
type RecommendMasterItem = {
|
|
653
777
|
libId?: string;
|
|
654
778
|
overrides?: {
|
|
@@ -701,6 +825,8 @@ type ReloadMeta = {
|
|
|
701
825
|
statements?: ReloadStatements[];
|
|
702
826
|
storeDataFilesBytes?: number;
|
|
703
827
|
storeFilesBytes?: number;
|
|
828
|
+
/** A Base64-encoded hash value of all fields stored via the store statements. */
|
|
829
|
+
storeHash?: string;
|
|
704
830
|
/** true if the reload was successful. */
|
|
705
831
|
success?: boolean;
|
|
706
832
|
};
|
|
@@ -1172,7 +1298,7 @@ declare const importApp: (query: {
|
|
|
1172
1298
|
name?: string;
|
|
1173
1299
|
/** The space ID of the target app. */
|
|
1174
1300
|
spaceId?: string;
|
|
1175
|
-
}, body:
|
|
1301
|
+
}, body: BodyInit, options?: ApiCallOptions) => Promise<ImportAppHttpResponse>;
|
|
1176
1302
|
type ImportAppHttpResponse = {
|
|
1177
1303
|
data: NxApp;
|
|
1178
1304
|
headers: Headers;
|
|
@@ -1317,7 +1443,7 @@ declare const exportApp: (appId: string, query: {
|
|
|
1317
1443
|
NoData?: boolean;
|
|
1318
1444
|
}, options?: ApiCallOptions) => Promise<ExportAppHttpResponse>;
|
|
1319
1445
|
type ExportAppHttpResponse = {
|
|
1320
|
-
data:
|
|
1446
|
+
data: DownloadableBlob;
|
|
1321
1447
|
headers: Headers;
|
|
1322
1448
|
status: number;
|
|
1323
1449
|
};
|
|
@@ -1411,7 +1537,7 @@ type DeleteAppMediaHttpError = {
|
|
|
1411
1537
|
*/
|
|
1412
1538
|
declare const getAppMedia: (appId: string, path: string, options?: ApiCallOptions) => Promise<GetAppMediaHttpResponse>;
|
|
1413
1539
|
type GetAppMediaHttpResponse = {
|
|
1414
|
-
data:
|
|
1540
|
+
data: DownloadableBlob;
|
|
1415
1541
|
headers: Headers;
|
|
1416
1542
|
status: number;
|
|
1417
1543
|
};
|
|
@@ -1429,7 +1555,7 @@ type GetAppMediaHttpError = {
|
|
|
1429
1555
|
* @param body an object with the body content
|
|
1430
1556
|
* @throws UploadAppMediaHttpError
|
|
1431
1557
|
*/
|
|
1432
|
-
declare const uploadAppMedia: (appId: string, path: string, body:
|
|
1558
|
+
declare const uploadAppMedia: (appId: string, path: string, body: BodyInit, options?: ApiCallOptions) => Promise<UploadAppMediaHttpResponse>;
|
|
1433
1559
|
type UploadAppMediaHttpResponse = {
|
|
1434
1560
|
data: void;
|
|
1435
1561
|
headers: Headers;
|
|
@@ -1476,7 +1602,7 @@ type GetAppMediaListHttpError = {
|
|
|
1476
1602
|
*/
|
|
1477
1603
|
declare const getAppThumbnail: (appId: string, options?: ApiCallOptions) => Promise<GetAppThumbnailHttpResponse>;
|
|
1478
1604
|
type GetAppThumbnailHttpResponse = {
|
|
1479
|
-
data:
|
|
1605
|
+
data: DownloadableBlob;
|
|
1480
1606
|
headers: Headers;
|
|
1481
1607
|
status: number;
|
|
1482
1608
|
};
|
|
@@ -1587,7 +1713,7 @@ type GetAppReloadLogsHttpError = {
|
|
|
1587
1713
|
*/
|
|
1588
1714
|
declare const getAppReloadLog: (appId: string, reloadId: string, options?: ApiCallOptions) => Promise<GetAppReloadLogHttpResponse>;
|
|
1589
1715
|
type GetAppReloadLogHttpResponse = {
|
|
1590
|
-
data:
|
|
1716
|
+
data: DownloadableBlob;
|
|
1591
1717
|
headers: Headers;
|
|
1592
1718
|
status: number;
|
|
1593
1719
|
};
|