@qlik/api 2.3.0 → 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-DipDBQQ5.js → boot-interceptors-DqRxTczb.js} +296 -248
- package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
- package/chunks/{invoke-fetch-B7lGscuQ.js → invoke-fetch-DMAi6Fg3.js} +3 -3
- package/chunks/{invoke-fetch-DhdyFZ0F.js → invoke-fetch-pMN6iqup.js} +2 -3
- package/chunks/platform-types-CECrZkOF.d.ts +29 -0
- package/chunks/{public-runtime-modules-QhLPeQr5.js → public-runtime-modules-2KfyI2qM.js} +5 -5
- package/chunks/{qix-RCUslia8.js → qix-BdNrIA4s.js} +19 -20
- package/chunks/{qix-chunk-entrypoint-WAS4NVTf.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 -4
- 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-BowS4SUR.js +0 -28
- 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/reports.d.ts
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
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/reports.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Error in resource handling
|
|
7
7
|
*/
|
|
8
8
|
type AppError = {
|
|
9
|
-
/** app id */
|
|
10
|
-
|
|
11
|
-
/** The method that is failing. */
|
|
12
|
-
method?: string;
|
|
13
|
-
/** Parameters of method that fails. */
|
|
9
|
+
/** app id */appId?: string; /** The method that is failing. */
|
|
10
|
+
method?: string; /** Parameters of method that fails. */
|
|
14
11
|
parameters?: Record<string, string>;
|
|
15
12
|
};
|
|
16
13
|
/**
|
|
@@ -21,31 +18,23 @@ type AppErrors = AppError[];
|
|
|
21
18
|
* The callback to be performed once the report is done.
|
|
22
19
|
*/
|
|
23
20
|
type CallBackAction = {
|
|
24
|
-
/** Http callback. The provided uri will be called once the report is done. */
|
|
25
|
-
httpRequest?: HttpRequest;
|
|
21
|
+
/** Http callback. The provided uri will be called once the report is done. */httpRequest?: HttpRequest;
|
|
26
22
|
};
|
|
27
23
|
type ChainableSelection = {
|
|
28
24
|
persistentBookmark?: SensePersistentBookmark;
|
|
29
25
|
selectionFilter?: SelectionFilter;
|
|
30
|
-
selectionType: ChainableSelectionType;
|
|
31
|
-
/** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
26
|
+
selectionType: ChainableSelectionType; /** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
32
27
|
temporaryBookmarkV2?: SenseTemporaryBookmarkV2;
|
|
33
28
|
};
|
|
34
29
|
type ChainableSelectionType = "selectionFilter" | "persistentBookmark" | "temporaryBookmarkV2";
|
|
35
30
|
type ComposableTemplate = {
|
|
36
|
-
/** Used to export a single visualization as pdf, pptx or png. */
|
|
37
|
-
|
|
38
|
-
/** Used to export a sheet as pdf or pptx. */
|
|
39
|
-
senseSheetTemplate?: SenseSheetTemplate;
|
|
40
|
-
/** Template type and version using semantic versioning. It must have the following name convention, dashed-separated-template-name-MAJOR.MINOR */
|
|
31
|
+
/** Used to export a single visualization as pdf, pptx or png. */senseImageTemplate?: SenseImageTemplate; /** Used to export a sheet as pdf or pptx. */
|
|
32
|
+
senseSheetTemplate?: SenseSheetTemplate; /** Template type and version using semantic versioning. It must have the following name convention, dashed-separated-template-name-MAJOR.MINOR */
|
|
41
33
|
type: "sense-image-1.0" | "sense-sheet-1.0";
|
|
42
34
|
};
|
|
43
35
|
type CycleOutput = {
|
|
44
|
-
/** Output to be used to export an excel template. */
|
|
45
|
-
|
|
46
|
-
/** not needed at initial phase */
|
|
47
|
-
namingPattern?: "fieldValueWithUnderscore";
|
|
48
|
-
/** Output to be used to export a single visualization, a sheet, Sense Excel template as pdf. For Sense Excel template (sense-excel-template-1.0) no properties are needed, any property specified has no effect. */
|
|
36
|
+
/** Output to be used to export an excel template. */excelOutput?: ExcelOutput; /** not needed at initial phase */
|
|
37
|
+
namingPattern?: "fieldValueWithUnderscore"; /** Output to be used to export a single visualization, a sheet, Sense Excel template as pdf. For Sense Excel template (sense-excel-template-1.0) no properties are needed, any property specified has no effect. */
|
|
49
38
|
pdfOutput?: PdfOutput;
|
|
50
39
|
type: "excel" | "pdf" | "html" | "powerpoint" | "word";
|
|
51
40
|
};
|
|
@@ -53,8 +42,7 @@ type CycleOutput = {
|
|
|
53
42
|
* Definitions of common properties that are shared between templates, e.g. selectionsByState can be the same for all templates within a composition of templates.
|
|
54
43
|
*/
|
|
55
44
|
type Definitions = {
|
|
56
|
-
/** It maps an ID to a selectionsByState object. */
|
|
57
|
-
selectionsByState?: Record<string, Record<string, QSelection[]>>;
|
|
45
|
+
/** It maps an ID to a selectionsByState object. */selectionsByState?: Record<string, Record<string, QSelection[]>>;
|
|
58
46
|
};
|
|
59
47
|
/**
|
|
60
48
|
* Properties of the document. In case of multiple composition, only properties specified in the composition output are taken and the ones specified in each output item are ignored.
|
|
@@ -65,22 +53,17 @@ type DocProperties = {
|
|
|
65
53
|
title?: string;
|
|
66
54
|
};
|
|
67
55
|
type Error = {
|
|
68
|
-
/** Errors occured during report generation. */
|
|
69
|
-
errors?: ExportErrors;
|
|
56
|
+
/** Errors occured during report generation. */errors?: ExportErrors;
|
|
70
57
|
};
|
|
71
58
|
/**
|
|
72
59
|
* Output to be used to export an excel template.
|
|
73
60
|
*/
|
|
74
61
|
type ExcelOutput = {
|
|
75
|
-
/** The output format of the report to be produced. */
|
|
76
|
-
outFormat?: "xlsx";
|
|
62
|
+
/** The output format of the report to be produced. */outFormat?: "xlsx";
|
|
77
63
|
};
|
|
78
64
|
type ExportDataOptions = {
|
|
79
|
-
/** Show the Selections Applied to the Visualization in the artifact produced */
|
|
80
|
-
|
|
81
|
-
/** Show Visualization Title, SubTitle, Footnote in the artifact produced */
|
|
82
|
-
showTitles?: boolean;
|
|
83
|
-
/** Show Visualization Totals in the artifact produced */
|
|
65
|
+
/** Show the Selections Applied to the Visualization in the artifact produced */showSelections?: boolean; /** Show Visualization Title, SubTitle, Footnote in the artifact produced */
|
|
66
|
+
showTitles?: boolean; /** Show Visualization Totals in the artifact produced */
|
|
84
67
|
showTotals?: boolean;
|
|
85
68
|
};
|
|
86
69
|
/**
|
|
@@ -168,12 +151,9 @@ type ExportError = {
|
|
|
168
151
|
* - "REP-503005" Engine unavailable, qix-sessions error no engines available.
|
|
169
152
|
* - "REP-503013" Session unavailable. The engine session used to create the report is unavailable.
|
|
170
153
|
* - "REP-503060" Engine Service unavailable. */
|
|
171
|
-
code: string;
|
|
172
|
-
/**
|
|
173
|
-
|
|
174
|
-
/** Define the export error metadata. Each property is filled if it is related to the export error type. */
|
|
175
|
-
meta?: MetaExportError;
|
|
176
|
-
/** A summary in english explaining what went wrong. */
|
|
154
|
+
code: string; /** Optional. MAY be used to provide more concrete details. */
|
|
155
|
+
detail?: string; /** Define the export error metadata. Each property is filled if it is related to the export error type. */
|
|
156
|
+
meta?: MetaExportError; /** A summary in english explaining what went wrong. */
|
|
177
157
|
title: string;
|
|
178
158
|
};
|
|
179
159
|
/**
|
|
@@ -185,18 +165,14 @@ type Float64 = number;
|
|
|
185
165
|
* Http callback. The provided uri will be called once the report is done.
|
|
186
166
|
*/
|
|
187
167
|
type HttpRequest = {
|
|
188
|
-
/** URI of the request. */
|
|
189
|
-
uri?: string;
|
|
168
|
+
/** URI of the request. */uri?: string;
|
|
190
169
|
};
|
|
191
170
|
/**
|
|
192
171
|
* Output to be used to export a single visualization as image.
|
|
193
172
|
*/
|
|
194
173
|
type ImageOutput = {
|
|
195
|
-
/** Image resolution in DPI (default 96 DPI). */
|
|
196
|
-
|
|
197
|
-
/** The image format of the report to be produced. */
|
|
198
|
-
outFormat?: "png" | "jsondata";
|
|
199
|
-
/** The scale factor to be applied in image scaling. A zoom greater than 5 will not be applied to the device pixel ratio which will remain fixed at 5. */
|
|
174
|
+
/** Image resolution in DPI (default 96 DPI). */outDpi?: number; /** The image format of the report to be produced. */
|
|
175
|
+
outFormat?: "png" | "jsondata"; /** The scale factor to be applied in image scaling. A zoom greater than 5 will not be applied to the device pixel ratio which will remain fixed at 5. */
|
|
200
176
|
outZoom?: number;
|
|
201
177
|
};
|
|
202
178
|
type LinkResponse = {
|
|
@@ -225,28 +201,22 @@ type LinksResponse = {
|
|
|
225
201
|
* Define the request metadata. It includes priority, deadline and future settings on execution policy of the request.
|
|
226
202
|
*/
|
|
227
203
|
type Meta = {
|
|
228
|
-
/** The maximum interval, starting from the time the API request is received, within which a report must be produced, past this interval the report generation fails. The default value is 10 minutes, the maximum allowed value is 4 hours. The recommended value for standard apps and exports (image, data, sheet) is 10 minutes, for larger apps or reports using composition or file based templates (Excel, PixelPerfect, HTML...) it should be set to 1 hour. */
|
|
229
|
-
exportDeadline?: string;
|
|
230
|
-
/** Time to live of the final result artifacts in ISO8601 duration format. After that duration the request and underlying output files will not be guaranteed to be available. Default is 1 hour. */
|
|
204
|
+
/** The maximum interval, starting from the time the API request is received, within which a report must be produced, past this interval the report generation fails. The default value is 10 minutes, the maximum allowed value is 4 hours. The recommended value for standard apps and exports (image, data, sheet) is 10 minutes, for larger apps or reports using composition or file based templates (Excel, PixelPerfect, HTML...) it should be set to 1 hour. */exportDeadline?: string; /** Time to live of the final result artifacts in ISO8601 duration format. After that duration the request and underlying output files will not be guaranteed to be available. Default is 1 hour. */
|
|
231
205
|
outputTtl?: string;
|
|
232
206
|
};
|
|
233
207
|
/**
|
|
234
208
|
* Define the export error metadata. Each property is filled if it is related to the export error type.
|
|
235
209
|
*/
|
|
236
210
|
type MetaExportError = {
|
|
237
|
-
/** Errors occurring when dealing with the app. */
|
|
238
|
-
appErrors?: AppErrors;
|
|
239
|
-
/** Errors occurring in selections. */
|
|
211
|
+
/** Errors occurring when dealing with the app. */appErrors?: AppErrors; /** Errors occurring in selections. */
|
|
240
212
|
selectionErrors?: SelectionErrors;
|
|
241
213
|
};
|
|
242
214
|
/**
|
|
243
215
|
* Patches to apply to sense charts. Patches are soft properties meaning that are not persistent and they live within a session.
|
|
244
216
|
*/
|
|
245
217
|
type NxPatch = {
|
|
246
|
-
qOp: "add" | "remove" | "replace";
|
|
247
|
-
/**
|
|
248
|
-
qPath: string;
|
|
249
|
-
/** Corresponds to the value of the property to add or to the new value of the property to update. */
|
|
218
|
+
qOp: "add" | "remove" | "replace"; /** Path to the property to add, remove or replace. */
|
|
219
|
+
qPath: string; /** Corresponds to the value of the property to add or to the new value of the property to update. */
|
|
250
220
|
qValue?: string;
|
|
251
221
|
};
|
|
252
222
|
/**
|
|
@@ -270,22 +240,14 @@ type NxPatch = {
|
|
|
270
240
|
* }
|
|
271
241
|
*/
|
|
272
242
|
type OutputItem = {
|
|
273
|
-
/** The callback to be performed once the report is done. */
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
|
|
278
|
-
/** Output to be used to export a single visualization as
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
outputId: string;
|
|
282
|
-
/** Output to be used to export a composition of templates as pdf. */
|
|
283
|
-
pdfCompositionOutput?: PdfCompositionOutput;
|
|
284
|
-
/** Output to be used to export a single visualization, a sheet, Sense Excel template as pdf. For Sense Excel template (sense-excel-template-1.0) no properties are needed, any property specified has no effect. */
|
|
285
|
-
pdfOutput?: PdfOutput;
|
|
286
|
-
/** Output to be used to export a composition of templates as pptx. */
|
|
287
|
-
pptxCompositionOutput?: PptxCompositionOutput;
|
|
288
|
-
/** Output to be used to export a single visualization or a sheet as PowerPoint presentation. */
|
|
243
|
+
/** The callback to be performed once the report is done. */callBackAction?: CallBackAction;
|
|
244
|
+
cycleOutput?: CycleOutput; /** Output to be used to export an excel template. */
|
|
245
|
+
excelOutput?: ExcelOutput; /** Output to be used to export a single visualization as image. */
|
|
246
|
+
imageOutput?: ImageOutput; /** The output identifier which uniquely identifies an output (PDF, image etc.) within the same request. It does not need to be a GUID. No spaces and colons are allowed in the outputId string. */
|
|
247
|
+
outputId: string; /** Output to be used to export a composition of templates as pdf. */
|
|
248
|
+
pdfCompositionOutput?: PdfCompositionOutput; /** Output to be used to export a single visualization, a sheet, Sense Excel template as pdf. For Sense Excel template (sense-excel-template-1.0) no properties are needed, any property specified has no effect. */
|
|
249
|
+
pdfOutput?: PdfOutput; /** Output to be used to export a composition of templates as pptx. */
|
|
250
|
+
pptxCompositionOutput?: PptxCompositionOutput; /** Output to be used to export a single visualization or a sheet as PowerPoint presentation. */
|
|
289
251
|
pptxOutput?: PptxOutput;
|
|
290
252
|
/** The generated report type.
|
|
291
253
|
*
|
|
@@ -312,21 +274,15 @@ type OutputItem = {
|
|
|
312
274
|
type: "image" | "pdf" | "xlsx" | "jsondata" | "pdfcomposition" | "excel" | "pptx" | "pptxcomposition" | "csv" | "cycle" | "html" | "powerpoint" | "word";
|
|
313
275
|
};
|
|
314
276
|
type OutputList = {
|
|
315
|
-
/** a list of outputs containing all the report outputs */
|
|
316
|
-
data: OutputListItem[];
|
|
277
|
+
/** a list of outputs containing all the report outputs */data: OutputListItem[];
|
|
317
278
|
links: LinksResponse;
|
|
318
279
|
};
|
|
319
280
|
type OutputListItem = {
|
|
320
|
-
cycleSelections?: QSelection[];
|
|
321
|
-
/**
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
/** The output ID */
|
|
326
|
-
readonly outputId?: string;
|
|
327
|
-
/** output size in bytes */
|
|
328
|
-
sizeBytes?: number;
|
|
329
|
-
/** Status of the requested report. */
|
|
281
|
+
cycleSelections?: QSelection[]; /** Errors occured during report generation. */
|
|
282
|
+
exportErrors?: ExportErrors; /** Location to download the generated report file. */
|
|
283
|
+
location?: string; /** The output ID */
|
|
284
|
+
readonly outputId?: string; /** output size in bytes */
|
|
285
|
+
sizeBytes?: number; /** Status of the requested report. */
|
|
330
286
|
status?: "queued" | "processing" | "done" | "failed" | "aborted" | "aborting";
|
|
331
287
|
traceId?: string;
|
|
332
288
|
};
|
|
@@ -334,65 +290,48 @@ type OutputListItem = {
|
|
|
334
290
|
* Output to be used to export a composition of templates as pdf.
|
|
335
291
|
*/
|
|
336
292
|
type PdfCompositionOutput = {
|
|
337
|
-
/** The ordered list of PDF outputs, the number must match the composable templates. */
|
|
338
|
-
pdfOutputs?: PdfOutput[];
|
|
339
|
-
/** Properties of the document. In case of multiple composition, only properties specified in the composition output are taken and the ones specified in each output item are ignored. */
|
|
293
|
+
/** The ordered list of PDF outputs, the number must match the composable templates. */pdfOutputs?: PdfOutput[]; /** Properties of the document. In case of multiple composition, only properties specified in the composition output are taken and the ones specified in each output item are ignored. */
|
|
340
294
|
properties?: DocProperties;
|
|
341
295
|
};
|
|
342
296
|
/**
|
|
343
297
|
* Output to be used to export a single visualization, a sheet, Sense Excel template as pdf. For Sense Excel template (sense-excel-template-1.0) no properties are needed, any property specified has no effect.
|
|
344
298
|
*/
|
|
345
299
|
type PdfOutput = {
|
|
346
|
-
/** Content alignment. */
|
|
347
|
-
align?: {
|
|
300
|
+
/** Content alignment. */align?: {
|
|
348
301
|
horizontal?: "left" | "center" | "right";
|
|
349
302
|
vertical?: "top" | "middle" | "bottom";
|
|
350
|
-
};
|
|
351
|
-
/**
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
orientation?: "P" | "L" | "A";
|
|
355
|
-
/** Properties of the document. In case of multiple composition, only properties specified in the composition output are taken and the ones specified in each output item are ignored. */
|
|
356
|
-
properties?: DocProperties;
|
|
357
|
-
/** The area where the object (eg. sheet, chart) is printed. Required in case of "fit" resizeType. */
|
|
303
|
+
}; /** This value is used for rendered images only, set to a default of 300 dpi. */
|
|
304
|
+
imageRenderingDpi?: number; /** P for portrait, L for landscape and A for auto-detect. Auto-detect sets the orientation depending on the content width and height proportions: if content width > height the orientation is automatically set to landscape, portrait otherwise. */
|
|
305
|
+
orientation?: "P" | "L" | "A"; /** Properties of the document. In case of multiple composition, only properties specified in the composition output are taken and the ones specified in each output item are ignored. */
|
|
306
|
+
properties?: DocProperties; /** The area where the object (eg. sheet, chart) is printed. Required in case of "fit" resizeType. */
|
|
358
307
|
resizeData?: {
|
|
359
|
-
/** The size of the area in the following format "{width}{cm|mm}x{height}{cm|mm}" (e.g. "297mmx210mm"). Please remember that PDF page orientation (landscape or portrait) should match the width and height set for this field (eg. A4 landscape is "297mmx210mm", A4 portrait is "210mmx287mm"). Note that the minimum printable area is 1.5cmx1.5cm (corresponding to 0.6x0.6 inches at 96 DPI). */
|
|
360
|
-
fit?: string;
|
|
308
|
+
/** The size of the area in the following format "{width}{cm|mm}x{height}{cm|mm}" (e.g. "297mmx210mm"). Please remember that PDF page orientation (landscape or portrait) should match the width and height set for this field (eg. A4 landscape is "297mmx210mm", A4 portrait is "210mmx287mm"). Note that the minimum printable area is 1.5cmx1.5cm (corresponding to 0.6x0.6 inches at 96 DPI). */fit?: string;
|
|
361
309
|
};
|
|
362
310
|
/** The type of resize to be performed:
|
|
363
311
|
* - none is used to export a visualization, sheet or story as is (e.g. normal size), regardless of its size. This may result in cropping.
|
|
364
312
|
* - autofit automatically fits the visualization, sheet or story into the output size (i.e. A4, A3 etc.). Any provided resizeData parameter will be ignored for this configuration.
|
|
365
313
|
* - fit fits the visualization, sheet or story into the area specified in resizeData. The content will be rescaled to fit in that area. */
|
|
366
|
-
resizeType?: "none" | "autofit" | "fit";
|
|
367
|
-
/** Size of the pdf page. */
|
|
314
|
+
resizeType?: "none" | "autofit" | "fit"; /** Size of the pdf page. */
|
|
368
315
|
size?: "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid";
|
|
369
316
|
};
|
|
370
317
|
type PostReportsResponse = {
|
|
371
|
-
/** A message indicating the status of the request. */
|
|
372
|
-
|
|
373
|
-
/** The absolute URL to get the outputs of the report request. */
|
|
374
|
-
outputsUrl?: string;
|
|
375
|
-
/** The report request ID */
|
|
318
|
+
/** A message indicating the status of the request. */message?: string; /** The absolute URL to get the outputs of the report request. */
|
|
319
|
+
outputsUrl?: string; /** The report request ID */
|
|
376
320
|
readonly requestId?: string;
|
|
377
321
|
};
|
|
378
322
|
/**
|
|
379
323
|
* Output to be used to export a composition of templates as pptx.
|
|
380
324
|
*/
|
|
381
325
|
type PptxCompositionOutput = {
|
|
382
|
-
/** Output to be used to export a single visualization or a sheet as PowerPoint presentation. */
|
|
383
|
-
pptxOutput?: PptxOutput;
|
|
326
|
+
/** Output to be used to export a single visualization or a sheet as PowerPoint presentation. */pptxOutput?: PptxOutput;
|
|
384
327
|
};
|
|
385
328
|
/**
|
|
386
329
|
* Output to be used to export a single visualization or a sheet as PowerPoint presentation.
|
|
387
330
|
*/
|
|
388
331
|
type PptxOutput = {
|
|
389
|
-
/** This value is used for rendered images only, set to a default of 300 dpi. */
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
orientation?: "L" | "P" | "A";
|
|
393
|
-
/** Properties of the document. In case of multiple composition, only properties specified in the composition output are taken and the ones specified in each output item are ignored. */
|
|
394
|
-
properties?: DocProperties;
|
|
395
|
-
/** The type of resize to be performed. Autofit automatically fits the visualization, sheet or story into the output size (i.e. Widescreen, OnScreen etc.). */
|
|
332
|
+
/** This value is used for rendered images only, set to a default of 300 dpi. */imageRenderingDpi?: number; /** L for landscape, P for portrait and A for auto-detect. Auto-detect sets landscape, the default PowerPoint orientation. */
|
|
333
|
+
orientation?: "L" | "P" | "A"; /** Properties of the document. In case of multiple composition, only properties specified in the composition output are taken and the ones specified in each output item are ignored. */
|
|
334
|
+
properties?: DocProperties; /** The type of resize to be performed. Autofit automatically fits the visualization, sheet or story into the output size (i.e. Widescreen, OnScreen etc.). */
|
|
396
335
|
resizeType?: "autofit";
|
|
397
336
|
/** Size of the PowerPoint slide:
|
|
398
337
|
* - Widescreen: 960x540
|
|
@@ -405,24 +344,17 @@ type PptxOutput = {
|
|
|
405
344
|
* In order to apply a selection just one of text/number needs to be set, this must be associated with the correct isNumeric bool. In some scenarios both text and number may be set.
|
|
406
345
|
*/
|
|
407
346
|
type QFieldValue = {
|
|
408
|
-
/** IsNumeric tells whether the field value is text or number. Default value is equal to defaultIsNumeric property in QSelection. */
|
|
409
|
-
|
|
410
|
-
number?: Float64;
|
|
411
|
-
/** String value of the field value. */
|
|
347
|
+
/** IsNumeric tells whether the field value is text or number. Default value is equal to defaultIsNumeric property in QSelection. */isNumeric?: boolean;
|
|
348
|
+
number?: Float64; /** String value of the field value. */
|
|
412
349
|
text?: string;
|
|
413
350
|
};
|
|
414
351
|
type QSelection = {
|
|
415
|
-
/** Default value that QFieldValue isNumeric property takes if missing. */
|
|
416
|
-
|
|
417
|
-
/** The name of the field to be selected. */
|
|
418
|
-
fieldName: string;
|
|
419
|
-
/** The values of the field to be selected. */
|
|
352
|
+
/** Default value that QFieldValue isNumeric property takes if missing. */defaultIsNumeric: boolean; /** The name of the field to be selected. */
|
|
353
|
+
fieldName: string; /** The values of the field to be selected. */
|
|
420
354
|
values: QFieldValue[];
|
|
421
355
|
};
|
|
422
356
|
type Reason = {
|
|
423
|
-
/** Errors occured during report generation. */
|
|
424
|
-
exportErrors?: ExportErrors;
|
|
425
|
-
/** The output identifier which uniquely identifies an output (PDF, image etc.) within the same request. */
|
|
357
|
+
/** Errors occured during report generation. */exportErrors?: ExportErrors; /** The output identifier which uniquely identifies an output (PDF, image etc.) within the same request. */
|
|
426
358
|
outputId?: string;
|
|
427
359
|
traceId?: string;
|
|
428
360
|
};
|
|
@@ -499,29 +431,18 @@ type Reason = {
|
|
|
499
431
|
* }
|
|
500
432
|
*/
|
|
501
433
|
type ReportRequest = {
|
|
502
|
-
/** Composition of senseSheetTemplate and/or senseImageTemplate templates. */
|
|
503
|
-
|
|
504
|
-
/** Definitions of common properties that are shared between templates, e.g. selectionsByState can be the same for all templates within a composition of templates. */
|
|
505
|
-
definitions?: Definitions;
|
|
506
|
-
/** Define the request metadata. It includes priority, deadline and future settings on execution policy of the request. */
|
|
434
|
+
/** Composition of senseSheetTemplate and/or senseImageTemplate templates. */compositionTemplates?: ComposableTemplate[]; /** Definitions of common properties that are shared between templates, e.g. selectionsByState can be the same for all templates within a composition of templates. */
|
|
435
|
+
definitions?: Definitions; /** Define the request metadata. It includes priority, deadline and future settings on execution policy of the request. */
|
|
507
436
|
meta?: Meta;
|
|
508
|
-
output: OutputItem;
|
|
509
|
-
/** The callback to be performed once the report is done. */
|
|
437
|
+
output: OutputItem; /** The callback to be performed once the report is done. */
|
|
510
438
|
requestCallBackAction?: CallBackAction;
|
|
511
|
-
senseDataTemplate?: SenseDataTemplate;
|
|
512
|
-
/** Used to produce reports from a template file. */
|
|
513
|
-
|
|
514
|
-
/** Used to produce reports from a template file. */
|
|
515
|
-
|
|
516
|
-
/** Used to export a
|
|
517
|
-
|
|
518
|
-
/** Used to produce reports from a template file. */
|
|
519
|
-
sensePixelPerfectTemplate?: SenseFileTemplate;
|
|
520
|
-
/** Used to produce reports from a template file. */
|
|
521
|
-
sensePowerPointTemplate?: SenseFileTemplate;
|
|
522
|
-
/** Used to export a sheet as pdf or pptx. */
|
|
523
|
-
senseSheetTemplate?: SenseSheetTemplate;
|
|
524
|
-
/** Used to produce reports from a template file. */
|
|
439
|
+
senseDataTemplate?: SenseDataTemplate; /** Used to produce reports from a template file. */
|
|
440
|
+
senseExcelTemplate?: SenseFileTemplate; /** Used to produce reports from a template file. */
|
|
441
|
+
senseHtmlTemplate?: SenseFileTemplate; /** Used to export a single visualization as pdf, pptx or png. */
|
|
442
|
+
senseImageTemplate?: SenseImageTemplate; /** Used to produce reports from a template file. */
|
|
443
|
+
sensePixelPerfectTemplate?: SenseFileTemplate; /** Used to produce reports from a template file. */
|
|
444
|
+
sensePowerPointTemplate?: SenseFileTemplate; /** Used to export a sheet as pdf or pptx. */
|
|
445
|
+
senseSheetTemplate?: SenseSheetTemplate; /** Used to produce reports from a template file. */
|
|
525
446
|
senseWordTemplate?: SenseFileTemplate;
|
|
526
447
|
/** Template type and version using semantic versioning. It must have the following name convention: dashed-separated-template-name-MAJOR.MINOR.
|
|
527
448
|
* Please note that sense-powerpoint-template-1.0, sense-word-template-1.0, sense-story-x.0 and qv-data-x.0 are only for internal use.
|
|
@@ -574,28 +495,21 @@ type ReportRequest = {
|
|
|
574
495
|
type ReportStatus = {
|
|
575
496
|
/** @deprecated
|
|
576
497
|
* Present when status is failed. Deprecated. Use /reports/{id}/outputs instead. */
|
|
577
|
-
reasons?: Reason[];
|
|
578
|
-
/**
|
|
579
|
-
requestErrors?: ExportErrors;
|
|
580
|
-
/** Count how many times the resolution of this report was attempted. */
|
|
498
|
+
reasons?: Reason[]; /** Errors occured during report generation. */
|
|
499
|
+
requestErrors?: ExportErrors; /** Count how many times the resolution of this report was attempted. */
|
|
581
500
|
resolutionAttempts?: number;
|
|
582
501
|
/** @deprecated
|
|
583
502
|
* Present when the status is "done". Deprecated. Use /reports/{id}/outputs instead. */
|
|
584
|
-
results?: Result[];
|
|
585
|
-
/**
|
|
586
|
-
status: "queued" | "processing" | "done" | "failed" | "aborted" | "visiting" | "aborting";
|
|
587
|
-
/** Relative path to status location. */
|
|
503
|
+
results?: Result[]; /** Status of the requested report. */
|
|
504
|
+
status: "queued" | "processing" | "done" | "failed" | "aborted" | "visiting" | "aborting"; /** Relative path to status location. */
|
|
588
505
|
statusLocation?: string;
|
|
589
506
|
};
|
|
590
507
|
/**
|
|
591
508
|
* Result and info about the generated report.
|
|
592
509
|
*/
|
|
593
510
|
type Result = {
|
|
594
|
-
/** Errors occured during report generation. */
|
|
595
|
-
|
|
596
|
-
/** Location to download the generated report. */
|
|
597
|
-
location: string;
|
|
598
|
-
/** The output identifier which uniquely identifies an output (PDF, image etc.) within the same request. */
|
|
511
|
+
/** Errors occured during report generation. */exportErrors?: ExportErrors; /** Location to download the generated report. */
|
|
512
|
+
location: string; /** The output identifier which uniquely identifies an output (PDF, image etc.) within the same request. */
|
|
599
513
|
outputId: string;
|
|
600
514
|
};
|
|
601
515
|
/**
|
|
@@ -606,16 +520,13 @@ type SelectionChain = ChainableSelection[];
|
|
|
606
520
|
* Selection error related to a fieldName. The field name is missing or some of his selection values are missing or a state is missing
|
|
607
521
|
*/
|
|
608
522
|
type SelectionError = {
|
|
609
|
-
/** Details about the field selection error. */
|
|
610
|
-
|
|
611
|
-
errorType?: "fieldMissing" | "fieldValuesMissing" | "stateMissing" | "groupStateGroupMissing" | "groupStateGroupNotApplicable" | "groupStateFieldDefMissing";
|
|
612
|
-
/** The field name that is missing. */
|
|
523
|
+
/** Details about the field selection error. */detail?: string;
|
|
524
|
+
errorType?: "fieldMissing" | "fieldValuesMissing" | "stateMissing" | "groupStateGroupMissing" | "groupStateGroupNotApplicable" | "groupStateFieldDefMissing"; /** The field name that is missing. */
|
|
613
525
|
fieldName?: string;
|
|
614
526
|
/** @deprecated
|
|
615
527
|
* Deprecated, use errorType instead. True if the fieldName is missing. The missingValues array is empty in this case */
|
|
616
528
|
isFieldNameMissing?: boolean;
|
|
617
|
-
missingValues?: QFieldValue[];
|
|
618
|
-
/** The state name that is missing. */
|
|
529
|
+
missingValues?: QFieldValue[]; /** The state name that is missing. */
|
|
619
530
|
stateName?: string;
|
|
620
531
|
};
|
|
621
532
|
/**
|
|
@@ -623,27 +534,21 @@ type SelectionError = {
|
|
|
623
534
|
*/
|
|
624
535
|
type SelectionErrors = SelectionError[];
|
|
625
536
|
type SelectionFilter = {
|
|
626
|
-
/** A map for applying soft properties, aka patches, to specific visualization IDs within the sheet. */
|
|
627
|
-
patchesById?: Record<string, NxPatch[]>;
|
|
628
|
-
/** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and Maximum number of overall field values allowed is 150000. */
|
|
537
|
+
/** A map for applying soft properties, aka patches, to specific visualization IDs within the sheet. */patchesById?: Record<string, NxPatch[]>; /** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and Maximum number of overall field values allowed is 150000. */
|
|
629
538
|
selectionsByState?: Record<string, QSelection[]>;
|
|
630
539
|
variables?: unknown[];
|
|
631
540
|
};
|
|
632
541
|
type SelectionStrategy = "failOnErrors" | "ignoreErrorsReturnDetails" | "ignoreErrorsNoDetails";
|
|
633
542
|
type SenseDataTemplate = {
|
|
634
543
|
appId: string;
|
|
635
|
-
exportOptions?: ExportDataOptions;
|
|
636
|
-
/** Sense visualization id. Visualizations created "on the fly" are not supported. */
|
|
544
|
+
exportOptions?: ExportDataOptions; /** Sense visualization id. Visualizations created "on the fly" are not supported. */
|
|
637
545
|
id: string;
|
|
638
546
|
patches?: NxPatch[];
|
|
639
|
-
persistentBookmark?: SensePersistentBookmark;
|
|
640
|
-
/** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
547
|
+
persistentBookmark?: SensePersistentBookmark; /** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
641
548
|
reloadTimestampMatchType?: ReloadTimestampMatchType;
|
|
642
549
|
selectionStrategy?: SelectionStrategy;
|
|
643
|
-
selectionType?: SenseSelectionType;
|
|
644
|
-
/**
|
|
645
|
-
selectionsByState?: Record<string, QSelection[]>;
|
|
646
|
-
/** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
550
|
+
selectionType?: SenseSelectionType; /** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and maximum number of overall field values allowed is 150000. */
|
|
551
|
+
selectionsByState?: Record<string, QSelection[]>; /** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
647
552
|
temporaryBookmarkV2?: SenseTemporaryBookmarkV2;
|
|
648
553
|
variables?: unknown[];
|
|
649
554
|
};
|
|
@@ -651,15 +556,10 @@ type SenseDataTemplate = {
|
|
|
651
556
|
* Used to produce reports from a template file.
|
|
652
557
|
*/
|
|
653
558
|
type SenseFileTemplate = {
|
|
654
|
-
/** The values of the field to be selected. */
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
/** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
659
|
-
reloadTimestampMatchType?: ReloadTimestampMatchType;
|
|
660
|
-
/** Array of ChainableSelection */
|
|
661
|
-
selectionChain?: SelectionChain;
|
|
662
|
-
/** The location of the report template. Currently it can be an absolute or relative URL to a persisted report template, or to a template file saved as temporary content, as in the following examples: - https://qlikcloud.com:443/api/v1/report-templates/223940f7-3170-46b7-91ea-e0c81230adf7 - https://qlikcloud.com:443/api/v1/temp-contents/653bb4acae966r0730da15fc */
|
|
559
|
+
/** The values of the field to be selected. */cycleFields?: string[]; /** A JSON object that is passed as-is to the mashup page while rendering, this will be applied to all charts within the sheet. It includes properties of the whole sheet such as theme, gradient etc. Currently only the "theme" and "language" properties are supported. */
|
|
560
|
+
jsOpts?: unknown; /** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
561
|
+
reloadTimestampMatchType?: ReloadTimestampMatchType; /** Array of ChainableSelection */
|
|
562
|
+
selectionChain?: SelectionChain; /** The location of the report template. Currently it can be an absolute or relative URL to a persisted report template, or to a template file saved as temporary content, as in the following examples: - https://qlikcloud.com:443/api/v1/report-templates/223940f7-3170-46b7-91ea-e0c81230adf7 - https://qlikcloud.com:443/api/v1/temp-contents/653bb4acae966r0730da15fc */
|
|
663
563
|
templateLocation: TemplateLocation;
|
|
664
564
|
};
|
|
665
565
|
/**
|
|
@@ -667,22 +567,17 @@ type SenseFileTemplate = {
|
|
|
667
567
|
*/
|
|
668
568
|
type SenseImageTemplate = {
|
|
669
569
|
appId: string;
|
|
670
|
-
persistentBookmark?: SensePersistentBookmark;
|
|
671
|
-
/** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
570
|
+
persistentBookmark?: SensePersistentBookmark; /** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
672
571
|
reloadTimestampMatchType?: ReloadTimestampMatchType;
|
|
673
572
|
selectionStrategy?: SelectionStrategy;
|
|
674
|
-
selectionType?: SenseSelectionType;
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
/** The definition ID referring to a selectionsByState definition declared in definitions. */
|
|
678
|
-
selectionsByStateDef?: string;
|
|
679
|
-
/** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
573
|
+
selectionType?: SenseSelectionType; /** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and maximum number of overall field values allowed is 150000. */
|
|
574
|
+
selectionsByState?: Record<string, QSelection[]>; /** The definition ID referring to a selectionsByState definition declared in definitions. */
|
|
575
|
+
selectionsByStateDef?: string; /** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
680
576
|
temporaryBookmarkV2?: SenseTemporaryBookmarkV2;
|
|
681
577
|
visualization: Visualization;
|
|
682
578
|
};
|
|
683
579
|
type SensePersistentBookmark = {
|
|
684
|
-
/** Sense Persistence Bookmark id. */
|
|
685
|
-
id: string;
|
|
580
|
+
/** Sense Persistence Bookmark id. */id: string;
|
|
686
581
|
};
|
|
687
582
|
type SenseSelectionType = "selectionsByState" | "temporaryBookmark" | "persistentBookmark" | "temporaryBookmarkV2";
|
|
688
583
|
/**
|
|
@@ -690,64 +585,45 @@ type SenseSelectionType = "selectionsByState" | "temporaryBookmark" | "persisten
|
|
|
690
585
|
*/
|
|
691
586
|
type SenseSheetTemplate = {
|
|
692
587
|
appId: string;
|
|
693
|
-
persistentBookmark?: SensePersistentBookmark;
|
|
694
|
-
/** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
588
|
+
persistentBookmark?: SensePersistentBookmark; /** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
|
|
695
589
|
reloadTimestampMatchType?: ReloadTimestampMatchType;
|
|
696
590
|
selectionStrategy?: SelectionStrategy;
|
|
697
|
-
selectionType?: SenseSelectionType;
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
/** The
|
|
701
|
-
selectionsByStateDef?: string;
|
|
702
|
-
/** It refers to the Sense Sheet to be exported. Note that if widthPx and heightPx are not specified, default values will be applied depending on the actual size and layout properties of the Sense Sheet object. */
|
|
703
|
-
sheet: Sheet;
|
|
704
|
-
/** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
591
|
+
selectionType?: SenseSelectionType; /** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and maximum number of overall field values allowed is 150000. */
|
|
592
|
+
selectionsByState?: Record<string, QSelection[]>; /** The definition ID referring to a selectionsByState definition declared in definitions. */
|
|
593
|
+
selectionsByStateDef?: string; /** It refers to the Sense Sheet to be exported. Note that if widthPx and heightPx are not specified, default values will be applied depending on the actual size and layout properties of the Sense Sheet object. */
|
|
594
|
+
sheet: Sheet; /** The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend. */
|
|
705
595
|
temporaryBookmarkV2?: SenseTemporaryBookmarkV2;
|
|
706
596
|
};
|
|
707
597
|
/**
|
|
708
598
|
* The temporary bookmark to apply. Patches and Variables are ignored if passed to the API, because they already are applied in the backend.
|
|
709
599
|
*/
|
|
710
600
|
type SenseTemporaryBookmarkV2 = {
|
|
711
|
-
/** Sense Temporary Bookmark id. */
|
|
712
|
-
id: string;
|
|
601
|
+
/** Sense Temporary Bookmark id. */id: string;
|
|
713
602
|
};
|
|
714
603
|
/**
|
|
715
604
|
* It refers to the Sense Sheet to be exported. Note that if widthPx and heightPx are not specified, default values will be applied depending on the actual size and layout properties of the Sense Sheet object.
|
|
716
605
|
*/
|
|
717
606
|
type Sheet = {
|
|
718
|
-
/** The height of the sheet in pixels. Default value is: - 1120 pixels for responsive sheet - 1680 pixels for extended sheet - same height set in sheet properties for custom sheet */
|
|
719
|
-
|
|
720
|
-
/**
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
jsOpts?: unknown;
|
|
724
|
-
/** A map for applying jsOpts to specific visualization IDs within the sheet. */
|
|
725
|
-
jsOptsById?: Record<string, unknown>;
|
|
726
|
-
/** A map for applying soft properties, aka patches, to specific visualization IDs within the sheet. */
|
|
727
|
-
patchesById?: Record<string, NxPatch[]>;
|
|
728
|
-
/** The width of the sheet in pixels. Default value is: - 1680 pixels for responsive sheet - 1120 pixels for extended sheet - same width set in sheet properties for custom sheet */
|
|
607
|
+
/** The height of the sheet in pixels. Default value is: - 1120 pixels for responsive sheet - 1680 pixels for extended sheet - same height set in sheet properties for custom sheet */heightPx?: number; /** The id of the sheet. */
|
|
608
|
+
id: string; /** A JSON object that is passed as-is to the mashup page while rendering, this will be applied to all charts within the sheet. It includes properties of the whole sheet such as theme, gradient etc. */
|
|
609
|
+
jsOpts?: unknown; /** A map for applying jsOpts to specific visualization IDs within the sheet. */
|
|
610
|
+
jsOptsById?: Record<string, unknown>; /** A map for applying soft properties, aka patches, to specific visualization IDs within the sheet. */
|
|
611
|
+
patchesById?: Record<string, NxPatch[]>; /** The width of the sheet in pixels. Default value is: - 1680 pixels for responsive sheet - 1120 pixels for extended sheet - same width set in sheet properties for custom sheet */
|
|
729
612
|
widthPx?: number;
|
|
730
613
|
};
|
|
731
614
|
/**
|
|
732
615
|
* The location of the report template. Currently it can be an absolute or relative URL to a persisted report template, or to a template file saved as temporary content, as in the following examples: - https://qlikcloud.com:443/api/v1/report-templates/223940f7-3170-46b7-91ea-e0c81230adf7 - https://qlikcloud.com:443/api/v1/temp-contents/653bb4acae966r0730da15fc
|
|
733
616
|
*/
|
|
734
617
|
type TemplateLocation = {
|
|
735
|
-
format?: "url";
|
|
736
|
-
/** The report template location path. */
|
|
618
|
+
format?: "url"; /** The report template location path. */
|
|
737
619
|
path: string;
|
|
738
620
|
};
|
|
739
621
|
type Visualization = {
|
|
740
|
-
/** Height in pixels. */
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
id
|
|
744
|
-
|
|
745
|
-
jsOpts?: unknown;
|
|
746
|
-
/** Soft properties, aka patches, to be applied to the visualization. */
|
|
747
|
-
patches?: NxPatch[];
|
|
748
|
-
/** Choose visualization to export an image of a sense chart, sessionobject for a visualization to be created on-the-fly. An empty value leads to the type being inferred by its id. */
|
|
749
|
-
type?: "visualization" | "sessionobject";
|
|
750
|
-
/** Width in pixels. */
|
|
622
|
+
/** Height in pixels. */heightPx: number; /** The sense visualization id or json definition. */
|
|
623
|
+
id: string; /** A JSON object that is passed as-is to the mashup page while rendering. */
|
|
624
|
+
jsOpts?: unknown; /** Soft properties, aka patches, to be applied to the visualization. */
|
|
625
|
+
patches?: NxPatch[]; /** Choose visualization to export an image of a sense chart, sessionobject for a visualization to be created on-the-fly. An empty value leads to the type being inferred by its id. */
|
|
626
|
+
type?: "visualization" | "sessionobject"; /** Width in pixels. */
|
|
751
627
|
widthPx: number;
|
|
752
628
|
};
|
|
753
629
|
/**
|
|
@@ -786,12 +662,9 @@ declare function getReportOutputs(id: string, query: {
|
|
|
786
662
|
* The following fields support the `eq` (equals) operator: `outputId`
|
|
787
663
|
* Example:
|
|
788
664
|
* outputId eq "123" or outputId eq "321" */
|
|
789
|
-
filter?: string;
|
|
790
|
-
/**
|
|
791
|
-
|
|
792
|
-
/** If present, the cursor that starts the page of data that is returned. */
|
|
793
|
-
page?: string;
|
|
794
|
-
/** Sorting parameters */
|
|
665
|
+
filter?: string; /** Limit the returned result set */
|
|
666
|
+
limit?: number; /** If present, the cursor that starts the page of data that is returned. */
|
|
667
|
+
page?: string; /** Sorting parameters */
|
|
795
668
|
sort?: ("+outputId" | "-outputId" | "+sizeBytes" | "-sizeBytes")[];
|
|
796
669
|
}, options?: ApiCallOptions): Promise<GetReportOutputsHttpResponse>;
|
|
797
670
|
type GetReportOutputsHttpResponse = {
|