@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.
Files changed (231) hide show
  1. package/analytics/change-stores.d.ts +386 -0
  2. package/analytics/change-stores.js +123 -0
  3. package/analytics.d.ts +14 -0
  4. package/analytics.js +13 -0
  5. package/api-keys.d.ts +362 -3
  6. package/api-keys.js +2 -3
  7. package/apps.d.ts +2673 -3
  8. package/apps.js +2 -3
  9. package/assistants.d.ts +1370 -3
  10. package/assistants.js +2 -3
  11. package/audits.d.ts +318 -3
  12. package/audits.js +4 -4
  13. package/auth-types.d.ts +1 -1
  14. package/auth-types.js +1 -2
  15. package/auth.d.ts +94 -2
  16. package/auth.js +63 -3
  17. package/automation-connections.d.ts +366 -3
  18. package/automation-connections.js +2 -3
  19. package/automation-connectors.d.ts +84 -3
  20. package/automation-connectors.js +2 -3
  21. package/automations.d.ts +805 -3
  22. package/automations.js +2 -3
  23. package/automl-deployments.d.ts +101 -3
  24. package/automl-deployments.js +2 -3
  25. package/automl-predictions.d.ts +238 -3
  26. package/automl-predictions.js +2 -3
  27. package/banners.d.ts +184 -3
  28. package/banners.js +2 -3
  29. package/brands.d.ts +670 -3
  30. package/brands.js +2 -3
  31. package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
  32. package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
  33. package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
  34. package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
  35. package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
  36. package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
  37. package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
  38. package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
  39. package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
  40. package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
  41. package/collections.d.ts +582 -3
  42. package/collections.js +2 -3
  43. package/conditions.d.ts +662 -3
  44. package/conditions.js +2 -3
  45. package/consumption.d.ts +182 -3
  46. package/consumption.js +2 -3
  47. package/core/ip-policies.d.ts +328 -4
  48. package/core/ip-policies.js +108 -5
  49. package/core.d.ts +13 -4
  50. package/core.js +3 -4
  51. package/csp-origins.d.ts +273 -3
  52. package/csp-origins.js +2 -3
  53. package/csrf-token.d.ts +62 -3
  54. package/csrf-token.js +2 -3
  55. package/data-alerts.d.ts +1004 -3
  56. package/data-alerts.js +2 -3
  57. package/data-assets.d.ts +207 -3
  58. package/data-assets.js +2 -3
  59. package/data-connections.d.ts +678 -3
  60. package/data-connections.js +2 -3
  61. package/data-credentials.d.ts +292 -3
  62. package/data-credentials.js +2 -3
  63. package/data-files.d.ts +860 -3
  64. package/data-files.js +2 -3
  65. package/data-qualities.d.ts +175 -3
  66. package/data-qualities.js +2 -3
  67. package/data-sets.d.ts +424 -3
  68. package/data-sets.js +2 -3
  69. package/data-sources.d.ts +348 -3
  70. package/data-sources.js +2 -3
  71. package/data-stores.d.ts +537 -3
  72. package/data-stores.js +2 -3
  73. package/dcaas.d.ts +192 -3
  74. package/dcaas.js +2 -3
  75. package/di-projects.d.ts +812 -4
  76. package/di-projects.js +25 -4
  77. package/direct-access-agents.d.ts +710 -4
  78. package/direct-access-agents.js +37 -5
  79. package/docs/authentication.md +1 -1
  80. package/encryption.d.ts +372 -3
  81. package/encryption.js +2 -3
  82. package/extensions.d.ts +295 -3
  83. package/extensions.js +2 -3
  84. package/global-types.d.ts +1 -1
  85. package/global-types.js +0 -2
  86. package/glossaries.d.ts +1223 -3
  87. package/glossaries.js +2 -3
  88. package/groups.d.ts +510 -3
  89. package/groups.js +2 -3
  90. package/identity-providers.d.ts +711 -3
  91. package/identity-providers.js +2 -3
  92. package/index.d.ts +78 -69
  93. package/index.js +28 -10
  94. package/interceptors.d.ts +52 -3
  95. package/interceptors.js +1 -2
  96. package/invoke-fetch-types.d.ts +1 -1
  97. package/items.d.ts +536 -3
  98. package/items.js +2 -3
  99. package/knowledgebases.d.ts +976 -3
  100. package/knowledgebases.js +2 -3
  101. package/licenses.d.ts +663 -3
  102. package/licenses.js +2 -3
  103. package/lineage-graphs.d.ts +704 -3
  104. package/lineage-graphs.js +2 -3
  105. package/ml.d.ts +2808 -3
  106. package/ml.js +2 -3
  107. package/notes.d.ts +110 -3
  108. package/notes.js +2 -3
  109. package/notifications.d.ts +98 -3
  110. package/notifications.js +2 -3
  111. package/oauth-callback.iife.js +1151 -0
  112. package/oauth-clients.d.ts +562 -3
  113. package/oauth-clients.js +2 -3
  114. package/oauth-tokens.d.ts +126 -3
  115. package/oauth-tokens.js +2 -3
  116. package/package.json +6 -4
  117. package/qix.d.ts +3 -3
  118. package/qix.js +38 -3
  119. package/questions.d.ts +364 -3
  120. package/questions.js +2 -3
  121. package/quotas.d.ts +112 -3
  122. package/quotas.js +2 -3
  123. package/reload-tasks.d.ts +249 -3
  124. package/reload-tasks.js +2 -3
  125. package/reloads.d.ts +260 -3
  126. package/reloads.js +2 -3
  127. package/report-templates.d.ts +287 -3
  128. package/report-templates.js +2 -3
  129. package/reports.d.ts +863 -3
  130. package/reports.js +2 -3
  131. package/roles.d.ts +312 -3
  132. package/roles.js +2 -3
  133. package/sharing-tasks.d.ts +1164 -3
  134. package/sharing-tasks.js +2 -3
  135. package/spaces.d.ts +779 -3
  136. package/spaces.js +2 -3
  137. package/tasks.d.ts +564 -3
  138. package/tasks.js +2 -3
  139. package/temp-contents.d.ts +167 -3
  140. package/temp-contents.js +2 -3
  141. package/tenants.d.ts +360 -3
  142. package/tenants.js +2 -3
  143. package/themes.d.ts +270 -3
  144. package/themes.js +2 -3
  145. package/transports.d.ts +435 -4
  146. package/transports.js +20 -5
  147. package/ui-config.d.ts +274 -3
  148. package/ui-config.js +2 -3
  149. package/users.d.ts +674 -3
  150. package/users.js +2 -3
  151. package/web-integrations.d.ts +294 -3
  152. package/web-integrations.js +2 -3
  153. package/web-notifications.d.ts +273 -3
  154. package/web-notifications.js +2 -3
  155. package/webhooks.d.ts +505 -3
  156. package/webhooks.js +2 -3
  157. package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
  158. package/chunks/apps-BwpXUGDb.d.ts +0 -2673
  159. package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
  160. package/chunks/audits-DakwzT97.d.ts +0 -316
  161. package/chunks/auth-6mptVm5Q.d.ts +0 -95
  162. package/chunks/auth-D11iO7ZV.js +0 -65
  163. package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
  164. package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
  165. package/chunks/automations-BGy83EBO.d.ts +0 -797
  166. package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
  167. package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
  168. package/chunks/banners-CgBRnZGv.d.ts +0 -184
  169. package/chunks/brands-DCgk6Gqx.d.ts +0 -671
  170. package/chunks/collections-BpYjcpIY.d.ts +0 -582
  171. package/chunks/conditions-CJJG7Uph.d.ts +0 -662
  172. package/chunks/consumption-DerFk437.d.ts +0 -182
  173. package/chunks/core-DQXNZdnf.d.ts +0 -12
  174. package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
  175. package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
  176. package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
  177. package/chunks/data-assets-CJDcssoX.d.ts +0 -207
  178. package/chunks/data-connections-VSB13K6g.d.ts +0 -678
  179. package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
  180. package/chunks/data-files-CVzn9M6V.d.ts +0 -860
  181. package/chunks/data-qualities-DBrot957.d.ts +0 -176
  182. package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
  183. package/chunks/data-sources-IsAaof_C.d.ts +0 -346
  184. package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
  185. package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
  186. package/chunks/di-projects-DVQTxASr.d.ts +0 -777
  187. package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
  188. package/chunks/encryption-BjA6xbCO.d.ts +0 -372
  189. package/chunks/extensions-OO0WtInj.d.ts +0 -294
  190. package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
  191. package/chunks/groups-C86-UG7S.d.ts +0 -511
  192. package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
  193. package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
  194. package/chunks/interceptors-DTYm37AU.js +0 -104
  195. package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
  196. package/chunks/ip-policies-DXlf172B.js +0 -108
  197. package/chunks/items-C-jzqvFW.d.ts +0 -536
  198. package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
  199. package/chunks/licenses-xzjnkitW.d.ts +0 -663
  200. package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
  201. package/chunks/ml-Abt2MUva.d.ts +0 -2809
  202. package/chunks/notes-BZxuyDgt.d.ts +0 -111
  203. package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
  204. package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
  205. package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
  206. package/chunks/qix-CYQsLyGQ.js +0 -40
  207. package/chunks/questions-BVp0tvNs.d.ts +0 -364
  208. package/chunks/quotas-CfAebRJd.d.ts +0 -113
  209. package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
  210. package/chunks/reloads-CwmagnFx.d.ts +0 -260
  211. package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
  212. package/chunks/reports-DzNC6Uq3.d.ts +0 -861
  213. package/chunks/roles-BYFIY6E7.d.ts +0 -312
  214. package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
  215. package/chunks/spaces-BK823t-b.d.ts +0 -780
  216. package/chunks/tasks-COKDfShO.d.ts +0 -564
  217. package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
  218. package/chunks/tenants-Bhn86519.d.ts +0 -361
  219. package/chunks/themes-v9NbhiBo.d.ts +0 -269
  220. package/chunks/transports-CqEiFxD3.d.ts +0 -362
  221. package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
  222. package/chunks/users-BSOBU_fg.d.ts +0 -675
  223. package/chunks/web-integrations-MisPAHod.d.ts +0 -295
  224. package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
  225. package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
  226. /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
  227. /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
  228. /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
  229. /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
  230. /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
  231. /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
