@qlik/api 1.32.0 → 1.34.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 +13 -12
- 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 +29 -29
- 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/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- 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 +102 -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 +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -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 +27 -23
- 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/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.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
|
|
@@ -328,6 +328,8 @@ type LicenseOverview = {
|
|
|
328
328
|
capabilityBankId?: string;
|
|
329
329
|
/** An ISO 8601 timestamp for when the license was last changed. */
|
|
330
330
|
changeTime?: string;
|
|
331
|
+
/** Customer ID */
|
|
332
|
+
customerId?: string;
|
|
331
333
|
/** An ISO 8601 timestamp for when the latest time the license has been known to be valid, a missing value indicates the indefinite future. */
|
|
332
334
|
latestValidTime?: string;
|
|
333
335
|
licenseKey: string;
|
|
@@ -388,7 +390,7 @@ type LicenseStatus = {
|
|
|
388
390
|
/** Boolean indicating if it is a trial license. */
|
|
389
391
|
trial: boolean;
|
|
390
392
|
/** Type of license key. */
|
|
391
|
-
type: "Signed" | "Plain" | 2;
|
|
393
|
+
type: "Signed" | "Plain" | "2.0";
|
|
392
394
|
/** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
|
|
393
395
|
valid: string;
|
|
394
396
|
};
|
|
@@ -411,7 +413,7 @@ type SettingsBody = {
|
|
|
411
413
|
* @param query an object with query parameters
|
|
412
414
|
* @throws GetLicenseAssignmentsHttpError
|
|
413
415
|
*/
|
|
414
|
-
declare
|
|
416
|
+
declare function getLicenseAssignments(query: {
|
|
415
417
|
/** The filter for finding entries. */
|
|
416
418
|
filter?: string;
|
|
417
419
|
/** The preferred number of entries to return. */
|
|
@@ -422,7 +424,7 @@ declare const getLicenseAssignments: (query: {
|
|
|
422
424
|
page?: string;
|
|
423
425
|
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
|
424
426
|
sort?: string;
|
|
425
|
-
}, options?: ApiCallOptions)
|
|
427
|
+
}, options?: ApiCallOptions): Promise<GetLicenseAssignmentsHttpResponse>;
|
|
426
428
|
type GetLicenseAssignmentsHttpResponse = {
|
|
427
429
|
data: AssignmentsResponse;
|
|
428
430
|
headers: Headers;
|
|
@@ -441,7 +443,7 @@ type GetLicenseAssignmentsHttpError = {
|
|
|
441
443
|
* @param body an object with the body content
|
|
442
444
|
* @throws AddLicenseAssignmentsHttpError
|
|
443
445
|
*/
|
|
444
|
-
declare
|
|
446
|
+
declare function addLicenseAssignments(body: AssignmentsActionsAddRequest, options?: ApiCallOptions): Promise<AddLicenseAssignmentsHttpResponse>;
|
|
445
447
|
type AddLicenseAssignmentsHttpResponse = {
|
|
446
448
|
data: AssignmentsActionsAddResponse;
|
|
447
449
|
headers: Headers;
|
|
@@ -458,7 +460,7 @@ type AddLicenseAssignmentsHttpError = {
|
|
|
458
460
|
* @param body an object with the body content
|
|
459
461
|
* @throws DeleteLicenseAssignmentsHttpError
|
|
460
462
|
*/
|
|
461
|
-
declare
|
|
463
|
+
declare function deleteLicenseAssignments(body: AssignmentsActionsDeleteRequest, options?: ApiCallOptions): Promise<DeleteLicenseAssignmentsHttpResponse>;
|
|
462
464
|
type DeleteLicenseAssignmentsHttpResponse = {
|
|
463
465
|
data: AssignmentsActionsDeleteResponse;
|
|
464
466
|
headers: Headers;
|
|
@@ -475,7 +477,7 @@ type DeleteLicenseAssignmentsHttpError = {
|
|
|
475
477
|
* @param body an object with the body content
|
|
476
478
|
* @throws UpdateLicenseAssignmentsHttpError
|
|
477
479
|
*/
|
|
478
|
-
declare
|
|
480
|
+
declare function updateLicenseAssignments(body: AssignmentsActionsUpdateRequest, options?: ApiCallOptions): Promise<UpdateLicenseAssignmentsHttpResponse>;
|
|
479
481
|
type UpdateLicenseAssignmentsHttpResponse = {
|
|
480
482
|
data: AssignmentsActionsUpdateResponse;
|
|
481
483
|
headers: Headers;
|
|
@@ -492,7 +494,7 @@ type UpdateLicenseAssignmentsHttpError = {
|
|
|
492
494
|
* @param query an object with query parameters
|
|
493
495
|
* @throws GetLicenseConsumptionHttpError
|
|
494
496
|
*/
|
|
495
|
-
declare
|
|
497
|
+
declare function getLicenseConsumption(query: {
|
|
496
498
|
/** The SCIM filter for the query. Filterable property is "endTime". */
|
|
497
499
|
filter?: string;
|
|
498
500
|
/** The preferred number of entries to return. */
|
|
@@ -501,7 +503,7 @@ declare const getLicenseConsumption: (query: {
|
|
|
501
503
|
page?: string;
|
|
502
504
|
/** The field to sort on; can be prefixed with +/- for ascending/descending sort order. */
|
|
503
505
|
sort?: string;
|
|
504
|
-
}, options?: ApiCallOptions)
|
|
506
|
+
}, options?: ApiCallOptions): Promise<GetLicenseConsumptionHttpResponse>;
|
|
505
507
|
type GetLicenseConsumptionHttpResponse = {
|
|
506
508
|
data: ConsumptionEventsResponse;
|
|
507
509
|
headers: Headers;
|
|
@@ -519,7 +521,7 @@ type GetLicenseConsumptionHttpError = {
|
|
|
519
521
|
*
|
|
520
522
|
* @throws GetLicenseOverviewHttpError
|
|
521
523
|
*/
|
|
522
|
-
declare
|
|
524
|
+
declare function getLicenseOverview(options?: ApiCallOptions): Promise<GetLicenseOverviewHttpResponse>;
|
|
523
525
|
type GetLicenseOverviewHttpResponse = {
|
|
524
526
|
data: LicenseOverview;
|
|
525
527
|
headers: Headers;
|
|
@@ -535,7 +537,7 @@ type GetLicenseOverviewHttpError = {
|
|
|
535
537
|
*
|
|
536
538
|
* @throws GetLicenseSettingsHttpError
|
|
537
539
|
*/
|
|
538
|
-
declare
|
|
540
|
+
declare function getLicenseSettings(options?: ApiCallOptions): Promise<GetLicenseSettingsHttpResponse>;
|
|
539
541
|
type GetLicenseSettingsHttpResponse = {
|
|
540
542
|
data: SettingsBody;
|
|
541
543
|
headers: Headers;
|
|
@@ -552,7 +554,7 @@ type GetLicenseSettingsHttpError = {
|
|
|
552
554
|
* @param body an object with the body content
|
|
553
555
|
* @throws UpdateLicenseSettingsHttpError
|
|
554
556
|
*/
|
|
555
|
-
declare
|
|
557
|
+
declare function updateLicenseSettings(body: SettingsBody, options?: ApiCallOptions): Promise<UpdateLicenseSettingsHttpResponse>;
|
|
556
558
|
type UpdateLicenseSettingsHttpResponse = {
|
|
557
559
|
data: SettingsBody;
|
|
558
560
|
headers: Headers;
|
|
@@ -568,7 +570,7 @@ type UpdateLicenseSettingsHttpError = {
|
|
|
568
570
|
*
|
|
569
571
|
* @throws GetLicenseStatusHttpError
|
|
570
572
|
*/
|
|
571
|
-
declare
|
|
573
|
+
declare function getLicenseStatus(options?: ApiCallOptions): Promise<GetLicenseStatusHttpResponse>;
|
|
572
574
|
type GetLicenseStatusHttpResponse = {
|
|
573
575
|
data: LicenseStatus;
|
|
574
576
|
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/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.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
|
}
|