@qlik/api 0.0.9 → 0.0.10
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 +9 -0
- package/api-keys.d.ts +9 -0
- package/api-keys.js +10 -10
- package/api-keys.mjs +2 -2
- package/apps.d.mts +125 -1
- package/apps.d.ts +125 -1
- package/apps.js +46 -46
- package/apps.mjs +2 -2
- package/audits.d.mts +13 -0
- package/audits.d.ts +13 -0
- package/audits.js +9 -9
- package/audits.mjs +2 -2
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +8 -0
- package/automations.d.ts +8 -0
- package/automations.js +21 -21
- package/automations.mjs +2 -2
- package/brands.d.mts +15 -0
- package/brands.d.ts +15 -0
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunks/{YDB23Q56.mjs → 34FMVD4C.mjs} +164 -20
- package/chunks/{PQ4OWSWX.js → 37PLWNAN.js} +44 -56
- package/chunks/{AULTUQC4.js → 3MHXEHLQ.js} +2 -2
- package/chunks/{AU62SBT4.mjs → 42LZKDDD.mjs} +1 -1
- package/chunks/{AGASWXYW.js → AVQ3WHH7.js} +167 -23
- package/chunks/{W2I5OQA5.js → FG5GDUSZ.js} +3 -3
- package/chunks/{EHZ6H6TD.mjs → FUU5VIC4.mjs} +1 -1
- package/chunks/{L7DRRU3T.mjs → HFNJ3ERI.mjs} +2 -2
- package/chunks/{POR3DZIU.mjs → HWZC3PIL.mjs} +1 -1
- package/chunks/{XY3AC335.js → ILOY5QEA.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → KEPPVUY3.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → MMUU2CQM.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → O5POHH2Q.mjs} +3 -3
- package/chunks/{EL2GSPZZ.js → QMWU5E4D.js} +3 -3
- package/chunks/RMNAO4DP.js +17 -0
- package/chunks/SUYUL6MB.js +41 -0
- package/chunks/{KDW6ZD2R.mjs → VMS4MOCI.mjs} +42 -54
- package/chunks/{F7GJTDIU.js → WCJ4JQHA.js} +8 -8
- package/collections.d.mts +29 -1
- package/collections.d.ts +29 -1
- package/collections.js +14 -14
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +12 -1
- package/data-connections.d.ts +12 -1
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +5 -0
- package/data-credentials.d.ts +5 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +6 -0
- package/data-files.d.ts +6 -0
- package/data-files.js +15 -15
- package/data-files.mjs +2 -2
- package/extensions.d.mts +12 -0
- package/extensions.d.ts +12 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.d.mts +50 -0
- package/glossaries.d.ts +50 -0
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +39 -0
- package/groups.d.ts +39 -0
- package/groups.js +11 -11
- package/groups.mjs +2 -2
- package/identity-providers.d.mts +42 -0
- package/identity-providers.d.ts +42 -0
- package/identity-providers.js +11 -11
- package/identity-providers.mjs +2 -2
- package/index.js +8 -8
- package/index.mjs +4 -4
- package/items.d.mts +32 -1
- package/items.d.ts +32 -1
- package/items.js +11 -11
- package/items.mjs +2 -2
- package/licenses.d.mts +7 -4
- package/licenses.d.ts +7 -4
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +1 -1
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.d.mts +3 -0
- package/quotas.d.ts +3 -0
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +6 -3
- package/reload-tasks.d.ts +6 -3
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +9 -0
- package/reloads.d.ts +9 -0
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.d.mts +10 -1
- package/roles.d.ts +10 -1
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +37 -5
- package/spaces.d.ts +37 -5
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +6 -0
- package/temp-contents.d.ts +6 -0
- package/temp-contents.js +6 -6
- package/temp-contents.mjs +2 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.d.mts +9 -0
- package/themes.d.ts +9 -0
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.d.mts +9 -0
- package/transports.d.ts +9 -0
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.d.mts +85 -14
- package/users.d.ts +85 -14
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.d.mts +18 -0
- package/web-integrations.d.ts +18 -0
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.d.mts +18 -0
- package/web-notifications.d.ts +18 -0
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +3 -0
- package/webhooks.d.ts +3 -0
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
- package/chunks/37STYSYC.js +0 -41
- package/chunks/VC2LAFLZ.js +0 -17
package/themes.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* An error object.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
6
9
|
meta?: Meta;
|
|
@@ -11,6 +14,9 @@ type Error = {
|
|
|
11
14
|
/** Title of the HTTP status code. */
|
|
12
15
|
title: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
19
|
+
*/
|
|
14
20
|
type Meta = {
|
|
15
21
|
/** A more detailed message explaining the error. */
|
|
16
22
|
message?: string;
|
|
@@ -19,6 +25,9 @@ type Meta = {
|
|
|
19
25
|
/** Full stack trace of the error that was raised. */
|
|
20
26
|
stack?: string;
|
|
21
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* The theme model.
|
|
30
|
+
*/
|
|
22
31
|
type Theme = {
|
|
23
32
|
/** Author of the theme. */
|
|
24
33
|
author?: string;
|
package/themes.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/themes.ts
|
|
9
|
-
var getThemes = async (options) =>
|
|
9
|
+
var getThemes = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "themes", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/themes",
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var uploadTheme = async (body, options) =>
|
|
14
|
+
var uploadTheme = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "themes", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/themes",
|
|
17
17
|
body,
|
|
18
18
|
contentType: "multipart/form-data",
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
|
-
var deleteTheme = async (id, options) =>
|
|
21
|
+
var deleteTheme = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "themes", {
|
|
22
22
|
method: "delete",
|
|
23
23
|
pathTemplate: "/api/v1/themes/{id}",
|
|
24
24
|
pathVariables: { id },
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var getTheme = async (id, options) =>
|
|
27
|
+
var getTheme = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "themes", {
|
|
28
28
|
method: "get",
|
|
29
29
|
pathTemplate: "/api/v1/themes/{id}",
|
|
30
30
|
pathVariables: { id },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var patchTheme = async (id, body, options) =>
|
|
33
|
+
var patchTheme = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "themes", {
|
|
34
34
|
method: "patch",
|
|
35
35
|
pathTemplate: "/api/v1/themes/{id}",
|
|
36
36
|
pathVariables: { id },
|
|
@@ -38,20 +38,20 @@ var patchTheme = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void
|
|
|
38
38
|
contentType: "multipart/form-data",
|
|
39
39
|
options
|
|
40
40
|
});
|
|
41
|
-
var downloadTheme = async (id, options) =>
|
|
41
|
+
var downloadTheme = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "themes", {
|
|
42
42
|
method: "get",
|
|
43
43
|
pathTemplate: "/api/v1/themes/{id}/file",
|
|
44
44
|
pathVariables: { id },
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var downloadFileFromTheme = async (id, filepath, options) =>
|
|
47
|
+
var downloadFileFromTheme = async (id, filepath, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "themes", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
|
|
50
50
|
pathVariables: { id, filepath },
|
|
51
51
|
options
|
|
52
52
|
});
|
|
53
53
|
function clearCache() {
|
|
54
|
-
return
|
|
54
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "themes");
|
|
55
55
|
}
|
|
56
56
|
var themesExport = {
|
|
57
57
|
getThemes,
|
package/themes.mjs
CHANGED
package/transports.d.mts
CHANGED
|
@@ -9,6 +9,9 @@ type DeleteConfigNotFoundError = {
|
|
|
9
9
|
title: string;
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* An error object.
|
|
14
|
+
*/
|
|
12
15
|
type ErrorPublic = {
|
|
13
16
|
/** The error code. */
|
|
14
17
|
code: string;
|
|
@@ -58,6 +61,9 @@ type Email = {
|
|
|
58
61
|
/** email subject */
|
|
59
62
|
subject?: string;
|
|
60
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
66
|
+
*/
|
|
61
67
|
type EmailConfigFieldPatch = {
|
|
62
68
|
/** The operation to be performed. */
|
|
63
69
|
op: "replace, remove, add";
|
|
@@ -95,6 +101,9 @@ type SmtpCheck = {
|
|
|
95
101
|
/** true if smtp config is correct and complete. Will return false if smtp-config does not exist at all */
|
|
96
102
|
isValid?: boolean;
|
|
97
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* Contains statusCode and statusReason
|
|
106
|
+
*/
|
|
98
107
|
type SmtpConfigStatus = {
|
|
99
108
|
/** Status code */
|
|
100
109
|
statusCode?: number;
|
package/transports.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ type DeleteConfigNotFoundError = {
|
|
|
9
9
|
title: string;
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* An error object.
|
|
14
|
+
*/
|
|
12
15
|
type ErrorPublic = {
|
|
13
16
|
/** The error code. */
|
|
14
17
|
code: string;
|
|
@@ -58,6 +61,9 @@ type Email = {
|
|
|
58
61
|
/** email subject */
|
|
59
62
|
subject?: string;
|
|
60
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
66
|
+
*/
|
|
61
67
|
type EmailConfigFieldPatch = {
|
|
62
68
|
/** The operation to be performed. */
|
|
63
69
|
op: "replace, remove, add";
|
|
@@ -95,6 +101,9 @@ type SmtpCheck = {
|
|
|
95
101
|
/** true if smtp config is correct and complete. Will return false if smtp-config does not exist at all */
|
|
96
102
|
isValid?: boolean;
|
|
97
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* Contains statusCode and statusReason
|
|
106
|
+
*/
|
|
98
107
|
type SmtpConfigStatus = {
|
|
99
108
|
/** Status code */
|
|
100
109
|
statusCode?: number;
|
package/transports.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
|
|
5
|
+
require('./chunks/FG5GDUSZ.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/transports.ts
|
|
9
|
-
var deleteEmailConfig = async (options) =>
|
|
9
|
+
var deleteEmailConfig = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "transports", {
|
|
10
10
|
method: "delete",
|
|
11
11
|
pathTemplate: "/api/v1/transports/email-config",
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var getEmailConfig = async (options) =>
|
|
14
|
+
var getEmailConfig = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "transports", {
|
|
15
15
|
method: "get",
|
|
16
16
|
pathTemplate: "/api/v1/transports/email-config",
|
|
17
17
|
options
|
|
18
18
|
});
|
|
19
|
-
var patchEmailConfig = async (body, options) =>
|
|
19
|
+
var patchEmailConfig = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "transports", {
|
|
20
20
|
method: "patch",
|
|
21
21
|
pathTemplate: "/api/v1/transports/email-config",
|
|
22
22
|
body,
|
|
23
23
|
contentType: "application/json",
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var sendTestEmail = async (body, options) =>
|
|
26
|
+
var sendTestEmail = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "transports", {
|
|
27
27
|
method: "post",
|
|
28
28
|
pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
|
|
29
29
|
body,
|
|
30
30
|
contentType: "application/json",
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var validateEmailConfig = async (options) =>
|
|
33
|
+
var validateEmailConfig = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "transports", {
|
|
34
34
|
method: "post",
|
|
35
35
|
pathTemplate: "/api/v1/transports/email-config/actions/validate",
|
|
36
36
|
options
|
|
37
37
|
});
|
|
38
|
-
var verifyEmailConfigConnection = async (options) =>
|
|
38
|
+
var verifyEmailConfigConnection = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "transports", {
|
|
39
39
|
method: "post",
|
|
40
40
|
pathTemplate: "/api/v1/transports/email-config/actions/verify-connection",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
43
|
function clearCache() {
|
|
44
|
-
return
|
|
44
|
+
return _QMWU5E4Djs.clearApiCache.call(void 0, "transports");
|
|
45
45
|
}
|
|
46
46
|
var transportsExport = {
|
|
47
47
|
deleteEmailConfig,
|
package/transports.mjs
CHANGED
package/users.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* An array of group references.
|
|
6
|
+
*/
|
|
4
7
|
type AssignedGroups = {
|
|
5
8
|
/** An array of role references. */
|
|
6
9
|
assignedRoles?: AssignedRoles;
|
|
@@ -9,6 +12,9 @@ type AssignedGroups = {
|
|
|
9
12
|
/** The group name */
|
|
10
13
|
readonly name: string;
|
|
11
14
|
}[];
|
|
15
|
+
/**
|
|
16
|
+
* An array of role references.
|
|
17
|
+
*/
|
|
12
18
|
type AssignedRoles = {
|
|
13
19
|
/** The unique role identitier */
|
|
14
20
|
id: string;
|
|
@@ -21,15 +27,27 @@ type AssignedRoles = {
|
|
|
21
27
|
/** The type of role */
|
|
22
28
|
readonly type: "default";
|
|
23
29
|
}[];
|
|
30
|
+
/**
|
|
31
|
+
* An array of role reference identifiers.
|
|
32
|
+
*/
|
|
24
33
|
type AssignedRolesRefIDs = {
|
|
25
34
|
/** The unique role identitier */
|
|
26
35
|
id: string;
|
|
27
36
|
}[];
|
|
37
|
+
/**
|
|
38
|
+
* An array of role reference names.
|
|
39
|
+
*/
|
|
28
40
|
type AssignedRolesRefNames = {
|
|
29
41
|
/** The name of the role */
|
|
30
42
|
name: string;
|
|
31
43
|
}[];
|
|
44
|
+
/**
|
|
45
|
+
* An array of scopes assigned to user
|
|
46
|
+
*/
|
|
32
47
|
type AssignedScopes = string[];
|
|
48
|
+
/**
|
|
49
|
+
* An error object describing the error.
|
|
50
|
+
*/
|
|
33
51
|
type Error = {
|
|
34
52
|
/** The error code. */
|
|
35
53
|
code: string;
|
|
@@ -49,6 +67,9 @@ type Error = {
|
|
|
49
67
|
/** Summary of the problem. */
|
|
50
68
|
title: string;
|
|
51
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* Error object.
|
|
72
|
+
*/
|
|
52
73
|
type ErrorItem = {
|
|
53
74
|
/** Error code */
|
|
54
75
|
code: number;
|
|
@@ -57,6 +78,9 @@ type ErrorItem = {
|
|
|
57
78
|
/** Summary of the problem */
|
|
58
79
|
title: string;
|
|
59
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
83
|
+
*/
|
|
60
84
|
type Errors = {
|
|
61
85
|
/** An array of errors related to the operation. */
|
|
62
86
|
errors?: Error[];
|
|
@@ -66,13 +90,22 @@ type Errors = {
|
|
|
66
90
|
type ErrorsResponse = {
|
|
67
91
|
errors?: ErrorItem[];
|
|
68
92
|
};
|
|
93
|
+
/**
|
|
94
|
+
* An advanced query filter to be used for complex user querying in the tenant.
|
|
95
|
+
*/
|
|
69
96
|
type Filter = {
|
|
70
97
|
/** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
|
|
71
98
|
filter?: string;
|
|
72
99
|
};
|
|
100
|
+
/**
|
|
101
|
+
* Data list - ResultItem or ErrorItem for each InviteeItem.
|
|
102
|
+
*/
|
|
73
103
|
type InviteDataResponse = {
|
|
74
104
|
data?: (ResultItem | InviteErrorItem)[];
|
|
75
105
|
};
|
|
106
|
+
/**
|
|
107
|
+
* Error object.
|
|
108
|
+
*/
|
|
76
109
|
type InviteErrorItem = ErrorItem & {
|
|
77
110
|
/** Error code - | HTTP Status code | 1001 - Active User | 1002 - Disabled User | 1003 - Default External Dependency Error | */
|
|
78
111
|
code?: string;
|
|
@@ -95,6 +128,9 @@ type InviteRequestData = {
|
|
|
95
128
|
/** List of invitees who should receive an invite email. */
|
|
96
129
|
invitees?: InviteItem[];
|
|
97
130
|
};
|
|
131
|
+
/**
|
|
132
|
+
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
133
|
+
*/
|
|
98
134
|
type JSONPatch = {
|
|
99
135
|
/** The operation to be performed. */
|
|
100
136
|
op: "replace" | "set (Deprecated)" | "unset (Deprecated)" | "add (Deprecated)" | "renew";
|
|
@@ -103,11 +139,22 @@ type JSONPatch = {
|
|
|
103
139
|
/** The value to be used for this operation. */
|
|
104
140
|
value: string | boolean | unknown[] | AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
105
141
|
};
|
|
142
|
+
/**
|
|
143
|
+
* An array of JSON Patch documents
|
|
144
|
+
*/
|
|
106
145
|
type JSONPatchArray = JSONPatch[];
|
|
146
|
+
/**
|
|
147
|
+
* @deprecated
|
|
148
|
+
*
|
|
149
|
+
* An object containing the metadata for the user configuration.
|
|
150
|
+
*/
|
|
107
151
|
type Metadata = {
|
|
108
152
|
/** List of system roles to which the user can be assigned. */
|
|
109
153
|
valid_roles?: string[];
|
|
110
154
|
};
|
|
155
|
+
/**
|
|
156
|
+
* Invitee result item
|
|
157
|
+
*/
|
|
111
158
|
type ResultItem = {
|
|
112
159
|
/** Email specified for this invitee */
|
|
113
160
|
email: string;
|
|
@@ -118,6 +165,9 @@ type ResultItem = {
|
|
|
118
165
|
/** UserId for this invitee */
|
|
119
166
|
userId: string;
|
|
120
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* A user object.
|
|
170
|
+
*/
|
|
121
171
|
type User = {
|
|
122
172
|
/** An array of group references. */
|
|
123
173
|
assignedGroups?: AssignedGroups;
|
|
@@ -125,7 +175,8 @@ type User = {
|
|
|
125
175
|
assignedRoles?: AssignedRoles;
|
|
126
176
|
/** An array of scopes assigned to user */
|
|
127
177
|
readonly assignedScopes?: AssignedScopes;
|
|
128
|
-
/**
|
|
178
|
+
/** @deprecated
|
|
179
|
+
* Deprecated. Use `createdAt` instead. */
|
|
129
180
|
readonly created?: string;
|
|
130
181
|
/** The timestamp for when the user record was created. */
|
|
131
182
|
readonly createdAt?: string;
|
|
@@ -135,7 +186,8 @@ type User = {
|
|
|
135
186
|
readonly id: string;
|
|
136
187
|
/** The number of seconds until the user invitation will expire. */
|
|
137
188
|
readonly inviteExpiry?: number;
|
|
138
|
-
/**
|
|
189
|
+
/** @deprecated
|
|
190
|
+
* Deprecated. Use `lastUpdatedAt` instead. */
|
|
139
191
|
readonly lastUpdated?: string;
|
|
140
192
|
/** The timestamp for when the user record was last updated. */
|
|
141
193
|
readonly lastUpdatedAt?: string;
|
|
@@ -157,7 +209,8 @@ type User = {
|
|
|
157
209
|
preferredLocale?: string;
|
|
158
210
|
/** Represents the end-user's preferred time zone. */
|
|
159
211
|
preferredZoneinfo?: string;
|
|
160
|
-
/**
|
|
212
|
+
/** @deprecated
|
|
213
|
+
* List of system roles to which the user has been assigned. Only returned when permitted by access control. Deprecated. Use `assignedRoles` instead. */
|
|
161
214
|
roles?: ("TenantAdmin" | "Developer" | "AnalyticsAdmin" | "DataAdmin" | "DataSpaceCreator" | "ManagedSpaceCreator" | "SharedSpaceCreator")[];
|
|
162
215
|
/** The status of the user within the tenant. */
|
|
163
216
|
status?: "active" | "invited" | "disabled" | "deleted";
|
|
@@ -168,6 +221,9 @@ type User = {
|
|
|
168
221
|
/** Represents the end-user's time zone. */
|
|
169
222
|
zoneinfo?: string;
|
|
170
223
|
};
|
|
224
|
+
/**
|
|
225
|
+
* The result object for the user count.
|
|
226
|
+
*/
|
|
171
227
|
type UserCount = {
|
|
172
228
|
/** The total number of users in the tenant. */
|
|
173
229
|
total: number;
|
|
@@ -181,7 +237,8 @@ type UserPostSchema = {
|
|
|
181
237
|
name?: string;
|
|
182
238
|
/** A static url linking to the avatar of the user. */
|
|
183
239
|
picture?: string;
|
|
184
|
-
/**
|
|
240
|
+
/** @deprecated
|
|
241
|
+
* List of system roles to which the user has been assigned. Only returned when permitted by access control. */
|
|
185
242
|
roles?: ("TenantAdmin" | "Developer" | "AnalyticsAdmin" | "DataAdmin" | "DataSpaceCreator" | "ManagedSpaceCreator" | "SharedSpaceCreator")[];
|
|
186
243
|
/** The status of the created user within the tenant. */
|
|
187
244
|
status?: "invited";
|
|
@@ -219,9 +276,11 @@ type Users = {
|
|
|
219
276
|
* @throws GetUsersHttpError
|
|
220
277
|
*/
|
|
221
278
|
declare const getUsers: (query: {
|
|
222
|
-
/**
|
|
279
|
+
/** @deprecated
|
|
280
|
+
* The email to filter by. Deprecated. Use the new `filter` parameter to provide an advanced query filter. */
|
|
223
281
|
email?: string;
|
|
224
|
-
/**
|
|
282
|
+
/** @deprecated
|
|
283
|
+
* Get users with IDs that are lower than the target user ID. Cannot be used in conjunction with startingAfter. Deprecated. Use `prev` instead. */
|
|
225
284
|
endingBefore?: string;
|
|
226
285
|
/** 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. */
|
|
227
286
|
fields?: string;
|
|
@@ -261,21 +320,28 @@ declare const getUsers: (query: {
|
|
|
261
320
|
next?: string;
|
|
262
321
|
/** Get users that come before this cursor value when sorted. Cannot be used in conjunction with `next`. */
|
|
263
322
|
prev?: string;
|
|
264
|
-
/**
|
|
323
|
+
/** @deprecated
|
|
324
|
+
* The role to filter by. Deprecated. */
|
|
265
325
|
role?: string;
|
|
266
326
|
/** The field to sort by, with +/- prefix indicating sort order */
|
|
267
327
|
sort?: "name" | "+name" | "-name";
|
|
268
|
-
/**
|
|
328
|
+
/** @deprecated
|
|
329
|
+
* The user parameter to sort by. Deprecated. Use `sort` instead. */
|
|
269
330
|
sortBy?: "name";
|
|
270
|
-
/**
|
|
331
|
+
/** @deprecated
|
|
332
|
+
* The sort order, either ascending or descending. Deprecated. Use `sort` instead. */
|
|
271
333
|
sortOrder?: "asc" | "desc";
|
|
272
|
-
/**
|
|
334
|
+
/** @deprecated
|
|
335
|
+
* Get users with IDs that are higher than the target user ID. Cannot be used in conjunction with endingBefore. Deprecated. Use `next` instead. */
|
|
273
336
|
startingAfter?: string;
|
|
274
|
-
/**
|
|
337
|
+
/** @deprecated
|
|
338
|
+
* The status to filter by. Supports multiple values delimited by commas. Deprecated. Use the new `filter` parameter to provide an advanced query filter. */
|
|
275
339
|
status?: "active" | "invited" | "disabled" | "deleted";
|
|
276
|
-
/**
|
|
340
|
+
/** @deprecated
|
|
341
|
+
* The subject to filter by. Deprecated. Use the new `filter` parameter to provide an advanced query filter. */
|
|
277
342
|
subject?: string;
|
|
278
|
-
/**
|
|
343
|
+
/** @deprecated
|
|
344
|
+
* The tenant ID to filter by. Deprecated. */
|
|
279
345
|
tenantId?: string;
|
|
280
346
|
/** 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. */
|
|
281
347
|
totalResults?: boolean;
|
|
@@ -316,7 +382,8 @@ type CreateUserHttpError = {
|
|
|
316
382
|
* @throws CountUsersHttpError
|
|
317
383
|
*/
|
|
318
384
|
declare const countUsers: (query: {
|
|
319
|
-
/**
|
|
385
|
+
/** @deprecated
|
|
386
|
+
* The tenant ID to filter by. */
|
|
320
387
|
tenantId?: string;
|
|
321
388
|
}, options?: ApiCallOptions) => Promise<CountUsersHttpResponse>;
|
|
322
389
|
type CountUsersHttpResponse = {
|
|
@@ -394,6 +461,8 @@ type GetMyUserHttpError = {
|
|
|
394
461
|
status: number;
|
|
395
462
|
};
|
|
396
463
|
/**
|
|
464
|
+
* @deprecated
|
|
465
|
+
*
|
|
397
466
|
* Returns the metadata with regard to the user configuration. Deprecated, use GET /v1/roles instead.
|
|
398
467
|
*
|
|
399
468
|
* @throws GetUsersMetadataHttpError
|
|
@@ -519,6 +588,8 @@ interface UsersAPI {
|
|
|
519
588
|
*/
|
|
520
589
|
getMyUser: typeof getMyUser;
|
|
521
590
|
/**
|
|
591
|
+
* @deprecated
|
|
592
|
+
*
|
|
522
593
|
* Returns the metadata with regard to the user configuration. Deprecated, use GET /v1/roles instead.
|
|
523
594
|
*
|
|
524
595
|
* @throws GetUsersMetadataHttpError
|