@qlik/api 0.0.1 → 0.0.2
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/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +13 -13
- package/api-keys.d.ts +13 -13
- package/api-keys.js +13 -13
- package/api-keys.mjs +8 -8
- package/apps.d.mts +104 -19
- package/apps.d.ts +104 -19
- package/apps.js +53 -44
- package/apps.mjs +20 -11
- package/audits.d.mts +8 -8
- package/audits.d.ts +8 -8
- package/audits.js +11 -11
- package/audits.mjs +6 -6
- package/auth-OU7OTB7Y.js +38 -0
- package/auth-RTFXVSSK.mjs +38 -0
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +20 -20
- package/automations.d.ts +20 -20
- package/automations.js +25 -25
- package/automations.mjs +11 -11
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunk-6JERR27K.js +17 -0
- package/chunk-7REWEWCX.mjs +21 -0
- package/chunk-E42WUFCK.mjs +57 -0
- package/chunk-H7SAZYEE.js +21 -0
- package/chunk-KMMWJZHM.mjs +25 -0
- package/chunk-M7F4JFOB.js +57 -0
- package/chunk-NALKLKZS.mjs +1342 -0
- package/chunk-QN23TPIE.js +25 -0
- package/chunk-RMKP2BDX.js +1342 -0
- package/chunk-W4J34XGA.mjs +17 -0
- package/collections.d.mts +1 -1
- package/collections.d.ts +1 -1
- package/collections.js +13 -13
- 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 +2 -0
- package/data-connections.d.ts +2 -0
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +2 -0
- package/data-credentials.d.ts +2 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +16 -16
- package/data-files.d.ts +16 -16
- package/data-files.js +18 -18
- package/data-files.mjs +8 -8
- package/enigma-session-HGXKZJVO.mjs +10200 -0
- package/enigma-session-VPPJMBEM.js +10200 -0
- package/esm-M5ZBFTVD.mjs +65 -0
- package/esm-RX7B2TUN.js +65 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +13 -13
- package/groups.d.ts +13 -13
- package/groups.js +14 -14
- package/groups.mjs +8 -8
- package/identity-providers.d.mts +7 -7
- package/identity-providers.d.ts +7 -7
- package/identity-providers.js +13 -13
- package/identity-providers.mjs +5 -5
- package/index.js +27 -23
- package/index.mjs +23 -19
- package/invoke-fetch-7PKPQ3FD.js +14 -0
- package/invoke-fetch-IMO4AMA3.mjs +14 -0
- package/items.d.mts +19 -16
- package/items.d.ts +19 -16
- package/items.js +14 -14
- package/items.mjs +8 -8
- package/licenses.d.mts +2 -0
- package/licenses.d.ts +2 -0
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +6 -17
- package/qix-57WD2ZE6.mjs +573 -0
- package/qix-K22VHZRH.js +573 -0
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +4 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +9 -26
- package/spaces.d.ts +9 -26
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +1 -67
- package/temp-contents.d.ts +1 -67
- package/temp-contents.js +8 -29
- package/temp-contents.mjs +3 -24
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
package/qix.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkM7F4JFOBjs = require('./chunk-M7F4JFOB.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.default =
|
|
9
|
+
exports.default = _chunkM7F4JFOBjs.qix_default; exports.openAppSession = _chunkM7F4JFOBjs.openAppSession;
|
package/qix.mjs
CHANGED
package/quotas.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/quotas.ts
|
|
8
|
-
var getQuotas = async (query, options) =>
|
|
8
|
+
var getQuotas = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "quotas", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/quotas",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var getQuota = async (id, query, options) =>
|
|
14
|
+
var getQuota = async (id, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "quotas", {
|
|
15
15
|
method: "get",
|
|
16
16
|
pathTemplate: "/api/v1/quotas/{id}",
|
|
17
17
|
pathVariables: { id },
|
|
@@ -19,7 +19,7 @@ var getQuota = async (id, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(v
|
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
21
|
function clearCache() {
|
|
22
|
-
return
|
|
22
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "quotas");
|
|
23
23
|
}
|
|
24
24
|
var quotasExport = { getQuotas, getQuota, clearCache };
|
|
25
25
|
var quotas_default = quotasExport;
|
package/quotas.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/quotas.ts
|
|
8
8
|
var getQuotas = async (query, options) => invokeFetch("quotas", {
|
package/reload-tasks.d.mts
CHANGED
|
@@ -29,6 +29,8 @@ type SelfLink = {
|
|
|
29
29
|
self: Href;
|
|
30
30
|
};
|
|
31
31
|
type Task = TaskBase & {
|
|
32
|
+
/** The reason why the task was disabled. */
|
|
33
|
+
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
|
|
32
34
|
/** The fortress ID of the application */
|
|
33
35
|
fortressId?: string;
|
|
34
36
|
/** The ID of the task. */
|
package/reload-tasks.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ type SelfLink = {
|
|
|
29
29
|
self: Href;
|
|
30
30
|
};
|
|
31
31
|
type Task = TaskBase & {
|
|
32
|
+
/** The reason why the task was disabled. */
|
|
33
|
+
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
|
|
32
34
|
/** The fortress ID of the application */
|
|
33
35
|
fortressId?: string;
|
|
34
36
|
/** The ID of the task. */
|
package/reload-tasks.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/reload-tasks.ts
|
|
8
|
-
var getReloadTasks = async (query, options) =>
|
|
8
|
+
var getReloadTasks = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/reload-tasks",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var createReloadTask = async (body, options) =>
|
|
14
|
+
var createReloadTask = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/reload-tasks",
|
|
17
17
|
body,
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var deleteReloadTask = async (taskId, options) =>
|
|
20
|
+
var deleteReloadTask = async (taskId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
21
21
|
method: "delete",
|
|
22
22
|
pathTemplate: "/api/v1/reload-tasks/{taskId}",
|
|
23
23
|
pathVariables: { taskId },
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var getReloadTask = async (taskId, options) =>
|
|
26
|
+
var getReloadTask = async (taskId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
27
27
|
method: "get",
|
|
28
28
|
pathTemplate: "/api/v1/reload-tasks/{taskId}",
|
|
29
29
|
pathVariables: { taskId },
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
|
-
var updateReloadTask = async (taskId, body, options) =>
|
|
32
|
+
var updateReloadTask = async (taskId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
|
|
33
33
|
method: "put",
|
|
34
34
|
pathTemplate: "/api/v1/reload-tasks/{taskId}",
|
|
35
35
|
pathVariables: { taskId },
|
|
@@ -37,7 +37,7 @@ var updateReloadTask = async (taskId, body, options) => _chunkOULT3V2Ujs.invokeF
|
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
39
|
function clearCache() {
|
|
40
|
-
return
|
|
40
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "reload-tasks");
|
|
41
41
|
}
|
|
42
42
|
var reloadTasksExport = {
|
|
43
43
|
getReloadTasks,
|
package/reload-tasks.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/reload-tasks.ts
|
|
8
8
|
var getReloadTasks = async (query, options) => invokeFetch("reload-tasks", {
|
package/reloads.d.mts
CHANGED
|
@@ -37,7 +37,7 @@ type Reload = {
|
|
|
37
37
|
/** The ID of the tenant who owns the reload. */
|
|
38
38
|
tenantId: string;
|
|
39
39
|
/** 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. */
|
|
40
|
-
type:
|
|
40
|
+
type: Type;
|
|
41
41
|
/** The ID of the user who created the reload. */
|
|
42
42
|
userId: string;
|
|
43
43
|
};
|
|
@@ -59,6 +59,7 @@ type ReloadsLinks = ReloadLinks & {
|
|
|
59
59
|
prev?: Href;
|
|
60
60
|
};
|
|
61
61
|
type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
|
|
62
|
+
type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
|
|
62
63
|
/**
|
|
63
64
|
* Finds and returns the reloads that the user has access to.
|
|
64
65
|
* @param query an object with query parameters
|
|
@@ -73,6 +74,7 @@ declare const getReloads: (query: {
|
|
|
73
74
|
// Supported attributes:
|
|
74
75
|
// - status: see #schemas/Status
|
|
75
76
|
// - partial: see #schemas/Partial
|
|
77
|
+
// - type: see #schemas/Type
|
|
76
78
|
//
|
|
77
79
|
// Supported operators:
|
|
78
80
|
// - eq
|
|
@@ -186,4 +188,4 @@ interface ReloadsAPI {
|
|
|
186
188
|
*/
|
|
187
189
|
declare const reloadsExport: ReloadsAPI;
|
|
188
190
|
|
|
189
|
-
export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
|
|
191
|
+
export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, type Type, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
|
package/reloads.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ type Reload = {
|
|
|
37
37
|
/** The ID of the tenant who owns the reload. */
|
|
38
38
|
tenantId: string;
|
|
39
39
|
/** 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. */
|
|
40
|
-
type:
|
|
40
|
+
type: Type;
|
|
41
41
|
/** The ID of the user who created the reload. */
|
|
42
42
|
userId: string;
|
|
43
43
|
};
|
|
@@ -59,6 +59,7 @@ type ReloadsLinks = ReloadLinks & {
|
|
|
59
59
|
prev?: Href;
|
|
60
60
|
};
|
|
61
61
|
type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
|
|
62
|
+
type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
|
|
62
63
|
/**
|
|
63
64
|
* Finds and returns the reloads that the user has access to.
|
|
64
65
|
* @param query an object with query parameters
|
|
@@ -73,6 +74,7 @@ declare const getReloads: (query: {
|
|
|
73
74
|
// Supported attributes:
|
|
74
75
|
// - status: see #schemas/Status
|
|
75
76
|
// - partial: see #schemas/Partial
|
|
77
|
+
// - type: see #schemas/Type
|
|
76
78
|
//
|
|
77
79
|
// Supported operators:
|
|
78
80
|
// - eq
|
|
@@ -186,4 +188,4 @@ interface ReloadsAPI {
|
|
|
186
188
|
*/
|
|
187
189
|
declare const reloadsExport: ReloadsAPI;
|
|
188
190
|
|
|
189
|
-
export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
|
|
191
|
+
export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, type Type, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
|
package/reloads.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/reloads.ts
|
|
8
|
-
var getReloads = async (query, options) =>
|
|
8
|
+
var getReloads = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/reloads",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var queueReload = async (body, options) =>
|
|
14
|
+
var queueReload = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/reloads",
|
|
17
17
|
body,
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var getReload = async (reloadId, options) =>
|
|
20
|
+
var getReload = async (reloadId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
|
|
21
21
|
method: "get",
|
|
22
22
|
pathTemplate: "/api/v1/reloads/{reloadId}",
|
|
23
23
|
pathVariables: { reloadId },
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var cancelReload = async (reloadId, options) =>
|
|
26
|
+
var cancelReload = async (reloadId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
|
|
27
27
|
method: "post",
|
|
28
28
|
pathTemplate: "/api/v1/reloads/{reloadId}/actions/cancel",
|
|
29
29
|
pathVariables: { reloadId },
|
|
30
30
|
options
|
|
31
31
|
});
|
|
32
32
|
function clearCache() {
|
|
33
|
-
return
|
|
33
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "reloads");
|
|
34
34
|
}
|
|
35
35
|
var reloadsExport = { getReloads, queueReload, getReload, cancelReload, clearCache };
|
|
36
36
|
var reloads_default = reloadsExport;
|
package/reloads.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/reloads.ts
|
|
8
8
|
var getReloads = async (query, options) => invokeFetch("reloads", {
|
package/roles.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/roles.ts
|
|
8
|
-
var getRoles = async (query, options) =>
|
|
8
|
+
var getRoles = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "roles", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/roles",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var getRole = async (id, options) =>
|
|
14
|
+
var getRole = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "roles", {
|
|
15
15
|
method: "get",
|
|
16
16
|
pathTemplate: "/api/v1/roles/{id}",
|
|
17
17
|
pathVariables: { id },
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
20
|
function clearCache() {
|
|
21
|
-
return
|
|
21
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "roles");
|
|
22
22
|
}
|
|
23
23
|
var rolesExport = { getRoles, getRole, clearCache };
|
|
24
24
|
var roles_default = rolesExport;
|
package/roles.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/roles.ts
|
|
8
8
|
var getRoles = async (query, options) => invokeFetch("roles", {
|
package/spaces.d.mts
CHANGED
|
@@ -20,7 +20,8 @@ type Assignment = {
|
|
|
20
20
|
readonly spaceId: string;
|
|
21
21
|
/** The unique identifier for the tenant. */
|
|
22
22
|
readonly tenantId: string;
|
|
23
|
-
type
|
|
23
|
+
/** The type of assignment such as user or group */
|
|
24
|
+
type: AssignmentType;
|
|
24
25
|
/** The date and time when the space was updated. */
|
|
25
26
|
readonly updatedAt?: string;
|
|
26
27
|
/** The ID of the user who updated the assignment. */
|
|
@@ -32,8 +33,9 @@ type AssignmentCreate = {
|
|
|
32
33
|
/** The roles assigned to the assigneeId. */
|
|
33
34
|
roles: RoleType[];
|
|
34
35
|
/** The type of assignment such as user or group */
|
|
35
|
-
type:
|
|
36
|
+
type: AssignmentType;
|
|
36
37
|
};
|
|
38
|
+
type AssignmentType = "user" | "group";
|
|
37
39
|
type AssignmentUpdate = {
|
|
38
40
|
/** The roles assigned to the assigneeId. */
|
|
39
41
|
roles?: RoleType[];
|
|
@@ -324,6 +326,8 @@ declare const getSpaceAssignments: (spaceId: string, query: {
|
|
|
324
326
|
next?: string;
|
|
325
327
|
/** The previous page cursor. Previous links make use of this. */
|
|
326
328
|
prev?: string;
|
|
329
|
+
/** The type of assignment. */
|
|
330
|
+
type?: AssignmentType;
|
|
327
331
|
}, options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
|
|
328
332
|
type GetSpaceAssignmentsHttpResponse = {
|
|
329
333
|
data: Assignments;
|
|
@@ -349,32 +353,11 @@ type CreateSpaceAssignmentHttpResponse = {
|
|
|
349
353
|
headers: Headers;
|
|
350
354
|
status: number;
|
|
351
355
|
};
|
|
352
|
-
type
|
|
353
|
-
data: Errors;
|
|
354
|
-
headers: Headers;
|
|
355
|
-
status: 401;
|
|
356
|
-
};
|
|
357
|
-
type CreateSpaceAssignment403HttpError = {
|
|
358
|
-
data: Errors;
|
|
359
|
-
headers: Headers;
|
|
360
|
-
status: 403;
|
|
361
|
-
};
|
|
362
|
-
type CreateSpaceAssignment404HttpError = {
|
|
356
|
+
type CreateSpaceAssignmentHttpError = {
|
|
363
357
|
data: Errors;
|
|
364
358
|
headers: Headers;
|
|
365
|
-
status:
|
|
366
|
-
};
|
|
367
|
-
type CreateSpaceAssignment409HttpError = {
|
|
368
|
-
data: Space;
|
|
369
|
-
headers: Headers;
|
|
370
|
-
status: 409;
|
|
371
|
-
};
|
|
372
|
-
type CreateSpaceAssignment500HttpError = {
|
|
373
|
-
data: Errors;
|
|
374
|
-
headers: Headers;
|
|
375
|
-
status: 500;
|
|
359
|
+
status: number;
|
|
376
360
|
};
|
|
377
|
-
type CreateSpaceAssignmentHttpError = CreateSpaceAssignment401HttpError | CreateSpaceAssignment403HttpError | CreateSpaceAssignment404HttpError | CreateSpaceAssignment409HttpError | CreateSpaceAssignment500HttpError;
|
|
378
361
|
/**
|
|
379
362
|
* Deletes an assignment.
|
|
380
363
|
* @param spaceId The ID of the space of the assignment.
|
|
@@ -521,4 +504,4 @@ interface SpacesAPI {
|
|
|
521
504
|
*/
|
|
522
505
|
declare const spacesExport: SpacesAPI;
|
|
523
506
|
|
|
524
|
-
export { type ActionName, type Assignment, type AssignmentCreate, type
|
|
507
|
+
export { type ActionName, type Assignment, type AssignmentCreate, type AssignmentType, type AssignmentUpdate, type Assignments, type CreateSpaceAssignmentHttpError, type CreateSpaceAssignmentHttpResponse, type CreateSpaceHttpError, type CreateSpaceHttpResponse, type DeleteSpaceAssignmentHttpError, type DeleteSpaceAssignmentHttpResponse, type DeleteSpaceHttpError, type DeleteSpaceHttpResponse, type Error, type Errors, type GetSpaceAssignmentHttpError, type GetSpaceAssignmentHttpResponse, type GetSpaceAssignmentsHttpError, type GetSpaceAssignmentsHttpResponse, type GetSpaceHttpError, type GetSpaceHttpResponse, type GetSpaceTypesHttpError, type GetSpaceTypesHttpResponse, type GetSpacesHttpError, type GetSpacesHttpResponse, type Link, type PatchSpaceHttpError, type PatchSpaceHttpResponse, type RoleType, type SharedSpaceRoleType, type Space, type SpaceCreate, type SpacePatch, type SpaceType, type SpaceTypes, type SpaceUpdate, type Spaces, type SpacesAPI, type UpdateSpaceAssignmentHttpError, type UpdateSpaceAssignmentHttpResponse, type UpdateSpaceHttpError, type UpdateSpaceHttpResponse, clearCache, createSpace, createSpaceAssignment, spacesExport as default, deleteSpace, deleteSpaceAssignment, getSpace, getSpaceAssignment, getSpaceAssignments, getSpaceTypes, getSpaces, patchSpace, updateSpace, updateSpaceAssignment };
|
package/spaces.d.ts
CHANGED
|
@@ -20,7 +20,8 @@ type Assignment = {
|
|
|
20
20
|
readonly spaceId: string;
|
|
21
21
|
/** The unique identifier for the tenant. */
|
|
22
22
|
readonly tenantId: string;
|
|
23
|
-
type
|
|
23
|
+
/** The type of assignment such as user or group */
|
|
24
|
+
type: AssignmentType;
|
|
24
25
|
/** The date and time when the space was updated. */
|
|
25
26
|
readonly updatedAt?: string;
|
|
26
27
|
/** The ID of the user who updated the assignment. */
|
|
@@ -32,8 +33,9 @@ type AssignmentCreate = {
|
|
|
32
33
|
/** The roles assigned to the assigneeId. */
|
|
33
34
|
roles: RoleType[];
|
|
34
35
|
/** The type of assignment such as user or group */
|
|
35
|
-
type:
|
|
36
|
+
type: AssignmentType;
|
|
36
37
|
};
|
|
38
|
+
type AssignmentType = "user" | "group";
|
|
37
39
|
type AssignmentUpdate = {
|
|
38
40
|
/** The roles assigned to the assigneeId. */
|
|
39
41
|
roles?: RoleType[];
|
|
@@ -324,6 +326,8 @@ declare const getSpaceAssignments: (spaceId: string, query: {
|
|
|
324
326
|
next?: string;
|
|
325
327
|
/** The previous page cursor. Previous links make use of this. */
|
|
326
328
|
prev?: string;
|
|
329
|
+
/** The type of assignment. */
|
|
330
|
+
type?: AssignmentType;
|
|
327
331
|
}, options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
|
|
328
332
|
type GetSpaceAssignmentsHttpResponse = {
|
|
329
333
|
data: Assignments;
|
|
@@ -349,32 +353,11 @@ type CreateSpaceAssignmentHttpResponse = {
|
|
|
349
353
|
headers: Headers;
|
|
350
354
|
status: number;
|
|
351
355
|
};
|
|
352
|
-
type
|
|
353
|
-
data: Errors;
|
|
354
|
-
headers: Headers;
|
|
355
|
-
status: 401;
|
|
356
|
-
};
|
|
357
|
-
type CreateSpaceAssignment403HttpError = {
|
|
358
|
-
data: Errors;
|
|
359
|
-
headers: Headers;
|
|
360
|
-
status: 403;
|
|
361
|
-
};
|
|
362
|
-
type CreateSpaceAssignment404HttpError = {
|
|
356
|
+
type CreateSpaceAssignmentHttpError = {
|
|
363
357
|
data: Errors;
|
|
364
358
|
headers: Headers;
|
|
365
|
-
status:
|
|
366
|
-
};
|
|
367
|
-
type CreateSpaceAssignment409HttpError = {
|
|
368
|
-
data: Space;
|
|
369
|
-
headers: Headers;
|
|
370
|
-
status: 409;
|
|
371
|
-
};
|
|
372
|
-
type CreateSpaceAssignment500HttpError = {
|
|
373
|
-
data: Errors;
|
|
374
|
-
headers: Headers;
|
|
375
|
-
status: 500;
|
|
359
|
+
status: number;
|
|
376
360
|
};
|
|
377
|
-
type CreateSpaceAssignmentHttpError = CreateSpaceAssignment401HttpError | CreateSpaceAssignment403HttpError | CreateSpaceAssignment404HttpError | CreateSpaceAssignment409HttpError | CreateSpaceAssignment500HttpError;
|
|
378
361
|
/**
|
|
379
362
|
* Deletes an assignment.
|
|
380
363
|
* @param spaceId The ID of the space of the assignment.
|
|
@@ -521,4 +504,4 @@ interface SpacesAPI {
|
|
|
521
504
|
*/
|
|
522
505
|
declare const spacesExport: SpacesAPI;
|
|
523
506
|
|
|
524
|
-
export { type ActionName, type Assignment, type AssignmentCreate, type
|
|
507
|
+
export { type ActionName, type Assignment, type AssignmentCreate, type AssignmentType, type AssignmentUpdate, type Assignments, type CreateSpaceAssignmentHttpError, type CreateSpaceAssignmentHttpResponse, type CreateSpaceHttpError, type CreateSpaceHttpResponse, type DeleteSpaceAssignmentHttpError, type DeleteSpaceAssignmentHttpResponse, type DeleteSpaceHttpError, type DeleteSpaceHttpResponse, type Error, type Errors, type GetSpaceAssignmentHttpError, type GetSpaceAssignmentHttpResponse, type GetSpaceAssignmentsHttpError, type GetSpaceAssignmentsHttpResponse, type GetSpaceHttpError, type GetSpaceHttpResponse, type GetSpaceTypesHttpError, type GetSpaceTypesHttpResponse, type GetSpacesHttpError, type GetSpacesHttpResponse, type Link, type PatchSpaceHttpError, type PatchSpaceHttpResponse, type RoleType, type SharedSpaceRoleType, type Space, type SpaceCreate, type SpacePatch, type SpaceType, type SpaceTypes, type SpaceUpdate, type Spaces, type SpacesAPI, type UpdateSpaceAssignmentHttpError, type UpdateSpaceAssignmentHttpResponse, type UpdateSpaceHttpError, type UpdateSpaceHttpResponse, clearCache, createSpace, createSpaceAssignment, spacesExport as default, deleteSpace, deleteSpaceAssignment, getSpace, getSpaceAssignment, getSpaceAssignments, getSpaceTypes, getSpaces, patchSpace, updateSpace, updateSpaceAssignment };
|
package/spaces.js
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/spaces.ts
|
|
8
|
-
var getSpaces = async (query, options) =>
|
|
8
|
+
var getSpaces = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
9
9
|
method: "get",
|
|
10
10
|
pathTemplate: "/api/v1/spaces",
|
|
11
11
|
query,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var createSpace = async (body, options) =>
|
|
14
|
+
var createSpace = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
15
15
|
method: "post",
|
|
16
16
|
pathTemplate: "/api/v1/spaces",
|
|
17
17
|
body,
|
|
18
18
|
options
|
|
19
19
|
});
|
|
20
|
-
var getSpaceTypes = async (options) =>
|
|
20
|
+
var getSpaceTypes = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
21
21
|
method: "get",
|
|
22
22
|
pathTemplate: "/api/v1/spaces/types",
|
|
23
23
|
options
|
|
24
24
|
});
|
|
25
|
-
var deleteSpace = async (spaceId, options) =>
|
|
25
|
+
var deleteSpace = async (spaceId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
26
26
|
method: "delete",
|
|
27
27
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
28
28
|
pathVariables: { spaceId },
|
|
29
29
|
options
|
|
30
30
|
});
|
|
31
|
-
var getSpace = async (spaceId, options) =>
|
|
31
|
+
var getSpace = async (spaceId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
32
32
|
method: "get",
|
|
33
33
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
34
34
|
pathVariables: { spaceId },
|
|
35
35
|
options
|
|
36
36
|
});
|
|
37
|
-
var patchSpace = async (spaceId, body, options) =>
|
|
37
|
+
var patchSpace = async (spaceId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
38
38
|
method: "patch",
|
|
39
39
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
40
40
|
pathVariables: { spaceId },
|
|
41
41
|
body,
|
|
42
42
|
options
|
|
43
43
|
});
|
|
44
|
-
var updateSpace = async (spaceId, body, options) =>
|
|
44
|
+
var updateSpace = async (spaceId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
45
45
|
method: "put",
|
|
46
46
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
47
47
|
pathVariables: { spaceId },
|
|
48
48
|
body,
|
|
49
49
|
options
|
|
50
50
|
});
|
|
51
|
-
var getSpaceAssignments = async (spaceId, query, options) =>
|
|
51
|
+
var getSpaceAssignments = async (spaceId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
52
52
|
method: "get",
|
|
53
53
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
54
54
|
pathVariables: { spaceId },
|
|
55
55
|
query,
|
|
56
56
|
options
|
|
57
57
|
});
|
|
58
|
-
var createSpaceAssignment = async (spaceId, body, options) =>
|
|
58
|
+
var createSpaceAssignment = async (spaceId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
59
59
|
method: "post",
|
|
60
60
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
61
61
|
pathVariables: { spaceId },
|
|
62
62
|
body,
|
|
63
63
|
options
|
|
64
64
|
});
|
|
65
|
-
var deleteSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
65
|
+
var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
66
66
|
method: "delete",
|
|
67
67
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
68
68
|
pathVariables: { spaceId, assignmentId },
|
|
69
69
|
options
|
|
70
70
|
});
|
|
71
|
-
var getSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
71
|
+
var getSpaceAssignment = async (spaceId, assignmentId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
72
72
|
method: "get",
|
|
73
73
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
74
74
|
pathVariables: { spaceId, assignmentId },
|
|
75
75
|
options
|
|
76
76
|
});
|
|
77
|
-
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) =>
|
|
77
|
+
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "spaces", {
|
|
78
78
|
method: "put",
|
|
79
79
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
80
80
|
pathVariables: { spaceId, assignmentId },
|
|
@@ -82,7 +82,7 @@ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _chu
|
|
|
82
82
|
options
|
|
83
83
|
});
|
|
84
84
|
function clearCache() {
|
|
85
|
-
return
|
|
85
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "spaces");
|
|
86
86
|
}
|
|
87
87
|
var spacesExport = {
|
|
88
88
|
getSpaces,
|
package/spaces.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W4J34XGA.mjs";
|
|
5
|
+
import "./chunk-7REWEWCX.mjs";
|
|
6
6
|
|
|
7
7
|
// src/public/rest/spaces.ts
|
|
8
8
|
var getSpaces = async (query, options) => invokeFetch("spaces", {
|