@qlik/api 1.30.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.
- package/api-keys.d.ts +2 -2
- package/api-keys.js +2 -2
- package/apps.d.ts +4 -2
- package/apps.js +2 -2
- package/assistants.d.ts +1301 -0
- package/assistants.js +273 -0
- package/audits.d.ts +2 -2
- package/audits.js +2 -2
- package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
- package/auth.d.ts +27 -3
- package/auth.js +8 -4
- package/automation-connections.d.ts +366 -0
- package/automation-connections.js +91 -0
- package/automations.d.ts +2 -2
- package/automations.js +2 -2
- package/automl-deployments.d.ts +97 -0
- package/automl-deployments.js +27 -0
- package/automl-predictions.d.ts +214 -0
- package/automl-predictions.js +72 -0
- package/brands.d.ts +2 -2
- package/brands.js +2 -2
- package/chunks/{JIX6RMFP.js → 6ZONDHRN.js} +1 -1
- package/chunks/ETNHFALU.js +61 -0
- package/chunks/{G6QUM5WQ.js → FKDGGR2O.js} +137 -45
- package/chunks/{TXC5XORK.js → LTNGXTXG.js} +3 -3
- package/chunks/{OTTC4QSX.js → LY7RP2HA.js} +7 -3
- package/chunks/{FKCZFVJL.js → M64RLKVG.js} +2074 -12
- package/chunks/{F5UDCCRD.js → PLVPW5IR.js} +1 -1
- package/chunks/{QK4TMJ64.js → RCLKKVYB.js} +11 -1
- package/chunks/{QWQLGDMI.js → UZTIZ4H5.js} +392 -372
- package/chunks/{PTDXR7AY.js → VVD2DPKQ.js} +2 -2
- package/chunks/{IQBP2PKS.js → YTT2FEVE.js} +1 -1
- package/collections.d.ts +3 -3
- package/collections.js +2 -2
- package/conditions.d.ts +662 -0
- package/conditions.js +113 -0
- package/consumption.d.ts +182 -0
- package/consumption.js +24 -0
- package/csp-origins.d.ts +2 -2
- package/csp-origins.js +2 -2
- package/csrf-token.d.ts +62 -0
- package/csrf-token.js +23 -0
- package/data-alerts.d.ts +1004 -0
- package/data-alerts.js +155 -0
- package/data-assets.d.ts +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +7 -7
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +2 -2
- package/data-credentials.js +2 -2
- package/data-files.d.ts +2 -2
- package/data-files.js +2 -2
- package/data-qualities.d.ts +175 -0
- package/data-qualities.js +44 -0
- package/data-sets.d.ts +424 -0
- package/data-sets.js +75 -0
- package/data-sources.d.ts +268 -0
- package/data-sources.js +39 -0
- package/data-stores.d.ts +537 -0
- package/data-stores.js +108 -0
- package/dcaas.d.ts +192 -0
- package/dcaas.js +39 -0
- package/di-projects.d.ts +673 -0
- package/di-projects.js +164 -0
- package/docs/authentication.md +47 -0
- package/encryption.d.ts +370 -0
- package/encryption.js +98 -0
- package/extensions.d.ts +2 -2
- package/extensions.js +2 -2
- package/glossaries.d.ts +2 -2
- package/glossaries.js +2 -2
- package/groups.d.ts +5 -4
- package/groups.js +2 -2
- package/identity-providers.d.ts +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +110 -4
- package/index.js +556 -4
- package/interceptors.d.ts +2 -2
- package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
- package/items.d.ts +3 -3
- package/items.js +2 -2
- package/knowledgebases.d.ts +890 -0
- package/knowledgebases.js +169 -0
- package/licenses.d.ts +6 -3
- package/licenses.js +2 -2
- package/lineage-graphs.d.ts +712 -0
- package/lineage-graphs.js +92 -0
- package/ml.d.ts +2628 -0
- package/ml.js +384 -0
- package/notes.d.ts +110 -0
- package/notes.js +31 -0
- package/notifications.d.ts +98 -0
- package/notifications.js +24 -0
- package/oauth-clients.d.ts +7 -2
- package/oauth-clients.js +2 -2
- package/oauth-tokens.d.ts +126 -0
- package/oauth-tokens.js +31 -0
- package/package.json +29 -2
- package/qix.d.ts +421 -26
- package/qix.js +2 -2
- package/questions.d.ts +364 -0
- package/questions.js +34 -0
- package/quotas.d.ts +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +4 -2
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +2 -2
- package/report-templates.d.ts +287 -0
- package/report-templates.js +80 -0
- package/reports.d.ts +2 -2
- package/reports.js +2 -2
- package/roles.d.ts +2 -2
- package/roles.js +2 -2
- package/sharing-tasks.d.ts +952 -0
- package/sharing-tasks.js +105 -0
- package/spaces.d.ts +3 -7
- package/spaces.js +2 -2
- package/tasks.d.ts +564 -0
- package/tasks.js +106 -0
- package/temp-contents.d.ts +2 -2
- package/temp-contents.js +2 -2
- package/tenants.d.ts +2 -2
- package/tenants.js +2 -2
- package/themes.d.ts +2 -2
- package/themes.js +2 -2
- package/transports.d.ts +2 -2
- package/transports.js +2 -2
- package/ui-config.d.ts +274 -0
- package/ui-config.js +77 -0
- package/users.d.ts +2 -2
- package/users.js +2 -2
- package/web-integrations.d.ts +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +2 -2
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.d.ts
CHANGED
package/data-assets.js
CHANGED
package/data-connections.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
|
|
2
|
+
import './auth-types-DqfMuSRX.js';
|
|
3
3
|
|
|
4
4
|
type ActionDeleteRequest = {
|
|
5
5
|
connections: {
|
|
@@ -130,10 +130,10 @@ type ConnectionGet = {
|
|
|
130
130
|
/** List of connection parsed from connection string (only available when query parseConnection=true is set) */
|
|
131
131
|
connectionProperties?: unknown;
|
|
132
132
|
/** Datetime when the connection was created */
|
|
133
|
-
created
|
|
133
|
+
created?: string;
|
|
134
134
|
/** Data source ID */
|
|
135
135
|
datasourceID?: string;
|
|
136
|
-
links
|
|
136
|
+
links: Link;
|
|
137
137
|
/** Array of string (i.e. update, delete, read) indicating the user's privileges on the associated connection */
|
|
138
138
|
privileges: Privilege[];
|
|
139
139
|
/** 0 or 1 value indicating whether the data connector is 64-bit (0) or 32-bit (1). Defaults to 0 if not specified. */
|
|
@@ -153,7 +153,7 @@ type ConnectionGet = {
|
|
|
153
153
|
/** Descriptive name of the data connection */
|
|
154
154
|
qName: string;
|
|
155
155
|
/** Indicates whether or not this is a credential-less connection */
|
|
156
|
-
qSeparateCredentials
|
|
156
|
+
qSeparateCredentials?: boolean;
|
|
157
157
|
/** Type of connection, i.e. provider type of underlying connector */
|
|
158
158
|
qType: string;
|
|
159
159
|
/** Encrypted base Qri string (filterable using SCIM filter, e.g. filter='qri co "snowflake"') */
|
|
@@ -165,9 +165,9 @@ type ConnectionGet = {
|
|
|
165
165
|
/** Tenant ID of the connection's creator */
|
|
166
166
|
tenant: string;
|
|
167
167
|
/** Datetime when the connection was last updated */
|
|
168
|
-
updated
|
|
168
|
+
updated?: string;
|
|
169
169
|
/** User ID of the connection's creator */
|
|
170
|
-
user
|
|
170
|
+
user?: string;
|
|
171
171
|
};
|
|
172
172
|
type ConnectionUpdate = {
|
|
173
173
|
/** ID of the datasource associated with this connection */
|
package/data-connections.js
CHANGED
package/data-credentials.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
|
|
2
|
+
import './auth-types-DqfMuSRX.js';
|
|
3
3
|
|
|
4
4
|
type ActionFilterOrphanRequest = {
|
|
5
5
|
/** Filtering on datasource ID of credentials */
|
package/data-credentials.js
CHANGED
package/data-files.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
|
|
2
|
+
import './auth-types-DqfMuSRX.js';
|
|
3
3
|
|
|
4
4
|
type BatchChangeSpaceItem = {
|
|
5
5
|
/** The ID of the data file whose space will be changed. */
|
package/data-files.js
CHANGED
|
@@ -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
|
+
};
|