@qlik/api 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analytics/change-stores.d.ts +386 -0
- package/analytics/change-stores.js +123 -0
- package/analytics.d.ts +14 -0
- package/analytics.js +13 -0
- package/api-keys.d.ts +362 -3
- package/api-keys.js +2 -3
- package/apps.d.ts +2673 -3
- package/apps.js +2 -3
- package/assistants.d.ts +1370 -3
- package/assistants.js +2 -3
- package/audits.d.ts +318 -3
- package/audits.js +4 -4
- package/auth-types.d.ts +1 -1
- package/auth-types.js +1 -2
- package/auth.d.ts +94 -2
- package/auth.js +63 -3
- package/automation-connections.d.ts +366 -3
- package/automation-connections.js +2 -3
- package/automation-connectors.d.ts +84 -3
- package/automation-connectors.js +2 -3
- package/automations.d.ts +805 -3
- package/automations.js +2 -3
- package/automl-deployments.d.ts +101 -3
- package/automl-deployments.js +2 -3
- package/automl-predictions.d.ts +238 -3
- package/automl-predictions.js +2 -3
- package/banners.d.ts +184 -3
- package/banners.js +2 -3
- package/brands.d.ts +670 -3
- package/brands.js +2 -3
- package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
- package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
- package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
- package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
- package/collections.d.ts +582 -3
- package/collections.js +2 -3
- package/conditions.d.ts +662 -3
- package/conditions.js +2 -3
- package/consumption.d.ts +182 -3
- package/consumption.js +2 -3
- package/core/ip-policies.d.ts +328 -4
- package/core/ip-policies.js +108 -5
- package/core.d.ts +13 -4
- package/core.js +3 -4
- package/csp-origins.d.ts +273 -3
- package/csp-origins.js +2 -3
- package/csrf-token.d.ts +62 -3
- package/csrf-token.js +2 -3
- package/data-alerts.d.ts +1004 -3
- package/data-alerts.js +2 -3
- package/data-assets.d.ts +207 -3
- package/data-assets.js +2 -3
- package/data-connections.d.ts +678 -3
- package/data-connections.js +2 -3
- package/data-credentials.d.ts +292 -3
- package/data-credentials.js +2 -3
- package/data-files.d.ts +860 -3
- package/data-files.js +2 -3
- package/data-qualities.d.ts +175 -3
- package/data-qualities.js +2 -3
- package/data-sets.d.ts +424 -3
- package/data-sets.js +2 -3
- package/data-sources.d.ts +348 -3
- package/data-sources.js +2 -3
- package/data-stores.d.ts +537 -3
- package/data-stores.js +2 -3
- package/dcaas.d.ts +192 -3
- package/dcaas.js +2 -3
- package/di-projects.d.ts +812 -4
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +710 -4
- package/direct-access-agents.js +37 -5
- package/docs/authentication.md +1 -1
- package/encryption.d.ts +372 -3
- package/encryption.js +2 -3
- package/extensions.d.ts +295 -3
- package/extensions.js +2 -3
- package/global-types.d.ts +1 -1
- package/global-types.js +0 -2
- package/glossaries.d.ts +1223 -3
- package/glossaries.js +2 -3
- package/groups.d.ts +510 -3
- package/groups.js +2 -3
- package/identity-providers.d.ts +711 -3
- package/identity-providers.js +2 -3
- package/index.d.ts +78 -69
- package/index.js +28 -10
- package/interceptors.d.ts +52 -3
- package/interceptors.js +1 -2
- package/invoke-fetch-types.d.ts +1 -1
- package/items.d.ts +536 -3
- package/items.js +2 -3
- package/knowledgebases.d.ts +976 -3
- package/knowledgebases.js +2 -3
- package/licenses.d.ts +663 -3
- package/licenses.js +2 -3
- package/lineage-graphs.d.ts +704 -3
- package/lineage-graphs.js +2 -3
- package/ml.d.ts +2808 -3
- package/ml.js +2 -3
- package/notes.d.ts +110 -3
- package/notes.js +2 -3
- package/notifications.d.ts +98 -3
- package/notifications.js +2 -3
- package/oauth-callback.iife.js +1151 -0
- package/oauth-clients.d.ts +562 -3
- package/oauth-clients.js +2 -3
- package/oauth-tokens.d.ts +126 -3
- package/oauth-tokens.js +2 -3
- package/package.json +6 -4
- package/qix.d.ts +3 -3
- package/qix.js +38 -3
- package/questions.d.ts +364 -3
- package/questions.js +2 -3
- package/quotas.d.ts +112 -3
- package/quotas.js +2 -3
- package/reload-tasks.d.ts +249 -3
- package/reload-tasks.js +2 -3
- package/reloads.d.ts +260 -3
- package/reloads.js +2 -3
- package/report-templates.d.ts +287 -3
- package/report-templates.js +2 -3
- package/reports.d.ts +863 -3
- package/reports.js +2 -3
- package/roles.d.ts +312 -3
- package/roles.js +2 -3
- package/sharing-tasks.d.ts +1164 -3
- package/sharing-tasks.js +2 -3
- package/spaces.d.ts +779 -3
- package/spaces.js +2 -3
- package/tasks.d.ts +564 -3
- package/tasks.js +2 -3
- package/temp-contents.d.ts +167 -3
- package/temp-contents.js +2 -3
- package/tenants.d.ts +360 -3
- package/tenants.js +2 -3
- package/themes.d.ts +270 -3
- package/themes.js +2 -3
- package/transports.d.ts +435 -4
- package/transports.js +20 -5
- package/ui-config.d.ts +274 -3
- package/ui-config.js +2 -3
- package/users.d.ts +674 -3
- package/users.js +2 -3
- package/web-integrations.d.ts +294 -3
- package/web-integrations.js +2 -3
- package/web-notifications.d.ts +273 -3
- package/web-notifications.js +2 -3
- package/webhooks.d.ts +505 -3
- package/webhooks.js +2 -3
- package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
- package/chunks/apps-BwpXUGDb.d.ts +0 -2673
- package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
- package/chunks/audits-DakwzT97.d.ts +0 -316
- package/chunks/auth-6mptVm5Q.d.ts +0 -95
- package/chunks/auth-D11iO7ZV.js +0 -65
- package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
- package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
- package/chunks/automations-BGy83EBO.d.ts +0 -797
- package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
- package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
- package/chunks/banners-CgBRnZGv.d.ts +0 -184
- package/chunks/brands-DCgk6Gqx.d.ts +0 -671
- package/chunks/collections-BpYjcpIY.d.ts +0 -582
- package/chunks/conditions-CJJG7Uph.d.ts +0 -662
- package/chunks/consumption-DerFk437.d.ts +0 -182
- package/chunks/core-DQXNZdnf.d.ts +0 -12
- package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
- package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
- package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
- package/chunks/data-assets-CJDcssoX.d.ts +0 -207
- package/chunks/data-connections-VSB13K6g.d.ts +0 -678
- package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
- package/chunks/data-files-CVzn9M6V.d.ts +0 -860
- package/chunks/data-qualities-DBrot957.d.ts +0 -176
- package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
- package/chunks/data-sources-IsAaof_C.d.ts +0 -346
- package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
- package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
- package/chunks/di-projects-DVQTxASr.d.ts +0 -777
- package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
- package/chunks/encryption-BjA6xbCO.d.ts +0 -372
- package/chunks/extensions-OO0WtInj.d.ts +0 -294
- package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
- package/chunks/groups-C86-UG7S.d.ts +0 -511
- package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
- package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
- package/chunks/interceptors-DTYm37AU.js +0 -104
- package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
- package/chunks/ip-policies-DXlf172B.js +0 -108
- package/chunks/items-C-jzqvFW.d.ts +0 -536
- package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
- package/chunks/licenses-xzjnkitW.d.ts +0 -663
- package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
- package/chunks/ml-Abt2MUva.d.ts +0 -2809
- package/chunks/notes-BZxuyDgt.d.ts +0 -111
- package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
- package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
- package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
- package/chunks/qix-CYQsLyGQ.js +0 -40
- package/chunks/questions-BVp0tvNs.d.ts +0 -364
- package/chunks/quotas-CfAebRJd.d.ts +0 -113
- package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
- package/chunks/reloads-CwmagnFx.d.ts +0 -260
- package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
- package/chunks/reports-DzNC6Uq3.d.ts +0 -861
- package/chunks/roles-BYFIY6E7.d.ts +0 -312
- package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
- package/chunks/spaces-BK823t-b.d.ts +0 -780
- package/chunks/tasks-COKDfShO.d.ts +0 -564
- package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
- package/chunks/tenants-Bhn86519.d.ts +0 -361
- package/chunks/themes-v9NbhiBo.d.ts +0 -269
- package/chunks/transports-CqEiFxD3.d.ts +0 -362
- package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
- package/chunks/users-BSOBU_fg.d.ts +0 -675
- package/chunks/web-integrations-MisPAHod.d.ts +0 -295
- package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
- package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
- /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
- /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
- /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
- /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
- /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
- /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
|
|
2
|
-
|
|
3
|
-
//#region src/public/rest/data-qualities.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The ID of the computation
|
|
7
|
-
*/
|
|
8
|
-
type ComputationResponse = {
|
|
9
|
-
computationId: string;
|
|
10
|
-
};
|
|
11
|
-
type ComputationStatusResponse = {
|
|
12
|
-
status: ExecutionStatus;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The ID of the connection
|
|
16
|
-
*/
|
|
17
|
-
type ConnectionIdType = string;
|
|
18
|
-
/**
|
|
19
|
-
* 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`
|
|
20
|
-
* @example
|
|
21
|
-
* {
|
|
22
|
-
* connectionId: "2b855c3d-426c-4aac-90cf-0edf9fc294d3",
|
|
23
|
-
* datasetId: "669144f5aa2d642638ef1dd0"
|
|
24
|
-
* }
|
|
25
|
-
*/
|
|
26
|
-
type DataQualityComputationRequest = {
|
|
27
|
-
/** The ID of the connection */
|
|
28
|
-
connectionId?: ConnectionIdType;
|
|
29
|
-
/** The ID of the dataset */
|
|
30
|
-
datasetId?: DatasetIdType;
|
|
31
|
-
} & SamplingConfiguration;
|
|
32
|
-
/**
|
|
33
|
-
* The ID of the dataset
|
|
34
|
-
*/
|
|
35
|
-
type DatasetIdType = string;
|
|
36
|
-
type DatasetQualityGlobalResultsResponse = {
|
|
37
|
-
/** The ID of the dataset */
|
|
38
|
-
datasetId: string;
|
|
39
|
-
qualities: QualitiesGlobalResultsResponse[];
|
|
40
|
-
};
|
|
41
|
-
type Error = {
|
|
42
|
-
code?: string;
|
|
43
|
-
detail?: string;
|
|
44
|
-
status?: string;
|
|
45
|
-
title?: string;
|
|
46
|
-
};
|
|
47
|
-
type ErrorResponse = {
|
|
48
|
-
errors?: Error[];
|
|
49
|
-
traceId?: string;
|
|
50
|
-
};
|
|
51
|
-
type ExecutionStatus = "PROFILE_REQUESTED" | "PROFILE_FAILED" | "REQUESTED" | "SUBMITTED" | "SUCCEEDED" | "FAILED";
|
|
52
|
-
type QualitiesGlobalResultsResponse = {
|
|
53
|
-
/** The ID of the connection */
|
|
54
|
-
connectionId: string;
|
|
55
|
-
quality: QualityGlobalResultsResponse;
|
|
56
|
-
};
|
|
57
|
-
type QualityGlobalResultsResponse = {
|
|
58
|
-
/** Number of empty sample cells */
|
|
59
|
-
empty: number;
|
|
60
|
-
/** Number of invalid sample cells */
|
|
61
|
-
invalid: number;
|
|
62
|
-
/** Total number of cells in the sample */
|
|
63
|
-
total: number;
|
|
64
|
-
updatedAt: string;
|
|
65
|
-
/** Number of valid sample cells */
|
|
66
|
-
valid: number;
|
|
67
|
-
};
|
|
68
|
-
type SamplingConfiguration = {
|
|
69
|
-
/** 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. */
|
|
70
|
-
executionMode?: "PUSHDOWN" | "PULLUP";
|
|
71
|
-
/** Specifies how the dataset is sampled. ABSOLUTE represents a fixed number of rows, while RELATIVE refers to a percentage of the total dataset rows. */
|
|
72
|
-
sampleMode?: "ABSOLUTE" | "RELATIVE";
|
|
73
|
-
/** The actual value of the selected sampling method size (either a fixed number for ABSOLUTE mode or a percentage for RELATIVE mode). */
|
|
74
|
-
sampleSize?: number;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Triggers the computation of data quality.
|
|
78
|
-
*
|
|
79
|
-
* @param body an object with the body content
|
|
80
|
-
* @throws TriggerDataQualitiesComputationHttpError
|
|
81
|
-
*/
|
|
82
|
-
declare function triggerDataQualitiesComputation(body: DataQualityComputationRequest, options?: ApiCallOptions): Promise<TriggerDataQualitiesComputationHttpResponse>;
|
|
83
|
-
type TriggerDataQualitiesComputationHttpResponse = {
|
|
84
|
-
data: ComputationResponse;
|
|
85
|
-
headers: Headers;
|
|
86
|
-
status: 202;
|
|
87
|
-
};
|
|
88
|
-
type TriggerDataQualitiesComputationHttpError = {
|
|
89
|
-
data: ErrorResponse;
|
|
90
|
-
headers: Headers;
|
|
91
|
-
status: 400 | 401 | 403 | 500 | 503;
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* Returns the execution status of a data quality computation.
|
|
95
|
-
* @example
|
|
96
|
-
* getDataQualitiesComputation(
|
|
97
|
-
* "4db06daa-3117-412e-8fb4-b29c937f9a0e"
|
|
98
|
-
* )
|
|
99
|
-
*
|
|
100
|
-
* @param computationId The ID of the computation
|
|
101
|
-
* @throws GetDataQualitiesComputationHttpError
|
|
102
|
-
*/
|
|
103
|
-
declare function getDataQualitiesComputation(computationId: string, options?: ApiCallOptions): Promise<GetDataQualitiesComputationHttpResponse>;
|
|
104
|
-
type GetDataQualitiesComputationHttpResponse = {
|
|
105
|
-
data: ComputationStatusResponse;
|
|
106
|
-
headers: Headers;
|
|
107
|
-
status: 200;
|
|
108
|
-
};
|
|
109
|
-
type GetDataQualitiesComputationHttpError = {
|
|
110
|
-
data: ErrorResponse;
|
|
111
|
-
headers: Headers;
|
|
112
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Returns the global data results for a dataset, including counts of total, valid, invalid, and empty sample cells.
|
|
116
|
-
*
|
|
117
|
-
* @param query an object with query parameters
|
|
118
|
-
* @throws GetDataQualitiesGlobalResultsHttpError
|
|
119
|
-
*/
|
|
120
|
-
declare function getDataQualitiesGlobalResults(query: {
|
|
121
|
-
/** The connection ID */
|
|
122
|
-
connectionId?: ConnectionIdType;
|
|
123
|
-
/** The ID of the dataset */
|
|
124
|
-
datasetId: DatasetIdType;
|
|
125
|
-
}, options?: ApiCallOptions): Promise<GetDataQualitiesGlobalResultsHttpResponse>;
|
|
126
|
-
type GetDataQualitiesGlobalResultsHttpResponse = {
|
|
127
|
-
data: DatasetQualityGlobalResultsResponse;
|
|
128
|
-
headers: Headers;
|
|
129
|
-
status: 200;
|
|
130
|
-
};
|
|
131
|
-
type GetDataQualitiesGlobalResultsHttpError = {
|
|
132
|
-
data: ErrorResponse;
|
|
133
|
-
headers: Headers;
|
|
134
|
-
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* Clears the cache for data-qualities api requests.
|
|
138
|
-
*/
|
|
139
|
-
declare function clearCache(): void;
|
|
140
|
-
type DataQualitiesAPI = {
|
|
141
|
-
/**
|
|
142
|
-
* Triggers the computation of data quality.
|
|
143
|
-
*
|
|
144
|
-
* @param body an object with the body content
|
|
145
|
-
* @throws TriggerDataQualitiesComputationHttpError
|
|
146
|
-
*/
|
|
147
|
-
triggerDataQualitiesComputation: typeof triggerDataQualitiesComputation;
|
|
148
|
-
/**
|
|
149
|
-
* Returns the execution status of a data quality computation.
|
|
150
|
-
* @example
|
|
151
|
-
* getDataQualitiesComputation(
|
|
152
|
-
* "4db06daa-3117-412e-8fb4-b29c937f9a0e"
|
|
153
|
-
* )
|
|
154
|
-
*
|
|
155
|
-
* @param computationId The ID of the computation
|
|
156
|
-
* @throws GetDataQualitiesComputationHttpError
|
|
157
|
-
*/
|
|
158
|
-
getDataQualitiesComputation: typeof getDataQualitiesComputation;
|
|
159
|
-
/**
|
|
160
|
-
* Returns the global data results for a dataset, including counts of total, valid, invalid, and empty sample cells.
|
|
161
|
-
*
|
|
162
|
-
* @param query an object with query parameters
|
|
163
|
-
* @throws GetDataQualitiesGlobalResultsHttpError
|
|
164
|
-
*/
|
|
165
|
-
getDataQualitiesGlobalResults: typeof getDataQualitiesGlobalResults;
|
|
166
|
-
/**
|
|
167
|
-
* Clears the cache for data-qualities api requests.
|
|
168
|
-
*/
|
|
169
|
-
clearCache: typeof clearCache;
|
|
170
|
-
};
|
|
171
|
-
/**
|
|
172
|
-
* Functions for the data-qualities api
|
|
173
|
-
*/
|
|
174
|
-
declare const dataQualitiesExport: DataQualitiesAPI;
|
|
175
|
-
//#endregion
|
|
176
|
-
export { getDataQualitiesGlobalResults as C, getDataQualitiesComputation as S, SamplingConfiguration as _, DataQualityComputationRequest as a, clearCache as b, Error as c, GetDataQualitiesComputationHttpError as d, GetDataQualitiesComputationHttpResponse as f, QualityGlobalResultsResponse as g, QualitiesGlobalResultsResponse as h, DataQualitiesAPI as i, ErrorResponse as l, GetDataQualitiesGlobalResultsHttpResponse as m, ComputationStatusResponse as n, DatasetIdType as o, GetDataQualitiesGlobalResultsHttpError as p, ConnectionIdType as r, DatasetQualityGlobalResultsResponse as s, ComputationResponse as t, ExecutionStatus as u, TriggerDataQualitiesComputationHttpError as v, triggerDataQualitiesComputation as w, dataQualitiesExport as x, TriggerDataQualitiesComputationHttpResponse as y };
|
|
@@ -1,424 +0,0 @@
|
|
|
1
|
-
import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
|
|
2
|
-
|
|
3
|
-
//#region src/public/rest/data-sets.d.ts
|
|
4
|
-
type BatchIdDto = {
|
|
5
|
-
ids?: string[];
|
|
6
|
-
};
|
|
7
|
-
type BinnedFrequency = {
|
|
8
|
-
binEdge?: number;
|
|
9
|
-
frequency?: number;
|
|
10
|
-
};
|
|
11
|
-
type Classification = {
|
|
12
|
-
obfuscation?: string;
|
|
13
|
-
pii?: boolean;
|
|
14
|
-
sensitive?: boolean;
|
|
15
|
-
tags?: Tag[];
|
|
16
|
-
};
|
|
17
|
-
type DataAssetInfo = {
|
|
18
|
-
dataStoreInfo?: DataStoreInfo;
|
|
19
|
-
id: string;
|
|
20
|
-
readonly name?: string;
|
|
21
|
-
};
|
|
22
|
-
type DataField = {
|
|
23
|
-
alias?: string;
|
|
24
|
-
dataType: FieldDataType;
|
|
25
|
-
description?: string;
|
|
26
|
-
encrypted?: boolean;
|
|
27
|
-
readonly index?: number;
|
|
28
|
-
name: string;
|
|
29
|
-
nullable?: boolean;
|
|
30
|
-
ordinalPositionInKey?: number;
|
|
31
|
-
orphan?: boolean;
|
|
32
|
-
primaryKey?: boolean;
|
|
33
|
-
properties?: Record<string, unknown>;
|
|
34
|
-
sensitive?: boolean;
|
|
35
|
-
/** An array of system tags */
|
|
36
|
-
tags?: string[];
|
|
37
|
-
/** An array of user-supplied tags */
|
|
38
|
-
userTags?: UserTag[];
|
|
39
|
-
};
|
|
40
|
-
type DataSet = {
|
|
41
|
-
/** Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema */
|
|
42
|
-
additionalSchemas?: Schema[];
|
|
43
|
-
/** Optional override of DataAsset appType. */
|
|
44
|
-
appTypeOverride?: string;
|
|
45
|
-
/** The value is automatically set by the application. User defined value is ignored. */
|
|
46
|
-
readonly createdBy?: string;
|
|
47
|
-
/** The connectionId that created the Dataset. Optional. */
|
|
48
|
-
createdByConnectionId?: string;
|
|
49
|
-
/** The value is automatically set by the application. User defined value is ignored. */
|
|
50
|
-
readonly createdTime?: string;
|
|
51
|
-
dataAssetInfo: DataAssetInfo;
|
|
52
|
-
description?: string;
|
|
53
|
-
/** Only required when updating the resource. Must be null for new resources. */
|
|
54
|
-
id?: string;
|
|
55
|
-
/** The value is automatically set by the application. User defined value is ignored. */
|
|
56
|
-
readonly lastModifiedBy?: string;
|
|
57
|
-
/** The value is automatically set by the application. User defined value is ignored. */
|
|
58
|
-
readonly lastModifiedTime?: string;
|
|
59
|
-
name?: string;
|
|
60
|
-
operational?: Operational;
|
|
61
|
-
/** The value is automatically set by the application. */
|
|
62
|
-
ownerId?: string;
|
|
63
|
-
/** A Map of name-value pairs. */
|
|
64
|
-
properties?: Record<string, unknown>;
|
|
65
|
-
/** NOTE: this will be deprecated after migration to secureQri. Required user defined field. All the parts in the format must be separated by ':'. The first part denotes the resourceType, followed by dataStoreType and tenant guid. The spaceGuid or userGuid is to be populated based on if the dataset is in shared or private space and finally the full file name. This field is auto populated for the dataSet generated for qix-datafiles. */
|
|
66
|
-
qri: string;
|
|
67
|
-
/** Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema */
|
|
68
|
-
schema?: Schema;
|
|
69
|
-
secureQri: string;
|
|
70
|
-
spaceId?: string;
|
|
71
|
-
tags?: string[];
|
|
72
|
-
technicalDescription?: string;
|
|
73
|
-
technicalName: string;
|
|
74
|
-
/** The value is automatically set by the application. User defined value is ignored. */
|
|
75
|
-
readonly tenantId?: string;
|
|
76
|
-
type?: string;
|
|
77
|
-
/** Only required when updating the resource. Must be null for new resources. */
|
|
78
|
-
version?: number;
|
|
79
|
-
};
|
|
80
|
-
type DataSetProfile = {
|
|
81
|
-
meta?: ProfileMetadata;
|
|
82
|
-
readonly profiles?: TableProfile[];
|
|
83
|
-
readonly samples?: TableSample[];
|
|
84
|
-
};
|
|
85
|
-
type DataStoreInfo = {
|
|
86
|
-
id: string;
|
|
87
|
-
readonly name?: string;
|
|
88
|
-
readonly type?: string;
|
|
89
|
-
};
|
|
90
|
-
type Error = {
|
|
91
|
-
code?: string;
|
|
92
|
-
detail?: string;
|
|
93
|
-
status?: string;
|
|
94
|
-
title?: string;
|
|
95
|
-
};
|
|
96
|
-
type ErrorResponse = {
|
|
97
|
-
errors?: Error[];
|
|
98
|
-
traceId?: string;
|
|
99
|
-
};
|
|
100
|
-
type FieldDataType = {
|
|
101
|
-
originalType?: string;
|
|
102
|
-
/** The properties map key is string and the value is of type object. Please note, Datatype DECIMAL requires two mandatory properties to be defined; these properties must be named: precision and scale, each of these property accepts integer value. All other datatypes does not require any manadatory properties to be defined. */
|
|
103
|
-
properties?: Record<string, unknown>;
|
|
104
|
-
/** Each datatype may vary in terms of required properties. Example: Datatype DECIMAL requires two mandatory properties to be defined - precision and scale, each one accepts integer value. All other datatypes does not have any required properties. */
|
|
105
|
-
type: "DATE" | "TIME" | "DATETIME" | "TIMESTAMP" | "STRING" | "DOUBLE" | "DECIMAL" | "INTEGER" | "BOOLEAN" | "BINARY" | "CUSTOM";
|
|
106
|
-
};
|
|
107
|
-
type FieldProfile = {
|
|
108
|
-
average?: number;
|
|
109
|
-
averageStringLength?: number;
|
|
110
|
-
classification?: Classification;
|
|
111
|
-
dataType?: "DATE" | "TIME" | "DATETIME" | "TIMESTAMP" | "STRING" | "DOUBLE" | "DECIMAL" | "INTEGER" | "BOOLEAN" | "BINARY" | "CUSTOM";
|
|
112
|
-
distinctValueCount?: number;
|
|
113
|
-
emptyStringCount?: number;
|
|
114
|
-
evenness?: number;
|
|
115
|
-
firstSortedStringValue?: string;
|
|
116
|
-
fractiles?: number[];
|
|
117
|
-
frequencyDistribution?: BinnedFrequency[];
|
|
118
|
-
index?: number;
|
|
119
|
-
kurtosis?: number;
|
|
120
|
-
lastSortedStringValue?: string;
|
|
121
|
-
maxNumericValue?: number;
|
|
122
|
-
maxStringLength?: number;
|
|
123
|
-
median?: number;
|
|
124
|
-
minNumericValue?: number;
|
|
125
|
-
minStringLength?: number;
|
|
126
|
-
mostFrequentValues?: Frequency[];
|
|
127
|
-
name?: string;
|
|
128
|
-
negativeValueCount?: number;
|
|
129
|
-
nullValueCount?: number;
|
|
130
|
-
numericValueCount?: number;
|
|
131
|
-
positiveValueCount?: number;
|
|
132
|
-
sampleValues?: string[];
|
|
133
|
-
skewness?: number;
|
|
134
|
-
standardDeviation?: number;
|
|
135
|
-
sumNumericValues?: number;
|
|
136
|
-
sumSquaredNumericValues?: number;
|
|
137
|
-
sumStringLength?: number;
|
|
138
|
-
tags?: string[];
|
|
139
|
-
technicalName?: string;
|
|
140
|
-
textValueCount?: number;
|
|
141
|
-
zeroValueCount?: number;
|
|
142
|
-
};
|
|
143
|
-
type Frequency = {
|
|
144
|
-
frequency?: number;
|
|
145
|
-
value?: string;
|
|
146
|
-
};
|
|
147
|
-
type JsonPatch = {
|
|
148
|
-
/** A JSON Pointer path pointing to the location to move/copy from. */
|
|
149
|
-
from?: string;
|
|
150
|
-
/** The operation to be performed. */
|
|
151
|
-
op: "add" | "remove" | "replace" | "move" | "copy" | "test";
|
|
152
|
-
/** A JSON pointer to the property being affected. */
|
|
153
|
-
path: string;
|
|
154
|
-
/** The value to add, replace or test. */
|
|
155
|
-
value?: unknown;
|
|
156
|
-
};
|
|
157
|
-
type Link = {
|
|
158
|
-
href?: string;
|
|
159
|
-
};
|
|
160
|
-
type Links = {
|
|
161
|
-
first?: Link;
|
|
162
|
-
last?: Link;
|
|
163
|
-
next?: Link;
|
|
164
|
-
prev?: Link;
|
|
165
|
-
self?: Link;
|
|
166
|
-
};
|
|
167
|
-
type Operational = {
|
|
168
|
-
contentUpdated?: boolean;
|
|
169
|
-
endDate?: string;
|
|
170
|
-
lastLoadTime?: string;
|
|
171
|
-
lastUpdateTime?: string;
|
|
172
|
-
location?: string;
|
|
173
|
-
logMessage?: string;
|
|
174
|
-
rowCount?: number;
|
|
175
|
-
size?: number;
|
|
176
|
-
startDate?: string;
|
|
177
|
-
status?: string;
|
|
178
|
-
tableConnectionInfo?: TableConnectionInfo;
|
|
179
|
-
tableOwner?: string;
|
|
180
|
-
};
|
|
181
|
-
type PageDataSetProfile = {
|
|
182
|
-
data?: DataSetProfile[];
|
|
183
|
-
limit?: number;
|
|
184
|
-
links?: Links;
|
|
185
|
-
page?: number;
|
|
186
|
-
pages?: number;
|
|
187
|
-
total?: number;
|
|
188
|
-
};
|
|
189
|
-
type ProfileMetadata = {
|
|
190
|
-
computationEndTime?: string;
|
|
191
|
-
computationStartTime?: string;
|
|
192
|
-
connectionId?: string;
|
|
193
|
-
dataSetId?: string;
|
|
194
|
-
lastLoadTime?: string;
|
|
195
|
-
messages?: string[];
|
|
196
|
-
resultType?: "NORMAL" | "BASIC";
|
|
197
|
-
status?: "QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "INCOMPLETE" | "CANCELLED" | "STALE" | "PARTIAL" | "DEFERRED";
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* Optional field to specify additional schemas for files where multiple tables or sheets are available. User must define primary schema in 'schema' attribute and rest of the sheets/ tables can be defined using this field. This field is not populated for the dataSets with single schema
|
|
201
|
-
*/
|
|
202
|
-
type Schema = {
|
|
203
|
-
/** Anomalies associated with this schema. Example: $warning-unknown-headers */
|
|
204
|
-
anomalies?: string[];
|
|
205
|
-
dataFields: DataField[];
|
|
206
|
-
readonly effectiveDate?: string;
|
|
207
|
-
/** Options for loading files. Example: "qLabel": "embedded labels" */
|
|
208
|
-
loadOptions?: Record<string, unknown>;
|
|
209
|
-
overrideSchemaAnomalies?: boolean;
|
|
210
|
-
schemaName?: string;
|
|
211
|
-
};
|
|
212
|
-
type TableConnectionInfo = {
|
|
213
|
-
additionalProperties?: Record<string, string>;
|
|
214
|
-
selectionScript?: string;
|
|
215
|
-
tableName?: string;
|
|
216
|
-
};
|
|
217
|
-
type TableProfile = {
|
|
218
|
-
readonly fieldProfiles?: FieldProfile[];
|
|
219
|
-
readonly name?: string;
|
|
220
|
-
readonly numberOfRows?: number;
|
|
221
|
-
readonly sizeInBytes?: number;
|
|
222
|
-
};
|
|
223
|
-
type TableRecord = {
|
|
224
|
-
values?: string[];
|
|
225
|
-
};
|
|
226
|
-
type TableSample = {
|
|
227
|
-
readonly fieldNames?: string[];
|
|
228
|
-
readonly name?: string;
|
|
229
|
-
readonly records?: TableRecord[];
|
|
230
|
-
};
|
|
231
|
-
type Tag = {
|
|
232
|
-
score?: number;
|
|
233
|
-
tag?: string;
|
|
234
|
-
};
|
|
235
|
-
/**
|
|
236
|
-
* An array of user-supplied tags
|
|
237
|
-
*/
|
|
238
|
-
type UserTag = {
|
|
239
|
-
/** The id of the tag in Collections */
|
|
240
|
-
id?: string;
|
|
241
|
-
name?: string;
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* Batch delete data sets.
|
|
245
|
-
*
|
|
246
|
-
* @param body an object with the body content
|
|
247
|
-
* @throws DeleteDataSetsHttpError
|
|
248
|
-
*/
|
|
249
|
-
declare function deleteDataSets(body: BatchIdDto, options?: ApiCallOptions): Promise<DeleteDataSetsHttpResponse>;
|
|
250
|
-
type DeleteDataSetsHttpResponse = {
|
|
251
|
-
data: void;
|
|
252
|
-
headers: Headers;
|
|
253
|
-
status: 204;
|
|
254
|
-
};
|
|
255
|
-
type DeleteDataSetsHttpError = {
|
|
256
|
-
data: ErrorResponse;
|
|
257
|
-
headers: Headers;
|
|
258
|
-
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
259
|
-
};
|
|
260
|
-
/**
|
|
261
|
-
* Save new data set
|
|
262
|
-
*
|
|
263
|
-
* @param body an object with the body content
|
|
264
|
-
* @throws CreateDataSetHttpError
|
|
265
|
-
*/
|
|
266
|
-
declare function createDataSet(body: DataSet, options?: ApiCallOptions): Promise<CreateDataSetHttpResponse>;
|
|
267
|
-
type CreateDataSetHttpResponse = {
|
|
268
|
-
data: DataSet;
|
|
269
|
-
headers: Headers;
|
|
270
|
-
status: 201;
|
|
271
|
-
};
|
|
272
|
-
type CreateDataSetHttpError = {
|
|
273
|
-
data: ErrorResponse;
|
|
274
|
-
headers: Headers;
|
|
275
|
-
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
276
|
-
};
|
|
277
|
-
/**
|
|
278
|
-
* Get data set by ID.
|
|
279
|
-
*
|
|
280
|
-
* @param dataSetId
|
|
281
|
-
* @param query an object with query parameters
|
|
282
|
-
* @throws GetDataSetHttpError
|
|
283
|
-
*/
|
|
284
|
-
declare function getDataSet(dataSetId: string, query: {
|
|
285
|
-
/** Comma-separated fields to return in the response. */
|
|
286
|
-
projections?: string[];
|
|
287
|
-
}, options?: ApiCallOptions): Promise<GetDataSetHttpResponse>;
|
|
288
|
-
type GetDataSetHttpResponse = {
|
|
289
|
-
data: DataSet;
|
|
290
|
-
headers: Headers;
|
|
291
|
-
status: 200;
|
|
292
|
-
};
|
|
293
|
-
type GetDataSetHttpError = {
|
|
294
|
-
data: ErrorResponse;
|
|
295
|
-
headers: Headers;
|
|
296
|
-
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
297
|
-
};
|
|
298
|
-
/**
|
|
299
|
-
* Patch data set.
|
|
300
|
-
*
|
|
301
|
-
* @param dataSetId
|
|
302
|
-
* @param body an object with the body content
|
|
303
|
-
* @throws PatchDataSetHttpError
|
|
304
|
-
*/
|
|
305
|
-
declare function patchDataSet(dataSetId: string, body: JsonPatch[], options?: ApiCallOptions): Promise<PatchDataSetHttpResponse>;
|
|
306
|
-
type PatchDataSetHttpResponse = {
|
|
307
|
-
data: DataSet;
|
|
308
|
-
headers: Headers;
|
|
309
|
-
status: 200 | 204;
|
|
310
|
-
};
|
|
311
|
-
type PatchDataSetHttpError = {
|
|
312
|
-
data: ErrorResponse;
|
|
313
|
-
headers: Headers;
|
|
314
|
-
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
315
|
-
};
|
|
316
|
-
/**
|
|
317
|
-
* Update data set.
|
|
318
|
-
*
|
|
319
|
-
* @param dataSetId
|
|
320
|
-
* @param body an object with the body content
|
|
321
|
-
* @throws UpdateDataSetHttpError
|
|
322
|
-
*/
|
|
323
|
-
declare function updateDataSet(dataSetId: string, body: DataSet, options?: ApiCallOptions): Promise<UpdateDataSetHttpResponse>;
|
|
324
|
-
type UpdateDataSetHttpResponse = {
|
|
325
|
-
data: DataSet;
|
|
326
|
-
headers: Headers;
|
|
327
|
-
status: 200;
|
|
328
|
-
};
|
|
329
|
-
type UpdateDataSetHttpError = {
|
|
330
|
-
data: ErrorResponse;
|
|
331
|
-
headers: Headers;
|
|
332
|
-
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
333
|
-
};
|
|
334
|
-
/**
|
|
335
|
-
* Get profile for the given dataset and connection Id pair, if the profile already exists in the system. Profile returned can be either latest or Stale one based on when it was computed.
|
|
336
|
-
*
|
|
337
|
-
* @param dataSetId
|
|
338
|
-
* @param query an object with query parameters
|
|
339
|
-
* @throws GetDataSetProfilesHttpError
|
|
340
|
-
*/
|
|
341
|
-
declare function getDataSetProfiles(dataSetId: string, query: {
|
|
342
|
-
/** Comma-separated data connection IDs. */
|
|
343
|
-
dataConnectionIds?: string[];
|
|
344
|
-
/** Page size limit. */
|
|
345
|
-
limit?: number;
|
|
346
|
-
page?: number;
|
|
347
|
-
/** Comma-separated fields to return in the response. */
|
|
348
|
-
projections?: string[];
|
|
349
|
-
sort?: string[];
|
|
350
|
-
}, options?: ApiCallOptions): Promise<GetDataSetProfilesHttpResponse>;
|
|
351
|
-
type GetDataSetProfilesHttpResponse = {
|
|
352
|
-
data: PageDataSetProfile;
|
|
353
|
-
headers: Headers;
|
|
354
|
-
status: 200 | 202;
|
|
355
|
-
prev?: (options?: ApiCallOptions) => Promise<GetDataSetProfilesHttpResponse>;
|
|
356
|
-
next?: (options?: ApiCallOptions) => Promise<GetDataSetProfilesHttpResponse>;
|
|
357
|
-
};
|
|
358
|
-
type GetDataSetProfilesHttpError = {
|
|
359
|
-
data: ErrorResponse;
|
|
360
|
-
headers: Headers;
|
|
361
|
-
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
362
|
-
};
|
|
363
|
-
/**
|
|
364
|
-
* Clears the cache for data-sets api requests.
|
|
365
|
-
*/
|
|
366
|
-
declare function clearCache(): void;
|
|
367
|
-
type DataSetsAPI = {
|
|
368
|
-
/**
|
|
369
|
-
* Batch delete data sets.
|
|
370
|
-
*
|
|
371
|
-
* @param body an object with the body content
|
|
372
|
-
* @throws DeleteDataSetsHttpError
|
|
373
|
-
*/
|
|
374
|
-
deleteDataSets: typeof deleteDataSets;
|
|
375
|
-
/**
|
|
376
|
-
* Save new data set
|
|
377
|
-
*
|
|
378
|
-
* @param body an object with the body content
|
|
379
|
-
* @throws CreateDataSetHttpError
|
|
380
|
-
*/
|
|
381
|
-
createDataSet: typeof createDataSet;
|
|
382
|
-
/**
|
|
383
|
-
* Get data set by ID.
|
|
384
|
-
*
|
|
385
|
-
* @param dataSetId
|
|
386
|
-
* @param query an object with query parameters
|
|
387
|
-
* @throws GetDataSetHttpError
|
|
388
|
-
*/
|
|
389
|
-
getDataSet: typeof getDataSet;
|
|
390
|
-
/**
|
|
391
|
-
* Patch data set.
|
|
392
|
-
*
|
|
393
|
-
* @param dataSetId
|
|
394
|
-
* @param body an object with the body content
|
|
395
|
-
* @throws PatchDataSetHttpError
|
|
396
|
-
*/
|
|
397
|
-
patchDataSet: typeof patchDataSet;
|
|
398
|
-
/**
|
|
399
|
-
* Update data set.
|
|
400
|
-
*
|
|
401
|
-
* @param dataSetId
|
|
402
|
-
* @param body an object with the body content
|
|
403
|
-
* @throws UpdateDataSetHttpError
|
|
404
|
-
*/
|
|
405
|
-
updateDataSet: typeof updateDataSet;
|
|
406
|
-
/**
|
|
407
|
-
* Get profile for the given dataset and connection Id pair, if the profile already exists in the system. Profile returned can be either latest or Stale one based on when it was computed.
|
|
408
|
-
*
|
|
409
|
-
* @param dataSetId
|
|
410
|
-
* @param query an object with query parameters
|
|
411
|
-
* @throws GetDataSetProfilesHttpError
|
|
412
|
-
*/
|
|
413
|
-
getDataSetProfiles: typeof getDataSetProfiles;
|
|
414
|
-
/**
|
|
415
|
-
* Clears the cache for data-sets api requests.
|
|
416
|
-
*/
|
|
417
|
-
clearCache: typeof clearCache;
|
|
418
|
-
};
|
|
419
|
-
/**
|
|
420
|
-
* Functions for the data-sets api
|
|
421
|
-
*/
|
|
422
|
-
declare const dataSetsExport: DataSetsAPI;
|
|
423
|
-
//#endregion
|
|
424
|
-
export { ProfileMetadata as A, clearCache as B, JsonPatch as C, PageDataSetProfile as D, Operational as E, TableSample as F, getDataSetProfiles as G, dataSetsExport as H, Tag as I, patchDataSet as K, UpdateDataSetHttpError as L, TableConnectionInfo as M, TableProfile as N, PatchDataSetHttpError as O, TableRecord as P, UpdateDataSetHttpResponse as R, GetDataSetProfilesHttpResponse as S, Links as T, deleteDataSets as U, createDataSet as V, getDataSet as W, FieldProfile as _, CreateDataSetHttpResponse as a, GetDataSetHttpResponse as b, DataSet as c, DataStoreInfo as d, DeleteDataSetsHttpError as f, FieldDataType as g, ErrorResponse as h, CreateDataSetHttpError as i, Schema as j, PatchDataSetHttpResponse as k, DataSetProfile as l, Error as m, BinnedFrequency as n, DataAssetInfo as o, DeleteDataSetsHttpResponse as p, updateDataSet as q, Classification as r, DataField as s, BatchIdDto as t, DataSetsAPI as u, Frequency as v, Link as w, GetDataSetProfilesHttpError as x, GetDataSetHttpError as y, UserTag as z };
|