@qlik/api 0.0.16 → 0.1.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/README.md +1 -1
- package/api-keys.js +25 -25
- package/apps.js +97 -97
- package/audits.js +23 -23
- package/auth.js +14 -14
- package/automations.js +47 -47
- package/brands.js +35 -35
- package/chunks/4HB3TAEO.js +4 -4
- package/chunks/{EHAANYDL.mjs → 4V5AAWUI.js} +3 -3
- package/chunks/{O4EAKEIN.mjs → D62LI5YU.js} +1 -1
- package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
- package/chunks/{3YV6X7S6.mjs → LHCJKIEO.js} +1 -1
- package/chunks/OPRGGO4C.js +8 -8
- package/chunks/{HHOVS7QC.mjs → RNLZBOJU.js} +3 -3
- package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
- package/chunks/{6AD3HYSF.mjs → TFSRDRRS.js} +1 -1
- package/chunks/{HOCTJESP.mjs → VK2CODYY.js} +2 -2
- package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
- package/collections.js +33 -33
- package/csp-origins.js +23 -23
- package/data-assets.js +21 -21
- package/data-connections.js +29 -29
- package/data-credentials.js +19 -19
- package/data-files.js +35 -35
- package/docs/authentication.md +5 -5
- package/docs/examples/fetch-spaces.md +1 -15
- package/docs/examples/show-sheet-list.md +1 -1
- package/docs/features.md +1 -1
- package/extensions.js +25 -25
- package/glossaries.js +59 -59
- package/groups.d.ts +0 -3
- package/groups.js +27 -27
- package/identity-providers.js +27 -27
- package/index.js +53 -53
- package/items.js +27 -27
- package/licenses.js +29 -29
- package/package.json +36 -232
- package/qix.d.ts +1 -1
- package/qix.js +10 -10
- package/quotas.js +15 -15
- package/reload-tasks.js +21 -21
- package/reloads.js +19 -19
- package/roles.js +15 -15
- package/spaces.js +35 -35
- package/temp-contents.js +17 -17
- package/tenants.js +23 -23
- package/themes.js +25 -25
- package/transports.js +23 -23
- package/users.d.ts +1 -3
- package/users.js +31 -31
- package/web-integrations.js +21 -21
- package/web-notifications.js +23 -23
- package/webhooks.js +31 -31
- package/api-keys.d.mts +0 -336
- package/api-keys.mjs +0 -80
- package/apps.d.mts +0 -2431
- package/apps.mjs +0 -398
- package/audits.d.mts +0 -286
- package/audits.mjs +0 -64
- package/auth-types-nnUcWhuU.d.mts +0 -98
- package/auth.d.mts +0 -26
- package/auth.mjs +0 -14
- package/automations.d.mts +0 -682
- package/automations.mjs +0 -173
- package/brands.d.mts +0 -670
- package/brands.mjs +0 -123
- package/chunks/2YWCEGTS.js +0 -21
- package/chunks/34ZKUFEA.js +0 -41
- package/chunks/4WHZ4EIW.js +0 -57
- package/chunks/B4VPD3ZT.js +0 -574
- package/chunks/BM4OSDRZ.js +0 -17
- package/chunks/DCXUEDOW.mjs +0 -67
- package/chunks/MTAQE4WC.js +0 -10411
- package/chunks/PLOSYUG2.js +0 -25
- package/chunks/URIW2U5M.js +0 -17
- package/chunks/VSY5YIQY.mjs +0 -11
- package/chunks/WOYJLK4Y.js +0 -1623
- package/collections.d.mts +0 -581
- package/collections.mjs +0 -114
- package/csp-origins.d.mts +0 -273
- package/csp-origins.mjs +0 -69
- package/data-assets.d.mts +0 -205
- package/data-assets.mjs +0 -66
- package/data-connections.d.mts +0 -594
- package/data-connections.mjs +0 -103
- package/data-credentials.d.mts +0 -204
- package/data-credentials.mjs +0 -59
- package/data-files.d.mts +0 -562
- package/data-files.mjs +0 -123
- package/extensions.d.mts +0 -293
- package/extensions.mjs +0 -77
- package/global.types-5iFvFJvX.d.mts +0 -115
- package/glossaries.d.mts +0 -1173
- package/glossaries.mjs +0 -237
- package/groups.d.mts +0 -434
- package/groups.mjs +0 -88
- package/identity-providers.d.mts +0 -550
- package/identity-providers.mjs +0 -83
- package/index.d.mts +0 -142
- package/index.mjs +0 -716
- package/items.d.mts +0 -535
- package/items.mjs +0 -87
- package/licenses.d.mts +0 -459
- package/licenses.mjs +0 -92
- package/qix.d.mts +0 -11629
- package/qix.mjs +0 -10
- package/quotas.d.mts +0 -112
- package/quotas.mjs +0 -32
- package/reload-tasks.d.mts +0 -227
- package/reload-tasks.mjs +0 -62
- package/reloads.d.mts +0 -207
- package/reloads.mjs +0 -46
- package/roles.d.mts +0 -175
- package/roles.mjs +0 -31
- package/spaces.d.mts +0 -562
- package/spaces.mjs +0 -124
- package/temp-contents.d.mts +0 -167
- package/temp-contents.mjs +0 -41
- package/tenants.d.mts +0 -300
- package/tenants.mjs +0 -73
- package/themes.d.mts +0 -268
- package/themes.mjs +0 -77
- package/transports.d.mts +0 -319
- package/transports.mjs +0 -65
- package/users.d.mts +0 -631
- package/users.mjs +0 -104
- package/web-integrations.d.mts +0 -274
- package/web-integrations.mjs +0 -62
- package/web-notifications.d.mts +0 -250
- package/web-notifications.mjs +0 -69
- package/webhooks.d.mts +0 -445
- package/webhooks.mjs +0 -104
package/spaces.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/spaces.ts
|
|
9
|
-
var getSpaces = async (query, options) =>
|
|
9
|
+
var getSpaces = async (query, options) => invokeFetch("spaces", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/spaces",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createSpace = async (body, options) =>
|
|
15
|
+
var createSpace = async (body, options) => invokeFetch("spaces", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/spaces",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getSpaceTypes = async (options) =>
|
|
22
|
+
var getSpaceTypes = async (options) => invokeFetch("spaces", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/spaces/types",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteSpace = async (spaceId, options) =>
|
|
27
|
+
var deleteSpace = async (spaceId, options) => invokeFetch("spaces", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
30
30
|
pathVariables: { spaceId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getSpace = async (spaceId, options) =>
|
|
33
|
+
var getSpace = async (spaceId, options) => invokeFetch("spaces", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
36
36
|
pathVariables: { spaceId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var patchSpace = async (spaceId, body, options) =>
|
|
39
|
+
var patchSpace = async (spaceId, body, options) => invokeFetch("spaces", {
|
|
40
40
|
method: "patch",
|
|
41
41
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
42
42
|
pathVariables: { spaceId },
|
|
@@ -44,7 +44,7 @@ var patchSpace = async (spaceId, body, options) => _URIW2U5Mjs.invokeFetch.call(
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var updateSpace = async (spaceId, body, options) =>
|
|
47
|
+
var updateSpace = async (spaceId, body, options) => invokeFetch("spaces", {
|
|
48
48
|
method: "put",
|
|
49
49
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
50
50
|
pathVariables: { spaceId },
|
|
@@ -52,14 +52,14 @@ var updateSpace = async (spaceId, body, options) => _URIW2U5Mjs.invokeFetch.call
|
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getSpaceAssignments = async (spaceId, query, options) =>
|
|
55
|
+
var getSpaceAssignments = async (spaceId, query, options) => invokeFetch("spaces", {
|
|
56
56
|
method: "get",
|
|
57
57
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
58
58
|
pathVariables: { spaceId },
|
|
59
59
|
query,
|
|
60
60
|
options
|
|
61
61
|
});
|
|
62
|
-
var createSpaceAssignment = async (spaceId, body, options) =>
|
|
62
|
+
var createSpaceAssignment = async (spaceId, body, options) => invokeFetch("spaces", {
|
|
63
63
|
method: "post",
|
|
64
64
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
65
65
|
pathVariables: { spaceId },
|
|
@@ -67,19 +67,19 @@ var createSpaceAssignment = async (spaceId, body, options) => _URIW2U5Mjs.invoke
|
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
options
|
|
69
69
|
});
|
|
70
|
-
var deleteSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
70
|
+
var deleteSpaceAssignment = async (spaceId, assignmentId, options) => invokeFetch("spaces", {
|
|
71
71
|
method: "delete",
|
|
72
72
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
73
73
|
pathVariables: { spaceId, assignmentId },
|
|
74
74
|
options
|
|
75
75
|
});
|
|
76
|
-
var getSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
76
|
+
var getSpaceAssignment = async (spaceId, assignmentId, options) => invokeFetch("spaces", {
|
|
77
77
|
method: "get",
|
|
78
78
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
79
79
|
pathVariables: { spaceId, assignmentId },
|
|
80
80
|
options
|
|
81
81
|
});
|
|
82
|
-
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) =>
|
|
82
|
+
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => invokeFetch("spaces", {
|
|
83
83
|
method: "put",
|
|
84
84
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
85
85
|
pathVariables: { spaceId, assignmentId },
|
|
@@ -88,7 +88,7 @@ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _URI
|
|
|
88
88
|
options
|
|
89
89
|
});
|
|
90
90
|
function clearCache() {
|
|
91
|
-
return
|
|
91
|
+
return clearApiCache("spaces");
|
|
92
92
|
}
|
|
93
93
|
var spacesExport = {
|
|
94
94
|
getSpaces,
|
|
@@ -106,19 +106,19 @@ var spacesExport = {
|
|
|
106
106
|
clearCache
|
|
107
107
|
};
|
|
108
108
|
var spaces_default = spacesExport;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
109
|
+
export {
|
|
110
|
+
clearCache,
|
|
111
|
+
createSpace,
|
|
112
|
+
createSpaceAssignment,
|
|
113
|
+
spaces_default as default,
|
|
114
|
+
deleteSpace,
|
|
115
|
+
deleteSpaceAssignment,
|
|
116
|
+
getSpace,
|
|
117
|
+
getSpaceAssignment,
|
|
118
|
+
getSpaceAssignments,
|
|
119
|
+
getSpaceTypes,
|
|
120
|
+
getSpaces,
|
|
121
|
+
patchSpace,
|
|
122
|
+
updateSpace,
|
|
123
|
+
updateSpaceAssignment
|
|
124
|
+
};
|
package/temp-contents.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/temp-contents.ts
|
|
9
|
-
var uploadTempFile = async (query, body, options) =>
|
|
9
|
+
var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents", {
|
|
10
10
|
method: "post",
|
|
11
11
|
pathTemplate: "/api/v1/temp-contents",
|
|
12
12
|
query,
|
|
@@ -14,28 +14,28 @@ var uploadTempFile = async (query, body, options) => _URIW2U5Mjs.invokeFetch.cal
|
|
|
14
14
|
contentType: "application/octet-stream",
|
|
15
15
|
options
|
|
16
16
|
});
|
|
17
|
-
var downloadTempFile = async (id, query, options) =>
|
|
17
|
+
var downloadTempFile = async (id, query, options) => invokeFetch("temp-contents", {
|
|
18
18
|
method: "get",
|
|
19
19
|
pathTemplate: "/api/v1/temp-contents/{id}",
|
|
20
20
|
pathVariables: { id },
|
|
21
21
|
query,
|
|
22
22
|
options
|
|
23
23
|
});
|
|
24
|
-
var getTempFileDetails = async (id, options) =>
|
|
24
|
+
var getTempFileDetails = async (id, options) => invokeFetch("temp-contents", {
|
|
25
25
|
method: "get",
|
|
26
26
|
pathTemplate: "/api/v1/temp-contents/{id}/details",
|
|
27
27
|
pathVariables: { id },
|
|
28
28
|
options
|
|
29
29
|
});
|
|
30
30
|
function clearCache() {
|
|
31
|
-
return
|
|
31
|
+
return clearApiCache("temp-contents");
|
|
32
32
|
}
|
|
33
33
|
var tempContentsExport = { uploadTempFile, downloadTempFile, getTempFileDetails, clearCache };
|
|
34
34
|
var temp_contents_default = tempContentsExport;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
export {
|
|
36
|
+
clearCache,
|
|
37
|
+
temp_contents_default as default,
|
|
38
|
+
downloadTempFile,
|
|
39
|
+
getTempFileDetails,
|
|
40
|
+
uploadTempFile
|
|
41
|
+
};
|
package/tenants.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/tenants.ts
|
|
9
|
-
var createTenant = async (body, options) =>
|
|
9
|
+
var createTenant = async (body, options) => invokeFetch("tenants", {
|
|
10
10
|
method: "post",
|
|
11
11
|
pathTemplate: "/api/v1/tenants",
|
|
12
12
|
body,
|
|
13
13
|
contentType: "application/json",
|
|
14
14
|
options
|
|
15
15
|
});
|
|
16
|
-
var getMyTenant = async (options) =>
|
|
16
|
+
var getMyTenant = async (options) => invokeFetch("tenants", {
|
|
17
17
|
method: "get",
|
|
18
18
|
pathTemplate: "/api/v1/tenants/me",
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
|
-
var getTenant = async (tenantId, options) =>
|
|
21
|
+
var getTenant = async (tenantId, options) => invokeFetch("tenants", {
|
|
22
22
|
method: "get",
|
|
23
23
|
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
24
24
|
pathVariables: { tenantId },
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var patchTenant = async (tenantId, body, options) =>
|
|
27
|
+
var patchTenant = async (tenantId, body, options) => invokeFetch("tenants", {
|
|
28
28
|
method: "patch",
|
|
29
29
|
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
30
30
|
pathVariables: { tenantId },
|
|
@@ -32,7 +32,7 @@ var patchTenant = async (tenantId, body, options) => _URIW2U5Mjs.invokeFetch.cal
|
|
|
32
32
|
contentType: "application/json",
|
|
33
33
|
options
|
|
34
34
|
});
|
|
35
|
-
var deactivateTenant = async (tenantId, body, options) =>
|
|
35
|
+
var deactivateTenant = async (tenantId, body, options) => invokeFetch("tenants", {
|
|
36
36
|
method: "post",
|
|
37
37
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/deactivate",
|
|
38
38
|
pathVariables: { tenantId },
|
|
@@ -40,7 +40,7 @@ var deactivateTenant = async (tenantId, body, options) => _URIW2U5Mjs.invokeFetc
|
|
|
40
40
|
contentType: "application/json",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var reactivateTenant = async (tenantId, body, options) =>
|
|
43
|
+
var reactivateTenant = async (tenantId, body, options) => invokeFetch("tenants", {
|
|
44
44
|
method: "post",
|
|
45
45
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/reactivate",
|
|
46
46
|
pathVariables: { tenantId },
|
|
@@ -49,7 +49,7 @@ var reactivateTenant = async (tenantId, body, options) => _URIW2U5Mjs.invokeFetc
|
|
|
49
49
|
options
|
|
50
50
|
});
|
|
51
51
|
function clearCache() {
|
|
52
|
-
return
|
|
52
|
+
return clearApiCache("tenants");
|
|
53
53
|
}
|
|
54
54
|
var tenantsExport = {
|
|
55
55
|
createTenant,
|
|
@@ -61,13 +61,13 @@ var tenantsExport = {
|
|
|
61
61
|
clearCache
|
|
62
62
|
};
|
|
63
63
|
var tenants_default = tenantsExport;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
export {
|
|
65
|
+
clearCache,
|
|
66
|
+
createTenant,
|
|
67
|
+
deactivateTenant,
|
|
68
|
+
tenants_default as default,
|
|
69
|
+
getMyTenant,
|
|
70
|
+
getTenant,
|
|
71
|
+
patchTenant,
|
|
72
|
+
reactivateTenant
|
|
73
|
+
};
|
package/themes.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/themes.ts
|
|
9
|
-
var getThemes = async (options) =>
|
|
9
|
+
var getThemes = async (options) => invokeFetch("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) => invokeFetch("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) => invokeFetch("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) => invokeFetch("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) => invokeFetch("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) => _URIW2U5Mjs.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) => invokeFetch("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) => invokeFetch("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 clearApiCache("themes");
|
|
55
55
|
}
|
|
56
56
|
var themesExport = {
|
|
57
57
|
getThemes,
|
|
@@ -64,14 +64,14 @@ var themesExport = {
|
|
|
64
64
|
clearCache
|
|
65
65
|
};
|
|
66
66
|
var themes_default = themesExport;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
67
|
+
export {
|
|
68
|
+
clearCache,
|
|
69
|
+
themes_default as default,
|
|
70
|
+
deleteTheme,
|
|
71
|
+
downloadFileFromTheme,
|
|
72
|
+
downloadTheme,
|
|
73
|
+
getTheme,
|
|
74
|
+
getThemes,
|
|
75
|
+
patchTheme,
|
|
76
|
+
uploadTheme
|
|
77
|
+
};
|
package/transports.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/transports.ts
|
|
9
|
-
var deleteEmailConfig = async (options) =>
|
|
9
|
+
var deleteEmailConfig = async (options) => invokeFetch("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) => invokeFetch("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) => invokeFetch("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) => invokeFetch("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) => invokeFetch("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) => invokeFetch("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 clearApiCache("transports");
|
|
45
45
|
}
|
|
46
46
|
var transportsExport = {
|
|
47
47
|
deleteEmailConfig,
|
|
@@ -53,13 +53,13 @@ var transportsExport = {
|
|
|
53
53
|
clearCache
|
|
54
54
|
};
|
|
55
55
|
var transports_default = transportsExport;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
56
|
+
export {
|
|
57
|
+
clearCache,
|
|
58
|
+
transports_default as default,
|
|
59
|
+
deleteEmailConfig,
|
|
60
|
+
getEmailConfig,
|
|
61
|
+
patchEmailConfig,
|
|
62
|
+
sendTestEmail,
|
|
63
|
+
validateEmailConfig,
|
|
64
|
+
verifyEmailConfigConnection
|
|
65
|
+
};
|
package/users.d.ts
CHANGED
|
@@ -22,8 +22,6 @@ type AssignedRoles = {
|
|
|
22
22
|
readonly level: "admin" | "user";
|
|
23
23
|
/** The role name */
|
|
24
24
|
readonly name: string;
|
|
25
|
-
/** An array of permissions associated to a given role. */
|
|
26
|
-
readonly permissions: string[];
|
|
27
25
|
/** The type of role */
|
|
28
26
|
readonly type: "default";
|
|
29
27
|
}[];
|
|
@@ -507,7 +505,7 @@ declare const getUser: (userId: string, query: {
|
|
|
507
505
|
fields?: string;
|
|
508
506
|
}, options?: ApiCallOptions) => Promise<GetUserHttpResponse>;
|
|
509
507
|
type GetUserHttpResponse = {
|
|
510
|
-
data: User;
|
|
508
|
+
data: User & unknown;
|
|
511
509
|
headers: Headers;
|
|
512
510
|
status: number;
|
|
513
511
|
};
|
package/users.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/LHCJKIEO.js";
|
|
5
|
+
import "./chunks/4V5AAWUI.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/users.ts
|
|
9
|
-
var getUsers = async (query, options) =>
|
|
9
|
+
var getUsers = async (query, options) => invokeFetch("users", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/users",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createUser = async (body, options) =>
|
|
15
|
+
var createUser = async (body, options) => invokeFetch("users", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/users",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var countUsers = async (query, options) =>
|
|
22
|
+
var countUsers = async (query, options) => invokeFetch("users", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/users/actions/count",
|
|
25
25
|
query,
|
|
26
26
|
options
|
|
27
27
|
});
|
|
28
|
-
var filterUsers = async (query, body, options) =>
|
|
28
|
+
var filterUsers = async (query, body, options) => invokeFetch("users", {
|
|
29
29
|
method: "post",
|
|
30
30
|
pathTemplate: "/api/v1/users/actions/filter",
|
|
31
31
|
query,
|
|
@@ -33,37 +33,37 @@ var filterUsers = async (query, body, options) => _URIW2U5Mjs.invokeFetch.call(v
|
|
|
33
33
|
contentType: "application/json",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var inviteUsers = async (body, options) =>
|
|
36
|
+
var inviteUsers = async (body, options) => invokeFetch("users", {
|
|
37
37
|
method: "post",
|
|
38
38
|
pathTemplate: "/api/v1/users/actions/invite",
|
|
39
39
|
body,
|
|
40
40
|
contentType: "application/json",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var getMyUser = async (options) =>
|
|
43
|
+
var getMyUser = async (options) => invokeFetch("users", {
|
|
44
44
|
method: "get",
|
|
45
45
|
pathTemplate: "/api/v1/users/me",
|
|
46
46
|
options
|
|
47
47
|
});
|
|
48
|
-
var getUsersMetadata = async (options) =>
|
|
48
|
+
var getUsersMetadata = async (options) => invokeFetch("users", {
|
|
49
49
|
method: "get",
|
|
50
50
|
pathTemplate: "/api/v1/users/metadata",
|
|
51
51
|
options
|
|
52
52
|
});
|
|
53
|
-
var deleteUser = async (userId, options) =>
|
|
53
|
+
var deleteUser = async (userId, options) => invokeFetch("users", {
|
|
54
54
|
method: "delete",
|
|
55
55
|
pathTemplate: "/api/v1/users/{userId}",
|
|
56
56
|
pathVariables: { userId },
|
|
57
57
|
options
|
|
58
58
|
});
|
|
59
|
-
var getUser = async (userId, query, options) =>
|
|
59
|
+
var getUser = async (userId, query, options) => invokeFetch("users", {
|
|
60
60
|
method: "get",
|
|
61
61
|
pathTemplate: "/api/v1/users/{userId}",
|
|
62
62
|
pathVariables: { userId },
|
|
63
63
|
query,
|
|
64
64
|
options
|
|
65
65
|
});
|
|
66
|
-
var patchUser = async (userId, body, options) =>
|
|
66
|
+
var patchUser = async (userId, body, options) => invokeFetch("users", {
|
|
67
67
|
method: "patch",
|
|
68
68
|
pathTemplate: "/api/v1/users/{userId}",
|
|
69
69
|
pathVariables: { userId },
|
|
@@ -72,7 +72,7 @@ var patchUser = async (userId, body, options) => _URIW2U5Mjs.invokeFetch.call(vo
|
|
|
72
72
|
options
|
|
73
73
|
});
|
|
74
74
|
function clearCache() {
|
|
75
|
-
return
|
|
75
|
+
return clearApiCache("users");
|
|
76
76
|
}
|
|
77
77
|
var usersExport = {
|
|
78
78
|
getUsers,
|
|
@@ -88,17 +88,17 @@ var usersExport = {
|
|
|
88
88
|
clearCache
|
|
89
89
|
};
|
|
90
90
|
var users_default = usersExport;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
91
|
+
export {
|
|
92
|
+
clearCache,
|
|
93
|
+
countUsers,
|
|
94
|
+
createUser,
|
|
95
|
+
users_default as default,
|
|
96
|
+
deleteUser,
|
|
97
|
+
filterUsers,
|
|
98
|
+
getMyUser,
|
|
99
|
+
getUser,
|
|
100
|
+
getUsers,
|
|
101
|
+
getUsersMetadata,
|
|
102
|
+
inviteUsers,
|
|
103
|
+
patchUser
|
|
104
|
+
};
|