@qlik/api 0.0.9 → 0.0.11
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/{XY3AC335.js → 277NFGPR.js} +4 -4
- package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
- package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
- package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
- package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
- package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
- package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
- package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
- package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
- package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
- package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
- package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
- package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
- package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
- package/chunks/SPJKF5VW.js +17 -0
- package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
- package/chunks/X3YDQVZ6.js +41 -0
- package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
- 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/licenses.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/licenses.ts
|
|
9
|
-
var getLicenseAssignments = async (query, options) =>
|
|
9
|
+
var getLicenseAssignments = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/licenses/assignments",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var addLicenseAssignments = async (body, options) =>
|
|
15
|
+
var addLicenseAssignments = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/licenses/assignments/actions/add",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var deleteLicenseAssignments = async (body, options) =>
|
|
22
|
+
var deleteLicenseAssignments = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
23
23
|
method: "post",
|
|
24
24
|
pathTemplate: "/api/v1/licenses/assignments/actions/delete",
|
|
25
25
|
body,
|
|
26
26
|
contentType: "application/json",
|
|
27
27
|
options
|
|
28
28
|
});
|
|
29
|
-
var updateLicenseAssignments = async (body, options) =>
|
|
29
|
+
var updateLicenseAssignments = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
30
30
|
method: "post",
|
|
31
31
|
pathTemplate: "/api/v1/licenses/assignments/actions/update",
|
|
32
32
|
body,
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var getLicenseConsumption = async (query, options) =>
|
|
36
|
+
var getLicenseConsumption = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
37
37
|
method: "get",
|
|
38
38
|
pathTemplate: "/api/v1/licenses/consumption",
|
|
39
39
|
query,
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
|
-
var getLicenseOverview = async (options) =>
|
|
42
|
+
var getLicenseOverview = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
43
43
|
method: "get",
|
|
44
44
|
pathTemplate: "/api/v1/licenses/overview",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var getLicenseSettings = async (options) =>
|
|
47
|
+
var getLicenseSettings = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/licenses/settings",
|
|
50
50
|
options
|
|
51
51
|
});
|
|
52
|
-
var updateLicenseSettings = async (body, options) =>
|
|
52
|
+
var updateLicenseSettings = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
53
53
|
method: "put",
|
|
54
54
|
pathTemplate: "/api/v1/licenses/settings",
|
|
55
55
|
body,
|
|
56
56
|
contentType: "application/json",
|
|
57
57
|
options
|
|
58
58
|
});
|
|
59
|
-
var getLicenseStatus = async (options) =>
|
|
59
|
+
var getLicenseStatus = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
|
|
60
60
|
method: "get",
|
|
61
61
|
pathTemplate: "/api/v1/licenses/status",
|
|
62
62
|
options
|
|
63
63
|
});
|
|
64
64
|
function clearCache() {
|
|
65
|
-
return
|
|
65
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "licenses");
|
|
66
66
|
}
|
|
67
67
|
var licensesExport = {
|
|
68
68
|
getLicenseAssignments,
|
package/licenses.mjs
CHANGED
package/package.json
CHANGED
package/qix.d.mts
CHANGED
package/qix.d.ts
CHANGED
package/qix.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _XP7ALS4Ojs = require('./chunks/XP7ALS4O.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _XP7ALS4Ojs.qix_default; exports.openAppSession = _XP7ALS4Ojs.openAppSession;
|
package/qix.mjs
CHANGED
package/quotas.d.mts
CHANGED
package/quotas.d.ts
CHANGED
package/quotas.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/quotas.ts
|
|
9
|
-
var getQuotas = async (query, options) =>
|
|
9
|
+
var getQuotas = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "quotas", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/quotas",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var getQuota = async (id, query, options) =>
|
|
15
|
+
var getQuota = async (id, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "quotas", {
|
|
16
16
|
method: "get",
|
|
17
17
|
pathTemplate: "/api/v1/quotas/{id}",
|
|
18
18
|
pathVariables: { id },
|
|
@@ -20,7 +20,7 @@ var getQuota = async (id, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0
|
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
22
|
function clearCache() {
|
|
23
|
-
return
|
|
23
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "quotas");
|
|
24
24
|
}
|
|
25
25
|
var quotasExport = { getQuotas, getQuota, clearCache };
|
|
26
26
|
var quotas_default = quotasExport;
|
package/quotas.mjs
CHANGED
package/reload-tasks.d.mts
CHANGED
|
@@ -18,7 +18,8 @@ type PaginationLinks = SelfLink & {
|
|
|
18
18
|
prev?: Href;
|
|
19
19
|
};
|
|
20
20
|
type PostTaskBody = TaskBase & {
|
|
21
|
-
/**
|
|
21
|
+
/** @deprecated
|
|
22
|
+
* Type of task being created - only contains the "scheduled_reload" value. Type value is not used for creating a schedule reload. It has been deprecated since 2022-04-05. */
|
|
22
23
|
type?: "scheduled_reload";
|
|
23
24
|
};
|
|
24
25
|
type PutTaskBody = TaskBase & {
|
|
@@ -31,14 +32,16 @@ type SelfLink = {
|
|
|
31
32
|
type Task = TaskBase & {
|
|
32
33
|
/** The reason why the task was disabled. */
|
|
33
34
|
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
|
|
34
|
-
/**
|
|
35
|
+
/** @deprecated
|
|
36
|
+
* The fortress ID of the application */
|
|
35
37
|
fortressId?: string;
|
|
36
38
|
/** The ID of the task. */
|
|
37
39
|
id: string;
|
|
38
40
|
/** The last time the task executed. */
|
|
39
41
|
lastExecutionTime?: string;
|
|
40
42
|
links: SelfLink;
|
|
41
|
-
/**
|
|
43
|
+
/** @deprecated
|
|
44
|
+
* The reason why the task was disabled. */
|
|
42
45
|
log?: string;
|
|
43
46
|
/** The next time the task will execute. */
|
|
44
47
|
nextExecutionTime?: string;
|
package/reload-tasks.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ type PaginationLinks = SelfLink & {
|
|
|
18
18
|
prev?: Href;
|
|
19
19
|
};
|
|
20
20
|
type PostTaskBody = TaskBase & {
|
|
21
|
-
/**
|
|
21
|
+
/** @deprecated
|
|
22
|
+
* Type of task being created - only contains the "scheduled_reload" value. Type value is not used for creating a schedule reload. It has been deprecated since 2022-04-05. */
|
|
22
23
|
type?: "scheduled_reload";
|
|
23
24
|
};
|
|
24
25
|
type PutTaskBody = TaskBase & {
|
|
@@ -31,14 +32,16 @@ type SelfLink = {
|
|
|
31
32
|
type Task = TaskBase & {
|
|
32
33
|
/** The reason why the task was disabled. */
|
|
33
34
|
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
|
|
34
|
-
/**
|
|
35
|
+
/** @deprecated
|
|
36
|
+
* The fortress ID of the application */
|
|
35
37
|
fortressId?: string;
|
|
36
38
|
/** The ID of the task. */
|
|
37
39
|
id: string;
|
|
38
40
|
/** The last time the task executed. */
|
|
39
41
|
lastExecutionTime?: string;
|
|
40
42
|
links: SelfLink;
|
|
41
|
-
/**
|
|
43
|
+
/** @deprecated
|
|
44
|
+
* The reason why the task was disabled. */
|
|
42
45
|
log?: string;
|
|
43
46
|
/** The next time the task will execute. */
|
|
44
47
|
nextExecutionTime?: string;
|
package/reload-tasks.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/reload-tasks.ts
|
|
9
|
-
var getReloadTasks = async (query, options) =>
|
|
9
|
+
var getReloadTasks = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/reload-tasks",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createReloadTask = async (body, options) =>
|
|
15
|
+
var createReloadTask = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/reload-tasks",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var deleteReloadTask = async (taskId, options) =>
|
|
22
|
+
var deleteReloadTask = async (taskId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
23
23
|
method: "delete",
|
|
24
24
|
pathTemplate: "/api/v1/reload-tasks/{taskId}",
|
|
25
25
|
pathVariables: { taskId },
|
|
26
26
|
options
|
|
27
27
|
});
|
|
28
|
-
var getReloadTask = async (taskId, options) =>
|
|
28
|
+
var getReloadTask = async (taskId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
29
29
|
method: "get",
|
|
30
30
|
pathTemplate: "/api/v1/reload-tasks/{taskId}",
|
|
31
31
|
pathVariables: { taskId },
|
|
32
32
|
options
|
|
33
33
|
});
|
|
34
|
-
var updateReloadTask = async (taskId, body, options) =>
|
|
34
|
+
var updateReloadTask = async (taskId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
35
35
|
method: "put",
|
|
36
36
|
pathTemplate: "/api/v1/reload-tasks/{taskId}",
|
|
37
37
|
pathVariables: { taskId },
|
|
@@ -40,7 +40,7 @@ var updateReloadTask = async (taskId, body, options) => _EL2GSPZZjs.invokeFetch.
|
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
42
|
function clearCache() {
|
|
43
|
-
return
|
|
43
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "reload-tasks");
|
|
44
44
|
}
|
|
45
45
|
var reloadTasksExport = {
|
|
46
46
|
getReloadTasks,
|
package/reload-tasks.mjs
CHANGED
package/reloads.d.mts
CHANGED
|
@@ -13,6 +13,9 @@ type Errors = {
|
|
|
13
13
|
type Href = {
|
|
14
14
|
href?: string;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* The boolean value used to present the reload is partial or not.
|
|
18
|
+
*/
|
|
16
19
|
type Partial = boolean;
|
|
17
20
|
type Reload = {
|
|
18
21
|
/** The ID of the app. */
|
|
@@ -58,7 +61,13 @@ type ReloadsLinks = ReloadLinks & {
|
|
|
58
61
|
next?: Href;
|
|
59
62
|
prev?: Href;
|
|
60
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* The status of the reload. There are seven statuses. `QUEUED`, `RELOADING`, `CANCELING` are the active statuses. `SUCCEEDED`, `FAILED`, `CANCELED`, `EXCEEDED_LIMIT` are the end statuses.
|
|
66
|
+
*/
|
|
61
67
|
type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
|
|
68
|
+
/**
|
|
69
|
+
* What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data.
|
|
70
|
+
*/
|
|
62
71
|
type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
|
|
63
72
|
/**
|
|
64
73
|
* Finds and returns the reloads that the user has access to.
|
package/reloads.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ type Errors = {
|
|
|
13
13
|
type Href = {
|
|
14
14
|
href?: string;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* The boolean value used to present the reload is partial or not.
|
|
18
|
+
*/
|
|
16
19
|
type Partial = boolean;
|
|
17
20
|
type Reload = {
|
|
18
21
|
/** The ID of the app. */
|
|
@@ -58,7 +61,13 @@ type ReloadsLinks = ReloadLinks & {
|
|
|
58
61
|
next?: Href;
|
|
59
62
|
prev?: Href;
|
|
60
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* The status of the reload. There are seven statuses. `QUEUED`, `RELOADING`, `CANCELING` are the active statuses. `SUCCEEDED`, `FAILED`, `CANCELED`, `EXCEEDED_LIMIT` are the end statuses.
|
|
66
|
+
*/
|
|
61
67
|
type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
|
|
68
|
+
/**
|
|
69
|
+
* What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data.
|
|
70
|
+
*/
|
|
62
71
|
type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
|
|
63
72
|
/**
|
|
64
73
|
* Finds and returns the reloads that the user has access to.
|
package/reloads.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/reloads.ts
|
|
9
|
-
var getReloads = async (query, options) =>
|
|
9
|
+
var getReloads = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reloads", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/reloads",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var queueReload = async (body, options) =>
|
|
15
|
+
var queueReload = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reloads", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/reloads",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getReload = async (reloadId, options) =>
|
|
22
|
+
var getReload = async (reloadId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reloads", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/reloads/{reloadId}",
|
|
25
25
|
pathVariables: { reloadId },
|
|
26
26
|
options
|
|
27
27
|
});
|
|
28
|
-
var cancelReload = async (reloadId, options) =>
|
|
28
|
+
var cancelReload = async (reloadId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "reloads", {
|
|
29
29
|
method: "post",
|
|
30
30
|
pathTemplate: "/api/v1/reloads/{reloadId}/actions/cancel",
|
|
31
31
|
pathVariables: { reloadId },
|
|
32
32
|
options
|
|
33
33
|
});
|
|
34
34
|
function clearCache() {
|
|
35
|
-
return
|
|
35
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "reloads");
|
|
36
36
|
}
|
|
37
37
|
var reloadsExport = { getReloads, queueReload, getReload, cancelReload, clearCache };
|
|
38
38
|
var reloads_default = reloadsExport;
|
package/reloads.mjs
CHANGED
package/roles.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 error object describing the error.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** The error code. */
|
|
6
9
|
code: string;
|
|
@@ -18,12 +21,18 @@ type Error = {
|
|
|
18
21
|
/** Summary of the problem. */
|
|
19
22
|
title: string;
|
|
20
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
26
|
+
*/
|
|
21
27
|
type Errors = {
|
|
22
28
|
/** An array of errors related to the operation. */
|
|
23
29
|
errors?: Error[];
|
|
24
30
|
/** A unique identifier for tracing the error. */
|
|
25
31
|
traceId?: string;
|
|
26
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Contains pagination links
|
|
35
|
+
*/
|
|
27
36
|
type Links = {
|
|
28
37
|
/** Link to the next page of items */
|
|
29
38
|
next?: {
|
|
@@ -59,7 +68,7 @@ type Role = {
|
|
|
59
68
|
readonly createdBy?: string;
|
|
60
69
|
/** Descriptive text for the role. */
|
|
61
70
|
description: string;
|
|
62
|
-
/** Indicate
|
|
71
|
+
/** Indicate whether this role will trigger promotion of a user from a basic to a full user on tenants with a capacity-based subscription. Does not apply to tenants with a user-based subscription. */
|
|
63
72
|
readonly fullUser?: boolean;
|
|
64
73
|
/** The unique identifier for the role. */
|
|
65
74
|
readonly id: string;
|
package/roles.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 describing the error.
|
|
6
|
+
*/
|
|
4
7
|
type Error = {
|
|
5
8
|
/** The error code. */
|
|
6
9
|
code: string;
|
|
@@ -18,12 +21,18 @@ type Error = {
|
|
|
18
21
|
/** Summary of the problem. */
|
|
19
22
|
title: string;
|
|
20
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* The error response object describing the error from the handling of an HTTP request.
|
|
26
|
+
*/
|
|
21
27
|
type Errors = {
|
|
22
28
|
/** An array of errors related to the operation. */
|
|
23
29
|
errors?: Error[];
|
|
24
30
|
/** A unique identifier for tracing the error. */
|
|
25
31
|
traceId?: string;
|
|
26
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Contains pagination links
|
|
35
|
+
*/
|
|
27
36
|
type Links = {
|
|
28
37
|
/** Link to the next page of items */
|
|
29
38
|
next?: {
|
|
@@ -59,7 +68,7 @@ type Role = {
|
|
|
59
68
|
readonly createdBy?: string;
|
|
60
69
|
/** Descriptive text for the role. */
|
|
61
70
|
description: string;
|
|
62
|
-
/** Indicate
|
|
71
|
+
/** Indicate whether this role will trigger promotion of a user from a basic to a full user on tenants with a capacity-based subscription. Does not apply to tenants with a user-based subscription. */
|
|
63
72
|
readonly fullUser?: boolean;
|
|
64
73
|
/** The unique identifier for the role. */
|
|
65
74
|
readonly id: string;
|
package/roles.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
6
|
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/roles.ts
|
|
9
|
-
var getRoles = async (query, options) =>
|
|
9
|
+
var getRoles = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "roles", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/roles",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var getRole = async (id, options) =>
|
|
15
|
+
var getRole = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "roles", {
|
|
16
16
|
method: "get",
|
|
17
17
|
pathTemplate: "/api/v1/roles/{id}",
|
|
18
18
|
pathVariables: { id },
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
21
|
function clearCache() {
|
|
22
|
-
return
|
|
22
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "roles");
|
|
23
23
|
}
|
|
24
24
|
var rolesExport = { getRoles, getRole, clearCache };
|
|
25
25
|
var roles_default = rolesExport;
|
package/roles.mjs
CHANGED