@@ -1,1213 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/glossaries.d.ts
4
-
5
- /**
6
- * A JSON Patch document as defined in https://tools.ietf.org/html/rfc6902.
7
- */
8
- type JSONPatch = {
9
- /** The operation to be performed. */
10
- op: "replace";
11
- /** A JSON Pointer. */
12
- path: string;
13
- /** The value to be used for this operation. */
14
- value: string | number;
15
- };
16
- /**
17
- * An array of JSON Patch documents
18
- * @example
19
- * [
20
- * {
21
- * op: "replace",
22
- * path: "/name",
23
- * value: "new name"
24
- * },
25
- * {
26
- * op: "replace",
27
- * path: "/description",
28
- * value: "new description"
29
- * }
30
- * ]
31
- */
32
- type JSONPatchArray = JSONPatch[];
33
- type AtlanEntity = {
34
- attributes?: AtlanEntityAttributes;
35
- guid?: string;
36
- labels?: string[];
37
- relationshipAttributes?: AtlanRelationshipAttributes;
38
- status?: string;
39
- typeName?: string;
40
- };
41
- type AtlanEntityAttributes = {
42
- abbreviation?: string;
43
- displayText?: string;
44
- examples?: unknown;
45
- guid?: string;
46
- name?: string;
47
- parentCategory?: string;
48
- relationGuid?: string;
49
- relations?: AtlanResourceLink;
50
- usage?: string;
51
- userDescription?: string;
52
- };
53
- /**
54
- * Atlan glossary format. See https://apidocs.atlan.com/
55
- */
56
- type AtlanGlossary = {
57
- entity?: AtlanEntity;
58
- referredEntities?: AtlanEntity[];
59
- };
60
- type AtlanRelationEntity = {
61
- displayText?: string;
62
- entityStatus?: string;
63
- guid?: string;
64
- typeName?: string;
65
- };
66
- type AtlanRelationshipAttributes = {
67
- antonyms?: AtlanTermHeader;
68
- categories?: AtlanRelationEntity;
69
- classifies?: AtlanTermHeader;
70
- isA?: AtlanTermHeader;
71
- replacedBy?: AtlanTermHeader;
72
- seeAlso?: AtlanTermHeader;
73
- synonyms?: AtlanTermHeader;
74
- terms?: AtlanRelationEntity;
75
- };
76
- type AtlanResourceLink = {
77
- displayName?: string;
78
- url?: string;
79
- };
80
- type AtlanTermHeader = {
81
- description?: string;
82
- displayText?: string;
83
- entityStatus?: string;
84
- expression?: string;
85
- guid?: string;
86
- relationGuid?: string;
87
- steward?: string;
88
- };
89
- type AtlasCategory = {
90
- categoryGuid?: string;
91
- description?: string;
92
- displayText?: string;
93
- parentCategoryGuid?: string;
94
- relationGuid?: string;
95
- };
96
- type AtlasGlossary = {
97
- categories?: AtlasCategory[];
98
- guid?: string;
99
- language?: string;
100
- longDescription?: string;
101
- name?: string;
102
- qualifiedName?: string;
103
- shortDescription?: string;
104
- terms?: AtlasTerm[];
105
- usage?: string;
106
- };
107
- type AtlasTerm = {
108
- description?: string;
109
- displayText?: string;
110
- expression?: string;
111
- relationGuid?: string;
112
- source?: string;
113
- status?: string;
114
- steward?: string;
115
- termGuid?: string;
116
- };
117
- type CategoriesResult = {
118
- data: Category[];
119
- /** URLs to a resource request */
120
- links?: PageLinks;
121
- meta?: ResultMeta;
122
- };
123
- type Category = {
124
- readonly createdAt: string;
125
- readonly createdBy: string;
126
- description: string;
127
- glossaryId: string;
128
- /** The id for resolving updates in future imports/updates.
129
- * 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. */
130
- id: string;
131
- name: string;
132
- parentId?: string;
133
- /** This list contains the UIDs of the stewards of the category. */
134
- stewards?: string[];
135
- readonly updatedAt: string;
136
- /** The uid of the user who last updated the category */
137
- readonly updatedBy: string;
138
- };
139
- type CreateCategory = {
140
- description?: string;
141
- /** The name of the category. May not be identical to another category belonging to the same parent. */
142
- name?: string;
143
- parentId?: string;
144
- /** This list contains the UIDs of the stewards of the category. */
145
- stewards?: string[];
146
- };
147
- type CreateGlossary = {
148
- /** Description of the glossary */
149
- description?: string;
150
- /** Name of the glossary */
151
- name: string;
152
- /** Overview of the glossary content */
153
- overview?: string;
154
- /** Unique unique identifier of the space to contain the glossary */
155
- spaceId?: string;
156
- /** List of tags for glossary */
157
- tags?: string[];
158
- termTemplate?: TermTemplate;
159
- };
160
- type CreateTerm = {
161
- abbreviation?: string;
162
- /** 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. */
163
- categories?: string[];
164
- description?: string;
165
- linksTo?: TermCreateLinksTo[];
166
- name: string;
167
- relatedInformation?: string;
168
- relatesTo?: TermRelatesTo[];
169
- /** This list contain the UIDs for the term's stewards */
170
- stewards?: string[];
171
- tags?: string[];
172
- };
173
- type ErrorResponse = {
174
- errors?: ErrorResponseCode[];
175
- traceId?: string;
176
- };
177
- /**
178
- * ### Custom error codes
179
- * * BG-1 - Context JWT is missing tenantId.
180
- * * BG-2 - Context JWT is missing userId.
181
- * * BG-4 - Invalid or unsupported Content Type. Valid types are: application/json, application/json+qlik, application/json+atlan, application/json+atlas
182
- * * BG-5 - Failed to decode JSON payload.
183
- * * BG-6 - A glossary name is required.
184
- * * BG-7 - Two categories with the same name cannot have the same parent.
185
- * * BG-11 - Glossary validation failed - A value or parameter is invalid or not set
186
- * * BG-12 - Category validation failed - A value or parameter is invalid or not set
187
- * * BG-13 - Term validation failed - A value or parameter is invalid or not set
188
- * * BG-14 - Two or more categories share Id
189
- * * BG-15 - Two or more terms share Id
190
- * * BG-16 - Not detecting proper Atlas format
191
- * * BG-17 - Not detecting proper Atlan format
192
- * * BG-18 - Not detecting proper Qlik format
193
- * * BG-19 - Invalid format in term
194
- * * BG-20 - Duplicate link definition
195
- * * BG-21 - Rich text validation failed
196
- * * BG-22 - Import cancelled
197
- * * BG-23 - Duplicate link related
198
- */
199
- type ErrorResponseBadRequest = {
200
- errors?: ErrorResponseCode[];
201
- traceId?: string;
202
- };
203
- type ErrorResponseCode = {
204
- code?: string;
205
- detail?: string;
206
- title?: string;
207
- };
208
- /**
209
- * ### Custom error codes
210
- * * BG-3 - Access denied, no read access
211
- * * BG-30 - Feature not enabled on tenant.
212
- */
213
- type ErrorResponseForbidden = {
214
- errors?: ErrorResponseCode[];
215
- traceId?: string;
216
- };
217
- /**
218
- * ### Custom error codes
219
- * * BG-8 - Glossary not found
220
- * * BG-9 - Category not found
221
- * * BG-10 - Term not found
222
- */
223
- type ErrorResponseNotFound = {
224
- errors?: ErrorResponseCode[];
225
- traceId?: string;
226
- };
227
- type ExportCategory = {
228
- description?: string;
229
- /** The id for resolving updates in future imports/updates.
230
- * 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. */
231
- id?: string;
232
- /** The name of the category. May not be identical to another category belonging to the same parent. */
233
- name?: string;
234
- parentId?: string;
235
- stewardDetails?: StewardDetail[];
236
- };
237
- type ExportGlossary = {
238
- categories?: ExportCategory[];
239
- readonly createdAt?: string;
240
- readonly createdBy?: string;
241
- description?: string;
242
- id?: string;
243
- name?: string;
244
- overview?: string;
245
- ownerId?: string;
246
- spaceId?: string;
247
- tags?: string[];
248
- termTemplate?: TermTemplate;
249
- terms?: ExportTerm[];
250
- readonly updatedAt?: string;
251
- /** The uid of the user who last updated the glossary */
252
- readonly updatedBy?: string;
253
- };
254
- type ExportTerm = {
255
- abbreviation?: string;
256
- /** Categories that the term belongs to. Refers to the `id` property of the category object */
257
- categories?: string[];
258
- description?: string;
259
- /** 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 */
260
- id?: string;
261
- linksTo?: TermCreateLinksTo[];
262
- name?: string;
263
- owner?: ImportOwner[];
264
- relatesTo?: TermRelatesTo[];
265
- stewardDetails?: StewardDetail[];
266
- stewards?: StewardDetail[];
267
- tags?: string[];
268
- };
269
- type GlossariesResult = {
270
- data?: Glossary[];
271
- /** URLs to a resource request */
272
- links?: PageLinks;
273
- meta?: ResultMeta;
274
- };
275
- type Glossary = {
276
- /** Datetime when the glossary was created */
277
- readonly createdAt: string;
278
- /** Unique identifier of the user who created the glossary */
279
- readonly createdBy: string;
280
- /** Description of the glossary */
281
- description: string;
282
- /** Unique identifier of the glossary */
283
- id: string;
284
- /** Name of the glossary */
285
- name: string;
286
- /** Overview of the glossary contents */
287
- overview: string;
288
- /** The unique identifier of the glossary owner */
289
- ownerId: string;
290
- /** The unique identifier of the space containing the glossary */
291
- spaceId: string;
292
- /** List of tags associated with the glossary. */
293
- tags: string[];
294
- termTemplate: TermTemplate;
295
- /** Datetime when the glossary was updated */
296
- readonly updatedAt: string;
297
- /** The unique identifier of the user who last updated the glossary */
298
- readonly updatedBy: string;
299
- };
300
- type ImportCategory = {
301
- description?: string;
302
- /** The id for resolving updates in future imports/updates.
303
- * 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. */
304
- id?: string;
305
- /** The name of the category. May not be identical to another category belonging to the same parent. */
306
- name?: string;
307
- parentId?: string;
308
- stewardDetails?: StewardDetail[];
309
- stewards?: string[];
310
- };
311
- type ImportOwner = {
312
- email?: string;
313
- name?: string;
314
- userId?: string;
315
- };
316
- type ImportTerm = {
317
- abbreviation?: string;
318
- /** Categories that the term belongs to. Refers to the `id` property of the category object */
319
- categories?: string[];
320
- description?: string;
321
- /** 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 */
322
- id?: string;
323
- linksTo?: TermCreateLinksTo[];
324
- name?: string;
325
- owner?: ImportOwner[];
326
- relatesTo?: TermRelatesTo[];
327
- stewardDetails?: StewardDetail[];
328
- stewards?: StewardDetail[];
329
- tags?: string[];
330
- };
331
- type LinksResult = {
332
- data?: TermLinksTo[];
333
- /** URLs to a resource request */
334
- links?: PageLinks;
335
- meta?: ResultMeta;
336
- };
337
- type PageLink = {
338
- href?: string;
339
- };
340
- /**
341
- * URLs to a resource request
342
- */
343
- type PageLinks = {
344
- next?: PageLink;
345
- prev?: PageLink;
346
- self?: PageLink;
347
- };
348
- type QlikGlossary = {
349
- categories?: ImportCategory[];
350
- description?: string;
351
- name?: string;
352
- overview?: string;
353
- spaceId?: string;
354
- tags?: string[];
355
- termTemplate?: TermTemplate;
356
- terms?: ImportTerm[];
357
- };
358
- type ResultMeta = {
359
- countTotal?: number;
360
- };
361
- type StewardDetail = {
362
- email?: string;
363
- name?: string;
364
- userId?: string;
365
- };
366
- type Term = {
367
- abbreviation: string;
368
- categories?: string[];
369
- readonly createdAt: string;
370
- readonly createdBy: string;
371
- description: string;
372
- glossaryId: string;
373
- id: string;
374
- linksTo?: TermLinksTo[];
375
- name: string;
376
- /** Term relations where this term is the target of the relation. */
377
- referredRelations?: TermRelatesTo[];
378
- relatedInformation: string;
379
- /** Term relations assigned to this term. */
380
- relatesTo?: TermRelatesTo[];
381
- revision: number;
382
- /** Terms status is used determine the status of a term */
383
- status: TermStatus;
384
- /** This list contains the UIDs of the terms data stewards. */
385
- stewards: string[];
386
- tags: string[];
387
- readonly updatedAt: string;
388
- /** The uid of the user who last updated the term */
389
- readonly updatedBy: string;
390
- };
391
- /**
392
- * Describes links to other data assets such as analytics applications or dataset.
393
- *
394
- * **Note**: When linking to a subresource (e.g., a master dimension, master measure, or dataset field within an app or dataset),
395
- * all three subresource fields (`subResourceType`, `subResourceId`, and `subResourceName`) must be provided together.
396
- * If any one subresource field is specified, all three are required.
397
- */
398
- type TermCreateLinksTo = {
399
- /** The unique identifier of the resource (app or dataset) to link to the term. */
400
- resourceId: string;
401
- /** The type of resource being linked to the term. */
402
- resourceType: "app" | "dataset";
403
- /** Required when subResourceType or subResourceName is provided. The unique identifier of the subresource. */
404
- subResourceId?: string;
405
- /** Required when subResourceType or subResourceId is provided. The display name of the subresource. */
406
- subResourceName?: string;
407
- /** Required when subResourceId or subResourceName is provided. The type of the subresource. */
408
- subResourceType?: "master_dimension" | "master_measure" | "field";
409
- /** The type of relationship between the term and the linked resource:
410
- * - `definition`: Use when the term provides the formal definition for the linked resource (e.g., a term defines what a master measure or dimension means)
411
- * - `related`: Use when the term is generally related to the resource but doesn't formally define it */
412
- type?: "definition" | "related";
413
- };
414
- /**
415
- * Describes links to other entities such as qlik charts, dataset columns etc.
416
- */
417
- type TermLinksTo = {
418
- readonly createdAt?: string;
419
- createdBy?: string;
420
- id?: string;
421
- name?: string;
422
- openUrl?: string;
423
- /** Different formats based on resource type. Could be e.g. OID or UUID. */
424
- resourceId?: string;
425
- resourceSpaceId?: string;
426
- resourceType?: "app" | "dataset";
427
- /** Http status code for item during batch operation. */
428
- status?: number;
429
- /** Different formats based on subresource type. Could be e.g. OID or UUID. */
430
- subResourceId?: string;
431
- /** Populated and true if no matching subresource is found on parent resource. E.g. if a dataset field no longer exist but a link to that field exists. */
432
- subResourceInvalid?: boolean;
433
- subResourceName?: string;
434
- subResourceType?: "master_dimension" | "master_measure" | "field";
435
- /** Describes reason for item status during batch operation. E.g. why an error occurs during creation. */
436
- title?: string;
437
- type?: "definition" | "related";
438
- };
439
- type TermRelatesTo = {
440
- /** 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. */
441
- termId: string;
442
- /** How the term related to the other object */
443
- type: "isA" | "hasA" | "seeAlso" | "synonym" | "antonym" | "classifies" | "other" | "replaces" | "replacedBy" | "hasSubtype" | "preferredTerm" | "seeInstead" | "defines" | "definedBy";
444
- };
445
- /**
446
- * Terms status is used determine the status of a term
447
- */
448
- type TermStatus = {
449
- type: "draft" | "verified" | "deprecated";
450
- /** Time when the state was changed */
451
- updatedAt: string;
452
- /** The unique identifier of the user who last changed the status of the term */
453
- updatedBy: string;
454
- };
455
- type TermTemplate = {
456
- /** Template text for new terms */
457
- relatedInformation?: string;
458
- };
459
- type TermsResult = {
460
- data: Term[];
461
- /** URLs to a resource request */
462
- links?: PageLinks;
463
- meta?: ResultMeta;
464
- };
465
- /**
466
- * Returns all glossaries.
467
- *
468
- * @param query an object with query parameters
469
- * @throws GetGlossariesHttpError
470
- */
471
- declare function getGlossaries(query: {
472
- /** Optional parameter to request total count for query */
473
- countTotal?: boolean;
474
- /** The number of glossaries to get. */
475
- limit?: number;
476
- /** Optional parameter to request the next page. */
477
- next?: string;
478
- /** Optional parameter to request the previous page. */
479
- prev?: string;
480
- /** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
481
- sort?: "name" | "+name" | "-name" | "description" | "+description" | "-description";
482
- }, options?: ApiCallOptions): Promise<GetGlossariesHttpResponse>;
483
- type GetGlossariesHttpResponse = {
484
- data: GlossariesResult;
485
- headers: Headers;
486
- status: 200;
487
- prev?: (options?: ApiCallOptions) => Promise<GetGlossariesHttpResponse>;
488
- next?: (options?: ApiCallOptions) => Promise<GetGlossariesHttpResponse>;
489
- };
490
- type GetGlossariesHttpError = {
491
- data: ErrorResponse;
492
- headers: Headers;
493
- status: 400 | 403;
494
- };
495
- /**
496
- * Only a steward can create a glossary.
497
- *
498
- * @param body an object with the body content
499
- * @throws CreateGlossaryHttpError
500
- */
501
- declare function createGlossary(body: CreateGlossary, options?: ApiCallOptions): Promise<CreateGlossaryHttpResponse>;
502
- type CreateGlossaryHttpResponse = {
503
- data: Glossary;
504
- headers: Headers;
505
- status: 201;
506
- };
507
- type CreateGlossaryHttpError = {
508
- data: ErrorResponse;
509
- headers: Headers;
510
- status: 400 | 403;
511
- };
512
- /**
513
- * Creates a new or updates an existing glossary, including categories and terms, based on a glossary definition file.
514
- * Supported formats are currently, qlik, atlan and atlas.
515
- *
516
- * @param query an object with query parameters
517
- * @param body an object with the body content
518
- * @throws ImportGlossaryHttpError
519
- */
520
- declare function importGlossary(query: {
521
- /** Appending the current importer user as steward to categories/terms where no steward is defined/not match the identity service. */
522
- importerAsFallbackSteward?: boolean;
523
- /** Using email in the steward fields to lookup userIds in the identity service */
524
- lookupUserOnEmail?: boolean;
525
- /** The spaceId (leave blank or omit for personal) */
526
- spaceId?: string;
527
- }, body: QlikGlossary, options?: ApiCallOptions): Promise<ImportGlossaryHttpResponse>;
528
- type ImportGlossaryHttpResponse = {
529
- data: Glossary;
530
- headers: Headers;
531
- status: 201;
532
- };
533
- type ImportGlossaryHttpError = ImportGlossary400HttpError | ImportGlossary403HttpError | ImportGlossary404HttpError;
534
- type ImportGlossary400HttpError = {
535
- data: ErrorResponseBadRequest;
536
- headers: Headers;
537
- status: 400;
538
- };
539
- type ImportGlossary403HttpError = {
540
- data: ErrorResponseForbidden;
541
- headers: Headers;
542
- status: 403;
543
- };
544
- type ImportGlossary404HttpError = {
545
- data: ErrorResponseNotFound;
546
- headers: Headers;
547
- status: 404;
548
- };
549
- /**
550
- * Deletes a glossary and all of its terms.
551
- *
552
- * @param id The id of the glossary to delete.
553
- * @throws DeleteGlossaryHttpError
554
- */
555
- declare function deleteGlossary(id: string, options?: ApiCallOptions): Promise<DeleteGlossaryHttpResponse>;
556
- type DeleteGlossaryHttpResponse = {
557
- data: void;
558
- headers: Headers;
559
- status: 204;
560
- };
561
- type DeleteGlossaryHttpError = {
562
- data: ErrorResponse;
563
- headers: Headers;
564
- status: 400 | 403 | 404;
565
- };
566
- /**
567
- * Retrieves a glossary.
568
- *
569
- * @param id The id of the glossary to retrieve.
570
- * @throws GetGlossaryHttpError
571
- */
572
- declare function getGlossary(id: string, options?: ApiCallOptions): Promise<GetGlossaryHttpResponse>;
573
- type GetGlossaryHttpResponse = {
574
- data: Glossary;
575
- headers: Headers;
576
- status: 200;
577
- };
578
- type GetGlossaryHttpError = {
579
- data: ErrorResponse;
580
- headers: Headers;
581
- status: 400 | 403 | 404;
582
- };
583
- /**
584
- * Updates glossary properties with json-patch formatted data.
585
- *
586
- * @param id The glossary id.
587
- * @param body an object with the body content
588
- * @throws PatchGlossaryHttpError
589
- */
590
- declare function patchGlossary(id: string, body: JSONPatchArray, options?: ApiCallOptions): Promise<PatchGlossaryHttpResponse>;
591
- type PatchGlossaryHttpResponse = {
592
- data: void;
593
- headers: Headers;
594
- status: 204;
595
- };
596
- type PatchGlossaryHttpError = {
597
- data: ErrorResponse;
598
- headers: Headers;
599
- status: 400 | 401 | 403 | 404 | 429;
600
- };
601
- /**
602
- * Updates a glossary.
603
- *
604
- * @param id The id of the glossary to update.
605
- * @param body an object with the body content
606
- * @throws UpdateGlossaryHttpError
607
- */
608
- declare function updateGlossary(id: string, body: CreateGlossary, options?: ApiCallOptions): Promise<UpdateGlossaryHttpResponse>;
609
- type UpdateGlossaryHttpResponse = {
610
- data: Glossary;
611
- headers: Headers;
612
- status: 200;
613
- };
614
- type UpdateGlossaryHttpError = {
615
- data: ErrorResponse;
616
- headers: Headers;
617
- status: 400 | 403 | 404;
618
- };
619
- /**
620
- * Exports a glossary.
621
- *
622
- * @param id The glossary id.
623
- * @throws ExportGlossaryHttpError
624
- */
625
- declare function exportGlossary(id: string, options?: ApiCallOptions): Promise<ExportGlossaryHttpResponse>;
626
- type ExportGlossaryHttpResponse = {
627
- data: ExportGlossary;
628
- headers: Headers;
629
- status: 200;
630
- };
631
- type ExportGlossaryHttpError = {
632
- data: ErrorResponse;
633
- headers: Headers;
634
- status: 400 | 403 | 404;
635
- };
636
- /**
637
- * Returns a list of categories for a glossary.
638
- *
639
- * @param id The glossary id.
640
- * @param query an object with query parameters
641
- * @throws GetGlossaryCategoriesHttpError
642
- */
643
- declare function getGlossaryCategories(id: string, query: {
644
- /** Optional parameter to request total count for query */
645
- countTotal?: boolean;
646
- /** The number of terms to get. */
647
- limit?: number;
648
- /** Optional parameter to request the next page. */
649
- next?: string;
650
- /** Optional parameter to request the previous page. */
651
- prev?: string;
652
- /** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
653
- sort?: "description" | "+description" | "-description" | "name" | "+name" | "-name" | "update" | "+update" | "-update";
654
- }, options?: ApiCallOptions): Promise<GetGlossaryCategoriesHttpResponse>;
655
- type GetGlossaryCategoriesHttpResponse = {
656
- data: CategoriesResult;
657
- headers: Headers;
658
- status: 200;
659
- prev?: (options?: ApiCallOptions) => Promise<GetGlossaryCategoriesHttpResponse>;
660
- next?: (options?: ApiCallOptions) => Promise<GetGlossaryCategoriesHttpResponse>;
661
- };
662
- type GetGlossaryCategoriesHttpError = {
663
- data: ErrorResponse;
664
- headers: Headers;
665
- status: 400 | 403 | 404;
666
- };
667
- /**
668
- * Creates a new category.
669
- *
670
- * @param id The glossary id.
671
- * @param body an object with the body content
672
- * @throws CreateGlossaryCategoryHttpError
673
- */
674
- declare function createGlossaryCategory(id: string, body: CreateCategory, options?: ApiCallOptions): Promise<CreateGlossaryCategoryHttpResponse>;
675
- type CreateGlossaryCategoryHttpResponse = {
676
- data: Category;
677
- headers: Headers;
678
- status: 201;
679
- };
680
- type CreateGlossaryCategoryHttpError = {
681
- data: ErrorResponse;
682
- headers: Headers;
683
- status: 400 | 403 | 404;
684
- };
685
- /**
686
- * Deletes a category.
687
- *
688
- * @param id The id of the glossary.
689
- * @param categoryId The id for the category to delete. All subcategories are also deleted
690
- * @throws DeleteGlossaryCategoryHttpError
691
- */
692
- declare function deleteGlossaryCategory(id: string, categoryId: string, options?: ApiCallOptions): Promise<DeleteGlossaryCategoryHttpResponse>;
693
- type DeleteGlossaryCategoryHttpResponse = {
694
- data: void;
695
- headers: Headers;
696
- status: 204;
697
- };
698
- type DeleteGlossaryCategoryHttpError = {
699
- data: ErrorResponse;
700
- headers: Headers;
701
- status: 400 | 403 | 404;
702
- };
703
- /**
704
- * Retrieves a category.
705
- *
706
- * @param id The glossary id.
707
- * @param categoryId The category id.
708
- * @throws GetGlossaryCategoryHttpError
709
- */
710
- declare function getGlossaryCategory(id: string, categoryId: string, options?: ApiCallOptions): Promise<GetGlossaryCategoryHttpResponse>;
711
- type GetGlossaryCategoryHttpResponse = {
712
- data: Category;
713
- headers: Headers;
714
- status: 200;
715
- };
716
- type GetGlossaryCategoryHttpError = {
717
- data: ErrorResponse;
718
- headers: Headers;
719
- status: 400 | 403 | 404;
720
- };
721
- /**
722
- * Updates category properties with json-patch formatted data.
723
- *
724
- * @param id The glossary id.
725
- * @param categoryId The category id.
726
- * @param body an object with the body content
727
- * @throws PatchGlossaryCategoryHttpError
728
- */
729
- declare function patchGlossaryCategory(id: string, categoryId: string, body: JSONPatchArray, options?: ApiCallOptions): Promise<PatchGlossaryCategoryHttpResponse>;
730
- type PatchGlossaryCategoryHttpResponse = {
731
- data: void;
732
- headers: Headers;
733
- status: 204;
734
- };
735
- type PatchGlossaryCategoryHttpError = {
736
- data: ErrorResponse;
737
- headers: Headers;
738
- status: 400 | 401 | 403 | 404 | 429;
739
- };
740
- /**
741
- * Updates a category.
742
- *
743
- * @param id The glossary id.
744
- * @param categoryId The category id.
745
- * @param body an object with the body content
746
- * @throws UpdateGlossaryCategoryHttpError
747
- */
748
- declare function updateGlossaryCategory(id: string, categoryId: string, body: CreateCategory, options?: ApiCallOptions): Promise<UpdateGlossaryCategoryHttpResponse>;
749
- type UpdateGlossaryCategoryHttpResponse = {
750
- data: Category;
751
- headers: Headers;
752
- status: 200;
753
- };
754
- type UpdateGlossaryCategoryHttpError = {
755
- data: ErrorResponse;
756
- headers: Headers;
757
- status: 400 | 403 | 404;
758
- };
759
- /**
760
- * Returns a list of terms for a glossary.
761
- *
762
- * @param id The glossary id.
763
- * @param query an object with query parameters
764
- * @throws GetGlossaryTermsHttpError
765
- */
766
- declare function getGlossaryTerms(id: string, query: {
767
- /** Optional parameter to request total count for query */
768
- countTotal?: boolean;
769
- /** Optional SCIM filter to be used to filter terms
770
- * Usable fields are
771
- *
772
- * - id
773
- * - name
774
- * - relatedInformation
775
- * - description
776
- * - abbreviation
777
- * - tags
778
- * - stewards
779
- * - status
780
- * - categories */
781
- filter?: string;
782
- /** The number of terms to get. */
783
- limit?: number;
784
- /** Optional parameter to request the next page. */
785
- next?: string;
786
- /** Optional parameter to request the previous page. */
787
- prev?: string;
788
- /** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
789
- sort?: "abbreviation" | "+abbreviation" | "-abbreviation" | "description" | "+description" | "-description" | "name" | "+name" | "-name" | "status" | "+status" | "-status" | "updated" | "+updated" | "-updated";
790
- }, options?: ApiCallOptions): Promise<GetGlossaryTermsHttpResponse>;
791
- type GetGlossaryTermsHttpResponse = {
792
- data: TermsResult;
793
- headers: Headers;
794
- status: 200;
795
- prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermsHttpResponse>;
796
- next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermsHttpResponse>;
797
- };
798
- type GetGlossaryTermsHttpError = {
799
- data: ErrorResponse;
800
- headers: Headers;
801
- status: 400 | 403 | 404;
802
- };
803
- /**
804
- * Creates a new term.
805
- *
806
- * @param id The glossary id.
807
- * @param body an object with the body content
808
- * @throws CreateGlossaryTermHttpError
809
- */
810
- declare function createGlossaryTerm(id: string, body: CreateTerm, options?: ApiCallOptions): Promise<CreateGlossaryTermHttpResponse>;
811
- type CreateGlossaryTermHttpResponse = {
812
- data: Term;
813
- headers: Headers;
814
- status: 201;
815
- };
816
- type CreateGlossaryTermHttpError = {
817
- data: ErrorResponse;
818
- headers: Headers;
819
- status: 400 | 403 | 404;
820
- };
821
- /**
822
- * Deletes a term.
823
- *
824
- * @param id The glossary id.
825
- * @param termId The term id.
826
- * @throws DeleteGlossaryTermHttpError
827
- */
828
- declare function deleteGlossaryTerm(id: string, termId: string, options?: ApiCallOptions): Promise<DeleteGlossaryTermHttpResponse>;
829
- type DeleteGlossaryTermHttpResponse = {
830
- data: void;
831
- headers: Headers;
832
- status: 204;
833
- };
834
- type DeleteGlossaryTermHttpError = {
835
- data: ErrorResponse;
836
- headers: Headers;
837
- status: 400 | 403 | 404;
838
- };
839
- /**
840
- * Retrieves a term.
841
- *
842
- * @param id The glossary id.
843
- * @param termId The term id.
844
- * @throws GetGlossaryTermHttpError
845
- */
846
- declare function getGlossaryTerm(id: string, termId: string, options?: ApiCallOptions): Promise<GetGlossaryTermHttpResponse>;
847
- type GetGlossaryTermHttpResponse = {
848
- data: Term;
849
- headers: Headers;
850
- status: 200;
851
- };
852
- type GetGlossaryTermHttpError = {
853
- data: ErrorResponse;
854
- headers: Headers;
855
- status: 400 | 403 | 404;
856
- };
857
- /**
858
- * Updates term properties with json-patch formatted data
859
- *
860
- * @param id The glossary id.
861
- * @param termId The term id.
862
- * @param body an object with the body content
863
- * @throws PatchGlossaryTermHttpError
864
- */
865
- declare function patchGlossaryTerm(id: string, termId: string, body: JSONPatchArray, options?: ApiCallOptions): Promise<PatchGlossaryTermHttpResponse>;
866
- type PatchGlossaryTermHttpResponse = {
867
- data: void;
868
- headers: Headers;
869
- status: 204;
870
- };
871
- type PatchGlossaryTermHttpError = {
872
- data: ErrorResponse;
873
- headers: Headers;
874
- status: 400 | 401 | 403 | 404 | 412 | 429;
875
- };
876
- /**
877
- * Updates a term.
878
- *
879
- * @param id The glossary id.
880
- * @param termId The term id.
881
- * @param body an object with the body content
882
- * @throws UpdateGlossaryTermHttpError
883
- */
884
- declare function updateGlossaryTerm(id: string, termId: string, body: CreateTerm, options?: ApiCallOptions): Promise<UpdateGlossaryTermHttpResponse>;
885
- type UpdateGlossaryTermHttpResponse = {
886
- data: Term;
887
- headers: Headers;
888
- status: 200;
889
- };
890
- type UpdateGlossaryTermHttpError = {
891
- data: ErrorResponse;
892
- headers: Headers;
893
- status: 400 | 403 | 404 | 412;
894
- };
895
- /**
896
- * Only a steward can verify a term. Once the term is verified only a steward can modify the term. Note that links to resources are considered external relations that can be managed independently of the status of the term.
897
- *
898
- * @param id The glossary id.
899
- * @param termId The term id.
900
- * @param query an object with query parameters
901
- * @throws ChangeGlossaryTermStatusHttpError
902
- */
903
- declare function changeGlossaryTermStatus(id: string, termId: string, query: {
904
- /** The status to update to. */
905
- status: "draft" | "verified" | "deprecated";
906
- }, options?: ApiCallOptions): Promise<ChangeGlossaryTermStatusHttpResponse>;
907
- type ChangeGlossaryTermStatusHttpResponse = {
908
- data: Term;
909
- headers: Headers;
910
- status: 200;
911
- };
912
- type ChangeGlossaryTermStatusHttpError = {
913
- data: ErrorResponse;
914
- headers: Headers;
915
- status: 400 | 403 | 404 | 412;
916
- };
917
- /**
918
- * Returns a list of links assigned to a term.
919
- *
920
- * @param id The glossary id.
921
- * @param termId The term id.
922
- * @param query an object with query parameters
923
- * @throws GetGlossaryTermLinksHttpError
924
- */
925
- declare function getGlossaryTermLinks(id: string, termId: string, query: {
926
- /** Optional parameter to request total count for query */
927
- countTotal?: boolean;
928
- /** Optional SCIM filter to be used to filter terms */
929
- filter?: string;
930
- /** The number of terms to get. */
931
- limit?: number;
932
- /** Optional parameter to request the next page. */
933
- next?: string;
934
- /** Optional parameter to request the previous page. */
935
- prev?: string;
936
- /** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
937
- sort?: "type" | "+type" | "-type" | "subtype" | "+subtype" | "-subtype" | "created" | "+created" | "-created";
938
- }, options?: ApiCallOptions): Promise<GetGlossaryTermLinksHttpResponse>;
939
- type GetGlossaryTermLinksHttpResponse = {
940
- data: LinksResult;
941
- headers: Headers;
942
- status: 200;
943
- prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermLinksHttpResponse>;
944
- next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermLinksHttpResponse>;
945
- };
946
- type GetGlossaryTermLinksHttpError = {
947
- data: ErrorResponse;
948
- headers: Headers;
949
- status: 400 | 403 | 404;
950
- };
951
- /**
952
- * Links to resources are not considered term properties but external relations. Links can be created for terms in any status. Permissions on term and resource determine if the link can be created.
953
- *
954
- * @param id The glossary id.
955
- * @param termId The term id.
956
- * @param body an object with the body content
957
- * @throws CreateGlossaryTermLinkHttpError
958
- */
959
- declare function createGlossaryTermLink(id: string, termId: string, body: TermCreateLinksTo, options?: ApiCallOptions): Promise<CreateGlossaryTermLinkHttpResponse>;
960
- type CreateGlossaryTermLinkHttpResponse = {
961
- data: TermLinksTo;
962
- headers: Headers;
963
- status: 201;
964
- };
965
- type CreateGlossaryTermLinkHttpError = {
966
- data: ErrorResponse;
967
- headers: Headers;
968
- status: 400 | 403 | 404 | 412;
969
- };
970
- /**
971
- * Retrieves previous revisions of a term.
972
- *
973
- * @param id The glossary id.
974
- * @param termId The term id.
975
- * @param query an object with query parameters
976
- * @throws GetGlossaryTermRevisionsHttpError
977
- */
978
- declare function getGlossaryTermRevisions(id: string, termId: string, query: {
979
- /** Optional parameter to request total count for query */
980
- countTotal?: boolean;
981
- /** The number of terms to get. */
982
- limit?: number;
983
- /** Optional parameter to request the next page. */
984
- next?: string;
985
- /** Optional parameter to request the previous page. */
986
- prev?: string;
987
- /** Optional resource field name to sort on, eg. name. Can be prefixed with +/- to determine order, defaults to (+) ascending. */
988
- sort?: "update" | "+update" | "-update";
989
- }, options?: ApiCallOptions): Promise<GetGlossaryTermRevisionsHttpResponse>;
990
- type GetGlossaryTermRevisionsHttpResponse = {
991
- data: TermsResult;
992
- headers: Headers;
993
- status: 200;
994
- prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermRevisionsHttpResponse>;
995
- next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermRevisionsHttpResponse>;
996
- };
997
- type GetGlossaryTermRevisionsHttpError = {
998
- data: ErrorResponse;
999
- headers: Headers;
1000
- status: 400 | 403 | 404;
1001
- };
1002
- /**
1003
- * Clears the cache for glossaries api requests.
1004
- */
1005
- declare function clearCache(): void;
1006
- type GlossariesAPI = {
1007
- /**
1008
- * Returns all glossaries.
1009
- *
1010
- * @param query an object with query parameters
1011
- * @throws GetGlossariesHttpError
1012
- */
1013
- getGlossaries: typeof getGlossaries;
1014
- /**
1015
- * Only a steward can create a glossary.
1016
- *
1017
- * @param body an object with the body content
1018
- * @throws CreateGlossaryHttpError
1019
- */
1020
- createGlossary: typeof createGlossary;
1021
- /**
1022
- * Creates a new or updates an existing glossary, including categories and terms, based on a glossary definition file.
1023
- * Supported formats are currently, qlik, atlan and atlas.
1024
- *
1025
- * @param query an object with query parameters
1026
- * @param body an object with the body content
1027
- * @throws ImportGlossaryHttpError
1028
- */
1029
- importGlossary: typeof importGlossary;
1030
- /**
1031
- * Deletes a glossary and all of its terms.
1032
- *
1033
- * @param id The id of the glossary to delete.
1034
- * @throws DeleteGlossaryHttpError
1035
- */
1036
- deleteGlossary: typeof deleteGlossary;
1037
- /**
1038
- * Retrieves a glossary.
1039
- *
1040
- * @param id The id of the glossary to retrieve.
1041
- * @throws GetGlossaryHttpError
1042
- */
1043
- getGlossary: typeof getGlossary;
1044
- /**
1045
- * Updates glossary properties with json-patch formatted data.
1046
- *
1047
- * @param id The glossary id.
1048
- * @param body an object with the body content
1049
- * @throws PatchGlossaryHttpError
1050
- */
1051
- patchGlossary: typeof patchGlossary;
1052
- /**
1053
- * Updates a glossary.
1054
- *
1055
- * @param id The id of the glossary to update.
1056
- * @param body an object with the body content
1057
- * @throws UpdateGlossaryHttpError
1058
- */
1059
- updateGlossary: typeof updateGlossary;
1060
- /**
1061
- * Exports a glossary.
1062
- *
1063
- * @param id The glossary id.
1064
- * @throws ExportGlossaryHttpError
1065
- */
1066
- exportGlossary: typeof exportGlossary;
1067
- /**
1068
- * Returns a list of categories for a glossary.
1069
- *
1070
- * @param id The glossary id.
1071
- * @param query an object with query parameters
1072
- * @throws GetGlossaryCategoriesHttpError
1073
- */
1074
- getGlossaryCategories: typeof getGlossaryCategories;
1075
- /**
1076
- * Creates a new category.
1077
- *
1078
- * @param id The glossary id.
1079
- * @param body an object with the body content
1080
- * @throws CreateGlossaryCategoryHttpError
1081
- */
1082
- createGlossaryCategory: typeof createGlossaryCategory;
1083
- /**
1084
- * Deletes a category.
1085
- *
1086
- * @param id The id of the glossary.
1087
- * @param categoryId The id for the category to delete. All subcategories are also deleted
1088
- * @throws DeleteGlossaryCategoryHttpError
1089
- */
1090
- deleteGlossaryCategory: typeof deleteGlossaryCategory;
1091
- /**
1092
- * Retrieves a category.
1093
- *
1094
- * @param id The glossary id.
1095
- * @param categoryId The category id.
1096
- * @throws GetGlossaryCategoryHttpError
1097
- */
1098
- getGlossaryCategory: typeof getGlossaryCategory;
1099
- /**
1100
- * Updates category properties with json-patch formatted data.
1101
- *
1102
- * @param id The glossary id.
1103
- * @param categoryId The category id.
1104
- * @param body an object with the body content
1105
- * @throws PatchGlossaryCategoryHttpError
1106
- */
1107
- patchGlossaryCategory: typeof patchGlossaryCategory;
1108
- /**
1109
- * Updates a category.
1110
- *
1111
- * @param id The glossary id.
1112
- * @param categoryId The category id.
1113
- * @param body an object with the body content
1114
- * @throws UpdateGlossaryCategoryHttpError
1115
- */
1116
- updateGlossaryCategory: typeof updateGlossaryCategory;
1117
- /**
1118
- * Returns a list of terms for a glossary.
1119
- *
1120
- * @param id The glossary id.
1121
- * @param query an object with query parameters
1122
- * @throws GetGlossaryTermsHttpError
1123
- */
1124
- getGlossaryTerms: typeof getGlossaryTerms;
1125
- /**
1126
- * Creates a new term.
1127
- *
1128
- * @param id The glossary id.
1129
- * @param body an object with the body content
1130
- * @throws CreateGlossaryTermHttpError
1131
- */
1132
- createGlossaryTerm: typeof createGlossaryTerm;
1133
- /**
1134
- * Deletes a term.
1135
- *
1136
- * @param id The glossary id.
1137
- * @param termId The term id.
1138
- * @throws DeleteGlossaryTermHttpError
1139
- */
1140
- deleteGlossaryTerm: typeof deleteGlossaryTerm;
1141
- /**
1142
- * Retrieves a term.
1143
- *
1144
- * @param id The glossary id.
1145
- * @param termId The term id.
1146
- * @throws GetGlossaryTermHttpError
1147
- */
1148
- getGlossaryTerm: typeof getGlossaryTerm;
1149
- /**
1150
- * Updates term properties with json-patch formatted data
1151
- *
1152
- * @param id The glossary id.
1153
- * @param termId The term id.
1154
- * @param body an object with the body content
1155
- * @throws PatchGlossaryTermHttpError
1156
- */
1157
- patchGlossaryTerm: typeof patchGlossaryTerm;
1158
- /**
1159
- * Updates a term.
1160
- *
1161
- * @param id The glossary id.
1162
- * @param termId The term id.
1163
- * @param body an object with the body content
1164
- * @throws UpdateGlossaryTermHttpError
1165
- */
1166
- updateGlossaryTerm: typeof updateGlossaryTerm;
1167
- /**
1168
- * Only a steward can verify a term. Once the term is verified only a steward can modify the term. Note that links to resources are considered external relations that can be managed independently of the status of the term.
1169
- *
1170
- * @param id The glossary id.
1171
- * @param termId The term id.
1172
- * @param query an object with query parameters
1173
- * @throws ChangeGlossaryTermStatusHttpError
1174
- */
1175
- changeGlossaryTermStatus: typeof changeGlossaryTermStatus;
1176
- /**
1177
- * Returns a list of links assigned to a term.
1178
- *
1179
- * @param id The glossary id.
1180
- * @param termId The term id.
1181
- * @param query an object with query parameters
1182
- * @throws GetGlossaryTermLinksHttpError
1183
- */
1184
- getGlossaryTermLinks: typeof getGlossaryTermLinks;
1185
- /**
1186
- * Links to resources are not considered term properties but external relations. Links can be created for terms in any status. Permissions on term and resource determine if the link can be created.
1187
- *
1188
- * @param id The glossary id.
1189
- * @param termId The term id.
1190
- * @param body an object with the body content
1191
- * @throws CreateGlossaryTermLinkHttpError
1192
- */
1193
- createGlossaryTermLink: typeof createGlossaryTermLink;
1194
- /**
1195
- * Retrieves previous revisions of a term.
1196
- *
1197
- * @param id The glossary id.
1198
- * @param termId The term id.
1199
- * @param query an object with query parameters
1200
- * @throws GetGlossaryTermRevisionsHttpError
1201
- */
1202
- getGlossaryTermRevisions: typeof getGlossaryTermRevisions;
1203
- /**
1204
- * Clears the cache for glossaries api requests.
1205
- */
1206
- clearCache: typeof clearCache;
1207
- };
1208
- /**
1209
- * Functions for the glossaries api
1210
- */
1211
- declare const glossariesExport: GlossariesAPI;
1212
- //#endregion
1213
- export { GetGlossaryTermLinksHttpResponse as $, getGlossary as $t, DeleteGlossaryTermHttpError as A, TermCreateLinksTo as At, ExportGlossaryHttpResponse as B, UpdateGlossaryTermHttpError as Bt, CreateGlossaryTermLinkHttpError as C, PatchGlossaryHttpResponse as Ct, DeleteGlossaryCategoryHttpResponse as D, ResultMeta as Dt, DeleteGlossaryCategoryHttpError as E, QlikGlossary as Et, ErrorResponseForbidden as F, TermsResult as Ft, GetGlossaryCategoriesHttpResponse as G, createGlossaryCategory as Gt, GetGlossariesHttpError as H, changeGlossaryTermStatus as Ht, ErrorResponseNotFound as I, UpdateGlossaryCategoryHttpError as It, GetGlossaryHttpError as J, deleteGlossary as Jt, GetGlossaryCategoryHttpError as K, createGlossaryTerm as Kt, ExportCategory as L, UpdateGlossaryCategoryHttpResponse as Lt, ErrorResponse as M, TermRelatesTo as Mt, ErrorResponseBadRequest as N, TermStatus as Nt, DeleteGlossaryHttpError as O, StewardDetail as Ot, ErrorResponseCode as P, TermTemplate as Pt, GetGlossaryTermLinksHttpError as Q, getGlossaries as Qt, ExportGlossary as R, UpdateGlossaryHttpError as Rt, CreateGlossaryTermHttpResponse as S, PatchGlossaryHttpError as St, CreateTerm as T, PatchGlossaryTermHttpResponse as Tt, GetGlossariesHttpResponse as U, clearCache as Ut, ExportTerm as V, UpdateGlossaryTermHttpResponse as Vt, GetGlossaryCategoriesHttpError as W, createGlossary as Wt, GetGlossaryTermHttpError as X, deleteGlossaryTerm as Xt, GetGlossaryHttpResponse as Y, deleteGlossaryCategory as Yt, GetGlossaryTermHttpResponse as Z, exportGlossary as Zt, CreateGlossaryCategoryHttpError as _, LinksResult as _t, AtlanRelationshipAttributes as a, getGlossaryTerms as an, GlossariesResult as at, CreateGlossaryHttpResponse as b, PatchGlossaryCategoryHttpError as bt, AtlasCategory as c, patchGlossary as cn, ImportGlossary400HttpError as ct, CategoriesResult as d, updateGlossary as dn, ImportGlossaryHttpError as dt, getGlossaryCategories as en, GetGlossaryTermRevisionsHttpError as et, Category as f, updateGlossaryCategory as fn, ImportGlossaryHttpResponse as ft, CreateGlossary as g, JSONPatchArray as gt, CreateCategory as h, JSONPatch as ht, AtlanRelationEntity as i, getGlossaryTermRevisions as in, GlossariesAPI as it, DeleteGlossaryTermHttpResponse as j, TermLinksTo as jt, DeleteGlossaryHttpResponse as k, Term as kt, AtlasGlossary as l, patchGlossaryCategory as ln, ImportGlossary403HttpError as lt, ChangeGlossaryTermStatusHttpResponse as m, ImportTerm as mt, AtlanEntityAttributes as n, getGlossaryTerm as nn, GetGlossaryTermsHttpError as nt, AtlanResourceLink as o, glossariesExport as on, Glossary as ot, ChangeGlossaryTermStatusHttpError as p, updateGlossaryTerm as pn, ImportOwner as pt, GetGlossaryCategoryHttpResponse as q, createGlossaryTermLink as qt, AtlanGlossary as r, getGlossaryTermLinks as rn, GetGlossaryTermsHttpResponse as rt, AtlanTermHeader as s, importGlossary as sn, ImportCategory as st, AtlanEntity as t, getGlossaryCategory as tn, GetGlossaryTermRevisionsHttpResponse as tt, AtlasTerm as u, patchGlossaryTerm as un, ImportGlossary404HttpError as ut, CreateGlossaryCategoryHttpResponse as v, PageLink as vt, CreateGlossaryTermLinkHttpResponse as w, PatchGlossaryTermHttpError as wt, CreateGlossaryTermHttpError as x, PatchGlossaryCategoryHttpResponse as xt, CreateGlossaryHttpError as y, PageLinks as yt, ExportGlossaryHttpError as z, UpdateGlossaryHttpResponse as zt };