@qlik/api 0.0.7 → 0.0.9
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 +1 -1
- package/api-keys.d.ts +1 -1
- package/api-keys.js +11 -11
- package/api-keys.mjs +3 -3
- package/apps.d.mts +9 -7
- package/apps.d.ts +9 -7
- package/apps.js +47 -47
- package/apps.mjs +3 -3
- package/audits.d.mts +1 -1
- package/audits.d.ts +1 -1
- package/audits.js +10 -10
- package/audits.mjs +3 -3
- package/auth.js +4 -4
- package/auth.mjs +3 -3
- package/automations.d.mts +1 -1
- package/automations.d.ts +1 -1
- package/automations.js +22 -22
- package/automations.mjs +3 -3
- package/brands.d.mts +4 -4
- package/brands.d.ts +4 -4
- package/brands.js +16 -16
- package/brands.mjs +3 -3
- package/chunks/37STYSYC.js +41 -0
- package/{enigma-session-SX3S4D67.js → chunks/AGASWXYW.js} +5 -5
- package/{invoke-fetch-O6G2T5EO.mjs → chunks/AU62SBT4.mjs} +2 -2
- package/{chunk-RG5MJMTS.js → chunks/AULTUQC4.js} +2 -2
- package/{chunk-OQ7JMHBC.mjs → chunks/EHZ6H6TD.mjs} +1 -1
- package/{chunk-KPCXSJ7B.js → chunks/EL2GSPZZ.js} +3 -3
- package/{qix-H5YPUSPO.js → chunks/F7GJTDIU.js} +9 -9
- package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
- package/{chunk-AHJ5TCGF.mjs → chunks/K4YCNLTC.mjs} +1 -1
- package/{chunk-AHWPRCGA.mjs → chunks/KDW6ZD2R.mjs} +64 -27
- package/{qix-6ZR6KLUS.mjs → chunks/L7DRRU3T.mjs} +3 -3
- package/{chunk-ZNLWUSS5.mjs → chunks/POR3DZIU.mjs} +1 -1
- package/{chunk-2EGD2BDX.js → chunks/PQ4OWSWX.js} +66 -29
- package/chunks/VC2LAFLZ.js +17 -0
- package/{chunk-7HKUAHVA.mjs → chunks/VLLTA4EY.mjs} +3 -3
- package/{chunk-ZXQHFWQH.js → chunks/W2I5OQA5.js} +3 -3
- package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
- package/{auth-UH5NRF5W.mjs → chunks/WQHUX4R2.mjs} +2 -2
- package/{chunk-VTS2AFOU.js → chunks/XY3AC335.js} +4 -4
- package/{enigma-session-BUSRMT72.mjs → chunks/YDB23Q56.mjs} +2 -2
- package/collections.d.mts +5 -21
- package/collections.d.ts +5 -21
- package/collections.js +15 -15
- package/collections.mjs +3 -3
- package/csp-origins.d.mts +1 -1
- package/csp-origins.d.ts +1 -1
- package/csp-origins.js +10 -10
- package/csp-origins.mjs +3 -3
- package/data-assets.d.mts +1 -1
- package/data-assets.d.ts +1 -1
- package/data-assets.js +9 -9
- package/data-assets.mjs +3 -3
- package/data-connections.d.mts +1 -1
- package/data-connections.d.ts +1 -1
- package/data-connections.js +13 -13
- package/data-connections.mjs +3 -3
- package/data-credentials.d.mts +1 -1
- package/data-credentials.d.ts +1 -1
- package/data-credentials.js +8 -8
- package/data-credentials.mjs +3 -3
- package/data-files.d.mts +1 -1
- package/data-files.d.ts +1 -1
- package/data-files.js +16 -16
- package/data-files.mjs +3 -3
- package/extensions.d.mts +1 -1
- package/extensions.d.ts +1 -1
- package/extensions.js +11 -11
- package/extensions.mjs +3 -3
- package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
- package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
- package/glossaries.d.mts +1 -1
- package/glossaries.d.ts +1 -1
- package/glossaries.js +28 -28
- package/glossaries.mjs +3 -3
- package/groups.d.mts +1 -1
- package/groups.d.ts +1 -1
- package/groups.js +12 -12
- package/groups.mjs +3 -3
- package/identity-providers.d.mts +1 -1
- package/identity-providers.d.ts +1 -1
- package/identity-providers.js +12 -12
- package/identity-providers.mjs +3 -3
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.mjs +5 -5
- package/items.d.mts +1 -1
- package/items.d.ts +1 -1
- package/items.js +12 -12
- package/items.mjs +3 -3
- package/licenses.d.mts +1 -1
- package/licenses.d.ts +1 -1
- package/licenses.js +13 -13
- package/licenses.mjs +3 -3
- package/package.json +4 -1
- package/qix.d.mts +20 -2
- package/qix.d.ts +20 -2
- package/qix.js +4 -4
- package/qix.mjs +3 -3
- package/quotas.d.mts +1 -1
- package/quotas.d.ts +1 -1
- package/quotas.js +6 -6
- package/quotas.mjs +3 -3
- package/reload-tasks.d.mts +1 -1
- package/reload-tasks.d.ts +1 -1
- package/reload-tasks.js +9 -9
- package/reload-tasks.mjs +3 -3
- package/reloads.d.mts +1 -1
- package/reloads.d.ts +1 -1
- package/reloads.js +8 -8
- package/reloads.mjs +3 -3
- package/roles.d.mts +1 -1
- package/roles.d.ts +1 -1
- package/roles.js +6 -6
- package/roles.mjs +3 -3
- package/spaces.d.mts +1 -1
- package/spaces.d.ts +1 -1
- package/spaces.js +16 -16
- package/spaces.mjs +3 -3
- package/temp-contents.d.mts +1 -1
- package/temp-contents.d.ts +1 -1
- package/temp-contents.js +7 -7
- package/temp-contents.mjs +3 -3
- package/tenants.d.mts +6 -6
- package/tenants.d.ts +6 -6
- package/tenants.js +10 -10
- package/tenants.mjs +3 -3
- package/themes.d.mts +1 -1
- package/themes.d.ts +1 -1
- package/themes.js +11 -11
- package/themes.mjs +3 -3
- package/transports.d.mts +12 -12
- package/transports.d.ts +12 -12
- package/transports.js +10 -10
- package/transports.mjs +3 -3
- package/users.d.mts +5 -11
- package/users.d.ts +5 -11
- package/users.js +14 -14
- package/users.mjs +3 -3
- package/web-integrations.d.mts +1 -1
- package/web-integrations.d.ts +1 -1
- package/web-integrations.js +9 -9
- package/web-integrations.mjs +3 -3
- package/web-notifications.d.mts +1 -1
- package/web-notifications.d.ts +1 -1
- package/web-notifications.js +10 -10
- package/web-notifications.mjs +3 -3
- package/webhooks.d.mts +1 -1
- package/webhooks.d.ts +1 -1
- package/webhooks.js +14 -14
- package/webhooks.mjs +3 -3
- package/auth-TB6NYHVR.js +0 -41
- package/invoke-fetch-JU62OAXK.js +0 -17
- /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
- /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/roles.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/roles.ts
|
|
9
9
|
var getRoles = async (query, options) => invokeFetch("roles", {
|
package/spaces.d.mts
CHANGED
package/spaces.d.ts
CHANGED
package/spaces.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
|
|
5
|
+
require('./chunks/W2I5OQA5.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/spaces.ts
|
|
9
|
-
var getSpaces = async (query, options) =>
|
|
9
|
+
var getSpaces = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch.
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var updateSpace = async (spaceId, body, options) =>
|
|
47
|
+
var updateSpace = async (spaceId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetch
|
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
options
|
|
54
54
|
});
|
|
55
|
-
var getSpaceAssignments = async (spaceId, query, options) =>
|
|
55
|
+
var getSpaceAssignments = async (spaceId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.i
|
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
options
|
|
69
69
|
});
|
|
70
|
-
var deleteSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
70
|
+
var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chu
|
|
|
88
88
|
options
|
|
89
89
|
});
|
|
90
90
|
function clearCache() {
|
|
91
|
-
return
|
|
91
|
+
return _EL2GSPZZjs.clearApiCache.call(void 0, "spaces");
|
|
92
92
|
}
|
|
93
93
|
var spacesExport = {
|
|
94
94
|
getSpaces,
|
package/spaces.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/spaces.ts
|
|
9
9
|
var getSpaces = async (query, options) => invokeFetch("spaces", {
|
package/temp-contents.d.mts
CHANGED
package/temp-contents.d.ts
CHANGED
package/temp-contents.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
|
|
5
|
+
require('./chunks/W2I5OQA5.js');
|
|
6
|
+
require('./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) => _EL2GSPZZjs.invokeFetch.call(void 0, "temp-contents", {
|
|
10
10
|
method: "post",
|
|
11
11
|
pathTemplate: "/api/v1/temp-contents",
|
|
12
12
|
query,
|
|
@@ -14,21 +14,21 @@ var uploadTempFile = async (query, body, options) => _chunkKPCXSJ7Bjs.invokeFetc
|
|
|
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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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 _EL2GSPZZjs.clearApiCache.call(void 0, "temp-contents");
|
|
32
32
|
}
|
|
33
33
|
var tempContentsExport = { uploadTempFile, downloadTempFile, getTempFileDetails, clearCache };
|
|
34
34
|
var temp_contents_default = tempContentsExport;
|
package/temp-contents.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/temp-contents.ts
|
|
9
9
|
var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents", {
|
package/tenants.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type Error = {
|
|
@@ -125,12 +125,12 @@ type CreateTenantHttpError = {
|
|
|
125
125
|
*/
|
|
126
126
|
declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
|
|
127
127
|
type GetMyTenantHttpResponse = {
|
|
128
|
-
data:
|
|
128
|
+
data: Tenant;
|
|
129
129
|
headers: Headers;
|
|
130
130
|
status: number;
|
|
131
131
|
};
|
|
132
132
|
type GetMyTenantHttpError = {
|
|
133
|
-
data:
|
|
133
|
+
data: unknown;
|
|
134
134
|
headers: Headers;
|
|
135
135
|
status: number;
|
|
136
136
|
};
|
|
@@ -184,12 +184,12 @@ type PatchTenant429HttpError = {
|
|
|
184
184
|
headers: Headers;
|
|
185
185
|
status: 429;
|
|
186
186
|
};
|
|
187
|
-
type
|
|
187
|
+
type PatchTenantDefaultHttpError = {
|
|
188
188
|
data: Errors;
|
|
189
189
|
headers: Headers;
|
|
190
190
|
status: "default";
|
|
191
191
|
};
|
|
192
|
-
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError |
|
|
192
|
+
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantDefaultHttpError;
|
|
193
193
|
/**
|
|
194
194
|
* Deactivates a tenant.
|
|
195
195
|
*
|
|
@@ -285,4 +285,4 @@ interface TenantsAPI {
|
|
|
285
285
|
*/
|
|
286
286
|
declare const tenantsExport: TenantsAPI;
|
|
287
287
|
|
|
288
|
-
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type
|
|
288
|
+
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantDefaultHttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
|
package/tenants.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type Error = {
|
|
@@ -125,12 +125,12 @@ type CreateTenantHttpError = {
|
|
|
125
125
|
*/
|
|
126
126
|
declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
|
|
127
127
|
type GetMyTenantHttpResponse = {
|
|
128
|
-
data:
|
|
128
|
+
data: Tenant;
|
|
129
129
|
headers: Headers;
|
|
130
130
|
status: number;
|
|
131
131
|
};
|
|
132
132
|
type GetMyTenantHttpError = {
|
|
133
|
-
data:
|
|
133
|
+
data: unknown;
|
|
134
134
|
headers: Headers;
|
|
135
135
|
status: number;
|
|
136
136
|
};
|
|
@@ -184,12 +184,12 @@ type PatchTenant429HttpError = {
|
|
|
184
184
|
headers: Headers;
|
|
185
185
|
status: 429;
|
|
186
186
|
};
|
|
187
|
-
type
|
|
187
|
+
type PatchTenantDefaultHttpError = {
|
|
188
188
|
data: Errors;
|
|
189
189
|
headers: Headers;
|
|
190
190
|
status: "default";
|
|
191
191
|
};
|
|
192
|
-
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError |
|
|
192
|
+
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantDefaultHttpError;
|
|
193
193
|
/**
|
|
194
194
|
* Deactivates a tenant.
|
|
195
195
|
*
|
|
@@ -285,4 +285,4 @@ interface TenantsAPI {
|
|
|
285
285
|
*/
|
|
286
286
|
declare const tenantsExport: TenantsAPI;
|
|
287
287
|
|
|
288
|
-
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type
|
|
288
|
+
export { type CreateTenantHttpError, type CreateTenantHttpResponse, type DeactivateTenantHttpError, type DeactivateTenantHttpResponse, type Error, type Errors, type GetMyTenantHttpError, type GetMyTenantHttpResponse, type GetTenantHttpError, type GetTenantHttpResponse, type PatchTenant400HttpError, type PatchTenant403HttpError, type PatchTenant404HttpError, type PatchTenant429HttpError, type PatchTenantDefaultHttpError, type PatchTenantHttpError, type PatchTenantHttpResponse, type ReactivateTenantHttpError, type ReactivateTenantHttpResponse, type Tenant, type TenantCreationRequest, type TenantDeactivateRequest, type TenantDeactivateResponse, type TenantPatchErrors, type TenantPatchSchema, type TenantsAPI, clearCache, createTenant, deactivateTenant, tenantsExport as default, getMyTenant, getTenant, patchTenant, reactivateTenant };
|
package/tenants.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
|
|
5
|
+
require('./chunks/W2I5OQA5.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/tenants.ts
|
|
9
|
-
var createTenant = async (body, options) =>
|
|
9
|
+
var createTenant = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invokeFetc
|
|
|
32
32
|
contentType: "application/json",
|
|
33
33
|
options
|
|
34
34
|
});
|
|
35
|
-
var deactivateTenant = async (tenantId, body, options) =>
|
|
35
|
+
var deactivateTenant = async (tenantId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invok
|
|
|
40
40
|
contentType: "application/json",
|
|
41
41
|
options
|
|
42
42
|
});
|
|
43
|
-
var reactivateTenant = async (tenantId, body, options) =>
|
|
43
|
+
var reactivateTenant = async (tenantId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkKPCXSJ7Bjs.invok
|
|
|
49
49
|
options
|
|
50
50
|
});
|
|
51
51
|
function clearCache() {
|
|
52
|
-
return
|
|
52
|
+
return _EL2GSPZZjs.clearApiCache.call(void 0, "tenants");
|
|
53
53
|
}
|
|
54
54
|
var tenantsExport = {
|
|
55
55
|
createTenant,
|
package/tenants.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/tenants.ts
|
|
9
9
|
var createTenant = async (body, options) => invokeFetch("tenants", {
|
package/themes.d.mts
CHANGED
package/themes.d.ts
CHANGED
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('./
|
|
6
|
-
require('./
|
|
4
|
+
var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
|
|
5
|
+
require('./chunks/W2I5OQA5.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/themes.ts
|
|
9
|
-
var getThemes = async (options) =>
|
|
9
|
+
var getThemes = async (options) => _EL2GSPZZjs.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) => _EL2GSPZZjs.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) => _EL2GSPZZjs.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) => _EL2GSPZZjs.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) => _EL2GSPZZjs.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) => _chunkKPCXSJ7Bjs.invokeFetch.call(
|
|
|
38
38
|
contentType: "multipart/form-data",
|
|
39
39
|
options
|
|
40
40
|
});
|
|
41
|
-
var downloadTheme = async (id, options) =>
|
|
41
|
+
var downloadTheme = async (id, options) => _EL2GSPZZjs.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) => _EL2GSPZZjs.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 _EL2GSPZZjs.clearApiCache.call(void 0, "themes");
|
|
55
55
|
}
|
|
56
56
|
var themesExport = {
|
|
57
57
|
getThemes,
|
package/themes.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/themes.ts
|
|
9
9
|
var getThemes = async (options) => invokeFetch("themes", {
|
package/transports.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type DeleteConfigNotFoundError = {
|
|
@@ -132,12 +132,12 @@ type DeleteEmailConfig404HttpError = {
|
|
|
132
132
|
headers: Headers;
|
|
133
133
|
status: 404;
|
|
134
134
|
};
|
|
135
|
-
type
|
|
135
|
+
type DeleteEmailConfigDefaultHttpError = {
|
|
136
136
|
data: ErrorsPublic;
|
|
137
137
|
headers: Headers;
|
|
138
138
|
status: "default";
|
|
139
139
|
};
|
|
140
|
-
type DeleteEmailConfigHttpError = DeleteEmailConfig403HttpError | DeleteEmailConfig404HttpError |
|
|
140
|
+
type DeleteEmailConfigHttpError = DeleteEmailConfig403HttpError | DeleteEmailConfig404HttpError | DeleteEmailConfigDefaultHttpError;
|
|
141
141
|
/**
|
|
142
142
|
* Returns the email configuration for a given tenant id (retrieved from JWT).
|
|
143
143
|
*
|
|
@@ -154,12 +154,12 @@ type GetEmailConfig403HttpError = {
|
|
|
154
154
|
headers: Headers;
|
|
155
155
|
status: 403;
|
|
156
156
|
};
|
|
157
|
-
type
|
|
157
|
+
type GetEmailConfigDefaultHttpError = {
|
|
158
158
|
data: ErrorsPublic;
|
|
159
159
|
headers: Headers;
|
|
160
160
|
status: "default";
|
|
161
161
|
};
|
|
162
|
-
type GetEmailConfigHttpError = GetEmailConfig403HttpError |
|
|
162
|
+
type GetEmailConfigHttpError = GetEmailConfig403HttpError | GetEmailConfigDefaultHttpError;
|
|
163
163
|
/**
|
|
164
164
|
* Patch the email configuration for a given tenant id (retrieved from JWT).
|
|
165
165
|
*
|
|
@@ -182,12 +182,12 @@ type PatchEmailConfig403HttpError = {
|
|
|
182
182
|
headers: Headers;
|
|
183
183
|
status: 403;
|
|
184
184
|
};
|
|
185
|
-
type
|
|
185
|
+
type PatchEmailConfigDefaultHttpError = {
|
|
186
186
|
data: ErrorsPublic;
|
|
187
187
|
headers: Headers;
|
|
188
188
|
status: "default";
|
|
189
189
|
};
|
|
190
|
-
type PatchEmailConfigHttpError = PatchEmailConfig400HttpError | PatchEmailConfig403HttpError |
|
|
190
|
+
type PatchEmailConfigHttpError = PatchEmailConfig400HttpError | PatchEmailConfig403HttpError | PatchEmailConfigDefaultHttpError;
|
|
191
191
|
/**
|
|
192
192
|
* Send a test mail with the supplied email info (subject, body, recipient). Email config from database is used for the connection.
|
|
193
193
|
*
|
|
@@ -210,12 +210,12 @@ type SendTestEmail404HttpError = {
|
|
|
210
210
|
headers: Headers;
|
|
211
211
|
status: 404;
|
|
212
212
|
};
|
|
213
|
-
type
|
|
213
|
+
type SendTestEmailDefaultHttpError = {
|
|
214
214
|
data: ErrorsPublic;
|
|
215
215
|
headers: Headers;
|
|
216
216
|
status: "default";
|
|
217
217
|
};
|
|
218
|
-
type SendTestEmailHttpError = SendTestEmail403HttpError | SendTestEmail404HttpError |
|
|
218
|
+
type SendTestEmailHttpError = SendTestEmail403HttpError | SendTestEmail404HttpError | SendTestEmailDefaultHttpError;
|
|
219
219
|
/**
|
|
220
220
|
* Returns the isValid value for the email configuration for the tenant. Will return false if no email configuration exists.
|
|
221
221
|
*
|
|
@@ -248,12 +248,12 @@ type VerifyEmailConfigConnection404HttpError = {
|
|
|
248
248
|
headers: Headers;
|
|
249
249
|
status: 404;
|
|
250
250
|
};
|
|
251
|
-
type
|
|
251
|
+
type VerifyEmailConfigConnectionDefaultHttpError = {
|
|
252
252
|
data: ErrorsPublic;
|
|
253
253
|
headers: Headers;
|
|
254
254
|
status: "default";
|
|
255
255
|
};
|
|
256
|
-
type VerifyEmailConfigConnectionHttpError = VerifyEmailConfigConnection404HttpError |
|
|
256
|
+
type VerifyEmailConfigConnectionHttpError = VerifyEmailConfigConnection404HttpError | VerifyEmailConfigConnectionDefaultHttpError;
|
|
257
257
|
/**
|
|
258
258
|
* Clears the cache for transports api requests.
|
|
259
259
|
*/
|
|
@@ -307,4 +307,4 @@ interface TransportsAPI {
|
|
|
307
307
|
*/
|
|
308
308
|
declare const transportsExport: TransportsAPI;
|
|
309
309
|
|
|
310
|
-
export { type DeleteConfigNotFoundError, type DeleteEmailConfig403HttpError, type DeleteEmailConfig404HttpError, type
|
|
310
|
+
export { type DeleteConfigNotFoundError, type DeleteEmailConfig403HttpError, type DeleteEmailConfig404HttpError, type DeleteEmailConfigDefaultHttpError, type DeleteEmailConfigHttpError, type DeleteEmailConfigHttpResponse, type Email, type EmailConfigFieldPatch, type EmailConfigGet, type EmailConfigPatch, type ErrorPublic, type ErrorsPublic, type GetEmailConfig403HttpError, type GetEmailConfigDefaultHttpError, type GetEmailConfigHttpError, type GetEmailConfigHttpResponse, type PatchEmailConfig400HttpError, type PatchEmailConfig403HttpError, type PatchEmailConfigDefaultHttpError, type PatchEmailConfigError, type PatchEmailConfigHttpError, type PatchEmailConfigHttpResponse, type SendTestEmail403HttpError, type SendTestEmail404HttpError, type SendTestEmailDefaultHttpError, type SendTestEmailHttpError, type SendTestEmailHttpResponse, type SendTestMailConfigNotFoundError, type SmtpCheck, type SmtpConfigStatus, type SmtpResult, type TenantAdminError, type TransportsAPI, type ValidateEmailConfigHttpError, type ValidateEmailConfigHttpResponse, type VerifyConnectionConfigNotFoundError, type VerifyEmailConfigConnection404HttpError, type VerifyEmailConfigConnectionDefaultHttpError, type VerifyEmailConfigConnectionHttpError, type VerifyEmailConfigConnectionHttpResponse, clearCache, transportsExport as default, deleteEmailConfig, getEmailConfig, patchEmailConfig, sendTestEmail, validateEmailConfig, verifyEmailConfigConnection };
|