@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/themes.js
CHANGED
|
@@ -1,55 +1,69 @@
|
|
|
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/themes.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
|
-
|
|
9
|
+
async function getThemes(options) {
|
|
10
|
+
return invokeFetch("themes", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/themes",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function uploadTheme(body, options) {
|
|
17
|
+
return invokeFetch("themes", {
|
|
18
|
+
method: "post",
|
|
19
|
+
pathTemplate: "/api/v1/themes",
|
|
20
|
+
body,
|
|
21
|
+
contentType: "multipart/form-data",
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function deleteTheme(id, options) {
|
|
26
|
+
return invokeFetch("themes", {
|
|
27
|
+
method: "delete",
|
|
28
|
+
pathTemplate: "/api/v1/themes/{id}",
|
|
29
|
+
pathVariables: { id },
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function getTheme(id, options) {
|
|
34
|
+
return invokeFetch("themes", {
|
|
35
|
+
method: "get",
|
|
36
|
+
pathTemplate: "/api/v1/themes/{id}",
|
|
37
|
+
pathVariables: { id },
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function patchTheme(id, body, options) {
|
|
42
|
+
return invokeFetch("themes", {
|
|
43
|
+
method: "patch",
|
|
44
|
+
pathTemplate: "/api/v1/themes/{id}",
|
|
45
|
+
pathVariables: { id },
|
|
46
|
+
body,
|
|
47
|
+
contentType: "multipart/form-data",
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function downloadTheme(id, options) {
|
|
52
|
+
return invokeFetch("themes", {
|
|
53
|
+
method: "get",
|
|
54
|
+
pathTemplate: "/api/v1/themes/{id}/file",
|
|
55
|
+
pathVariables: { id },
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function downloadFileFromTheme(id, filepath, options) {
|
|
60
|
+
return invokeFetch("themes", {
|
|
61
|
+
method: "get",
|
|
62
|
+
pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
|
|
63
|
+
pathVariables: { id, filepath },
|
|
64
|
+
options
|
|
65
|
+
});
|
|
66
|
+
}
|
|
53
67
|
function clearCache() {
|
|
54
68
|
return clearApiCache("themes");
|
|
55
69
|
}
|
package/transports.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
|
type DeleteConfigNotFoundError = {
|
|
5
5
|
errors?: {
|
|
@@ -162,7 +162,7 @@ type SmtpResult = {
|
|
|
162
162
|
*
|
|
163
163
|
* @throws DeleteEmailConfigHttpError
|
|
164
164
|
*/
|
|
165
|
-
declare
|
|
165
|
+
declare function deleteEmailConfig(options?: ApiCallOptions): Promise<DeleteEmailConfigHttpResponse>;
|
|
166
166
|
type DeleteEmailConfigHttpResponse = {
|
|
167
167
|
data: void;
|
|
168
168
|
headers: Headers;
|
|
@@ -189,7 +189,7 @@ type DeleteEmailConfigdefaultHttpError = {
|
|
|
189
189
|
*
|
|
190
190
|
* @throws GetEmailConfigHttpError
|
|
191
191
|
*/
|
|
192
|
-
declare
|
|
192
|
+
declare function getEmailConfig(options?: ApiCallOptions): Promise<GetEmailConfigHttpResponse>;
|
|
193
193
|
type GetEmailConfigHttpResponse = {
|
|
194
194
|
data: GetEmailConfig;
|
|
195
195
|
headers: Headers;
|
|
@@ -212,7 +212,7 @@ type GetEmailConfigdefaultHttpError = {
|
|
|
212
212
|
* @param body an object with the body content
|
|
213
213
|
* @throws PatchEmailConfigHttpError
|
|
214
214
|
*/
|
|
215
|
-
declare
|
|
215
|
+
declare function patchEmailConfig(body: EmailConfigPatch, options?: ApiCallOptions): Promise<PatchEmailConfigHttpResponse>;
|
|
216
216
|
type PatchEmailConfigHttpResponse = {
|
|
217
217
|
data: void;
|
|
218
218
|
headers: Headers;
|
|
@@ -240,7 +240,7 @@ type PatchEmailConfigdefaultHttpError = {
|
|
|
240
240
|
* @param body an object with the body content
|
|
241
241
|
* @throws SendTestEmailHttpError
|
|
242
242
|
*/
|
|
243
|
-
declare
|
|
243
|
+
declare function sendTestEmail(body: Email, options?: ApiCallOptions): Promise<SendTestEmailHttpResponse>;
|
|
244
244
|
type SendTestEmailHttpResponse = {
|
|
245
245
|
data: SmtpResult;
|
|
246
246
|
headers: Headers;
|
|
@@ -267,7 +267,7 @@ type SendTestEmaildefaultHttpError = {
|
|
|
267
267
|
*
|
|
268
268
|
* @throws ValidateEmailConfigHttpError
|
|
269
269
|
*/
|
|
270
|
-
declare
|
|
270
|
+
declare function validateEmailConfig(options?: ApiCallOptions): Promise<ValidateEmailConfigHttpResponse>;
|
|
271
271
|
type ValidateEmailConfigHttpResponse = {
|
|
272
272
|
data: SmtpCheck;
|
|
273
273
|
headers: Headers;
|
|
@@ -283,7 +283,7 @@ type ValidateEmailConfigHttpError = {
|
|
|
283
283
|
*
|
|
284
284
|
* @throws VerifyEmailConfigConnectionHttpError
|
|
285
285
|
*/
|
|
286
|
-
declare
|
|
286
|
+
declare function verifyEmailConfigConnection(options?: ApiCallOptions): Promise<VerifyEmailConfigConnectionHttpResponse>;
|
|
287
287
|
type VerifyEmailConfigConnectionHttpResponse = {
|
|
288
288
|
data: SmtpResult;
|
|
289
289
|
headers: Headers;
|
package/transports.js
CHANGED
|
@@ -1,45 +1,57 @@
|
|
|
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/transports.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
|
-
|
|
9
|
+
async function deleteEmailConfig(options) {
|
|
10
|
+
return invokeFetch("transports", {
|
|
11
|
+
method: "delete",
|
|
12
|
+
pathTemplate: "/api/v1/transports/email-config",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function getEmailConfig(options) {
|
|
17
|
+
return invokeFetch("transports", {
|
|
18
|
+
method: "get",
|
|
19
|
+
pathTemplate: "/api/v1/transports/email-config",
|
|
20
|
+
options
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
async function patchEmailConfig(body, options) {
|
|
24
|
+
return invokeFetch("transports", {
|
|
25
|
+
method: "patch",
|
|
26
|
+
pathTemplate: "/api/v1/transports/email-config",
|
|
27
|
+
body,
|
|
28
|
+
contentType: "application/json",
|
|
29
|
+
options
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
async function sendTestEmail(body, options) {
|
|
33
|
+
return invokeFetch("transports", {
|
|
34
|
+
method: "post",
|
|
35
|
+
pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
|
|
36
|
+
body,
|
|
37
|
+
contentType: "application/json",
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function validateEmailConfig(options) {
|
|
42
|
+
return invokeFetch("transports", {
|
|
43
|
+
method: "post",
|
|
44
|
+
pathTemplate: "/api/v1/transports/email-config/actions/validate",
|
|
45
|
+
options
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
async function verifyEmailConfigConnection(options) {
|
|
49
|
+
return invokeFetch("transports", {
|
|
50
|
+
method: "post",
|
|
51
|
+
pathTemplate: "/api/v1/transports/email-config/actions/verify-connection",
|
|
52
|
+
options
|
|
53
|
+
});
|
|
54
|
+
}
|
|
43
55
|
function clearCache() {
|
|
44
56
|
return clearApiCache("transports");
|
|
45
57
|
}
|
package/ui-config.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
|
type BulkCreatePinnedLinkItemPayload = CreatePinnedLinkConfigPayload & {
|
|
5
5
|
links: CreatePinnedLinkPayload[];
|
|
@@ -55,7 +55,7 @@ type PinnedLink = {
|
|
|
55
55
|
*
|
|
56
56
|
* @throws GetUiConfigPinnedLinksHttpError
|
|
57
57
|
*/
|
|
58
|
-
declare
|
|
58
|
+
declare function getUiConfigPinnedLinks(options?: ApiCallOptions): Promise<GetUiConfigPinnedLinksHttpResponse>;
|
|
59
59
|
type GetUiConfigPinnedLinksHttpResponse = {
|
|
60
60
|
data: {
|
|
61
61
|
data?: PinnedLink[];
|
|
@@ -74,7 +74,7 @@ type GetUiConfigPinnedLinksHttpError = {
|
|
|
74
74
|
* @param body an object with the body content
|
|
75
75
|
* @throws CreateUiConfigPinnedLinkHttpError
|
|
76
76
|
*/
|
|
77
|
-
declare
|
|
77
|
+
declare function createUiConfigPinnedLink(body: CreatePinnedLinkPayload & CreatePinnedLinkConfigPayload, options?: ApiCallOptions): Promise<CreateUiConfigPinnedLinkHttpResponse>;
|
|
78
78
|
type CreateUiConfigPinnedLinkHttpResponse = {
|
|
79
79
|
data: PinnedLink;
|
|
80
80
|
headers: Headers;
|
|
@@ -97,7 +97,7 @@ type CreateUiConfigPinnedLinkdefaultHttpError = {
|
|
|
97
97
|
* @param body an object with the body content
|
|
98
98
|
* @throws CreateUiConfigPinnedLinksHttpError
|
|
99
99
|
*/
|
|
100
|
-
declare
|
|
100
|
+
declare function createUiConfigPinnedLinks(body: BulkCreatePinnedLinkItemPayload, options?: ApiCallOptions): Promise<CreateUiConfigPinnedLinksHttpResponse>;
|
|
101
101
|
type CreateUiConfigPinnedLinksHttpResponse = {
|
|
102
102
|
data: {
|
|
103
103
|
data?: PinnedLink[];
|
|
@@ -121,7 +121,7 @@ type CreateUiConfigPinnedLinksdefaultHttpError = {
|
|
|
121
121
|
*
|
|
122
122
|
* @throws DeleteAllUiConfigPinnedLinksHttpError
|
|
123
123
|
*/
|
|
124
|
-
declare
|
|
124
|
+
declare function deleteAllUiConfigPinnedLinks(options?: ApiCallOptions): Promise<DeleteAllUiConfigPinnedLinksHttpResponse>;
|
|
125
125
|
type DeleteAllUiConfigPinnedLinksHttpResponse = {
|
|
126
126
|
data: void;
|
|
127
127
|
headers: Headers;
|
|
@@ -144,7 +144,7 @@ type DeleteAllUiConfigPinnedLinksdefaultHttpError = {
|
|
|
144
144
|
* @param id The pinned link identifier.
|
|
145
145
|
* @throws DeleteUiConfigPinnedLinkHttpError
|
|
146
146
|
*/
|
|
147
|
-
declare
|
|
147
|
+
declare function deleteUiConfigPinnedLink(id: string, options?: ApiCallOptions): Promise<DeleteUiConfigPinnedLinkHttpResponse>;
|
|
148
148
|
type DeleteUiConfigPinnedLinkHttpResponse = {
|
|
149
149
|
data: void;
|
|
150
150
|
headers: Headers;
|
|
@@ -167,7 +167,7 @@ type DeleteUiConfigPinnedLinkdefaultHttpError = {
|
|
|
167
167
|
* @param id The pinned link identifier.
|
|
168
168
|
* @throws GetUiConfigPinnedLinkHttpError
|
|
169
169
|
*/
|
|
170
|
-
declare
|
|
170
|
+
declare function getUiConfigPinnedLink(id: string, options?: ApiCallOptions): Promise<GetUiConfigPinnedLinkHttpResponse>;
|
|
171
171
|
type GetUiConfigPinnedLinkHttpResponse = {
|
|
172
172
|
data: PinnedLink;
|
|
173
173
|
headers: Headers;
|
|
@@ -191,7 +191,7 @@ type GetUiConfigPinnedLinkdefaultHttpError = {
|
|
|
191
191
|
* @param body an object with the body content
|
|
192
192
|
* @throws PatchUiConfigPinnedLinkHttpError
|
|
193
193
|
*/
|
|
194
|
-
declare
|
|
194
|
+
declare function patchUiConfigPinnedLink(id: string, body: JSONPatchPinnedLinkPayload, options?: ApiCallOptions): Promise<PatchUiConfigPinnedLinkHttpResponse>;
|
|
195
195
|
type PatchUiConfigPinnedLinkHttpResponse = {
|
|
196
196
|
data: PinnedLink;
|
|
197
197
|
headers: Headers;
|
package/ui-config.js
CHANGED
|
@@ -1,55 +1,69 @@
|
|
|
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/ui-config.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
|
-
}
|
|
9
|
+
async function getUiConfigPinnedLinks(options) {
|
|
10
|
+
return invokeFetch("ui-config", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/ui-config/pinned-links",
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function createUiConfigPinnedLink(body, options) {
|
|
17
|
+
return invokeFetch("ui-config", {
|
|
18
|
+
method: "post",
|
|
19
|
+
pathTemplate: "/api/v1/ui-config/pinned-links",
|
|
20
|
+
body,
|
|
21
|
+
contentType: "application/json",
|
|
22
|
+
options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function createUiConfigPinnedLinks(body, options) {
|
|
26
|
+
return invokeFetch("ui-config", {
|
|
27
|
+
method: "post",
|
|
28
|
+
pathTemplate: "/api/v1/ui-config/pinned-links/actions/bulk-create-pinned-links",
|
|
29
|
+
body,
|
|
30
|
+
contentType: "application/json",
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function deleteAllUiConfigPinnedLinks(options) {
|
|
35
|
+
return invokeFetch("ui-config", {
|
|
36
|
+
method: "post",
|
|
37
|
+
pathTemplate: "/api/v1/ui-config/pinned-links/actions/delete-all-pinned-links",
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function deleteUiConfigPinnedLink(id, options) {
|
|
42
|
+
return invokeFetch("ui-config", {
|
|
43
|
+
method: "delete",
|
|
44
|
+
pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
|
|
45
|
+
pathVariables: { id },
|
|
46
|
+
options
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
async function getUiConfigPinnedLink(id, options) {
|
|
50
|
+
return invokeFetch("ui-config", {
|
|
51
|
+
method: "get",
|
|
52
|
+
pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
|
|
53
|
+
pathVariables: { id },
|
|
54
|
+
options
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
async function patchUiConfigPinnedLink(id, body, options) {
|
|
58
|
+
return invokeFetch("ui-config", {
|
|
59
|
+
method: "patch",
|
|
60
|
+
pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
|
|
61
|
+
pathVariables: { id },
|
|
62
|
+
body,
|
|
63
|
+
contentType: "application/json",
|
|
64
|
+
options
|
|
65
|
+
});
|
|
66
|
+
}
|
|
53
67
|
function clearCache() {
|
|
54
68
|
return clearApiCache("ui-config");
|
|
55
69
|
}
|
package/users.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
|
* An array of group references.
|
|
@@ -365,7 +365,7 @@ type Users = {
|
|
|
365
365
|
* @param query an object with query parameters
|
|
366
366
|
* @throws GetUsersHttpError
|
|
367
367
|
*/
|
|
368
|
-
declare
|
|
368
|
+
declare function getUsers(query: {
|
|
369
369
|
/** @deprecated
|
|
370
370
|
* The email to filter by. Deprecated. Use the new `filter` parameter to provide an advanced query filter. */
|
|
371
371
|
email?: string;
|
|
@@ -435,7 +435,7 @@ declare const getUsers: (query: {
|
|
|
435
435
|
tenantId?: string;
|
|
436
436
|
/** Whether to return a total match count in the result. Defaults to false. It will trigger an extra DB query to count, reducing the efficiency of the endpoint. */
|
|
437
437
|
totalResults?: boolean;
|
|
438
|
-
}, options?: ApiCallOptions)
|
|
438
|
+
}, options?: ApiCallOptions): Promise<GetUsersHttpResponse>;
|
|
439
439
|
type GetUsersHttpResponse = {
|
|
440
440
|
data: Users;
|
|
441
441
|
headers: Headers;
|
|
@@ -454,7 +454,7 @@ type GetUsersHttpError = {
|
|
|
454
454
|
* @param body an object with the body content
|
|
455
455
|
* @throws CreateUserHttpError
|
|
456
456
|
*/
|
|
457
|
-
declare
|
|
457
|
+
declare function createUser(body: UserPostSchema, options?: ApiCallOptions): Promise<CreateUserHttpResponse>;
|
|
458
458
|
type CreateUserHttpResponse = {
|
|
459
459
|
data: User;
|
|
460
460
|
headers: Headers;
|
|
@@ -471,11 +471,11 @@ type CreateUserHttpError = {
|
|
|
471
471
|
* @param query an object with query parameters
|
|
472
472
|
* @throws CountUsersHttpError
|
|
473
473
|
*/
|
|
474
|
-
declare
|
|
474
|
+
declare function countUsers(query: {
|
|
475
475
|
/** @deprecated
|
|
476
476
|
* The tenant ID to filter by. */
|
|
477
477
|
tenantId?: string;
|
|
478
|
-
}, options?: ApiCallOptions)
|
|
478
|
+
}, options?: ApiCallOptions): Promise<CountUsersHttpResponse>;
|
|
479
479
|
type CountUsersHttpResponse = {
|
|
480
480
|
data: UserCount;
|
|
481
481
|
headers: Headers;
|
|
@@ -493,7 +493,7 @@ type CountUsersHttpError = {
|
|
|
493
493
|
* @param body an object with the body content
|
|
494
494
|
* @throws FilterUsersHttpError
|
|
495
495
|
*/
|
|
496
|
-
declare
|
|
496
|
+
declare function filterUsers(query: {
|
|
497
497
|
/** A comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. */
|
|
498
498
|
fields?: string;
|
|
499
499
|
/** The number of user entries to retrieve. */
|
|
@@ -504,7 +504,7 @@ declare const filterUsers: (query: {
|
|
|
504
504
|
prev?: string;
|
|
505
505
|
/** The field to sort by, with +/- prefix indicating sort order */
|
|
506
506
|
sort?: "name" | "+name" | "-name";
|
|
507
|
-
}, body: Filter, options?: ApiCallOptions)
|
|
507
|
+
}, body: Filter, options?: ApiCallOptions): Promise<FilterUsersHttpResponse>;
|
|
508
508
|
type FilterUsersHttpResponse = {
|
|
509
509
|
data: Users;
|
|
510
510
|
headers: Headers;
|
|
@@ -523,7 +523,7 @@ type FilterUsersHttpError = {
|
|
|
523
523
|
* @param body an object with the body content
|
|
524
524
|
* @throws InviteUsersHttpError
|
|
525
525
|
*/
|
|
526
|
-
declare
|
|
526
|
+
declare function inviteUsers(body: InviteRequestData, options?: ApiCallOptions): Promise<InviteUsersHttpResponse>;
|
|
527
527
|
type InviteUsersHttpResponse = {
|
|
528
528
|
data: InviteDataResponse;
|
|
529
529
|
headers: Headers;
|
|
@@ -539,7 +539,7 @@ type InviteUsersHttpError = {
|
|
|
539
539
|
*
|
|
540
540
|
* @throws GetMyUserHttpError
|
|
541
541
|
*/
|
|
542
|
-
declare
|
|
542
|
+
declare function getMyUser(options?: ApiCallOptions): Promise<GetMyUserHttpResponse>;
|
|
543
543
|
type GetMyUserHttpResponse = {
|
|
544
544
|
data: User;
|
|
545
545
|
headers: Headers;
|
|
@@ -556,7 +556,7 @@ type GetMyUserHttpError = {
|
|
|
556
556
|
* @param userId The ID of the user to delete.
|
|
557
557
|
* @throws DeleteUserHttpError
|
|
558
558
|
*/
|
|
559
|
-
declare
|
|
559
|
+
declare function deleteUser(userId: string, options?: ApiCallOptions): Promise<DeleteUserHttpResponse>;
|
|
560
560
|
type DeleteUserHttpResponse = {
|
|
561
561
|
data: void;
|
|
562
562
|
headers: Headers;
|
|
@@ -574,10 +574,10 @@ type DeleteUserHttpError = {
|
|
|
574
574
|
* @param query an object with query parameters
|
|
575
575
|
* @throws GetUserHttpError
|
|
576
576
|
*/
|
|
577
|
-
declare
|
|
577
|
+
declare function getUser(userId: string, query: {
|
|
578
578
|
/** A comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. */
|
|
579
579
|
fields?: string;
|
|
580
|
-
}, options?: ApiCallOptions)
|
|
580
|
+
}, options?: ApiCallOptions): Promise<GetUserHttpResponse>;
|
|
581
581
|
type GetUserHttpResponse = {
|
|
582
582
|
data: User & unknown;
|
|
583
583
|
headers: Headers;
|
|
@@ -595,7 +595,7 @@ type GetUserHttpError = {
|
|
|
595
595
|
* @param body an object with the body content
|
|
596
596
|
* @throws PatchUserHttpError
|
|
597
597
|
*/
|
|
598
|
-
declare
|
|
598
|
+
declare function patchUser(userId: string, body: JSONPatchArray, options?: ApiCallOptions): Promise<PatchUserHttpResponse>;
|
|
599
599
|
type PatchUserHttpResponse = PatchUser204HttpResponse | PatchUser207HttpResponse;
|
|
600
600
|
type PatchUser204HttpResponse = {
|
|
601
601
|
data: void;
|