@qlik/api 0.0.2 → 0.0.3
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 +14 -0
- package/api-keys.d.ts +14 -0
- package/api-keys.js +14 -10
- package/api-keys.mjs +6 -2
- package/apps.d.mts +478 -148
- package/apps.d.ts +478 -148
- package/apps.js +100 -42
- package/apps.mjs +60 -2
- package/audits.d.mts +12 -0
- package/audits.d.ts +12 -0
- package/audits.js +10 -9
- package/audits.mjs +3 -2
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +36 -0
- package/automations.d.ts +36 -0
- package/automations.js +28 -21
- package/automations.mjs +9 -2
- package/brands.d.mts +45 -4
- package/brands.d.ts +45 -4
- package/brands.js +20 -15
- package/brands.mjs +7 -2
- package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
- package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
- package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
- package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
- package/chunk-P57PW2II.js +11 -0
- package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
- package/chunk-ZFXKCRJC.mjs +11 -0
- package/collections.d.mts +51 -17
- package/collections.d.ts +51 -17
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +12 -0
- package/csp-origins.d.ts +12 -0
- package/csp-origins.js +12 -9
- package/csp-origins.mjs +5 -2
- package/data-assets.d.mts +10 -0
- package/data-assets.d.ts +10 -0
- package/data-assets.js +13 -8
- package/data-assets.mjs +7 -2
- package/data-connections.d.mts +18 -0
- package/data-connections.d.ts +18 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +8 -0
- package/data-credentials.d.ts +8 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +98 -13
- package/data-files.d.ts +98 -13
- package/data-files.js +22 -15
- package/data-files.mjs +9 -2
- package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
- package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
- package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
- package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
- package/extensions.d.mts +26 -2
- package/extensions.d.ts +26 -2
- package/extensions.js +13 -10
- package/extensions.mjs +5 -2
- package/glossaries.d.mts +55 -20
- package/glossaries.d.ts +55 -20
- package/glossaries.js +39 -27
- package/glossaries.mjs +14 -2
- package/groups.d.mts +16 -0
- package/groups.d.ts +16 -0
- package/groups.js +16 -11
- package/groups.mjs +7 -2
- package/identity-providers.d.mts +16 -0
- package/identity-providers.d.ts +16 -0
- package/identity-providers.js +14 -11
- package/identity-providers.mjs +5 -2
- package/index.js +135 -101
- package/index.mjs +131 -97
- package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +6 -6
- package/items.d.ts +6 -6
- package/items.js +14 -11
- package/items.mjs +5 -2
- package/licenses.d.mts +18 -0
- package/licenses.d.ts +18 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +4 -4
- package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +4 -3
- package/qix.mjs +3 -2
- package/quotas.d.mts +4 -0
- package/quotas.d.ts +4 -0
- package/quotas.js +6 -5
- package/quotas.mjs +3 -2
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +17 -10
- package/reloads.d.ts +17 -10
- package/reloads.js +9 -7
- package/reloads.mjs +4 -2
- package/roles.d.mts +4 -0
- package/roles.d.ts +4 -0
- package/roles.js +6 -5
- package/roles.mjs +3 -2
- package/spaces.d.mts +27 -4
- package/spaces.d.ts +27 -4
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +8 -3
- package/temp-contents.d.ts +8 -3
- package/temp-contents.js +8 -6
- package/temp-contents.mjs +4 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +14 -9
- package/tenants.mjs +7 -2
- package/themes.d.mts +26 -2
- package/themes.d.ts +26 -2
- package/themes.js +13 -10
- package/themes.mjs +5 -2
- package/transports.d.mts +12 -0
- package/transports.d.ts +12 -0
- package/transports.js +12 -9
- package/transports.mjs +5 -2
- package/users.d.mts +48 -29
- package/users.d.ts +48 -29
- package/users.js +18 -13
- package/users.mjs +7 -2
- package/web-integrations.d.mts +10 -0
- package/web-integrations.d.ts +10 -0
- package/web-integrations.js +11 -8
- package/web-integrations.mjs +5 -2
- package/web-notifications.d.mts +12 -0
- package/web-notifications.d.ts +12 -0
- package/web-notifications.js +12 -9
- package/web-notifications.mjs +5 -2
- package/webhooks.d.mts +25 -5
- package/webhooks.d.ts +25 -5
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/auth-OU7OTB7Y.js +0 -38
- package/auth-TE272Q34.mjs +0 -36
- package/chunk-4ES65KO3.js +0 -57
- package/chunk-4FLMND6T.js +0 -25
- package/chunk-4OMEH5SW.mjs +0 -1337
- package/chunk-6JERR27K.js +0 -17
- package/chunk-E42WUFCK.mjs +0 -57
- package/chunk-H7SAZYEE.js +0 -21
- package/chunk-KMMWJZHM.mjs +0 -25
- package/chunk-W4J34XGA.mjs +0 -17
- package/chunk-WM7FQU2U.mjs +0 -21
- package/chunk-XASXL2NC.js +0 -1337
- package/enigma-session-4L373ALV.mjs +0 -10196
- package/enigma-session-TEB53FAF.js +0 -10196
- package/esm-4X3DKK5D.js +0 -63
- package/esm-SOWVJKOQ.mjs +0 -63
- package/invoke-fetch-7PKPQ3FD.js +0 -14
- package/invoke-fetch-MSSJAZ7K.mjs +0 -14
- package/invoke-fetch-PEI54KZO.js +0 -14
- package/qix-EU7PXRZ6.mjs +0 -573
- package/qix-RLTISYTB.js +0 -573
package/groups.d.mts
CHANGED
|
@@ -157,6 +157,7 @@ type SettingsPatch = {
|
|
|
157
157
|
type SettingsPatchSchema = SettingsPatch[];
|
|
158
158
|
/**
|
|
159
159
|
* Returns a list of groups with cursor-based pagination.
|
|
160
|
+
*
|
|
160
161
|
* @param query an object with query parameters
|
|
161
162
|
* @throws GetGroupsHttpError
|
|
162
163
|
*/
|
|
@@ -190,6 +191,7 @@ type GetGroupsHttpError = {
|
|
|
190
191
|
};
|
|
191
192
|
/**
|
|
192
193
|
* Creates a group. The maximum number of groups a tenant can have is 10,000.
|
|
194
|
+
*
|
|
193
195
|
* @param body an object with the body content
|
|
194
196
|
* @throws CreateGroupHttpError
|
|
195
197
|
*/
|
|
@@ -206,6 +208,7 @@ type CreateGroupHttpError = {
|
|
|
206
208
|
};
|
|
207
209
|
/**
|
|
208
210
|
* Retrieves a list of groups matching the filter using advanced query string.
|
|
211
|
+
*
|
|
209
212
|
* @param query an object with query parameters
|
|
210
213
|
* @param body an object with the body content
|
|
211
214
|
* @throws FilterGroupsHttpError
|
|
@@ -234,6 +237,7 @@ type FilterGroupsHttpError = {
|
|
|
234
237
|
};
|
|
235
238
|
/**
|
|
236
239
|
* Returns the active tenant's group settings.
|
|
240
|
+
*
|
|
237
241
|
* @throws GetGroupsSettingsHttpError
|
|
238
242
|
*/
|
|
239
243
|
declare const getGroupsSettings: (options?: ApiCallOptions) => Promise<GetGroupsSettingsHttpResponse>;
|
|
@@ -249,6 +253,7 @@ type GetGroupsSettingsHttpError = {
|
|
|
249
253
|
};
|
|
250
254
|
/**
|
|
251
255
|
* Update group settings
|
|
256
|
+
*
|
|
252
257
|
* @param body an object with the body content
|
|
253
258
|
* @throws PatchGroupsSettingsHttpError
|
|
254
259
|
*/
|
|
@@ -265,6 +270,7 @@ type PatchGroupsSettingsHttpError = {
|
|
|
265
270
|
};
|
|
266
271
|
/**
|
|
267
272
|
* Delete group by id
|
|
273
|
+
*
|
|
268
274
|
* @param groupId The ID of the group to delete.
|
|
269
275
|
* @throws DeleteGroupHttpError
|
|
270
276
|
*/
|
|
@@ -281,6 +287,7 @@ type DeleteGroupHttpError = {
|
|
|
281
287
|
};
|
|
282
288
|
/**
|
|
283
289
|
* Returns the requested group.
|
|
290
|
+
*
|
|
284
291
|
* @param groupId The group's unique identifier
|
|
285
292
|
* @throws GetGroupHttpError
|
|
286
293
|
*/
|
|
@@ -297,6 +304,7 @@ type GetGroupHttpError = {
|
|
|
297
304
|
};
|
|
298
305
|
/**
|
|
299
306
|
* Update group by id
|
|
307
|
+
*
|
|
300
308
|
* @param groupId The ID of the group to update.
|
|
301
309
|
* @param body an object with the body content
|
|
302
310
|
* @throws PatchGroupHttpError
|
|
@@ -319,18 +327,21 @@ declare function clearCache(): void;
|
|
|
319
327
|
interface GroupsAPI {
|
|
320
328
|
/**
|
|
321
329
|
* Returns a list of groups with cursor-based pagination.
|
|
330
|
+
*
|
|
322
331
|
* @param query an object with query parameters
|
|
323
332
|
* @throws GetGroupsHttpError
|
|
324
333
|
*/
|
|
325
334
|
getGroups: typeof getGroups;
|
|
326
335
|
/**
|
|
327
336
|
* Creates a group. The maximum number of groups a tenant can have is 10,000.
|
|
337
|
+
*
|
|
328
338
|
* @param body an object with the body content
|
|
329
339
|
* @throws CreateGroupHttpError
|
|
330
340
|
*/
|
|
331
341
|
createGroup: typeof createGroup;
|
|
332
342
|
/**
|
|
333
343
|
* Retrieves a list of groups matching the filter using advanced query string.
|
|
344
|
+
*
|
|
334
345
|
* @param query an object with query parameters
|
|
335
346
|
* @param body an object with the body content
|
|
336
347
|
* @throws FilterGroupsHttpError
|
|
@@ -338,29 +349,34 @@ interface GroupsAPI {
|
|
|
338
349
|
filterGroups: typeof filterGroups;
|
|
339
350
|
/**
|
|
340
351
|
* Returns the active tenant's group settings.
|
|
352
|
+
*
|
|
341
353
|
* @throws GetGroupsSettingsHttpError
|
|
342
354
|
*/
|
|
343
355
|
getGroupsSettings: typeof getGroupsSettings;
|
|
344
356
|
/**
|
|
345
357
|
* Update group settings
|
|
358
|
+
*
|
|
346
359
|
* @param body an object with the body content
|
|
347
360
|
* @throws PatchGroupsSettingsHttpError
|
|
348
361
|
*/
|
|
349
362
|
patchGroupsSettings: typeof patchGroupsSettings;
|
|
350
363
|
/**
|
|
351
364
|
* Delete group by id
|
|
365
|
+
*
|
|
352
366
|
* @param groupId The ID of the group to delete.
|
|
353
367
|
* @throws DeleteGroupHttpError
|
|
354
368
|
*/
|
|
355
369
|
deleteGroup: typeof deleteGroup;
|
|
356
370
|
/**
|
|
357
371
|
* Returns the requested group.
|
|
372
|
+
*
|
|
358
373
|
* @param groupId The group's unique identifier
|
|
359
374
|
* @throws GetGroupHttpError
|
|
360
375
|
*/
|
|
361
376
|
getGroup: typeof getGroup;
|
|
362
377
|
/**
|
|
363
378
|
* Update group by id
|
|
379
|
+
*
|
|
364
380
|
* @param groupId The ID of the group to update.
|
|
365
381
|
* @param body an object with the body content
|
|
366
382
|
* @throws PatchGroupHttpError
|
package/groups.d.ts
CHANGED
|
@@ -157,6 +157,7 @@ type SettingsPatch = {
|
|
|
157
157
|
type SettingsPatchSchema = SettingsPatch[];
|
|
158
158
|
/**
|
|
159
159
|
* Returns a list of groups with cursor-based pagination.
|
|
160
|
+
*
|
|
160
161
|
* @param query an object with query parameters
|
|
161
162
|
* @throws GetGroupsHttpError
|
|
162
163
|
*/
|
|
@@ -190,6 +191,7 @@ type GetGroupsHttpError = {
|
|
|
190
191
|
};
|
|
191
192
|
/**
|
|
192
193
|
* Creates a group. The maximum number of groups a tenant can have is 10,000.
|
|
194
|
+
*
|
|
193
195
|
* @param body an object with the body content
|
|
194
196
|
* @throws CreateGroupHttpError
|
|
195
197
|
*/
|
|
@@ -206,6 +208,7 @@ type CreateGroupHttpError = {
|
|
|
206
208
|
};
|
|
207
209
|
/**
|
|
208
210
|
* Retrieves a list of groups matching the filter using advanced query string.
|
|
211
|
+
*
|
|
209
212
|
* @param query an object with query parameters
|
|
210
213
|
* @param body an object with the body content
|
|
211
214
|
* @throws FilterGroupsHttpError
|
|
@@ -234,6 +237,7 @@ type FilterGroupsHttpError = {
|
|
|
234
237
|
};
|
|
235
238
|
/**
|
|
236
239
|
* Returns the active tenant's group settings.
|
|
240
|
+
*
|
|
237
241
|
* @throws GetGroupsSettingsHttpError
|
|
238
242
|
*/
|
|
239
243
|
declare const getGroupsSettings: (options?: ApiCallOptions) => Promise<GetGroupsSettingsHttpResponse>;
|
|
@@ -249,6 +253,7 @@ type GetGroupsSettingsHttpError = {
|
|
|
249
253
|
};
|
|
250
254
|
/**
|
|
251
255
|
* Update group settings
|
|
256
|
+
*
|
|
252
257
|
* @param body an object with the body content
|
|
253
258
|
* @throws PatchGroupsSettingsHttpError
|
|
254
259
|
*/
|
|
@@ -265,6 +270,7 @@ type PatchGroupsSettingsHttpError = {
|
|
|
265
270
|
};
|
|
266
271
|
/**
|
|
267
272
|
* Delete group by id
|
|
273
|
+
*
|
|
268
274
|
* @param groupId The ID of the group to delete.
|
|
269
275
|
* @throws DeleteGroupHttpError
|
|
270
276
|
*/
|
|
@@ -281,6 +287,7 @@ type DeleteGroupHttpError = {
|
|
|
281
287
|
};
|
|
282
288
|
/**
|
|
283
289
|
* Returns the requested group.
|
|
290
|
+
*
|
|
284
291
|
* @param groupId The group's unique identifier
|
|
285
292
|
* @throws GetGroupHttpError
|
|
286
293
|
*/
|
|
@@ -297,6 +304,7 @@ type GetGroupHttpError = {
|
|
|
297
304
|
};
|
|
298
305
|
/**
|
|
299
306
|
* Update group by id
|
|
307
|
+
*
|
|
300
308
|
* @param groupId The ID of the group to update.
|
|
301
309
|
* @param body an object with the body content
|
|
302
310
|
* @throws PatchGroupHttpError
|
|
@@ -319,18 +327,21 @@ declare function clearCache(): void;
|
|
|
319
327
|
interface GroupsAPI {
|
|
320
328
|
/**
|
|
321
329
|
* Returns a list of groups with cursor-based pagination.
|
|
330
|
+
*
|
|
322
331
|
* @param query an object with query parameters
|
|
323
332
|
* @throws GetGroupsHttpError
|
|
324
333
|
*/
|
|
325
334
|
getGroups: typeof getGroups;
|
|
326
335
|
/**
|
|
327
336
|
* Creates a group. The maximum number of groups a tenant can have is 10,000.
|
|
337
|
+
*
|
|
328
338
|
* @param body an object with the body content
|
|
329
339
|
* @throws CreateGroupHttpError
|
|
330
340
|
*/
|
|
331
341
|
createGroup: typeof createGroup;
|
|
332
342
|
/**
|
|
333
343
|
* Retrieves a list of groups matching the filter using advanced query string.
|
|
344
|
+
*
|
|
334
345
|
* @param query an object with query parameters
|
|
335
346
|
* @param body an object with the body content
|
|
336
347
|
* @throws FilterGroupsHttpError
|
|
@@ -338,29 +349,34 @@ interface GroupsAPI {
|
|
|
338
349
|
filterGroups: typeof filterGroups;
|
|
339
350
|
/**
|
|
340
351
|
* Returns the active tenant's group settings.
|
|
352
|
+
*
|
|
341
353
|
* @throws GetGroupsSettingsHttpError
|
|
342
354
|
*/
|
|
343
355
|
getGroupsSettings: typeof getGroupsSettings;
|
|
344
356
|
/**
|
|
345
357
|
* Update group settings
|
|
358
|
+
*
|
|
346
359
|
* @param body an object with the body content
|
|
347
360
|
* @throws PatchGroupsSettingsHttpError
|
|
348
361
|
*/
|
|
349
362
|
patchGroupsSettings: typeof patchGroupsSettings;
|
|
350
363
|
/**
|
|
351
364
|
* Delete group by id
|
|
365
|
+
*
|
|
352
366
|
* @param groupId The ID of the group to delete.
|
|
353
367
|
* @throws DeleteGroupHttpError
|
|
354
368
|
*/
|
|
355
369
|
deleteGroup: typeof deleteGroup;
|
|
356
370
|
/**
|
|
357
371
|
* Returns the requested group.
|
|
372
|
+
*
|
|
358
373
|
* @param groupId The group's unique identifier
|
|
359
374
|
* @throws GetGroupHttpError
|
|
360
375
|
*/
|
|
361
376
|
getGroup: typeof getGroup;
|
|
362
377
|
/**
|
|
363
378
|
* Update group by id
|
|
379
|
+
*
|
|
364
380
|
* @param groupId The ID of the group to update.
|
|
365
381
|
* @param body an object with the body content
|
|
366
382
|
* @throws PatchGroupHttpError
|
package/groups.js
CHANGED
|
@@ -1,61 +1,66 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/groups.ts
|
|
8
|
-
var getGroups = async (query, options) =>
|
|
9
|
+
var getGroups = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/groups",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createGroup = async (body, options) =>
|
|
15
|
+
var createGroup = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/groups",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var filterGroups = async (query, body, options) =>
|
|
22
|
+
var filterGroups = async (query, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
21
23
|
method: "post",
|
|
22
24
|
pathTemplate: "/api/v1/groups/actions/filter",
|
|
23
25
|
query,
|
|
24
26
|
body,
|
|
27
|
+
contentType: "application/json",
|
|
25
28
|
options
|
|
26
29
|
});
|
|
27
|
-
var getGroupsSettings = async (options) =>
|
|
30
|
+
var getGroupsSettings = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
28
31
|
method: "get",
|
|
29
32
|
pathTemplate: "/api/v1/groups/settings",
|
|
30
33
|
options
|
|
31
34
|
});
|
|
32
|
-
var patchGroupsSettings = async (body, options) =>
|
|
35
|
+
var patchGroupsSettings = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
33
36
|
method: "patch",
|
|
34
37
|
pathTemplate: "/api/v1/groups/settings",
|
|
35
38
|
body,
|
|
39
|
+
contentType: "application/json",
|
|
36
40
|
options
|
|
37
41
|
});
|
|
38
|
-
var deleteGroup = async (groupId, options) =>
|
|
42
|
+
var deleteGroup = async (groupId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
39
43
|
method: "delete",
|
|
40
44
|
pathTemplate: "/api/v1/groups/{groupId}",
|
|
41
45
|
pathVariables: { groupId },
|
|
42
46
|
options
|
|
43
47
|
});
|
|
44
|
-
var getGroup = async (groupId, options) =>
|
|
48
|
+
var getGroup = async (groupId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
45
49
|
method: "get",
|
|
46
50
|
pathTemplate: "/api/v1/groups/{groupId}",
|
|
47
51
|
pathVariables: { groupId },
|
|
48
52
|
options
|
|
49
53
|
});
|
|
50
|
-
var patchGroup = async (groupId, body, options) =>
|
|
54
|
+
var patchGroup = async (groupId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "groups", {
|
|
51
55
|
method: "patch",
|
|
52
56
|
pathTemplate: "/api/v1/groups/{groupId}",
|
|
53
57
|
pathVariables: { groupId },
|
|
54
58
|
body,
|
|
59
|
+
contentType: "application/json",
|
|
55
60
|
options
|
|
56
61
|
});
|
|
57
62
|
function clearCache() {
|
|
58
|
-
return
|
|
63
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "groups");
|
|
59
64
|
}
|
|
60
65
|
var groupsExport = {
|
|
61
66
|
getGroups,
|
package/groups.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/groups.ts
|
|
8
9
|
var getGroups = async (query, options) => invokeFetch("groups", {
|
|
@@ -15,6 +16,7 @@ var createGroup = async (body, options) => invokeFetch("groups", {
|
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/groups",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
22
|
var filterGroups = async (query, body, options) => invokeFetch("groups", {
|
|
@@ -22,6 +24,7 @@ var filterGroups = async (query, body, options) => invokeFetch("groups", {
|
|
|
22
24
|
pathTemplate: "/api/v1/groups/actions/filter",
|
|
23
25
|
query,
|
|
24
26
|
body,
|
|
27
|
+
contentType: "application/json",
|
|
25
28
|
options
|
|
26
29
|
});
|
|
27
30
|
var getGroupsSettings = async (options) => invokeFetch("groups", {
|
|
@@ -33,6 +36,7 @@ var patchGroupsSettings = async (body, options) => invokeFetch("groups", {
|
|
|
33
36
|
method: "patch",
|
|
34
37
|
pathTemplate: "/api/v1/groups/settings",
|
|
35
38
|
body,
|
|
39
|
+
contentType: "application/json",
|
|
36
40
|
options
|
|
37
41
|
});
|
|
38
42
|
var deleteGroup = async (groupId, options) => invokeFetch("groups", {
|
|
@@ -52,6 +56,7 @@ var patchGroup = async (groupId, body, options) => invokeFetch("groups", {
|
|
|
52
56
|
pathTemplate: "/api/v1/groups/{groupId}",
|
|
53
57
|
pathVariables: { groupId },
|
|
54
58
|
body,
|
|
59
|
+
contentType: "application/json",
|
|
55
60
|
options
|
|
56
61
|
});
|
|
57
62
|
function clearCache() {
|
package/identity-providers.d.mts
CHANGED
|
@@ -293,6 +293,7 @@ type ClaimsMappingNonInteractive = {
|
|
|
293
293
|
};
|
|
294
294
|
/**
|
|
295
295
|
* This endpoint retrieves one or more identity providers from the service. The tenantID in the JWT will be used to fetch the identity provider.
|
|
296
|
+
*
|
|
296
297
|
* @param query an object with query parameters
|
|
297
298
|
* @throws GetIdpsHttpError
|
|
298
299
|
*/
|
|
@@ -320,6 +321,7 @@ type GetIdpsHttpError = {
|
|
|
320
321
|
};
|
|
321
322
|
/**
|
|
322
323
|
* This endpoint creates an identity provider resource. It returns a 201 Created when creation is successful with a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested), returns a 403 Forbidden for a non TenantAdmin user JWT or if the tenantID in the JWT does not match with any of the tenantIDs in the payload. An IdP can be created with Pending Options or options depending whether the IdP is interactive or not.
|
|
324
|
+
*
|
|
323
325
|
* @param body an object with the body content
|
|
324
326
|
* @throws CreateIdpHttpError
|
|
325
327
|
*/
|
|
@@ -336,6 +338,7 @@ type CreateIdpHttpError = {
|
|
|
336
338
|
};
|
|
337
339
|
/**
|
|
338
340
|
* This endpoint retrieves identity providers' metadata.
|
|
341
|
+
*
|
|
339
342
|
* @throws GetIdpWellKnownMetaDataHttpError
|
|
340
343
|
*/
|
|
341
344
|
declare const getIdpWellKnownMetaData: (options?: ApiCallOptions) => Promise<GetIdpWellKnownMetaDataHttpResponse>;
|
|
@@ -351,6 +354,7 @@ type GetIdpWellKnownMetaDataHttpError = {
|
|
|
351
354
|
};
|
|
352
355
|
/**
|
|
353
356
|
* Returns the active interactive IdP metadata
|
|
357
|
+
*
|
|
354
358
|
* @throws GetMyIdpMetaHttpError
|
|
355
359
|
*/
|
|
356
360
|
declare const getMyIdpMeta: (options?: ApiCallOptions) => Promise<GetMyIdpMetaHttpResponse>;
|
|
@@ -366,6 +370,7 @@ type GetMyIdpMetaHttpError = {
|
|
|
366
370
|
};
|
|
367
371
|
/**
|
|
368
372
|
* This endpoint retrieves the status of IdP configurations. Requires TenantAdmin role.
|
|
373
|
+
*
|
|
369
374
|
* @throws GetIdpStatusesHttpError
|
|
370
375
|
*/
|
|
371
376
|
declare const getIdpStatuses: (options?: ApiCallOptions) => Promise<GetIdpStatusesHttpResponse>;
|
|
@@ -381,6 +386,7 @@ type GetIdpStatusesHttpError = {
|
|
|
381
386
|
};
|
|
382
387
|
/**
|
|
383
388
|
* This endpoint deletes an identity provider from the service. It returns a valid 204 when the IdP is deleted. Only a user with the role of TenantAdmin and tenant access can delete an associated IdP. Edge-auth service can also delete.
|
|
389
|
+
*
|
|
384
390
|
* @param id The identity provider ID.
|
|
385
391
|
* @throws DeleteIdpHttpError
|
|
386
392
|
*/
|
|
@@ -397,6 +403,7 @@ type DeleteIdpHttpError = {
|
|
|
397
403
|
};
|
|
398
404
|
/**
|
|
399
405
|
* This endpoint is used to retrieve an identity provider from the service. It returns a valid 200 OK response when the IdP exists and the user (TenantAdmin) or service (edge-auth) is authorized to view the contents. Additionally, returns a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested). It returns a 404 Not Found if the criteria is not met.
|
|
406
|
+
*
|
|
400
407
|
* @param id The identity provider ID.
|
|
401
408
|
* @throws GetIdpHttpError
|
|
402
409
|
*/
|
|
@@ -413,6 +420,7 @@ type GetIdpHttpError = {
|
|
|
413
420
|
};
|
|
414
421
|
/**
|
|
415
422
|
* This endpoint patches an identity provider from the service. It returns a valid 204 when the IdP is patched. Only an edge-auth service request or a user with the role of TenantAdmin can patch an associated IdP. Partial failure is treated as complete failure and returns an error.
|
|
423
|
+
*
|
|
416
424
|
* @param id The identity provider ID.
|
|
417
425
|
* @param body an object with the body content
|
|
418
426
|
* @throws PatchIdpHttpError
|
|
@@ -435,45 +443,53 @@ declare function clearCache(): void;
|
|
|
435
443
|
interface IdentityProvidersAPI {
|
|
436
444
|
/**
|
|
437
445
|
* This endpoint retrieves one or more identity providers from the service. The tenantID in the JWT will be used to fetch the identity provider.
|
|
446
|
+
*
|
|
438
447
|
* @param query an object with query parameters
|
|
439
448
|
* @throws GetIdpsHttpError
|
|
440
449
|
*/
|
|
441
450
|
getIdps: typeof getIdps;
|
|
442
451
|
/**
|
|
443
452
|
* This endpoint creates an identity provider resource. It returns a 201 Created when creation is successful with a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested), returns a 403 Forbidden for a non TenantAdmin user JWT or if the tenantID in the JWT does not match with any of the tenantIDs in the payload. An IdP can be created with Pending Options or options depending whether the IdP is interactive or not.
|
|
453
|
+
*
|
|
444
454
|
* @param body an object with the body content
|
|
445
455
|
* @throws CreateIdpHttpError
|
|
446
456
|
*/
|
|
447
457
|
createIdp: typeof createIdp;
|
|
448
458
|
/**
|
|
449
459
|
* This endpoint retrieves identity providers' metadata.
|
|
460
|
+
*
|
|
450
461
|
* @throws GetIdpWellKnownMetaDataHttpError
|
|
451
462
|
*/
|
|
452
463
|
getIdpWellKnownMetaData: typeof getIdpWellKnownMetaData;
|
|
453
464
|
/**
|
|
454
465
|
* Returns the active interactive IdP metadata
|
|
466
|
+
*
|
|
455
467
|
* @throws GetMyIdpMetaHttpError
|
|
456
468
|
*/
|
|
457
469
|
getMyIdpMeta: typeof getMyIdpMeta;
|
|
458
470
|
/**
|
|
459
471
|
* This endpoint retrieves the status of IdP configurations. Requires TenantAdmin role.
|
|
472
|
+
*
|
|
460
473
|
* @throws GetIdpStatusesHttpError
|
|
461
474
|
*/
|
|
462
475
|
getIdpStatuses: typeof getIdpStatuses;
|
|
463
476
|
/**
|
|
464
477
|
* This endpoint deletes an identity provider from the service. It returns a valid 204 when the IdP is deleted. Only a user with the role of TenantAdmin and tenant access can delete an associated IdP. Edge-auth service can also delete.
|
|
478
|
+
*
|
|
465
479
|
* @param id The identity provider ID.
|
|
466
480
|
* @throws DeleteIdpHttpError
|
|
467
481
|
*/
|
|
468
482
|
deleteIdp: typeof deleteIdp;
|
|
469
483
|
/**
|
|
470
484
|
* This endpoint is used to retrieve an identity provider from the service. It returns a valid 200 OK response when the IdP exists and the user (TenantAdmin) or service (edge-auth) is authorized to view the contents. Additionally, returns a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested). It returns a 404 Not Found if the criteria is not met.
|
|
485
|
+
*
|
|
471
486
|
* @param id The identity provider ID.
|
|
472
487
|
* @throws GetIdpHttpError
|
|
473
488
|
*/
|
|
474
489
|
getIdp: typeof getIdp;
|
|
475
490
|
/**
|
|
476
491
|
* This endpoint patches an identity provider from the service. It returns a valid 204 when the IdP is patched. Only an edge-auth service request or a user with the role of TenantAdmin can patch an associated IdP. Partial failure is treated as complete failure and returns an error.
|
|
492
|
+
*
|
|
477
493
|
* @param id The identity provider ID.
|
|
478
494
|
* @param body an object with the body content
|
|
479
495
|
* @throws PatchIdpHttpError
|
package/identity-providers.d.ts
CHANGED
|
@@ -293,6 +293,7 @@ type ClaimsMappingNonInteractive = {
|
|
|
293
293
|
};
|
|
294
294
|
/**
|
|
295
295
|
* This endpoint retrieves one or more identity providers from the service. The tenantID in the JWT will be used to fetch the identity provider.
|
|
296
|
+
*
|
|
296
297
|
* @param query an object with query parameters
|
|
297
298
|
* @throws GetIdpsHttpError
|
|
298
299
|
*/
|
|
@@ -320,6 +321,7 @@ type GetIdpsHttpError = {
|
|
|
320
321
|
};
|
|
321
322
|
/**
|
|
322
323
|
* This endpoint creates an identity provider resource. It returns a 201 Created when creation is successful with a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested), returns a 403 Forbidden for a non TenantAdmin user JWT or if the tenantID in the JWT does not match with any of the tenantIDs in the payload. An IdP can be created with Pending Options or options depending whether the IdP is interactive or not.
|
|
324
|
+
*
|
|
323
325
|
* @param body an object with the body content
|
|
324
326
|
* @throws CreateIdpHttpError
|
|
325
327
|
*/
|
|
@@ -336,6 +338,7 @@ type CreateIdpHttpError = {
|
|
|
336
338
|
};
|
|
337
339
|
/**
|
|
338
340
|
* This endpoint retrieves identity providers' metadata.
|
|
341
|
+
*
|
|
339
342
|
* @throws GetIdpWellKnownMetaDataHttpError
|
|
340
343
|
*/
|
|
341
344
|
declare const getIdpWellKnownMetaData: (options?: ApiCallOptions) => Promise<GetIdpWellKnownMetaDataHttpResponse>;
|
|
@@ -351,6 +354,7 @@ type GetIdpWellKnownMetaDataHttpError = {
|
|
|
351
354
|
};
|
|
352
355
|
/**
|
|
353
356
|
* Returns the active interactive IdP metadata
|
|
357
|
+
*
|
|
354
358
|
* @throws GetMyIdpMetaHttpError
|
|
355
359
|
*/
|
|
356
360
|
declare const getMyIdpMeta: (options?: ApiCallOptions) => Promise<GetMyIdpMetaHttpResponse>;
|
|
@@ -366,6 +370,7 @@ type GetMyIdpMetaHttpError = {
|
|
|
366
370
|
};
|
|
367
371
|
/**
|
|
368
372
|
* This endpoint retrieves the status of IdP configurations. Requires TenantAdmin role.
|
|
373
|
+
*
|
|
369
374
|
* @throws GetIdpStatusesHttpError
|
|
370
375
|
*/
|
|
371
376
|
declare const getIdpStatuses: (options?: ApiCallOptions) => Promise<GetIdpStatusesHttpResponse>;
|
|
@@ -381,6 +386,7 @@ type GetIdpStatusesHttpError = {
|
|
|
381
386
|
};
|
|
382
387
|
/**
|
|
383
388
|
* This endpoint deletes an identity provider from the service. It returns a valid 204 when the IdP is deleted. Only a user with the role of TenantAdmin and tenant access can delete an associated IdP. Edge-auth service can also delete.
|
|
389
|
+
*
|
|
384
390
|
* @param id The identity provider ID.
|
|
385
391
|
* @throws DeleteIdpHttpError
|
|
386
392
|
*/
|
|
@@ -397,6 +403,7 @@ type DeleteIdpHttpError = {
|
|
|
397
403
|
};
|
|
398
404
|
/**
|
|
399
405
|
* This endpoint is used to retrieve an identity provider from the service. It returns a valid 200 OK response when the IdP exists and the user (TenantAdmin) or service (edge-auth) is authorized to view the contents. Additionally, returns a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested). It returns a 404 Not Found if the criteria is not met.
|
|
406
|
+
*
|
|
400
407
|
* @param id The identity provider ID.
|
|
401
408
|
* @throws GetIdpHttpError
|
|
402
409
|
*/
|
|
@@ -413,6 +420,7 @@ type GetIdpHttpError = {
|
|
|
413
420
|
};
|
|
414
421
|
/**
|
|
415
422
|
* This endpoint patches an identity provider from the service. It returns a valid 204 when the IdP is patched. Only an edge-auth service request or a user with the role of TenantAdmin can patch an associated IdP. Partial failure is treated as complete failure and returns an error.
|
|
423
|
+
*
|
|
416
424
|
* @param id The identity provider ID.
|
|
417
425
|
* @param body an object with the body content
|
|
418
426
|
* @throws PatchIdpHttpError
|
|
@@ -435,45 +443,53 @@ declare function clearCache(): void;
|
|
|
435
443
|
interface IdentityProvidersAPI {
|
|
436
444
|
/**
|
|
437
445
|
* This endpoint retrieves one or more identity providers from the service. The tenantID in the JWT will be used to fetch the identity provider.
|
|
446
|
+
*
|
|
438
447
|
* @param query an object with query parameters
|
|
439
448
|
* @throws GetIdpsHttpError
|
|
440
449
|
*/
|
|
441
450
|
getIdps: typeof getIdps;
|
|
442
451
|
/**
|
|
443
452
|
* This endpoint creates an identity provider resource. It returns a 201 Created when creation is successful with a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested), returns a 403 Forbidden for a non TenantAdmin user JWT or if the tenantID in the JWT does not match with any of the tenantIDs in the payload. An IdP can be created with Pending Options or options depending whether the IdP is interactive or not.
|
|
453
|
+
*
|
|
444
454
|
* @param body an object with the body content
|
|
445
455
|
* @throws CreateIdpHttpError
|
|
446
456
|
*/
|
|
447
457
|
createIdp: typeof createIdp;
|
|
448
458
|
/**
|
|
449
459
|
* This endpoint retrieves identity providers' metadata.
|
|
460
|
+
*
|
|
450
461
|
* @throws GetIdpWellKnownMetaDataHttpError
|
|
451
462
|
*/
|
|
452
463
|
getIdpWellKnownMetaData: typeof getIdpWellKnownMetaData;
|
|
453
464
|
/**
|
|
454
465
|
* Returns the active interactive IdP metadata
|
|
466
|
+
*
|
|
455
467
|
* @throws GetMyIdpMetaHttpError
|
|
456
468
|
*/
|
|
457
469
|
getMyIdpMeta: typeof getMyIdpMeta;
|
|
458
470
|
/**
|
|
459
471
|
* This endpoint retrieves the status of IdP configurations. Requires TenantAdmin role.
|
|
472
|
+
*
|
|
460
473
|
* @throws GetIdpStatusesHttpError
|
|
461
474
|
*/
|
|
462
475
|
getIdpStatuses: typeof getIdpStatuses;
|
|
463
476
|
/**
|
|
464
477
|
* This endpoint deletes an identity provider from the service. It returns a valid 204 when the IdP is deleted. Only a user with the role of TenantAdmin and tenant access can delete an associated IdP. Edge-auth service can also delete.
|
|
478
|
+
*
|
|
465
479
|
* @param id The identity provider ID.
|
|
466
480
|
* @throws DeleteIdpHttpError
|
|
467
481
|
*/
|
|
468
482
|
deleteIdp: typeof deleteIdp;
|
|
469
483
|
/**
|
|
470
484
|
* This endpoint is used to retrieve an identity provider from the service. It returns a valid 200 OK response when the IdP exists and the user (TenantAdmin) or service (edge-auth) is authorized to view the contents. Additionally, returns a header "QLIK-IDP-POPTS" (A unique string representing a hash of the current configuration being tested). It returns a 404 Not Found if the criteria is not met.
|
|
485
|
+
*
|
|
471
486
|
* @param id The identity provider ID.
|
|
472
487
|
* @throws GetIdpHttpError
|
|
473
488
|
*/
|
|
474
489
|
getIdp: typeof getIdp;
|
|
475
490
|
/**
|
|
476
491
|
* This endpoint patches an identity provider from the service. It returns a valid 204 when the IdP is patched. Only an edge-auth service request or a user with the role of TenantAdmin can patch an associated IdP. Partial failure is treated as complete failure and returns an error.
|
|
492
|
+
*
|
|
477
493
|
* @param id The identity provider ID.
|
|
478
494
|
* @param body an object with the body content
|
|
479
495
|
* @throws PatchIdpHttpError
|
package/identity-providers.js
CHANGED
|
@@ -1,58 +1,61 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/identity-providers.ts
|
|
8
|
-
var getIdps = async (query, options) =>
|
|
9
|
+
var getIdps = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/identity-providers",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createIdp = async (body, options) =>
|
|
15
|
+
var createIdp = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/identity-providers",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var getIdpWellKnownMetaData = async (options) =>
|
|
22
|
+
var getIdpWellKnownMetaData = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
21
23
|
method: "get",
|
|
22
24
|
pathTemplate: "/api/v1/identity-providers/.well-known/metadata.json",
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var getMyIdpMeta = async (options) =>
|
|
27
|
+
var getMyIdpMeta = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
26
28
|
method: "get",
|
|
27
29
|
pathTemplate: "/api/v1/identity-providers/me/meta",
|
|
28
30
|
options
|
|
29
31
|
});
|
|
30
|
-
var getIdpStatuses = async (options) =>
|
|
32
|
+
var getIdpStatuses = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
31
33
|
method: "get",
|
|
32
34
|
pathTemplate: "/api/v1/identity-providers/status",
|
|
33
35
|
options
|
|
34
36
|
});
|
|
35
|
-
var deleteIdp = async (id, options) =>
|
|
37
|
+
var deleteIdp = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
36
38
|
method: "delete",
|
|
37
39
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
38
40
|
pathVariables: { id },
|
|
39
41
|
options
|
|
40
42
|
});
|
|
41
|
-
var getIdp = async (id, options) =>
|
|
43
|
+
var getIdp = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
42
44
|
method: "get",
|
|
43
45
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
44
46
|
pathVariables: { id },
|
|
45
47
|
options
|
|
46
48
|
});
|
|
47
|
-
var patchIdp = async (id, body, options) =>
|
|
49
|
+
var patchIdp = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "identity-providers", {
|
|
48
50
|
method: "patch",
|
|
49
51
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
50
52
|
pathVariables: { id },
|
|
51
53
|
body,
|
|
54
|
+
contentType: "application/json",
|
|
52
55
|
options
|
|
53
56
|
});
|
|
54
57
|
function clearCache() {
|
|
55
|
-
return
|
|
58
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "identity-providers");
|
|
56
59
|
}
|
|
57
60
|
var identityProvidersExport = {
|
|
58
61
|
getIdps,
|