@qlik/api 0.0.9 → 0.0.11
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/{XY3AC335.js → 277NFGPR.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
- package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
- package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
- package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
- package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
- package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
- package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
- package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
- package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
- package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
- package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
- package/chunks/SPJKF5VW.js +17 -0
- package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
- package/chunks/X3YDQVZ6.js +41 -0
- package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
- 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.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 _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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 _NZ6E5ZHOjs.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 _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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 _NZ6E5ZHOjs.clearApiCache.call(void 0, "groups");
|
|
64
64
|
}
|
|
65
65
|
var groupsExport = {
|
|
66
66
|
getGroups,
|
package/groups.mjs
CHANGED
package/identity-providers.d.mts
CHANGED
|
@@ -26,6 +26,9 @@ type BaseIDP = {
|
|
|
26
26
|
/** The tenant identifiers associated with the given IdP. */
|
|
27
27
|
tenantIds?: string[];
|
|
28
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* Payload for creating an identity provider using JWT authentication.
|
|
31
|
+
*/
|
|
29
32
|
type CreateJWTAuthPayload = {
|
|
30
33
|
/** There can be clock skew between the IdP and Qlik's login server, in these cases a tolerance can be set, decimals will be rounded off. */
|
|
31
34
|
clockToleranceSec?: number;
|
|
@@ -49,6 +52,9 @@ type CreateJWTAuthPayload = {
|
|
|
49
52
|
/** The tenant identifiers that map to the given IdP. */
|
|
50
53
|
tenantIds?: string[];
|
|
51
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Payload for creating an OIDC-compatible identity provider.
|
|
57
|
+
*/
|
|
52
58
|
type CreateOIDCPayload = {
|
|
53
59
|
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set, decimals will be rounded off. */
|
|
54
60
|
clockToleranceSec?: number;
|
|
@@ -106,6 +112,9 @@ type CreateOIDCPayload = {
|
|
|
106
112
|
/** The tenant identifiers that map to the given IdP. */
|
|
107
113
|
tenantIds?: string[];
|
|
108
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* An error object.
|
|
117
|
+
*/
|
|
109
118
|
type Error = {
|
|
110
119
|
/** The error code. */
|
|
111
120
|
code: string;
|
|
@@ -125,6 +134,9 @@ type Error = {
|
|
|
125
134
|
/** Summary of the problem. */
|
|
126
135
|
title: string;
|
|
127
136
|
};
|
|
137
|
+
/**
|
|
138
|
+
* A representation of the errors encountered from the HTTP request.
|
|
139
|
+
*/
|
|
128
140
|
type Errors = {
|
|
129
141
|
errors?: Error[];
|
|
130
142
|
};
|
|
@@ -135,6 +147,9 @@ type IDPArray = {
|
|
|
135
147
|
/** Contains pagination links. */
|
|
136
148
|
links?: Links;
|
|
137
149
|
};
|
|
150
|
+
/**
|
|
151
|
+
* An identity provider for JWT authentication.
|
|
152
|
+
*/
|
|
138
153
|
type IDPJWTAuth = BaseIDP & {
|
|
139
154
|
options?: {
|
|
140
155
|
/** The expected JWT issuer */
|
|
@@ -153,6 +168,9 @@ type IDPMeta = {
|
|
|
153
168
|
/** A link to direct you to where you can manage your Qlik account. Only available if the default identity provider is used (no custom interactive identity providers are active). */
|
|
154
169
|
userPortalLink?: string;
|
|
155
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* An OIDC-compliant identity provider.
|
|
173
|
+
*/
|
|
156
174
|
type IDPOIDC = BaseIDP & {
|
|
157
175
|
options?: IDPOptions;
|
|
158
176
|
pendingOptions?: IDPOptions;
|
|
@@ -184,7 +202,13 @@ type IDPOptions = {
|
|
|
184
202
|
};
|
|
185
203
|
type IDPPatchSchema = PatchOIDCPayload[] | PatchJWTAuthPayload[];
|
|
186
204
|
type IDPPostSchema = CreateOIDCPayload | CreateJWTAuthPayload;
|
|
205
|
+
/**
|
|
206
|
+
* The protocol to be used for communicating with the identity provider. Valid values are `OIDC`, `jwtAuth`, and `qsefw-local-bearer-token`.
|
|
207
|
+
*/
|
|
187
208
|
type IDPProtocol = "OIDC" | "jwtAuth" | "qsefw-local-bearer-token";
|
|
209
|
+
/**
|
|
210
|
+
* The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`.
|
|
211
|
+
*/
|
|
188
212
|
type IDPProvider = "auth0" | "okta" | "qlik" | "generic" | "salesforce" | "keycloak" | "adfs" | "external" | "azureAD";
|
|
189
213
|
type IDPsStatus = {
|
|
190
214
|
/** The number of active interactive IdPs. */
|
|
@@ -199,6 +223,9 @@ type IDPsStatus = {
|
|
|
199
223
|
provider?: IDPProvider;
|
|
200
224
|
}[];
|
|
201
225
|
};
|
|
226
|
+
/**
|
|
227
|
+
* Contains pagination links.
|
|
228
|
+
*/
|
|
202
229
|
type Links = {
|
|
203
230
|
next?: {
|
|
204
231
|
/** Link to the next page of items. */
|
|
@@ -213,6 +240,9 @@ type Links = {
|
|
|
213
240
|
href?: string;
|
|
214
241
|
};
|
|
215
242
|
};
|
|
243
|
+
/**
|
|
244
|
+
* OpenID configuration
|
|
245
|
+
*/
|
|
216
246
|
type OpenIDConfiguration = {
|
|
217
247
|
/** OAuth 2.0 Authorization Endpoint */
|
|
218
248
|
authorization_endpoint: string;
|
|
@@ -229,6 +259,9 @@ type OpenIDConfiguration = {
|
|
|
229
259
|
/** URL of the OP's UserInfo Endpoint */
|
|
230
260
|
userinfo_endpoint?: string;
|
|
231
261
|
};
|
|
262
|
+
/**
|
|
263
|
+
* A patch request for an identity provider using the `jwtAuth` protocol.
|
|
264
|
+
*/
|
|
232
265
|
type PatchJWTAuthPayload = {
|
|
233
266
|
/** The "operation" to be performed on a given IdP. */
|
|
234
267
|
op: "replace";
|
|
@@ -237,6 +270,9 @@ type PatchJWTAuthPayload = {
|
|
|
237
270
|
/** The "value" data type is dependent on the path value being used. */
|
|
238
271
|
value?: unknown;
|
|
239
272
|
};
|
|
273
|
+
/**
|
|
274
|
+
* A patch request for an identity provider using the `OIDC` protocol.
|
|
275
|
+
*/
|
|
240
276
|
type PatchOIDCPayload = {
|
|
241
277
|
/** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */
|
|
242
278
|
op: "replace" | "promote-options";
|
|
@@ -265,6 +301,9 @@ type PendingResult = {
|
|
|
265
301
|
/** The status of the IdP configuration being tested. */
|
|
266
302
|
status: "success" | "pending" | "error" | "claimsError" | "callbackError" | "tokenError" | "protocolError" | "networkError" | "configChangedDuringTestError";
|
|
267
303
|
};
|
|
304
|
+
/**
|
|
305
|
+
* Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
|
|
306
|
+
*/
|
|
268
307
|
type ClaimsMappingInteractive = {
|
|
269
308
|
/** A list of JSON pointers used to map the user's client ID. */
|
|
270
309
|
client_id?: string[];
|
|
@@ -285,6 +324,9 @@ type ClaimsMappingInteractive = {
|
|
|
285
324
|
/** A list of JSON pointers used to map the user's zoneinfo. */
|
|
286
325
|
zoneinfo?: string[];
|
|
287
326
|
};
|
|
327
|
+
/**
|
|
328
|
+
* Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
|
|
329
|
+
*/
|
|
288
330
|
type ClaimsMappingNonInteractive = {
|
|
289
331
|
/** A list of JSON pointers used to map the user's client ID. */
|
|
290
332
|
client_id?: string[];
|