@qlik/api 0.0.16 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/api-keys.js +25 -25
- package/apps.js +97 -97
- package/audits.js +23 -23
- package/auth.js +14 -14
- package/automations.js +47 -47
- package/brands.js +35 -35
- package/chunks/4HB3TAEO.js +4 -4
- package/chunks/{EHAANYDL.mjs → 4V5AAWUI.js} +3 -3
- package/chunks/{O4EAKEIN.mjs → D62LI5YU.js} +1 -1
- package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
- package/chunks/{3YV6X7S6.mjs → LHCJKIEO.js} +1 -1
- package/chunks/OPRGGO4C.js +8 -8
- package/chunks/{HHOVS7QC.mjs → RNLZBOJU.js} +3 -3
- package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
- package/chunks/{6AD3HYSF.mjs → TFSRDRRS.js} +1 -1
- package/chunks/{HOCTJESP.mjs → VK2CODYY.js} +2 -2
- package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
- package/collections.js +33 -33
- package/csp-origins.js +23 -23
- package/data-assets.js +21 -21
- package/data-connections.js +29 -29
- package/data-credentials.js +19 -19
- package/data-files.js +35 -35
- package/docs/authentication.md +5 -5
- package/docs/examples/fetch-spaces.md +1 -15
- package/docs/examples/show-sheet-list.md +1 -1
- package/docs/features.md +1 -1
- package/extensions.js +25 -25
- package/glossaries.js +59 -59
- package/groups.d.ts +0 -3
- package/groups.js +27 -27
- package/identity-providers.js +27 -27
- package/index.js +53 -53
- package/items.js +27 -27
- package/licenses.js +29 -29
- package/package.json +36 -232
- package/qix.d.ts +1 -1
- package/qix.js +10 -10
- package/quotas.js +15 -15
- package/reload-tasks.js +21 -21
- package/reloads.js +19 -19
- package/roles.js +15 -15
- package/spaces.js +35 -35
- package/temp-contents.js +17 -17
- package/tenants.js +23 -23
- package/themes.js +25 -25
- package/transports.js +23 -23
- package/users.d.ts +1 -3
- package/users.js +31 -31
- package/web-integrations.js +21 -21
- package/web-notifications.js +23 -23
- package/webhooks.js +31 -31
- package/api-keys.d.mts +0 -336
- package/api-keys.mjs +0 -80
- package/apps.d.mts +0 -2431
- package/apps.mjs +0 -398
- package/audits.d.mts +0 -286
- package/audits.mjs +0 -64
- package/auth-types-nnUcWhuU.d.mts +0 -98
- package/auth.d.mts +0 -26
- package/auth.mjs +0 -14
- package/automations.d.mts +0 -682
- package/automations.mjs +0 -173
- package/brands.d.mts +0 -670
- package/brands.mjs +0 -123
- package/chunks/2YWCEGTS.js +0 -21
- package/chunks/34ZKUFEA.js +0 -41
- package/chunks/4WHZ4EIW.js +0 -57
- package/chunks/B4VPD3ZT.js +0 -574
- package/chunks/BM4OSDRZ.js +0 -17
- package/chunks/DCXUEDOW.mjs +0 -67
- package/chunks/MTAQE4WC.js +0 -10411
- package/chunks/PLOSYUG2.js +0 -25
- package/chunks/URIW2U5M.js +0 -17
- package/chunks/VSY5YIQY.mjs +0 -11
- package/chunks/WOYJLK4Y.js +0 -1623
- package/collections.d.mts +0 -581
- package/collections.mjs +0 -114
- package/csp-origins.d.mts +0 -273
- package/csp-origins.mjs +0 -69
- package/data-assets.d.mts +0 -205
- package/data-assets.mjs +0 -66
- package/data-connections.d.mts +0 -594
- package/data-connections.mjs +0 -103
- package/data-credentials.d.mts +0 -204
- package/data-credentials.mjs +0 -59
- package/data-files.d.mts +0 -562
- package/data-files.mjs +0 -123
- package/extensions.d.mts +0 -293
- package/extensions.mjs +0 -77
- package/global.types-5iFvFJvX.d.mts +0 -115
- package/glossaries.d.mts +0 -1173
- package/glossaries.mjs +0 -237
- package/groups.d.mts +0 -434
- package/groups.mjs +0 -88
- package/identity-providers.d.mts +0 -550
- package/identity-providers.mjs +0 -83
- package/index.d.mts +0 -142
- package/index.mjs +0 -716
- package/items.d.mts +0 -535
- package/items.mjs +0 -87
- package/licenses.d.mts +0 -459
- package/licenses.mjs +0 -92
- package/qix.d.mts +0 -11629
- package/qix.mjs +0 -10
- package/quotas.d.mts +0 -112
- package/quotas.mjs +0 -32
- package/reload-tasks.d.mts +0 -227
- package/reload-tasks.mjs +0 -62
- package/reloads.d.mts +0 -207
- package/reloads.mjs +0 -46
- package/roles.d.mts +0 -175
- package/roles.mjs +0 -31
- package/spaces.d.mts +0 -562
- package/spaces.mjs +0 -124
- package/temp-contents.d.mts +0 -167
- package/temp-contents.mjs +0 -41
- package/tenants.d.mts +0 -300
- package/tenants.mjs +0 -73
- package/themes.d.mts +0 -268
- package/themes.mjs +0 -77
- package/transports.d.mts +0 -319
- package/transports.mjs +0 -65
- package/users.d.mts +0 -631
- package/users.mjs +0 -104
- package/web-integrations.d.mts +0 -274
- package/web-integrations.mjs +0 -62
- package/web-notifications.d.mts +0 -250
- package/web-notifications.mjs +0 -69
- package/webhooks.d.mts +0 -445
- package/webhooks.mjs +0 -104
package/identity-providers.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/identity-providers.ts
|
|
9
|
-
var getIdps = async (query, options) =>
|
|
9
|
+
var getIdps = async (query, options) => invokeFetch("identity-providers", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/identity-providers",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createIdp = async (body, options) =>
|
|
15
|
+
var createIdp = async (body, options) => invokeFetch("identity-providers", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/identity-providers",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getIdpWellKnownMetaData = async (options) =>
|
|
22
|
+
var getIdpWellKnownMetaData = async (options) => invokeFetch("identity-providers", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/identity-providers/.well-known/metadata.json",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var getMyIdpMeta = async (options) =>
|
|
27
|
+
var getMyIdpMeta = async (options) => invokeFetch("identity-providers", {
|
|
28
28
|
method: "get",
|
|
29
29
|
pathTemplate: "/api/v1/identity-providers/me/meta",
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var getIdpStatuses = async (options) =>
|
|
32
|
+
var getIdpStatuses = async (options) => invokeFetch("identity-providers", {
|
|
33
33
|
method: "get",
|
|
34
34
|
pathTemplate: "/api/v1/identity-providers/status",
|
|
35
35
|
options
|
|
36
36
|
});
|
|
37
|
-
var deleteIdp = async (id, options) =>
|
|
37
|
+
var deleteIdp = async (id, options) => invokeFetch("identity-providers", {
|
|
38
38
|
method: "delete",
|
|
39
39
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
40
40
|
pathVariables: { id },
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var getIdp = async (id, options) =>
|
|
43
|
+
var getIdp = async (id, options) => invokeFetch("identity-providers", {
|
|
44
44
|
method: "get",
|
|
45
45
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
46
46
|
pathVariables: { id },
|
|
47
47
|
options
|
|
48
48
|
});
|
|
49
|
-
var patchIdp = async (id, body, options) =>
|
|
49
|
+
var patchIdp = async (id, body, options) => invokeFetch("identity-providers", {
|
|
50
50
|
method: "patch",
|
|
51
51
|
pathTemplate: "/api/v1/identity-providers/{id}",
|
|
52
52
|
pathVariables: { id },
|
|
@@ -55,7 +55,7 @@ var patchIdp = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0,
|
|
|
55
55
|
options
|
|
56
56
|
});
|
|
57
57
|
function clearCache() {
|
|
58
|
-
return
|
|
58
|
+
return clearApiCache("identity-providers");
|
|
59
59
|
}
|
|
60
60
|
var identityProvidersExport = {
|
|
61
61
|
getIdps,
|
|
@@ -69,15 +69,15 @@ var identityProvidersExport = {
|
|
|
69
69
|
clearCache
|
|
70
70
|
};
|
|
71
71
|
var identity_providers_default = identityProvidersExport;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
72
|
+
export {
|
|
73
|
+
clearCache,
|
|
74
|
+
createIdp,
|
|
75
|
+
identity_providers_default as default,
|
|
76
|
+
deleteIdp,
|
|
77
|
+
getIdp,
|
|
78
|
+
getIdpStatuses,
|
|
79
|
+
getIdpWellKnownMetaData,
|
|
80
|
+
getIdps,
|
|
81
|
+
getMyIdpMeta,
|
|
82
|
+
patchIdp
|
|
83
|
+
};
|
package/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import {
|
|
2
|
+
auth_default
|
|
3
|
+
} from "./chunks/TFSRDRRS.js";
|
|
4
|
+
import {
|
|
5
|
+
qix_default
|
|
6
|
+
} from "./chunks/D62LI5YU.js";
|
|
7
|
+
import {
|
|
8
|
+
clearApiCache,
|
|
9
|
+
invokeFetch
|
|
10
|
+
} from "./chunks/LHCJKIEO.js";
|
|
11
|
+
import "./chunks/4V5AAWUI.js";
|
|
12
|
+
import "./chunks/4HB3TAEO.js";
|
|
13
13
|
|
|
14
14
|
// src/public/public-runtime-api-generator/public-runtime-api-generator.ts
|
|
15
15
|
var methodAbbreviations = {
|
|
@@ -26,7 +26,7 @@ var methodAbbreviations = {
|
|
|
26
26
|
function methodCharToMethodName(method) {
|
|
27
27
|
try {
|
|
28
28
|
return methodAbbreviations[method];
|
|
29
|
-
} catch
|
|
29
|
+
} catch {
|
|
30
30
|
throw new Error(`Unknown short hand method:${method}`);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -40,7 +40,7 @@ var contentTypeAbbreviations = {
|
|
|
40
40
|
function contentTypeCharToContentType(typeChar) {
|
|
41
41
|
try {
|
|
42
42
|
return contentTypeAbbreviations[typeChar];
|
|
43
|
-
} catch
|
|
43
|
+
} catch {
|
|
44
44
|
throw new Error(`Unknown short hand content-type: ${typeChar}`);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -84,7 +84,7 @@ function apiDefToApi(namespace, def) {
|
|
|
84
84
|
return runtimeApiCache[namespace];
|
|
85
85
|
}
|
|
86
86
|
const api2 = {
|
|
87
|
-
clearCache: () =>
|
|
87
|
+
clearCache: () => clearApiCache(namespace)
|
|
88
88
|
};
|
|
89
89
|
const initFunc = () => {
|
|
90
90
|
traverse(namespace, "", def, api2);
|
|
@@ -153,7 +153,7 @@ function createClassicApiFn(namespace, operationName, pathTemplate, method, argN
|
|
|
153
153
|
if (useInstead) {
|
|
154
154
|
console.warn(`${namespace}.${operationName} is deprecated, use ${useInstead} instead`);
|
|
155
155
|
}
|
|
156
|
-
return
|
|
156
|
+
return invokeFetch(namespace, {
|
|
157
157
|
method,
|
|
158
158
|
pathTemplate,
|
|
159
159
|
pathVariables,
|
|
@@ -249,7 +249,7 @@ var audits = apiDefToApi("audits", {
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
|
-
var auth =
|
|
252
|
+
var auth = auth_default;
|
|
253
253
|
var automations = apiDefToApi("automations", {
|
|
254
254
|
api: {
|
|
255
255
|
v1: {
|
|
@@ -496,7 +496,7 @@ var licenses = apiDefToApi("licenses", {
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
});
|
|
499
|
-
var qix =
|
|
499
|
+
var qix = qix_default;
|
|
500
500
|
var quotas = apiDefToApi("quotas", {
|
|
501
501
|
api: { v1: { quotas: { "": ["getQuotas:GQ:"], "{id}": ["getQuota:GQ:"] } } }
|
|
502
502
|
});
|
|
@@ -679,38 +679,38 @@ var api = {
|
|
|
679
679
|
webhooks
|
|
680
680
|
};
|
|
681
681
|
var public_default = api;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
682
|
+
export {
|
|
683
|
+
apiKeys,
|
|
684
|
+
apps,
|
|
685
|
+
audits,
|
|
686
|
+
auth,
|
|
687
|
+
automations,
|
|
688
|
+
brands,
|
|
689
|
+
collections,
|
|
690
|
+
cspOrigins,
|
|
691
|
+
dataAssets,
|
|
692
|
+
dataConnections,
|
|
693
|
+
dataCredentials,
|
|
694
|
+
dataFiles,
|
|
695
|
+
public_default as default,
|
|
696
|
+
extensions,
|
|
697
|
+
glossaries,
|
|
698
|
+
groups,
|
|
699
|
+
identityProviders,
|
|
700
|
+
items,
|
|
701
|
+
licenses,
|
|
702
|
+
qix,
|
|
703
|
+
quotas,
|
|
704
|
+
reloadTasks,
|
|
705
|
+
reloads,
|
|
706
|
+
roles,
|
|
707
|
+
spaces,
|
|
708
|
+
tempContents,
|
|
709
|
+
tenants,
|
|
710
|
+
themes,
|
|
711
|
+
transports,
|
|
712
|
+
users,
|
|
713
|
+
webIntegrations,
|
|
714
|
+
webNotifications,
|
|
715
|
+
webhooks
|
|
716
|
+
};
|
package/items.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/items.ts
|
|
9
|
-
var getItems = async (query, options) =>
|
|
9
|
+
var getItems = async (query, options) => invokeFetch("items", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/items",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var getItemsSettings = async (options) =>
|
|
15
|
+
var getItemsSettings = async (options) => invokeFetch("items", {
|
|
16
16
|
method: "get",
|
|
17
17
|
pathTemplate: "/api/v1/items/settings",
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var patchItemsSettings = async (body, options) =>
|
|
20
|
+
var patchItemsSettings = async (body, options) => invokeFetch("items", {
|
|
21
21
|
method: "patch",
|
|
22
22
|
pathTemplate: "/api/v1/items/settings",
|
|
23
23
|
body,
|
|
24
24
|
contentType: "application/json",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteItem = async (itemId, options) =>
|
|
27
|
+
var deleteItem = async (itemId, options) => invokeFetch("items", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
30
30
|
pathVariables: { itemId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getItem = async (itemId, options) =>
|
|
33
|
+
var getItem = async (itemId, options) => invokeFetch("items", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
36
36
|
pathVariables: { itemId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var updateItem = async (itemId, body, options) =>
|
|
39
|
+
var updateItem = async (itemId, body, options) => invokeFetch("items", {
|
|
40
40
|
method: "put",
|
|
41
41
|
pathTemplate: "/api/v1/items/{itemId}",
|
|
42
42
|
pathVariables: { itemId },
|
|
@@ -44,14 +44,14 @@ var updateItem = async (itemId, body, options) => _URIW2U5Mjs.invokeFetch.call(v
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var getItemCollections = async (itemId, query, options) =>
|
|
47
|
+
var getItemCollections = async (itemId, query, options) => invokeFetch("items", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/items/{itemId}/collections",
|
|
50
50
|
pathVariables: { itemId },
|
|
51
51
|
query,
|
|
52
52
|
options
|
|
53
53
|
});
|
|
54
|
-
var getPublishedItems = async (itemId, query, options) =>
|
|
54
|
+
var getPublishedItems = async (itemId, query, options) => invokeFetch("items", {
|
|
55
55
|
method: "get",
|
|
56
56
|
pathTemplate: "/api/v1/items/{itemId}/publisheditems",
|
|
57
57
|
pathVariables: { itemId },
|
|
@@ -59,7 +59,7 @@ var getPublishedItems = async (itemId, query, options) => _URIW2U5Mjs.invokeFetc
|
|
|
59
59
|
options
|
|
60
60
|
});
|
|
61
61
|
function clearCache() {
|
|
62
|
-
return
|
|
62
|
+
return clearApiCache("items");
|
|
63
63
|
}
|
|
64
64
|
var itemsExport = {
|
|
65
65
|
getItems,
|
|
@@ -73,15 +73,15 @@ var itemsExport = {
|
|
|
73
73
|
clearCache
|
|
74
74
|
};
|
|
75
75
|
var items_default = itemsExport;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
export {
|
|
77
|
+
clearCache,
|
|
78
|
+
items_default as default,
|
|
79
|
+
deleteItem,
|
|
80
|
+
getItem,
|
|
81
|
+
getItemCollections,
|
|
82
|
+
getItems,
|
|
83
|
+
getItemsSettings,
|
|
84
|
+
getPublishedItems,
|
|
85
|
+
patchItemsSettings,
|
|
86
|
+
updateItem
|
|
87
|
+
};
|
package/licenses.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/licenses.ts
|
|
9
|
-
var getLicenseAssignments = async (query, options) =>
|
|
9
|
+
var getLicenseAssignments = async (query, options) => invokeFetch("licenses", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/licenses/assignments",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var addLicenseAssignments = async (body, options) =>
|
|
15
|
+
var addLicenseAssignments = async (body, options) => invokeFetch("licenses", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/licenses/assignments/actions/add",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var deleteLicenseAssignments = async (body, options) =>
|
|
22
|
+
var deleteLicenseAssignments = async (body, options) => invokeFetch("licenses", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/licenses/assignments/actions/delete",
|
|
25
25
|
body,
|
|
26
26
|
contentType: "application/json",
|
|
27
27
|
options
|
|
28
28
|
});
|
|
29
|
-
var updateLicenseAssignments = async (body, options) =>
|
|
29
|
+
var updateLicenseAssignments = async (body, options) => invokeFetch("licenses", {
|
|
30
30
|
method: "post",
|
|
31
31
|
pathTemplate: "/api/v1/licenses/assignments/actions/update",
|
|
32
32
|
body,
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var getLicenseConsumption = async (query, options) =>
|
|
36
|
+
var getLicenseConsumption = async (query, options) => invokeFetch("licenses", {
|
|
37
37
|
method: "get",
|
|
38
38
|
pathTemplate: "/api/v1/licenses/consumption",
|
|
39
39
|
query,
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
|
-
var getLicenseOverview = async (options) =>
|
|
42
|
+
var getLicenseOverview = async (options) => invokeFetch("licenses", {
|
|
43
43
|
method: "get",
|
|
44
44
|
pathTemplate: "/api/v1/licenses/overview",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var getLicenseSettings = async (options) =>
|
|
47
|
+
var getLicenseSettings = async (options) => invokeFetch("licenses", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/licenses/settings",
|
|
50
50
|
options
|
|
51
51
|
});
|
|
52
|
-
var updateLicenseSettings = async (body, options) =>
|
|
52
|
+
var updateLicenseSettings = async (body, options) => invokeFetch("licenses", {
|
|
53
53
|
method: "put",
|
|
54
54
|
pathTemplate: "/api/v1/licenses/settings",
|
|
55
55
|
body,
|
|
56
56
|
contentType: "application/json",
|
|
57
57
|
options
|
|
58
58
|
});
|
|
59
|
-
var getLicenseStatus = async (options) =>
|
|
59
|
+
var getLicenseStatus = async (options) => invokeFetch("licenses", {
|
|
60
60
|
method: "get",
|
|
61
61
|
pathTemplate: "/api/v1/licenses/status",
|
|
62
62
|
options
|
|
63
63
|
});
|
|
64
64
|
function clearCache() {
|
|
65
|
-
return
|
|
65
|
+
return clearApiCache("licenses");
|
|
66
66
|
}
|
|
67
67
|
var licensesExport = {
|
|
68
68
|
getLicenseAssignments,
|
|
@@ -77,16 +77,16 @@ var licensesExport = {
|
|
|
77
77
|
clearCache
|
|
78
78
|
};
|
|
79
79
|
var licenses_default = licensesExport;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
80
|
+
export {
|
|
81
|
+
addLicenseAssignments,
|
|
82
|
+
clearCache,
|
|
83
|
+
licenses_default as default,
|
|
84
|
+
deleteLicenseAssignments,
|
|
85
|
+
getLicenseAssignments,
|
|
86
|
+
getLicenseConsumption,
|
|
87
|
+
getLicenseOverview,
|
|
88
|
+
getLicenseSettings,
|
|
89
|
+
getLicenseStatus,
|
|
90
|
+
updateLicenseAssignments,
|
|
91
|
+
updateLicenseSettings
|
|
92
|
+
};
|