@qlik/api 1.31.0 → 1.32.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.
Files changed (95) hide show
  1. package/api-keys.js +2 -2
  2. package/apps.js +2 -2
  3. package/assistants.d.ts +1301 -0
  4. package/assistants.js +273 -0
  5. package/audits.js +2 -2
  6. package/auth.js +2 -2
  7. package/automation-connections.d.ts +366 -0
  8. package/automation-connections.js +91 -0
  9. package/automations.js +2 -2
  10. package/automl-deployments.d.ts +97 -0
  11. package/automl-deployments.js +27 -0
  12. package/automl-predictions.d.ts +214 -0
  13. package/automl-predictions.js +72 -0
  14. package/brands.js +2 -2
  15. package/chunks/{GUU3KZGK.js → RCLKKVYB.js} +1 -1
  16. package/chunks/{YKZ2QYHN.js → VVD2DPKQ.js} +2 -2
  17. package/chunks/{KBSD75QL.js → YTT2FEVE.js} +1 -1
  18. package/collections.js +2 -2
  19. package/conditions.d.ts +662 -0
  20. package/conditions.js +113 -0
  21. package/consumption.d.ts +182 -0
  22. package/consumption.js +24 -0
  23. package/csp-origins.js +2 -2
  24. package/csrf-token.d.ts +62 -0
  25. package/csrf-token.js +23 -0
  26. package/data-alerts.d.ts +1004 -0
  27. package/data-alerts.js +155 -0
  28. package/data-assets.js +2 -2
  29. package/data-connections.js +2 -2
  30. package/data-credentials.js +2 -2
  31. package/data-files.js +2 -2
  32. package/data-qualities.d.ts +175 -0
  33. package/data-qualities.js +44 -0
  34. package/data-sets.d.ts +424 -0
  35. package/data-sets.js +75 -0
  36. package/data-sources.d.ts +268 -0
  37. package/data-sources.js +39 -0
  38. package/data-stores.d.ts +537 -0
  39. package/data-stores.js +108 -0
  40. package/dcaas.d.ts +192 -0
  41. package/dcaas.js +39 -0
  42. package/di-projects.d.ts +673 -0
  43. package/di-projects.js +164 -0
  44. package/encryption.d.ts +370 -0
  45. package/encryption.js +98 -0
  46. package/extensions.js +2 -2
  47. package/glossaries.js +2 -2
  48. package/groups.js +2 -2
  49. package/identity-providers.js +2 -2
  50. package/index.d.ts +105 -1
  51. package/index.js +556 -4
  52. package/items.js +2 -2
  53. package/knowledgebases.d.ts +890 -0
  54. package/knowledgebases.js +169 -0
  55. package/licenses.d.ts +1 -1
  56. package/licenses.js +2 -2
  57. package/lineage-graphs.d.ts +712 -0
  58. package/lineage-graphs.js +92 -0
  59. package/ml.d.ts +2628 -0
  60. package/ml.js +384 -0
  61. package/notes.d.ts +110 -0
  62. package/notes.js +31 -0
  63. package/notifications.d.ts +98 -0
  64. package/notifications.js +24 -0
  65. package/oauth-clients.js +2 -2
  66. package/oauth-tokens.d.ts +126 -0
  67. package/oauth-tokens.js +31 -0
  68. package/package.json +28 -2
  69. package/qix.d.ts +1 -1
  70. package/qix.js +2 -2
  71. package/questions.d.ts +364 -0
  72. package/questions.js +34 -0
  73. package/quotas.js +2 -2
  74. package/reload-tasks.js +2 -2
  75. package/reloads.js +2 -2
  76. package/report-templates.d.ts +287 -0
  77. package/report-templates.js +80 -0
  78. package/reports.js +2 -2
  79. package/roles.js +2 -2
  80. package/sharing-tasks.d.ts +952 -0
  81. package/sharing-tasks.js +105 -0
  82. package/spaces.js +2 -2
  83. package/tasks.d.ts +564 -0
  84. package/tasks.js +106 -0
  85. package/temp-contents.js +2 -2
  86. package/tenants.js +2 -2
  87. package/themes.js +2 -2
  88. package/transports.js +2 -2
  89. package/ui-config.d.ts +274 -0
  90. package/ui-config.js +77 -0
  91. package/users.js +2 -2
  92. package/web-integrations.js +2 -2
  93. package/web-notifications.js +2 -2
  94. package/webhooks.js +2 -2
  95. /package/chunks/{DLKLPD7T.js → LTNGXTXG.js} +0 -0
