@qlik/api 1.32.0 → 1.33.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/api-keys.d.ts +10 -10
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +27 -27
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{YTT2FEVE.js → 33GQY7N7.js} +1 -1
- package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{LTNGXTXG.js → GPRUNZV4.js} +3 -3
- package/chunks/{VVD2DPKQ.js → LIEZG7IM.js} +3 -3
- package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
- package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
- package/chunks/{RCLKKVYB.js → SPATCXXU.js} +9 -2
- package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
- package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +101 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +13 -13
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +100 -52
- package/ml.js +379 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +22 -22
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/knowledgebases.js
CHANGED
|
@@ -1,127 +1,161 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/knowledgebases.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
9
|
+
async function getKnowledgebases(query, options) {
|
|
10
|
+
return invokeFetch("knowledgebases", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/knowledgebases",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createKnowledgebase(body, options) {
|
|
18
|
+
return invokeFetch("knowledgebases", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/knowledgebases",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function deleteKnowledgebase(id, options) {
|
|
27
|
+
return invokeFetch("knowledgebases", {
|
|
28
|
+
method: "delete",
|
|
29
|
+
pathTemplate: "/api/v1/knowledgebases/{id}",
|
|
30
|
+
pathVariables: { id },
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function getKnowledgebase(id, options) {
|
|
35
|
+
return invokeFetch("knowledgebases", {
|
|
36
|
+
method: "get",
|
|
37
|
+
pathTemplate: "/api/v1/knowledgebases/{id}",
|
|
38
|
+
pathVariables: { id },
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function patchKnowledgebase(id, body, options) {
|
|
43
|
+
return invokeFetch("knowledgebases", {
|
|
44
|
+
method: "patch",
|
|
45
|
+
pathTemplate: "/api/v1/knowledgebases/{id}",
|
|
46
|
+
pathVariables: { id },
|
|
47
|
+
body,
|
|
48
|
+
contentType: "application/json",
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function createKnowledgebaseDatasource(id, body, options) {
|
|
53
|
+
return invokeFetch("knowledgebases", {
|
|
54
|
+
method: "post",
|
|
55
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources",
|
|
56
|
+
pathVariables: { id },
|
|
57
|
+
body,
|
|
58
|
+
contentType: "application/json",
|
|
59
|
+
options
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function deleteKnowledgebaseDatasource(id, datasourceId, options) {
|
|
63
|
+
return invokeFetch("knowledgebases", {
|
|
64
|
+
method: "delete",
|
|
65
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
|
|
66
|
+
pathVariables: { id, datasourceId },
|
|
67
|
+
options
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
async function updateKnowledgebaseDatasource(id, datasourceId, body, options) {
|
|
71
|
+
return invokeFetch("knowledgebases", {
|
|
72
|
+
method: "put",
|
|
73
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}",
|
|
74
|
+
pathVariables: { id, datasourceId },
|
|
75
|
+
body,
|
|
76
|
+
contentType: "application/json",
|
|
77
|
+
options
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
async function cancelKnowledgebaseDatasource(id, datasourceId, options) {
|
|
81
|
+
return invokeFetch("knowledgebases", {
|
|
82
|
+
method: "post",
|
|
83
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/cancel",
|
|
84
|
+
pathVariables: { id, datasourceId },
|
|
85
|
+
options
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
async function downloadKnowledgebaseDatasource(id, datasourceId, body, options) {
|
|
89
|
+
return invokeFetch("knowledgebases", {
|
|
90
|
+
method: "post",
|
|
91
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/download",
|
|
92
|
+
pathVariables: { id, datasourceId },
|
|
93
|
+
body,
|
|
94
|
+
contentType: "application/json",
|
|
95
|
+
options
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
async function syncKnowledgebaseDatasource(id, datasourceId, query, options) {
|
|
99
|
+
return invokeFetch("knowledgebases", {
|
|
100
|
+
method: "post",
|
|
101
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/actions/sync",
|
|
102
|
+
pathVariables: { id, datasourceId },
|
|
103
|
+
query,
|
|
104
|
+
options
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
async function getKnowledgebaseDatasourceHistories(id, datasourceId, query, options) {
|
|
108
|
+
return invokeFetch("knowledgebases", {
|
|
109
|
+
method: "get",
|
|
110
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories",
|
|
111
|
+
pathVariables: { id, datasourceId },
|
|
112
|
+
query,
|
|
113
|
+
options
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
async function getKnowledgebaseDatasourceHistory(id, datasourceId, syncId, options) {
|
|
117
|
+
return invokeFetch("knowledgebases", {
|
|
118
|
+
method: "get",
|
|
119
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/histories/{syncId}",
|
|
120
|
+
pathVariables: { id, datasourceId, syncId },
|
|
121
|
+
options
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
async function deleteKnowledgebaseDatasourceSchedule(id, datasourceId, options) {
|
|
125
|
+
return invokeFetch("knowledgebases", {
|
|
126
|
+
method: "delete",
|
|
127
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
|
|
128
|
+
pathVariables: { id, datasourceId },
|
|
129
|
+
options
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
async function getKnowledgebaseDatasourceSchedule(id, datasourceId, options) {
|
|
133
|
+
return invokeFetch("knowledgebases", {
|
|
134
|
+
method: "get",
|
|
135
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
|
|
136
|
+
pathVariables: { id, datasourceId },
|
|
137
|
+
options
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
async function createKnowledgebaseDatasourceSchedule(id, datasourceId, body, options) {
|
|
141
|
+
return invokeFetch("knowledgebases", {
|
|
142
|
+
method: "post",
|
|
143
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/datasources/{datasourceId}/schedules",
|
|
144
|
+
pathVariables: { id, datasourceId },
|
|
145
|
+
body,
|
|
146
|
+
contentType: "application/json",
|
|
147
|
+
options
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
async function getKnowledgebaseHistories(id, query, options) {
|
|
151
|
+
return invokeFetch("knowledgebases", {
|
|
152
|
+
method: "get",
|
|
153
|
+
pathTemplate: "/api/v1/knowledgebases/{id}/histories",
|
|
154
|
+
pathVariables: { id },
|
|
155
|
+
query,
|
|
156
|
+
options
|
|
157
|
+
});
|
|
158
|
+
}
|
|
125
159
|
function clearCache() {
|
|
126
160
|
return clearApiCache("knowledgebases");
|
|
127
161
|
}
|
package/licenses.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
@@ -411,7 +411,7 @@ type SettingsBody = {
|
|
|
411
411
|
* @param query an object with query parameters
|
|
412
412
|
* @throws GetLicenseAssignmentsHttpError
|
|
413
413
|
*/
|
|
414
|
-
declare
|
|
414
|
+
declare function getLicenseAssignments(query: {
|
|
415
415
|
/** The filter for finding entries. */
|
|
416
416
|
filter?: string;
|
|
417
417
|
/** The preferred number of entries to return. */
|
|
@@ -422,7 +422,7 @@ declare const getLicenseAssignments: (query: {
|
|
|
422
422
|
page?: string;
|
|
423
423
|
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
|
424
424
|
sort?: string;
|
|
425
|
-
}, options?: ApiCallOptions)
|
|
425
|
+
}, options?: ApiCallOptions): Promise<GetLicenseAssignmentsHttpResponse>;
|
|
426
426
|
type GetLicenseAssignmentsHttpResponse = {
|
|
427
427
|
data: AssignmentsResponse;
|
|
428
428
|
headers: Headers;
|
|
@@ -441,7 +441,7 @@ type GetLicenseAssignmentsHttpError = {
|
|
|
441
441
|
* @param body an object with the body content
|
|
442
442
|
* @throws AddLicenseAssignmentsHttpError
|
|
443
443
|
*/
|
|
444
|
-
declare
|
|
444
|
+
declare function addLicenseAssignments(body: AssignmentsActionsAddRequest, options?: ApiCallOptions): Promise<AddLicenseAssignmentsHttpResponse>;
|
|
445
445
|
type AddLicenseAssignmentsHttpResponse = {
|
|
446
446
|
data: AssignmentsActionsAddResponse;
|
|
447
447
|
headers: Headers;
|
|
@@ -458,7 +458,7 @@ type AddLicenseAssignmentsHttpError = {
|
|
|
458
458
|
* @param body an object with the body content
|
|
459
459
|
* @throws DeleteLicenseAssignmentsHttpError
|
|
460
460
|
*/
|
|
461
|
-
declare
|
|
461
|
+
declare function deleteLicenseAssignments(body: AssignmentsActionsDeleteRequest, options?: ApiCallOptions): Promise<DeleteLicenseAssignmentsHttpResponse>;
|
|
462
462
|
type DeleteLicenseAssignmentsHttpResponse = {
|
|
463
463
|
data: AssignmentsActionsDeleteResponse;
|
|
464
464
|
headers: Headers;
|
|
@@ -475,7 +475,7 @@ type DeleteLicenseAssignmentsHttpError = {
|
|
|
475
475
|
* @param body an object with the body content
|
|
476
476
|
* @throws UpdateLicenseAssignmentsHttpError
|
|
477
477
|
*/
|
|
478
|
-
declare
|
|
478
|
+
declare function updateLicenseAssignments(body: AssignmentsActionsUpdateRequest, options?: ApiCallOptions): Promise<UpdateLicenseAssignmentsHttpResponse>;
|
|
479
479
|
type UpdateLicenseAssignmentsHttpResponse = {
|
|
480
480
|
data: AssignmentsActionsUpdateResponse;
|
|
481
481
|
headers: Headers;
|
|
@@ -492,7 +492,7 @@ type UpdateLicenseAssignmentsHttpError = {
|
|
|
492
492
|
* @param query an object with query parameters
|
|
493
493
|
* @throws GetLicenseConsumptionHttpError
|
|
494
494
|
*/
|
|
495
|
-
declare
|
|
495
|
+
declare function getLicenseConsumption(query: {
|
|
496
496
|
/** The SCIM filter for the query. Filterable property is "endTime". */
|
|
497
497
|
filter?: string;
|
|
498
498
|
/** The preferred number of entries to return. */
|
|
@@ -501,7 +501,7 @@ declare const getLicenseConsumption: (query: {
|
|
|
501
501
|
page?: string;
|
|
502
502
|
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
|
503
503
|
sort?: string;
|
|
504
|
-
}, options?: ApiCallOptions)
|
|
504
|
+
}, options?: ApiCallOptions): Promise<GetLicenseConsumptionHttpResponse>;
|
|
505
505
|
type GetLicenseConsumptionHttpResponse = {
|
|
506
506
|
data: ConsumptionEventsResponse;
|
|
507
507
|
headers: Headers;
|
|
@@ -519,7 +519,7 @@ type GetLicenseConsumptionHttpError = {
|
|
|
519
519
|
*
|
|
520
520
|
* @throws GetLicenseOverviewHttpError
|
|
521
521
|
*/
|
|
522
|
-
declare
|
|
522
|
+
declare function getLicenseOverview(options?: ApiCallOptions): Promise<GetLicenseOverviewHttpResponse>;
|
|
523
523
|
type GetLicenseOverviewHttpResponse = {
|
|
524
524
|
data: LicenseOverview;
|
|
525
525
|
headers: Headers;
|
|
@@ -535,7 +535,7 @@ type GetLicenseOverviewHttpError = {
|
|
|
535
535
|
*
|
|
536
536
|
* @throws GetLicenseSettingsHttpError
|
|
537
537
|
*/
|
|
538
|
-
declare
|
|
538
|
+
declare function getLicenseSettings(options?: ApiCallOptions): Promise<GetLicenseSettingsHttpResponse>;
|
|
539
539
|
type GetLicenseSettingsHttpResponse = {
|
|
540
540
|
data: SettingsBody;
|
|
541
541
|
headers: Headers;
|
|
@@ -552,7 +552,7 @@ type GetLicenseSettingsHttpError = {
|
|
|
552
552
|
* @param body an object with the body content
|
|
553
553
|
* @throws UpdateLicenseSettingsHttpError
|
|
554
554
|
*/
|
|
555
|
-
declare
|
|
555
|
+
declare function updateLicenseSettings(body: SettingsBody, options?: ApiCallOptions): Promise<UpdateLicenseSettingsHttpResponse>;
|
|
556
556
|
type UpdateLicenseSettingsHttpResponse = {
|
|
557
557
|
data: SettingsBody;
|
|
558
558
|
headers: Headers;
|
|
@@ -568,7 +568,7 @@ type UpdateLicenseSettingsHttpError = {
|
|
|
568
568
|
*
|
|
569
569
|
* @throws GetLicenseStatusHttpError
|
|
570
570
|
*/
|
|
571
|
-
declare
|
|
571
|
+
declare function getLicenseStatus(options?: ApiCallOptions): Promise<GetLicenseStatusHttpResponse>;
|
|
572
572
|
type GetLicenseStatusHttpResponse = {
|
|
573
573
|
data: LicenseStatus;
|
|
574
574
|
headers: Headers;
|
package/licenses.js
CHANGED
|
@@ -1,66 +1,84 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/licenses.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
9
|
+
async function getLicenseAssignments(query, options) {
|
|
10
|
+
return invokeFetch("licenses", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/licenses/assignments",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function addLicenseAssignments(body, options) {
|
|
18
|
+
return invokeFetch("licenses", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/licenses/assignments/actions/add",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function deleteLicenseAssignments(body, options) {
|
|
27
|
+
return invokeFetch("licenses", {
|
|
28
|
+
method: "post",
|
|
29
|
+
pathTemplate: "/api/v1/licenses/assignments/actions/delete",
|
|
30
|
+
body,
|
|
31
|
+
contentType: "application/json",
|
|
32
|
+
options
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async function updateLicenseAssignments(body, options) {
|
|
36
|
+
return invokeFetch("licenses", {
|
|
37
|
+
method: "post",
|
|
38
|
+
pathTemplate: "/api/v1/licenses/assignments/actions/update",
|
|
39
|
+
body,
|
|
40
|
+
contentType: "application/json",
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function getLicenseConsumption(query, options) {
|
|
45
|
+
return invokeFetch("licenses", {
|
|
46
|
+
method: "get",
|
|
47
|
+
pathTemplate: "/api/v1/licenses/consumption",
|
|
48
|
+
query,
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function getLicenseOverview(options) {
|
|
53
|
+
return invokeFetch("licenses", {
|
|
54
|
+
method: "get",
|
|
55
|
+
pathTemplate: "/api/v1/licenses/overview",
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function getLicenseSettings(options) {
|
|
60
|
+
return invokeFetch("licenses", {
|
|
61
|
+
method: "get",
|
|
62
|
+
pathTemplate: "/api/v1/licenses/settings",
|
|
63
|
+
options
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
async function updateLicenseSettings(body, options) {
|
|
67
|
+
return invokeFetch("licenses", {
|
|
68
|
+
method: "put",
|
|
69
|
+
pathTemplate: "/api/v1/licenses/settings",
|
|
70
|
+
body,
|
|
71
|
+
contentType: "application/json",
|
|
72
|
+
options
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
async function getLicenseStatus(options) {
|
|
76
|
+
return invokeFetch("licenses", {
|
|
77
|
+
method: "get",
|
|
78
|
+
pathTemplate: "/api/v1/licenses/status",
|
|
79
|
+
options
|
|
80
|
+
});
|
|
81
|
+
}
|
|
64
82
|
function clearCache() {
|
|
65
83
|
return clearApiCache("licenses");
|
|
66
84
|
}
|