@qlik/api 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-keys.d.mts +9 -0
- package/api-keys.d.ts +9 -0
- package/api-keys.js +10 -10
- package/api-keys.mjs +2 -2
- package/apps.d.mts +125 -1
- package/apps.d.ts +125 -1
- package/apps.js +46 -46
- package/apps.mjs +2 -2
- package/audits.d.mts +13 -0
- package/audits.d.ts +13 -0
- package/audits.js +9 -9
- package/audits.mjs +2 -2
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +8 -0
- package/automations.d.ts +8 -0
- package/automations.js +21 -21
- package/automations.mjs +2 -2
- package/brands.d.mts +15 -0
- package/brands.d.ts +15 -0
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunks/{YDB23Q56.mjs → 34FMVD4C.mjs} +164 -20
- package/chunks/{PQ4OWSWX.js → 37PLWNAN.js} +44 -56
- package/chunks/{AULTUQC4.js → 3MHXEHLQ.js} +2 -2
- package/chunks/{AU62SBT4.mjs → 42LZKDDD.mjs} +1 -1
- package/chunks/{AGASWXYW.js → AVQ3WHH7.js} +167 -23
- package/chunks/{W2I5OQA5.js → FG5GDUSZ.js} +3 -3
- package/chunks/{EHZ6H6TD.mjs → FUU5VIC4.mjs} +1 -1
- package/chunks/{L7DRRU3T.mjs → HFNJ3ERI.mjs} +2 -2
- package/chunks/{POR3DZIU.mjs → HWZC3PIL.mjs} +1 -1
- package/chunks/{XY3AC335.js → ILOY5QEA.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → KEPPVUY3.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → MMUU2CQM.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → O5POHH2Q.mjs} +3 -3
- package/chunks/{EL2GSPZZ.js → QMWU5E4D.js} +3 -3
- package/chunks/RMNAO4DP.js +17 -0
- package/chunks/SUYUL6MB.js +41 -0
- package/chunks/{KDW6ZD2R.mjs → VMS4MOCI.mjs} +42 -54
- package/chunks/{F7GJTDIU.js → WCJ4JQHA.js} +8 -8
- package/collections.d.mts +29 -1
- package/collections.d.ts +29 -1
- package/collections.js +14 -14
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +12 -1
- package/data-connections.d.ts +12 -1
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +5 -0
- package/data-credentials.d.ts +5 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +6 -0
- package/data-files.d.ts +6 -0
- package/data-files.js +15 -15
- package/data-files.mjs +2 -2
- package/extensions.d.mts +12 -0
- package/extensions.d.ts +12 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.d.mts +50 -0
- package/glossaries.d.ts +50 -0
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +39 -0
- package/groups.d.ts +39 -0
- package/groups.js +11 -11
- package/groups.mjs +2 -2
- package/identity-providers.d.mts +42 -0
- package/identity-providers.d.ts +42 -0
- package/identity-providers.js +11 -11
- package/identity-providers.mjs +2 -2
- package/index.js +8 -8
- package/index.mjs +4 -4
- package/items.d.mts +32 -1
- package/items.d.ts +32 -1
- package/items.js +11 -11
- package/items.mjs +2 -2
- package/licenses.d.mts +7 -4
- package/licenses.d.ts +7 -4
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +1 -1
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.d.mts +3 -0
- package/quotas.d.ts +3 -0
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +6 -3
- package/reload-tasks.d.ts +6 -3
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +9 -0
- package/reloads.d.ts +9 -0
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.d.mts +10 -1
- package/roles.d.ts +10 -1
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +37 -5
- package/spaces.d.ts +37 -5
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +6 -0
- package/temp-contents.d.ts +6 -0
- package/temp-contents.js +6 -6
- package/temp-contents.mjs +2 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.d.mts +9 -0
- package/themes.d.ts +9 -0
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.d.mts +9 -0
- package/transports.d.ts +9 -0
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.d.mts +85 -14
- package/users.d.ts +85 -14
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.d.mts +18 -0
- package/web-integrations.d.ts +18 -0
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.d.mts +18 -0
- package/web-notifications.d.ts +18 -0
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +3 -0
- package/webhooks.d.ts +3 -0
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
- package/chunks/37STYSYC.js +0 -41
- package/chunks/VC2LAFLZ.js +0 -17
package/glossaries.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
6
|
+
*/
|
|
4
7
|
type JSONPatch = {
|
|
5
8
|
/** The operation to be performed. */
|
|
6
9
|
op: "replace";
|
|
@@ -9,6 +12,9 @@ type JSONPatch = {
|
|
|
9
12
|
/** The value to be used for this operation. */
|
|
10
13
|
value: string | number;
|
|
11
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* An array of JSON Patch documents
|
|
17
|
+
*/
|
|
12
18
|
type JSONPatchArray = JSONPatch[];
|
|
13
19
|
type AtlanEntity = {
|
|
14
20
|
attributes?: AtlanEntityAttributes;
|
|
@@ -30,6 +36,9 @@ type AtlanEntityAttributes = {
|
|
|
30
36
|
usage?: string;
|
|
31
37
|
userDescription?: string;
|
|
32
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* Atlan glossary format. See https://apidocs.atlan.com/
|
|
41
|
+
*/
|
|
33
42
|
type AtlanGlossary = {
|
|
34
43
|
entity?: AtlanEntity;
|
|
35
44
|
referredEntities?: AtlanEntity[];
|
|
@@ -151,6 +160,28 @@ type ErrorResponse = {
|
|
|
151
160
|
errors?: ErrorResponseCode[];
|
|
152
161
|
traceId?: string;
|
|
153
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
|
+
*/
|
|
154
185
|
type ErrorResponseBadRequest = {
|
|
155
186
|
errors?: ErrorResponseCode[];
|
|
156
187
|
traceId?: string;
|
|
@@ -160,10 +191,20 @@ type ErrorResponseCode = {
|
|
|
160
191
|
detail?: string;
|
|
161
192
|
title?: string;
|
|
162
193
|
};
|
|
194
|
+
/**
|
|
195
|
+
* ### Custom error codes
|
|
196
|
+
* * BG-3 - Access denied, no read access
|
|
197
|
+
*/
|
|
163
198
|
type ErrorResponseForbidden = {
|
|
164
199
|
errors?: ErrorResponseCode[];
|
|
165
200
|
traceId?: string;
|
|
166
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
|
+
*/
|
|
167
208
|
type ErrorResponseNotFound = {
|
|
168
209
|
errors?: ErrorResponseCode[];
|
|
169
210
|
traceId?: string;
|
|
@@ -324,6 +365,9 @@ type Term = {
|
|
|
324
365
|
/** The uuid of the user who last updated the term */
|
|
325
366
|
readonly updatedBy: string;
|
|
326
367
|
};
|
|
368
|
+
/**
|
|
369
|
+
* Describes links to other data assets such as analytics applications or dataset.
|
|
370
|
+
*/
|
|
327
371
|
type TermCreateLinksTo = {
|
|
328
372
|
resourceId: string;
|
|
329
373
|
resourceType: "app" | "dataset";
|
|
@@ -332,6 +376,9 @@ type TermCreateLinksTo = {
|
|
|
332
376
|
subResourceType?: "master_dimension" | "master_measure";
|
|
333
377
|
type?: "definition" | "related";
|
|
334
378
|
};
|
|
379
|
+
/**
|
|
380
|
+
* Describes links to other entities such as qlik charts, dataset columns etc.
|
|
381
|
+
*/
|
|
335
382
|
type TermLinksTo = {
|
|
336
383
|
readonly createdAt?: string;
|
|
337
384
|
createdBy?: string;
|
|
@@ -356,6 +403,9 @@ type TermRelatesTo = {
|
|
|
356
403
|
/** How the term related to the other object */
|
|
357
404
|
type: "isA" | "hasA" | "seeAlso" | "synonym" | "antonym" | "classifies" | "other";
|
|
358
405
|
};
|
|
406
|
+
/**
|
|
407
|
+
* Terms status is used determine the status of a term
|
|
408
|
+
*/
|
|
359
409
|
type TermStatus = {
|
|
360
410
|
type: "draft" | "verified" | "deprecated";
|
|
361
411
|
/** Time when the state was changed */
|
package/glossaries.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/glossaries.ts
|
|
9
|
-
var getGlossaries = async (query, options) =>
|
|
9
|
+
var getGlossaries = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/glossaries",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createGlossary = async (body, options) =>
|
|
15
|
+
var createGlossary = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/glossaries",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var importGlossary = async (query, body, options) =>
|
|
22
|
+
var importGlossary = async (query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/glossaries/actions/import",
|
|
25
25
|
query,
|
|
@@ -27,19 +27,19 @@ var importGlossary = async (query, body, options) => _EL2GSPZZjs.invokeFetch.cal
|
|
|
27
27
|
contentType: "application/json",
|
|
28
28
|
options
|
|
29
29
|
});
|
|
30
|
-
var deleteGlossary = async (id, options) =>
|
|
30
|
+
var deleteGlossary = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
31
31
|
method: "delete",
|
|
32
32
|
pathTemplate: "/api/v1/glossaries/{id}",
|
|
33
33
|
pathVariables: { id },
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var getGlossary = async (id, options) =>
|
|
36
|
+
var getGlossary = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
37
37
|
method: "get",
|
|
38
38
|
pathTemplate: "/api/v1/glossaries/{id}",
|
|
39
39
|
pathVariables: { id },
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
|
-
var patchGlossary = async (id, body, options) =>
|
|
42
|
+
var patchGlossary = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
43
43
|
method: "patch",
|
|
44
44
|
pathTemplate: "/api/v1/glossaries/{id}",
|
|
45
45
|
pathVariables: { id },
|
|
@@ -47,7 +47,7 @@ var patchGlossary = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(vo
|
|
|
47
47
|
contentType: "application/json",
|
|
48
48
|
options
|
|
49
49
|
});
|
|
50
|
-
var updateGlossary = async (id, body, options) =>
|
|
50
|
+
var updateGlossary = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
51
51
|
method: "put",
|
|
52
52
|
pathTemplate: "/api/v1/glossaries/{id}",
|
|
53
53
|
pathVariables: { id },
|
|
@@ -55,20 +55,20 @@ var updateGlossary = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(v
|
|
|
55
55
|
contentType: "application/json",
|
|
56
56
|
options
|
|
57
57
|
});
|
|
58
|
-
var exportGlossary = async (id, options) =>
|
|
58
|
+
var exportGlossary = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
59
59
|
method: "get",
|
|
60
60
|
pathTemplate: "/api/v1/glossaries/{id}/actions/export",
|
|
61
61
|
pathVariables: { id },
|
|
62
62
|
options
|
|
63
63
|
});
|
|
64
|
-
var getGlossaryCategories = async (id, query, options) =>
|
|
64
|
+
var getGlossaryCategories = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
65
65
|
method: "get",
|
|
66
66
|
pathTemplate: "/api/v1/glossaries/{id}/categories",
|
|
67
67
|
pathVariables: { id },
|
|
68
68
|
query,
|
|
69
69
|
options
|
|
70
70
|
});
|
|
71
|
-
var createGlossaryCategory = async (id, body, options) =>
|
|
71
|
+
var createGlossaryCategory = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
72
72
|
method: "post",
|
|
73
73
|
pathTemplate: "/api/v1/glossaries/{id}/categories",
|
|
74
74
|
pathVariables: { id },
|
|
@@ -76,19 +76,19 @@ var createGlossaryCategory = async (id, body, options) => _EL2GSPZZjs.invokeFetc
|
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
options
|
|
78
78
|
});
|
|
79
|
-
var deleteGlossaryCategory = async (id, categoryId, options) =>
|
|
79
|
+
var deleteGlossaryCategory = async (id, categoryId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
80
80
|
method: "delete",
|
|
81
81
|
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
82
82
|
pathVariables: { id, categoryId },
|
|
83
83
|
options
|
|
84
84
|
});
|
|
85
|
-
var getGlossaryCategory = async (id, categoryId, options) =>
|
|
85
|
+
var getGlossaryCategory = async (id, categoryId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
86
86
|
method: "get",
|
|
87
87
|
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
88
88
|
pathVariables: { id, categoryId },
|
|
89
89
|
options
|
|
90
90
|
});
|
|
91
|
-
var patchGlossaryCategory = async (id, categoryId, body, options) =>
|
|
91
|
+
var patchGlossaryCategory = async (id, categoryId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
92
92
|
method: "patch",
|
|
93
93
|
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
94
94
|
pathVariables: { id, categoryId },
|
|
@@ -96,7 +96,7 @@ var patchGlossaryCategory = async (id, categoryId, body, options) => _EL2GSPZZjs
|
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
options
|
|
98
98
|
});
|
|
99
|
-
var updateGlossaryCategory = async (id, categoryId, body, options) =>
|
|
99
|
+
var updateGlossaryCategory = async (id, categoryId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
100
100
|
method: "put",
|
|
101
101
|
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
102
102
|
pathVariables: { id, categoryId },
|
|
@@ -104,14 +104,14 @@ var updateGlossaryCategory = async (id, categoryId, body, options) => _EL2GSPZZj
|
|
|
104
104
|
contentType: "application/json",
|
|
105
105
|
options
|
|
106
106
|
});
|
|
107
|
-
var getGlossaryTerms = async (id, query, options) =>
|
|
107
|
+
var getGlossaryTerms = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
108
108
|
method: "get",
|
|
109
109
|
pathTemplate: "/api/v1/glossaries/{id}/terms",
|
|
110
110
|
pathVariables: { id },
|
|
111
111
|
query,
|
|
112
112
|
options
|
|
113
113
|
});
|
|
114
|
-
var createGlossaryTerm = async (id, body, options) =>
|
|
114
|
+
var createGlossaryTerm = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
115
115
|
method: "post",
|
|
116
116
|
pathTemplate: "/api/v1/glossaries/{id}/terms",
|
|
117
117
|
pathVariables: { id },
|
|
@@ -119,19 +119,19 @@ var createGlossaryTerm = async (id, body, options) => _EL2GSPZZjs.invokeFetch.ca
|
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
options
|
|
121
121
|
});
|
|
122
|
-
var deleteGlossaryTerm = async (id, termId, options) =>
|
|
122
|
+
var deleteGlossaryTerm = async (id, termId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
123
123
|
method: "delete",
|
|
124
124
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
125
125
|
pathVariables: { id, termId },
|
|
126
126
|
options
|
|
127
127
|
});
|
|
128
|
-
var getGlossaryTerm = async (id, termId, options) =>
|
|
128
|
+
var getGlossaryTerm = async (id, termId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
129
129
|
method: "get",
|
|
130
130
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
131
131
|
pathVariables: { id, termId },
|
|
132
132
|
options
|
|
133
133
|
});
|
|
134
|
-
var patchGlossaryTerm = async (id, termId, body, options) =>
|
|
134
|
+
var patchGlossaryTerm = async (id, termId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
135
135
|
method: "patch",
|
|
136
136
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
137
137
|
pathVariables: { id, termId },
|
|
@@ -139,7 +139,7 @@ var patchGlossaryTerm = async (id, termId, body, options) => _EL2GSPZZjs.invokeF
|
|
|
139
139
|
contentType: "application/json",
|
|
140
140
|
options
|
|
141
141
|
});
|
|
142
|
-
var updateGlossaryTerm = async (id, termId, body, options) =>
|
|
142
|
+
var updateGlossaryTerm = async (id, termId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
143
143
|
method: "put",
|
|
144
144
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
145
145
|
pathVariables: { id, termId },
|
|
@@ -147,21 +147,21 @@ var updateGlossaryTerm = async (id, termId, body, options) => _EL2GSPZZjs.invoke
|
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
options
|
|
149
149
|
});
|
|
150
|
-
var changeGlossaryTermStatus = async (id, termId, query, options) =>
|
|
150
|
+
var changeGlossaryTermStatus = async (id, termId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
151
151
|
method: "post",
|
|
152
152
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/actions/change-status",
|
|
153
153
|
pathVariables: { id, termId },
|
|
154
154
|
query,
|
|
155
155
|
options
|
|
156
156
|
});
|
|
157
|
-
var getGlossaryTermLinks = async (id, termId, query, options) =>
|
|
157
|
+
var getGlossaryTermLinks = async (id, termId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
158
158
|
method: "get",
|
|
159
159
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
|
|
160
160
|
pathVariables: { id, termId },
|
|
161
161
|
query,
|
|
162
162
|
options
|
|
163
163
|
});
|
|
164
|
-
var createGlossaryTermLink = async (id, termId, body, options) =>
|
|
164
|
+
var createGlossaryTermLink = async (id, termId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
165
165
|
method: "post",
|
|
166
166
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
|
|
167
167
|
pathVariables: { id, termId },
|
|
@@ -169,7 +169,7 @@ var createGlossaryTermLink = async (id, termId, body, options) => _EL2GSPZZjs.in
|
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
options
|
|
171
171
|
});
|
|
172
|
-
var getGlossaryTermRevisions = async (id, termId, query, options) =>
|
|
172
|
+
var getGlossaryTermRevisions = async (id, termId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "glossaries", {
|
|
173
173
|
method: "get",
|
|
174
174
|
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/revisions",
|
|
175
175
|
pathVariables: { id, termId },
|
|
@@ -177,7 +177,7 @@ var getGlossaryTermRevisions = async (id, termId, query, options) => _EL2GSPZZjs
|
|
|
177
177
|
options
|
|
178
178
|
});
|
|
179
179
|
function clearCache() {
|
|
180
|
-
return
|
|
180
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "glossaries");
|
|
181
181
|
}
|
|
182
182
|
var glossariesExport = {
|
|
183
183
|
getGlossaries,
|
package/glossaries.mjs
CHANGED
package/groups.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* An array of role references.
|
|
6
|
+
*/
|
|
4
7
|
type AssignedRoles = {
|
|
5
8
|
/** The unique role identitier */
|
|
6
9
|
id: string;
|
|
@@ -13,14 +16,23 @@ type AssignedRoles = {
|
|
|
13
16
|
/** The type of role */
|
|
14
17
|
readonly type: "default";
|
|
15
18
|
}[];
|
|
19
|
+
/**
|
|
20
|
+
* An array of role reference identifiers.
|
|
21
|
+
*/
|
|
16
22
|
type AssignedRolesRefIDs = {
|
|
17
23
|
/** The unique role identitier */
|
|
18
24
|
id: string;
|
|
19
25
|
}[];
|
|
26
|
+
/**
|
|
27
|
+
* An array of role reference names.
|
|
28
|
+
*/
|
|
20
29
|
type AssignedRolesRefNames = {
|
|
21
30
|
/** The name of the role */
|
|
22
31
|
name: string;
|
|
23
32
|
}[];
|
|
33
|
+
/**
|
|
34
|
+
* An error object describing the error.
|
|
35
|
+
*/
|
|
24
36
|
type Error = {
|
|
25
37
|
/** The error code. */
|
|
26
38
|
code: string;
|
|
@@ -40,16 +52,25 @@ type Error = {
|
|
|
40
52
|
/** Summary of the problem. */
|
|
41
53
|
title: string;
|
|
42
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
57
|
+
*/
|
|
43
58
|
type Errors = {
|
|
44
59
|
/** An array of errors related to the operation. */
|
|
45
60
|
errors?: Error[];
|
|
46
61
|
/** A unique identifier for tracing the error. */
|
|
47
62
|
traceId?: string;
|
|
48
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* An advanced query filter to be used for complex user querying in the tenant.
|
|
66
|
+
*/
|
|
49
67
|
type Filter = {
|
|
50
68
|
/** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
|
|
51
69
|
filter?: string;
|
|
52
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* represents a Group document
|
|
73
|
+
*/
|
|
53
74
|
type Group = {
|
|
54
75
|
assignedRoles?: {
|
|
55
76
|
id: string;
|
|
@@ -78,6 +99,9 @@ type Group = {
|
|
|
78
99
|
/** The tenant identifier associated with the given group */
|
|
79
100
|
tenantId: string;
|
|
80
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* A JSON Patch document.
|
|
104
|
+
*/
|
|
81
105
|
type GroupPatch = {
|
|
82
106
|
/** The operation to be performed. Currently "replace" is the only supported operation. */
|
|
83
107
|
op: "replace";
|
|
@@ -86,6 +110,9 @@ type GroupPatch = {
|
|
|
86
110
|
/** The roles to assign to the group (limit of 100 roles per group). */
|
|
87
111
|
value: AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
88
112
|
};
|
|
113
|
+
/**
|
|
114
|
+
* An array of JSON Patches for a group.
|
|
115
|
+
*/
|
|
89
116
|
type GroupPatchSchema = GroupPatch[];
|
|
90
117
|
type GroupPostSchema = {
|
|
91
118
|
/** The roles to assign to the group (limit of 100 roles per group). */
|
|
@@ -95,6 +122,9 @@ type GroupPostSchema = {
|
|
|
95
122
|
/** The status of the created group within the tenant. Defaults to active if empty. */
|
|
96
123
|
status?: "active";
|
|
97
124
|
};
|
|
125
|
+
/**
|
|
126
|
+
* represents a GroupSetting document
|
|
127
|
+
*/
|
|
98
128
|
type GroupSettings = {
|
|
99
129
|
/** Determines if groups should be created on login. */
|
|
100
130
|
autoCreateGroups: boolean;
|
|
@@ -126,6 +156,9 @@ type GroupSettings = {
|
|
|
126
156
|
/** The unique tenant identifier. */
|
|
127
157
|
tenantId: string;
|
|
128
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
* A result object when listing groups.
|
|
161
|
+
*/
|
|
129
162
|
type Groups = {
|
|
130
163
|
/** An array of groups. */
|
|
131
164
|
data?: Group[];
|
|
@@ -146,6 +179,9 @@ type Groups = {
|
|
|
146
179
|
/** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
|
|
147
180
|
totalResults?: number;
|
|
148
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
184
|
+
*/
|
|
149
185
|
type SettingsPatch = {
|
|
150
186
|
/** The operation to be performed. */
|
|
151
187
|
op: "replace";
|
|
@@ -154,6 +190,9 @@ type SettingsPatch = {
|
|
|
154
190
|
/** The value to be used for this operation. */
|
|
155
191
|
value: boolean | AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
156
192
|
};
|
|
193
|
+
/**
|
|
194
|
+
* An array of JSON Patches for the groups settings.
|
|
195
|
+
*/
|
|
157
196
|
type SettingsPatchSchema = SettingsPatch[];
|
|
158
197
|
/**
|
|
159
198
|
* Returns a list of groups with cursor-based pagination.
|
package/groups.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* An array of role references.
|
|
6
|
+
*/
|
|
4
7
|
type AssignedRoles = {
|
|
5
8
|
/** The unique role identitier */
|
|
6
9
|
id: string;
|
|
@@ -13,14 +16,23 @@ type AssignedRoles = {
|
|
|
13
16
|
/** The type of role */
|
|
14
17
|
readonly type: "default";
|
|
15
18
|
}[];
|
|
19
|
+
/**
|
|
20
|
+
* An array of role reference identifiers.
|
|
21
|
+
*/
|
|
16
22
|
type AssignedRolesRefIDs = {
|
|
17
23
|
/** The unique role identitier */
|
|
18
24
|
id: string;
|
|
19
25
|
}[];
|
|
26
|
+
/**
|
|
27
|
+
* An array of role reference names.
|
|
28
|
+
*/
|
|
20
29
|
type AssignedRolesRefNames = {
|
|
21
30
|
/** The name of the role */
|
|
22
31
|
name: string;
|
|
23
32
|
}[];
|
|
33
|
+
/**
|
|
34
|
+
* An error object describing the error.
|
|
35
|
+
*/
|
|
24
36
|
type Error = {
|
|
25
37
|
/** The error code. */
|
|
26
38
|
code: string;
|
|
@@ -40,16 +52,25 @@ type Error = {
|
|
|
40
52
|
/** Summary of the problem. */
|
|
41
53
|
title: string;
|
|
42
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
57
|
+
*/
|
|
43
58
|
type Errors = {
|
|
44
59
|
/** An array of errors related to the operation. */
|
|
45
60
|
errors?: Error[];
|
|
46
61
|
/** A unique identifier for tracing the error. */
|
|
47
62
|
traceId?: string;
|
|
48
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* An advanced query filter to be used for complex user querying in the tenant.
|
|
66
|
+
*/
|
|
49
67
|
type Filter = {
|
|
50
68
|
/** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
|
|
51
69
|
filter?: string;
|
|
52
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* represents a Group document
|
|
73
|
+
*/
|
|
53
74
|
type Group = {
|
|
54
75
|
assignedRoles?: {
|
|
55
76
|
id: string;
|
|
@@ -78,6 +99,9 @@ type Group = {
|
|
|
78
99
|
/** The tenant identifier associated with the given group */
|
|
79
100
|
tenantId: string;
|
|
80
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* A JSON Patch document.
|
|
104
|
+
*/
|
|
81
105
|
type GroupPatch = {
|
|
82
106
|
/** The operation to be performed. Currently "replace" is the only supported operation. */
|
|
83
107
|
op: "replace";
|
|
@@ -86,6 +110,9 @@ type GroupPatch = {
|
|
|
86
110
|
/** The roles to assign to the group (limit of 100 roles per group). */
|
|
87
111
|
value: AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
88
112
|
};
|
|
113
|
+
/**
|
|
114
|
+
* An array of JSON Patches for a group.
|
|
115
|
+
*/
|
|
89
116
|
type GroupPatchSchema = GroupPatch[];
|
|
90
117
|
type GroupPostSchema = {
|
|
91
118
|
/** The roles to assign to the group (limit of 100 roles per group). */
|
|
@@ -95,6 +122,9 @@ type GroupPostSchema = {
|
|
|
95
122
|
/** The status of the created group within the tenant. Defaults to active if empty. */
|
|
96
123
|
status?: "active";
|
|
97
124
|
};
|
|
125
|
+
/**
|
|
126
|
+
* represents a GroupSetting document
|
|
127
|
+
*/
|
|
98
128
|
type GroupSettings = {
|
|
99
129
|
/** Determines if groups should be created on login. */
|
|
100
130
|
autoCreateGroups: boolean;
|
|
@@ -126,6 +156,9 @@ type GroupSettings = {
|
|
|
126
156
|
/** The unique tenant identifier. */
|
|
127
157
|
tenantId: string;
|
|
128
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
* A result object when listing groups.
|
|
161
|
+
*/
|
|
129
162
|
type Groups = {
|
|
130
163
|
/** An array of groups. */
|
|
131
164
|
data?: Group[];
|
|
@@ -146,6 +179,9 @@ type Groups = {
|
|
|
146
179
|
/** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
|
|
147
180
|
totalResults?: number;
|
|
148
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
184
|
+
*/
|
|
149
185
|
type SettingsPatch = {
|
|
150
186
|
/** The operation to be performed. */
|
|
151
187
|
op: "replace";
|
|
@@ -154,6 +190,9 @@ type SettingsPatch = {
|
|
|
154
190
|
/** The value to be used for this operation. */
|
|
155
191
|
value: boolean | AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
156
192
|
};
|
|
193
|
+
/**
|
|
194
|
+
* An array of JSON Patches for the groups settings.
|
|
195
|
+
*/
|
|
157
196
|
type SettingsPatchSchema = SettingsPatch[];
|
|
158
197
|
/**
|
|
159
198
|
* Returns a list of groups with cursor-based pagination.
|
package/groups.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/groups.ts
|
|
9
|
-
var getGroups = async (query, options) =>
|
|
9
|
+
var getGroups = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/groups",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createGroup = async (body, options) =>
|
|
15
|
+
var createGroup = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/groups",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var filterGroups = async (query, body, options) =>
|
|
22
|
+
var filterGroups = async (query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/groups/actions/filter",
|
|
25
25
|
query,
|
|
@@ -27,31 +27,31 @@ var filterGroups = async (query, body, options) => _EL2GSPZZjs.invokeFetch.call(
|
|
|
27
27
|
contentType: "application/json",
|
|
28
28
|
options
|
|
29
29
|
});
|
|
30
|
-
var getGroupsSettings = async (options) =>
|
|
30
|
+
var getGroupsSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
31
31
|
method: "get",
|
|
32
32
|
pathTemplate: "/api/v1/groups/settings",
|
|
33
33
|
options
|
|
34
34
|
});
|
|
35
|
-
var patchGroupsSettings = async (body, options) =>
|
|
35
|
+
var patchGroupsSettings = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
36
36
|
method: "patch",
|
|
37
37
|
pathTemplate: "/api/v1/groups/settings",
|
|
38
38
|
body,
|
|
39
39
|
contentType: "application/json",
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
|
-
var deleteGroup = async (groupId, options) =>
|
|
42
|
+
var deleteGroup = async (groupId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
43
43
|
method: "delete",
|
|
44
44
|
pathTemplate: "/api/v1/groups/{groupId}",
|
|
45
45
|
pathVariables: { groupId },
|
|
46
46
|
options
|
|
47
47
|
});
|
|
48
|
-
var getGroup = async (groupId, options) =>
|
|
48
|
+
var getGroup = async (groupId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
49
49
|
method: "get",
|
|
50
50
|
pathTemplate: "/api/v1/groups/{groupId}",
|
|
51
51
|
pathVariables: { groupId },
|
|
52
52
|
options
|
|
53
53
|
});
|
|
54
|
-
var patchGroup = async (groupId, body, options) =>
|
|
54
|
+
var patchGroup = async (groupId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
|
|
55
55
|
method: "patch",
|
|
56
56
|
pathTemplate: "/api/v1/groups/{groupId}",
|
|
57
57
|
pathVariables: { groupId },
|
|
@@ -60,7 +60,7 @@ var patchGroup = async (groupId, body, options) => _EL2GSPZZjs.invokeFetch.call(
|
|
|
60
60
|
options
|
|
61
61
|
});
|
|
62
62
|
function clearCache() {
|
|
63
|
-
return
|
|
63
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "groups");
|
|
64
64
|
}
|
|
65
65
|
var groupsExport = {
|
|
66
66
|
getGroups,
|
package/groups.mjs
CHANGED