package/data-alerts.js ADDED
@@ -0,0 +1,155 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
+ import "./chunks/2ZQ3ZX7F.js";
7
+
8
+ // src/public/rest/data-alerts.ts
9
+ var getDataAlerts = async (query, options) => invokeFetch("data-alerts", {
10
+ method: "get",
11
+ pathTemplate: "/api/v1/data-alerts",
12
+ query,
13
+ options
14
+ });
15
+ var createDataAlert = async (body, options) => invokeFetch("data-alerts", {
16
+ method: "post",
17
+ pathTemplate: "/api/v1/data-alerts",
18
+ body,
19
+ contentType: "application/json",
20
+ options
21
+ });
22
+ var triggerDataAlerts = async (body, options) => invokeFetch("data-alerts", {
23
+ method: "post",
24
+ pathTemplate: "/api/v1/data-alerts/actions/trigger",
25
+ body,
26
+ contentType: "application/json",
27
+ options
28
+ });
29
+ var validateDataAlerts = async (body, options) => invokeFetch("data-alerts", {
30
+ method: "post",
31
+ pathTemplate: "/api/v1/data-alerts/actions/validate",
32
+ body,
33
+ contentType: "application/json",
34
+ options
35
+ });
36
+ var getDataAlertsSettings = async (options) => invokeFetch("data-alerts", {
37
+ method: "get",
38
+ pathTemplate: "/api/v1/data-alerts/settings",
39
+ options
40
+ });
41
+ var setDataAlertsSettings = async (body, options) => invokeFetch("data-alerts", {
42
+ method: "put",
43
+ pathTemplate: "/api/v1/data-alerts/settings",
44
+ body,
45
+ contentType: "application/json",
46
+ options
47
+ });
48
+ var deleteDataAlert = async (alertId, options) => invokeFetch("data-alerts", {
49
+ method: "delete",
50
+ pathTemplate: "/api/v1/data-alerts/{alertId}",
51
+ pathVariables: { alertId },
52
+ options
53
+ });
54
+ var getDataAlert = async (alertId, options) => invokeFetch("data-alerts", {
55
+ method: "get",
56
+ pathTemplate: "/api/v1/data-alerts/{alertId}",
57
+ pathVariables: { alertId },
58
+ options
59
+ });
60
+ var patchDataAlert = async (alertId, body, options) => invokeFetch("data-alerts", {
61
+ method: "patch",
62
+ pathTemplate: "/api/v1/data-alerts/{alertId}",
63
+ pathVariables: { alertId },
64
+ body,
65
+ contentType: "application/json",
66
+ options
67
+ });
68
+ var getDataAlertCondition = async (alertId, options) => invokeFetch("data-alerts", {
69
+ method: "get",
70
+ pathTemplate: "/api/v1/data-alerts/{alertId}/condition",
71
+ pathVariables: { alertId },
72
+ options
73
+ });
74
+ var deleteDataAlertExecution = async (alertId, executionId, options) => invokeFetch("data-alerts", {
75
+ method: "delete",
76
+ pathTemplate: "/api/v1/data-alerts/{alertId}/executions/{executionId}",
77
+ pathVariables: { alertId, executionId },
78
+ options
79
+ });
80
+ var getDataAlertExecution = async (alertId, executionId, options) => invokeFetch("data-alerts", {
81
+ method: "get",
82
+ pathTemplate: "/api/v1/data-alerts/{alertId}/executions/{executionId}",
83
+ pathVariables: { alertId, executionId },
84
+ options
85
+ });
86
+ var getDataAlertRecipientStats = async (alertId, query, options) => invokeFetch("data-alerts", {
87
+ method: "get",
88
+ pathTemplate: "/api/v1/data-alerts/{alertId}/recipient-stats",
89
+ pathVariables: { alertId },
90
+ query,
91
+ options
92
+ });
93
+ var getDataAlertExecutions = async (taskId, query, options) => invokeFetch("data-alerts", {
94
+ method: "get",
95
+ pathTemplate: "/api/v1/data-alerts/{taskId}/executions",
96
+ pathVariables: { taskId },
97
+ query,
98
+ options
99
+ });
100
+ var getDataAlertExecutionsStats = async (taskId, query, options) => invokeFetch("data-alerts", {
101
+ method: "get",
102
+ pathTemplate: "/api/v1/data-alerts/{taskId}/executions/stats",
103
+ pathVariables: { taskId },
104
+ query,
105
+ options
106
+ });
107
+ var getDataAlertExecutionEvaluations = async (taskId, executionId, options) => invokeFetch("data-alerts", {
108
+ method: "get",
109
+ pathTemplate: "/api/v1/data-alerts/{taskId}/executions/{executionId}/evaluations",
110
+ pathVariables: { taskId, executionId },
111
+ options
112
+ });
113
+ function clearCache() {
114
+ return clearApiCache("data-alerts");
115
+ }
116
+ var dataAlertsExport = {
117
+ getDataAlerts,
118
+ createDataAlert,
119
+ triggerDataAlerts,
120
+ validateDataAlerts,
121
+ getDataAlertsSettings,
122
+ setDataAlertsSettings,
123
+ deleteDataAlert,
124
+ getDataAlert,
125
+ patchDataAlert,
126
+ getDataAlertCondition,
127
+ deleteDataAlertExecution,
128
+ getDataAlertExecution,
129
+ getDataAlertRecipientStats,
130
+ getDataAlertExecutions,
131
+ getDataAlertExecutionsStats,
132
+ getDataAlertExecutionEvaluations,
133
+ clearCache
134
+ };
135
+ var data_alerts_default = dataAlertsExport;
136
+ export {
137
+ clearCache,
138
+ createDataAlert,
139
+ data_alerts_default as default,
140
+ deleteDataAlert,
141
+ deleteDataAlertExecution,
142
+ getDataAlert,
143
+ getDataAlertCondition,
144
+ getDataAlertExecution,
145
+ getDataAlertExecutionEvaluations,
146
+ getDataAlertExecutions,
147
+ getDataAlertExecutionsStats,
148
+ getDataAlertRecipientStats,
149
+ getDataAlerts,
150
+ getDataAlertsSettings,
151
+ patchDataAlert,
152
+ setDataAlertsSettings,
153
+ triggerDataAlerts,
154
+ validateDataAlerts
155
+ };
package/data-assets.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-assets.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-connections.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-credentials.ts
package/data-files.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-files.ts
@@ -0,0 +1,175 @@
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
+ import './auth-types-DqfMuSRX.js';
3
+
4
+ /**
5
+ * The ID of the computation
6
+ */
7
+ type ComputationResponse = {
8
+ computationId: string;
9
+ };
10
+ type ComputationStatusResponse = {
11
+ status: ExecutionStatus;
12
+ };
13
+ /**
14
+ * The ID of the connection
15
+ */
16
+ type ConnectionIdType = string;
17
+ /**
18
+ * Represents a data quality computation request. The `connectionId` attribute is optional for file-based datasets. If no sampling parameters (`executionMode`, `sampleMode`, `sampleSize`) are provided, the following default configuration is used: - `executionMode: PULLUP` - `sampleMode: ABSOLUTE` - `sampleSize: 1000`
19
+ * @example
20
+ * {
21
+ * connectionId: "2b855c3d-426c-4aac-90cf-0edf9fc294d3",
22
+ * datasetId: "669144f5aa2d642638ef1dd0"
23
+ * }
24
+ */
25
+ type DataQualityComputationRequest = {
26
+ /** The ID of the connection */
27
+ connectionId?: ConnectionIdType;
28
+ /** The ID of the dataset */
29
+ datasetId?: DatasetIdType;
30
+ } & SamplingConfiguration;
31
+ /**
32
+ * The ID of the dataset
33
+ */
34
+ type DatasetIdType = string;
35
+ type DatasetQualityGlobalResultsResponse = {
36
+ /** The ID of the dataset */
37
+ datasetId: string;
38
+ qualities: QualitiesGlobalResultsResponse[];
39
+ };
40
+ type Error = {
41
+ code?: string;
42
+ detail?: string;
43
+ status?: string;
44
+ title?: string;
45
+ };
46
+ type ErrorResponse = {
47
+ errors?: Error[];
48
+ traceId?: string;
49
+ };
50
+ type ExecutionStatus = "PROFILE_REQUESTED" | "PROFILE_FAILED" | "REQUESTED" | "SUBMITTED" | "SUCCEEDED" | "FAILED";
51
+ type QualitiesGlobalResultsResponse = {
52
+ /** The ID of the connection */
53
+ connectionId: string;
54
+ quality: QualityGlobalResultsResponse;
55
+ };
56
+ type QualityGlobalResultsResponse = {
57
+ /** Number of empty sample cells */
58
+ empty: number;
59
+ /** Number of invalid sample cells */
60
+ invalid: number;
61
+ /** Total number of cells in the sample */
62
+ total: number;
63
+ updatedAt: string;
64
+ /** Number of valid sample cells */
65
+ valid: number;
66
+ };
67
+ type SamplingConfiguration = {
68
+ /** Specifies where the data quality computation takes place. In PUSHDOWN mode, it runs within the Cloud Data Warehouse (e.g., Snowflake, Databricks), whereas in PULLUP mode, it runs in Qlik Cloud. */
69
+ executionMode?: "PUSHDOWN" | "PULLUP";
70
+ /** Specifies how the dataset is sampled. ABSOLUTE represents a fixed number of rows, while RELATIVE refers to a percentage of the total dataset rows. */
71
+ sampleMode?: "ABSOLUTE" | "RELATIVE";
72
+ /** The actual value of the selected sampling method size (either a fixed number for ABSOLUTE mode or a percentage for RELATIVE mode). */
73
+ sampleSize?: number;
74
+ };
75
+ /**
76
+ * Triggers the computation of data quality.
77
+ *
78
+ * @param body an object with the body content
79
+ * @throws TriggerDataQualitiesComputationHttpError
80
+ */
81
+ declare const triggerDataQualitiesComputation: (body: DataQualityComputationRequest, options?: ApiCallOptions) => Promise<TriggerDataQualitiesComputationHttpResponse>;
82
+ type TriggerDataQualitiesComputationHttpResponse = {
83
+ data: ComputationResponse;
84
+ headers: Headers;
85
+ status: 202;
86
+ };
87
+ type TriggerDataQualitiesComputationHttpError = {
88
+ data: ErrorResponse;
89
+ headers: Headers;
90
+ status: 400 | 401 | 403 | 500 | 503;
91
+ };
92
+ /**
93
+ * Returns the execution status of a data quality computation.
94
+ * @example
95
+ * getDataQualitiesComputation(
96
+ * "4db06daa-3117-412e-8fb4-b29c937f9a0e"
97
+ * )
98
+ *
99
+ * @param computationId The ID of the computation
100
+ * @throws GetDataQualitiesComputationHttpError
101
+ */
102
+ declare const getDataQualitiesComputation: (computationId: string, options?: ApiCallOptions) => Promise<GetDataQualitiesComputationHttpResponse>;
103
+ type GetDataQualitiesComputationHttpResponse = {
104
+ data: ComputationStatusResponse;
105
+ headers: Headers;
106
+ status: 200;
107
+ };
108
+ type GetDataQualitiesComputationHttpError = {
109
+ data: ErrorResponse;
110
+ headers: Headers;
111
+ status: 400 | 401 | 403 | 404 | 500 | 503;
112
+ };
113
+ /**
114
+ * Returns the global data results for a dataset, including counts of total, valid, invalid, and empty sample cells.
115
+ *
116
+ * @param query an object with query parameters
117
+ * @throws GetDataQualitiesGlobalResultsHttpError
118
+ */
119
+ declare const getDataQualitiesGlobalResults: (query: {
120
+ /** The connection ID */
121
+ connectionId?: ConnectionIdType;
122
+ /** The ID of the dataset */
123
+ datasetId: DatasetIdType;
124
+ }, options?: ApiCallOptions) => Promise<GetDataQualitiesGlobalResultsHttpResponse>;
125
+ type GetDataQualitiesGlobalResultsHttpResponse = {
126
+ data: DatasetQualityGlobalResultsResponse;
127
+ headers: Headers;
128
+ status: 200;
129
+ };
130
+ type GetDataQualitiesGlobalResultsHttpError = {
131
+ data: ErrorResponse;
132
+ headers: Headers;
133
+ status: 400 | 401 | 403 | 404 | 500 | 503;
134
+ };
135
+ /**
136
+ * Clears the cache for data-qualities api requests.
137
+ */
138
+ declare function clearCache(): void;
139
+ interface DataQualitiesAPI {
140
+ /**
141
+ * Triggers the computation of data quality.
142
+ *
143
+ * @param body an object with the body content
144
+ * @throws TriggerDataQualitiesComputationHttpError
145
+ */
146
+ triggerDataQualitiesComputation: typeof triggerDataQualitiesComputation;
147
+ /**
148
+ * Returns the execution status of a data quality computation.
149
+ * @example
150
+ * getDataQualitiesComputation(
151
+ * "4db06daa-3117-412e-8fb4-b29c937f9a0e"
152
+ * )
153
+ *
154
+ * @param computationId The ID of the computation
155
+ * @throws GetDataQualitiesComputationHttpError
156
+ */
157
+ getDataQualitiesComputation: typeof getDataQualitiesComputation;
158
+ /**
159
+ * Returns the global data results for a dataset, including counts of total, valid, invalid, and empty sample cells.
160
+ *
161
+ * @param query an object with query parameters
162
+ * @throws GetDataQualitiesGlobalResultsHttpError
163
+ */
164
+ getDataQualitiesGlobalResults: typeof getDataQualitiesGlobalResults;
165
+ /**
166
+ * Clears the cache for data-qualities api requests.
167
+ */
168
+ clearCache: typeof clearCache;
169
+ }
170
+ /**
171
+ * Functions for the data-qualities api
172
+ */
173
+ declare const dataQualitiesExport: DataQualitiesAPI;
174
+
175
+ export { type ComputationResponse, type ComputationStatusResponse, type ConnectionIdType, type DataQualitiesAPI, type DataQualityComputationRequest, type DatasetIdType, type DatasetQualityGlobalResultsResponse, type Error, type ErrorResponse, type ExecutionStatus, type GetDataQualitiesComputationHttpError, type GetDataQualitiesComputationHttpResponse, type GetDataQualitiesGlobalResultsHttpError, type GetDataQualitiesGlobalResultsHttpResponse, type QualitiesGlobalResultsResponse, type QualityGlobalResultsResponse, type SamplingConfiguration, type TriggerDataQualitiesComputationHttpError, type TriggerDataQualitiesComputationHttpResponse, clearCache, dataQualitiesExport as default, getDataQualitiesComputation, getDataQualitiesGlobalResults, triggerDataQualitiesComputation };
@@ -0,0 +1,44 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/VVD2DPKQ.js";
5
+ import "./chunks/LTNGXTXG.js";
6
+ import "./chunks/2ZQ3ZX7F.js";
7
+
8
+ // src/public/rest/data-qualities.ts
9
+ var triggerDataQualitiesComputation = async (body, options) => invokeFetch("data-qualities", {
10
+ method: "post",
11
+ pathTemplate: "/api/v1/data-qualities/computations",
12
+ body,
13
+ contentType: "application/json",
14
+ options
15
+ });
16
+ var getDataQualitiesComputation = async (computationId, options) => invokeFetch("data-qualities", {
17
+ method: "get",
18
+ pathTemplate: "/api/v1/data-qualities/computations/{computationId}",
19
+ pathVariables: { computationId },
20
+ options
21
+ });
22
+ var getDataQualitiesGlobalResults = async (query, options) => invokeFetch("data-qualities", {
23
+ method: "get",
24
+ pathTemplate: "/api/v1/data-qualities/global-results",
25
+ query,
26
+ options
27
+ });
28
+ function clearCache() {
29
+ return clearApiCache("data-qualities");
30
+ }
31
+ var dataQualitiesExport = {
32
+ triggerDataQualitiesComputation,
33
+ getDataQualitiesComputation,
34
+ getDataQualitiesGlobalResults,
35
+ clearCache
36
+ };
37
+ var data_qualities_default = dataQualitiesExport;
38
+ export {
39
+ clearCache,
40
+ data_qualities_default as default,
41
+ getDataQualitiesComputation,
42
+ getDataQualitiesGlobalResults,
43
+ triggerDataQualitiesComputation
44
+ };