@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
package/data-stores.d.ts
CHANGED
|
@@ -1,4 +1,538 @@
|
|
|
1
|
-
import "./chunks/auth-types-
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
3
|
-
|
|
1
|
+
import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
|
|
2
|
+
import "./chunks/invoke-fetch-C1Z0RJYU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/public/rest/data-stores.d.ts
|
|
5
|
+
type BatchIdDto = {
|
|
6
|
+
ids?: string[];
|
|
7
|
+
};
|
|
8
|
+
type DataAsset = {
|
|
9
|
+
appId?: string;
|
|
10
|
+
appType: string;
|
|
11
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
12
|
+
readonly createdBy?: string;
|
|
13
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
14
|
+
readonly createdTime?: string;
|
|
15
|
+
/** The date-time when the source data was last changed */
|
|
16
|
+
dataFreshness?: string;
|
|
17
|
+
dataStoreInfo?: DataStoreInfo;
|
|
18
|
+
description?: string;
|
|
19
|
+
/** Only required when updating the resource. Must be null for new resources. */
|
|
20
|
+
id?: string;
|
|
21
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
22
|
+
readonly lastModifiedBy?: string;
|
|
23
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
24
|
+
readonly lastModifiedTime?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
/** The value is automatically set by the application. */
|
|
27
|
+
ownerId?: string;
|
|
28
|
+
/** A Map of name-value pairs. */
|
|
29
|
+
properties?: Record<string, unknown>;
|
|
30
|
+
spaceId?: string;
|
|
31
|
+
tags?: string[];
|
|
32
|
+
technicalDescription?: string;
|
|
33
|
+
technicalName: string;
|
|
34
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
35
|
+
readonly tenantId?: string;
|
|
36
|
+
/** Only required when updating the resource. Must be null for new resources. */
|
|
37
|
+
version?: number;
|
|
38
|
+
};
|
|
39
|
+
type DataAssetInfo = {
|
|
40
|
+
dataStoreInfo?: DataStoreInfo;
|
|
41
|
+
id: string;
|
|
42
|
+
readonly name?: string;
|
|
43
|
+
};
|
|
44
|
+
type DataField = {
|
|
45
|
+
alias?: string;
|
|
46
|
+
dataType: FieldDataType;
|
|
47
|
+
description?: string;
|
|
48
|
+
encrypted?: boolean;
|
|
49
|
+
readonly index?: number;
|
|
50
|
+
name: string;
|
|
51
|
+
nullable?: boolean;
|
|
52
|
+
ordinalPositionInKey?: number;
|
|
53
|
+
orphan?: boolean;
|
|
54
|
+
primaryKey?: boolean;
|
|
55
|
+
properties?: Record<string, unknown>;
|
|
56
|
+
sensitive?: boolean;
|
|
57
|
+
/** An array of system tags */
|
|
58
|
+
tags?: string[];
|
|
59
|
+
/** An array of user-supplied tags */
|
|
60
|
+
userTags?: UserTag[];
|
|
61
|
+
};
|
|
62
|
+
type DataSet = {
|
|
63
|
+
/** 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 */
|
|
64
|
+
additionalSchemas?: Schema[];
|
|
65
|
+
/** Optional override of DataAsset appType. */
|
|
66
|
+
appTypeOverride?: string;
|
|
67
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
68
|
+
readonly createdBy?: string;
|
|
69
|
+
/** The connectionId that created the Dataset. Optional. */
|
|
70
|
+
createdByConnectionId?: string;
|
|
71
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
72
|
+
readonly createdTime?: string;
|
|
73
|
+
dataAssetInfo: DataAssetInfo;
|
|
74
|
+
description?: string;
|
|
75
|
+
/** Only required when updating the resource. Must be null for new resources. */
|
|
76
|
+
id?: string;
|
|
77
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
78
|
+
readonly lastModifiedBy?: string;
|
|
79
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
80
|
+
readonly lastModifiedTime?: string;
|
|
81
|
+
name?: string;
|
|
82
|
+
operational?: Operational;
|
|
83
|
+
/** The value is automatically set by the application. */
|
|
84
|
+
ownerId?: string;
|
|
85
|
+
/** A Map of name-value pairs. */
|
|
86
|
+
properties?: Record<string, unknown>;
|
|
87
|
+
/** 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. */
|
|
88
|
+
qri: string;
|
|
89
|
+
/** 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 */
|
|
90
|
+
schema?: Schema;
|
|
91
|
+
secureQri: string;
|
|
92
|
+
spaceId?: string;
|
|
93
|
+
tags?: string[];
|
|
94
|
+
technicalDescription?: string;
|
|
95
|
+
technicalName: string;
|
|
96
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
97
|
+
readonly tenantId?: string;
|
|
98
|
+
type?: string;
|
|
99
|
+
/** Only required when updating the resource. Must be null for new resources. */
|
|
100
|
+
version?: number;
|
|
101
|
+
};
|
|
102
|
+
type DataStore = {
|
|
103
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
104
|
+
readonly createdBy?: string;
|
|
105
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
106
|
+
readonly createdTime?: string;
|
|
107
|
+
description?: string;
|
|
108
|
+
/** Only required when updating the resource. Must be null for new resources. */
|
|
109
|
+
id?: string;
|
|
110
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
111
|
+
readonly lastModifiedBy?: string;
|
|
112
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
113
|
+
readonly lastModifiedTime?: string;
|
|
114
|
+
name?: string;
|
|
115
|
+
/** The value is automatically set by the application. */
|
|
116
|
+
ownerId?: string;
|
|
117
|
+
/** A Map of name-value pairs. */
|
|
118
|
+
properties?: Record<string, unknown>;
|
|
119
|
+
spaceId?: string;
|
|
120
|
+
tags?: string[];
|
|
121
|
+
technicalDescription?: string;
|
|
122
|
+
technicalName: string;
|
|
123
|
+
/** The value is automatically set by the application. User defined value is ignored. */
|
|
124
|
+
readonly tenantId?: string;
|
|
125
|
+
type: string;
|
|
126
|
+
uri?: string;
|
|
127
|
+
/** Only required when updating the resource. Must be null for new resources. */
|
|
128
|
+
version?: number;
|
|
129
|
+
};
|
|
130
|
+
type DataStoreInfo = {
|
|
131
|
+
id: string;
|
|
132
|
+
readonly name?: string;
|
|
133
|
+
readonly type?: string;
|
|
134
|
+
};
|
|
135
|
+
type Error = {
|
|
136
|
+
code?: string;
|
|
137
|
+
detail?: string;
|
|
138
|
+
status?: string;
|
|
139
|
+
title?: string;
|
|
140
|
+
};
|
|
141
|
+
type ErrorResponse = {
|
|
142
|
+
errors?: Error[];
|
|
143
|
+
traceId?: string;
|
|
144
|
+
};
|
|
145
|
+
type FieldDataType = {
|
|
146
|
+
originalType?: string;
|
|
147
|
+
/** 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. */
|
|
148
|
+
properties?: Record<string, unknown>;
|
|
149
|
+
/** 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. */
|
|
150
|
+
type: "DATE" | "TIME" | "DATETIME" | "TIMESTAMP" | "STRING" | "DOUBLE" | "DECIMAL" | "INTEGER" | "BOOLEAN" | "BINARY" | "CUSTOM";
|
|
151
|
+
};
|
|
152
|
+
type JsonPatch = {
|
|
153
|
+
/** A JSON Pointer path pointing to the location to move/copy from. */
|
|
154
|
+
from?: string;
|
|
155
|
+
/** The operation to be performed. */
|
|
156
|
+
op: "add" | "remove" | "replace" | "move" | "copy" | "test";
|
|
157
|
+
/** A JSON pointer to the property being affected. */
|
|
158
|
+
path: string;
|
|
159
|
+
/** The value to add, replace or test. */
|
|
160
|
+
value?: unknown;
|
|
161
|
+
};
|
|
162
|
+
type Link = {
|
|
163
|
+
href?: string;
|
|
164
|
+
};
|
|
165
|
+
type Links = {
|
|
166
|
+
first?: Link;
|
|
167
|
+
last?: Link;
|
|
168
|
+
next?: Link;
|
|
169
|
+
prev?: Link;
|
|
170
|
+
self?: Link;
|
|
171
|
+
};
|
|
172
|
+
type Operational = {
|
|
173
|
+
contentUpdated?: boolean;
|
|
174
|
+
endDate?: string;
|
|
175
|
+
lastLoadTime?: string;
|
|
176
|
+
lastUpdateTime?: string;
|
|
177
|
+
location?: string;
|
|
178
|
+
logMessage?: string;
|
|
179
|
+
rowCount?: number;
|
|
180
|
+
size?: number;
|
|
181
|
+
startDate?: string;
|
|
182
|
+
status?: string;
|
|
183
|
+
tableConnectionInfo?: TableConnectionInfo;
|
|
184
|
+
tableOwner?: string;
|
|
185
|
+
};
|
|
186
|
+
type PageDataAsset = {
|
|
187
|
+
data?: DataAsset[];
|
|
188
|
+
limit?: number;
|
|
189
|
+
links?: Links;
|
|
190
|
+
page?: number;
|
|
191
|
+
pages?: number;
|
|
192
|
+
total?: number;
|
|
193
|
+
};
|
|
194
|
+
type PageDataSet = {
|
|
195
|
+
data?: DataSet[];
|
|
196
|
+
limit?: number;
|
|
197
|
+
links?: Links;
|
|
198
|
+
page?: number;
|
|
199
|
+
pages?: number;
|
|
200
|
+
total?: number;
|
|
201
|
+
};
|
|
202
|
+
type PageDataStore = {
|
|
203
|
+
data?: DataStore[];
|
|
204
|
+
limit?: number;
|
|
205
|
+
links?: Links;
|
|
206
|
+
page?: number;
|
|
207
|
+
pages?: number;
|
|
208
|
+
total?: number;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* 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
|
|
212
|
+
*/
|
|
213
|
+
type Schema = {
|
|
214
|
+
/** Anomalies associated with this schema. Example: $warning-unknown-headers */
|
|
215
|
+
anomalies?: string[];
|
|
216
|
+
dataFields: DataField[];
|
|
217
|
+
readonly effectiveDate?: string;
|
|
218
|
+
/** Options for loading files. Example: "qLabel": "embedded labels" */
|
|
219
|
+
loadOptions?: Record<string, unknown>;
|
|
220
|
+
overrideSchemaAnomalies?: boolean;
|
|
221
|
+
schemaName?: string;
|
|
222
|
+
};
|
|
223
|
+
type TableConnectionInfo = {
|
|
224
|
+
additionalProperties?: Record<string, string>;
|
|
225
|
+
selectionScript?: string;
|
|
226
|
+
tableName?: string;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* An array of user-supplied tags
|
|
230
|
+
*/
|
|
231
|
+
type UserTag = {
|
|
232
|
+
/** The id of the tag in Collections */
|
|
233
|
+
id?: string;
|
|
234
|
+
name?: string;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Delete data stores if it does not contain any data-assets.
|
|
238
|
+
*
|
|
239
|
+
* @param body an object with the body content
|
|
240
|
+
* @throws DeleteDataStoresHttpError
|
|
241
|
+
*/
|
|
242
|
+
declare function deleteDataStores(body: BatchIdDto, options?: ApiCallOptions): Promise<DeleteDataStoresHttpResponse>;
|
|
243
|
+
type DeleteDataStoresHttpResponse = {
|
|
244
|
+
data: void;
|
|
245
|
+
headers: Headers;
|
|
246
|
+
status: 204;
|
|
247
|
+
};
|
|
248
|
+
type DeleteDataStoresHttpError = {
|
|
249
|
+
data: ErrorResponse;
|
|
250
|
+
headers: Headers;
|
|
251
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Get all data stores.
|
|
255
|
+
*
|
|
256
|
+
* @param query an object with query parameters
|
|
257
|
+
* @throws GetDataStoresHttpError
|
|
258
|
+
*/
|
|
259
|
+
declare function getDataStores(query: {
|
|
260
|
+
/** Page size limit. */
|
|
261
|
+
limit?: number;
|
|
262
|
+
page?: number;
|
|
263
|
+
/** Comma-separated fields to return in the response. */
|
|
264
|
+
projections?: string[];
|
|
265
|
+
/** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
|
|
266
|
+
sort?: string[];
|
|
267
|
+
}, options?: ApiCallOptions): Promise<GetDataStoresHttpResponse>;
|
|
268
|
+
type GetDataStoresHttpResponse = {
|
|
269
|
+
data: PageDataStore;
|
|
270
|
+
headers: Headers;
|
|
271
|
+
status: 200;
|
|
272
|
+
prev?: (options?: ApiCallOptions) => Promise<GetDataStoresHttpResponse>;
|
|
273
|
+
next?: (options?: ApiCallOptions) => Promise<GetDataStoresHttpResponse>;
|
|
274
|
+
};
|
|
275
|
+
type GetDataStoresHttpError = {
|
|
276
|
+
data: ErrorResponse;
|
|
277
|
+
headers: Headers;
|
|
278
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Save new data store.
|
|
282
|
+
*
|
|
283
|
+
* @param body an object with the body content
|
|
284
|
+
* @throws CreateDataStoreHttpError
|
|
285
|
+
*/
|
|
286
|
+
declare function createDataStore(body: DataStore, options?: ApiCallOptions): Promise<CreateDataStoreHttpResponse>;
|
|
287
|
+
type CreateDataStoreHttpResponse = {
|
|
288
|
+
data: DataStore;
|
|
289
|
+
headers: Headers;
|
|
290
|
+
status: 201;
|
|
291
|
+
};
|
|
292
|
+
type CreateDataStoreHttpError = {
|
|
293
|
+
data: ErrorResponse;
|
|
294
|
+
headers: Headers;
|
|
295
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Delete data assets and child data-sets by data-store IDs.
|
|
299
|
+
*
|
|
300
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
301
|
+
* @throws DeleteDataStoreDataAssetsHttpError
|
|
302
|
+
*/
|
|
303
|
+
declare function deleteDataStoreDataAssets(dataStoreIds: string, options?: ApiCallOptions): Promise<DeleteDataStoreDataAssetsHttpResponse>;
|
|
304
|
+
type DeleteDataStoreDataAssetsHttpResponse = {
|
|
305
|
+
data: void;
|
|
306
|
+
headers: Headers;
|
|
307
|
+
status: 204;
|
|
308
|
+
};
|
|
309
|
+
type DeleteDataStoreDataAssetsHttpError = {
|
|
310
|
+
data: ErrorResponse;
|
|
311
|
+
headers: Headers;
|
|
312
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Get all data assets belonging to the data store(s).
|
|
316
|
+
*
|
|
317
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
318
|
+
* @param query an object with query parameters
|
|
319
|
+
* @throws GetDataStoreDataAssetsHttpError
|
|
320
|
+
*/
|
|
321
|
+
declare function getDataStoreDataAssets(dataStoreIds: string, query: {
|
|
322
|
+
/** Page size limit. */
|
|
323
|
+
limit?: number;
|
|
324
|
+
page?: number;
|
|
325
|
+
/** Comma-separated fields to return in the response. */
|
|
326
|
+
projections?: string[];
|
|
327
|
+
/** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
|
|
328
|
+
sort?: string[];
|
|
329
|
+
}, options?: ApiCallOptions): Promise<GetDataStoreDataAssetsHttpResponse>;
|
|
330
|
+
type GetDataStoreDataAssetsHttpResponse = {
|
|
331
|
+
data: PageDataAsset;
|
|
332
|
+
headers: Headers;
|
|
333
|
+
status: 200;
|
|
334
|
+
prev?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetsHttpResponse>;
|
|
335
|
+
next?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetsHttpResponse>;
|
|
336
|
+
};
|
|
337
|
+
type GetDataStoreDataAssetsHttpError = {
|
|
338
|
+
data: ErrorResponse;
|
|
339
|
+
headers: Headers;
|
|
340
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* Delete data sets by data-store IDs and data-asset IDs.
|
|
344
|
+
*
|
|
345
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
346
|
+
* @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
|
|
347
|
+
* @throws DeleteDataStoreDataAssetDataSetsHttpError
|
|
348
|
+
*/
|
|
349
|
+
declare function deleteDataStoreDataAssetDataSets(dataStoreIds: string, dataAssetIds: string, options?: ApiCallOptions): Promise<DeleteDataStoreDataAssetDataSetsHttpResponse>;
|
|
350
|
+
type DeleteDataStoreDataAssetDataSetsHttpResponse = {
|
|
351
|
+
data: void;
|
|
352
|
+
headers: Headers;
|
|
353
|
+
status: 204;
|
|
354
|
+
};
|
|
355
|
+
type DeleteDataStoreDataAssetDataSetsHttpError = {
|
|
356
|
+
data: ErrorResponse;
|
|
357
|
+
headers: Headers;
|
|
358
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Get all data sets belonging to the data store(s) and data asset(s).
|
|
362
|
+
*
|
|
363
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
364
|
+
* @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
|
|
365
|
+
* @param query an object with query parameters
|
|
366
|
+
* @throws GetDataStoreDataAssetDataSetsHttpError
|
|
367
|
+
*/
|
|
368
|
+
declare function getDataStoreDataAssetDataSets(dataStoreIds: string, dataAssetIds: string, query: {
|
|
369
|
+
/** Page size limit. */
|
|
370
|
+
limit?: number;
|
|
371
|
+
page?: number;
|
|
372
|
+
/** Comma-separated fields to return in the response. */
|
|
373
|
+
projections?: string[];
|
|
374
|
+
/** Comma-separated fields and field start with '-' character sorts the result set in descending order. */
|
|
375
|
+
sort?: string[];
|
|
376
|
+
}, options?: ApiCallOptions): Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
|
|
377
|
+
type GetDataStoreDataAssetDataSetsHttpResponse = {
|
|
378
|
+
data: PageDataSet;
|
|
379
|
+
headers: Headers;
|
|
380
|
+
status: 200;
|
|
381
|
+
prev?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
|
|
382
|
+
next?: (options?: ApiCallOptions) => Promise<GetDataStoreDataAssetDataSetsHttpResponse>;
|
|
383
|
+
};
|
|
384
|
+
type GetDataStoreDataAssetDataSetsHttpError = {
|
|
385
|
+
data: ErrorResponse;
|
|
386
|
+
headers: Headers;
|
|
387
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* Get data store by ID.
|
|
391
|
+
*
|
|
392
|
+
* @param dataStoreId
|
|
393
|
+
* @param query an object with query parameters
|
|
394
|
+
* @throws GetDataStoreHttpError
|
|
395
|
+
*/
|
|
396
|
+
declare function getDataStore(dataStoreId: string, query: {
|
|
397
|
+
/** Comma-separated fields to return in the response. */
|
|
398
|
+
projections?: string[];
|
|
399
|
+
}, options?: ApiCallOptions): Promise<GetDataStoreHttpResponse>;
|
|
400
|
+
type GetDataStoreHttpResponse = {
|
|
401
|
+
data: DataStore;
|
|
402
|
+
headers: Headers;
|
|
403
|
+
status: 200;
|
|
404
|
+
};
|
|
405
|
+
type GetDataStoreHttpError = {
|
|
406
|
+
data: ErrorResponse;
|
|
407
|
+
headers: Headers;
|
|
408
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* Patch data store.
|
|
412
|
+
*
|
|
413
|
+
* @param dataStoreId
|
|
414
|
+
* @param body an object with the body content
|
|
415
|
+
* @throws PatchDataStoreHttpError
|
|
416
|
+
*/
|
|
417
|
+
declare function patchDataStore(dataStoreId: string, body: JsonPatch[], options?: ApiCallOptions): Promise<PatchDataStoreHttpResponse>;
|
|
418
|
+
type PatchDataStoreHttpResponse = {
|
|
419
|
+
data: DataStore;
|
|
420
|
+
headers: Headers;
|
|
421
|
+
status: 200 | 204;
|
|
422
|
+
};
|
|
423
|
+
type PatchDataStoreHttpError = {
|
|
424
|
+
data: ErrorResponse;
|
|
425
|
+
headers: Headers;
|
|
426
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Update data store.
|
|
430
|
+
*
|
|
431
|
+
* @param dataStoreId
|
|
432
|
+
* @param body an object with the body content
|
|
433
|
+
* @throws UpdateDataStoreHttpError
|
|
434
|
+
*/
|
|
435
|
+
declare function updateDataStore(dataStoreId: string, body: DataStore, options?: ApiCallOptions): Promise<UpdateDataStoreHttpResponse>;
|
|
436
|
+
type UpdateDataStoreHttpResponse = {
|
|
437
|
+
data: DataStore;
|
|
438
|
+
headers: Headers;
|
|
439
|
+
status: 200;
|
|
440
|
+
};
|
|
441
|
+
type UpdateDataStoreHttpError = {
|
|
442
|
+
data: ErrorResponse;
|
|
443
|
+
headers: Headers;
|
|
444
|
+
status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* Clears the cache for data-stores api requests.
|
|
448
|
+
*/
|
|
449
|
+
declare function clearCache(): void;
|
|
450
|
+
type DataStoresAPI = {
|
|
451
|
+
/**
|
|
452
|
+
* Delete data stores if it does not contain any data-assets.
|
|
453
|
+
*
|
|
454
|
+
* @param body an object with the body content
|
|
455
|
+
* @throws DeleteDataStoresHttpError
|
|
456
|
+
*/
|
|
457
|
+
deleteDataStores: typeof deleteDataStores;
|
|
458
|
+
/**
|
|
459
|
+
* Get all data stores.
|
|
460
|
+
*
|
|
461
|
+
* @param query an object with query parameters
|
|
462
|
+
* @throws GetDataStoresHttpError
|
|
463
|
+
*/
|
|
464
|
+
getDataStores: typeof getDataStores;
|
|
465
|
+
/**
|
|
466
|
+
* Save new data store.
|
|
467
|
+
*
|
|
468
|
+
* @param body an object with the body content
|
|
469
|
+
* @throws CreateDataStoreHttpError
|
|
470
|
+
*/
|
|
471
|
+
createDataStore: typeof createDataStore;
|
|
472
|
+
/**
|
|
473
|
+
* Delete data assets and child data-sets by data-store IDs.
|
|
474
|
+
*
|
|
475
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
476
|
+
* @throws DeleteDataStoreDataAssetsHttpError
|
|
477
|
+
*/
|
|
478
|
+
deleteDataStoreDataAssets: typeof deleteDataStoreDataAssets;
|
|
479
|
+
/**
|
|
480
|
+
* Get all data assets belonging to the data store(s).
|
|
481
|
+
*
|
|
482
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
483
|
+
* @param query an object with query parameters
|
|
484
|
+
* @throws GetDataStoreDataAssetsHttpError
|
|
485
|
+
*/
|
|
486
|
+
getDataStoreDataAssets: typeof getDataStoreDataAssets;
|
|
487
|
+
/**
|
|
488
|
+
* Delete data sets by data-store IDs and data-asset IDs.
|
|
489
|
+
*
|
|
490
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
491
|
+
* @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
|
|
492
|
+
* @throws DeleteDataStoreDataAssetDataSetsHttpError
|
|
493
|
+
*/
|
|
494
|
+
deleteDataStoreDataAssetDataSets: typeof deleteDataStoreDataAssetDataSets;
|
|
495
|
+
/**
|
|
496
|
+
* Get all data sets belonging to the data store(s) and data asset(s).
|
|
497
|
+
*
|
|
498
|
+
* @param dataStoreIds Comma-separated data store IDs or * to include all data stores.
|
|
499
|
+
* @param dataAssetIds Comma-separated data asset IDs or * to include all data assets.
|
|
500
|
+
* @param query an object with query parameters
|
|
501
|
+
* @throws GetDataStoreDataAssetDataSetsHttpError
|
|
502
|
+
*/
|
|
503
|
+
getDataStoreDataAssetDataSets: typeof getDataStoreDataAssetDataSets;
|
|
504
|
+
/**
|
|
505
|
+
* Get data store by ID.
|
|
506
|
+
*
|
|
507
|
+
* @param dataStoreId
|
|
508
|
+
* @param query an object with query parameters
|
|
509
|
+
* @throws GetDataStoreHttpError
|
|
510
|
+
*/
|
|
511
|
+
getDataStore: typeof getDataStore;
|
|
512
|
+
/**
|
|
513
|
+
* Patch data store.
|
|
514
|
+
*
|
|
515
|
+
* @param dataStoreId
|
|
516
|
+
* @param body an object with the body content
|
|
517
|
+
* @throws PatchDataStoreHttpError
|
|
518
|
+
*/
|
|
519
|
+
patchDataStore: typeof patchDataStore;
|
|
520
|
+
/**
|
|
521
|
+
* Update data store.
|
|
522
|
+
*
|
|
523
|
+
* @param dataStoreId
|
|
524
|
+
* @param body an object with the body content
|
|
525
|
+
* @throws UpdateDataStoreHttpError
|
|
526
|
+
*/
|
|
527
|
+
updateDataStore: typeof updateDataStore;
|
|
528
|
+
/**
|
|
529
|
+
* Clears the cache for data-stores api requests.
|
|
530
|
+
*/
|
|
531
|
+
clearCache: typeof clearCache;
|
|
532
|
+
};
|
|
533
|
+
/**
|
|
534
|
+
* Functions for the data-stores api
|
|
535
|
+
*/
|
|
536
|
+
declare const dataStoresExport: DataStoresAPI;
|
|
537
|
+
//#endregion
|
|
4
538
|
export { BatchIdDto, CreateDataStoreHttpError, CreateDataStoreHttpResponse, DataAsset, DataAssetInfo, DataField, DataSet, DataStore, DataStoreInfo, DataStoresAPI, DeleteDataStoreDataAssetDataSetsHttpError, DeleteDataStoreDataAssetDataSetsHttpResponse, DeleteDataStoreDataAssetsHttpError, DeleteDataStoreDataAssetsHttpResponse, DeleteDataStoresHttpError, DeleteDataStoresHttpResponse, Error, ErrorResponse, FieldDataType, GetDataStoreDataAssetDataSetsHttpError, GetDataStoreDataAssetDataSetsHttpResponse, GetDataStoreDataAssetsHttpError, GetDataStoreDataAssetsHttpResponse, GetDataStoreHttpError, GetDataStoreHttpResponse, GetDataStoresHttpError, GetDataStoresHttpResponse, JsonPatch, Link, Links, Operational, PageDataAsset, PageDataSet, PageDataStore, PatchDataStoreHttpError, PatchDataStoreHttpResponse, Schema, TableConnectionInfo, UpdateDataStoreHttpError, UpdateDataStoreHttpResponse, UserTag, clearCache, createDataStore, dataStoresExport as default, deleteDataStoreDataAssetDataSets, deleteDataStoreDataAssets, deleteDataStores, getDataStore, getDataStoreDataAssetDataSets, getDataStoreDataAssets, getDataStores, patchDataStore, updateDataStore };
|
package/data-stores.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./chunks/
|
|
2
|
-
import "./chunks/
|
|
3
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
|
|
1
|
+
import "./chunks/public-runtime-modules-QhLPeQr5.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/data-stores.ts
|
|
6
5
|
/**
|