@qlik/api 0.0.15 → 0.1.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/README.md +1 -1
- package/api-keys.js +25 -25
- package/apps.js +97 -97
- package/audits.js +23 -23
- package/auth.js +14 -14
- package/automations.js +47 -47
- package/brands.js +35 -35
- package/chunks/4HB3TAEO.js +4 -4
- package/chunks/{EHAANYDL.mjs → 4V5AAWUI.js} +3 -3
- package/chunks/{O4EAKEIN.mjs → D62LI5YU.js} +1 -1
- package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
- package/chunks/{3YV6X7S6.mjs → LHCJKIEO.js} +1 -1
- package/chunks/OPRGGO4C.js +8 -8
- package/chunks/{HHOVS7QC.mjs → RNLZBOJU.js} +3 -3
- package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
- package/chunks/{6AD3HYSF.mjs → TFSRDRRS.js} +1 -1
- package/chunks/{HOCTJESP.mjs → VK2CODYY.js} +2 -2
- package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
- package/collections.js +33 -33
- package/csp-origins.js +23 -23
- package/data-assets.js +21 -21
- package/data-connections.d.ts +97 -61
- package/data-connections.js +29 -29
- package/data-credentials.d.ts +3 -2
- package/data-credentials.js +19 -19
- package/data-files.js +35 -35
- package/docs/authentication.md +5 -5
- package/docs/examples/fetch-spaces.md +1 -15
- package/docs/examples/open-without-data.md +1 -1
- package/docs/examples/show-sheet-list.md +1 -1
- package/docs/features.md +1 -1
- package/extensions.js +25 -25
- package/glossaries.js +59 -59
- package/groups.d.ts +0 -3
- package/groups.js +27 -27
- package/identity-providers.js +27 -27
- package/index.js +53 -53
- package/items.js +27 -27
- package/licenses.js +29 -29
- package/package.json +36 -232
- package/qix.d.ts +1 -1
- package/qix.js +10 -10
- package/quotas.js +15 -15
- package/reload-tasks.js +21 -21
- package/reloads.js +19 -19
- package/roles.js +15 -15
- package/spaces.js +35 -35
- package/temp-contents.js +17 -17
- package/tenants.js +23 -23
- package/themes.js +25 -25
- package/transports.js +23 -23
- package/users.d.ts +1 -3
- package/users.js +31 -31
- package/web-integrations.js +21 -21
- package/web-notifications.js +23 -23
- package/webhooks.js +31 -31
- package/api-keys.d.mts +0 -336
- package/api-keys.mjs +0 -80
- package/apps.d.mts +0 -2431
- package/apps.mjs +0 -398
- package/audits.d.mts +0 -286
- package/audits.mjs +0 -64
- package/auth-types-nnUcWhuU.d.mts +0 -98
- package/auth.d.mts +0 -26
- package/auth.mjs +0 -14
- package/automations.d.mts +0 -682
- package/automations.mjs +0 -173
- package/brands.d.mts +0 -670
- package/brands.mjs +0 -123
- package/chunks/2YWCEGTS.js +0 -21
- package/chunks/34ZKUFEA.js +0 -41
- package/chunks/4WHZ4EIW.js +0 -57
- package/chunks/B4VPD3ZT.js +0 -574
- package/chunks/BM4OSDRZ.js +0 -17
- package/chunks/DCXUEDOW.mjs +0 -67
- package/chunks/MTAQE4WC.js +0 -10411
- package/chunks/PLOSYUG2.js +0 -25
- package/chunks/URIW2U5M.js +0 -17
- package/chunks/VSY5YIQY.mjs +0 -11
- package/chunks/WOYJLK4Y.js +0 -1623
- package/collections.d.mts +0 -581
- package/collections.mjs +0 -114
- package/csp-origins.d.mts +0 -273
- package/csp-origins.mjs +0 -69
- package/data-assets.d.mts +0 -205
- package/data-assets.mjs +0 -66
- package/data-connections.d.mts +0 -558
- package/data-connections.mjs +0 -103
- package/data-credentials.d.mts +0 -203
- package/data-credentials.mjs +0 -59
- package/data-files.d.mts +0 -562
- package/data-files.mjs +0 -123
- package/extensions.d.mts +0 -293
- package/extensions.mjs +0 -77
- package/global.types-5iFvFJvX.d.mts +0 -115
- package/glossaries.d.mts +0 -1173
- package/glossaries.mjs +0 -237
- package/groups.d.mts +0 -434
- package/groups.mjs +0 -88
- package/identity-providers.d.mts +0 -550
- package/identity-providers.mjs +0 -83
- package/index.d.mts +0 -142
- package/index.mjs +0 -716
- package/items.d.mts +0 -535
- package/items.mjs +0 -87
- package/licenses.d.mts +0 -459
- package/licenses.mjs +0 -92
- package/qix.d.mts +0 -11629
- package/qix.mjs +0 -10
- package/quotas.d.mts +0 -112
- package/quotas.mjs +0 -32
- package/reload-tasks.d.mts +0 -227
- package/reload-tasks.mjs +0 -62
- package/reloads.d.mts +0 -207
- package/reloads.mjs +0 -46
- package/roles.d.mts +0 -175
- package/roles.mjs +0 -31
- package/spaces.d.mts +0 -562
- package/spaces.mjs +0 -124
- package/temp-contents.d.mts +0 -167
- package/temp-contents.mjs +0 -41
- package/tenants.d.mts +0 -300
- package/tenants.mjs +0 -73
- package/themes.d.mts +0 -268
- package/themes.mjs +0 -77
- package/transports.d.mts +0 -319
- package/transports.mjs +0 -65
- package/users.d.mts +0 -631
- package/users.mjs +0 -104
- package/web-integrations.d.mts +0 -274
- package/web-integrations.mjs +0 -62
- package/web-notifications.d.mts +0 -250
- package/web-notifications.mjs +0 -69
- package/webhooks.d.mts +0 -445
- package/webhooks.mjs +0 -104
package/glossaries.d.mts
DELETED
|
@@ -1,1173 +0,0 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
|
-
import './auth-types-nnUcWhuU.mjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
6
|
-
*/
|
|
7
|
-
type JSONPatch = {
|
|
8
|
-
/** The operation to be performed. */
|
|
9
|
-
op: "replace";
|
|
10
|
-
/** A JSON Pointer. */
|
|
11
|
-
path: string;
|
|
12
|
-
/** The value to be used for this operation. */
|
|
13
|
-
value: string | number;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* An array of JSON Patch documents
|
|
17
|
-
*/
|
|
18
|
-
type JSONPatchArray = JSONPatch[];
|
|
19
|
-
type AtlanEntity = {
|
|
20
|
-
attributes?: AtlanEntityAttributes;
|
|
21
|
-
guid?: string;
|
|
22
|
-
labels?: string[];
|
|
23
|
-
relationshipAttributes?: AtlanRelationshipAttributes;
|
|
24
|
-
status?: string;
|
|
25
|
-
typeName?: string;
|
|
26
|
-
};
|
|
27
|
-
type AtlanEntityAttributes = {
|
|
28
|
-
abbreviation?: string;
|
|
29
|
-
displayText?: string;
|
|
30
|
-
examples?: string[];
|
|
31
|
-
guid?: string;
|
|
32
|
-
name?: string;
|
|
33
|
-
parentCategory?: string;
|
|
34
|
-
relationGuid?: string;
|
|
35
|
-
relations?: AtlanResourceLink;
|
|
36
|
-
usage?: string;
|
|
37
|
-
userDescription?: string;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Atlan glossary format. See https://apidocs.atlan.com/
|
|
41
|
-
*/
|
|
42
|
-
type AtlanGlossary = {
|
|
43
|
-
entity?: AtlanEntity;
|
|
44
|
-
referredEntities?: AtlanEntity[];
|
|
45
|
-
};
|
|
46
|
-
type AtlanRelationEntity = {
|
|
47
|
-
displayText?: string;
|
|
48
|
-
entityStatus?: string;
|
|
49
|
-
guid?: string;
|
|
50
|
-
typeName?: string;
|
|
51
|
-
};
|
|
52
|
-
type AtlanRelationshipAttributes = {
|
|
53
|
-
antonyms?: AtlanTermHeader;
|
|
54
|
-
categories?: AtlanRelationEntity;
|
|
55
|
-
classifies?: AtlanTermHeader;
|
|
56
|
-
isA?: AtlanTermHeader;
|
|
57
|
-
replacedBy?: AtlanTermHeader;
|
|
58
|
-
seeAlso?: AtlanTermHeader;
|
|
59
|
-
synonyms?: AtlanTermHeader;
|
|
60
|
-
terms?: AtlanRelationEntity;
|
|
61
|
-
};
|
|
62
|
-
type AtlanResourceLink = {
|
|
63
|
-
displayName?: string;
|
|
64
|
-
url?: string;
|
|
65
|
-
};
|
|
66
|
-
type AtlanTermHeader = {
|
|
67
|
-
description?: string;
|
|
68
|
-
displayText?: string;
|
|
69
|
-
entityStatus?: string;
|
|
70
|
-
expression?: string;
|
|
71
|
-
guid?: string;
|
|
72
|
-
relationGuid?: string;
|
|
73
|
-
steward?: string;
|
|
74
|
-
};
|
|
75
|
-
type AtlasCategory = {
|
|
76
|
-
categoryGuid?: string;
|
|
77
|
-
description?: string;
|
|
78
|
-
displayText?: string;
|
|
79
|
-
parentCategoryGuid?: string;
|
|
80
|
-
relationGuid?: string;
|
|
81
|
-
};
|
|
82
|
-
type AtlasGlossary = {
|
|
83
|
-
categories?: AtlasCategory[];
|
|
84
|
-
guid?: string;
|
|
85
|
-
language?: string;
|
|
86
|
-
longDescription?: string;
|
|
87
|
-
name?: string;
|
|
88
|
-
qualifiedName?: string;
|
|
89
|
-
shortDescription?: string;
|
|
90
|
-
terms?: AtlasTerm[];
|
|
91
|
-
usage?: string;
|
|
92
|
-
};
|
|
93
|
-
type AtlasTerm = {
|
|
94
|
-
description?: string;
|
|
95
|
-
displayText?: string;
|
|
96
|
-
expression?: string;
|
|
97
|
-
relationGuid?: string;
|
|
98
|
-
source?: string;
|
|
99
|
-
status?: string;
|
|
100
|
-
steward?: string;
|
|
101
|
-
termGuid?: string;
|
|
102
|
-
};
|
|
103
|
-
type CategoriesResult = {
|
|
104
|
-
data: Category[];
|
|
105
|
-
links?: PageLinks;
|
|
106
|
-
meta?: ResultMeta;
|
|
107
|
-
};
|
|
108
|
-
type Category = {
|
|
109
|
-
readonly createdAt: string;
|
|
110
|
-
readonly createdBy: string;
|
|
111
|
-
description: string;
|
|
112
|
-
glossaryId: string;
|
|
113
|
-
id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
parentId?: string;
|
|
116
|
-
/** This list contains the uuids of the stewards of the category. */
|
|
117
|
-
stewards?: string[];
|
|
118
|
-
readonly updatedAt: string;
|
|
119
|
-
/** The uuid of the user who last updated the category */
|
|
120
|
-
readonly updatedBy: string;
|
|
121
|
-
};
|
|
122
|
-
type CreateCategory = {
|
|
123
|
-
description?: string;
|
|
124
|
-
/** The id for resolving updates in future imports/updates.
|
|
125
|
-
* Opposed to the id of terms, id on category are not resolved by backend. Any category referred in the category array in terms will have to be identical to the id property of the category. If not, the category reference will be discarded. */
|
|
126
|
-
id?: string;
|
|
127
|
-
/** The name of the category. May not be identical to another category belonging to the same parent. */
|
|
128
|
-
name?: string;
|
|
129
|
-
parentId?: string;
|
|
130
|
-
/** This list contains the uuids of the stewards of the category. */
|
|
131
|
-
stewards?: string[];
|
|
132
|
-
};
|
|
133
|
-
type CreateGlossary = {
|
|
134
|
-
/** Description of the glossary */
|
|
135
|
-
description?: string;
|
|
136
|
-
/** Name of the glossary */
|
|
137
|
-
name: string;
|
|
138
|
-
/** Overview of the glossary content */
|
|
139
|
-
overview?: string;
|
|
140
|
-
/** Unique unique identifier of the space to contain the glossary */
|
|
141
|
-
spaceId?: string;
|
|
142
|
-
/** List of tags for glossary */
|
|
143
|
-
tags?: string[];
|
|
144
|
-
termTemplate?: TermTemplate;
|
|
145
|
-
};
|
|
146
|
-
type CreateTerm = {
|
|
147
|
-
abbreviation?: string;
|
|
148
|
-
/** Category Ids that the term belongs to. NOTE! In case of import the string refers to the index of the category in the import document. */
|
|
149
|
-
categories?: string[];
|
|
150
|
-
description?: string;
|
|
151
|
-
linksTo?: TermCreateLinksTo[];
|
|
152
|
-
name: string;
|
|
153
|
-
relatedInformation?: string;
|
|
154
|
-
relatesTo?: TermRelatesTo[];
|
|
155
|
-
/** This list contain the uuids for the terms stewards */
|
|
156
|
-
stewards?: string[];
|
|
157
|
-
tags?: string[];
|
|
158
|
-
};
|
|
159
|
-
type ErrorResponse = {
|
|
160
|
-
errors?: ErrorResponseCode[];
|
|
161
|
-
traceId?: string;
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* ### Custom error codes
|
|
165
|
-
* * BG-1 - Context JWT is missing tenantId.
|
|
166
|
-
* * BG-2 - Context JWT is missing userId.
|
|
167
|
-
* * BG-4 - Invalid or unsupported Content Type. Valid types are: application/json, application/json+qlik, application/json+atlan, application/json+atlas
|
|
168
|
-
* * BG-5 - Failed to decode JSON payload.
|
|
169
|
-
* * BG-6 - A glossary name is required.
|
|
170
|
-
* * BG-7 - Two categories with the same name cannot have the same parent.
|
|
171
|
-
* * BG-11 - Glossary validation failed - A value or parameter is invalid or not set
|
|
172
|
-
* * BG-12 - Category validation failed - A value or parameter is invalid or not set
|
|
173
|
-
* * BG-13 - Term validation failed - A value or parameter is invalid or not set
|
|
174
|
-
* * BG-14 - Two or more categories share Id
|
|
175
|
-
* * BG-15 - Two or more terms share Id
|
|
176
|
-
* * BG-16 - Not detecting proper Atlas format
|
|
177
|
-
* * BG-17 - Not detecting proper Atlan format
|
|
178
|
-
* * BG-18 - Not detecting proper Qlik format
|
|
179
|
-
* * BG-19 - Invalid format in term
|
|
180
|
-
* * BG-20 - Duplicate link definition
|
|
181
|
-
* * BG-21 - Rich text validation failed
|
|
182
|
-
* * BG-22 - Import cancelled
|
|
183
|
-
* * BG-23 - Duplicate link related
|
|
184
|
-
*/
|
|
185
|
-
type ErrorResponseBadRequest = {
|
|
186
|
-
errors?: ErrorResponseCode[];
|
|
187
|
-
traceId?: string;
|
|
188
|
-
};
|
|
189
|
-
type ErrorResponseCode = {
|
|
190
|
-
code?: string;
|
|
191
|
-
detail?: string;
|
|
192
|
-
title?: string;
|
|
193
|
-
};
|
|
194
|
-
/**
|
|
195
|
-
* ### Custom error codes
|
|
196
|
-
* * BG-3 - Access denied, no read access
|
|
197
|
-
*/
|
|
198
|
-
type ErrorResponseForbidden = {
|
|
199
|
-
errors?: ErrorResponseCode[];
|
|
200
|
-
traceId?: string;
|
|
201
|
-
};
|
|
202
|
-
/**
|
|
203
|
-
* ### Custom error codes
|
|
204
|
-
* * BG-8 - Glossary not found
|
|
205
|
-
* * BG-9 - Category not found
|
|
206
|
-
* * BG-10 - Term not found
|
|
207
|
-
*/
|
|
208
|
-
type ErrorResponseNotFound = {
|
|
209
|
-
errors?: ErrorResponseCode[];
|
|
210
|
-
traceId?: string;
|
|
211
|
-
};
|
|
212
|
-
type ExportCategory = {
|
|
213
|
-
description?: string;
|
|
214
|
-
/** The id for resolving updates in future imports/updates.
|
|
215
|
-
* Opposed to the id of terms, id on category are not resolved by backend. Any category referred in the category array in terms will have to be identical to the id property of the category. If not, the category reference will be discarded. */
|
|
216
|
-
id?: string;
|
|
217
|
-
/** The name of the category. May not be identical to another category belonging to the same parent. */
|
|
218
|
-
name?: string;
|
|
219
|
-
parentId?: string;
|
|
220
|
-
stewardDetails?: StewardDetail[];
|
|
221
|
-
};
|
|
222
|
-
type ExportGlossary = {
|
|
223
|
-
categories?: ExportCategory[];
|
|
224
|
-
readonly createdAt?: string;
|
|
225
|
-
readonly createdBy?: string;
|
|
226
|
-
description?: string;
|
|
227
|
-
id?: string;
|
|
228
|
-
name?: string;
|
|
229
|
-
overview?: string;
|
|
230
|
-
ownerId?: string;
|
|
231
|
-
spaceId?: string;
|
|
232
|
-
tags?: string[];
|
|
233
|
-
termTemplate?: TermTemplate;
|
|
234
|
-
terms?: ExportTerm[];
|
|
235
|
-
readonly updatedAt?: string;
|
|
236
|
-
/** The uuid of the user who last updated the glossary */
|
|
237
|
-
readonly updatedBy?: string;
|
|
238
|
-
};
|
|
239
|
-
type ExportTerm = {
|
|
240
|
-
abbreviation?: string;
|
|
241
|
-
/** Categories that the term belongs to. Refers to the `id` property of the category object */
|
|
242
|
-
categories?: string[];
|
|
243
|
-
description?: string;
|
|
244
|
-
/** The id of the term. Used to identify the term in future updates. If not provided, will use the leading 30 chars of the term name and an incremental index */
|
|
245
|
-
id?: string;
|
|
246
|
-
linksTo?: TermCreateLinksTo[];
|
|
247
|
-
name?: string;
|
|
248
|
-
owner?: ImportOwner[];
|
|
249
|
-
relatesTo?: TermRelatesTo[];
|
|
250
|
-
stewardDetails?: StewardDetail[];
|
|
251
|
-
stewards?: StewardDetail[];
|
|
252
|
-
tags?: string[];
|
|
253
|
-
};
|
|
254
|
-
type GlossariesResult = {
|
|
255
|
-
data?: Glossary[];
|
|
256
|
-
links?: PageLinks;
|
|
257
|
-
meta?: ResultMeta;
|
|
258
|
-
};
|
|
259
|
-
type Glossary = {
|
|
260
|
-
/** Datetime when the glossary was created */
|
|
261
|
-
readonly createdAt: string;
|
|
262
|
-
/** Unique identifier of the user who created the glossary */
|
|
263
|
-
readonly createdBy: string;
|
|
264
|
-
/** Description of the glossary */
|
|
265
|
-
description: string;
|
|
266
|
-
/** Unique identifier of the glossary */
|
|
267
|
-
id: string;
|
|
268
|
-
/** Name of the glossary */
|
|
269
|
-
name: string;
|
|
270
|
-
/** Overview of the glossary contents */
|
|
271
|
-
overview: string;
|
|
272
|
-
/** The unique identifier of the glossary owner */
|
|
273
|
-
ownerId: string;
|
|
274
|
-
/** The unique identifier of the space containg the glossary */
|
|
275
|
-
spaceId: string;
|
|
276
|
-
/** List of tags associated with the glossary. */
|
|
277
|
-
tags: string[];
|
|
278
|
-
termTemplate: TermTemplate;
|
|
279
|
-
/** Datetime when the glossary was updated */
|
|
280
|
-
readonly updatedAt: string;
|
|
281
|
-
/** The unique identifier of the user who last updated the glossary */
|
|
282
|
-
readonly updatedBy: string;
|
|
283
|
-
};
|
|
284
|
-
type ImportCategory = {
|
|
285
|
-
description?: string;
|
|
286
|
-
/** The id for resolving updates in future imports/updates.
|
|
287
|
-
* Opposed to the id of terms, id on category are not resolved by backend. Any category referred in the category array in terms will have to be identical to the id property of the category. If not, the category reference will be discarded. */
|
|
288
|
-
id?: string;
|
|
289
|
-
/** The name of the category. May not be identical to another category belonging to the same parent. */
|
|
290
|
-
name?: string;
|
|
291
|
-
parentId?: string;
|
|
292
|
-
stewardDetails?: StewardDetail[];
|
|
293
|
-
stewards?: string[];
|
|
294
|
-
};
|
|
295
|
-
type ImportOwner = {
|
|
296
|
-
email?: string;
|
|
297
|
-
name?: string;
|
|
298
|
-
userId?: string;
|
|
299
|
-
};
|
|
300
|
-
type ImportTerm = {
|
|
301
|
-
abbreviation?: string;
|
|
302
|
-
/** Categories that the term belongs to. Refers to the `id` property of the category object */
|
|
303
|
-
categories?: string[];
|
|
304
|
-
description?: string;
|
|
305
|
-
/** The id of the term. Used to identify the term in future updates. If not provided, will use the leading 30 chars of the term name and an incremental index */
|
|
306
|
-
id?: string;
|
|
307
|
-
linksTo?: TermCreateLinksTo[];
|
|
308
|
-
name?: string;
|
|
309
|
-
owner?: ImportOwner[];
|
|
310
|
-
relatesTo?: TermRelatesTo[];
|
|
311
|
-
stewardDetails?: StewardDetail[];
|
|
312
|
-
stewards?: StewardDetail[];
|
|
313
|
-
tags?: string[];
|
|
314
|
-
};
|
|
315
|
-
type LinksResult = {
|
|
316
|
-
data?: TermLinksTo[];
|
|
317
|
-
links?: PageLinks;
|
|
318
|
-
meta?: ResultMeta;
|
|
319
|
-
};
|
|
320
|
-
type PageLink = {
|
|
321
|
-
href?: string;
|
|
322
|
-
};
|
|
323
|
-
type PageLinks = {
|
|
324
|
-
next?: PageLink;
|
|
325
|
-
prev?: PageLink;
|
|
326
|
-
self?: PageLink;
|
|
327
|
-
};
|
|
328
|
-
type QlikGlossary = {
|
|
329
|
-
categories?: ImportCategory[];
|
|
330
|
-
description?: string;
|
|
331
|
-
name?: string;
|
|
332
|
-
overview?: string;
|
|
333
|
-
spaceId?: string;
|
|
334
|
-
tags?: string[];
|
|
335
|
-
termTemplate?: TermTemplate;
|
|
336
|
-
terms?: ImportTerm[];
|
|
337
|
-
};
|
|
338
|
-
type ResultMeta = {
|
|
339
|
-
countTotal?: number;
|
|
340
|
-
};
|
|
341
|
-
type StewardDetail = {
|
|
342
|
-
email?: string;
|
|
343
|
-
name?: string;
|
|
344
|
-
userId?: string;
|
|
345
|
-
};
|
|
346
|
-
type Term = {
|
|
347
|
-
abbreviation?: string;
|
|
348
|
-
categories?: string[];
|
|
349
|
-
readonly createdAt: string;
|
|
350
|
-
readonly createdBy: string;
|
|
351
|
-
description: string;
|
|
352
|
-
glossaryId: string;
|
|
353
|
-
id: string;
|
|
354
|
-
linksTo?: TermLinksTo[];
|
|
355
|
-
name: string;
|
|
356
|
-
relatedInformation: string;
|
|
357
|
-
relatesTo?: TermRelatesTo[];
|
|
358
|
-
revision: number;
|
|
359
|
-
/** Terms status is used determine the status of a term */
|
|
360
|
-
status: TermStatus;
|
|
361
|
-
/** This list contains the uuids of the terms data stewards. */
|
|
362
|
-
stewards: string[];
|
|
363
|
-
tags: string[];
|
|
364
|
-
readonly updatedAt: string;
|
|
365
|
-
/** The uuid of the user who last updated the term */
|
|
366
|
-
readonly updatedBy: string;
|
|
367
|
-
};
|
|
368
|
-
/**
|
|
369
|
-
* Describes links to other data assets such as analytics applications or dataset.
|
|
370
|
-
*/
|
|
371
|
-
type TermCreateLinksTo = {
|
|
372
|
-
resourceId: string;
|
|
373
|
-
resourceType: "app" | "dataset";
|
|
374
|
-
subResourceId?: string;
|
|
375
|
-
subResourceName?: string;
|
|
376
|
-
subResourceType?: "master_dimension" | "master_measure";
|
|
377
|
-
type?: "definition" | "related";
|
|
378
|
-
};
|
|
379
|
-
/**
|
|
380
|
-
* Describes links to other entities such as qlik charts, dataset columns etc.
|
|
381
|
-
*/
|
|
382
|
-
type TermLinksTo = {
|
|
383
|
-
readonly createdAt?: string;
|
|
384
|
-
createdBy?: string;
|
|
385
|
-
id?: string;
|
|
386
|
-
name?: string;
|
|
387
|
-
openUrl?: string;
|
|
388
|
-
resourceId?: string;
|
|
389
|
-
resourceSpaceId?: string;
|
|
390
|
-
resourceType?: "app" | "dataset";
|
|
391
|
-
/** Http status code for item during batch operation. */
|
|
392
|
-
status?: number;
|
|
393
|
-
subResourceId?: string;
|
|
394
|
-
subResourceName?: string;
|
|
395
|
-
subResourceType?: "master_dimension" | "master_measure";
|
|
396
|
-
/** Describes reason for item status during batch operation. E.g. why an error occurs during creation. */
|
|
397
|
-
title?: string;
|
|
398
|
-
type?: "definition" | "related";
|
|
399
|
-
};
|
|
400
|
-
type TermRelatesTo = {
|
|
401
|
-
/** The unique identifier of the related term. NOTE! In case of import the string refers to the index of the term in the import document. */
|
|
402
|
-
termId: string;
|
|
403
|
-
/** How the term related to the other object */
|
|
404
|
-
type: "isA" | "hasA" | "seeAlso" | "synonym" | "antonym" | "classifies" | "other";
|
|
405
|
-
};
|
|
406
|
-
/**
|
|
407
|
-
* Terms status is used determine the status of a term
|
|
408
|
-
*/
|
|
409
|
-
type TermStatus = {
|
|
410
|
-
type: "draft" | "verified" | "deprecated";
|
|
411
|
-
/** Time when the state was changed */
|
|
412
|
-
updatedAt: string;
|
|
413
|
-
/** The unique identifier of the user who last changed the status of the term */
|
|
414
|
-
updatedBy: string;
|
|
415
|
-
};
|
|
416
|
-
type TermTemplate = {
|
|
417
|
-
/** Template text for new terms */
|
|
418
|
-
relatedInformation?: string;
|
|
419
|
-
};
|
|
420
|
-
type TermsResult = {
|
|
421
|
-
data: Term[];
|
|
422
|
-
links?: PageLinks;
|
|
423
|
-
meta?: ResultMeta;
|
|
424
|
-
};
|
|
425
|
-
/**
|
|
426
|
-
* Returns all glossaries.
|
|
427
|
-
*
|
|
428
|
-
* @param query an object with query parameters
|
|
429
|
-
* @throws GetGlossariesHttpError
|
|
430
|
-
*/
|
|
431
|
-
declare const getGlossaries: (query: {
|
|
432
|
-
/** Optional parameter to request total count for query */
|
|
433
|
-
countTotal?: boolean;
|
|
434
|
-
/** The number of glossaries to get. */
|
|
435
|
-
limit?: number;
|
|
436
|
-
/** Optional parameter to request the next page. */
|
|
437
|
-
next?: string;
|
|
438
|
-
/** Optional parameter to request the previous page. */
|
|
439
|
-
prev?: string;
|
|
440
|
-
/** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
441
|
-
sort?: "name" | "+name" | "-name" | "description" | "+description" | "-description";
|
|
442
|
-
}, options?: ApiCallOptions) => Promise<GetGlossariesHttpResponse>;
|
|
443
|
-
type GetGlossariesHttpResponse = {
|
|
444
|
-
data: GlossariesResult;
|
|
445
|
-
headers: Headers;
|
|
446
|
-
status: number;
|
|
447
|
-
prev?: (options?: ApiCallOptions) => Promise<GetGlossariesHttpResponse>;
|
|
448
|
-
next?: (options?: ApiCallOptions) => Promise<GetGlossariesHttpResponse>;
|
|
449
|
-
};
|
|
450
|
-
type GetGlossariesHttpError = {
|
|
451
|
-
data: ErrorResponse;
|
|
452
|
-
headers: Headers;
|
|
453
|
-
status: number;
|
|
454
|
-
};
|
|
455
|
-
/**
|
|
456
|
-
* Creates a new glossary. Only a steward can create a glossary.
|
|
457
|
-
*
|
|
458
|
-
* @param body an object with the body content
|
|
459
|
-
* @throws CreateGlossaryHttpError
|
|
460
|
-
*/
|
|
461
|
-
declare const createGlossary: (body: CreateGlossary, options?: ApiCallOptions) => Promise<CreateGlossaryHttpResponse>;
|
|
462
|
-
type CreateGlossaryHttpResponse = {
|
|
463
|
-
data: Glossary;
|
|
464
|
-
headers: Headers;
|
|
465
|
-
status: number;
|
|
466
|
-
};
|
|
467
|
-
type CreateGlossaryHttpError = {
|
|
468
|
-
data: ErrorResponse;
|
|
469
|
-
headers: Headers;
|
|
470
|
-
status: number;
|
|
471
|
-
};
|
|
472
|
-
/**
|
|
473
|
-
* Creates a new glossary, including categories and terms, based on a glossary definition file.
|
|
474
|
-
* Supported formats are currently, qlik, atlan and atlas
|
|
475
|
-
*
|
|
476
|
-
* @param query an object with query parameters
|
|
477
|
-
* @param body an object with the body content
|
|
478
|
-
* @throws ImportGlossaryHttpError
|
|
479
|
-
*/
|
|
480
|
-
declare const importGlossary: (query: {
|
|
481
|
-
/** Appending the current importer user as steward to categories/terms where no steward is defined/not match the identity service. */
|
|
482
|
-
importerAsFallbackSteward?: boolean;
|
|
483
|
-
/** Using email in the steward fields to lookup userIds in the identity service */
|
|
484
|
-
lookupUserOnEmail?: boolean;
|
|
485
|
-
/** The spaceId (leave blank or omit for personal) */
|
|
486
|
-
spaceId?: string;
|
|
487
|
-
}, body: QlikGlossary, options?: ApiCallOptions) => Promise<ImportGlossaryHttpResponse>;
|
|
488
|
-
type ImportGlossaryHttpResponse = {
|
|
489
|
-
data: Glossary;
|
|
490
|
-
headers: Headers;
|
|
491
|
-
status: number;
|
|
492
|
-
};
|
|
493
|
-
type ImportGlossary400HttpError = {
|
|
494
|
-
data: ErrorResponseBadRequest;
|
|
495
|
-
headers: Headers;
|
|
496
|
-
status: 400;
|
|
497
|
-
};
|
|
498
|
-
type ImportGlossary403HttpError = {
|
|
499
|
-
data: ErrorResponseForbidden;
|
|
500
|
-
headers: Headers;
|
|
501
|
-
status: 403;
|
|
502
|
-
};
|
|
503
|
-
type ImportGlossary404HttpError = {
|
|
504
|
-
data: ErrorResponseNotFound;
|
|
505
|
-
headers: Headers;
|
|
506
|
-
status: 404;
|
|
507
|
-
};
|
|
508
|
-
type ImportGlossaryHttpError = ImportGlossary400HttpError | ImportGlossary403HttpError | ImportGlossary404HttpError;
|
|
509
|
-
/**
|
|
510
|
-
* Deletes a glossary and all of its terms.
|
|
511
|
-
*
|
|
512
|
-
* @param id The id of the glossary to delete.
|
|
513
|
-
* @throws DeleteGlossaryHttpError
|
|
514
|
-
*/
|
|
515
|
-
declare const deleteGlossary: (id: string, options?: ApiCallOptions) => Promise<DeleteGlossaryHttpResponse>;
|
|
516
|
-
type DeleteGlossaryHttpResponse = {
|
|
517
|
-
data: void;
|
|
518
|
-
headers: Headers;
|
|
519
|
-
status: number;
|
|
520
|
-
};
|
|
521
|
-
type DeleteGlossaryHttpError = {
|
|
522
|
-
data: ErrorResponse;
|
|
523
|
-
headers: Headers;
|
|
524
|
-
status: number;
|
|
525
|
-
};
|
|
526
|
-
/**
|
|
527
|
-
* Retrieves a glossary.
|
|
528
|
-
*
|
|
529
|
-
* @param id The id of the glossary to retrieve.
|
|
530
|
-
* @throws GetGlossaryHttpError
|
|
531
|
-
*/
|
|
532
|
-
declare const getGlossary: (id: string, options?: ApiCallOptions) => Promise<GetGlossaryHttpResponse>;
|
|
533
|
-
type GetGlossaryHttpResponse = {
|
|
534
|
-
data: Glossary;
|
|
535
|
-
headers: Headers;
|
|
536
|
-
status: number;
|
|
537
|
-
};
|
|
538
|
-
type GetGlossaryHttpError = {
|
|
539
|
-
data: ErrorResponse;
|
|
540
|
-
headers: Headers;
|
|
541
|
-
status: number;
|
|
542
|
-
};
|
|
543
|
-
/**
|
|
544
|
-
* Updates glossary properties with json-patch formated data
|
|
545
|
-
*
|
|
546
|
-
* @param id The glossary id.
|
|
547
|
-
* @param body an object with the body content
|
|
548
|
-
* @throws PatchGlossaryHttpError
|
|
549
|
-
*/
|
|
550
|
-
declare const patchGlossary: (id: string, body: JSONPatchArray, options?: ApiCallOptions) => Promise<PatchGlossaryHttpResponse>;
|
|
551
|
-
type PatchGlossaryHttpResponse = {
|
|
552
|
-
data: void;
|
|
553
|
-
headers: Headers;
|
|
554
|
-
status: number;
|
|
555
|
-
};
|
|
556
|
-
type PatchGlossaryHttpError = {
|
|
557
|
-
data: ErrorResponse;
|
|
558
|
-
headers: Headers;
|
|
559
|
-
status: number;
|
|
560
|
-
};
|
|
561
|
-
/**
|
|
562
|
-
* Updates a glossary.
|
|
563
|
-
*
|
|
564
|
-
* @param id The id of the glossary to update.
|
|
565
|
-
* @param body an object with the body content
|
|
566
|
-
* @throws UpdateGlossaryHttpError
|
|
567
|
-
*/
|
|
568
|
-
declare const updateGlossary: (id: string, body: CreateGlossary, options?: ApiCallOptions) => Promise<UpdateGlossaryHttpResponse>;
|
|
569
|
-
type UpdateGlossaryHttpResponse = {
|
|
570
|
-
data: Glossary;
|
|
571
|
-
headers: Headers;
|
|
572
|
-
status: number;
|
|
573
|
-
};
|
|
574
|
-
type UpdateGlossaryHttpError = {
|
|
575
|
-
data: ErrorResponse;
|
|
576
|
-
headers: Headers;
|
|
577
|
-
status: number;
|
|
578
|
-
};
|
|
579
|
-
/**
|
|
580
|
-
* Exports a glossary.
|
|
581
|
-
*
|
|
582
|
-
* @param id The glossary id.
|
|
583
|
-
* @throws ExportGlossaryHttpError
|
|
584
|
-
*/
|
|
585
|
-
declare const exportGlossary: (id: string, options?: ApiCallOptions) => Promise<ExportGlossaryHttpResponse>;
|
|
586
|
-
type ExportGlossaryHttpResponse = {
|
|
587
|
-
data: ExportGlossary;
|
|
588
|
-
headers: Headers;
|
|
589
|
-
status: number;
|
|
590
|
-
};
|
|
591
|
-
type ExportGlossaryHttpError = {
|
|
592
|
-
data: ErrorResponse;
|
|
593
|
-
headers: Headers;
|
|
594
|
-
status: number;
|
|
595
|
-
};
|
|
596
|
-
/**
|
|
597
|
-
* Returns a list of categories for a glossary.
|
|
598
|
-
*
|
|
599
|
-
* @param id The glossary id.
|
|
600
|
-
* @param query an object with query parameters
|
|
601
|
-
* @throws GetGlossaryCategoriesHttpError
|
|
602
|
-
*/
|
|
603
|
-
declare const getGlossaryCategories: (id: string, query: {
|
|
604
|
-
/** Optional parameter to request total count for query */
|
|
605
|
-
countTotal?: boolean;
|
|
606
|
-
/** The number of terms to get. */
|
|
607
|
-
limit?: number;
|
|
608
|
-
/** Optional parameter to request the next page. */
|
|
609
|
-
next?: string;
|
|
610
|
-
/** Optional parameter to request the previous page. */
|
|
611
|
-
prev?: string;
|
|
612
|
-
/** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
613
|
-
sort?: "description" | "+description" | "-description" | "name" | "+name" | "-name" | "update" | "+update" | "-update";
|
|
614
|
-
}, options?: ApiCallOptions) => Promise<GetGlossaryCategoriesHttpResponse>;
|
|
615
|
-
type GetGlossaryCategoriesHttpResponse = {
|
|
616
|
-
data: CategoriesResult;
|
|
617
|
-
headers: Headers;
|
|
618
|
-
status: number;
|
|
619
|
-
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryCategoriesHttpResponse>;
|
|
620
|
-
next?: (options?: ApiCallOptions) => Promise<GetGlossaryCategoriesHttpResponse>;
|
|
621
|
-
};
|
|
622
|
-
type GetGlossaryCategoriesHttpError = {
|
|
623
|
-
data: ErrorResponse;
|
|
624
|
-
headers: Headers;
|
|
625
|
-
status: number;
|
|
626
|
-
};
|
|
627
|
-
/**
|
|
628
|
-
* Creates a new category.
|
|
629
|
-
*
|
|
630
|
-
* @param id The glossary id.
|
|
631
|
-
* @param body an object with the body content
|
|
632
|
-
* @throws CreateGlossaryCategoryHttpError
|
|
633
|
-
*/
|
|
634
|
-
declare const createGlossaryCategory: (id: string, body: CreateCategory, options?: ApiCallOptions) => Promise<CreateGlossaryCategoryHttpResponse>;
|
|
635
|
-
type CreateGlossaryCategoryHttpResponse = {
|
|
636
|
-
data: Category;
|
|
637
|
-
headers: Headers;
|
|
638
|
-
status: number;
|
|
639
|
-
};
|
|
640
|
-
type CreateGlossaryCategoryHttpError = {
|
|
641
|
-
data: ErrorResponse;
|
|
642
|
-
headers: Headers;
|
|
643
|
-
status: number;
|
|
644
|
-
};
|
|
645
|
-
/**
|
|
646
|
-
* Deletes a category.
|
|
647
|
-
*
|
|
648
|
-
* @param id The id of the glossary.
|
|
649
|
-
* @param categoryId The id for the category to delete. All subcategories are also deleted
|
|
650
|
-
* @throws DeleteGlossaryCategoryHttpError
|
|
651
|
-
*/
|
|
652
|
-
declare const deleteGlossaryCategory: (id: string, categoryId: string, options?: ApiCallOptions) => Promise<DeleteGlossaryCategoryHttpResponse>;
|
|
653
|
-
type DeleteGlossaryCategoryHttpResponse = {
|
|
654
|
-
data: void;
|
|
655
|
-
headers: Headers;
|
|
656
|
-
status: number;
|
|
657
|
-
};
|
|
658
|
-
type DeleteGlossaryCategoryHttpError = {
|
|
659
|
-
data: ErrorResponse;
|
|
660
|
-
headers: Headers;
|
|
661
|
-
status: number;
|
|
662
|
-
};
|
|
663
|
-
/**
|
|
664
|
-
* Retrieves a category.
|
|
665
|
-
*
|
|
666
|
-
* @param id The glossary id.
|
|
667
|
-
* @param categoryId The category id.
|
|
668
|
-
* @throws GetGlossaryCategoryHttpError
|
|
669
|
-
*/
|
|
670
|
-
declare const getGlossaryCategory: (id: string, categoryId: string, options?: ApiCallOptions) => Promise<GetGlossaryCategoryHttpResponse>;
|
|
671
|
-
type GetGlossaryCategoryHttpResponse = {
|
|
672
|
-
data: Category;
|
|
673
|
-
headers: Headers;
|
|
674
|
-
status: number;
|
|
675
|
-
};
|
|
676
|
-
type GetGlossaryCategoryHttpError = {
|
|
677
|
-
data: ErrorResponse;
|
|
678
|
-
headers: Headers;
|
|
679
|
-
status: number;
|
|
680
|
-
};
|
|
681
|
-
/**
|
|
682
|
-
* Updates category properties with json-patch formated data
|
|
683
|
-
*
|
|
684
|
-
* @param id The glossary id.
|
|
685
|
-
* @param categoryId The category id.
|
|
686
|
-
* @param body an object with the body content
|
|
687
|
-
* @throws PatchGlossaryCategoryHttpError
|
|
688
|
-
*/
|
|
689
|
-
declare const patchGlossaryCategory: (id: string, categoryId: string, body: JSONPatchArray, options?: ApiCallOptions) => Promise<PatchGlossaryCategoryHttpResponse>;
|
|
690
|
-
type PatchGlossaryCategoryHttpResponse = {
|
|
691
|
-
data: void;
|
|
692
|
-
headers: Headers;
|
|
693
|
-
status: number;
|
|
694
|
-
};
|
|
695
|
-
type PatchGlossaryCategoryHttpError = {
|
|
696
|
-
data: ErrorResponse;
|
|
697
|
-
headers: Headers;
|
|
698
|
-
status: number;
|
|
699
|
-
};
|
|
700
|
-
/**
|
|
701
|
-
* Updates a category.
|
|
702
|
-
*
|
|
703
|
-
* @param id The glossary id.
|
|
704
|
-
* @param categoryId The category id.
|
|
705
|
-
* @param body an object with the body content
|
|
706
|
-
* @throws UpdateGlossaryCategoryHttpError
|
|
707
|
-
*/
|
|
708
|
-
declare const updateGlossaryCategory: (id: string, categoryId: string, body: CreateCategory, options?: ApiCallOptions) => Promise<UpdateGlossaryCategoryHttpResponse>;
|
|
709
|
-
type UpdateGlossaryCategoryHttpResponse = {
|
|
710
|
-
data: Category;
|
|
711
|
-
headers: Headers;
|
|
712
|
-
status: number;
|
|
713
|
-
};
|
|
714
|
-
type UpdateGlossaryCategoryHttpError = {
|
|
715
|
-
data: ErrorResponse;
|
|
716
|
-
headers: Headers;
|
|
717
|
-
status: number;
|
|
718
|
-
};
|
|
719
|
-
/**
|
|
720
|
-
* Returns a list of terms for a glossary.
|
|
721
|
-
*
|
|
722
|
-
* @param id The glossary id.
|
|
723
|
-
* @param query an object with query parameters
|
|
724
|
-
* @throws GetGlossaryTermsHttpError
|
|
725
|
-
*/
|
|
726
|
-
declare const getGlossaryTerms: (id: string, query: {
|
|
727
|
-
/** Optional parameter to request total count for query */
|
|
728
|
-
countTotal?: boolean;
|
|
729
|
-
/** Optional SCIM filter to be used to filter terms
|
|
730
|
-
* Usable fields are
|
|
731
|
-
*
|
|
732
|
-
* - id
|
|
733
|
-
* - name
|
|
734
|
-
* - relatedInformation
|
|
735
|
-
* - description
|
|
736
|
-
* - abbreviation
|
|
737
|
-
* - tags
|
|
738
|
-
* - stewards
|
|
739
|
-
* - status
|
|
740
|
-
* - categories */
|
|
741
|
-
filter?: string;
|
|
742
|
-
/** The number of terms to get. */
|
|
743
|
-
limit?: number;
|
|
744
|
-
/** Optional parameter to request the next page. */
|
|
745
|
-
next?: string;
|
|
746
|
-
/** Optional parameter to request the previous page. */
|
|
747
|
-
prev?: string;
|
|
748
|
-
/** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
749
|
-
sort?: "abbreviation" | "+abbreviation" | "-abbreviation" | "description" | "+description" | "-description" | "name" | "+name" | "-name" | "status" | "+status" | "-status" | "updated" | "+updated" | "-updated";
|
|
750
|
-
}, options?: ApiCallOptions) => Promise<GetGlossaryTermsHttpResponse>;
|
|
751
|
-
type GetGlossaryTermsHttpResponse = {
|
|
752
|
-
data: TermsResult;
|
|
753
|
-
headers: Headers;
|
|
754
|
-
status: number;
|
|
755
|
-
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermsHttpResponse>;
|
|
756
|
-
next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermsHttpResponse>;
|
|
757
|
-
};
|
|
758
|
-
type GetGlossaryTermsHttpError = {
|
|
759
|
-
data: ErrorResponse;
|
|
760
|
-
headers: Headers;
|
|
761
|
-
status: number;
|
|
762
|
-
};
|
|
763
|
-
/**
|
|
764
|
-
* Creates a new term.
|
|
765
|
-
*
|
|
766
|
-
* @param id The glossary id.
|
|
767
|
-
* @param body an object with the body content
|
|
768
|
-
* @throws CreateGlossaryTermHttpError
|
|
769
|
-
*/
|
|
770
|
-
declare const createGlossaryTerm: (id: string, body: CreateTerm, options?: ApiCallOptions) => Promise<CreateGlossaryTermHttpResponse>;
|
|
771
|
-
type CreateGlossaryTermHttpResponse = {
|
|
772
|
-
data: Term;
|
|
773
|
-
headers: Headers;
|
|
774
|
-
status: number;
|
|
775
|
-
};
|
|
776
|
-
type CreateGlossaryTermHttpError = {
|
|
777
|
-
data: ErrorResponse;
|
|
778
|
-
headers: Headers;
|
|
779
|
-
status: number;
|
|
780
|
-
};
|
|
781
|
-
/**
|
|
782
|
-
* Deletes a term.
|
|
783
|
-
*
|
|
784
|
-
* @param id The glossary id.
|
|
785
|
-
* @param termId The term id.
|
|
786
|
-
* @throws DeleteGlossaryTermHttpError
|
|
787
|
-
*/
|
|
788
|
-
declare const deleteGlossaryTerm: (id: string, termId: string, options?: ApiCallOptions) => Promise<DeleteGlossaryTermHttpResponse>;
|
|
789
|
-
type DeleteGlossaryTermHttpResponse = {
|
|
790
|
-
data: void;
|
|
791
|
-
headers: Headers;
|
|
792
|
-
status: number;
|
|
793
|
-
};
|
|
794
|
-
type DeleteGlossaryTermHttpError = {
|
|
795
|
-
data: ErrorResponse;
|
|
796
|
-
headers: Headers;
|
|
797
|
-
status: number;
|
|
798
|
-
};
|
|
799
|
-
/**
|
|
800
|
-
* Retrieves a term.
|
|
801
|
-
*
|
|
802
|
-
* @param id The glossary id.
|
|
803
|
-
* @param termId The term id.
|
|
804
|
-
* @throws GetGlossaryTermHttpError
|
|
805
|
-
*/
|
|
806
|
-
declare const getGlossaryTerm: (id: string, termId: string, options?: ApiCallOptions) => Promise<GetGlossaryTermHttpResponse>;
|
|
807
|
-
type GetGlossaryTermHttpResponse = {
|
|
808
|
-
data: Term;
|
|
809
|
-
headers: Headers;
|
|
810
|
-
status: number;
|
|
811
|
-
};
|
|
812
|
-
type GetGlossaryTermHttpError = {
|
|
813
|
-
data: ErrorResponse;
|
|
814
|
-
headers: Headers;
|
|
815
|
-
status: number;
|
|
816
|
-
};
|
|
817
|
-
/**
|
|
818
|
-
* Updates term properties with json-patch formated data
|
|
819
|
-
*
|
|
820
|
-
* @param id The glossary id.
|
|
821
|
-
* @param termId The term id.
|
|
822
|
-
* @param body an object with the body content
|
|
823
|
-
* @throws PatchGlossaryTermHttpError
|
|
824
|
-
*/
|
|
825
|
-
declare const patchGlossaryTerm: (id: string, termId: string, body: JSONPatchArray, options?: ApiCallOptions) => Promise<PatchGlossaryTermHttpResponse>;
|
|
826
|
-
type PatchGlossaryTermHttpResponse = {
|
|
827
|
-
data: void;
|
|
828
|
-
headers: Headers;
|
|
829
|
-
status: number;
|
|
830
|
-
};
|
|
831
|
-
type PatchGlossaryTermHttpError = {
|
|
832
|
-
data: ErrorResponse;
|
|
833
|
-
headers: Headers;
|
|
834
|
-
status: number;
|
|
835
|
-
};
|
|
836
|
-
/**
|
|
837
|
-
* Updates a term.
|
|
838
|
-
*
|
|
839
|
-
* @param id The glossary id.
|
|
840
|
-
* @param termId The term id.
|
|
841
|
-
* @param body an object with the body content
|
|
842
|
-
* @throws UpdateGlossaryTermHttpError
|
|
843
|
-
*/
|
|
844
|
-
declare const updateGlossaryTerm: (id: string, termId: string, body: CreateTerm, options?: ApiCallOptions) => Promise<UpdateGlossaryTermHttpResponse>;
|
|
845
|
-
type UpdateGlossaryTermHttpResponse = {
|
|
846
|
-
data: Term;
|
|
847
|
-
headers: Headers;
|
|
848
|
-
status: number;
|
|
849
|
-
};
|
|
850
|
-
type UpdateGlossaryTermHttpError = {
|
|
851
|
-
data: ErrorResponse;
|
|
852
|
-
headers: Headers;
|
|
853
|
-
status: number;
|
|
854
|
-
};
|
|
855
|
-
/**
|
|
856
|
-
* Changes the status of the term. Only a steward can verify a term. Once the term is verified only a steward can modify the term.
|
|
857
|
-
*
|
|
858
|
-
* @param id The glossary id.
|
|
859
|
-
* @param termId The term id.
|
|
860
|
-
* @param query an object with query parameters
|
|
861
|
-
* @throws ChangeGlossaryTermStatusHttpError
|
|
862
|
-
*/
|
|
863
|
-
declare const changeGlossaryTermStatus: (id: string, termId: string, query: {
|
|
864
|
-
/** The status to update to. */
|
|
865
|
-
status?: "draft" | "verified" | "deprecated";
|
|
866
|
-
}, options?: ApiCallOptions) => Promise<ChangeGlossaryTermStatusHttpResponse>;
|
|
867
|
-
type ChangeGlossaryTermStatusHttpResponse = {
|
|
868
|
-
data: Term;
|
|
869
|
-
headers: Headers;
|
|
870
|
-
status: number;
|
|
871
|
-
};
|
|
872
|
-
type ChangeGlossaryTermStatusHttpError = {
|
|
873
|
-
data: ErrorResponse;
|
|
874
|
-
headers: Headers;
|
|
875
|
-
status: number;
|
|
876
|
-
};
|
|
877
|
-
/**
|
|
878
|
-
* Returns a list of links assigned to a term.
|
|
879
|
-
*
|
|
880
|
-
* @param id The glossary id.
|
|
881
|
-
* @param termId The term id.
|
|
882
|
-
* @param query an object with query parameters
|
|
883
|
-
* @throws GetGlossaryTermLinksHttpError
|
|
884
|
-
*/
|
|
885
|
-
declare const getGlossaryTermLinks: (id: string, termId: string, query: {
|
|
886
|
-
/** Optional parameter to request total count for query */
|
|
887
|
-
countTotal?: boolean;
|
|
888
|
-
/** Optional SCIM filter to be used to filter terms */
|
|
889
|
-
filter?: string;
|
|
890
|
-
/** The number of terms to get. */
|
|
891
|
-
limit?: number;
|
|
892
|
-
/** Optional parameter to request the next page. */
|
|
893
|
-
next?: string;
|
|
894
|
-
/** Optional parameter to request the previous page. */
|
|
895
|
-
prev?: string;
|
|
896
|
-
/** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
897
|
-
sort?: "type" | "+type" | "-type" | "subtype" | "+subtype" | "-subtype" | "created" | "+created" | "-created";
|
|
898
|
-
}, options?: ApiCallOptions) => Promise<GetGlossaryTermLinksHttpResponse>;
|
|
899
|
-
type GetGlossaryTermLinksHttpResponse = {
|
|
900
|
-
data: LinksResult;
|
|
901
|
-
headers: Headers;
|
|
902
|
-
status: number;
|
|
903
|
-
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermLinksHttpResponse>;
|
|
904
|
-
next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermLinksHttpResponse>;
|
|
905
|
-
};
|
|
906
|
-
type GetGlossaryTermLinksHttpError = {
|
|
907
|
-
data: ErrorResponse;
|
|
908
|
-
headers: Headers;
|
|
909
|
-
status: number;
|
|
910
|
-
};
|
|
911
|
-
/**
|
|
912
|
-
* Creates a new link to a term.
|
|
913
|
-
*
|
|
914
|
-
* @param id The glossary id.
|
|
915
|
-
* @param termId The term id.
|
|
916
|
-
* @param body an object with the body content
|
|
917
|
-
* @throws CreateGlossaryTermLinkHttpError
|
|
918
|
-
*/
|
|
919
|
-
declare const createGlossaryTermLink: (id: string, termId: string, body: TermCreateLinksTo, options?: ApiCallOptions) => Promise<CreateGlossaryTermLinkHttpResponse>;
|
|
920
|
-
type CreateGlossaryTermLinkHttpResponse = {
|
|
921
|
-
data: TermLinksTo;
|
|
922
|
-
headers: Headers;
|
|
923
|
-
status: number;
|
|
924
|
-
};
|
|
925
|
-
type CreateGlossaryTermLinkHttpError = {
|
|
926
|
-
data: ErrorResponse;
|
|
927
|
-
headers: Headers;
|
|
928
|
-
status: number;
|
|
929
|
-
};
|
|
930
|
-
/**
|
|
931
|
-
* Retrieves previous revisions of a term.
|
|
932
|
-
*
|
|
933
|
-
* @param id The glossary id.
|
|
934
|
-
* @param termId The term id.
|
|
935
|
-
* @param query an object with query parameters
|
|
936
|
-
* @throws GetGlossaryTermRevisionsHttpError
|
|
937
|
-
*/
|
|
938
|
-
declare const getGlossaryTermRevisions: (id: string, termId: string, query: {
|
|
939
|
-
/** Optional parameter to request total count for query */
|
|
940
|
-
countTotal?: boolean;
|
|
941
|
-
/** The number of terms to get. */
|
|
942
|
-
limit?: number;
|
|
943
|
-
/** Optional parameter to request the next page. */
|
|
944
|
-
next?: string;
|
|
945
|
-
/** Optional parameter to request the previous page. */
|
|
946
|
-
prev?: string;
|
|
947
|
-
/** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
|
|
948
|
-
sort?: "update" | "+update" | "-update";
|
|
949
|
-
}, options?: ApiCallOptions) => Promise<GetGlossaryTermRevisionsHttpResponse>;
|
|
950
|
-
type GetGlossaryTermRevisionsHttpResponse = {
|
|
951
|
-
data: TermsResult;
|
|
952
|
-
headers: Headers;
|
|
953
|
-
status: number;
|
|
954
|
-
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermRevisionsHttpResponse>;
|
|
955
|
-
next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermRevisionsHttpResponse>;
|
|
956
|
-
};
|
|
957
|
-
type GetGlossaryTermRevisionsHttpError = {
|
|
958
|
-
data: ErrorResponse;
|
|
959
|
-
headers: Headers;
|
|
960
|
-
status: number;
|
|
961
|
-
};
|
|
962
|
-
/**
|
|
963
|
-
* Clears the cache for glossaries api requests.
|
|
964
|
-
*/
|
|
965
|
-
declare function clearCache(): void;
|
|
966
|
-
interface GlossariesAPI {
|
|
967
|
-
/**
|
|
968
|
-
* Returns all glossaries.
|
|
969
|
-
*
|
|
970
|
-
* @param query an object with query parameters
|
|
971
|
-
* @throws GetGlossariesHttpError
|
|
972
|
-
*/
|
|
973
|
-
getGlossaries: typeof getGlossaries;
|
|
974
|
-
/**
|
|
975
|
-
* Creates a new glossary. Only a steward can create a glossary.
|
|
976
|
-
*
|
|
977
|
-
* @param body an object with the body content
|
|
978
|
-
* @throws CreateGlossaryHttpError
|
|
979
|
-
*/
|
|
980
|
-
createGlossary: typeof createGlossary;
|
|
981
|
-
/**
|
|
982
|
-
* Creates a new glossary, including categories and terms, based on a glossary definition file.
|
|
983
|
-
* Supported formats are currently, qlik, atlan and atlas
|
|
984
|
-
*
|
|
985
|
-
* @param query an object with query parameters
|
|
986
|
-
* @param body an object with the body content
|
|
987
|
-
* @throws ImportGlossaryHttpError
|
|
988
|
-
*/
|
|
989
|
-
importGlossary: typeof importGlossary;
|
|
990
|
-
/**
|
|
991
|
-
* Deletes a glossary and all of its terms.
|
|
992
|
-
*
|
|
993
|
-
* @param id The id of the glossary to delete.
|
|
994
|
-
* @throws DeleteGlossaryHttpError
|
|
995
|
-
*/
|
|
996
|
-
deleteGlossary: typeof deleteGlossary;
|
|
997
|
-
/**
|
|
998
|
-
* Retrieves a glossary.
|
|
999
|
-
*
|
|
1000
|
-
* @param id The id of the glossary to retrieve.
|
|
1001
|
-
* @throws GetGlossaryHttpError
|
|
1002
|
-
*/
|
|
1003
|
-
getGlossary: typeof getGlossary;
|
|
1004
|
-
/**
|
|
1005
|
-
* Updates glossary properties with json-patch formated data
|
|
1006
|
-
*
|
|
1007
|
-
* @param id The glossary id.
|
|
1008
|
-
* @param body an object with the body content
|
|
1009
|
-
* @throws PatchGlossaryHttpError
|
|
1010
|
-
*/
|
|
1011
|
-
patchGlossary: typeof patchGlossary;
|
|
1012
|
-
/**
|
|
1013
|
-
* Updates a glossary.
|
|
1014
|
-
*
|
|
1015
|
-
* @param id The id of the glossary to update.
|
|
1016
|
-
* @param body an object with the body content
|
|
1017
|
-
* @throws UpdateGlossaryHttpError
|
|
1018
|
-
*/
|
|
1019
|
-
updateGlossary: typeof updateGlossary;
|
|
1020
|
-
/**
|
|
1021
|
-
* Exports a glossary.
|
|
1022
|
-
*
|
|
1023
|
-
* @param id The glossary id.
|
|
1024
|
-
* @throws ExportGlossaryHttpError
|
|
1025
|
-
*/
|
|
1026
|
-
exportGlossary: typeof exportGlossary;
|
|
1027
|
-
/**
|
|
1028
|
-
* Returns a list of categories for a glossary.
|
|
1029
|
-
*
|
|
1030
|
-
* @param id The glossary id.
|
|
1031
|
-
* @param query an object with query parameters
|
|
1032
|
-
* @throws GetGlossaryCategoriesHttpError
|
|
1033
|
-
*/
|
|
1034
|
-
getGlossaryCategories: typeof getGlossaryCategories;
|
|
1035
|
-
/**
|
|
1036
|
-
* Creates a new category.
|
|
1037
|
-
*
|
|
1038
|
-
* @param id The glossary id.
|
|
1039
|
-
* @param body an object with the body content
|
|
1040
|
-
* @throws CreateGlossaryCategoryHttpError
|
|
1041
|
-
*/
|
|
1042
|
-
createGlossaryCategory: typeof createGlossaryCategory;
|
|
1043
|
-
/**
|
|
1044
|
-
* Deletes a category.
|
|
1045
|
-
*
|
|
1046
|
-
* @param id The id of the glossary.
|
|
1047
|
-
* @param categoryId The id for the category to delete. All subcategories are also deleted
|
|
1048
|
-
* @throws DeleteGlossaryCategoryHttpError
|
|
1049
|
-
*/
|
|
1050
|
-
deleteGlossaryCategory: typeof deleteGlossaryCategory;
|
|
1051
|
-
/**
|
|
1052
|
-
* Retrieves a category.
|
|
1053
|
-
*
|
|
1054
|
-
* @param id The glossary id.
|
|
1055
|
-
* @param categoryId The category id.
|
|
1056
|
-
* @throws GetGlossaryCategoryHttpError
|
|
1057
|
-
*/
|
|
1058
|
-
getGlossaryCategory: typeof getGlossaryCategory;
|
|
1059
|
-
/**
|
|
1060
|
-
* Updates category properties with json-patch formated data
|
|
1061
|
-
*
|
|
1062
|
-
* @param id The glossary id.
|
|
1063
|
-
* @param categoryId The category id.
|
|
1064
|
-
* @param body an object with the body content
|
|
1065
|
-
* @throws PatchGlossaryCategoryHttpError
|
|
1066
|
-
*/
|
|
1067
|
-
patchGlossaryCategory: typeof patchGlossaryCategory;
|
|
1068
|
-
/**
|
|
1069
|
-
* Updates a category.
|
|
1070
|
-
*
|
|
1071
|
-
* @param id The glossary id.
|
|
1072
|
-
* @param categoryId The category id.
|
|
1073
|
-
* @param body an object with the body content
|
|
1074
|
-
* @throws UpdateGlossaryCategoryHttpError
|
|
1075
|
-
*/
|
|
1076
|
-
updateGlossaryCategory: typeof updateGlossaryCategory;
|
|
1077
|
-
/**
|
|
1078
|
-
* Returns a list of terms for a glossary.
|
|
1079
|
-
*
|
|
1080
|
-
* @param id The glossary id.
|
|
1081
|
-
* @param query an object with query parameters
|
|
1082
|
-
* @throws GetGlossaryTermsHttpError
|
|
1083
|
-
*/
|
|
1084
|
-
getGlossaryTerms: typeof getGlossaryTerms;
|
|
1085
|
-
/**
|
|
1086
|
-
* Creates a new term.
|
|
1087
|
-
*
|
|
1088
|
-
* @param id The glossary id.
|
|
1089
|
-
* @param body an object with the body content
|
|
1090
|
-
* @throws CreateGlossaryTermHttpError
|
|
1091
|
-
*/
|
|
1092
|
-
createGlossaryTerm: typeof createGlossaryTerm;
|
|
1093
|
-
/**
|
|
1094
|
-
* Deletes a term.
|
|
1095
|
-
*
|
|
1096
|
-
* @param id The glossary id.
|
|
1097
|
-
* @param termId The term id.
|
|
1098
|
-
* @throws DeleteGlossaryTermHttpError
|
|
1099
|
-
*/
|
|
1100
|
-
deleteGlossaryTerm: typeof deleteGlossaryTerm;
|
|
1101
|
-
/**
|
|
1102
|
-
* Retrieves a term.
|
|
1103
|
-
*
|
|
1104
|
-
* @param id The glossary id.
|
|
1105
|
-
* @param termId The term id.
|
|
1106
|
-
* @throws GetGlossaryTermHttpError
|
|
1107
|
-
*/
|
|
1108
|
-
getGlossaryTerm: typeof getGlossaryTerm;
|
|
1109
|
-
/**
|
|
1110
|
-
* Updates term properties with json-patch formated data
|
|
1111
|
-
*
|
|
1112
|
-
* @param id The glossary id.
|
|
1113
|
-
* @param termId The term id.
|
|
1114
|
-
* @param body an object with the body content
|
|
1115
|
-
* @throws PatchGlossaryTermHttpError
|
|
1116
|
-
*/
|
|
1117
|
-
patchGlossaryTerm: typeof patchGlossaryTerm;
|
|
1118
|
-
/**
|
|
1119
|
-
* Updates a term.
|
|
1120
|
-
*
|
|
1121
|
-
* @param id The glossary id.
|
|
1122
|
-
* @param termId The term id.
|
|
1123
|
-
* @param body an object with the body content
|
|
1124
|
-
* @throws UpdateGlossaryTermHttpError
|
|
1125
|
-
*/
|
|
1126
|
-
updateGlossaryTerm: typeof updateGlossaryTerm;
|
|
1127
|
-
/**
|
|
1128
|
-
* Changes the status of the term. Only a steward can verify a term. Once the term is verified only a steward can modify the term.
|
|
1129
|
-
*
|
|
1130
|
-
* @param id The glossary id.
|
|
1131
|
-
* @param termId The term id.
|
|
1132
|
-
* @param query an object with query parameters
|
|
1133
|
-
* @throws ChangeGlossaryTermStatusHttpError
|
|
1134
|
-
*/
|
|
1135
|
-
changeGlossaryTermStatus: typeof changeGlossaryTermStatus;
|
|
1136
|
-
/**
|
|
1137
|
-
* Returns a list of links assigned to a term.
|
|
1138
|
-
*
|
|
1139
|
-
* @param id The glossary id.
|
|
1140
|
-
* @param termId The term id.
|
|
1141
|
-
* @param query an object with query parameters
|
|
1142
|
-
* @throws GetGlossaryTermLinksHttpError
|
|
1143
|
-
*/
|
|
1144
|
-
getGlossaryTermLinks: typeof getGlossaryTermLinks;
|
|
1145
|
-
/**
|
|
1146
|
-
* Creates a new link to a term.
|
|
1147
|
-
*
|
|
1148
|
-
* @param id The glossary id.
|
|
1149
|
-
* @param termId The term id.
|
|
1150
|
-
* @param body an object with the body content
|
|
1151
|
-
* @throws CreateGlossaryTermLinkHttpError
|
|
1152
|
-
*/
|
|
1153
|
-
createGlossaryTermLink: typeof createGlossaryTermLink;
|
|
1154
|
-
/**
|
|
1155
|
-
* Retrieves previous revisions of a term.
|
|
1156
|
-
*
|
|
1157
|
-
* @param id The glossary id.
|
|
1158
|
-
* @param termId The term id.
|
|
1159
|
-
* @param query an object with query parameters
|
|
1160
|
-
* @throws GetGlossaryTermRevisionsHttpError
|
|
1161
|
-
*/
|
|
1162
|
-
getGlossaryTermRevisions: typeof getGlossaryTermRevisions;
|
|
1163
|
-
/**
|
|
1164
|
-
* Clears the cache for glossaries api requests.
|
|
1165
|
-
*/
|
|
1166
|
-
clearCache: typeof clearCache;
|
|
1167
|
-
}
|
|
1168
|
-
/**
|
|
1169
|
-
* Functions for the glossaries api
|
|
1170
|
-
*/
|
|
1171
|
-
declare const glossariesExport: GlossariesAPI;
|
|
1172
|
-
|
|
1173
|
-
export { type AtlanEntity, type AtlanEntityAttributes, type AtlanGlossary, type AtlanRelationEntity, type AtlanRelationshipAttributes, type AtlanResourceLink, type AtlanTermHeader, type AtlasCategory, type AtlasGlossary, type AtlasTerm, type CategoriesResult, type Category, type ChangeGlossaryTermStatusHttpError, type ChangeGlossaryTermStatusHttpResponse, type CreateCategory, type CreateGlossary, type CreateGlossaryCategoryHttpError, type CreateGlossaryCategoryHttpResponse, type CreateGlossaryHttpError, type CreateGlossaryHttpResponse, type CreateGlossaryTermHttpError, type CreateGlossaryTermHttpResponse, type CreateGlossaryTermLinkHttpError, type CreateGlossaryTermLinkHttpResponse, type CreateTerm, type DeleteGlossaryCategoryHttpError, type DeleteGlossaryCategoryHttpResponse, type DeleteGlossaryHttpError, type DeleteGlossaryHttpResponse, type DeleteGlossaryTermHttpError, type DeleteGlossaryTermHttpResponse, type ErrorResponse, type ErrorResponseBadRequest, type ErrorResponseCode, type ErrorResponseForbidden, type ErrorResponseNotFound, type ExportCategory, type ExportGlossary, type ExportGlossaryHttpError, type ExportGlossaryHttpResponse, type ExportTerm, type GetGlossariesHttpError, type GetGlossariesHttpResponse, type GetGlossaryCategoriesHttpError, type GetGlossaryCategoriesHttpResponse, type GetGlossaryCategoryHttpError, type GetGlossaryCategoryHttpResponse, type GetGlossaryHttpError, type GetGlossaryHttpResponse, type GetGlossaryTermHttpError, type GetGlossaryTermHttpResponse, type GetGlossaryTermLinksHttpError, type GetGlossaryTermLinksHttpResponse, type GetGlossaryTermRevisionsHttpError, type GetGlossaryTermRevisionsHttpResponse, type GetGlossaryTermsHttpError, type GetGlossaryTermsHttpResponse, type GlossariesAPI, type GlossariesResult, type Glossary, type ImportCategory, type ImportGlossary400HttpError, type ImportGlossary403HttpError, type ImportGlossary404HttpError, type ImportGlossaryHttpError, type ImportGlossaryHttpResponse, type ImportOwner, type ImportTerm, type JSONPatch, type JSONPatchArray, type LinksResult, type PageLink, type PageLinks, type PatchGlossaryCategoryHttpError, type PatchGlossaryCategoryHttpResponse, type PatchGlossaryHttpError, type PatchGlossaryHttpResponse, type PatchGlossaryTermHttpError, type PatchGlossaryTermHttpResponse, type QlikGlossary, type ResultMeta, type StewardDetail, type Term, type TermCreateLinksTo, type TermLinksTo, type TermRelatesTo, type TermStatus, type TermTemplate, type TermsResult, type UpdateGlossaryCategoryHttpError, type UpdateGlossaryCategoryHttpResponse, type UpdateGlossaryHttpError, type UpdateGlossaryHttpResponse, type UpdateGlossaryTermHttpError, type UpdateGlossaryTermHttpResponse, changeGlossaryTermStatus, clearCache, createGlossary, createGlossaryCategory, createGlossaryTerm, createGlossaryTermLink, glossariesExport as default, deleteGlossary, deleteGlossaryCategory, deleteGlossaryTerm, exportGlossary, getGlossaries, getGlossary, getGlossaryCategories, getGlossaryCategory, getGlossaryTerm, getGlossaryTermLinks, getGlossaryTermRevisions, getGlossaryTerms, importGlossary, patchGlossary, patchGlossaryCategory, patchGlossaryTerm, updateGlossary, updateGlossaryCategory, updateGlossaryTerm };
|